view auto/have_headers @ 4016:b044d6553d52

Move SO_ACCEPTFILTER and TCP_DEFER_ACCEPT checks into configure. NetBSD 5.0+ has SO_ACCEPTFILTER support merged from FreeBSD, and having accept filter check in FreeBSD-specific ngx_freebsd_config.h prevents it from being used on NetBSD. Therefore move the check into configure (and do the same for Linux-specific TCP_DEFER_ACCEPT, just to be in line).
author Maxim Dounin <mdounin@mdounin.ru>
date Sun, 21 Aug 2011 11:37:37 +0000
parents 9b8c906f6e63
children d620f497c50f
line wrap: on
line source


# Copyright (C) Igor Sysoev


cat << END >> $NGX_AUTO_HEADERS_H

#ifndef $have
#define $have  1
#endif

END