[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: Daniel Shahaf <danielsh_at_elego.de>
Date: Sat, 4 Jun 2011 18:07:56 +0300

stsp_at_apache.org wrote on Fri, Jun 03, 2011 at 17:54:12 -0000:
> Modified: subversion/trunk/INSTALL
> URL: http://svn.apache.org/viewvc/subversion/trunk/INSTALL?rev=1131120&r1=1131119&r2=1131120&view=diff
> ==============================================================================
> --- subversion/trunk/INSTALL (original)
> +++ subversion/trunk/INSTALL Fri Jun 3 17:54:12 2011
> @@ -146,6 +146,13 @@ I. INTRODUCTION
> Subversion contains optional support for storing passwords in
> KWallet (KDE 4) or GNOME Keyring.
>
> + * libmagic
> +
> + If the libmagic library is detected at compile time,
> + it will be used to determine mime-types of binary files
> + which are added to version control. Note that mime-types
> + configured via auto-props or the mime-types-file option
> + take precedence.
>
> C. Dependencies in Detail
>
> @@ -565,6 +572,21 @@ I. INTRODUCTION
>
> For more information on CSVN, see subversion/bindings/ctypes-python/README.
>
> + 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?

> + If libmagic is installed but support for it should not be compiled
> + in, then use:
> +
> + --with-libmagic=no
Received on 2011-06-04 17:09:04 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.