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

Re: svn commit: r1131120 - in /subversion/trunk: INSTALL Makefile.in build.conf configure.ac subversion/libsvn_client/add.c subversion/libsvn_subr/io.c

From: Stefan Sperling <stsp_at_elego.de>
Date: Sat, 4 Jun 2011 17:12:05 +0200

On Sat, Jun 04, 2011 at 06:07:56PM +0300, Daniel Shahaf wrote:
> stsp_at_apache.org wrote on Fri, Jun 03, 2011 at 17:54:12 -0000:
> > + 21. libmagic (OPTIONAL)
> > +
> > + Subversion's configure script attempts to find libmagic automatically.
> > + If it is installed in a non-standard location, then use:
> > +
> > + --with-libmagic=/path/to/libmagic/prefix
> > +
> > + The files include/magic.h and lib/libmagic.so.1.0 (or similar)
> > + are expected beneath this prefix directory. If they cannot be
> > + found Subversion will be compiled without support for libmagic.
> > +
>
> Usually our behaviour is different than what you describe here:
>
> * --with-libmagic not passed: compile with libmagic if it's present
>
> * --with-libmagic passed: compile with libmagic, error out if it's not
> found or unusable
>
> Why the inconsistency?

Because I somehow got the autoconf goo to work this way after a lot
of trial and error.

If you know how to improve it please do so. I am trying not to touch
this autoconf stuff ever again unless it's seriously broken for some reason.
Received on 2011-06-04 17:12:51 CEST

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.