mirror of
git://git.sv.gnu.org/autoconf
synced 2024-11-27 01:49:56 +08:00
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Don't override FLIBS if
specified by the user. Fix a bug: use the cached value to set FLIBS.
This commit is contained in:
parent
2a4ccaeb3f
commit
a003cd1963
@ -1,3 +1,9 @@
|
||||
2000-06-08 Steven G. Johnson <stevenj@alum.mit.edu>
|
||||
|
||||
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Don't override FLIBS if
|
||||
specified by the user.
|
||||
Fix a bug: use the cached value to set FLIBS.
|
||||
|
||||
2000-06-07 Dave Love <fx@gnu.org>
|
||||
|
||||
* aclang.m4 (AC_PROG_F77): Check for f95 and fc too.
|
||||
|
@ -1324,7 +1324,10 @@ AC_DEFUN([AC_F77_LIBRARY_LDFLAGS],
|
||||
AC_REQUIRE([AC_CYGWIN])dnl
|
||||
AC_CACHE_CHECK([for Fortran 77 libraries],
|
||||
ac_cv_flibs,
|
||||
[AC_LANG_PUSH(Fortran 77)
|
||||
[if test "x$FLIBS" != "x"; then
|
||||
ac_cv_flibs="$FLIBS" # Let the user override the test.
|
||||
else
|
||||
AC_LANG_PUSH(Fortran 77)
|
||||
|
||||
# This is the simplest of all Fortran 77 programs.
|
||||
cat >conftest.$ac_ext <<EOF
|
||||
@ -1458,7 +1461,9 @@ ac_ld_run_path=`echo $ac_link_output |
|
||||
sed -n -e 's%^.*LD_RUN_PATH *= *\(/[[^ ]]*\).*$%\1%p'`
|
||||
test "x$ac_ld_run_path" != x && FLIBS="$ac_ld_run_path $FLIBS"
|
||||
ac_cv_flibs=$FLIBS
|
||||
fi # test "x$FLIBS" = "x"
|
||||
])
|
||||
FLIBS="$ac_cv_flibs"
|
||||
AC_SUBST(FLIBS)
|
||||
])# AC_F77_LIBRARY_LDFLAGS
|
||||
|
||||
|
@ -1324,7 +1324,10 @@ AC_DEFUN([AC_F77_LIBRARY_LDFLAGS],
|
||||
AC_REQUIRE([AC_CYGWIN])dnl
|
||||
AC_CACHE_CHECK([for Fortran 77 libraries],
|
||||
ac_cv_flibs,
|
||||
[AC_LANG_PUSH(Fortran 77)
|
||||
[if test "x$FLIBS" != "x"; then
|
||||
ac_cv_flibs="$FLIBS" # Let the user override the test.
|
||||
else
|
||||
AC_LANG_PUSH(Fortran 77)
|
||||
|
||||
# This is the simplest of all Fortran 77 programs.
|
||||
cat >conftest.$ac_ext <<EOF
|
||||
@ -1458,7 +1461,9 @@ ac_ld_run_path=`echo $ac_link_output |
|
||||
sed -n -e 's%^.*LD_RUN_PATH *= *\(/[[^ ]]*\).*$%\1%p'`
|
||||
test "x$ac_ld_run_path" != x && FLIBS="$ac_ld_run_path $FLIBS"
|
||||
ac_cv_flibs=$FLIBS
|
||||
fi # test "x$FLIBS" = "x"
|
||||
])
|
||||
FLIBS="$ac_cv_flibs"
|
||||
AC_SUBST(FLIBS)
|
||||
])# AC_F77_LIBRARY_LDFLAGS
|
||||
|
||||
|
@ -1324,7 +1324,10 @@ AC_DEFUN([AC_F77_LIBRARY_LDFLAGS],
|
||||
AC_REQUIRE([AC_CYGWIN])dnl
|
||||
AC_CACHE_CHECK([for Fortran 77 libraries],
|
||||
ac_cv_flibs,
|
||||
[AC_LANG_PUSH(Fortran 77)
|
||||
[if test "x$FLIBS" != "x"; then
|
||||
ac_cv_flibs="$FLIBS" # Let the user override the test.
|
||||
else
|
||||
AC_LANG_PUSH(Fortran 77)
|
||||
|
||||
# This is the simplest of all Fortran 77 programs.
|
||||
cat >conftest.$ac_ext <<EOF
|
||||
@ -1458,7 +1461,9 @@ ac_ld_run_path=`echo $ac_link_output |
|
||||
sed -n -e 's%^.*LD_RUN_PATH *= *\(/[[^ ]]*\).*$%\1%p'`
|
||||
test "x$ac_ld_run_path" != x && FLIBS="$ac_ld_run_path $FLIBS"
|
||||
ac_cv_flibs=$FLIBS
|
||||
fi # test "x$FLIBS" = "x"
|
||||
])
|
||||
FLIBS="$ac_cv_flibs"
|
||||
AC_SUBST(FLIBS)
|
||||
])# AC_F77_LIBRARY_LDFLAGS
|
||||
|
||||
|
@ -1324,7 +1324,10 @@ AC_DEFUN([AC_F77_LIBRARY_LDFLAGS],
|
||||
AC_REQUIRE([AC_CYGWIN])dnl
|
||||
AC_CACHE_CHECK([for Fortran 77 libraries],
|
||||
ac_cv_flibs,
|
||||
[AC_LANG_PUSH(Fortran 77)
|
||||
[if test "x$FLIBS" != "x"; then
|
||||
ac_cv_flibs="$FLIBS" # Let the user override the test.
|
||||
else
|
||||
AC_LANG_PUSH(Fortran 77)
|
||||
|
||||
# This is the simplest of all Fortran 77 programs.
|
||||
cat >conftest.$ac_ext <<EOF
|
||||
@ -1458,7 +1461,9 @@ ac_ld_run_path=`echo $ac_link_output |
|
||||
sed -n -e 's%^.*LD_RUN_PATH *= *\(/[[^ ]]*\).*$%\1%p'`
|
||||
test "x$ac_ld_run_path" != x && FLIBS="$ac_ld_run_path $FLIBS"
|
||||
ac_cv_flibs=$FLIBS
|
||||
fi # test "x$FLIBS" = "x"
|
||||
])
|
||||
FLIBS="$ac_cv_flibs"
|
||||
AC_SUBST(FLIBS)
|
||||
])# AC_F77_LIBRARY_LDFLAGS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user