2001-04-30 07:29:45 +02:00
|
|
|
|
|
|
|
$FreeBSD$
|
|
|
|
|
2002-04-26 08:31:57 +02:00
|
|
|
--- configure.orig Fri Mar 29 01:26:14 2002
|
|
|
|
+++ configure Fri Apr 26 09:01:50 2002
|
|
|
|
@@ -10597,6 +10597,7 @@
|
|
|
|
|
|
|
|
# This can be used to rebuild libtool when needed
|
|
|
|
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
|
|
|
|
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
|
|
|
|
|
|
|
|
# Always use our own libtool.
|
|
|
|
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
|
|
|
@@ -17619,8 +17620,8 @@
|
2002-02-12 09:31:19 +01:00
|
|
|
rm -f conftest.$ac_objext conftest.$ac_ext
|
2000-11-20 19:01:06 +01:00
|
|
|
fi
|
|
|
|
;;
|
|
|
|
- *-freebsd2.2*)
|
2001-08-01 19:50:36 +02:00
|
|
|
- G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_THREAD_SAFE"
|
2000-11-20 19:01:06 +01:00
|
|
|
+ *-freebsd*)
|
2001-08-01 19:50:36 +02:00
|
|
|
+ G_THREAD_CFLAGS="$G_THREAD_CFLAGS $PTHREAD_CFLAGS"
|
2000-11-20 19:01:06 +01:00
|
|
|
|
|
|
|
# FreeBSD 2.2.x shiped with gcc 2.7.2.x, which doesn't support
|
2001-08-01 19:50:36 +02:00
|
|
|
# -mthreads flag.
|
2002-04-26 08:31:57 +02:00
|
|
|
@@ -17702,7 +17703,7 @@
|
2002-03-11 20:08:04 +01:00
|
|
|
*-*-openbsd* | *-*-freebsd*)
|
|
|
|
# FreeBSD and OpenBSD want us to use the -pthread flag
|
|
|
|
# instead of linking to -lc_r and libtool enforces that.
|
|
|
|
- G_THREAD_LIBS="-pthread"
|
|
|
|
+ G_THREAD_LIBS="$PTHREAD_LIBS"
|
2001-08-01 19:50:36 +02:00
|
|
|
;;
|
|
|
|
*)
|
2002-03-11 20:08:04 +01:00
|
|
|
for thread_lib in "" pthread pthread32 pthreads thread dce; do
|