[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Automake stuff

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-01-22 20:05:33 CET

On Mon, Jan 22, 2001 at 01:36:58PM -0500, Kevin Pilch-Bisson wrote:
> Hi again all,
> I have been exploring how to use automake/autoconf stuff today, and I
> noticed a problem with the subversion Makefile.am's. If one was to run
> 'make dist' first of all it would not work because of the apr stuff.

Yup. We haven't worked on the install/distro stuff since we don't have a
product yet :-)

> However, even if the apr stuff complied with automake, running make
> 'distcheck' would still fail because dist check uses a VPATH build, and
> subversion's INCLUDE macros reference directories relatively. Since

Good point. Mo DeJong was doing some work to fix up the VPATH builds.
Unfortunately, I keep missing my Round Tuit and getting the needed tweaks
checked in. Sascha did some APR work a few weeks ago, so I think we're only
missing a MKDIR= in configure.in. Once you can at least configure, then the
"make" and "make distcheck" will start to be important.

> some users do indeed use VPATH builds we should probably fix these
> INCLUDE macros at some point before subversion makes it to 1.0. All
> that is required is to replace '-I../include' with
> '-I@srcdir@/../include' so it isn't really all that much work, just
> something that needs to be kept in mind. I'll start doing it if anyone
> is interested in having it done now.

Hmm. There is probably a top_srcdir or something similar. I'd rather see the
include directories come from that angle, rather than the relative paths. It
would also be reasonable to create APR_INCLUDES, NEON_INCLUDES, etc, have
configure set those up, and then have the makefiles just refer to those
(rather than *any* path info).

> P.S. Let me know if I am bothering anyone by posting so many little
> things to the list, I can keep my mouth shut (fingers still), but I
> usually need someone to tell me to first :)

Not at all. The only problem will be that we skip a patch. If you don't see
action on a particular patch, then just repost the patch with a reminder.
Speaking for myself, I get too much mail for too many projects. Stuff ends
up dropping on the floor.


Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:19 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.