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

Issue: Top-level --with-expat option does not accept apr-util's "builtin" argument

From: Daniel Richard G. <skunk_at_iSKUNK.ORG>
Date: Tue, 19 Jun 2012 14:10:02 -0400

The apr-util package accepts an option --with-expat, described in the
configure script help output as

    --with-expat=DIR specify Expat location, or 'builtin'

I want to use 'builtin'. Knowing that the options I give to Subversion's
top-level configure script are passed down to the sub-projects, I
specify --with-expat=builtin to the top-level script.

Uh oh, I get this:

    checking for Expat... no
    configure: error: Invalid syntax of argument of --with-expat option

The top-level script also takes a --with-expat option, but it is
described a little differently:

    --with-expat=INCLUDES:LIB_SEARCH_DIRS:LIBS
                            Specify location of Expat

The three-part argument syntax is enforced by the script, which is why
the 'builtin' argument didn't work.

I've attached a proposed patch against SVN that allows the top-level
script to accept the 'builtin' value, and otherwise behave as though the
--with-expat option had not been specified at all.

This is only a partial workaround, however, because if I wanted to
specify an external Expat location to apr-util, there would still be no
way to do so. Either the syntax of these two options needs to be
harmonized, or Subversion should rename its option to something not
already used by a sub-project.

--Daniel

(Please Cc: me on any replies, as I am not subscribed to this list.)

-- 
Daniel Richard G. || skunk_at_iSKUNK.ORG
My ASCII-art .sig got a bad case of Times New Roman.

Received on 2012-06-20 02:11:03 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.