Commit 2f0ecc3d authored by Kjell Ahlstedt's avatar Kjell Ahlstedt

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.
parent c710ef22
......@@ -13,7 +13,7 @@ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES])
AM_MAINTAINER_MODE([disable])
AC_ARG_VAR([ACLOCAL_FLAGS], [aclocal flags, e.g. -I <macro dir>])
MM_PREREQ([0.9.7])
MM_PREREQ([0.9.8])
MM_INIT_MODULE([libxml++-2.6])
# Copy the mm-common .pl scripts into docs/,
......@@ -25,6 +25,8 @@ MM_CONFIG_DOCTOOL_DIR([docs])
AC_SUBST([LIBXMLXX_SO_VERSION], [2:7:0])
AC_PROG_CXX
MM_AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
LT_PREREQ([2.2.6])
LT_INIT([dlopen win32-dll disable-static])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment