--site option

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

--site option

Ben Elliston-37
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

_______________________________________________
Autoconf mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/autoconf

signature.asc (828 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: --site option

Paul Eggert
Ben Elliston wrote:
> 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?

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.

_______________________________________________
Autoconf mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/autoconf
Reply | Threaded
Open this post in threaded view
|

Re: --site option

Ben Elliston-37
On Sun, Apr 03, 2016 at 02:40:57PM -0700, Paul Eggert wrote:

> 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

_______________________________________________
Autoconf mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/autoconf

signature.asc (828 bytes) Download Attachment