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

Re: latest 1.3.x's "./configure" ignoring "--without-apr"

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2005-12-26 20:49:00 CET

On Mon, Dec 19, 2005 at 03:20:06PM -0800, OpenMacNews wrote:
> > APR and APR-util are mandatory, not optional (even for non-mod_dav_svn
>
> ok. i did not realize that.
>
> YES, i now know it's stated in INSTALL ... i'd allowed myself to be 'led' by the fact the
> "./configure --help" output (which is my usual starting point for build documentation) includes:
>
> Optional Packages:
> --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
> --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
> --with-apr=PATH prefix for installed APR, path to APR build tree
>
> which, to my (admittedly incorrect) read, implies that
> (a) apr *is* an "Optional Package"
> and,
> (b) --without-apr turns its use *off*
>

Yes, our configure output isn't exactly optimal (though in our defence,
a lot of that output is generated by autoconf itself). I'm not
entirely sure what the 'proper' way is for configure scripts to present
configuration options for non-optional packages: neither --enable-FEATURE
nor --with-PACKAGE really seems appropriate.

> might i suggest a clarification in the configure output? if ONLY to state at/near those lines
> "APR is NOT OPTIONAL, READ 'INSTALL'"?
>

We could do something like that, but I'm a little wary of adding yet
more text to the configure output: it's overlong as-is. Also, INSTALL
is fairly explcit:

   "Whenever you want to build any part of Subversion, you need the
    Apache Portable Runtime (APR) and the APR Utility (APR-util)
    libraries."

Regards,
Malcolm

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 26 20:52:08 2005

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