--- gigedit/trunk/configure.ac 2016/05/01 21:17:42 2898 +++ gigedit/trunk/configure.ac 2017/04/28 12:41:12 3134 @@ -5,7 +5,7 @@ m4_define(gigedit_ver_major, 1) m4_define(gigedit_ver_minor, 0) -m4_define(gigedit_ver_release, 0.svn10) +m4_define(gigedit_ver_release, 0.svn31) AC_INIT([gigedit], [gigedit_ver_major.gigedit_ver_minor.gigedit_ver_release]) AC_CONFIG_SRCDIR([configure.ac]) @@ -70,9 +70,14 @@ 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_PROG_PKG_CONFIG have_gtk3=no @@ -193,6 +198,7 @@ Makefile src/Makefile src/gigedit/Makefile + src/gigedit/gfx/Makefile src/plugin/Makefile gfx/Makefile po/Makefile.in