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

Re: Removed expat-lite, WAS: RE: svn commit: rev 1750 - trunk

From: <brane_at_xbc.nu>
Date: 2002-04-24 17:59:59 CEST

Quoting Marcus Comstedt <marcus@mc.pp.se>:

>
> "Sander Striker" <striker@apache.org> writes:
>
> > Errm. neon doesn't compile anymore in-tree if you don't have an
> > expat/libxml installed(me! ;). Like we discussed on irc, neon doesn't
> support
> > the newer expat that comes with apr-util.
> >
> > I've done some looking around in neons config files
> (macros/neon-xml-parser.m4),
> > but I have the feeling it is quite a change to get to work with both
> old
> > and new expat. Since I don't really want to dive into that I'm going
> to
> > leave this for people with more energy and karma in the config dept.
>
> I don't suppose there is a newer neon that supports the newer expat?
> I can't build subversion any longer either. :-6
>
> configure: error: no XML parser was found: expat or libxml>=1.8.3
> required
> configure failed for neon
>
>
> // Marcus

Can you try the following patch to neon/macros/neon-xml-parser.m4:

--- neon-0.19.3-old/macros/neon-xml-parser.m4 Sun Jan 6 22:35:35 2002
+++ neon-0.19.3/macros/neon-xml-parser.m4 Wed Apr 24 17:33:40 2002
@@ -35,13 +35,21 @@
 # FIXME: needs to take second arg for VPATH builds

 AC_DEFUN([NEON_XML_EXTERNAL_EXPAT], [
+ne_found_hdr=no
 case $neon_expat_dir in
 */libexpat.la)
        neon_using_libtool_expat=yes
        neon_expat_dir=`echo $neon_expat_dir | sed 's:/libexpat.la$::'`
 esac
 if test -r "$neon_expat_dir/xmlparse.h"; then
+ ne_found_hdr=yes
        AC_DEFINE(HAVE_XMLPARSE_H, 1, [Define if you have xmlparse.h])
+fi
+if test -r "$neon_expat_dir/expat.h"; then
+ ne_found_hdr=yes
+ AC_DEFINE(HAVE_EXPAT_H, 1, [Define if you have expat.h])
+fi
+if test "$ne_found_hdr" = "yes"; then
        AC_DEFINE(HAVE_EXPAT, 1, [Define if you have expat])
        CFLAGS="$CFLAGS -I$neon_expat_dir"
        dnl add the library (if it isn't a libtool library)

You'll have to run neon's autogen.sh script to regenerate configure,
and you should update subversion's ac-helpers/neon.m4, too.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 24 18:01:21 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.