--- gigedit/trunk/configure.ac 2019/02/03 13:27:28 3462 +++ gigedit/trunk/configure.ac 2020/02/03 18:47:02 3738 @@ -5,7 +5,7 @@ m4_define(gigedit_ver_major, 1) m4_define(gigedit_ver_minor, 1) -m4_define(gigedit_ver_release, 0.svn8) +m4_define(gigedit_ver_release, 1.svn15) 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 @@ -105,7 +111,7 @@ AC_SUBST(SIGC_CFLAGS) AC_SUBST(SIGC_LIBS) -PKG_CHECK_MODULES(GIG, gig >= 4.1.0) +PKG_CHECK_MODULES(GIG, gig >= 4.2.0) AC_SUBST(GIG_CFLAGS) AC_SUBST(GIG_LIBS) @@ -115,7 +121,7 @@ AC_SUBST(SNDFILE_LIBS) # check for (optional) presence of liblinuxsampler -liblinuxsampler_version="2.1.0" +liblinuxsampler_version="2.1.1" PKG_CHECK_MODULES( LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version, have_linuxsampler=1, have_linuxsampler=0