diff options
Diffstat (limited to 'fortran/acsite.m4')
-rw-r--r-- | fortran/acsite.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fortran/acsite.m4 b/fortran/acsite.m4 index 74da0dc..46f69f9 100644 --- a/fortran/acsite.m4 +++ b/fortran/acsite.m4 @@ -358,15 +358,15 @@ cat >conftest.$ac_ext <<EOF EOF if test -n "$1"; then - saved_LDFLAGS="$LDFLAGS" - LDFLAGS="$LDFLAGS -l$1" + saved_LIBS="$LIBS" + LIBS="$LIBS -l$1" fi if AC_TRY_EVAL(ac_compile) && AC_TRY_EVAL(ac_link); then : [$3] else - LDFLAGS="$saved_LDFLAGS" + LIBS="$saved_LIBS" [$4] fi cd .. |