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

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

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-04-09 12:53:51 CEST

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.

Now ac_configure_args contains the arguments passed to the configure
process, and sure enough I get the same error message by invoking the
command

$ ../../svn/apr-util/configure MKDIR='/home/pm/sw/subversion/svn/ac-helpers/install-sh -c -d'

This form of the command works

$ MKDIR='/home/pm/sw/subversion/svn/ac-helpers/install-sh -c -d' ../../svn/apr-util/configure

as does exporting MKDIR.

Is this an apr-util problem, a Subversion problem or is autoconf-2.53
broken?

-- 
Philip, who is fed up with shell scripts.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Apr 9 12:54:40 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.