diff options
Diffstat (limited to 'news/inn-current/files/patch-configure')
-rw-r--r-- | news/inn-current/files/patch-configure | 71 |
1 files changed, 56 insertions, 15 deletions
diff --git a/news/inn-current/files/patch-configure b/news/inn-current/files/patch-configure index 64ff492b9865..752d1c658b79 100644 --- a/news/inn-current/files/patch-configure +++ b/news/inn-current/files/patch-configure @@ -1,15 +1,56 @@ ---- configure.orig Mon Sep 22 11:31:16 2003 -+++ configure Mon Sep 22 11:32:15 2003 -@@ -5828,9 +5828,9 @@ - fi - if test x"$BERKELEY_DB_DIR" = xyes ; then - for v in db4 db3 db2 ; do -- if test -d "/usr/local/include/$v" ; then -- BERKELEY_DB_LDFLAGS="-L/usr/local/lib" -- BERKELEY_DB_CFLAGS="-I/usr/local/include/$v" -+ if test -d "${LOCALBASE}/include/$v" ; then -+ BERKELEY_DB_LDFLAGS="-L${LOCALBASE}/lib" -+ BERKELEY_DB_CFLAGS="-I${LOCALBASE}/include/$v" - BERKELEY_DB_LIB="-l$v" - echo "$ac_t""FreeBSD locations" 1>&6 - break +--- configure.orig Mon Jan 12 06:10:08 2004 ++++ configure Thu Jan 22 11:40:42 2004 +@@ -10949,51 +10949,11 @@ + echo "$as_me:$LINENO: checking for Berkeley DB location" >&5 + echo $ECHO_N "checking for Berkeley DB location... $ECHO_C" >&6 + +- if test x"$DB_DIR" = xyes ; then +- for version in BerkeleyDB.4.1 BerkeleyDB.4.0 BerkeleyDB.3.3 \ +- BerkeleyDB.3.2 BerkeleyDB.3.1 BerkeleyDB.3.0 \ +- BerkeleyDB ; do +- if test -d "/usr/local/$version" ; then +- DB_DIR=/usr/local/$version +- break +- fi +- done +- fi +- +- if test x"$DB_DIR" = xyes ; then +- for version in db41 db4 db3 db2 ; do +- if test -d "/usr/local/include/$version" ; then +- DB_CPPFLAGS="-I/usr/local/include/$version" ++ DB_CPPFLAGS="-I/usr/local/include/${DB_VER}" + DB_LDFLAGS="-L/usr/local/lib" +- DB_LIBS="-l$version" ++ DB_LIBS="-l${DB_VER}" + echo "$as_me:$LINENO: result: FreeBSD locations" >&5 + echo "${ECHO_T}FreeBSD locations" >&6 +- break +- fi +- done +- if test x"$DB_LIBS" = x ; then +- for version in db41 db4 db3 db2 ; do +- if test -d "/usr/include/$version" ; then +- DB_CPPFLAGS="-I/usr/include/$version" +- DB_LIBS="-l$version" +- echo "$as_me:$LINENO: result: Red Hat locations" >&5 +-echo "${ECHO_T}Red Hat locations" >&6 +- break +- fi +- done +- if test x"$DB_LIBS" = x ; then +- DB_LIBS=-ldb +- echo "$as_me:$LINENO: result: trying -ldb" >&5 +-echo "${ECHO_T}trying -ldb" >&6 +- fi +- fi +- else +- DB_CPPFLAGS="-I$DB_DIR/include" +- DB_LDFLAGS="-L$DB_DIR/lib" +- DB_LIBS="-ldb" +- echo "$as_me:$LINENO: result: $DB_DIR" >&5 +-echo "${ECHO_T}$DB_DIR" >&6 +- fi + + cat >>confdefs.h <<\_ACEOF + #define USE_BERKELEY_DB 1 |