diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-07-21 08:25:57 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-07-21 08:25:57 +0000 |
commit | 736e2ab430e006ba09a2fe34d7887d3812ac808f (patch) | |
tree | f2d5948776e91112fcfd9199a757cd58e1be867a /configure.in | |
parent | 366c71f353afc163b8d31c9db6e90919b5c2e1c0 (diff) | |
download | glibc-736e2ab430e006ba09a2fe34d7887d3812ac808f.tar.gz glibc-736e2ab430e006ba09a2fe34d7887d3812ac808f.tar.xz glibc-736e2ab430e006ba09a2fe34d7887d3812ac808f.zip |
Updated to fedora-glibc-20050721T0814
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 4396891db5..21756e00a8 100644 --- a/configure.in +++ b/configure.in @@ -1508,6 +1508,21 @@ if test $libc_cv_fno_unit_at_a_time = yes; then fi AC_SUBST(fno_unit_at_a_time) +AC_CACHE_CHECK(for -fstack-protector, libc_cv_ssp, [dnl +cat > conftest.c <<EOF +int foo; +main () { return 0;} +EOF +if AC_TRY_COMMAND([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -fstack-protector + -o conftest conftest.c 1>&AS_MESSAGE_LOG_FD]) +then + libc_cv_ssp=yes +else + libc_cv_ssp=no +fi +rm -f conftest*]) +AC_SUBST(libc_cv_ssp) + if test $elf != yes; then AC_CACHE_CHECK(for .init and .fini sections, libc_cv_have_initfini, [AC_TRY_COMPILE(, [asm (".section .init"); |