summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAdrian Negreanu <adrian.m.negreanu@intel.com>2013-06-18 15:51:23 (GMT)
committerAdrian Negreanu <adrian.m.negreanu@intel.com>2013-06-18 15:51:23 (GMT)
commit96280c025e0e3a8ba70e711ce40791abc3bcb942 (patch)
tree3d7a3e258e8f1fc9f7e2b5d38f9711302cf1d6bb /configure
parentf8331ab05dd85c853fd32788b4ef748389e46f95 (diff)
downloadDoxygen-96280c025e0e3a8ba70e711ce40791abc3bcb942.zip
Doxygen-96280c025e0e3a8ba70e711ce40791abc3bcb942.tar.gz
Doxygen-96280c025e0e3a8ba70e711ce40791abc3bcb942.tar.bz2
sqlite3: fix the case when libsqlite3 is a symlink
Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 07038fd..c7aa6b2 100755
--- a/configure
+++ b/configure
@@ -421,7 +421,7 @@ fi
if test "$f_sqlite3" = YES; then
printf " Checking for sqlite3 ... "
sqlite3_hdr_dir="/usr/include /usr/local/include /opt/local/include"
- sqlite3_lib_dir="/usr/lib /usr/local/lib /opt/local/lib"
+ sqlite3_lib_dir="/usr/lib /usr/local/lib /opt/local/lib /usr/lib/x86_64-linux-gnu"
sqlite3_lib_name="libsqlite3.so libsqlite3.dylib libsqlite3.a"
sqlite3_hdr=NO
sqlite3_lib=NO
@@ -435,7 +435,7 @@ if test "$f_sqlite3" = YES; then
for i in $sqlite3_lib_dir; do
if test "$sqlite3_lib" = NO; then
for j in $sqlite3_lib_name; do
- if test -f "$i/$j"; then
+ if test -e "$i/$j"; then
sqlite3_lib="$i/$j"
sqlite3_link="-L $i -lsqlite3"
break