diff --git a/acinclude.m4 b/acinclude.m4 index b9473db17..601ae9dea 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -49,7 +49,7 @@ AC_DEFUN([AC_TRY_LDFLAGS], [AC_LINK_IFELSE([AC_LANG_PROGRAM()], [AS_VAR_SET([ac_cv_flag_$2], [yes])], [AS_VAR_SET([ac_cv_flag_$2], [no])])]) - LDLAGS=$ac_save_LDFLAGS + LDFLAGS=$ac_save_LDFLAGS $2=AS_VAR_GET([ac_cv_flag_$2]) if test "$2" = yes; then ifelse([$3], [], [:], [$3]) diff --git a/configure b/configure index 2ecc7baed..ff7185d17 100755 --- a/configure +++ b/configure @@ -6812,7 +6812,7 @@ rm -f core conftest.err conftest.$ac_objext \ fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_flag_HAVE_FULL_RELRO" >&5 $as_echo "$ac_cv_flag_HAVE_FULL_RELRO" >&6; } - LDLAGS=$ac_save_LDFLAGS + LDFLAGS=$ac_save_LDFLAGS HAVE_FULL_RELRO=$ac_cv_flag_HAVE_FULL_RELRO if test "HAVE_FULL_RELRO" = yes; then :