configure: make the unsupported error message less hostile

This commit is contained in:
Mike Frysinger 2016-01-15 19:57:36 -05:00
parent 214a44f394
commit 4e58b64859
3 changed files with 17 additions and 20 deletions

View File

@ -1,3 +1,8 @@
2016-01-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Rewrite error comment and use AC_MSG_ERROR.
* configure: Regenerated.
2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com> 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
* sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos. * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.

16
configure vendored
View File

@ -3850,9 +3850,6 @@ fi
###
### I put this here to prevent those annoying emails from people who cannot
### read and try to compile glibc on unsupported platforms. --drepper
### ###
### By using the undocumented --enable-hacker-mode option for configure ### By using the undocumented --enable-hacker-mode option for configure
### one can skip this test to make the configuration not fail for unsupported ### one can skip this test to make the configuration not fail for unsupported
@ -3863,13 +3860,12 @@ if test -z "$enable_hacker_mode" && test x"$libc_config_ok" != xyes; then
*-linux* | *-gnu*) *-linux* | *-gnu*)
;; ;;
*) *)
echo "*** The GNU C library is currently not available for this platform." as_fn_error $? "
echo "*** So far nobody cared to port it and if there is no volunteer it" *** The GNU C library is currently unavailable for this platform.
echo "*** might never happen. So, if you have interest to see glibc on" *** If you are interested in seeing glibc on this platform visit
echo "*** this platform visit" *** the \"How to submit a new port\" in the wiki:
echo "*** http://www.gnu.org/software/libc/porting.html" *** https://sourceware.org/glibc/wiki/HomePage#Development
echo "*** and join the group of porters" *** and join the community!" "$LINENO" 5
exit 1
;; ;;
esac esac
fi fi

View File

@ -578,9 +578,6 @@ AC_SUBST(add_ons)
AC_SUBST(add_on_subdirs) AC_SUBST(add_on_subdirs)
###
### I put this here to prevent those annoying emails from people who cannot
### read and try to compile glibc on unsupported platforms. --drepper
### ###
### By using the undocumented --enable-hacker-mode option for configure ### By using the undocumented --enable-hacker-mode option for configure
### one can skip this test to make the configuration not fail for unsupported ### one can skip this test to make the configuration not fail for unsupported
@ -591,13 +588,12 @@ if test -z "$enable_hacker_mode" && test x"$libc_config_ok" != xyes; then
*-linux* | *-gnu*) *-linux* | *-gnu*)
;; ;;
*) *)
echo "*** The GNU C library is currently not available for this platform." AC_MSG_ERROR([
echo "*** So far nobody cared to port it and if there is no volunteer it" *** The GNU C library is currently unavailable for this platform.
echo "*** might never happen. So, if you have interest to see glibc on" *** If you are interested in seeing glibc on this platform visit
echo "*** this platform visit" *** the "How to submit a new port" in the wiki:
echo "*** http://www.gnu.org/software/libc/porting.html" *** https://sourceware.org/glibc/wiki/#Development
echo "*** and join the group of porters" *** and join the community!])
exit 1
;; ;;
esac esac
fi fi