summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-11-18 08:41:47 +0100
committerMax Kellermann <max@musicpd.org>2016-11-18 08:41:47 +0100
commit2f76f9da891175ba331a6d29574bd2635cfa1bc8 (patch)
treebb7a3556acc6f38ccae0746ec0a0fcfcdefd0274 /configure.ac
parentb0b8f573bc32d0eee6d417e026b7647e6a963717 (diff)
configure.ac: enable C++14
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac9
1 files changed, 1 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index d94cad3b1..d4ac95b20 100644
--- a/configure.ac
+++ b/configure.ac
@@ -186,14 +186,7 @@ dnl ---------------------------------------------------------------------------
dnl Language Checks
dnl ---------------------------------------------------------------------------
-AC_CXX_COMPILE_STDCXX_0X
-if test "$ax_cv_cxx_compile_cxx0x_native" != yes; then
- if test "$ax_cv_cxx_compile_cxx0x_gxx" = yes; then
- AM_CXXFLAGS="$AM_CXXFLAGS -std=gnu++0x"
- elif test "$ax_cv_cxx_compile_cxx0x_cxx" = yes; then
- AM_CXXFLAGS="$AM_CXXFLAGS -std=c++0x"
- fi
-fi
+AX_CXX_COMPILE_STDCXX_14([noext], [mandatory])
dnl ---------------------------------------------------------------------------
dnl Header/Library Checks