Merged revisions 46780 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r46780 | file | 2006-11-01 13:39:47 -0500 (Wed, 01 Nov 2006) | 2 lines Force poll() emulation for Darwin to always be on. It's too broken to consider being used. This resolves the console issue OSX users have been seeing. I would have liked to autoconf this but I haven't been able to come up with a test case that works. Que sera. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
4ffc388358
commit
9335b4bc1c
|
@ -39,9 +39,14 @@ OBJS+=say.o
|
||||||
|
|
||||||
AST_LIBS += $(SSL_LIB)
|
AST_LIBS += $(SSL_LIB)
|
||||||
|
|
||||||
ifeq ($(wildcard /usr/include/sys/poll.h),)
|
ifneq ($(findstring darwin,$(OSARCH)),)
|
||||||
OBJS+=poll.o
|
OBJS+=poll.o
|
||||||
ASTCFLAGS+=-DPOLLCOMPAT
|
ASTCFLAGS+=-DPOLLCOMPAT
|
||||||
|
else
|
||||||
|
ifeq ($(wildcard /usr/include/sys/poll.h),)
|
||||||
|
OBJS+=poll.o
|
||||||
|
ASTCFLAGS+=-DPOLLCOMPAT
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(wildcard /usr/include/dlfcn.h),)
|
ifeq ($(wildcard /usr/include/dlfcn.h),)
|
||||||
|
|
Loading…
Reference in New Issue