summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2011-06-02 13:29:05 -0300
committerSven Verdoolaege <skimo@kotnet.org>2011-06-07 21:40:29 +0200
commit07116ffed3da85d3b028eb7620fd2cab8814325e (patch)
tree740ef35c83cd8e71f9ee8ea2940e20b0973894b4 /m4
parent157122e88673001b08d01e4ffed7a833b2d5c0b2 (diff)
downloadisl-07116ffed3da85d3b028eb7620fd2cab8814325e.tar.gz
isl-07116ffed3da85d3b028eb7620fd2cab8814325e.tar.bz2
isl-07116ffed3da85d3b028eb7620fd2cab8814325e.zip
Update ax_compiler_vendor.m4
Use the newest version, as it includes clang support. Signed-off-by: Tobias Grosser <tobias@grosser.es> Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Diffstat (limited to 'm4')
-rw-r--r--m4/ax_compiler_vendor.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/m4/ax_compiler_vendor.m4 b/m4/ax_compiler_vendor.m4
index b074260a..32147069 100644
--- a/m4/ax_compiler_vendor.m4
+++ b/m4/ax_compiler_vendor.m4
@@ -1,5 +1,5 @@
# ===========================================================================
-# http://www.nongnu.org/autoconf-archive/ax_compiler_vendor.html
+# http://www.gnu.org/software/autoconf-archive/ax_compiler_vendor.html
# ===========================================================================
#
# SYNOPSIS
@@ -44,12 +44,14 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
+#serial 9
+
AC_DEFUN([AX_COMPILER_VENDOR],
[
AC_CACHE_CHECK([for _AC_LANG compiler vendor], ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor,
[ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor=unknown
# note: don't check for gcc first since some other compilers define __GNUC__
- for ventest in intel:__ICC,__ECC,__INTEL_COMPILER ibm:__xlc__,__xlC__,__IBMC__,__IBMCPP__ pathscale:__PATHCC__,__PATHSCALE__ gnu:__GNUC__ sun:__SUNPRO_C,__SUNPRO_CC hp:__HP_cc,__HP_aCC dec:__DECC,__DECCXX,__DECC_VER,__DECCXX_VER borland:__BORLANDC__,__TURBOC__ comeau:__COMO__ cray:_CRAYC kai:__KCC lcc:__LCC__ metrowerks:__MWERKS__ sgi:__sgi,sgi microsoft:_MSC_VER watcom:__WATCOMC__ portland:__PGI; do
+ for ventest in intel:__ICC,__ECC,__INTEL_COMPILER ibm:__xlc__,__xlC__,__IBMC__,__IBMCPP__ pathscale:__PATHCC__,__PATHSCALE__ clang:__clang__ gnu:__GNUC__ sun:__SUNPRO_C,__SUNPRO_CC hp:__HP_cc,__HP_aCC dec:__DECC,__DECCXX,__DECC_VER,__DECCXX_VER borland:__BORLANDC__,__TURBOC__ comeau:__COMO__ cray:_CRAYC kai:__KCC lcc:__LCC__ metrowerks:__MWERKS__ sgi:__sgi,sgi microsoft:_MSC_VER watcom:__WATCOMC__ portland:__PGI; do
vencpp="defined("`echo $ventest | cut -d: -f2 | sed 's/,/) || defined(/g'`")"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,[
#if !($vencpp)