I have found a minor problem with current configure.in.

Bruce Momjian <bruce@momjian.us>

Commit: 648f007fdb1e145df88839aab5aa4376d6e46afe
Author: Bruce Momjian <bruce@momjian.us>
Date: 1998-08-24T04:09:39Z
Releases: 7.1.1
I have found a minor problem with current configure.in.

[AC_MSG_RESULT(yes) AC_DEFINE(HAVE_LONG_INT_64)],

this line produces something like:

  echo "$ac_t""yes" 1>&6 cat >> confdefs.h <<\EOF

and would append garbage "yes cat" to confdefs.h. Of course the
result confdefs.h is not syntactically correct therefore following
tests using confdefs.h would all fail.  To avoid the problem, we
could switch the order of AC_MSG_RESULT and AC_DEFINE (see attached
patch). This happend on my LinuxPPC box.


Tatsuo Ishii t-ishii@sra.co.jp

Files

PathChange+/−
src/backend/optimizer/plan/subselect.c modified +1 −1
src/backend/parser/gram.c modified +499 −496
src/configure.in modified +1 −1