[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-cvs
Subject:    svn commit: r1189540 - /httpd/httpd/trunk/modules/filters/config.m4
From:       niq () apache ! org
Date:       2011-10-26 23:47:19
Message-ID: 20111026234719.3ED772388847 () eris ! apache ! org
[Download RAW message or body]

Author: niq
Date: Wed Oct 26 23:47:18 2011
New Revision: 1189540

URL: http://svn.apache.org/viewvc?rev=1189540&view=rev
Log:
mod_xml2enc/mod_proxy_html drop
Part 3: Introduce them to autoconf
I expect this'll want further attention, but not tonight

Modified:
    httpd/httpd/trunk/modules/filters/config.m4

Modified: httpd/httpd/trunk/modules/filters/config.m4
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/config.m4?rev=1189540&r1=1189539&r2=1189540&view=diff
 ==============================================================================
--- httpd/httpd/trunk/modules/filters/config.m4 (original)
+++ httpd/httpd/trunk/modules/filters/config.m4 Wed Oct 26 23:47:18 2011
@@ -89,6 +89,30 @@ APACHE_MODULE(deflate, Deflate transfer 
   fi
 ])
 
+AC_DEFUN(FIND_LIBXML2, [
+  AC_ARG_WITH(libxml2, 
+    [APACHE_HELP_STRING(--with-libxml2,location for libxml2)],
+    [test_paths="${with_libxml2}"],
+    [test_paths="/usr/include/libxml2 /usr/local/include/libxml2 /usr/include \
/usr/local/include"] +  )
+  AC_MSG_CHECKING(Checking for libxml2)
+  xml2_path=""
+  for x in ${test_paths}; do
+      if test -e "${x}/libxml/parser.h"; then
+        xml2_path="${x}"
+        break
+      fi
+  done
+  if test -n ${xml2_path}; then
+    APR_ADDTO(CFLAGS, [-I${xml2_path}])
+  else
+    AC_MSG_ERROR([libxml2 headers not found!])
+  fi
+])
+
+APACHE_MODULE(xml2enc, i18n support for markup filters, , , , FIND_LIBXML2)
+APACHE_MODULE(proxy_html, Fix HTML Links in a Reverse Proxy, , , , FIND_LIBXML2)
+
 APR_ADDTO(INCLUDES, [-I\$(top_srcdir)/$modpath_current])
 
 APACHE_MODPATH_FINISH


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic