Nested pkg-config macros in configure.ac

Gaetan Nadon memsize at videotron.ca
Tue Dec 1 14:38:47 PST 2009


On Tue, 2009-12-01 at 16:45 +1000, Peter Hutterer wrote:

> On Sat, Nov 28, 2009 at 09:50:52PM -0500, Gaetan Nadon wrote:
> > From 5570d7b274e6b3f369c7d3810a9f88fa9ffe2540 Mon Sep 17 00:00:00 2001
> > From: Gaetan Nadon <memsize at videotron.ca>
> > Date: Sat, 28 Nov 2009 21:32:47 -0500
> > Subject: [PATCH] configure.ac: error while checking for XDMXCONFIG_DEP
> > 
> > Introduced in commit 9998105a387e0294054502331a56e1e020cd93e4
> > The replacement third parameters to PKG_CHECK_MODULES([DMXMODULES]
> > was not quoted.
> > ---
> >  configure.ac |   14 +++++++++-----
> >  1 files changed, 9 insertions(+), 5 deletions(-)
> > 
> > diff --git a/configure.ac b/configure.ac
> > index 8500db4..1038734 100644
> > --- a/configure.ac
> > +++ b/configure.ac
> > @@ -1808,11 +1808,15 @@ AM_CONDITIONAL(XQUARTZ_SPARKLE, [test "x$XQUARTZ_SPARKLE" != "xno"])
> >  AM_CONDITIONAL(STANDALONE_XPBPROXY, [test "x$STANDALONE_XPBPROXY" = xyes])
> >  
> >  dnl DMX DDX
> > -PKG_CHECK_MODULES([DMXMODULES],
> > -    [xmuu $LIBXEXT x11 xrender xfixes xfont $LIBXI $DMXPROTO xau $XDMCP_MODULES],
> > -    PKG_CHECK_MODULES([XDMXCONFIG_DEP], [xaw7 xmu xt xpm x11], [have_dmx=yes],
> > -                      [have_dmx=no]),
> > -    [have_dmx=no])
> > +PKG_CHECK_MODULES(
> > +	[DMXMODULES],
> > +	[xmuu $LIBXEXT x11 xrender xfixes xfont $LIBXI $DMXPROTO xau $XDMCP_MODULES],
> > +	[PKG_CHECK_MODULES(
> > +		[XDMXCONFIG_DEP],
> > +		[xaw7 xmu xt xpm x11],
> > +		[have_dmx=yes],
> > +		[have_dmx=no])],
> > +	[have_dmx=no])
> >  AC_MSG_CHECKING([whether to build Xdmx DDX])
> >  if test "x$DMX" = xauto; then
> >  	DMX="$have_dmx"
> > -- 
> > 1.6.0.4
>  
> Gaetan, please add your signed-off-by to this patch, I'll send a new pull
> request to keith once we get it. Thanks.
> 

I have signed-off and added the tags obtained from the reviewers, thanks
to Dan and Julien. Now I think I understand how it works, let me know if
that's not the case. I noticed the problem is in both master and 1.7.2.
The patch was created in 1.7.2. Don't know if that matters.


> Cheers,
>   Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.x.org/archives/xorg-devel/attachments/20091201/3c53f548/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure.ac-error-while-checking-for-XDMXCONFIG_DE.patch
Type: text/x-patch
Size: 0 bytes
Desc: not available
Url : http://lists.x.org/archives/xorg-devel/attachments/20091201/3c53f548/attachment.bin 


More information about the xorg-devel mailing list