manpagez: man pages & more
info autoconf
Home | html | info | man

File: autoconf.info,  Node: Sharing Defaults,  Next: Defining Variables,  Prev: System Types,  Up: Running configure Scripts

16.7 Sharing Defaults
=====================

If you want to set default values for ‘configure’ scripts to share, you
can create a site shell script called ‘config.site’ that gives default
values for variables like ‘CC’, ‘cache_file’, and ‘prefix’.  ‘configure’
looks for ‘PREFIX/share/config.site’ if it exists, then
‘PREFIX/etc/config.site’ if it exists.  Or, you can set the
‘CONFIG_SITE’ environment variable to the location of the site script.
A warning: not all ‘configure’ scripts look for a site script.

© manpagez.com 2000-2025
Individual documents may contain additional copyright information.