freebsd-ports/devel/glib20/files/patch-ae
2002-04-26 06:31:57 +00:00

33 lines
979 B
Text

$FreeBSD$
--- 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 @@
rm -f conftest.$ac_objext conftest.$ac_ext
fi
;;
- *-freebsd2.2*)
- G_THREAD_CFLAGS="$G_THREAD_CFLAGS -D_THREAD_SAFE"
+ *-freebsd*)
+ G_THREAD_CFLAGS="$G_THREAD_CFLAGS $PTHREAD_CFLAGS"
# FreeBSD 2.2.x shiped with gcc 2.7.2.x, which doesn't support
# -mthreads flag.
@@ -17702,7 +17703,7 @@
*-*-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"
;;
*)
for thread_lib in "" pthread pthread32 pthreads thread dce; do