Reported by: Netview
Tested by: jpeeler
Use correct location to search for tonezone.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@122613
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
#! /bin/sh
-# From configure.ac Revision: 121802 .
+# From configure.ac Revision: 122314 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for asterisk 1.4.
#
tonezone_extra="-lm"
fi
-if test "${USE_DAHDI}" != "no" ; then
+if test "${PBX_DAHDI}" = "1" || test "${USE_ZAPTEL}" = "no"; then
tonezone_dir="dahdi"
else
tonezone_dir="zaptel"
tonezone_extra="-lm"
fi
-if test "${USE_DAHDI}" != "no" ; then
+if test "${PBX_DAHDI}" = "1" || test "${USE_ZAPTEL}" = "no"; then
tonezone_dir="dahdi"
else
tonezone_dir="zaptel"