On Tue, Jul 05, 2005 at 04:16:04PM -0400, Tom Lane wrote: > Marko Kreen <marko@l-t.ee> writes: > > On Tue, Jul 05, 2005 at 03:58:43PM -0400, Tom Lane wrote: > >> You mean Makefile.global.in, no? That seems fine to me. > > > No, thats the point - the PGXS include also includes > > Makefile.global, and including it twice does not work. > > So? pgxs.mk includes Makefile.global before doing anything interesting. > Seems to me you could do what you need to given make's rules about > delayed evaluation of variables.
How? Current config is done using make ifdef/ifeq which are executed immidately. I don't know make that well, maybe there is a way to put if's inside variables, but that would get rather messy, no? -- marko ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq