[Freeswitch-branches] [commit] r8153 - in freeswitch/branches/lukedashjr/syslibs/freeswitch: . src/mod/endpoints/mod_iax
Freeswitch SVN
lukedashjr at freeswitch.org
Mon Apr 21 19:16:39 EDT 2008
Author: lukedashjr
Date: Mon Apr 21 19:16:39 2008
New Revision: 8153
Modified:
freeswitch/branches/lukedashjr/syslibs/freeswitch/configure.in
freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/endpoints/mod_iax/Makefile
Log:
use pkg-config for iaxclient dependency
Modified: freeswitch/branches/lukedashjr/syslibs/freeswitch/configure.in
==============================================================================
--- freeswitch/branches/lukedashjr/syslibs/freeswitch/configure.in (original)
+++ freeswitch/branches/lukedashjr/syslibs/freeswitch/configure.in Mon Apr 21 19:16:39 2008
@@ -182,6 +182,13 @@
SWITCH_AM_CFLAGS="$SWITCH_AM_CFLAGS $apr_util_CFLAGS"
SWITCH_AM_LDFLAGS="$SWITCH_AM_LDFLAGS $apr_util_LIBS"
+PKG_CHECK_MODULES([iaxclient],[iaxclient],[
+AC_SUBST(iaxclient_CFLAGS)
+AC_SUBST(iaxclient_LIBS)
+],[
+AC_MSG_WARN([iaxclient not found: mod_iax will not work.])
+])
+
PKG_CHECK_MODULES([iksemel],[iksemel])
AC_SUBST(iksemel_CFLAGS)
AC_SUBST(iksemel_LIBS)
Modified: freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/endpoints/mod_iax/Makefile
==============================================================================
--- freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/endpoints/mod_iax/Makefile (original)
+++ freeswitch/branches/lukedashjr/syslibs/freeswitch/src/mod/endpoints/mod_iax/Makefile Mon Apr 21 19:16:39 2008
@@ -1,3 +1,3 @@
-LOCAL_CFLAGS=-I/usr/include
-LOCAL_LDFLAGS=-liax
+LOCAL_CFLAGS=$(iaxclient_CFLAGS)
+LOCAL_LDFLAGS=$(iaxclient_LIBS)
include $(BASE)/build/modmake.rules
More information about the Freeswitch-branches
mailing list