diff options
author | Tuan Van <langthang@gentoo.org> | 2005-01-02 07:20:48 +0000 |
---|---|---|
committer | Tuan Van <langthang@gentoo.org> | 2005-01-02 07:20:48 +0000 |
commit | ecae29e95e7b4812093acab792d21e35ba0e5dba (patch) | |
tree | 138d42794c57d03140b37d7af4d3fe5406da436d /net-libs/courier-authlib/files | |
parent | just run distutils_pkg_postinst (Manifest recommit) (diff) | |
download | gentoo-2-ecae29e95e7b4812093acab792d21e35ba0e5dba.tar.gz gentoo-2-ecae29e95e7b4812093acab792d21e35ba0e5dba.tar.bz2 gentoo-2-ecae29e95e7b4812093acab792d21e35ba0e5dba.zip |
adjust patch for the newer version
Diffstat (limited to 'net-libs/courier-authlib/files')
-rw-r--r-- | net-libs/courier-authlib/files/configure-db4.patch | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/net-libs/courier-authlib/files/configure-db4.patch b/net-libs/courier-authlib/files/configure-db4.patch index 18b32f88f998..639aa1e7d223 100644 --- a/net-libs/courier-authlib/files/configure-db4.patch +++ b/net-libs/courier-authlib/files/configure-db4.patch @@ -10,17 +10,17 @@ AC_LIBTOOL_DLOPEN @@ -284,15 +283,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"]) ] -- )]) + 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) +- 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.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 ], @@ -32,9 +32,9 @@ + 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 + fi - LIBS="$saveLIBS" + 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 @@ |