From: Akim Demaille Date: Fri, 9 Jun 2000 10:57:16 +0000 (+0000) Subject: * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fixed bug where X-Git-Tag: autoconf-2.50~818 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c39fb7940306e4d0f8ddefb0e910aa313c01e477;p=thirdparty%2Fautoconf.git * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fixed bug where compiler output to stdout was not caught and interpreted. --- diff --git a/ChangeLog b/ChangeLog index 0c13bbe24..f45ba69f9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-06-09 Steven G. Johnson + + * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fixed bug where + compiler output to stdout was not caught and interpreted. + 2000-06-09 Akim Demaille `autoconf --trace' dies on filenames with `:'. diff --git a/aclang.m4 b/aclang.m4 index 584ee8e02..c4830d5a6 100644 --- a/aclang.m4 +++ b/aclang.m4 @@ -1334,25 +1334,15 @@ cat >conftest.$ac_ext <&AC_FD_LOG - -# Temporarily redirect compiler output to stdout, since this is what -# we want to capture in AC_LINK_OUTPUT. -exec AC_FD_LOG>&1 - # Compile and link our simple test program by passing the "-v" flag # to the Fortran 77 compiler in order to get "verbose" output that # we can then parse for the Fortran 77 linker flags. I don't know # what to do if your compiler doesn't have -v. ac_save_FFLAGS=$FFLAGS FFLAGS="$FFLAGS -v" -ac_link_output=`eval $ac_link 2>&1 | grep -v 'Driving:'` +ac_link_output=`eval $ac_link AC_FD_LOG>&1 2>&1 | grep -v 'Driving:'` FFLAGS=$ac_save_FFLAGS -# Restore the "compiler output file descriptor". -exec AC_FD_LOG>&8 - rm -f conftest.* AC_LANG_POP()dnl diff --git a/lib/autoconf/c.m4 b/lib/autoconf/c.m4 index 584ee8e02..c4830d5a6 100644 --- a/lib/autoconf/c.m4 +++ b/lib/autoconf/c.m4 @@ -1334,25 +1334,15 @@ cat >conftest.$ac_ext <&AC_FD_LOG - -# Temporarily redirect compiler output to stdout, since this is what -# we want to capture in AC_LINK_OUTPUT. -exec AC_FD_LOG>&1 - # Compile and link our simple test program by passing the "-v" flag # to the Fortran 77 compiler in order to get "verbose" output that # we can then parse for the Fortran 77 linker flags. I don't know # what to do if your compiler doesn't have -v. ac_save_FFLAGS=$FFLAGS FFLAGS="$FFLAGS -v" -ac_link_output=`eval $ac_link 2>&1 | grep -v 'Driving:'` +ac_link_output=`eval $ac_link AC_FD_LOG>&1 2>&1 | grep -v 'Driving:'` FFLAGS=$ac_save_FFLAGS -# Restore the "compiler output file descriptor". -exec AC_FD_LOG>&8 - rm -f conftest.* AC_LANG_POP()dnl diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4 index 584ee8e02..c4830d5a6 100644 --- a/lib/autoconf/fortran.m4 +++ b/lib/autoconf/fortran.m4 @@ -1334,25 +1334,15 @@ cat >conftest.$ac_ext <&AC_FD_LOG - -# Temporarily redirect compiler output to stdout, since this is what -# we want to capture in AC_LINK_OUTPUT. -exec AC_FD_LOG>&1 - # Compile and link our simple test program by passing the "-v" flag # to the Fortran 77 compiler in order to get "verbose" output that # we can then parse for the Fortran 77 linker flags. I don't know # what to do if your compiler doesn't have -v. ac_save_FFLAGS=$FFLAGS FFLAGS="$FFLAGS -v" -ac_link_output=`eval $ac_link 2>&1 | grep -v 'Driving:'` +ac_link_output=`eval $ac_link AC_FD_LOG>&1 2>&1 | grep -v 'Driving:'` FFLAGS=$ac_save_FFLAGS -# Restore the "compiler output file descriptor". -exec AC_FD_LOG>&8 - rm -f conftest.* AC_LANG_POP()dnl diff --git a/lib/autoconf/lang.m4 b/lib/autoconf/lang.m4 index 584ee8e02..c4830d5a6 100644 --- a/lib/autoconf/lang.m4 +++ b/lib/autoconf/lang.m4 @@ -1334,25 +1334,15 @@ cat >conftest.$ac_ext <&AC_FD_LOG - -# Temporarily redirect compiler output to stdout, since this is what -# we want to capture in AC_LINK_OUTPUT. -exec AC_FD_LOG>&1 - # Compile and link our simple test program by passing the "-v" flag # to the Fortran 77 compiler in order to get "verbose" output that # we can then parse for the Fortran 77 linker flags. I don't know # what to do if your compiler doesn't have -v. ac_save_FFLAGS=$FFLAGS FFLAGS="$FFLAGS -v" -ac_link_output=`eval $ac_link 2>&1 | grep -v 'Driving:'` +ac_link_output=`eval $ac_link AC_FD_LOG>&1 2>&1 | grep -v 'Driving:'` FFLAGS=$ac_save_FFLAGS -# Restore the "compiler output file descriptor". -exec AC_FD_LOG>&8 - rm -f conftest.* AC_LANG_POP()dnl