1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

configure: also LDFLAGS, not LDLAGS for proper restore

This commit is contained in:
Peter Rajnoha 2013-12-04 14:58:40 +01:00
parent 1592bb216e
commit 28939dba09
2 changed files with 2 additions and 2 deletions

View File

@ -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])

2
configure vendored
View File

@ -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
: