--- gigedit/trunk/configure.ac 2019/08/24 13:42:17 3566 +++ gigedit/trunk/configure.ac 2019/10/01 16:21:28 3619 @@ -5,7 +5,7 @@ m4_define(gigedit_ver_major, 1) m4_define(gigedit_ver_minor, 1) -m4_define(gigedit_ver_release, 1.svn1) +m4_define(gigedit_ver_release, 1.svn2) AC_INIT([gigedit], [gigedit_ver_major.gigedit_ver_minor.gigedit_ver_release]) AC_CONFIG_SRCDIR([configure.ac]) @@ -70,6 +70,12 @@ AM_CONDITIONAL(WINDOWS, test "$windows" = "yes") AM_CONDITIONAL(MAC, test "$mac" = "yes") +# make sure C++11 is supported by compiler +# (add CXXFLAGS if required [e.g. -std=c++11]) +m4_ifdef([m4_include(m4/ax_cxx_compile_stdcxx.m4)],, + [sinclude([m4/ax_cxx_compile_stdcxx.m4])]) +AX_CXX_COMPILE_STDCXX(11, [], mandatory) + # Note: even though Objective-C sources are just compiled for Mac, the # following AC macros though must not be embedded into a shell check # (if test "$mac" = "yes" ...), because those AC macros themselves are