about summary refs log tree commit diff
diff options
context:
space:
mode:
-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