summaryrefslogtreecommitdiff
path: root/net/netatalk/files/patch-configure
blob: fe0c2b710aa6a329e0cf3fdb90ac5ad480ebd208 (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
--- configure.orig	Sun Sep  1 12:50:59 2002
+++ configure	Wed Oct  2 22:19:05 2002
@@ -1499,10 +1499,6 @@
 
 # The aliases save the names the user supplied, while $host etc.
 # will get canonicalized.
-test -n "$target_alias" &&
-  test "$program_prefix$program_suffix$program_transform_name" = \
-    NONENONEs,x,x, &&
-  program_prefix=${target_alias}-
 am__api_version="1.6"
 # Find a good install program.  We prefer a C program (faster),
 # so one script is as good as another.  But avoid the broken or
@@ -12706,13 +12702,13 @@
 			savedldflags="$LDFLAGS"
 			CFLAGS="$CFLAGS -I$db3dir"
 			LDFLAGS="-L$db3libdir $LDFLAGS"
-			echo "$as_me:$LINENO: checking for main in -ldb" >&5
-echo $ECHO_N "checking for main in -ldb... $ECHO_C" >&6
+			echo "$as_me:$LINENO: checking for main in -ldb3" >&5
+echo $ECHO_N "checking for main in -ldb3... $ECHO_C" >&6
 if test "${ac_cv_lib_db_main+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-ldb  $LIBS"
+LIBS="-ldb3  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line $LINENO "configure"
 #include "confdefs.h"
@@ -12759,7 +12755,7 @@
 
 				db3found=yes
 				DB3_CFLAGS="-I$db3dir"
-				DB3_LIBS="-L$db3libdir -ldb"
+				DB3_LIBS="-L$db3libdir -ldb3"
 				DB3_PATH="`echo $db3dir | sed 's,include/db3$,,'`"
 
 fi