On 08/13/2014 05:54 AM, fr33domlover wrote:
> What would be an appropriate way to offer such an option? Preferrably it 
> should
> appear in ./configure --help, but if not there must be some other good place 
> to
> let people know it exists.

AC_ARG_WITH() is probably the most-used solution for this, where you let
the user supply a path name as the argument, and where the option will
be documented in ./configure --help.

AC_ARG_WITH([css-files],
 [AS_HELP_STRING([--with-css-files], [location of css files
   to use with generated html])],
 [ ... set your variable to the user's provided string ... ],
 [ ... default your variable to your in-tree location ... ])

lets the end user do ./configure --with-css-files=/path/to/alternate

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to