Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sandbox:master commit in: m4/
Date: Fri, 30 Dec 2022 21:33:33
Message-Id: 1672435655.8d999c4fd1c4f05af56e0f11cd5d9082a013ad74.floppym@gentoo
1 commit: 8d999c4fd1c4f05af56e0f11cd5d9082a013ad74
2 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 30 21:27:35 2022 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 30 21:27:35 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=8d999c4f
7
8 Update ax_compiler_vendor.m4
9
10 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
11
12 m4/ax_compiler_vendor.m4 | 12 +++++++-----
13 1 file changed, 7 insertions(+), 5 deletions(-)
14
15 diff --git a/m4/ax_compiler_vendor.m4 b/m4/ax_compiler_vendor.m4
16 index f06e865..039f99d 100644
17 --- a/m4/ax_compiler_vendor.m4
18 +++ b/m4/ax_compiler_vendor.m4
19 @@ -12,10 +12,11 @@
20 # returned in the cache variable $ax_cv_c_compiler_vendor for C,
21 # $ax_cv_cxx_compiler_vendor for C++ or $ax_cv_fc_compiler_vendor for
22 # (modern) Fortran. The value is one of "intel", "ibm", "pathscale",
23 -# "clang" (LLVM), "cray", "fujitsu", "sdcc", "sx", "portland" (PGI), "gnu"
24 -# (GCC), "sun" (Oracle Developer Studio), "hp", "dec", "borland",
25 -# "comeau", "kai", "lcc", "sgi", "microsoft", "metrowerks", "watcom",
26 -# "tcc" (Tiny CC) or "unknown" (if the compiler cannot be determined).
27 +# "clang" (LLVM), "cray", "fujitsu", "sdcc", "sx", "nvhpc" (NVIDIA HPC
28 +# Compiler), "portland" (PGI), "gnu" (GCC), "sun" (Oracle Developer
29 +# Studio), "hp", "dec", "borland", "comeau", "kai", "lcc", "sgi",
30 +# "microsoft", "metrowerks", "watcom", "tcc" (Tiny CC) or "unknown" (if
31 +# the compiler cannot be determined).
32 #
33 # To check for a Fortran compiler, you must first call AC_FC_PP_SRCEXT
34 # with an appropriate preprocessor-enabled extension. For example:
35 @@ -58,7 +59,7 @@
36 # modified version of the Autoconf Macro, you may extend this special
37 # exception to the GPL to apply to your modified version as well.
38
39 -#serial 30
40 +#serial 32
41
42 AC_DEFUN([AX_COMPILER_VENDOR], [dnl
43 AC_CACHE_CHECK([for _AC_LANG compiler vendor], ax_cv_[]_AC_LANG_ABBREV[]_compiler_vendor, [dnl
44 @@ -78,6 +79,7 @@ AC_DEFUN([AX_COMPILER_VENDOR], [dnl
45 fujitsu: __FUJITSU
46 sdcc: SDCC,__SDCC
47 sx: _SX
48 + nvhpc: __NVCOMPILER
49 portland: __PGI
50 gnu: __GNUC__
51 sun: __SUNPRO_C,__SUNPRO_CC,__SUNPRO_F90,__SUNPRO_F95