configure.in: Don't build ld on i386-solaris2, same as for sparc-solaris2.
[deliverable/binutils-gdb.git] / configure.in
index 909e600a142d64de8c9f40fcbc7038282d2cd631..5ef7ebf7a5d4c1d73bd2b1f6d79599ead0249ac3 100644 (file)
@@ -157,20 +157,13 @@ else
        done
 fi     
 
-## start-sanitize-for-fsf
-
 # Remove more programs from consideration, based on the host or 
 # target this usually means that a port of the program doesn't
-# exist yet.  This section gets removed for FSF releases,
-# where we want the configure scripts in the subdirectories to
-# complain if the target or host isn't supported.
+# exist yet.
 
 noconfigdirs=""
 
 case "${host}" in
-  alpha-dec-osf1*)
-    noconfigdirs="gdb"
-    ;;
   i[34]86-*-go32)
     noconfigdirs="tcl expect deja-gnu make texinfo bison patch flex byacc send-pr gprof uudecode dejagnu diff"
     ;;
@@ -178,7 +171,7 @@ esac
 
 case "${target}" in
   alpha-dec-osf1*)
-    noconfigdirs="$noconfigdirs gas gdb emacs fileutils grep libg++ libio"
+    noconfigdirs="$noconfigdirs gas emacs fileutils grep libg++ libio"
     ;; 
   h8300*-*-* | \
   h8500-*-*)
@@ -211,6 +204,12 @@ case "${target}" in
     # add the go32 support tools to the list
     configdirs=`echo go32 ${configdirs}`
     ;;
+  i[34]86-*-solaris2*)
+    # The linker does static linking correctly, but the Solaris C library
+    # has bugs such that some important functions won't work when statically
+    # linked.  (See man pages for getpwuid, for example.)
+    noconfigdirs="$noconfigdirs ld"
+    ;;
   i[34]86-*-sysv4*)
     # The SYSV4 C compiler doesn't handle Emacs correctly
     case "${CC}" in
@@ -237,6 +236,7 @@ case "${target}" in
     use_gnu_ld=no
     ;;
   sparc-*-solaris2*)
+    # See i386-*-solaris2* above.
     noconfigdirs="$noconfigdirs ld"
     ;;
   i[34]86-*-sco*)
@@ -271,8 +271,6 @@ if [ x"${notsupp}" != x ]; then
   echo "    (Any other directories should still work fine.)" 1>&2
 fi
 
-## end-sanitize-for-fsf
-
 # Set with_gnu_as and with_gnu_ld as appropriate.
 #
 # This is done by determining whether or not the appropriate directory
This page took 0.025255 seconds and 4 git commands to generate.