Re: add server include files to default installation?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
Cc: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>, PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: add server include files to default installation?
Date: 2004-05-17 01:24:07
Message-ID: 200405170124.i4H1O7m06311@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Marc G. Fournier wrote:
> > > As an illustration, the apache software installs by default all
> > > necessary includes and even a special tailored command (apxs) so as
> > > to help extension modules to be compiled, installed and even configured
> > > easilly.
> > >
> > > Is there any opposition to this move? Silence will mean consent;-)
> >
> > Agreed. I would also like to see Makefile.global installed.
> > pg_config.h has C-level configs, and Makefile.global has the
> > Makefile-level configs.
>
> Don't agree with Makefile.global, cause then you have to also install the
> physical template files for the various operating system too, no? What
> else does Makefile.global rely on?

I think you would need the src/makefile files. The template files are
only used during configure. You might need some more include stuff too,
not sure. I see:

include $(top_builddir)/src/Makefile.port

and this gets confusing because Makefile.port is a symlink to the actual
file. I wonder if we could copy the actual file as Makefile.port. I
think that would work.

Anyway, I can also see packagers greping the Makefile for information.
For example, it is hard to know the thread flags except from the file.

--
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

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2004-05-17 03:02:31 Re: Call for 7.5 feature completion
Previous Message Marc G. Fournier 2004-05-17 01:17:27 Re: add server include files to default installation?