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