blob: c871bf698c2c68049f173a3bc9343b0a7cef1ca9 (
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
|
--- configure.orig Tue May 31 17:38:58 2005
+++ configure Tue May 31 17:39:14 2005
@@ -1316,7 +1316,7 @@
# Actually configure libtool. ac_aux_dir is where install-sh is found.
CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
LD="$LD" NM="$NM" RANLIB="$RANLIB" LN_S="$LN_S" \
-${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
+$ac_aux_dir/ltconfig \
$libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
|| { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
@@ -2202,14 +2202,14 @@
rm -f conf.gtktest
-echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
-echo "configure:2207: checking for pthread_create in -lpthread" >&5
+echo $ac_n "checking for pthread_create in ${PTHREAD_LIBS}""... $ac_c" 1>&6
+echo "configure:2207: checking for pthread_create in ${PTHREAD_LIBS}" >&5
ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lpthread $LIBS"
+LIBS="${PTHREAD_LIBS} $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2215 "configure"
#include "confdefs.h"
@@ -2243,7 +2243,7 @@
#define $ac_tr_lib 1
EOF
- LIBS="-lpthread $LIBS"
+ LIBS="${PTHREAD_LIBS} $LIBS"
else
echo "$ac_t""no" 1>&6
@@ -2495,7 +2495,7 @@
HAVE_ESD_FALSE=
fi
-CFLAGS=$GTK_CFLAGS
+CFLAGS="$CFLAGS $GTK_CFLAGS"
LIBS=$GTK_LIBS
echo $ac_n "checking for thread-safe Xlib""... $ac_c" 1>&6
|