summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2015-07-31 11:14:33 +0200
committerMurray Cumming <murrayc@murrayc.com>2015-07-31 11:14:39 +0200
commit88ce8ce19497f6919e1beaf09e062a69cc2e5923 (patch)
treefa32513cc660765b30f74ecabb943aa50311a1f4
parent870509477a748435ad527d29428cef544da3fc8a (diff)
Use (and require) C++11.
And use the latest version of libsigc++, which also requires C++11.
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 1c9350e..1345c43 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,12 +37,14 @@ MM_CONFIG_DOCTOOL_DIR([docs])
AC_SUBST([CAIROMM_SO_VERSION], [5:0:4])
AC_PROG_CXX
+MM_AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
+
AC_DISABLE_STATIC
AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
PKG_PROG_PKG_CONFIG
-AC_SUBST([CAIROMM_MODULES], ['cairo >= 1.10.0 sigc++-2.0'])
+AC_SUBST([CAIROMM_MODULES], ['cairo >= 1.10.0 sigc++-2.0 >= 2.5.1'])
cairomm_allmodules=$CAIROMM_MODULES
CAIROMM_INSTALL_PC='data/cairomm-1.0.pc'