From: Ben Collins Date: Mon, 27 Dec 1999 02:13:30 +0000 (+0000) Subject: Allow using real db1 on glibc 2.1 instead of the db1 compatiblity in db2. X-Git-Tag: OPENLDAP_REL_ENG_1_2_9~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f323caf25f6fcdfd006a4acf61bd5b3974564b0b;p=thirdparty%2Fopenldap.git Allow using real db1 on glibc 2.1 instead of the db1 compatiblity in db2. --- diff --git a/build/openldap.m4 b/build/openldap.m4 index c4c658659a..4da6b3f102 100644 --- a/build/openldap.m4 +++ b/build/openldap.m4 @@ -156,7 +156,9 @@ AC_DEFUN([OL_LIB_BERKELEY_DB], [AC_CACHE_CHECK([for Berkeley DB library], [ol_cv_lib_db], [ ol_LIBS="$LIBS" AC_CHECK_FUNC(dbopen,[ol_cv_lib_db=yes], [ - AC_CHECK_LIB(db,dbopen,[ol_cv_lib_db=-ldb],[ol_cv_lib_db=no]) + AC_CHECK_LIB(db1,dbopen,[ol_cv_lib_db=-ldb1],[ + AC_CHECK_LIB(db,dbopen,[ol_cv_lib_db=-ldb],[ol_cv_lib_db=no]) + ]) ]) LIBS="$ol_LIBS" ])