]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
configure: make the unsupported error message less hostile
authorMike Frysinger <vapier@gentoo.org>
Sat, 16 Jan 2016 00:57:36 +0000 (19:57 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 17 Jan 2016 20:24:54 +0000 (15:24 -0500)
ChangeLog
configure
configure.ac

index 16c008a773e15184902c4fb34ae7165e04f2db34..eaadfbaae8e773b0d12c78d3da5a93935e1f057b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
index aa05d4992bb12fe9d7531a35b8d29e83148ab88d..06ea87e9ab188dc8871601df2bb6117e52c719ca 100755 (executable)
--- a/configure
+++ b/configure
@@ -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
 ### 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*)
     ;;
   *)
-    echo "*** The GNU C library is currently not available for this platform."
-    echo "*** So far nobody cared to port it and if there is no volunteer it"
-    echo "*** might never happen.  So, if you have interest to see glibc on"
-    echo "*** this platform visit"
-    echo "***  http://www.gnu.org/software/libc/porting.html"
-    echo "*** and join the group of porters"
-    exit 1
+    as_fn_error $? "
+*** The GNU C library is currently unavailable for this platform.
+*** If you are interested in seeing glibc on this platform visit
+*** the \"How to submit a new port\" in the wiki:
+***   https://sourceware.org/glibc/wiki/HomePage#Development
+*** and join the community!" "$LINENO" 5
     ;;
   esac
 fi
index ee7a3f16a09f53f3d25e2482f608641318863b12..3c766b7409f7e3f389b4e1a7857125dd64abd2ab 100644 (file)
@@ -578,9 +578,6 @@ AC_SUBST(add_ons)
 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
 ### 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*)
     ;;
   *)
-    echo "*** The GNU C library is currently not available for this platform."
-    echo "*** So far nobody cared to port it and if there is no volunteer it"
-    echo "*** might never happen.  So, if you have interest to see glibc on"
-    echo "*** this platform visit"
-    echo "***  http://www.gnu.org/software/libc/porting.html"
-    echo "*** and join the group of porters"
-    exit 1
+    AC_MSG_ERROR([
+*** The GNU C library is currently unavailable for this platform.
+*** If you are interested in seeing glibc on this platform visit
+*** the "How to submit a new port" in the wiki:
+***   https://sourceware.org/glibc/wiki/#Development
+*** and join the community!])
     ;;
   esac
 fi