summaryrefslogtreecommitdiff
path: root/lang/ferite/files/patch-configure
blob: 73ca4d9078d212091e066d39257ff7624dbd08b4 (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
57
58
$FreeBSD$

--- configure.orig	Thu Nov 15 11:09:00 2001
+++ configure	Thu Nov 15 18:26:26 2001
@@ -261,7 +261,6 @@
 : ${ac_max_here_lines=38}
 
 ac_unique_file="src/ferite.c"
-ac_subdirs_all="$ac_subdirs_all libs/ltdl"
 
 # Initialize some variables set by options.
 ac_init_help=
@@ -2666,18 +2665,6 @@
   SET_MAKE="MAKE=${MAKE-make}"
 fi
 
-  case $enable_ltdl_convenience in
-  no) { { echo "$as_me:2670: error: this package needs a convenience libltdl" >&5
-echo "$as_me: error: this package needs a convenience libltdl" >&2;}
-   { (exit 1); exit 1; }; } ;;
-  "") enable_ltdl_convenience=yes
-      ac_configure_args="$ac_configure_args --enable-ltdl-convenience" ;;
-  esac
-  LIBLTDL='${top_builddir}/''libltdl'/libltdlc.la
-  INCLTDL='-I${top_srcdir}/''libltdl'
-
-subdirs="$subdirs libs/ltdl"
-
 # Check whether --enable-shared or --disable-shared was given.
 if test "${enable_shared+set}" = set; then
   enableval="$enable_shared"
@@ -7096,13 +7083,13 @@
    { (exit 1); exit 1; }; }
 fi
 
-echo "$as_me:7099: checking for pthread_mutex_lock in -lpthread" >&5
-echo $ECHO_N "checking for pthread_mutex_lock in -lpthread... $ECHO_C" >&6
+echo "$as_me:7099: checking for pthread_mutex_lock in %%PTHREAD_LIBS%%" >&5
+echo $ECHO_N "checking for pthread_mutex_lock in %%PTHREAD_LIBS%%... $ECHO_C" >&6
 if test "${ac_cv_lib_pthread_pthread_mutex_lock+set}" = set; then
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lpthread  $LIBS"
+LIBS="%%PTHREAD_LIBS%%  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 #line 7107 "configure"
 #include "confdefs.h"
@@ -7150,7 +7137,7 @@
 #define HAVE_LIBPTHREAD 1
 EOF
 
-  LIBS="-lpthread $LIBS"
+  LIBS="%%PTHREAD_LIBS%% $LIBS"
 
 else