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. || sk...@iskunk.org My ASCII-art .sig got a bad case of Times New Roman.
Index: configure.ac =================================================================== --- configure.ac (revision 1351789) +++ configure.ac (working copy) @@ -373,6 +373,9 @@ [svn_lib_expat="$withval"], [svn_lib_expat="::expat"]) +# apr-util accepts "builtin" as an argument to this option +test "_$svn_lib_expat" = "_builtin" && svn_lib_expat="::expat" + AC_MSG_CHECKING([for Expat]) if test -n "`echo "$svn_lib_expat" | $EGREP ":.*:"`"; then SVN_XML_INCLUDES=""