diff options
author | Akim Demaille <akim.demaille@gmail.com> | 2018-09-23 08:58:48 +0200 |
---|---|---|
committer | Akim Demaille <akim.demaille@gmail.com> | 2018-09-23 11:50:58 +0200 |
commit | 41ded5828664e7cbad659ef3d8475fca9cb11035 (patch) | |
tree | 4c546a1976b41d9d5b361803ab94213c12c60511 /configure.ac | |
parent | 5649888686cfa474fbe12ff47e4401333e5cb8f4 (diff) | |
download | bison-41ded5828664e7cbad659ef3d8475fca9cb11035.tar.gz |
build: check for C++98 and 03 like the others
* m4/bison-cxx-std.m4 (BISON_CXX_COMPILE_STDCXX_98)
(BISON_CXX_COMPILE_STDCXX_03): New.
* configure.ac: Use them.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 232ee8d8..0540a50a 100644 --- a/configure.ac +++ b/configure.ac @@ -73,8 +73,8 @@ AC_CACHE_CHECK([whether pragma GCC diagnostic push works], AC_LANG_PUSH([C++]) gl_WARN_ADD([-fno-exceptions], [NO_EXCEPTIONS_CXXFLAGS]) -gl_WARN_ADD([-std=c++98], [CXX98_CXXFLAGS]) -gl_WARN_ADD([-std=c++03], [CXX03_CXXFLAGS]) +BISON_CXX_COMPILE_STDCXX_98 +BISON_CXX_COMPILE_STDCXX_03 BISON_CXX_COMPILE_STDCXX_11 BISON_CXX_COMPILE_STDCXX_14 BISON_CXX_COMPILE_STDCXX_17 |