mirror of
git://git.sv.gnu.org/autoconf
synced 2025-03-25 14:50:24 +08:00
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.
This commit is contained in:
parent
89face49d8
commit
97f86107ff
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user