diff options
author | Scott W Taylor <swtaylor@gentoo.org> | 2004-11-20 12:04:33 +0000 |
---|---|---|
committer | Scott W Taylor <swtaylor@gentoo.org> | 2004-11-20 12:04:33 +0000 |
commit | 1ccb20dc8a36cdee415cabb515451eae57877fd8 (patch) | |
tree | 3b818c1348c80ddb36562bdb78cf97e63b05cfc9 /net-libs/courier-authlib/files | |
parent | Add ~sparc keyword, Bug 71769 --- internal tests & my application are fine. (diff) | |
download | historical-1ccb20dc8a36cdee415cabb515451eae57877fd8.tar.gz historical-1ccb20dc8a36cdee415cabb515451eae57877fd8.tar.bz2 historical-1ccb20dc8a36cdee415cabb515451eae57877fd8.zip |
work in progress
Diffstat (limited to 'net-libs/courier-authlib/files')
-rw-r--r-- | net-libs/courier-authlib/files/configure-db4.patch | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/net-libs/courier-authlib/files/configure-db4.patch b/net-libs/courier-authlib/files/configure-db4.patch new file mode 100644 index 000000000000..18b32f88f998 --- /dev/null +++ b/net-libs/courier-authlib/files/configure-db4.patch @@ -0,0 +1,68 @@ +--- configure.in.orig 2004-11-02 14:46:22.000000000 -0800 ++++ configure.in 2004-11-02 14:51:02.531958000 -0800 +@@ -26,7 +26,6 @@ + AC_PROG_CPP + AC_PROG_INSTALL + AC_PROG_LN_S +-AC_PROG_SYSCONFTOOL + AC_SUBST(LTDLINCL) + AC_SUBST(LIBLTDL) + 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"]) ] +- )]) +- +- 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 ], ++ 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.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" + |