mirror of
git://git.sv.gnu.org/autoconf
synced 2025-04-06 15:10:23 +08:00
* tests/compile.at (AC_PROG_CPP without warnings, GNU Fortran 77):
Use AC_TRY_COMMAND when running commands, to enrich the logs.
This commit is contained in:
parent
ccd5ae270c
commit
b6e82fb53c
@ -1,3 +1,8 @@
|
||||
2000-12-19 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* tests/compile.at (AC_PROG_CPP without warnings, GNU Fortran 77):
|
||||
Use AC_TRY_COMMAND when running commands, to enrich the logs.
|
||||
|
||||
2000-12-19 Akim Demaille <akim@epita.fr>, Mo DeJong <mdejong@cygnus.com>
|
||||
|
||||
* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): New.
|
||||
|
@ -86,8 +86,9 @@ chmod +x mycpp
|
||||
|
||||
_AT_CHECK_AC_MACRO(
|
||||
[# Ignore if /lib/cpp doesn't work
|
||||
/lib/cpp </dev/null >/dev/null 2>&1 ||
|
||||
if AC_TRY_COMMAND([/lib/cpp </dev/null >&2]); then :; else
|
||||
AC_MSG_ERROR([preprocessor doesn't work], 77)
|
||||
fi
|
||||
CPP=./mycpp
|
||||
AC_PROG_CPP
|
||||
test "x$ac_c_preproc_warn_flag" != xyes &&
|
||||
@ -124,7 +125,7 @@ AT_CHECK_MACRO([GNU Fortran 77],
|
||||
[[AC_LANG(Fortran 77)
|
||||
AC_LANG_COMPILER
|
||||
|
||||
if $F77 --version 2>/dev/null | grep GNU >/dev/null; then
|
||||
if AC_TRY_COMMAND([$F77 --version | grep GNU >&2]); then
|
||||
# Has GNU in --version.
|
||||
test "$G77" != yes &&
|
||||
AC_MSG_ERROR([failed to recognize GNU Fortran 77 compiler])
|
||||
|
Loading…
x
Reference in New Issue
Block a user