Discussion:
--site option
Ben Elliston
2016-04-03 21:20:49 UTC
Permalink
My generated configure script recognises a --site option:

-site | --site | --sit)
ac_prev=site ;;
-site=* | --site=* | --sit=*)
site=$ac_optarg ;;

However, $site is never referred to. What's the purpose of this? Is
it meant to be a command line analogue for the CONFIG_SITE environment
variable?

Cheers, Ben
Paul Eggert
2016-04-03 21:40:57 UTC
Permalink
Post by Ben Elliston
-site | --site | --sit)
ac_prev=site ;;
-site=* | --site=* | --sit=*)
site=$ac_optarg ;;
However, $site is never referred to. What's the purpose of this?
If memory serves, there used to be a -site option in all 'configure' scripts.
That feature was removed decades ago, and the above code attempts to cater to
people who were invoking 'configure' with the old option.
Ben Elliston
2016-04-03 22:01:15 UTC
Permalink
Post by Paul Eggert
If memory serves, there used to be a -site option in all 'configure'
scripts. That feature was removed decades ago, and the above code
attempts to cater to people who were invoking 'configure' with the
old option.
Ah, OK, thanks. The option must be old -- it's not even in Autoconf
2.10!

Cheers, Ben

Loading...