>>>>> "Russ" == Russ Allbery <[EMAIL PROTECTED]> writes:

Russ> XEmacs already uses --with-cc and --with-cflags, 

I don't like this at all: you don't even respect the name of the
variables!  It means two things to learn: the name of the variable for
make, and the interface from configure.

Russ> although I'd tend to go for the shorter --cc=sun-cc and
Russ> --cflags=-O2.  You'd also need --cxx and --cxx-flags; I'm not
Russ> sure what other environment variables are similarly special.

Plenty of others, and actually even the author of a configure.in
doesn't know all the variables.  We need an open scheme exactly like
we had before:

        CC=gcc-1.0 CFLAGS='-knr -picky' ./configure

but which is visible by configure:

        ./configure CC=gcc-1.0 CFLAGS='-knr -picky'

Reply via email to