You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2011/08/11 10:07:31 UTC
svn commit: r1156527 - /subversion/trunk/configure.ac
Author: danielsh
Date: Thu Aug 11 08:07:30 2011
New Revision: 1156527
URL: http://svn.apache.org/viewvc?rev=1156527&view=rev
Log:
* configure.ac
(--with-libmagic): Correctly handle '--without-libmagic'.
Found by: michael_rytting{_AT_}agilent.com
Tested by: none
Modified:
subversion/trunk/configure.ac
Modified: subversion/trunk/configure.ac
URL: http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=1156527&r1=1156526&r2=1156527&view=diff
==============================================================================
--- subversion/trunk/configure.ac (original)
+++ subversion/trunk/configure.ac Thu Aug 11 08:07:30 2011
@@ -737,7 +737,7 @@ AC_ARG_WITH(libmagic,AS_HELP_STRING([--w
AC_CHECK_LIB(magic, magic_open, [libmagic_found="builtin"])
])
libmagic_prefix="the default locations"
- else
+ elif test "$withval" != "no"; then
libmagic_prefix=$withval
save_cppflags="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS -I$libmagic_prefix/include"