--- gigedit/trunk/configure.ac 2014/01/12 19:37:55 2507 +++ gigedit/trunk/configure.ac 2017/12/03 16:03:34 3391 @@ -3,9 +3,9 @@ #------------------------------------------------------------------------------------ # The following is the current, official release version of gigedit: -m4_define(gigedit_ver_major, 0) -m4_define(gigedit_ver_minor, 2) -m4_define(gigedit_ver_release, 0) +m4_define(gigedit_ver_major, 1) +m4_define(gigedit_ver_minor, 1) +m4_define(gigedit_ver_release, 0.svn1) AC_INIT([gigedit], [gigedit_ver_major.gigedit_ver_minor.gigedit_ver_release]) AC_CONFIG_SRCDIR([configure.ac]) @@ -28,7 +28,7 @@ # 6. If any interfaces have been removed since the last public release, then set age # to 0. -LIBGIGEDIT_LT_CURRENT=2 +LIBGIGEDIT_LT_CURRENT=4 LIBGIGEDIT_LT_REVISION=0 LIBGIGEDIT_LT_AGE=0 @@ -70,9 +70,18 @@ AM_CONDITIONAL(WINDOWS, test "$windows" = "yes") AM_CONDITIONAL(MAC, test "$mac" = "yes") -if test "$mac" = "yes"; then - AC_PROG_OBJC -fi +# 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 +# expanded before any shell code is executed, the generated configure +# code though would then not be executed and would lead to interesting +# libtool errors on non-Mac systems due to this. +AC_PROG_OBJC +AC_PROG_OBJCXX + +PKG_CHECK_EXISTS(gtk+-3.0 >= 2.99, + [PKG_CHECK_MODULES([GTK], [gtk+-3.0])], + [PKG_CHECK_MODULES([GTK], [gtk+-2.0])]) PKG_PROG_PKG_CONFIG have_gtk3=no @@ -85,7 +94,7 @@ AC_SUBST(SIGC_CFLAGS) AC_SUBST(SIGC_LIBS) -PKG_CHECK_MODULES(GIG, gig >= 3.3.0) +PKG_CHECK_MODULES(GIG, gig >= 4.1.0) AC_SUBST(GIG_CFLAGS) AC_SUBST(GIG_LIBS) @@ -95,7 +104,7 @@ AC_SUBST(SNDFILE_LIBS) # check for (optional) presence of liblinuxsampler -liblinuxsampler_version="0.5.0" +liblinuxsampler_version="2.1.0" PKG_CHECK_MODULES( LINUXSAMPLER, linuxsampler >= $liblinuxsampler_version, have_linuxsampler=1, have_linuxsampler=0 @@ -193,6 +202,7 @@ Makefile src/Makefile src/gigedit/Makefile + src/gigedit/gfx/Makefile src/plugin/Makefile gfx/Makefile po/Makefile.in