1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
Description: Use default -std setting.
Author: Andrius Merkys <merkys@debian.org>
Forwarded: not-needed
--- a/m4/ax_cxx_compile_stdcxx.m4
+++ b/m4/ax_cxx_compile_stdcxx.m4
@@ -70,15 +70,15 @@
AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch,
$cachevar,
[ac_save_CXX="$CXX"
- CXX="$CXX $switch"
+ CXX="$CXX"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])],
[eval $cachevar=yes],
[eval $cachevar=no])
CXX="$ac_save_CXX"])
if eval test x\$$cachevar = xyes; then
- CXX="$CXX $switch"
+ CXX="$CXX"
if test -n "$CXXCPP" ; then
- CXXCPP="$CXXCPP $switch"
+ CXXCPP="$CXXCPP"
fi
ac_success=yes
break
@@ -948,4 +948,4 @@
#endif // __cplusplus < 201703L
-]])
\ No newline at end of file
+]])
|