OSDN Git Service

Fix typo.
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure.target
index ffa3b16..06a2a83 100644 (file)
@@ -81,8 +81,11 @@ case "${target_os}" in
   aix*)
     os_include_dir="config/os/aix"
     ;;
-  bsd* | freebsd*)
-    os_include_dir="config/os/bsd"
+  bsd* | freebsd* )
+    os_include_dir="config/os/bsd/freebsd"
+    ;;
+  cygwin*)
+    os_include_dir="config/os/newlib"
     ;;
   linux*)
     os_include_dir="config/os/gnu-linux"
@@ -90,6 +93,9 @@ case "${target_os}" in
   irix*)
     os_include_dir="config/os/irix"
     ;;
+  netbsd*)
+    os_include_dir="config/os/bsd/netbsd"
+    ;;
   solaris2.5*)
     os_include_dir="config/os/solaris/solaris2.5"
     ;;
@@ -99,6 +105,9 @@ case "${target_os}" in
   solaris2.7* | solaris2.8*)
     os_include_dir="config/os/solaris/solaris2.7"
     ;;
+  hpux)
+    os_include_dir="config/os/hpux"
+    ;;
   *)
     os_include_dir="config/os/generic"
     ;;
@@ -108,13 +117,34 @@ esac
 # Set any flags dependant on the full target triplet.
 # THIS TABLE IS SORTED.  KEEP IT THAT WAY.
 
-#case "${target}" in
-#  *-*-telepathic)
-#    # On the MindReader 10000 platform, you really *can* tell the
-#    # compiler to "do what I mean".
-#    l_glibcpp_cxxflags='-fDWIM'
-#    ;;
-#esac
+case "${target}" in
+   arm*-*-aout | arm*-*-elf)
+     # Assume newlib
+     os_include_dir=config/os/newlib
+     ATOMICITYH=$cpu_include_dir
+     ;;
+   *-*-aix*)
+     ATOMICITYH=$os_include_dir
+     ;;
+   *-*-freebsd*)
+     ATOMICITYH=$cpu_include_dir
+     ;;
+   *-*-irix*)
+     ATOMICITYH=$os_include_dir
+     ;;
+   *-*-linux*)
+     ATOMICITYH=$cpu_include_dir
+     ;;
+   *-*-netbsd*)
+     ATOMICITYH=$cpu_include_dir
+     ;;
+   sparc*-*-*)
+     ATOMICITYH=$cpu_include_dir
+     ;;
+   *)
+     ATOMICITYH="config/cpu/generic"
+     ;;
+esac
 
 
 # Okay, folks, show's over.  Move along, move along.