diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-17 03:07:06 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-11-17 03:07:06 +0000 |
commit | fda73382878d98e0a25316b390c1bcb7002dbb55 (patch) | |
tree | 27f5e67247eedbb630c477f8e31f1c92ca5b9e1a /main/Makefile | |
parent | fa361ae75098b9214d6f3412767ab0ed9cae2b82 (diff) |
use poll as detected by configure
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89355 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/Makefile')
-rw-r--r-- | main/Makefile | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/main/Makefile b/main/Makefile index 25fb79ab5..a5e278b8f 100644 --- a/main/Makefile +++ b/main/Makefile @@ -41,14 +41,8 @@ OBJS+=say.o AST_LIBS += $(SSL_LIB) AST_LIBS += $(BKTR_LIB) -ifneq ($(findstring darwin,$(OSARCH)),) +ifeq ($(POLL_AVAILABLE),) OBJS+=poll.o - ASTCFLAGS+=-DPOLLCOMPAT -else - ifeq ($(wildcard /usr/include/sys/poll.h),) - OBJS+=poll.o - ASTCFLAGS+=-DPOLLCOMPAT - endif endif ifeq ($(wildcard /usr/include/dlfcn.h),) |