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: the Bash configure
looks for a site script, but not all configure
scripts do.
Copyright © 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
Licensed under the GNU Free Documentation License.
https://www.gnu.org/software/bash/manual/html_node/Sharing-Defaults.html