configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/Hurd systems...
authorThomas Schwinge <tschwinge@gnu.org>
Fri, 14 Nov 2008 09:24:06 +0000 (10:24 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Fri, 14 Nov 2008 09:24:06 +0000 (10:24 +0100)
2008-11-14  Thomas Schwinge  <tschwinge@gnu.org>

* configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/Hurd
systems, which are assumend to always provide SSP-support in glibc.
* configure: Regenerate.

From-SVN: r141851

gcc/ChangeLog
gcc/configure
gcc/configure.ac

index 63de7b1473d54e0e9dede4d3b18a185c412dfcee..4d33ff35cac725d82381e291591d51180b79f459 100644 (file)
@@ -1,5 +1,9 @@
 2008-11-14  Thomas Schwinge  <tschwinge@gnu.org>
 
+       * configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/Hurd
+       systems, which are assumend to always provide SSP-support in glibc.
+       * configure: Regenerate.
+
        * configure.ac (gcc_cv_libc_provides_ssp): Also consider GNU/kFreeBSD,
        GNU/kNetBSD systems in the `*-*-linux*' case.
        * configure: Regenerate.
index d38472974e165a5f00831f89f8a6732e1acc9448..2a72a5256cc09af386a383e1e6cc2b0fcd1e477e 100755 (executable)
@@ -24110,6 +24110,12 @@ else
        fi
       fi
        ;;
+       *-*-gnu*)
+        # Avoid complicated tests (see
+        # <http://gcc.gnu.org/ml/gcc/2008-10/msg00130.html>) and for now
+        # simply assert that glibc does provide this, which is true for all
+        # realistically usable GNU/Hurd configurations.
+        gcc_cv_libc_provides_ssp=yes;;
        *-*-darwin*)
         echo "$as_me:$LINENO: checking for __stack_chk_fail" >&5
 echo $ECHO_N "checking for __stack_chk_fail... $ECHO_C" >&6
index d420d8ca699f86428c5b4126cdad10021b5ea8d6..b9754a29c0cdd192e1dd4ef5dd734faa86002aba 100644 (file)
@@ -3510,6 +3510,12 @@ AC_CACHE_CHECK(__stack_chk_fail in target C library,
        fi
       fi
        ;;
+       *-*-gnu*)
+        # Avoid complicated tests (see
+        # <http://gcc.gnu.org/ml/gcc/2008-10/msg00130.html>) and for now
+        # simply assert that glibc does provide this, which is true for all
+        # realistically usable GNU/Hurd configurations.
+        gcc_cv_libc_provides_ssp=yes;;
        *-*-darwin*)
         AC_CHECK_FUNC(__stack_chk_fail,[gcc_cv_libc_provides_ssp=yes],
            [echo "no __stack_chk_fail on this target"])