<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.0">
</HEAD>
<BODY>
On Thu, 2010-01-07 at 10:06 -0800, Dan Nicholson wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Wed, Jan 6, 2010 at 2:25 PM, Gaetan Nadon <<A HREF="mailto:memsize@videotron.ca">memsize@videotron.ca</A>> 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 <<A HREF="mailto:matthieu.herrb@laas.fr">matthieu.herrb@laas.fr</A>>
> 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.
</PRE>
</BLOCKQUOTE>
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!
<BLOCKQUOTE>
<PRE>
>$ ./configure --prefix $prefix --with<B>out</B>-xmlto=no
configure: error: invalid package name: xmlto=no
</PRE>
</BLOCKQUOTE>
<BR>
Thanks for watching.<BR>
<BR>
Gaetan<BR>
<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
<PRE>
--
Dan
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>