]> git.pld-linux.org Git - packages/cyrus-imapd.git/commitdiff
autoconf fixes
authorArtur Frysiak <artur@frysiak.net>
Tue, 10 Jul 2001 11:54:03 +0000 (11:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cyrus-imapd-db3.patch -> 1.1

cyrus-imapd-db3.patch [new file with mode: 0644]

diff --git a/cyrus-imapd-db3.patch b/cyrus-imapd-db3.patch
new file mode 100644 (file)
index 0000000..2e363ee
--- /dev/null
@@ -0,0 +1,25 @@
+--- cyrus-imapd-2.0.14/configure.in.wiget      Fri Jul  6 20:25:27 2001
++++ cyrus-imapd-2.0.14/configure.in    Fri Jul  6 20:27:05 2001
+@@ -124,18 +124,11 @@
+       fi
+     done)
+ #Try to detect the name of the DB3 library
+-dbfound="no"
+-for dbname in db-3.2 db3.2 db-3.1 db3.1 db-3 db3 db
+-  do
+-    AC_CHECK_LIB($dbname, db_create, [AC_DEFINE(HAVE_LIBDB)
+-                                    LIBS=" -l$dbname ${LIBS}"
+-                                    dbfound="yes"
+-                                    break], dbfound="no")
+-  done
+-if test "$dbfound" = "no"; then
+-  AC_ERROR([this version requires Berkeley DB 3.x.
++AC_SEARCH_LIBS(db_create, [db-3.2 db3.2 db-3.11 db3.1 db-3 db3 db],
++              [AC_DEFINE(HAVE_LIBDB)],[
++      AC_ERROR([this version requires Berkeley DB 3.x.
+ (Get it from http://www.sleepycat.com/.)])
+-fi
++])
+ sievedir="sieve"
+ AC_ARG_ENABLE(sieve,
This page took 0.117033 seconds and 4 git commands to generate.