-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm building a configure.ac file that would like to provide some platform-specific options as command-line options. For example, on Solaris SPARC hosts, you can target sparc-generic code, if you wish, but it makes no sense to even see an option, - --enable-sparc-generic on an Intel Linux box. Is there a way to use AC_ENABLE_ARG conditionally, based on the contents of the $host variable, for example? I've also thought about the possibility of adding some "solaris only" text to the help text for the option. I've also considered adding an AC_MSG_ERROR message if someone attempts to use the option on a non-Solaris/Sparc host. But these options seem wrong to me. Thanks, John -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFIX9ucdcgqmRY/OH8RAmWpAJwPRDWppd8aaiGcpxz11mYjKnU+RACeJBKe NFfobfjyBbB8pkQcmDUp2v4= =GlUt -----END PGP SIGNATURE----- _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf