Re: config.h (was Re: Misc. consequences of backend memory management changes)
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Development <pgsql-hackers@postgresql.org>
Date: 2000-07-01T15:04:04Z
Lists: pgsql-hackers
Tom Lane writes: > I looked at autoheader and it strikes me as yet another glorified > 'cat'. If we used it, we'd basically have an acconfig.h that contains > exactly what's now in the handgenerated config.h.in, and autoheader > would copy it all to config.h.in. That mechanism is obsolete, autoheader is much smarter now (2.13). In order to get the comments onto the symbols you write AC_DEFINE(HAVE_FOO, [], [Define if you have foo]) I.e., you document the stuff where you define it. > What do you think of pulling the remaining hand-settable symbols out > into a separate file, maybe called something like "siteconfig.h"? That seems like a good idea. -- Peter Eisentraut Sernanders väg 10:115 peter_e@gmx.net 75262 Uppsala http://yi.org/peter-e/ Sweden