Hi Stepan,

* Stepan Kasal wrote on Fri, Aug 19, 2005 at 03:02:34PM CEST:
>   
> On Fri, Aug 19, 2005 at 10:02:37AM +0200, Ralf Wildenhues wrote:
> > but I think Autoconf sanitizes the $enable_* variables so that it is not
> > necessary to do so (`-' is changed to `_').
> 
> No, this is not true.  
> 
> If the user, calls ./configure --enable-certification=-n, then variable
> enable_certification="-n".

Yep.  Thinko again (variable names != variable contents).

> The documentation say that there are platforms which would be confused by
>       test "-n" != no
> so Autoconf traditionally uses
>       test x"$enable_certification" != xno
> 
> I'm not sure whether
>       test no != -n
> can couse problems on some platforms...

I'd guess not.

> > I see that several examples in the Autoconf manual do this differently.
> > Below is a proposed patch to fix this.
> 
> Yes, Ralph, the patch looks good.

Thanks,
Ralf


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to