Run AC_PROG_GCC_TRADITIONAL only when running AC_PROG_CC,

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 579b72c5de07ff8a17f51a9144ea4d1538ad3028
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 1998-10-29T17:57:52Z
Releases: 7.1.1
Run AC_PROG_GCC_TRADITIONAL only when running AC_PROG_CC,
ie, not when user specifies --with-CC.  This corrects a scripting error
that I'm surprised hasn't been reported more often.  Moving the macro call
to the earlier point in the script is correct anyway: if -traditional is needed,
it should get added to CFLAGS before we start using the compiler for
other tests.

Files

PathChange+/−
src/configure.in modified +4 −4