[PATCH v2] add XORG_WITH_XMLTO to factorize xmlto tests
Gaetan Nadon
memsize at videotron.ca
Thu Jan 7 10:30:32 PST 2010
On Thu, 2010-01-07 at 10:06 -0800, Dan Nicholson wrote:
> On Wed, Jan 6, 2010 at 2:25 PM, Gaetan Nadon <memsize at videotron.ca> wrote:
> > On Wed, 2010-01-06 at 08:05 +0100, Matthieu Herrb wrote:
> >
> > >From 861790b2c9ac121d42d71c3258c24d1a6b265bc9 Mon Sep 17 00:00:00 2001
> > From: Matthieu Herrb <matthieu.herrb at laas.fr>
> > Date: Tue, 5 Jan 2010 23:04:25 +0100
> > Subject: [PATCH] Add XORG_WITH_XMLTO to factorize xmlto tests.
> >
> > This also allow to configure with --without-xmlto to ignore
> >
> > --without-xmlto: if you want it, you have to code it. Only --with-xmlto
> > works.
>
> I don't think that's true. The way AC_ARG_WITH works is that it
> accepts --with or --without prefixes and arguments after the =. So,
> the following should be equivalent:
>
> --with-xmlto=no
> --without-xmlto
>
> They both resolve to {with_xmlto,withval}=no.
>
Darn, it does not accept arguments for --without. When testing, I just
appended "out" to the --with. A highly sophisticated logic to prevent
double negative!
>$ ./configure --prefix $prefix --without-xmlto=no
configure: error: invalid package name: xmlto=no
Thanks for watching.
Gaetan
> --
> Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.x.org/archives/xorg-devel/attachments/20100107/1e9d3bc5/attachment-0001.htm
More information about the xorg-devel
mailing list