ソースを参照

2009-05-15 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

	Defined ENABLE_XML_RPC
	* configure.ac
	* configure
	* config.h.in
Tatsuhiro Tsujikawa 16 年 前
コミット
0666b1ea98
4 ファイル変更21 行追加0 行削除
  1. 7 0
      ChangeLog
  2. 3 0
      config.h.in
  3. 7 0
      configure
  4. 4 0
      configure.ac

+ 7 - 0
ChangeLog

@@ -1,3 +1,10 @@
+2009-05-15  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
+
+	Defined ENABLE_XML_RPC
+	* configure.ac
+	* configure
+	* config.h.in
+
 2009-05-15  Tatsuhiro Tsujikawa  <t-tujikawa@users.sourceforge.net>
 
 	Added ExpatXmlRpcRequestProcessor

+ 3 - 0
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
 

+ 7 - 0
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='#'

+ 4 - 0
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"])