On Aug 21, 2013, at 6:12 AM, Anders Broman <anders.broman@xxxxxxxxxxxx> wrote:
> Title says it all J
>
> checking for pkg-config... /usr/bin/pkg-config
> checking for GTK+ - version >= 3.0.0... no
> *** Could not run GTK+ test program, checking why...
> *** The test program failed to compile or link. See the file config.log for the
> *** exact error that occured. This usually means GTK+ is incorrectly installed.
> configure: error: GTK+ 3 is not available
> make: *** [distcheck] Error 1
To quote the automake manual:
> DISTCHECK_CONFIGURE_FLAGS
>
> Building the package involves running ‘./configure’. If you need to supply additional flags to configure, define them in the AM_DISTCHECK_CONFIGURE_FLAGS variable in your top-level Makefile.am. The user can still extend or override the flags provided there by defining the DISTCHECK_CONFIGURE_FLAGS variable, on the command line when invoking make.
so we probably should have the configure-script code that chooses which GUI toolkits to use (if any) set AM_DISTCHECK_CONFIGURE_FLAGS. I'll look at doing that.