On Fri, Mar 16, 2007 at 11:28:43AM -0400, Sean Bright wrote: > Whats the non-workaround solution? Is there one?
I haven't really tested, but it should be along the lines of: Index: codecs/Makefile =================================================================== --- codecs/Makefile (revision 58959) +++ codecs/Makefile (working copy) @@ -10,7 +10,9 @@ # This program is free software, distributed under the terms of # the GNU General Public License # +zaptel_h := $(first $(wildcard $(CROSS_COMPILE_TARGET)/usr/include/linux/zaptel.h $(CROSS_COMPILE_TARGET)/usr/local/include/zaptel.h $(CROSS_COMPILE_TARGET)/usr/pkg/include/zaptel.h)) + ifeq (${OSARCH},CYGWIN) CYGSOLINK=-Wl,[EMAIL PROTECTED] -Wl,--export-all-symbols CYGSOLIB=-L.. -L. -lasterisk.dll @@ -29,7 +31,7 @@ endif ifndef WITHOUT_ZAPTEL -ifneq ($(wildcard $(CROSS_COMPILE_TARGET)/usr/include/linux/zaptel.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/zaptel.h)$(wildcard $(CROSS_COMPILE_TARGET)/usr/pkg/include/zaptel.h),) +ifneq (,$(shell grep ZT_TRANSCODE_OP $(zaptel_h) 2>/dev/null)) ifeq (${OSARCH},NetBSD) SOLINK+=-L$(CROSS_COMPILE_TARGET)/usr/pkg/lib endif -- Tzafrir Cohen icq#16849755 jabber:[EMAIL PROTECTED] +972-50-7952406 mailto:[EMAIL PROTECTED] http://www.xorcom.com iax:[EMAIL PROTECTED]/tzafrir _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users