Hi everyone,
I have a patch that fixes the configure tests to properly detect the
presence of the zaptel development headers.
Please test this patch and report if you can use openpbx with zaptel.
here's some example testing steps:
svn co svn://svn.openpbx.org/openpbx/trunk openpbx
cd openpbx
patch -p0 < /tmp/opbx-zaptel-1.2.12plus-3.patch
./bootstrap.sh
./configure > /tmp/opbx.out
(verify no output on console about zaptel not detected or not version 1.2)
make
sudo make install
sudo modprobe ztdummy
sudo openpbx
openpbx -r
zap show status
(verify no errors)
Mike
Index: configure.ac
===================================================================
--- configure.ac (revision 2490)
+++ configure.ac (working copy)
@@ -1070,9 +1070,9 @@
AC_DEFINE_UNQUOTED([TONEZONE_H], [${TONEZONE_H}], [Location of tonezone.h header file])
if test -n "${ZAPTEL_H}"; then
- AC_CHECK_TYPES(zt_radio_stat,[ZAPTEL_V12_OR_HIGHER=1],,[#include <zaptel.h>])
+ AC_CHECK_TYPES(struct zt_radio_stat,[ZAPTEL_V12_OR_HIGHER=1],,[#include ${ZAPTEL_H}])
- if test "${ZAPTEL_V12_OR_HIGHER}" = "yes"; then
+ if test "${ZAPTEL_V12_OR_HIGHER}" = "1"; then
AC_MSG_NOTICE([Zaptel appears to be version 1.2 or higher -- ok.])
AC_CHECK_LIB([tonezone], [main], [HAVE_LIBTONEZONE=1])
AC_CHECK_LIB([pri], [main], [HAVE_LIBPRI=1])
_______________________________________________
Openpbx-users mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-users