pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: syntax error near unexpected token `GTK,'


From: Ben Pfaff
Subject: Re: syntax error near unexpected token `GTK,'
Date: Wed, 22 Oct 2008 22:01:40 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

John Darrington <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]