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>
+
+ 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
[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
[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
[$2],
[AC_LIBOBJ_DECL([$1])])dnl
AC_SUBST([LIBOBJS])dnl
-LIBOBJS="$LIBOBJS $1.${ac_objext}"])
+LIBOBJS="$LIBOBJS $1.$ac_objext"])
# AC_LIBOBJ(FILENAME-NOEXT)
[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
[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
[$2],
[AC_LIBOBJ_DECL([$1])])dnl
AC_SUBST([LIBOBJS])dnl
-LIBOBJS="$LIBOBJS $1.${ac_objext}"])
+LIBOBJS="$LIBOBJS $1.$ac_objext"])
# AC_LIBOBJ(FILENAME-NOEXT)