summaryrefslogtreecommitdiff
path: root/m4/ax_cxx_cppflags_std_lang.m4
diff options
context:
space:
mode:
authorRhys Ulerich <rhys.ulerich@gmail.com>2010-11-11 11:42:13 -0600
committerRhys Ulerich <rhys.ulerich@gmail.com>2010-11-11 11:42:13 -0600
commit84e38e89250ffb568490b7c07d3f3b6fd52396ef (patch)
tree073a7f3a06dd76a03dfd7e02b77456e816e3484b /m4/ax_cxx_cppflags_std_lang.m4
parent584691a1b7c4a288cb42333b68754b544564fd76 (diff)
downloadautoconf-archive-84e38e89250ffb568490b7c07d3f3b6fd52396ef.tar.gz
Move AX_CXX_{CPP,CXX,LD}FLAGS_STD_LANG to AX_COMPILER_VENDOR
Nested quoting within AX_CXX_COMPILER_VENDOR gives warnings on newer autoconf versions. Switching which compiler-detection script these macros use. Implementation changeover simple-- just need to account for a difference in 'dec' vs 'compaq' compiler identifier.
Diffstat (limited to 'm4/ax_cxx_cppflags_std_lang.m4')
-rw-r--r--m4/ax_cxx_cppflags_std_lang.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/m4/ax_cxx_cppflags_std_lang.m4 b/m4/ax_cxx_cppflags_std_lang.m4
index c1dd7a0..e65de64 100644
--- a/m4/ax_cxx_cppflags_std_lang.m4
+++ b/m4/ax_cxx_cppflags_std_lang.m4
@@ -22,12 +22,14 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
-#serial 6
+#serial 7
AU_ALIAS([AC_CXX_CPPFLAGS_STD_LANG], [AX_CXX_CPPFLAGS_STD_LANG])
AC_DEFUN([AX_CXX_CPPFLAGS_STD_LANG],
- [AC_REQUIRE([AX_CXX_COMPILER_VENDOR])
+ [AC_LANG_ASSERT([C++])
+ AC_REQUIRE([AX_COMPILER_VENDOR])
case "$ax_cv_cxx_compiler_vendor" in
+ dec)
compaq)
# By default, Compaq CXX has an iostream classes implementation
# that is _not_ in the `std' namespace.