]> git.ipfire.org Git - thirdparty/autoconf.git/commit
* acgeneral.m4 (_AC_TRY_CPP): New macro. It runs the preprocessor
authorAkim Demaille <akim@epita.fr>
Tue, 12 Sep 2000 13:02:29 +0000 (13:02 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 12 Sep 2000 13:02:29 +0000 (13:02 +0000)
commit58e8d5c397ed5de017f3d84ae89d6448ca1468d2
tree6cacb9d718652f8012194f21d2d314145911f717
parenta195030508a1fb3f2bfef9855a810c4fd75d5bc7
* acgeneral.m4 (_AC_TRY_CPP): New macro. It runs the preprocessor
and checks whether it produces errors or warnings. Don't put grep
output into a variable, use another grep instead.
(AC_TRY_CPP): Use _AC_TRY_CPP. Copy conftest.err to config.log
if the case of an error.
* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)):
define AC_LANG_ABBREV to the short language name.
(_AC_PROG_CPP_WORKS): New macro. It checks whether the current
preprocessor can be used to check for existance of headers.
Most code taken from ...
(AC_PROG_CPP): ... here. Use _AC_PROG_CPP_WORKS. Use shell
"for" to find working CPP. Use AC_LANG_PUSH(C) and AC_LANG_POP -
it's a macro for C only.
(AC_PROG_CXXCPP): Rewritten using _AC_PROG_CPP_WORKS.
ChangeLog
acgeneral.m4
aclang.m4
lib/autoconf/c.m4
lib/autoconf/fortran.m4
lib/autoconf/general.m4
lib/autoconf/lang.m4