Mercurial > hg > nginx
comparison auto/unix @ 6019:40e244e042a7
Events: implemented epoll notification mechanism.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Sat, 14 Mar 2015 17:37:13 +0300 |
parents | b92d5a26d55f |
children | 0371ef1c24a9 |
comparison
equal
deleted
inserted
replaced
6018:466bd63b63d1 | 6019:40e244e042a7 |
---|---|
447 $0: no supported file AIO was found | 447 $0: no supported file AIO was found |
448 Currently file AIO is supported on FreeBSD 4.3+ and Linux 2.6.22+ only | 448 Currently file AIO is supported on FreeBSD 4.3+ and Linux 2.6.22+ only |
449 | 449 |
450 END | 450 END |
451 exit 1 | 451 exit 1 |
452 fi | |
453 | |
454 else | |
455 | |
456 ngx_feature="eventfd()" | |
457 ngx_feature_name="NGX_HAVE_EVENTFD" | |
458 ngx_feature_run=no | |
459 ngx_feature_incs="#include <sys/eventfd.h>" | |
460 ngx_feature_path= | |
461 ngx_feature_libs= | |
462 ngx_feature_test="(void) eventfd(0, 0)" | |
463 . auto/feature | |
464 | |
465 if [ $ngx_found = yes ]; then | |
466 have=NGX_HAVE_SYS_EVENTFD_H . auto/have | |
467 fi | |
468 | |
469 if [ $ngx_found = no ]; then | |
470 | |
471 ngx_feature="eventfd() (SYS_eventfd)" | |
472 ngx_feature_incs="#include <sys/syscall.h>" | |
473 ngx_feature_test="int n = SYS_eventfd" | |
474 . auto/feature | |
452 fi | 475 fi |
453 fi | 476 fi |
454 | 477 |
455 | 478 |
456 have=NGX_HAVE_UNIX_DOMAIN . auto/have | 479 have=NGX_HAVE_UNIX_DOMAIN . auto/have |