Use mt fragment ONLY when threads are defined, this avoids spurious
IO_flockfile and fixes a regression... Complete mt_fragment with posix define...
This commit is contained in:
parent
43dac1b9e5
commit
14117cab73
@ -1,2 +1,2 @@
|
||||
# tell we want the mt-safe version
|
||||
MT_CFLAGS = -D_IO_MTSAFE_IO
|
||||
MT_CFLAGS = -D_IO_MTSAFE_IO -D_PTHREADS
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- libstdc++/configure.in.orig Wed Feb 3 15:03:58 1999
|
||||
+++ libstdc++/configure.in Wed Feb 3 15:04:39 1999
|
||||
--- libstdc++/configure.in.orig Mon Feb 8 21:22:56 1999
|
||||
+++ libstdc++/configure.in Tue Feb 9 03:24:01 1999
|
||||
@@ -63,6 +63,7 @@
|
||||
*-*-irix[56]*) frags="${frags} irix5.ml" ;;
|
||||
*-*-linux*aout*) ;;
|
||||
@ -8,11 +8,14 @@
|
||||
*-*-sysv[45]*|*-*-udk*) frags="${frags} elf.ml" ;;
|
||||
*-*-solaris*) frags="${frags} sol2shm.ml" ;;
|
||||
*-*-sunos4*) frags="${frags} sunos4.ml" ;;
|
||||
@@ -76,6 +77,7 @@
|
||||
@@ -76,6 +77,10 @@
|
||||
alpha*-*-linux-gnulibc1) frags="${frags} linux.mt" ;;
|
||||
powerpc*-*-linux-gnulibc1) frags="${frags} linux.mt" ;;
|
||||
*-*-linux-gnu) frags="${frags} linux.mt" ;;
|
||||
+ *-*-openbsd*) frags="${frags} openbsd.mt" ;;
|
||||
+ *-*-openbsd*)
|
||||
+ case "x${enable_threads}" in
|
||||
+ xyes|xposix) frags="${frags} openbsd.mt" ;;
|
||||
+ esac;;
|
||||
m68k-motorola-sysv) frags="${frags} delta.mt" ;;
|
||||
esac
|
||||
|
||||
*-*-solaris*)
|
||||
case "x${enable_threads}" in
|
||||
|
@ -1,2 +1,2 @@
|
||||
# tell we want the mt-safe version
|
||||
MT_CFLAGS = -D_IO_MTSAFE_IO
|
||||
MT_CFLAGS = -D_IO_MTSAFE_IO -D_PTHREADS
|
||||
|
@ -1,5 +1,5 @@
|
||||
--- libstdc++/configure.in.orig Wed Feb 3 15:03:58 1999
|
||||
+++ libstdc++/configure.in Wed Feb 3 15:04:39 1999
|
||||
--- libstdc++/configure.in.orig Mon Feb 8 21:22:56 1999
|
||||
+++ libstdc++/configure.in Tue Feb 9 03:24:01 1999
|
||||
@@ -63,6 +63,7 @@
|
||||
*-*-irix[56]*) frags="${frags} irix5.ml" ;;
|
||||
*-*-linux*aout*) ;;
|
||||
@ -8,11 +8,14 @@
|
||||
*-*-sysv[45]*|*-*-udk*) frags="${frags} elf.ml" ;;
|
||||
*-*-solaris*) frags="${frags} sol2shm.ml" ;;
|
||||
*-*-sunos4*) frags="${frags} sunos4.ml" ;;
|
||||
@@ -76,6 +77,7 @@
|
||||
@@ -76,6 +77,10 @@
|
||||
alpha*-*-linux-gnulibc1) frags="${frags} linux.mt" ;;
|
||||
powerpc*-*-linux-gnulibc1) frags="${frags} linux.mt" ;;
|
||||
*-*-linux-gnu) frags="${frags} linux.mt" ;;
|
||||
+ *-*-openbsd*) frags="${frags} openbsd.mt" ;;
|
||||
+ *-*-openbsd*)
|
||||
+ case "x${enable_threads}" in
|
||||
+ xyes|xposix) frags="${frags} openbsd.mt" ;;
|
||||
+ esac;;
|
||||
m68k-motorola-sysv) frags="${frags} delta.mt" ;;
|
||||
esac
|
||||
|
||||
*-*-solaris*)
|
||||
case "x${enable_threads}" in
|
||||
|
Loading…
Reference in New Issue
Block a user