Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
>
> > + # We already have this in Makefile.win32, but configure needs it too
> > + if test "$PORTNAME" = "win32"
> > + then
> > + CPPFLAGS="$CPPFLAGS -Isrc/include/port/win32"
> > + fi
>
> This seems unlikely to work when building outside the source tree.
Oh. Any ideas on how to handle that? The other reference uses:
override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32"
but top_srcdir isn't defined at this point. This is there only so
'configure' sees those include files. Does that relate to building
outside the tree?
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073