Skip to content

Commit 2f0ecc3

Browse files
author
Kjell Ahlstedt
committed
Require C++11
* configure.ac: Use MM_AX_CXX_COMPILE_STDCXX_11 from mm-common to check for compiler support for C++11 and use it (-std=c++11 for current versions of g++). Among other reasons, this is because libsigc++ and glibmm now require C++11, and gmmproc generates C++11 code.
1 parent c710ef2 commit 2f0ecc3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configure.ac

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
1313
AM_MAINTAINER_MODE([disable])
1414
AC_ARG_VAR([ACLOCAL_FLAGS], [aclocal flags, e.g. -I <macro dir>])
1515

16-
MM_PREREQ([0.9.7])
16+
MM_PREREQ([0.9.8])
1717
MM_INIT_MODULE([libxml++-2.6])
1818

1919
# Copy the mm-common .pl scripts into docs/,
@@ -25,6 +25,8 @@ MM_CONFIG_DOCTOOL_DIR([docs])
2525
AC_SUBST([LIBXMLXX_SO_VERSION], [2:7:0])
2626

2727
AC_PROG_CXX
28+
MM_AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
29+
2830
LT_PREREQ([2.2.6])
2931
LT_INIT([dlopen win32-dll disable-static])
3032

0 commit comments

Comments
 (0)