Minix does not have pselect(). This is also good time to refactor xmlrpc-c dependency check in main configure.in script.

This commit is contained in:
Sanel Zukan 2012-09-24 13:43:51 +00:00
parent c3aa1a61e6
commit 599356843b
2 changed files with 13 additions and 1 deletions

View File

@ -56,6 +56,17 @@ AC_PATH_XTRA
AC_HEADER_STDC
dnl for xmlrpc-c
AC_CHECK_FUNC(pselect, AC_DEFINE(HAVE_PSELECT, 1, [Define to 1 if you have pselect()]))
AC_CHECK_FUNC(setgroups, AC_DEFINE(HAVE_SETGROUPS, 1, [Define to 1 if you have setgroups()]))
AC_CHECK_FUNC(asprintf, AC_DEFINE(HAVE_ASPRINTF, 1, [Define to 1 if you have asprintf()]))
AC_CHECK_FUNC(setenv, AC_DEFINE(HAVE_SETENV, 1, [Define to 1 if you have setenv()]))
AC_CHECK_FUNC(wcsncmp, AC_DEFINE(HAVE_WCSNCMP, 1, [Define to 1 if you have wcsncmp()]))
AC_CHECK_FUNC(gettimeofday, AC_DEFINE(HAVE_GETTIMEOFDAY, 1, [Define to 1 if you have gettimeofday()]))
AC_CHECK_FUNC(localtime_r, AC_DEFINE(HAVE_LOCALTIME_R, 1, [Define to 1 if you have localtime_r()]))
AC_CHECK_FUNC(gmtime_r, AC_DEFINE(HAVE_GMTIME_R, 1, [Define to 1 if you have gmtime_r()]))
AC_CHECK_FUNC(strcasecmp, AC_DEFINE(HAVE_STRCASECMP, 1, [Define to 1 if you have strcasecmp()]))
if test "$enable_profile" = "yes"; then
enable_debug=yes
fi

View File

@ -29,8 +29,9 @@
/* We hope to replace xmlrpc_amconfig.h some day with something that
doesn't require a whole special set of software to build, to make
Xmlrpc-c approachable by dumber developers.
*/
#include "xmlrpc_amconfig.h"
*/
/* EDE top config file */
#ifdef HAVE_CONFIG_H