comparison configure.in @ 296:5a79be0ef6a8 r21-0b46

Import from CVS: tag r21-0b46
author cvs
date Mon, 13 Aug 2007 10:38:46 +0200
parents 4b85ae5eabfb
children 70ad99077275
comparison
equal deleted inserted replaced
295:9d5da8baa111 296:5a79be0ef6a8
3448 else with_database_dbm=no 3448 else with_database_dbm=no
3449 fi 3449 fi
3450 fi 3450 fi
3451 3451
3452 if test "$with_database_berkdb" != "no"; then 3452 if test "$with_database_berkdb" != "no"; then
3453 AC_CHECK_FUNC(dbopen, with_database_berkdb=yes need_libdb=no) 3453 AC_CHECK_FUNC(dbopen, with_database_berkdb=yes need_libdb=no,
3454 if test "$need_libdb" != "no"; then 3454 AC_CHECK_FUNC(db_open, with_database_berkdb=yes need_libdb=no,
3455 AC_CHECK_LIB(db, dbopen, with_database_berkdb=yes need_libdb=yes) 3455 AC_CHECK_LIB(db, dbopen, with_database_berkdb=yes need_libdb=yes,
3456 fi 3456 AC_CHECK_LIB(db, db_open, with_database_berkdb=yes need_libdb=yes))))
3457
3457 if test "$with_database_berkdb" = "yes"; then 3458 if test "$with_database_berkdb" = "yes"; then
3458 for path in "db/db.h" "db.h"; do 3459 for path in "db/db.h" "db.h"; do
3459 AC_TRY_COMPILE([#ifdef HAVE_INTTYPES_H 3460 AC_TRY_COMPILE([#ifdef HAVE_INTTYPES_H
3460 #define __BIT_TYPES_DEFINED__ 3461 #define __BIT_TYPES_DEFINED__
3461 #include <inttypes.h> 3462 #include <inttypes.h>