summaryrefslogtreecommitdiff
path: root/aclocal/libsqlite3.m4
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2022-06-07 14:30:57 -0400
committerSteve Dickson <steved@redhat.com>2022-06-07 16:02:35 -0400
commit1a5870f6b44671f32abf250bc7f60fb7f6a190a8 (patch)
tree76f8588601cbf93937eac6ee1a466dd3eaf5eea6 /aclocal/libsqlite3.m4
parentafc7132dfb212ac1f676a5ac36d29a9e06325645 (diff)
downloadnfs-utils-1a5870f6b44671f32abf250bc7f60fb7f6a190a8.tar.gz
Update autoconfig files to work with v2.71
OpenSUSE recently updated autoconf to v2.71, and nfs-utils now doesn't build. This patch fixes it - mostly. This patch is the result of: - running autoupdate on configure.am and aclocal/* - removing any sections add that say they can safely be removed - revertion the change to AC_PREREQ. I haven't confirmed that it still works with v2.59. It does seem to work with 2.69 at least. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'aclocal/libsqlite3.m4')
-rw-r--r--aclocal/libsqlite3.m45
1 files changed, 2 insertions, 3 deletions
diff --git a/aclocal/libsqlite3.m4 b/aclocal/libsqlite3.m4
index 8c38993..16b8c8a 100644
--- a/aclocal/libsqlite3.m4
+++ b/aclocal/libsqlite3.m4
@@ -14,7 +14,7 @@ AC_DEFUN([AC_SQLITE3_VERS], [
[
saved_LIBS="$LIBS"
LIBS=-lsqlite3
- AC_TRY_RUN([
+ AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <stdio.h>
#include <sqlite3.h>
int main()
@@ -24,8 +24,7 @@ AC_DEFUN([AC_SQLITE3_VERS], [
return vers != SQLITE_VERSION_NUMBER ||
vers < 3003000;
}
- ], [libsqlite3_cv_is_recent=yes], [libsqlite3_cv_is_recent=no],
- [libsqlite3_cv_is_recent=unknown])
+ ]])],[libsqlite3_cv_is_recent=yes],[libsqlite3_cv_is_recent=no],[libsqlite3_cv_is_recent=unknown])
LIBS="$saved_LIBS"])
AC_MSG_RESULT($libsqlite3_cv_is_recent)