It turns out that configure should be checking for struct zt_radio_stat,
and ${ZAPTEL_V12_OR_HIGHER} should be set to "yes" instead of "1"
because the test (two lines below) uses that value.
With this patch I can use zaptel in the latest 1.2 svn (it works with
1.2.12 also).
Mike
Index: configure.ac
===================================================================
--- configure.ac (revision 2490)
+++ configure.ac (working copy)
@@ -1070,7 +1070,7 @@
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="yes"],,[#include <zaptel.h>])
if test "${ZAPTEL_V12_OR_HIGHER}" = "yes"; then
AC_MSG_NOTICE([Zaptel appears to be version 1.2 or higher -- ok.])
_______________________________________________
Openpbx-dev mailing list
[email protected]
http://lists.openpbx.org/mailman/listinfo/openpbx-dev