OSDN Git Service

(frags): Add fragments for Solaris defining macro specifying thread
authordrepper <drepper@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Feb 1999 15:52:08 +0000 (15:52 +0000)
committerdrepper <drepper@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Feb 1999 15:52:08 +0000 (15:52 +0000)
library to be used and generic POSIX thread libraries.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25029 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++/configure.in

index 9f0f0a2..c1378b8 100644 (file)
@@ -77,6 +77,15 @@ case "${target}" in
   powerpc*-*-linux-gnulibc1)   frags="${frags} linux.mt" ;;
   *-*-linux-gnu)               frags="${frags} linux.mt" ;;
   m68k-motorola-sysv)          frags="${frags} delta.mt" ;;
+  *-*-solaris*)
+    case "x${enable_threads}" in
+      xposix)                  frags="${frags} sol2pth.mt" ;;
+      xsolaris)                        frags="${frags} sol2solth.mt" ;;
+    esac ;;
+  *)
+    case "x${enable_threads}" in
+      xposix)                  frags="${frags} posix.mt" ;;
+    esac ;;
 esac
 
 for frag in ${frags}; do