Patrick Williams | 864cc43 | 2023-02-09 14:54:44 -0600 | [diff] [blame^] | 1 | From 88d968346184058df18dc69171dcd4fd612c2341 Mon Sep 17 00:00:00 2001 |
| 2 | From: Jan Luebbe <sho@stratum0.net> |
| 3 | Date: Mon, 30 Jan 2023 12:48:23 +0100 |
| 4 | Subject: [PATCH] avoid unnecessary check for sqlite3 binary |
| 5 | |
| 6 | Only the library is used, not the sqlite3 binary. Drop this check to simplify |
| 7 | cross-compilation (as no native sqlite3 binary is needed). |
| 8 | |
| 9 | Upstream-Status: Submitted [https://github.com/opendnssec/SoftHSMv2/pull/694] |
| 10 | --- |
| 11 | m4/acx_sqlite3.m4 | 6 ------ |
| 12 | 1 file changed, 6 deletions(-) |
| 13 | |
| 14 | diff --git a/m4/acx_sqlite3.m4 b/m4/acx_sqlite3.m4 |
| 15 | index fd942a75e1a6..17c126d161f5 100644 |
| 16 | --- a/m4/acx_sqlite3.m4 |
| 17 | +++ b/m4/acx_sqlite3.m4 |
| 18 | @@ -4,19 +4,13 @@ AC_DEFUN([ACX_SQLITE3],[ |
| 19 | [ |
| 20 | SQLITE3_INCLUDES="-I$withval/include" |
| 21 | SQLITE3_LIBDIRS="-L$withval/lib" |
| 22 | - AC_PATH_PROGS(SQLITE3, sqlite3, sqlite3, $withval/bin) |
| 23 | |
| 24 | ],[ |
| 25 | SQLITE3_INCLUDES="" |
| 26 | SQLITE3_LIBDIRS="" |
| 27 | - AC_PATH_PROGS(SQLITE3, sqlite3, sqlite3, $PATH) |
| 28 | ]) |
| 29 | |
| 30 | |
| 31 | - if ! test -x "$SQLITE3"; then |
| 32 | - AC_MSG_ERROR([sqlite3 command not found]) |
| 33 | - fi |
| 34 | - |
| 35 | AC_MSG_CHECKING(what are the SQLite3 includes) |
| 36 | AC_MSG_RESULT($SQLITE3_INCLUDES) |
| 37 | |
| 38 | -- |
| 39 | 2.30.2 |
| 40 | |