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

Re: apr-util, autoconf-2.53 and builddir != srcdir

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-04-13 01:07:05 CEST

Philip Martin <philip@codematters.co.uk> writes:

> Hi
>
> Subversion's ac-helpers/aprutil.m4 has the code
>
> ac_configure_args_save=$ac_configure_args
> ac_configure_args="$ac_configure_args MKDIR=\"$MKDIR\""
> SVN_SUBDIR_CONFIG(apr-util, --with-apr=../apr)
> ac_configure_args=$ac_configure_args_save
>
> This causes MKDIR to be set for the apr-util configure, which is
> required for the xml/expat directory to be created by configure when
> builddir != srcdir.
>
> At least that's how it used to work. It doesn't work for me now, and
> I think it is because I have just switched to autoconf-2.53 (which has
> just appeared in debian/testing). The error message is
>
> configuring package in xml/expat now
> /home/pm/sw/subversion/svn/apr-util/configure: xml/expat: No such file or directory
> /home/pm/sw/subversion/svn/apr-util/configure: cd: xml/expat: No such file or directory
> configure: warning: MKDIR=/home/pm/sw/subversion/svn/ac-helpers/install-sh -c -d: invalid host type
> loading cache /dev/null
> checking host system type... config.sub: too many arguments
> Try `config.sub --help' for more information.

Well, I worked out what is going on. I am using a 'Debian testing'
system and this has both autoconf-2.53 and autoconf-2.13
installed. Plain autoconf uses heuristics to invoke either
autoconf-2.53 or autoconf-2.13 depending on the auto* filenames and
contents. Now when running configure in apr-util autoconf-2.13 gets
used and this does not appear to support './configure VAR=value'. If
I set things up so that the heuristics choose autoconf-2.53 then the
problem goes away.

This problem would appear to be specific to the Debian testing and
unstable distributions :-/

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 13 01:07:51 2002

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.