Skip to content

Commit

Permalink
avoid unnecessary check for sqlite3 binary
Browse files Browse the repository at this point in the history
Only the library is used, not the sqlite3 binary. Drop this check to simplify
cross-compilation (as no native sqlite3 binary is needed).
  • Loading branch information
Jan Luebbe committed Jan 30, 2023
1 parent ac70dc3 commit 88d9683
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions m4/acx_sqlite3.m4
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,13 @@ AC_DEFUN([ACX_SQLITE3],[
[
SQLITE3_INCLUDES="-I$withval/include"
SQLITE3_LIBDIRS="-L$withval/lib"
AC_PATH_PROGS(SQLITE3, sqlite3, sqlite3, $withval/bin)
],[
SQLITE3_INCLUDES=""
SQLITE3_LIBDIRS=""
AC_PATH_PROGS(SQLITE3, sqlite3, sqlite3, $PATH)
])
if ! test -x "$SQLITE3"; then
AC_MSG_ERROR([sqlite3 command not found])
fi
AC_MSG_CHECKING(what are the SQLite3 includes)
AC_MSG_RESULT($SQLITE3_INCLUDES)
Expand Down

0 comments on commit 88d9683

Please sign in to comment.