summaryrefslogtreecommitdiff
path: root/lang/ferite/files/patch-configure
blob: 7655b8194c3644286e15e9db5a8c51350712dedd (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
59
60
61
62
63
64
--- configure.orig	Sun Nov 11 11:47:08 2001
+++ configure	Sun Nov 11 21:39:39 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"
@@ -6507,7 +6494,7 @@
 build_old_libs=$enable_static
 
 # Whether or not to add -lc for building shared libraries.
-build_libtool_need_lc=$need_lc
+build_libtool_need_lc=no
 
 # Whether or not to optimize for fast installation.
 fast_install=$enable_fast_install
@@ -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" >&5
+echo $ECHO_N "checking for pthread_mutex_lock in -pthread... $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"
 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"
 
 else