[Freeswitch-svn] [commit] r3449 - freeswitch/trunk/src/mod/codecs/mod_g729

Freeswitch SVN anthm at freeswitch.org
Thu Nov 23 14:44:20 EST 2006


Author: anthm
Date: Thu Nov 23 14:44:20 2006
New Revision: 3449

Modified:
   freeswitch/trunk/src/mod/codecs/mod_g729/Makefile

Log:
update

Modified: freeswitch/trunk/src/mod/codecs/mod_g729/Makefile
==============================================================================
--- freeswitch/trunk/src/mod/codecs/mod_g729/Makefile	(original)
+++ freeswitch/trunk/src/mod/codecs/mod_g729/Makefile	Thu Nov 23 14:44:20 2006
@@ -1,9 +1,13 @@
+ifeq ($(shell ls $(BASE)/libs/libg729),$(BASE)/libs/libg729)
 
-
-CFLAGS += -I$(PREFIX)/include/libg729
+CFLAGS += -I$(PREFIX)/include/g729
 LDFLAGS +=-lg729
 
+else
 
+CFLAGS += -DG729_PASSTHROUGH
+
+endif
 
 all:	$(MODNAME).$(DYNAMIC_LIB_EXTEN)
 



More information about the Freeswitch-svn mailing list