git.schokokeks.org
Repositories
Help
Report an Issue
keks-overlay.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
278bcfc
Branches
Tags
master
keks-overlay.git
net-libs
courier-authlib
files
0.59.2-configure-db4.patch
Version bump to current versions
Bernd Wurst
commited
278bcfc
at 2008-03-05 21:09:58
0.59.2-configure-db4.patch
Blame
History
Raw
--- configure.in.orig 2007-01-17 02:15:46.000000000 +0000 +++ configure.in 2007-02-03 19:52:48.000000000 +0000 @@ -22,7 +22,6 @@ AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LN_S -AC_PROG_SYSCONFTOOL AC_LIBLTDL_INSTALLABLE AC_LIBTOOL_DLOPEN AM_PROG_LIBTOOL @@ -264,15 +263,17 @@ if test "$db" != "gdbm" then - AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ], - [ AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"], - [ AC_CHECK_LIB(db, db_env_create, - [ LIBDB=-ldb; LIBS="-ldb $LIBS"]) ] - )]) - - AC_CHECK_FUNC(dbopen, HAVE_BDB=1) - AC_CHECK_FUNC(db_open, HAVE_BDB=1) - AC_CHECK_FUNC(db_env_create, HAVE_BDB=1) + for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db + do + AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], + AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], + AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], + AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ])))) + done + AC_CHECK_FUNC(db_create_4002, HAVE_BDB=1) + AC_CHECK_FUNC(db_create_4001, HAVE_BDB=1) + AC_CHECK_FUNC(db_create_4000, HAVE_BDB=1) + AC_CHECK_FUNC(db_create, HAVE_BDB=1) fi LIBS="$saveLIBS" --- bdbobj/configure.in 2001-09-18 18:26:28.000000000 -0700 +++ bdbobj/configure.in 2004-08-14 16:15:08.469316646 -0700 @@ -21,15 +21,19 @@ dnl Checks for libraries. saveLIBS="$LIBS" -AC_CHECK_LIB(db, dbopen, [ LIBDB=-ldb ; LIBS="-ldb $LIBS" ], - AC_CHECK_LIB(db, db_open, [ LIBDB=-ldb ; LIBS="-ldb $LIBS"], - AC_CHECK_LIB(db, db_env_create, [ LIBDB=-ldb; LIBS="-ldb $LIBS"]) - )) - -FOUND_DB=0 -AC_CHECK_FUNC(dbopen, FOUND_DB=1) -AC_CHECK_FUNC(db_open, FOUND_DB=1) -AC_CHECK_FUNC(db_env_create, FOUND_DB=1) +for dbname in db-4.4 db4.4 db44 db-4.3 db4.3 db43 db-4.2 db4.2 db42 db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db40 db4 db + do + AC_CHECK_LIB($dbname, db_create_4002, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], + AC_CHECK_LIB($dbname, db_create_4001, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], + AC_CHECK_LIB($dbname, db_create_4000, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ], + AC_CHECK_LIB($dbname, db_create, [ LIBDB=-l$dbname ; LIBS="-l$dbname $LIBS"; break ])))) + + done +FOUND_DB=0 +AC_CHECK_FUNC(db_create_4002, FOUND_DB=1) +AC_CHECK_FUNC(db_create_4001, FOUND_DB=1) +AC_CHECK_FUNC(db_create_4000, FOUND_DB=1) +AC_CHECK_FUNC(db_create, FOUND_DB=1) LIBS="$saveLIBS"