aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2022-12-30 16:27:35 -0500
committerMike Gilbert <floppym@gentoo.org>2022-12-30 16:27:35 -0500
commit8d999c4fd1c4f05af56e0f11cd5d9082a013ad74 (patch)
tree062218ae75b8ccf5faceee89a458644dbf9343f5 /m4
parentlibsandbox: reduce & inline the __64_{pre,post}.h headers (diff)
downloadsandbox-8d999c4fd1c4f05af56e0f11cd5d9082a013ad74.tar.gz
sandbox-8d999c4fd1c4f05af56e0f11cd5d9082a013ad74.tar.bz2
sandbox-8d999c4fd1c4f05af56e0f11cd5d9082a013ad74.zip
Update ax_compiler_vendor.m4
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'm4')
-rw-r--r--m4/ax_compiler_vendor.m412
1 files changed, 7 insertions, 5 deletions
diff --git a/m4/ax_compiler_vendor.m4 b/m4/ax_compiler_vendor.m4
index f06e865..039f99d 100644
--- a/m4/ax_compiler_vendor.m4
+++ b/m4/ax_compiler_vendor.m4
@@ -12,10 +12,11 @@
# returned in the cache variable $ax_cv_c_compiler_vendor for C,
# $ax_cv_cxx_compiler_vendor for C++ or $ax_cv_fc_compiler_vendor for
# (modern) Fortran. The value is one of "intel", "ibm", "pathscale",
-# "clang" (LLVM), "cray", "fujitsu", "sdcc", "sx", "portland" (PGI), "gnu"
-# (GCC), "sun" (Oracle Developer Studio), "hp", "dec", "borland",
-# "comeau", "kai", "lcc", "sgi", "microsoft", "metrowerks", "watcom",
-# "tcc" (Tiny CC) or "unknown" (if the compiler cannot be determined).
+# "clang" (LLVM), "cray", "fujitsu", "sdcc", "sx", "nvhpc" (NVIDIA HPC
+# Compiler), "portland" (PGI), "gnu" (GCC), "sun" (Oracle Developer
+# Studio), "hp", "dec", "borland", "comeau", "kai", "lcc", "sgi",
+# "microsoft", "metrowerks", "watcom", "tcc" (Tiny CC) or "unknown" (if
+# the compiler cannot be determined).
#
# To check for a Fortran compiler, you must first call AC_FC_PP_SRCEXT
# with an appropriate preprocessor-enabled extension. For example:
@@ -58,7 +59,7 @@
# modified version of the Autoconf Macro, you may extend this special
# exception to the GPL to apply to your modified version as well.
-#serial 30
+#serial 32
AC_DEFUN([AX_COMPILER_VENDOR], [dnl
AC_CACHE_CHECK([for _AC_LANG compiler vendor], ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor, [dnl
@@ -78,6 +79,7 @@ AC_DEFUN([AX_COMPILER_VENDOR], [dnl
fujitsu: __FUJITSU
sdcc: SDCC,__SDCC
sx: _SX
+ nvhpc: __NVCOMPILER
portland: __PGI
gnu: __GNUC__
sun: __SUNPRO_C,__SUNPRO_CC,__SUNPRO_F90,__SUNPRO_F95