summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-01-15 06:26:14 +0000
committerUlrich Drepper <drepper@redhat.com>2004-01-15 06:26:14 +0000
commitcb6ee14a12384563853788c938a86c5354fdea2d (patch)
treebcb0d6e02b3c705991c02cf33de1d17862faafd2 /configure.in
parentd38ba88ab0627cf4f537faf3099edd3838a8b45a (diff)
downloadglibc-cb6ee14a12384563853788c938a86c5354fdea2d.tar.gz
glibc-cb6ee14a12384563853788c938a86c5354fdea2d.tar.xz
glibc-cb6ee14a12384563853788c938a86c5354fdea2d.zip
Define HAVE_Z_RELRO if the linker supports -z relro.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 95fef71ca6..424123df68 100644
--- a/configure.in
+++ b/configure.in
@@ -1292,6 +1292,9 @@ EOF
     libc_cv_z_relro=no
   fi])
   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,
 		 libc_cv_Bgroup, [dnl