On Thu, 2010-01-07 at 10:06 -0800, Dan Nicholson wrote:

> On Wed, Jan 6, 2010 at 2:25 PM, Gaetan Nadon <[email protected]> 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 <[email protected]>
> > 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
_______________________________________________
xorg-devel mailing list
[email protected]
http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to