Don't handle unsupported OSes in configure (base_os settings).
authorJoseph Myers <joseph@codesourcery.com>
Thu, 26 Apr 2012 18:42:42 +0000 (18:42 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Thu, 26 Apr 2012 18:42:42 +0000 (18:42 +0000)
ChangeLog
configure
configure.in

index 0ad5a64691dc932553136b71a98635976b823961..ea4cb58bc5c69bbbe94392379bc3cccd9529a402 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,28 @@
+2012-04-26  Joseph Myers  <joseph@codesourcery.com>
+
+       * configure.in (arm*-none*): Do not allow without
+       --enable-hacker-mode.
+       (netbsd*): Remove case setting base_os.
+       (386bsd*): Likewise.
+       (freebsd*): Likewise.
+       (bsdi*): Likewise.
+       (osf*): Likewise.
+       (sunos*): Likewise.
+       (ultrix*): Likewise.
+       (newsos*): Likewise.
+       (dynix*): Likewise.
+       (*bsd*): Likewise.
+       (sysv*): Likewise.
+       (isc*): Likewise.
+       (esix*): Likewise.
+       (sco*): Likewise.
+       (minix*): Likewise.
+       (irix4*): Likewise.
+       (irix6*): Likewise.
+       (solaris[2-9]*): Likewise.
+       (none): Likewise.
+       * configure: Regenerated.
+
 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
 
        [BZ #11521]
index 7fd47c17c0b593711a2f45bc92d7213b98660253..d4958f3ed76cc878dee824faf3ed6f849c5af7df 100755 (executable)
--- a/configure
+++ b/configure
@@ -3982,7 +3982,7 @@ fi
 ###
 if test -z "$enable_hacker_mode" && test x"$libc_config_ok" != xyes; then
   case "$machine-$host_os" in
-  *-linux* | *-gnu* | arm*-none*)
+  *-linux* | *-gnu*)
     ;;
   *)
     echo "*** The GNU C library is currently not available for this platform."
@@ -4177,18 +4177,8 @@ os="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
 test "x$base_os" != x || case "$os" in
 gnu*)
   base_os=mach/hurd ;;
-netbsd* | 386bsd* | freebsd* | bsdi*)
-  base_os=unix/bsd/bsd4.4 ;;
-osf* | sunos* | ultrix* | newsos* | dynix* | *bsd*)
-  base_os=unix/bsd ;;
-sysv* | isc* | esix* | sco* | minix* | irix4* | linux*)
+linux*)
   base_os=unix/sysv ;;
-irix6*)
-  base_os=unix/sysv/irix6/$os ;;
-solaris[2-9]*)
-  base_os=unix/sysv/sysv4 ;;
-none)
-  base_os=standalone ;;
 esac
 
 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.
index 42d521f7081546fb91762333268711baa3a19ed5..0f5193e71709f91045fe784e93ba420151b974d4 100644 (file)
@@ -463,7 +463,7 @@ AC_SUBST(add_on_subdirs)
 ###
 if test -z "$enable_hacker_mode" && test x"$libc_config_ok" != xyes; then
   case "$machine-$host_os" in
-  *-linux* | *-gnu* | arm*-none*)
+  *-linux* | *-gnu*)
     ;;
   *)
     echo "*** The GNU C library is currently not available for this platform."
@@ -615,18 +615,8 @@ os="`echo $os | sed 's/\([0-9A-Z]\)[v_]\([0-9A-Z]\)/\1.\2/g'`"
 test "x$base_os" != x || case "$os" in
 gnu*)
   base_os=mach/hurd ;;
-netbsd* | 386bsd* | freebsd* | bsdi*)
-  base_os=unix/bsd/bsd4.4 ;;
-osf* | sunos* | ultrix* | newsos* | dynix* | *bsd*)
-  base_os=unix/bsd ;;
-sysv* | isc* | esix* | sco* | minix* | irix4* | linux*)
+linux*)
   base_os=unix/sysv ;;
-irix6*)
-  base_os=unix/sysv/irix6/$os ;;
-solaris[2-9]*)
-  base_os=unix/sysv/sysv4 ;;
-none)
-  base_os=standalone ;;
 esac
 
 # For sunos4.1.1, try sunos4.1.1, then sunos4.1, then sunos4, then sunos.