Don't handle unsupported OSes in configure (base_os settings).

This commit is contained in:
Joseph Myers 2012-04-26 18:42:42 +00:00
parent 0ac229c819
commit 2ce4f01533
3 changed files with 29 additions and 24 deletions

View File

@ -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]

14
configure vendored
View File

@ -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.

View 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.