summaryrefslogtreecommitdiff
path: root/m4/ax_compiler_vendor.m4
diff options
context:
space:
mode:
authorJohn Zaitseff <J.Zaitseff@zap.org.au>2018-08-06 09:37:42 +1000
committerPeter Simons <simons@cryp.to>2019-02-14 13:34:02 +0100
commitc9e1716b417263f07f9ffbc3ec70c095709f09b4 (patch)
treeb1c8cad5e2943bbd9fc734da5246a772b27924f0 /m4/ax_compiler_vendor.m4
parentf2750806ca41a07ded752e8782730fbe49373a26 (diff)
downloadautoconf-archive-c9e1716b417263f07f9ffbc3ec70c095709f09b4.tar.gz
ax_compiler_vendor.m4: Clarify why some compilers are listed early
Diffstat (limited to 'm4/ax_compiler_vendor.m4')
-rw-r--r--m4/ax_compiler_vendor.m416
1 files changed, 8 insertions, 8 deletions
diff --git a/m4/ax_compiler_vendor.m4 b/m4/ax_compiler_vendor.m4
index 495bc4e..1054039 100644
--- a/m4/ax_compiler_vendor.m4
+++ b/m4/ax_compiler_vendor.m4
@@ -60,13 +60,14 @@
#serial 19
-AC_DEFUN([AX_COMPILER_VENDOR], [
- AC_CACHE_CHECK([for _AC_LANG compiler vendor], ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor, [
- # If you modify this list of vendors, please add similar support
- # to ax_compiler_version.m4 if at all possible.
-
- # Note: Do NOT check for GCC first since some other compilers
- # define __GNUC__ to remain compatible with it.
+AC_DEFUN([AX_COMPILER_VENDOR], [dnl
+ AC_CACHE_CHECK([for _AC_LANG compiler vendor], ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor, [dnl
+ dnl If you modify this list of vendors, please add similar support
+ dnl to ax_compiler_version.m4 if at all possible.
+ dnl
+ dnl Note: Do NOT check for GCC first since some other compilers
+ dnl define __GNUC__ to remain compatible with it. Compilers that
+ dnl are very slow to start (such as Intel) are listed first.
vendors="
intel: __ICC,__ECC,__INTEL_COMPILER
@@ -93,7 +94,6 @@ AC_DEFUN([AX_COMPILER_VENDOR], [
tcc: __TINYC__
unknown: UNKNOWN
"
-
for ventest in $vendors; do
case $ventest in
*:)