]> granicus.if.org Git - postgresql/commit
Run AC_PROG_GCC_TRADITIONAL only when running AC_PROG_CC,
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 Oct 1998 17:57:52 +0000 (17:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 29 Oct 1998 17:57:52 +0000 (17:57 +0000)
commit579b72c5de07ff8a17f51a9144ea4d1538ad3028
tree023cc1ce589137eff805207b2a64f8c127bcb1ba
parent9e38dcfd43036dfcafd2044b182fe29e07dab3d6
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.
src/configure.in