]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fixed bug where
authorAkim Demaille <akim@epita.fr>
Fri, 9 Jun 2000 10:57:16 +0000 (10:57 +0000)
committerAkim Demaille <akim@epita.fr>
Fri, 9 Jun 2000 10:57:16 +0000 (10:57 +0000)
compiler output to stdout was not caught and interpreted.

ChangeLog
aclang.m4
lib/autoconf/c.m4
lib/autoconf/fortran.m4
lib/autoconf/lang.m4

index 0c13bbe2497bb61afd4216cb8b6c7c6800e8d782..f45ba69f9c999f17b00e77efbd918c127b879273 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-09  Steven G. Johnson  <stevenj@superjdj.mit.edu>
+
+       * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Fixed bug where
+       compiler output to stdout was not caught and interpreted.
+
 2000-06-09  Akim Demaille  <akim@epita.fr>
 
        `autoconf --trace' dies on filenames with `:'.
index 584ee8e02cecf735e357e1f88661ccd4ad1fb62b..c4830d5a63eaa2a269245efd8fab68541b8c9aff 100644 (file)
--- a/aclang.m4
+++ b/aclang.m4
@@ -1334,25 +1334,15 @@ cat >conftest.$ac_ext <<EOF
       end
 EOF
 
-# Save the "compiler output file descriptor" to FD 8.
-exec 8>&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
index 584ee8e02cecf735e357e1f88661ccd4ad1fb62b..c4830d5a63eaa2a269245efd8fab68541b8c9aff 100644 (file)
@@ -1334,25 +1334,15 @@ cat >conftest.$ac_ext <<EOF
       end
 EOF
 
-# Save the "compiler output file descriptor" to FD 8.
-exec 8>&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
index 584ee8e02cecf735e357e1f88661ccd4ad1fb62b..c4830d5a63eaa2a269245efd8fab68541b8c9aff 100644 (file)
@@ -1334,25 +1334,15 @@ cat >conftest.$ac_ext <<EOF
       end
 EOF
 
-# Save the "compiler output file descriptor" to FD 8.
-exec 8>&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
index 584ee8e02cecf735e357e1f88661ccd4ad1fb62b..c4830d5a63eaa2a269245efd8fab68541b8c9aff 100644 (file)
@@ -1334,25 +1334,15 @@ cat >conftest.$ac_ext <<EOF
       end
 EOF
 
-# Save the "compiler output file descriptor" to FD 8.
-exec 8>&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