From c23703e02ee91bab9f42cabbcf89606a61f0ab21 Mon Sep 17 00:00:00 2001 From: Marek Kubica Date: Tue, 21 May 2013 14:44:01 +0000 Subject: [PATCH] Replaced malloc check in autotools to avoid failure on NetBSD Fixes #13 on gnosek/fcgiwrap --- configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index bb3674e..7bfc52e 100644 --- a/configure.ac +++ b/configure.ac @@ -58,8 +58,7 @@ AC_TYPE_SSIZE_T # Checks for library functions. AC_FUNC_FORK AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK -AC_FUNC_MALLOC -AC_CHECK_FUNCS([strchr strdup strrchr]) +AC_CHECK_FUNCS([strchr strdup strrchr malloc]) AC_CHECK_FUNCS([dup2 putenv select setenv strerror],, [AC_MSG_ERROR([seems as if your libraries don't provide an expected function])]) AC_CONFIG_FILES([Makefile])