>>>>> "Martin" == Martin Buchholz <[EMAIL PROTECTED]> writes:

Martin> The configure script I help maintain prints this:

Well, CVS Autoconf does this:

/tmp/a2ps-4.13 % ./configure --help                               nostromo 8:49
`configure' configures software source code packages to adapt to many kinds
of systems.

Usage: configure [OPTION]... [VAR=VALUE]... [HOST]

To safely assign special values to environment variables (e.g., CC,
CFLAGS...), give to `configure' the definition as VAR=VALUE.

[CUT]
Some influent environment variables:
  CFLAGS      Extra flags for the C compiler

(And it does *not* call your pager, eeek!)


Martin> The configure script also recognizes some environment
Martin> variables, each of which is equivalent to a corresponding
Martin> configure flag.  A specified configure flag always overrides
Martin> the environment variable.

We wanted to avoid the explosion of options.  CVS Autoconf remembers
all the variables which were set on its command line:

        ./configure extra_verbose=yes

plus those which were selected by the configure.in writer.

        CFLAGS=-gxemacs ./configure

We still have to chose a few default variables, but the next Autoconf
might provide a lot of the things you were missing.  Come on, join us :)

        Akim

Reply via email to