* aclang.m4 (ac_cv_prog_gcc, ac_cv_prog_gxx, ac_cv_prog_g77):

Be AU_DEFUN'd, not AU_ALIAS'd.
Reported by Ralf Corsepius.
* tests/mktests.sh (exclude_list): Skip these variables.
This commit is contained in:
Akim Demaille 2000-11-07 14:16:54 +00:00
parent 674d4eef25
commit a9102fbdf9
6 changed files with 45 additions and 14 deletions

View File

@ -1,3 +1,10 @@
2000-11-07 Akim Demaille <akim@epita.fr>
* aclang.m4 (ac_cv_prog_gcc, ac_cv_prog_gxx, ac_cv_prog_g77):
Be AU_DEFUN'd, not AU_ALIAS'd.
Reported by Ralf Corsepius.
* tests/mktests.sh (exclude_list): Skip these variables.
2000-11-07 Akim Demaille <akim@epita.fr>
m4_syscmd was reestablished as `syscd' intead of `syscmd' because

View File

@ -681,7 +681,8 @@ AC_DEFUN([AC_LANG_COMPILER(C)],
# ac_cv_prog_gcc
# --------------
# We used to name the cache variable this way.
AU_ALIAS([ac_cv_prog_gcc], [ac_cv_c_compiler_gnu])
AU_DEFUN([ac_cv_prog_gcc],
[ac_cv_c_compiler_gnu])
# AC_PROG_CC([COMPILER ...])
@ -875,7 +876,8 @@ AC_DEFUN([AC_LANG_COMPILER(C++)],
# ac_cv_prog_gxx
# --------------
# We used to name the cache variable this way.
AU_ALIAS([ac_cv_prog_gxx], [ac_cv_cxx_compiler_gnu])
AU_DEFUN([ac_cv_prog_gxx],
[ac_cv_cxx_compiler_gnu])
# AC_PROG_CXX([LIST-OF-COMPILERS])
@ -957,7 +959,8 @@ AC_DEFUN([AC_LANG_COMPILER(Fortran 77)],
# ac_cv_prog_g77
# --------------
# We used to name the cache variable this way.
AU_ALIAS([ac_cv_prog_g77], [ac_cv_f77_compiler_gnu])
AU_DEFUN([ac_cv_prog_g77],
[ac_cv_f77_compiler_gnu])
# AC_PROG_F77([COMPILERS...])

View File

@ -681,7 +681,8 @@ AC_DEFUN([AC_LANG_COMPILER(C)],
# ac_cv_prog_gcc
# --------------
# We used to name the cache variable this way.
AU_ALIAS([ac_cv_prog_gcc], [ac_cv_c_compiler_gnu])
AU_DEFUN([ac_cv_prog_gcc],
[ac_cv_c_compiler_gnu])
# AC_PROG_CC([COMPILER ...])
@ -875,7 +876,8 @@ AC_DEFUN([AC_LANG_COMPILER(C++)],
# ac_cv_prog_gxx
# --------------
# We used to name the cache variable this way.
AU_ALIAS([ac_cv_prog_gxx], [ac_cv_cxx_compiler_gnu])
AU_DEFUN([ac_cv_prog_gxx],
[ac_cv_cxx_compiler_gnu])
# AC_PROG_CXX([LIST-OF-COMPILERS])
@ -957,7 +959,8 @@ AC_DEFUN([AC_LANG_COMPILER(Fortran 77)],
# ac_cv_prog_g77
# --------------
# We used to name the cache variable this way.
AU_ALIAS([ac_cv_prog_g77], [ac_cv_f77_compiler_gnu])
AU_DEFUN([ac_cv_prog_g77],
[ac_cv_f77_compiler_gnu])
# AC_PROG_F77([COMPILERS...])

View File

@ -681,7 +681,8 @@ AC_DEFUN([AC_LANG_COMPILER(C)],
# ac_cv_prog_gcc
# --------------
# We used to name the cache variable this way.
AU_ALIAS([ac_cv_prog_gcc], [ac_cv_c_compiler_gnu])
AU_DEFUN([ac_cv_prog_gcc],
[ac_cv_c_compiler_gnu])
# AC_PROG_CC([COMPILER ...])
@ -875,7 +876,8 @@ AC_DEFUN([AC_LANG_COMPILER(C++)],
# ac_cv_prog_gxx
# --------------
# We used to name the cache variable this way.
AU_ALIAS([ac_cv_prog_gxx], [ac_cv_cxx_compiler_gnu])
AU_DEFUN([ac_cv_prog_gxx],
[ac_cv_cxx_compiler_gnu])
# AC_PROG_CXX([LIST-OF-COMPILERS])
@ -957,7 +959,8 @@ AC_DEFUN([AC_LANG_COMPILER(Fortran 77)],
# ac_cv_prog_g77
# --------------
# We used to name the cache variable this way.
AU_ALIAS([ac_cv_prog_g77], [ac_cv_f77_compiler_gnu])
AU_DEFUN([ac_cv_prog_g77],
[ac_cv_f77_compiler_gnu])
# AC_PROG_F77([COMPILERS...])

View File

@ -681,7 +681,8 @@ AC_DEFUN([AC_LANG_COMPILER(C)],
# ac_cv_prog_gcc
# --------------
# We used to name the cache variable this way.
AU_ALIAS([ac_cv_prog_gcc], [ac_cv_c_compiler_gnu])
AU_DEFUN([ac_cv_prog_gcc],
[ac_cv_c_compiler_gnu])
# AC_PROG_CC([COMPILER ...])
@ -875,7 +876,8 @@ AC_DEFUN([AC_LANG_COMPILER(C++)],
# ac_cv_prog_gxx
# --------------
# We used to name the cache variable this way.
AU_ALIAS([ac_cv_prog_gxx], [ac_cv_cxx_compiler_gnu])
AU_DEFUN([ac_cv_prog_gxx],
[ac_cv_cxx_compiler_gnu])
# AC_PROG_CXX([LIST-OF-COMPILERS])
@ -957,7 +959,8 @@ AC_DEFUN([AC_LANG_COMPILER(Fortran 77)],
# ac_cv_prog_g77
# --------------
# We used to name the cache variable this way.
AU_ALIAS([ac_cv_prog_g77], [ac_cv_f77_compiler_gnu])
AU_DEFUN([ac_cv_prog_g77],
[ac_cv_f77_compiler_gnu])
# AC_PROG_F77([COMPILERS...])

View File

@ -44,6 +44,18 @@ export LANG; LANG=C
export LC_ALL; LC_ALL=C
# exclude_list
# ------------
# Macros which must not be checked at all (not by syntax.at, not udpate.at).
# The trailing new line is meant.
#
# - ac_cv_prog_gcc, gxx, g77
# Not macros, just mapping from old variable name to a new one.
exclude_list='^ac_cv_prog_(gcc|gxx|g77)$
'
## ----------- ##
## syntax.at. ##
## ----------- ##
@ -106,7 +118,7 @@ _AC_'
# Build a single egrep pattern out of filter_macros_list.
# Sed is used to get rid of the trailing `|' coming from the trailing
# `\n' from `echo'.
syntax_exclude_egrep=`echo "$syntax_exclude_list" | tr '
syntax_exclude_egrep=`echo "$exclude_list$syntax_exclude_list" | tr '
' '|' | sed 's/.$//'`
sed 's/^ *//' >syntax.tat <<MK_EOF
@ -167,7 +179,7 @@ update_exclude_list='^AC_LANG_RESTORE$
# Build a single egrep pattern out of filter_macros_list.
# Sed is used to get rid of the trailing `|' coming from the trailing
# `\n' from `echo'.
update_exclude_egrep=`echo "$update_exclude_list" | tr '
update_exclude_egrep=`echo "$exclude_list$update_exclude_list" | tr '
' '|' | sed 's/.$//'`