summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2011-03-04 18:34:01 +0200
committerPanu Matilainen <pmatilai@redhat.com>2011-03-04 18:34:01 +0200
commit584b9d4f5a5def7af56ba81899b23178cae0a913 (patch)
tree4b1937bc4e5bb97b285ca73739eecb326ad15073 /configure.ac
parentd0c6d74f3de3bd269e2b97c6e3111d687db11168 (diff)
downloadlibrpm-tizen-584b9d4f5a5def7af56ba81899b23178cae0a913.tar.gz
librpm-tizen-584b9d4f5a5def7af56ba81899b23178cae0a913.tar.bz2
librpm-tizen-584b9d4f5a5def7af56ba81899b23178cae0a913.zip
Make peace with autoconf-2.68
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2aa190bb7..ede3c4491 100644
--- a/configure.ac
+++ b/configure.ac
@@ -314,10 +314,12 @@ case "$with_external_db" in
yes )
AC_CHECK_HEADERS([db.h],[
AC_PREPROC_IFELSE([
+ AC_LANG_SOURCE([
#include <db.h>
#if ((DB_VERSION_MAJOR < 4) || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 5))
#error Berkeley DB too old
#endif
+ ])
],[ WITH_DB_LIB=-ldb ],
[ AC_MSG_ERROR([Berkeley DB version >= 4.5 required])
])