Received: from foghorn.airs.com (IDENT:qmailr@foghorn.airs.com [63.201.54.26]) by hub.org (8.10.1/8.11.0) with SMTP id e9QIJAU16333 for ; Thu, 26 Oct 2000 14:19:10 -0400 (EDT) (envelope-from ian@airs.com) Received: (qmail 3830 invoked by uid 10); 26 Oct 2000 18:19:08 -0000 Received: (qmail 16195 invoked by uid 269); 26 Oct 2000 18:19:03 -0000 Message-ID: <20001026181903.16194.qmail@daffy.airs.com> Date: 26 Oct 2000 11:19:03 -0700 From: Ian Lance Taylor To: pgsql-admin@postgresql.org Subject: Building in a different directory X-Archive-Number: 200010/123 X-Sequence-Number: 917 I sent a message along these lines yesterday, but never saw a copy. Apologies if this is a repeat. I normally prefer to build packages in directory other than the source directory. When I get a package, I normally do something like this: tar -xzvf foo-1.0.tar.gz mkdir foo-objdir cd foo-objdir ../foo-1.0/configure make This is supported by autoconf in conjunction with GNU make. Is there any interest in changing Postgres to support this? The main change is to rename a lot of Makefile files to Makefile.in, add a couple of lines to each Makefile.in, and add the new Makefile.in files to the list in AC_OUTPUT in configure. For that matter, is there any interest in converting Postgres to use automake? Using automake, you write Makefile.am files instead of Makefiles. Makefile.am files are generally much smaller than Makefiles, and automake also provides a number of convenient features such as automatic dependency tracking. However, it is a shift in paradigm, and as such requires support from the developer community (for one thing, any developer who needs to modify a Makefile needs to install a copy of automake). I've automakified complex packages in the past, and I believe it's entirely doable for Postgres. Is this the right mailing list to discuss this issue? Ian