Mercurial > hg > nginx-quic
comparison auto/unix @ 4003:8cca96abbc3e
Detect POSIX semaphores in librt on Solaris (ticket #3).
Patch by Denis Ivanov.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Wed, 17 Aug 2011 08:35:54 +0000 |
parents | b5c169873c6b |
children | b044d6553d52 |
comparison
equal
deleted
inserted
replaced
4002:4068898a6a7c | 4003:8cca96abbc3e |
---|---|
618 CORE_LIBS="$CORE_LIBS -lpthread" | 618 CORE_LIBS="$CORE_LIBS -lpthread" |
619 fi | 619 fi |
620 fi | 620 fi |
621 | 621 |
622 | 622 |
623 if [ $ngx_found = no ]; then | |
624 | |
625 # Solaris has POSIX semaphores in librt | |
626 ngx_feature="POSIX semaphores in librt" | |
627 ngx_feature_libs=-lrt | |
628 . auto/feature | |
629 | |
630 if [ $ngx_found = yes ]; then | |
631 CORE_LIBS="$CORE_LIBS -lrt" | |
632 fi | |
633 fi | |
634 | |
635 | |
623 ngx_feature="struct msghdr.msg_control" | 636 ngx_feature="struct msghdr.msg_control" |
624 ngx_feature_name="NGX_HAVE_MSGHDR_MSG_CONTROL" | 637 ngx_feature_name="NGX_HAVE_MSGHDR_MSG_CONTROL" |
625 ngx_feature_run=no | 638 ngx_feature_run=no |
626 ngx_feature_incs="#include <sys/socket.h>" | 639 ngx_feature_incs="#include <sys/socket.h>" |
627 ngx_feature_path= | 640 ngx_feature_path= |