Changeset 4328
- Timestamp:
- Mar 12, 2023, 10:17:27 AM (3 months ago)
- Location:
- trunk/m4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/m4/ax_boost_base.m4
r4216 r4328 34 34 # warranty. 35 35 36 #serial 5 136 #serial 52 37 37 38 38 # example boost program (need to pass version) … … 115 115 [x86_64],[libsubdirs="lib64 libx32 lib lib64"], 116 116 [mips*64*],[libsubdirs="lib64 lib32 lib lib64"], 117 [ppc64|powerpc64|s390x|sparc64|aarch64|ppc64le|powerpc64le|riscv64|e2k ],[libsubdirs="lib64 lib lib64"],117 [ppc64|powerpc64|s390x|sparc64|aarch64|ppc64le|powerpc64le|riscv64|e2k|loongarch64],[libsubdirs="lib64 lib lib64"], 118 118 [libsubdirs="lib"] 119 119 ) -
trunk/m4/ax_cxx_compile_stdcxx.m4
r4216 r4328 44 44 # warranty. 45 45 46 #serial 1 546 #serial 18 47 47 48 48 dnl This macro is based on the code from the AX_CXX_COMPILE_STDCXX_11 macro … … 105 105 dnl http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/PDF_Release_Notes/769149-001.pdf 106 106 dnl Cray's crayCC needs "-h std=c++11" 107 dnl MSVC needs -std:c++NN for C++17 and later (default is C++14) 107 108 for alternative in ${ax_cxx_compile_alternatives}; do 108 for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do 109 cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch]) 109 for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}" MSVC; do 110 if test x"$switch" = xMSVC; then 111 dnl AS_TR_SH maps both `:` and `=` to `_` so -std:c++17 would collide 112 dnl with -std=c++17. We suffix the cache variable name with _MSVC to 113 dnl avoid this. 114 switch=-std:c++${alternative} 115 cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_${switch}_MSVC]) 116 else 117 cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch]) 118 fi 110 119 AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch, 111 120 $cachevar,
Note: See TracChangeset
for help on using the changeset viewer.