diff options
Diffstat (limited to 'm4/ld-O1.m4')
-rw-r--r-- | m4/ld-O1.m4 | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/m4/ld-O1.m4 b/m4/ld-O1.m4 deleted file mode 100644 index 64593280..00000000 --- a/m4/ld-O1.m4 +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/m4 -dnl Check whether ld supports -O1 - -AC_DEFUN([PAM_LD_O1], [dnl - AC_CACHE_CHECK([whether ld supports -O1], - [pam_cv_ld_O1], - [saved_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -Wl,-O1" - AC_LINK_IFELSE([AC_LANG_PROGRAM(,)], - [pam_cv_ld_O1=yes], - [pam_cv_ld_O1=no]) - LDFLAGS="$saved_LDFLAGS"]) - AS_IF([test $pam_cv_ld_O1 = yes], - [LDFLAGS="$LDFLAGS -Wl,-O1"]) -]) |