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

Re: [PATCH] Autotools fix

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-10-23 21:31:20 CEST

Scott Moynes <smoynes@nerdnest.org> writes:

> svn-config was erroring out due to bad escaping in the neon.m4 macro
> when building with neon in the subversion source tree:
>
> $ ./svn-config
> ./svn-config: line 1: abs_builddir: command not found
> ./svn-config: line 1: abs_srcdir: command not found

I don't get that error, what OS/shell are you using?

> * build/ac-macros/neon.m4: Fix variable escaping
>
> Index: build/ac-macros/neon.m4
> ===================================================================
> --- build/ac-macros/neon.m4 (revision 7499)
> +++ build/ac-macros/neon.m4 (working copy)
> @@ -51,8 +51,8 @@
> case "$NEON_VERSION" in
> $NEON_WANTED_REGEX)
> echo "Using neon found in source directory."
> - SVN_NEON_INCLUDES=-'I$(abs_srcdir)/neon/src'
> - NEON_LIBS="\$(abs_builddir)/neon/src/libneon.la"

I'm not a shell expert, is the original code bash specific?

> + SVN_NEON_INCLUDES=-"I$abs_srcdir/neon/src"
> + NEON_LIBS="$abs_builddir/neon/src/libneon.la"

Your NEON_LIBS change doesn't appear to do the right thing, it means
that the NEON_LIBS= line in the generated Makefile has a hard-coded
path rather than $(abs_builddir).

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 23 21:32:08 2003

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.