]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* aclang.m4 (ac_cv_prog_gcc, ac_cv_prog_gxx, ac_cv_prog_g77):
authorAkim Demaille <akim@epita.fr>
Tue, 7 Nov 2000 14:16:54 +0000 (14:16 +0000)
committerAkim Demaille <akim@epita.fr>
Tue, 7 Nov 2000 14:16:54 +0000 (14:16 +0000)
Be AU_DEFUN'd, not AU_ALIAS'd.
Reported by Ralf Corsepius.
* tests/mktests.sh (exclude_list): Skip these variables.

ChangeLog
aclang.m4
lib/autoconf/c.m4
lib/autoconf/fortran.m4
lib/autoconf/lang.m4
tests/mktests.sh

index b72ded6156708f84757a1632df68b1ea99e33d19..8cb673e4bd455d8542c6c8a92990ddbae7998f86 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 1b8c970db7ba78147bf97d6c6ba245550015540f..a3b33597e6419a7b0a1ab72cfde9ea9151731927 100644 (file)
--- a/aclang.m4
+++ b/aclang.m4
@@ -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...])
index 1b8c970db7ba78147bf97d6c6ba245550015540f..a3b33597e6419a7b0a1ab72cfde9ea9151731927 100644 (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...])
index 1b8c970db7ba78147bf97d6c6ba245550015540f..a3b33597e6419a7b0a1ab72cfde9ea9151731927 100644 (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...])
index 1b8c970db7ba78147bf97d6c6ba245550015540f..a3b33597e6419a7b0a1ab72cfde9ea9151731927 100644 (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...])
index 89e79091e60608d81a5b46dab2b04752193df822..bddb8517ec59b6549399b04c9902b89f98bbf8fe 100755 (executable)
@@ -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/.$//'`