Patch config.m4.patch for solr Bug #60361
Patch version 2011-11-22 21:13 UTC
Return to Bug #60361 |
Download this patch
Patch Revisions:
Developer: eric@linkup.com
Index: config.m4
===================================================================
--- config.m4 (revision 319701)
+++ config.m4 (working copy)
@@ -3,12 +3,14 @@
dnl config.m4 for the solr extension
-AC_ARG_ENABLE(solr-debug,
-[ --enable-solr-debug Compile with solr in verbose mode],[
+PHP_ARG_ENABLE(solr-debug, whether to compile with solr in verbose mode,
+[ --enable-solr-debug Compile with solr in verbose mode], no, no)
+
+if test "$PHP_SOLR_DEBUG" != "no"; then
AC_DEFINE(SOLR_DEBUG, 1, [Setting the value of SOLR_DEBUG to 1 ])
-],[
+else
AC_DEFINE(SOLR_DEBUG_OFF, 1, [Setting the value of SOLR_DEBUG_OFF to 1 ])
-])
+fi
dnl Configuring the CURL external library
dnl This folder is the grand-parent folder of easy.h
|