projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0c6d74
)
Make peace with autoconf-2.68
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 4 Mar 2011 16:34:01 +0000
(18:34 +0200)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 4 Mar 2011 16:34:01 +0000
(18:34 +0200)
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
2aa190b
..
ede3c44
100644
(file)
--- 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])
])