summaryrefslogtreecommitdiff
path: root/security/pks/files/patch-configure
blob: 75600a00290da60d5f573b0db0a901362ebaa39e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- configure.orig	2004-01-17 23:19:56 UTC
+++ configure
@@ -2536,15 +2536,16 @@ echo $ECHO_N "checking for Berkeley DB... $ECHO_C" >&6
 # Check whether --with-db or --without-db was given.
 if test "${with_db+set}" = set; then
   withval="$with_db"
-  DBINC=NO
-  DBLIB=NO
-  DBHDR=NO
   S=1
   case "$withval" in
   yes|no)
+     if test -z "$DBHDR" ; then
       { { echo "$as_me:$LINENO: error: Berkeley DB was not found. Please check your installation or use --with-db=PATH" >&5
 echo "$as_me: error: Berkeley DB was not found. Please check your installation or use --with-db=PATH" >&2;}
    { (exit 1); exit 1; }; }
+     fi
+     echo "$as_me:$LINENO: result: $DBHDR (${DBINC:-default location})" >&5
+     echo "${ECHO_T}$DBHDR (${DBINC:-default location})" >&6
      ;;
   *)
   echo "$as_me:$LINENO: result: $withval" >&5