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

problem building with system version of neon

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2001-11-18 04:59:23 CET

so i was just working on upgrading the freebsd port to use a version
of neon installed on the system instead of the one shipped with
subversion, and i ran into an interesting problem.

in neon.m4 we are adding neon's CFLAGS to our own by doing this:

CFLAGS="$CFLAGS `$neon_config --cflags | sed -e 's/-I.* //g'`"

unfortunately, on my system, the last thing in the output of
'neon-config --cflags' is '-I/usr/include', which doesn't get filtered
out by the regex, so i end up with '-I/usr/include' in my CFLAGS,
which screws everything up because we end up including the system's
version of db.h, rather than the one installed by berkeley db.

i think the sed command should be changed to match either '-I.* ' or
'-I.*<end of input>', but i can't figure out what the regex foo for
<end of input> should be, and i can't test it and produce a patch
anyway since the version of autoconf on this machine is too old to
regenerate configure.

if someone who has more of a clue about sed than i do could take a
look at this i would appreciate it.

thanks,

-garrett

-- 
garrett rooney                     Unix was not designed to stop you from 
rooneg@electricjellyfish.net       doing stupid things, because that would  
http://electricjellyfish.net/      stop you from doing clever things.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:48 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.