diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-10-26 11:29:17 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-10-26 11:54:55 +0300 |
commit | 71c8f49ca4b86527bc43bbff64a44ef36f938687 (patch) | |
tree | a6f3ebdc62eb72d454b54f19397b7c5d36a4cfb0 /configure.ac | |
parent | a40598b228e3e67f4e7b4ec9ce9de6dddce33735 (diff) | |
download | librpm-tizen-71c8f49ca4b86527bc43bbff64a44ef36f938687.tar.gz librpm-tizen-71c8f49ca4b86527bc43bbff64a44ef36f938687.tar.bz2 librpm-tizen-71c8f49ca4b86527bc43bbff64a44ef36f938687.zip |
Fix BDB version check in configure to work with >= 5 too
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 44c8472e6..6fcffdb9e 100644 --- a/configure.ac +++ b/configure.ac @@ -315,7 +315,7 @@ yes ) AC_CHECK_HEADERS([db.h],[ AC_PREPROC_IFELSE([ #include <db.h> - #if !(DB_VERSION_MAJOR >= 4 && DB_VERSION_MINOR >= 5) + #if ((DB_VERSION_MAJOR < 4) || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR < 5)) #error Berkeley DB too old #endif ],[ WITH_DB_LIB=-ldb ], |