From: Jeffrey A Law Date: Thu, 25 Feb 1999 01:26:27 +0000 (+0000) Subject: configure.in: Handle OpenBSD with and without threads. X-Git-Tag: prereleases/egcs-1.1.2-prerelease-3~34 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30b871ed8393a56f34559cb64526c613e04fdd45;p=thirdparty%2Fgcc.git configure.in: Handle OpenBSD with and without threads. Thu Feb 18 19:53:17 1999 Marc Espie * configure.in: Handle OpenBSD with and without threads. * config/openbsd.ml: New file. * config/openbsd.mt: New file. From-SVN: r25427 --- diff --git a/libstdc++/ChangeLog b/libstdc++/ChangeLog index 49a84c4b7217..e10c3793731c 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 + * 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 * configure.in: Append mh-ppcpic and mh-elfalphapic as appropriate. diff --git a/libstdc++/configure.in b/libstdc++/configure.in index 702cb2cab1fa..204d4a879ea3 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