From 0666b1ea98ffd240b238bdd1cc688597dbad90d7 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 15 May 2009 08:24:56 +0000 Subject: [PATCH] 2009-05-15 Tatsuhiro Tsujikawa Defined ENABLE_XML_RPC * configure.ac * configure * config.h.in --- ChangeLog | 7 +++++++ config.h.in | 3 +++ configure | 7 +++++++ configure.ac | 4 ++++ 4 files changed, 21 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8b4f248b..b14c172d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-05-15 Tatsuhiro Tsujikawa + + Defined ENABLE_XML_RPC + * configure.ac + * configure + * config.h.in + 2009-05-15 Tatsuhiro Tsujikawa Added ExpatXmlRpcRequestProcessor diff --git a/config.h.in b/config.h.in index 34281c4b..91186628 100644 --- a/config.h.in +++ b/config.h.in @@ -30,6 +30,9 @@ /* Define to 1 if ssl support is enabled. */ #undef ENABLE_SSL +/* Define to 1 if XML-RPC support is enabled. */ +#undef ENABLE_XML_RPC + /* Define to 1 if you have the `alarm' function. */ #undef HAVE_ALARM diff --git a/configure b/configure index fd85d400..00bd5ce6 100755 --- a/configure +++ b/configure @@ -7682,6 +7682,13 @@ if test "x$have_libxml2" = "xyes" || test "x$have_libexpat" = "xyes"; then enable_xml_rpc=yes fi +if test "x$enable_xml_rpc" = "xyes"; then + +cat >>confdefs.h <<\_ACEOF +#define ENABLE_XML_RPC 1 +_ACEOF + +fi if test "x$enable_xml_rpc" = "xyes"; then ENABLE_XML_RPC_TRUE= ENABLE_XML_RPC_FALSE='#' diff --git a/configure.ac b/configure.ac index 092aee2b..7f773728 100644 --- a/configure.ac +++ b/configure.ac @@ -147,6 +147,10 @@ if test "x$have_libxml2" = "xyes" || test "x$have_libexpat" = "xyes"; then enable_xml_rpc=yes fi +if test "x$enable_xml_rpc" = "xyes"; then + AC_DEFINE([ENABLE_XML_RPC], [1], + [Define to 1 if XML-RPC support is enabled.]) +fi AM_CONDITIONAL([ENABLE_XML_RPC], [test "x$enable_xml_rpc" = "xyes"]) AM_CONDITIONAL([HAVE_LIBXML2], [test "x$have_libxml2" = "xyes"])