diff --git a/configure.in b/configure.in index 4f01f94b00..8847b4330c 100644 --- a/configure.in +++ b/configure.in @@ -671,6 +671,7 @@ 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]) @@ -990,13 +991,9 @@ 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