Define HAVE_Z_RELRO if the linker supports -z relro.

This commit is contained in:
Ulrich Drepper 2004-01-15 06:26:14 +00:00
parent d38ba88ab0
commit cb6ee14a12

View File

@ -1292,6 +1292,9 @@ EOF
libc_cv_z_relro=no libc_cv_z_relro=no
fi]) fi])
AC_SUBST(libc_cv_z_relro) AC_SUBST(libc_cv_z_relro)
if test $libc_cv_z_relro = yes; then
AC_DEFINE(HAVE_Z_RELRO)
fi
AC_CACHE_CHECK(for -Bgroup option, AC_CACHE_CHECK(for -Bgroup option,
libc_cv_Bgroup, [dnl libc_cv_Bgroup, [dnl