From e8da4872cd9f2b501f2d16cac1589388fc038059 Mon Sep 17 00:00:00 2001 From: paulc Date: Tue, 30 Aug 2011 10:12:09 +0000 Subject: [PATCH] Reject really old Zaptel that does not support ZT_GETVERSION. git-svn-id: http://voip.null.ro/svn/yate@4579 acf43c95-373e-0410-b603-e72c3f656dc1 --- configure.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 4715295c..7207197b 100644 --- a/configure.in +++ b/configure.in @@ -550,7 +550,8 @@ if [[ "x$want_zaptel" = "xyes" ]]; then AC_MSG_CHECKING([for Zaptel generic headers]) AC_TRY_COMPILE([ #include -],[], +#include +],[ioctl(0,ZT_GETVERSION,(void*)0)], HAVE_ZAP="yes" ZAP_FLAGS="-DNEW_ZAPTEL_LOCATION -DHAVE_ZAP" ) @@ -559,7 +560,8 @@ if [[ "x$HAVE_ZAP" = "xno" ]]; then AC_MSG_CHECKING([for Zaptel linux headers]) AC_TRY_COMPILE([ #include -],[], +#include +],[ioctl(0,ZT_GETVERSION,(void*)0)], HAVE_ZAP="yes" ZAP_FLAGS="-DHAVE_ZAP" )