Re: Configure breaks by build

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

 



Hi Zack,

Am Montag, den 20.02.2017, 10:37 -0500 schrieb Zack Weinberg:
> On Sun, Feb 19, 2017 at 3:48 PM, Sascha Manns <Sascha.Manns@mailbox.o
> rg> wrote:
> > GDK30_MINIMUM_VERSION=2.99.0
> > GTK30_MINIMUM_VERSION=2.99.0
> > ATK_MINIMUM_VERSION=2.99.0
> > 
> > PKG_CHECK_MODULES(gdk-3.0 >= $GDK30_MINIMUM_VERSION
> >                   gtk+-3.0 >= $GTK30_MINIMUM_VERSION
> >                   atk >= $ATK_MINIMUM_VERSION)
> > 
> > After running the autogen.sh i'm getting:
> > 
> > configure.ac:48: error: AC_SUBST: `gdk-3.0 >=
> > $GDK30_MINIMUM_VERSION
> >                   gtk+-3.0 >= $GTK30_MINIMUM_VERSION
> >                   atk >= $ATK_MINIMUM_VERSION_CFLAGS' is not a
> > valid
> > shell variable name
> 
> Try instead
> 
> m4_define([GDK30_MINIMUM_VERSION], [2.99.0])
> m4_define([GTK30_MINIMUM_VERSION], [2.99.0])
> m4_define([ATK_MINIMUM_VERSION], [2.99.0])
> 
> PKG_CHECK_MODULES([
>     gdk-3.0 >= GDK30_MINIMUM_VERSION
>     gtk+-3.0 >= GTK30_MINIMUM_VERSION
>     atk >= ATK_MINIMUM_VERSION
> ])
> 
> I don't know that this will work, but it looks like PKG_CHECK_MODULES
> can't handle shell variables in its argument, so the obvious thing is
> to try m4 variables instead.
That one works. Thank you very much.

Greetings
Sascha

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux