= Config.site = When cross-compiling, it's sometimes helpful to store the settings in a shell script, such as config.site. For example: you may want to tell configure that RTEMS has a int32_t available to it, but the configure script can't find the int32_t, then config.site can be used to tell configure there is an int32_t. For RTEMS, a place that would make sense for config.site might be: /opt/rtems-4.11/share/config.site # /opt/rtems-4.11/share/config.site for configure # # Change some defaults. test "$prefix" = NONE && prefix=/opt/rtems-4.11/ test "$exec_prefix" = NONE && exec_prefix=/opt/rtems-4.11/ test "$sharedstatedir" = '${prefix}/com' && sharedstatedir=/var test "$localstatedir" = '${prefix}/var' && localstatedir=/var # Give Autoconf 2.x generated configure scripts a shared default # cache file for feature test results, architecture-specific. if test "$cache_file" = /dev/null; then cache_file="$prefix/var/config.cache" # A cache file is only valid for one C compiler. CC=gcc fi To get a configure script to read config.site input on the command line: $ CONFIG_SITE=/opt/rtems-4.11/share/config.site= References = http://www.gnu.org/software/autoconf/manual/autoconf-2.67/html_node/Site-Defaults.html