summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
c48970b)
db5 is compatible with db4 at an API level, so look for >= v4 rather
than = v4 in our configure script.
printf "#include <db.h>\nDB_VERSION_MAJOR DB_VERSION_MINOR\n" >conftest.c
set `eval $ac_cpp conftest.c | egrep '^ *[[0-9]] *'`; v="$1"; vv="$2"
AC_MSG_RESULT($v.$vv)
printf "#include <db.h>\nDB_VERSION_MAJOR DB_VERSION_MINOR\n" >conftest.c
set `eval $ac_cpp conftest.c | egrep '^ *[[0-9]] *'`; v="$1"; vv="$2"
AC_MSG_RESULT($v.$vv)
-if test "$v" -eq 4; then
+if test "$v" -ge 4; then
for db in "db-$v.$vv" "db$v.$vv" "db-$v" "db$v" "db"; do
AC_MSG_CHECKING(for db_create in lib$db)
oldLIBS="$LIBS"
for db in "db-$v.$vv" "db$v.$vv" "db-$v" "db$v" "db"; do
AC_MSG_CHECKING(for db_create in lib$db)
oldLIBS="$LIBS"