aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorSeebs <seebs@seebs.net>2014-07-10 15:12:56 -0500
committerSeebs <seebs@seebs.net>2014-07-10 15:12:56 -0500
commit093516338afdf7a29889c9a2ce46facb8eef0e3f (patch)
tree6420b2c5d776d427e35fd976e3f0b8ef5df30d88 /configure
parentde1ca4c80976f64bff3d317e2082a6782b4c54ab (diff)
downloadpseudo-093516338afdf7a29889c9a2ce46facb8eef0e3f.tar.gz
pseudo-093516338afdf7a29889c9a2ce46facb8eef0e3f.tar.bz2
pseudo-093516338afdf7a29889c9a2ce46facb8eef0e3f.zip
don't pass -L/usr/lib
The sqlite flags don't need to be present if they don't have meaningful values. I think.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure
index 88fbf8b..345c44b 100755
--- a/configure
+++ b/configure
@@ -267,6 +267,11 @@ else
SQLITE_MEMORY=""
fi
+# Suppress the -L if sqlite is in the default path.
+if [ "$opt_sqlite" = "/usr" ]; then
+ default_sqlite="# "
+fi
+
touch port_deps.mk
touch func_deps.mk
@@ -278,6 +283,7 @@ sed -e '
s,@SUFFIX@,'"$opt_suffix"',g
s,@SQLITE@,'"$opt_sqlite"',g
s,@ARCH_FLAGS@,'"$arch_flags"',g
+ s,@DEFAULT_SQLITE@,'"$default_sqlite"',g
s,@SQLITE_LDARG@,'"$sqlite_ldarg"',g
s,@SQLITE_LIB@,'"$opt_sqlite_lib"',g
s,@SQLITE_MEMORY@,'"$SQLITE_MEMORY"',g