FS-6292 don't use AC_FUNC_MALLOC on NetBSD as rp_malloc isn't defined

This commit is contained in:
Brian West 2014-03-01 10:49:38 -06:00
parent 02dd7772ba
commit 4ad5688aef
1 changed files with 4 additions and 1 deletions

View File

@ -632,7 +632,6 @@ AC_STRUCT_TM
# Checks for library functions.
AC_PROG_GCC_TRADITIONAL
AC_FUNC_MALLOC
AC_TYPE_SIGNAL
AC_FUNC_STRFTIME
AC_CHECK_FUNCS([gethostname vasprintf mmap mlock mlockall usleep getifaddrs timerfd_create getdtablesize posix_openpt])
@ -952,9 +951,13 @@ case $host in
*-openbsd*)
# OpenBSD's gunzip and friends don't like -d because its redundant, only gzip does
AC_PATH_PROGS(ZCAT, gzip)
AC_FUNC_MALLOC
;;
*-netbsd*)
;;
*)
AC_PATH_PROGS(ZCAT, gunzip gzcat gzip zcat)
AC_FUNC_MALLOC
;;
esac