]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
configure.in: Handle OpenBSD with and without threads.
authorJeffrey A Law <law@cygnus.com>
Thu, 25 Feb 1999 01:26:27 +0000 (01:26 +0000)
committerJeff Law <law@gcc.gnu.org>
Thu, 25 Feb 1999 01:26:27 +0000 (18:26 -0700)
        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

libstdc++/ChangeLog
libstdc++/configure.in

index 49a84c4b7217aa5d7ed61843df5d737ff7ff2cd5..e10c3793731cc87b1e86c605634c51ac6b7774cf 100644 (file)
@@ -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.
index 702cb2cab1fa7361b410d73fc17c87f4a07229f8..204d4a879ea38922482ecb19d2c35513dee58ecc 100644 (file)
@@ -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