aboutsummaryrefslogtreecommitdiff
path: root/m4/ld-z-now.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/ld-z-now.m4')
-rw-r--r--m4/ld-z-now.m416
1 files changed, 0 insertions, 16 deletions
diff --git a/m4/ld-z-now.m4 b/m4/ld-z-now.m4
deleted file mode 100644
index 1bc82594..00000000
--- a/m4/ld-z-now.m4
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/usr/bin/m4
-dnl Check whether ld supports "-z now"
-
-AC_DEFUN([PAM_LD_Z_NOW], [dnl
- AC_CACHE_CHECK([whether ld supports "-z now"],
- [pam_cv_ld_z_now],
- [saved_LDFLAGS="$LDFLAGS"
- LDFLAGS="$LDFLAGS -Wl,-z,now"
- AC_LINK_IFELSE([AC_LANG_PROGRAM(,)],
- [pam_cv_ld_z_now=yes],
- [pam_cv_ld_z_now=no])
- LDFLAGS="$saved_LDFLAGS"])
- AS_IF([test $pam_cv_ld_z_now = yes],
- [ZNOW_LDFLAGS="-Wl,-z,now"],
- [ZNOW_LDFLAGS=])
-])