Skip to content

Commit

Permalink
Replaced malloc check in autotools to avoid failure on NetBSD
Browse files Browse the repository at this point in the history
Fixes gnosek#13 on gnosek/fcgiwrap
  • Loading branch information
Leonidas-from-XIV committed May 21, 2013
1 parent 4b2151e commit c23703e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit c23703e

Please sign in to comment.