diff options
author | Adrian Negreanu <adrian.m.negreanu@intel.com> | 2013-06-18 15:51:23 (GMT) |
---|---|---|
committer | Adrian Negreanu <adrian.m.negreanu@intel.com> | 2013-06-18 15:51:23 (GMT) |
commit | 96280c025e0e3a8ba70e711ce40791abc3bcb942 (patch) | |
tree | 3d7a3e258e8f1fc9f7e2b5d38f9711302cf1d6bb /configure | |
parent | f8331ab05dd85c853fd32788b4ef748389e46f95 (diff) | |
download | Doxygen-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-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |