summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1999-02-25 01:26:27 +0000
committerJeff Law <law@gcc.gnu.org>1999-02-24 18:26:27 -0700
commit30b871ed8393a56f34559cb64526c613e04fdd45 (patch)
treed46ff15b32c7a92134e3c8eb16b306fbd07ded45
parentc3d4efa2e4d0f44472331a5b955c75a3e5da1813 (diff)
downloadgcc-30b871ed8393a56f34559cb64526c613e04fdd45.tar.gz
configure.in: Handle OpenBSD with and without threads.
Thu Feb 18 19:53:17 1999 Marc Espie <espie@cvs.openbsd.org> * configure.in: Handle OpenBSD with and without threads. * config/openbsd.ml: New file. * config/openbsd.mt: New file. From-SVN: r25427
-rw-r--r--libstdc++/ChangeLog7
-rw-r--r--libstdc++/configure.in5
2 files changed, 12 insertions, 0 deletions
diff --git a/libstdc++/ChangeLog b/libstdc++/ChangeLog
index 49a84c4b721..e10c3793731 100644
--- a/libstdc++/ChangeLog
+++ b/libstdc++/ChangeLog
@@ -1,3 +1,10 @@
+Thu Feb 25 02:21:22 1999 Jeffrey A Law (law@cygnus.com)
+
+ Thu Feb 18 19:53:17 1999 Marc Espie <espie@cvs.openbsd.org>
+ * configure.in: Handle OpenBSD with and without threads.
+ * config/openbsd.ml: New file.
+ * config/openbsd.mt: New file.
+
Mon Nov 23 09:44:26 1998 Richard Henderson <rth@cygnus.com>
* configure.in: Append mh-ppcpic and mh-elfalphapic as appropriate.
diff --git a/libstdc++/configure.in b/libstdc++/configure.in
index 702cb2cab1f..204d4a879ea 100644
--- a/libstdc++/configure.in
+++ b/libstdc++/configure.in
@@ -55,6 +55,7 @@ if [ "${shared}" = "yes" ]; then
*-*-irix[56]*) frags="${frags} irix5.ml" ;;
*-*-linux*aout*) ;;
*-*-linux*) frags="${frags} linux.ml" ;;
+ *-*-openbsd*) frags="${frags} openbsd.ml" ;;
*-*-sysv4*) frags="${frags} elf.ml" ;;
*-*-solaris*) frags="${frags} sol2shm.ml" ;;
*-*-sunos4*) frags="${frags} sunos4.ml" ;;
@@ -67,6 +68,10 @@ case "${target}" in
alpha*-*-linux-gnulibc1) frags="${frags} linux.mt" ;;
powerpc*-*-linux-gnulibc1) frags="${frags} linux.mt" ;;
*-*-linux-gnu) frags="${frags} linux.mt" ;;
+ *-*-openbsd*)
+ case "x${enable_threads}" in
+ xyes|xposix) frags="${frags} openbsd.mt" ;;
+ esac;;
m68k-motorola-sysv) frags="${frags} delta.mt" ;;
esac