[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Command-line option processing
From: |
Ralf Wildenhues |
Subject: |
Re: Command-line option processing |
Date: |
Mon, 29 Oct 2007 16:53:49 +0100 |
User-agent: |
Mutt/1.5.16 (2007-10-15) |
Hello Sébastien,
* Sébastien Hinderer wrote on Mon, Oct 29, 2007 at 04:47:22PM CET:
>
> No. I am looking for a way to catch the options the script really knows
> nothing about. To be more concrete: the configure script of the brltty
> project uses an option called -with-braille-drivers=. For the moment,
> when configure is called with the mis-spelled
> -with-braile-drivers=something (one l instead of two ls), the user is
> not warned. We would like to detect the incorrect options and to report
> them. Is that possible ?
The next Autoconf version will warn by default on --enable/--disable
and --with/--without switches it knows nothing about. (There are ways
to turn this warning off, and there are still nits wrt. package trees
(AC_CONFIG_SUBDIRS), but otherwise it should do by itself just what you
want.)
Cheers,
Ralf