From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: utils C files |
Date: | 2002-07-15 23:04:48 |
Message-ID: | Pine.LNX.4.44.0207160058570.2259-100000@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Bruce Momjian writes:
> I have applied the following diff to make the sharing of C files among
> modules more sane. Instead of having configure.in set the file name to
> strdup.o and have the Makefiles specify the path, I set it to the full
> path $(top_builddir)/src/utils/strdup.o and have the makefiles use
> that directly, rather than going through with 'make -c dirname
> filename'.
Don't do that, it doesn't work. Building outside the source tree, weird
compilers, etc. The current state was the result of much labor to get rid
of exactly the state you reintroduced.
A secondary objection is that I've been meaning to replace configure
checks of the form
AC_CHECK_FUNCS(inet_aton, [], INET_ATON='inet_aton.o')
AC_SUBST(INET_ATON)
with one integrated macro, which doesn't work if we have to encode the
path into configure.
Also, do not tab-indent comments in makefiles. That makes them part of
the command to execute.
--
Peter Eisentraut peter_e(at)gmx(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2002-07-15 23:05:42 | Re: getopt_long search in configure |
Previous Message | Rod Taylor | 2002-07-15 23:01:22 | Re: Unused system table columns |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-07-15 23:32:27 | Re: utils C files |
Previous Message | Bruce Momjian | 2002-07-15 22:58:41 | Re: [PATCHES] CLUSTER not lose indexes |