checking arguments of type --with- and --enable- passed to configure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have an application for which the configure command should
accept a variety of --with-package and --enable-feature 
arguments. I am using (I think) the correct macros to process
these. 

I would like to know if there is a recommended way of checking
if any incorrect --with or --enable arguments have been given,
it is quite easy to mis-spell or to use --with when --enable 
was needed.

I used to have a block of code to do this explicity checking the
contents of $* but since autoconf 2.60 $* contains the following:
 /usr/local/share/config.site /usr/local/etc/config.site

Is there any way to check the args using macros, or if not,
to access them in a way that is is independent ofautoconf version.

thanks,

Paul

--
===================================================================
Dr Paul Sherwood,           email:  p.sherwood@xxxxxxxxxxxxxxx
STFC Daresbury Lab,         tel:    +44-1925-603553
Warrington,                 fax:    +44-1925-603634
WA4 4AD,  UK.               http:   http://www.cse.stfc.ac.uk
===================================================================



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

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux