mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Handle case when va_list is array.
This commit is contained in:
parent
1ed2b9149a
commit
c6ed8f6d2f
15
configure.in
15
configure.in
@ -241,6 +241,21 @@ else
|
|||||||
AC_MSG_RESULT(no)
|
AC_MSG_RESULT(no)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl this check is stolen from xmlrpc-c which is borrowed from Python 1.5.2.
|
||||||
|
AC_MSG_CHECKING([whether va_list is an array])
|
||||||
|
AC_TRY_COMPILE([
|
||||||
|
#include <stdarg.h>
|
||||||
|
],[
|
||||||
|
va_list list1, list2; list1 = list2;
|
||||||
|
],, va_list_is_array=yes)
|
||||||
|
|
||||||
|
if test "x$va_list_is_array" = "xyes"; then
|
||||||
|
AC_DEFINE(VA_LIST_IS_ARRAY, 1, [Define to 1 if your va_list is array])
|
||||||
|
AC_MSG_RESULT(yes)
|
||||||
|
else
|
||||||
|
AC_MSG_RESULT(no)
|
||||||
|
fi
|
||||||
|
|
||||||
dnl expand variables before EDE_INIT_JAM convert them to jam variables
|
dnl expand variables before EDE_INIT_JAM convert them to jam variables
|
||||||
EDE_EXPAND(sysconfdir, "NONE", my_sysconfdir)
|
EDE_EXPAND(sysconfdir, "NONE", my_sysconfdir)
|
||||||
|
|
||||||
|
@ -16,6 +16,8 @@ XMLRPC_C_TOP = $(XMLRPC_C_SRC_PATH) ;
|
|||||||
XMLRPC_C_LIB_DIR = [ FDirName $(XMLRPC_C_SRC_PATH) lib ] ;
|
XMLRPC_C_LIB_DIR = [ FDirName $(XMLRPC_C_SRC_PATH) lib ] ;
|
||||||
|
|
||||||
XMLRPC_C_FLAGS =
|
XMLRPC_C_FLAGS =
|
||||||
|
-DHAVE_CONFIG_H
|
||||||
|
-I$(TOP)
|
||||||
-I$(XMLRPC_C_SRC_PATH)
|
-I$(XMLRPC_C_SRC_PATH)
|
||||||
-I [ FDirName $(XMLRPC_C_SRC_PATH) include ]
|
-I [ FDirName $(XMLRPC_C_SRC_PATH) include ]
|
||||||
-I [ FDirName $(XMLRPC_C_SRC_PATH) deps util include ]
|
-I [ FDirName $(XMLRPC_C_SRC_PATH) deps util include ]
|
||||||
|
@ -32,6 +32,13 @@
|
|||||||
*/
|
*/
|
||||||
#include "xmlrpc_amconfig.h"
|
#include "xmlrpc_amconfig.h"
|
||||||
|
|
||||||
|
/* EDE top config file */
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
#include <config.h>
|
||||||
|
/* PREFIX is variable in xmlrpc-c code, but is defined in config.h too */
|
||||||
|
#undef PREFIX
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_SETGROUPS
|
#ifndef HAVE_SETGROUPS
|
||||||
#define HAVE_SETGROUPS 0
|
#define HAVE_SETGROUPS 0
|
||||||
#endif
|
#endif
|
||||||
@ -70,7 +77,9 @@
|
|||||||
#define HAVE_SYS_FILIO_H 0
|
#define HAVE_SYS_FILIO_H 0
|
||||||
#define HAVE_SYS_IOCTL_H 1
|
#define HAVE_SYS_IOCTL_H 1
|
||||||
|
|
||||||
|
#ifndef VA_LIST_IS_ARRAY
|
||||||
#define VA_LIST_IS_ARRAY 0
|
#define VA_LIST_IS_ARRAY 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#define HAVE_LIBWWW_SSL 0
|
#define HAVE_LIBWWW_SSL 0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user