* aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler

characteristics in the logs.
Suggested by Mo DeJong.
This commit is contained in:
Akim Demaille 2001-06-25 06:14:43 +00:00
parent 9a20a8b2a0
commit eb7be92f35
6 changed files with 37 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2001-06-25 Akim Demaille <akim@epita.fr>
* aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler
characteristics in the logs.
Suggested by Mo DeJong.
2001-06-24 Akim Demaille <akim@epita.fr>
* acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH)

4
NEWS
View File

@ -33,8 +33,10 @@
** Generic macros
- AC_CHECK_HEADER and AC_CHECK_HEADERS support a fourth argument to
specify pre-includes.
- AC_ARG_VAR refuses to run configure when precious variable have
- AC_ARG_VAR refuses to run configure when precious variables have
changed.
- When a GNU compiler is found, its characteristics are dumped in the
log.
** Specific Macros
- AC_PATH_XTRA only adds -ldnet to $LIBS if it's needed to link.

View File

@ -550,6 +550,13 @@ m4_define([_AC_LANG_COMPILER_GNU],
[ac_compiler_gnu=yes],
[ac_compiler_gnu=no])
ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu=$ac_compiler_gnu
if test $ac_compiler_gnu = yes; then
echo "$as_me:__oline__:" \
"checking for GNU _AC_LANG compiler characterisitics" >&AS_MESSAGE_LOG_FD
ac_compiler=`set X $ac_compile; echo $[2]`
_AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])
_AC_EVAL([$ac_compiler -dumpspecs </dev/null >&AS_MESSAGE_LOG_FD])
fi
])])# _AC_LANG_COMPILER_GNU

View File

@ -550,6 +550,13 @@ m4_define([_AC_LANG_COMPILER_GNU],
[ac_compiler_gnu=yes],
[ac_compiler_gnu=no])
ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu=$ac_compiler_gnu
if test $ac_compiler_gnu = yes; then
echo "$as_me:__oline__:" \
"checking for GNU _AC_LANG compiler characterisitics" >&AS_MESSAGE_LOG_FD
ac_compiler=`set X $ac_compile; echo $[2]`
_AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])
_AC_EVAL([$ac_compiler -dumpspecs </dev/null >&AS_MESSAGE_LOG_FD])
fi
])])# _AC_LANG_COMPILER_GNU

View File

@ -550,6 +550,13 @@ m4_define([_AC_LANG_COMPILER_GNU],
[ac_compiler_gnu=yes],
[ac_compiler_gnu=no])
ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu=$ac_compiler_gnu
if test $ac_compiler_gnu = yes; then
echo "$as_me:__oline__:" \
"checking for GNU _AC_LANG compiler characterisitics" >&AS_MESSAGE_LOG_FD
ac_compiler=`set X $ac_compile; echo $[2]`
_AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])
_AC_EVAL([$ac_compiler -dumpspecs </dev/null >&AS_MESSAGE_LOG_FD])
fi
])])# _AC_LANG_COMPILER_GNU

View File

@ -550,6 +550,13 @@ m4_define([_AC_LANG_COMPILER_GNU],
[ac_compiler_gnu=yes],
[ac_compiler_gnu=no])
ac_cv_[]_AC_LANG_ABBREV[]_compiler_gnu=$ac_compiler_gnu
if test $ac_compiler_gnu = yes; then
echo "$as_me:__oline__:" \
"checking for GNU _AC_LANG compiler characterisitics" >&AS_MESSAGE_LOG_FD
ac_compiler=`set X $ac_compile; echo $[2]`
_AC_EVAL([$ac_compiler --version </dev/null >&AS_MESSAGE_LOG_FD])
_AC_EVAL([$ac_compiler -dumpspecs </dev/null >&AS_MESSAGE_LOG_FD])
fi
])])# _AC_LANG_COMPILER_GNU