Re: MinGW patch - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: MinGW patch
Date
Msg-id 200309070422.h874MDY27224@candle.pha.pa.us
Whole thread Raw
In response to Re: MinGW patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: MinGW patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: MinGW patch  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
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

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: MinGW patch
Next
From: Tom Lane
Date:
Subject: Re: MinGW patch