Re: [PATCH:wayland-demos 1/2] Make sure pkg-config is available when autoreconfing.

2011-04-07 Thread Kristian Høgsberg
2011/4/7 Cyril Brulebois : > Kristian Høgsberg (07/04/2011): >> The way I use the pkgconfig macros is pretty standard - I don't see >> any other projects use this extra check... > > I discussed that with pkg-config upstream past night, and he agreed > documenting such a check would be nice. Just h

Re: [PATCH:wayland-demos 1/2] Make sure pkg-config is available when autoreconfing.

2011-04-07 Thread Cyril Brulebois
Kristian Høgsberg (07/04/2011): > The way I use the pkgconfig macros is pretty standard - I don't see > any other projects use this extra check... I discussed that with pkg-config upstream past night, and he agreed documenting such a check would be nice. Just haven't opened a bug entry with a pat

Re: [PATCH:wayland-demos 1/2] Make sure pkg-config is available when autoreconfing.

2011-04-07 Thread Kristian Høgsberg
On Wed, Apr 6, 2011 at 12:05 PM, Cyril Brulebois wrote: > If pkg-config isn't available, autoreconf -vfi will succeed, but > ./configure will break badly: > | ./configure: line 3424: syntax error near unexpected token > `PKG_CHECK_MODULES' > | ./configure: line 3424: `PKG_CHECK_MODULES(COMPOSITOR

[PATCH:wayland-demos 1/2] Make sure pkg-config is available when autoreconfing.

2011-04-06 Thread Cyril Brulebois
If pkg-config isn't available, autoreconf -vfi will succeed, but ./configure will break badly: | ./configure: line 3424: syntax error near unexpected token `PKG_CHECK_MODULES' | ./configure: line 3424: `PKG_CHECK_MODULES(COMPOSITOR,' Fix that by checking the PKG_PROG_CONFIG macro is available when