OSDN Git Service

I have found a minor problem with current configure.in.
authorBruce Momjian <bruce@momjian.us>
Mon, 24 Aug 1998 04:09:39 +0000 (04:09 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 24 Aug 1998 04:09:39 +0000 (04:09 +0000)
commit648f007fdb1e145df88839aab5aa4376d6e46afe
tree6feacd6d28c1d96363f60deb76633c71d49cdba6
parent0a15090dba13076012fcffba728926f8e40880e8
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
src/backend/optimizer/plan/subselect.c
src/backend/parser/gram.c
src/configure.in