summaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-02 16:53:38 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2001-08-02 16:53:38 +0000
commitea186e9321fbb4aa05920eebe45b631a23584b7a (patch)
tree4dad50ee052c9d94f8efa8087969a42d02cadb7c /boehm-gc
parent19dcb05b64dac1b3f6b41b66fbf6335bfcaa4926 (diff)
downloadgcc-ea186e9321fbb4aa05920eebe45b631a23584b7a.tar.gz
2001-08-02 David Billinghurst <David.Billinghurst>
* configure: Rebuilt. * configure.in: POSIX threads on cygwin does not link with -lpthreads. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44574 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc')
-rw-r--r--boehm-gc/ChangeLog6
-rwxr-xr-xboehm-gc/configure9
-rw-r--r--boehm-gc/configure.in3
3 files changed, 15 insertions, 3 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index 0c25c7cc39d..635eb37e411 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,9 @@
+2001-08-02 David Billinghurst <David.Billinghurst>
+
+ * configure: Rebuilt.
+ * configure.in: POSIX threads on cygwin does not link with
+ -lpthreads.
+
2001-07-03 Tom Tromey <tromey@redhat.com>
Fix for PR bootstrap/3281:
diff --git a/boehm-gc/configure b/boehm-gc/configure
index efbb687437f..560ccb3c04e 100755
--- a/boehm-gc/configure
+++ b/boehm-gc/configure
@@ -2648,6 +2648,9 @@ EOF
EOF
;;
+ *-*-cygwin*)
+ THREADLIBS=
+ ;;
esac
;;
decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
@@ -2660,7 +2663,7 @@ esac
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
-echo "configure:2664: checking for dlopen in -ldl" >&5
+echo "configure:2667: checking for dlopen in -ldl" >&5
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@@ -2668,7 +2671,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ldl $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 2672 "configure"
+#line 2675 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@@ -2679,7 +2682,7 @@ int main() {
dlopen()
; return 0; }
EOF
-if { (eval echo configure:2683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
diff --git a/boehm-gc/configure.in b/boehm-gc/configure.in
index ef1760a6022..ec835e11c36 100644
--- a/boehm-gc/configure.in
+++ b/boehm-gc/configure.in
@@ -56,6 +56,9 @@ case "$THREADS" in
*-*-irix*)
AC_DEFINE(IRIX_THREADS)
;;
+ *-*-cygwin*)
+ THREADLIBS=
+ ;;
esac
;;
decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)