diff options
author | Akim Demaille <akim@epita.fr> | 2001-05-19 15:35:29 +0000 |
---|---|---|
committer | Akim Demaille <akim@epita.fr> | 2001-05-19 15:35:29 +0000 |
commit | f3aa0ae8aef3c2c5e2b12fe8dd399b72541c0f7b (patch) | |
tree | 426d757c04d52a13d304b067aeda40cf43da3222 | |
parent | fbb6a65e7ad47fe0cad95dfdeb77dc199887a1dc (diff) | |
download | autoconf-f3aa0ae8aef3c2c5e2b12fe8dd399b72541c0f7b.tar.gz |
* tests/compile.at (AC_PROG_CPP via CC): Invoke AC_PROG_CC instead
if using `cc'.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tests/compile.at | 11 |
2 files changed, 8 insertions, 8 deletions
@@ -1,5 +1,10 @@ 2001-05-19 Akim Demaille <akim@epita.fr> + * tests/compile.at (AC_PROG_CPP via CC): Invoke AC_PROG_CC instead + if using `cc'. + +2001-05-19 Akim Demaille <akim@epita.fr> + * tests/compile.at (GNU Fortran 77): Don't AS_EXIT when using AT_CHECK_MACRO since it skips tests embedded in configure.ac. Remove files which might have been created when invoking the diff --git a/tests/compile.at b/tests/compile.at index 7b7dd4de..7ea207f0 100644 --- a/tests/compile.at +++ b/tests/compile.at @@ -211,13 +211,7 @@ AT_CHECK([/lib/cpp </dev/null || exit 77], [], [ignore], [ignore]) AT_DATA([mycc], [[#! /bin/sh echo "Annoying copyright message" >&2 -if test "$1" != "-E"; then - exec cc $* -elif test "$2" = "-traditional-cpp"; then - exec cc $* -else - exec /lib/cpp ${1+"$@"} -fi +exec "$@" ]]) chmod +x mycc @@ -227,7 +221,8 @@ chmod +x mycc # normal CPP selection check. If we explicitly set CPP, it goes down # a different codepath. _AT_CHECK_AC_MACRO( -[[CC=./mycc +[[AC_PROG_CC +CC="./mycc $CC" AC_PROG_CPP # The test $CC compiler should have been selected. test "$CPP" != "$CC -E" && |