summaryrefslogtreecommitdiff
path: root/mail/dspam-devel/files/patch-configure
blob: 65ed3d0b74df5fdbd3ac56d86ad1c3bfce4afa67 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
--- configure.orig      Tue Sep 23 22:45:17 2003
+++ configure   Tue Sep 23 22:44:11 2003
@@ -7513,7 +7513,8 @@


 # This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+LIBTOOL_DEPS="%%LIBTOOLFLAGS%% $ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS

 # Always use our own libtool.
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
@@ -9287,9 +9288,9 @@
     ds_db4_libs_LIBS="-L$with_db4_libraries"
 fi

-echo "$as_me:$LINENO: checking for db_create in -ldb-4" >&5
-echo $ECHO_N "checking for db_create in -ldb-4... $ECHO_C" >&6
-LIBS="$ds_db4_libs_LIBS -ldb-4 $ds_db4_libs_save_LIBS"
+echo "$as_me:$LINENO: checking for db_create in -ldb41" >&5
+echo $ECHO_N "checking for db_create in -ldb41... $ECHO_C" >&6
+LIBS="$ds_db4_libs_LIBS -ldb41 $ds_db4_libs_save_LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 /* confdefs.h.  */
@@ -9325,7 +9326,7 @@
   (exit $ac_status); }; }; then

         ds_db4_libs_success=yes
-        ds_db4_libs_LIBS="$ds_db4_libs_LIBS -ldb-4"
+        ds_db4_libs_LIBS="$ds_db4_libs_LIBS -ldb41"

 else
   echo "$as_me: failed program was:" >&5
@@ -9340,9 +9341,9 @@

 if test "x$ds_db4_libs_success" != xyes
 then
-    echo "$as_me:$LINENO: checking for db_create in -ldb-4 (with -lpthread)" >&5
-echo $ECHO_N "checking for db_create in -ldb-4 (with -lpthread)... $ECHO_C" >&6
-    LIBS="$ds_db4_libs_LIBS -ldb-4 -lpthread $LIBS"
+    echo "$as_me:$LINENO: checking for db_create in -ldb41 (with -lpthread)" >&5
+echo $ECHO_N "checking for db_create in -ldb41 (with -lpthread)... $ECHO_C" >&6
+    LIBS="$ds_db4_libs_LIBS -ldb41 -lpthread $LIBS"
     cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 /* confdefs.h.  */
@@ -9378,7 +9379,7 @@
   (exit $ac_status); }; }; then

             ds_db4_libs_success=yes
-            ds_db4_libs_LIBS="$ds_db4_libs_LIBS -ldb-4 -lpthread"
+            ds_db4_libs_LIBS="$ds_db4_libs_LIBS -ldb41 -lpthread"

 else
   echo "$as_me: failed program was:" >&5