[asterisk-commits] kpfleming: trunk r43207 - /trunk/main/Makefile
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Mon Sep 18 12:20:24 MST 2006
Author: kpfleming
Date: Mon Sep 18 14:20:24 2006
New Revision: 43207
URL: http://svn.digium.com/view/asterisk?rev=43207&view=rev
Log:
it appears that current Mac OS/X does not need the poll compatibility module at all, and platforms that do need it also need -DPOLLCOMPAT (or they wouldn't have compiled at all)
Modified:
trunk/main/Makefile
Modified: trunk/main/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/main/Makefile?rev=43207&r1=43206&r2=43207&view=diff
==============================================================================
--- trunk/main/Makefile (original)
+++ trunk/main/Makefile Mon Sep 18 14:20:24 2006
@@ -39,6 +39,7 @@
ifeq ($(wildcard /usr/include/sys/poll.h),)
OBJS+=poll.o
+ ASTCFLAGS+=-DPOLLCOMPAT
endif
ifeq ($(wildcard /usr/include/dlfcn.h),)
@@ -58,11 +59,6 @@
AST_LIBS+=-lresolv
ifneq ($(findstring LOADABLE_MODULES,$(MENUSELECT_CFLAGS)),)
ASTLINK=-Wl,-dynamic
- endif
- # Mac on Intel CoreDuo does not need poll compatibility layer
- ifneq ($(PROC),i386)
- OBJS+=poll.o
- ASTCFLAGS+=-DPOLLCOMPAT
endif
else
# These are used for all but Darwin
More information about the asterisk-commits
mailing list