John Darrington <[EMAIL PROTECTED]> writes: > On Wed, Oct 22, 2008 at 06:00:11PM -0200, Michel Boaventura wrote: > With this patch I got this error: > > ./configure: line 17628: syntax error near unexpected token `GTK,' > ./configure: line 17628: ` PKG_CHECK_MODULES(GTK, gtk+-2.0 >= > $required_gtk_version,,' > make: *** [config.status] Error 2 > > I'm trying to compile using the snapshot version that Ben made from me > yesterday. > > Typically this means that autoconf didn't find the pkg.m4 file. This > is normally installed with the pkg-config package, so probably you > need to install pkg-config.
The following patch might make this recurring issue slightly more transparent, as it will then show up earlier, when "autoconf" is run rather than when "configure" is run. What do you think? diff --git a/configure.ac b/configure.ac index b00a75b..1abc804 100644 --- a/configure.ac +++ b/configure.ac @@ -15,6 +15,7 @@ AC_LIBTOOL_WIN32_DLL AC_LIBTOOL_DLOPEN AC_PROG_LIBTOOL PKG_PROG_PKG_CONFIG +m4_pattern_forbid([PKG_CHECK_MODULES]) AC_ARG_ENABLE( anachronistic-dependencies, -- "To the engineer, the world is a toy box full of sub-optimized and feature-poor toys." --Scott Adams _______________________________________________ pspp-dev mailing list [email protected] http://lists.gnu.org/mailman/listinfo/pspp-dev
