From 38b068b2a44b7adbd92fab0e8d64b479ce764c74 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 20 May 2002 11:32:40 -0500 Subject: [PATCH] [svn-r5441] Purpose: Update Description: Changed the AC_FD_CC macro to AS_MESSAGE_LOG_FD to keep up with the current autoconf standard. Platforms tested: Linux --- fortran/acsite.m4 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/fortran/acsite.m4 b/fortran/acsite.m4 index f86f9ff87c..940a584f75 100644 --- a/fortran/acsite.m4 +++ b/fortran/acsite.m4 @@ -61,8 +61,8 @@ if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then [$3]=yes fi else - echo "configure: failed program was:" >&AC_FD_CC - cat conftest.$ac_ext >&AC_FD_CC + echo "configure: failed program was:" >&AS_MESSAGE_LOG_FD + cat conftest.$ac_ext >&AS_MESSAGE_LOG_FD [$2]=no fi rm -fr conftest* @@ -75,8 +75,8 @@ dnl Generic macro to setup the Fortran 9X specific env variables. dnl m4_define([AC_LANG(FORTRAN9X)], [ac_ext=f90 -ac_compile='${F9X-f90} -c $FFLAGS conftest.$ac_ext 1>&AC_FD_CC' -ac_link='${F9X-f90} -o conftest${ac_exeext} $FFLAGS conftest.$ac_ext $LDFLAGS $LIBS 1>&AC_FD_CC' +ac_compile='${F9X-f90} -c $FFLAGS conftest.$ac_ext 1>&AS_MESSAGE_LOG_FD' +ac_link='${F9X-f90} -o conftest${ac_exeext} $FFLAGS conftest.$ac_ext $LDFLAGS $LIBS 1>&AS_MESSAGE_LOG_FD' cross_compiling=$ac_cv_prog_f9x_cross ]) @@ -160,7 +160,7 @@ for flags in "-fast" "-O3" "-O" "";do program main end EOF - ac_compile='${F9X-f90} -c $flag $FFLAGS conftest.$ac_ext 1>&AC_FD_CC' + ac_compile='${F9X-f90} -c $flag $FFLAGS conftest.$ac_ext 1>&AS_MESSAGE_LOG_FD' if AC_TRY_EVAL(ac_compile); then if grep 'passed to ld' conftest.out > /dev/null 2>&1; then :; else FFLAGS="$FFLAGS $flags" @@ -242,7 +242,7 @@ for flag in "-I" "-M" "-p"; do end program conftest EOF - ac_compile='${F9X-f90} $FFLAGS ${flag}conftestdir -c conftest.$ac_ext 1>&AC_FD_CC' + ac_compile='${F9X-f90} $FFLAGS ${flag}conftestdir -c conftest.$ac_ext 1>&AS_MESSAGE_LOG_FD' if AC_TRY_EVAL(ac_compile); then F9XMODFLAG=$flag