Skip site navigation (1) Skip section navigation (2)

Re: [PATCHES] MinGW patch

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>,PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: [PATCHES] MinGW patch
Date: 2003-09-07 04:22:13
Message-ID: 200309070422.h874MDY27224@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-cygwinpgsql-hackers-win32pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

Responses

pgsql-cygwin by date

Next:From: Tom LaneDate: 2003-09-07 04:29:48
Subject: Re: [PATCHES] MinGW patch
Previous:From: Tom LaneDate: 2003-09-07 04:05:28
Subject: Re: [PATCHES] MinGW patch

pgsql-patches by date

Next:From: Tom LaneDate: 2003-09-07 04:29:48
Subject: Re: [PATCHES] MinGW patch
Previous:From: Tom LaneDate: 2003-09-07 04:05:28
Subject: Re: [PATCHES] MinGW patch

pgsql-hackers-win32 by date

Next:From: Tom LaneDate: 2003-09-07 04:29:48
Subject: Re: [PATCHES] MinGW patch
Previous:From: Tom LaneDate: 2003-09-07 04:05:28
Subject: Re: [PATCHES] MinGW patch

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group