]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Martin Wilck found a Fortran 77 compiler which always exits with
authorAkim Demaille <akim@epita.fr>
Wed, 19 Jul 2000 09:19:24 +0000 (09:19 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 19 Jul 2000 09:19:24 +0000 (09:19 +0000)
success.

* acgeneral.m4 (AC_COMPILE_IFELSE): Also check that the output
file was created and is nonempty.

ChangeLog
acgeneral.m4
lib/autoconf/general.m4

index 8f1ed728627218fa8bff10d99835054e5cf54f5c..a7425097393d6c45d5d97470cdcf8a5f0c059f3c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2000-07-19  Akim Demaille  <akim@epita.fr>
+
+       Martin Wilck found a Fortran 77 compiler which always exits with
+       success.
+
+       * acgeneral.m4 (AC_COMPILE_IFELSE): Also check that the output
+       file was created and is nonempty.
+
 2000-07-19  Akim Demaille  <akim@epita.fr>
 
        * doc/autoconf.texi (Introduction): More about CVS, Gnats, the web
index dde15acb3d32dd93ebecd5f2031925f9a55c7aa3..93b854ef6ac925794c1020377c682f2abd974c77 100644 (file)
@@ -3232,7 +3232,7 @@ AC_DEFUN([AC_COMPILE_IFELSE],
 [cat >conftest.$ac_ext <<EOF
 $1
 EOF
-if AC_TRY_EVAL(ac_compile); then
+if AC_TRY_EVAL(ac_compile) && test -s conftest.$ac_objext; then
   m4_default([$2], :)
 else
   echo "configure: failed program was:" >&AC_FD_LOG
@@ -3265,7 +3265,7 @@ AC_DEFUN([AC_LINK_IFELSE],
 [cat >conftest.$ac_ext <<EOF
 $1
 EOF
-if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
+if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
   m4_default([$2], :)
 else
   echo "configure: failed program was:" >&AC_FD_LOG
@@ -3518,7 +3518,7 @@ define([_AC_LIBOBJ],
                  [$2],
                  [AC_LIBOBJ_DECL([$1])])dnl
 AC_SUBST([LIBOBJS])dnl
-LIBOBJS="$LIBOBJS $1.${ac_objext}"])
+LIBOBJS="$LIBOBJS $1.$ac_objext"])
 
 
 # AC_LIBOBJ(FILENAME-NOEXT)
index dde15acb3d32dd93ebecd5f2031925f9a55c7aa3..93b854ef6ac925794c1020377c682f2abd974c77 100644 (file)
@@ -3232,7 +3232,7 @@ AC_DEFUN([AC_COMPILE_IFELSE],
 [cat >conftest.$ac_ext <<EOF
 $1
 EOF
-if AC_TRY_EVAL(ac_compile); then
+if AC_TRY_EVAL(ac_compile) && test -s conftest.$ac_objext; then
   m4_default([$2], :)
 else
   echo "configure: failed program was:" >&AC_FD_LOG
@@ -3265,7 +3265,7 @@ AC_DEFUN([AC_LINK_IFELSE],
 [cat >conftest.$ac_ext <<EOF
 $1
 EOF
-if AC_TRY_EVAL(ac_link) && test -s conftest${ac_exeext}; then
+if AC_TRY_EVAL(ac_link) && test -s conftest$ac_exeext; then
   m4_default([$2], :)
 else
   echo "configure: failed program was:" >&AC_FD_LOG
@@ -3518,7 +3518,7 @@ define([_AC_LIBOBJ],
                  [$2],
                  [AC_LIBOBJ_DECL([$1])])dnl
 AC_SUBST([LIBOBJS])dnl
-LIBOBJS="$LIBOBJS $1.${ac_objext}"])
+LIBOBJS="$LIBOBJS $1.$ac_objext"])
 
 
 # AC_LIBOBJ(FILENAME-NOEXT)