diff options
author | Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net> | 2020-01-03 09:13:20 +0100 |
---|---|---|
committer | Sveinung Kvilhaugsvik <sveinung84@users.sourceforge.net> | 2020-01-03 09:13:20 +0100 |
commit | 8238cbe72c032d07602f102bf4dfd8188780feae (patch) | |
tree | db15d447c5d5a0daef60dbe2a2c8395b5c543886 /m4/ax_lib_sqlite3.m4 | |
parent | 235d9c9a087ca8a5d7ab946818981bd9f3627145 (diff) | |
download | autoconf-archive-8238cbe72c032d07602f102bf4dfd8188780feae.tar.gz |
ax_lib_sqlite3: fix "unary operator expected"
Diffstat (limited to 'm4/ax_lib_sqlite3.m4')
-rw-r--r-- | m4/ax_lib_sqlite3.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/ax_lib_sqlite3.m4 b/m4/ax_lib_sqlite3.m4 index 2e15bbc..8c33f6e 100644 --- a/m4/ax_lib_sqlite3.m4 +++ b/m4/ax_lib_sqlite3.m4 @@ -36,7 +36,7 @@ # and this notice are preserved. This file is offered as-is, without any # warranty. -#serial 18 +#serial 19 AC_DEFUN([AX_LIB_SQLITE3], [ @@ -82,7 +82,7 @@ AC_DEFUN([AX_LIB_SQLITE3], AC_MSG_CHECKING([for SQLite3 library >= $sqlite3_version_req]) - if test "$ac_sqlite3_path" != ""; then + if test "x$ac_sqlite3_path" != "x"; then ac_sqlite3_ldflags="-L$ac_sqlite3_path/lib" ac_sqlite3_cppflags="-I$ac_sqlite3_path/include" else @@ -140,7 +140,7 @@ AC_DEFUN([AX_LIB_SQLITE3], ac_sqlite3_version=`cat $ac_sqlite3_header_path \ | grep '#define.*SQLITE_VERSION.*\"' | sed -e 's/.* "//' \ | sed -e 's/"//'` - if test $ac_sqlite3_version != ""; then + if test "x$ac_sqlite3_version" != "x"; then SQLITE3_VERSION=$ac_sqlite3_version else AC_MSG_WARN([Cannot find SQLITE_VERSION macro in sqlite3.h header to retrieve SQLite version!]) |