aboutsummaryrefslogtreecommitdiffstats
path: root/net/openldap/files/patch-db
blob: 09902df2cd31c5acae29c950bb1dab8b207ca367 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- configure.orig  Wed Dec 12 09:55:07 2001
+++ configure   Wed Dec 12 10:00:07 2001
@@ -6194,14 +6194,14 @@
   echo $ac_n "(cached) $ac_c" 1>&6
 else
    ol_LIBS="$LIBS"
-   echo $ac_n "checking for db_open in -ldb""... $ac_c" 1>&6
-echo "configure:6199: checking for db_open in -ldb" >&5
+   echo $ac_n "checking for db_open in -ldb2""... $ac_c" 1>&6
+echo "configure:6199: checking for db_open in -ldb2" >&5
 ac_lib_var=`echo db'_'db_open | sed 'y%./+-:%__p__%'`
 if eval "test \"\${ac_cv_lib_$ac_lib_var+set}\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-ldb  $LIBS"
+LIBS="-ldb2  $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 6207 "configure"
 #include "confdefs.h"
@@ -6229,7 +6229,7 @@
 fi
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-  ol_cv_lib_db2=-ldb
+  ol_cv_lib_db2=-ldb2
 else
   echo "$ac_t""no" 1>&6
 ol_cv_lib_db2=no