[asterisk-commits] jpeeler: branch jpeeler/chan_dahdi14 r119999 - /team/jpeeler/chan_dahdi14/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 3 10:53:38 CDT 2008


Author: jpeeler
Date: Tue Jun  3 10:53:38 2008
New Revision: 119999

URL: http://svn.digium.com/view/asterisk?view=rev&rev=119999
Log:
use correct zonetone.h header

Modified:
    team/jpeeler/chan_dahdi14/configure
    team/jpeeler/chan_dahdi14/configure.ac

Modified: team/jpeeler/chan_dahdi14/configure.ac
URL: http://svn.digium.com/view/asterisk/team/jpeeler/chan_dahdi14/configure.ac?view=diff&rev=119999&r1=119998&r2=119999
==============================================================================
--- team/jpeeler/chan_dahdi14/configure.ac (original)
+++ team/jpeeler/chan_dahdi14/configure.ac Tue Jun  3 10:53:38 2008
@@ -1354,7 +1354,13 @@
   tonezone_extra="-lm"
 fi
 
-AST_EXT_LIB_CHECK([TONEZONE], [tonezone], [tone_zone_find], [zaptel/tonezone.h], [${tonezone_extra}])
+if test "${USE_DAHDI}" != "no" ; then
+  tonezone_dir="dahdi"
+else
+  tonezone_dir="zaptel"
+fi
+
+AST_EXT_LIB_CHECK([TONEZONE], [tonezone], [tone_zone_find], [${tonezone_dir}/tonezone.h], [${tonezone_extra}])
 
 AST_EXT_LIB_CHECK([USB], [usb], [usb_init], [usb.h], [])
 




More information about the asterisk-commits mailing list