blob: 33327df196a02687e3b739a921f1460f53d45e1f (
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
|
--- configure.orig Thu Jun 2 23:03:05 2005
+++ configure Wed Aug 31 23:48:02 2005
@@ -34396,7 +34396,7 @@
fi
;;
*-*-freebsd*)
- THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
+ THREAD_OPTS="$PTHREAD_LIBS"
;;
*-*-darwin* | *-*-cygwin* )
THREAD_OPTS=""
@@ -34433,6 +34433,12 @@
echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
;;
+ -pthread|-l*)
+ echo "$as_me:$LINENO: checking for the pthreads library $flag" >&5
+echo $ECHO_N "checking for the pthreads library $flag... $ECHO_C" >&6
+ THREADS_LINK="$flag"
+ ;;
+
-*)
echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
@@ -34515,7 +34521,7 @@
{ echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
else
- LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
+ LDFLAGS="$THREADS_CFLAGS $THREADS_LINK $LDFLAGS"
LIBS="$THREADS_LINK $LIBS"
echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
@@ -35701,6 +35707,7 @@
fi
fi
fi
+TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} ${PTHREAD_CFLAGS}"
if test "$WXGTK20" = 1 ; then
cat >>confdefs.h <<_ACEOF
@@ -35823,7 +35830,7 @@
OPTIMISE="-O"
fi
fi
-
+OPTIMISE=
if test "x$WXWIN_COMPATIBILITY_2_2" = "xyes"; then
cat >>confdefs.h <<\_ACEOF
|