summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 09b41bc)
raw | patch | inline | side by side (parent: 09b41bc)
author | mjwybrow <mjwybrow@users.sourceforge.net> | |
Sun, 4 May 2008 15:26:51 +0000 (15:26 +0000) | ||
committer | mjwybrow <mjwybrow@users.sourceforge.net> | |
Sun, 4 May 2008 15:26:51 +0000 (15:26 +0000) |
a AC_LINK_IFELSE since the existing AC_COMPILE_IFELSE didn't use the
LDFLAGS and therefore wasn't actually performing the test.
LDFLAGS and therefore wasn't actually performing the test.
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 6c55b89e7d08a47ce783072f6b7482bb966c34ab..eaa420af72a0e8f897f572cd80153f2ca7a63480 100644 (file)
--- a/configure.ac
+++ b/configure.ac
AC_MSG_CHECKING([linker tolerates -z relro])
ink_svd_LDFLAGS="$LDFLAGS"
LDFLAGS="-Wl,-z,relro $LDFLAGS"
- AC_COMPILE_IFELSE(AC_LANG_PROGRAM([]), [ink_opt_ok=yes], [ink_opt_ok=no])
+ AC_LINK_IFELSE(AC_LANG_PROGRAM([]), [ink_opt_ok=yes], [ink_opt_ok=no])
AC_MSG_RESULT([$ink_opt_ok])
if test "x$ink_opt_ok" != "xyes"; then
LDFLAGS="$ink_svd_LDFLAGS"