Define HAVE_Z_RELRO if the linker supports -z relro.
authorUlrich Drepper <drepper@redhat.com>
Thu, 15 Jan 2004 06:26:14 +0000 (06:26 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 15 Jan 2004 06:26:14 +0000 (06:26 +0000)
configure.in

index 95fef71..424123d 100644 (file)
@@ -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