[svn-commits] trunk r22990 - /trunk/configure.ac

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Apr 27 13:34:49 MST 2006


Author: russell
Date: Thu Apr 27 15:34:48 2006
New Revision: 22990

URL: http://svn.digium.com/view/asterisk?rev=22990&view=rev
Log:
when doing the checks necessary for chan_phone, look for all of the linux
headers it uses, not just ixjuser.h (issue #7049, different fix)

Modified:
    trunk/configure.ac

Modified: trunk/configure.ac
URL: http://svn.digium.com/view/asterisk/trunk/configure.ac?rev=22990&r1=22989&r2=22990&view=diff
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Thu Apr 27 15:34:48 2006
@@ -302,7 +302,10 @@
 AC_CHECK_HEADER([h323.h], [PBX_H323=1], [])
 AC_SUBST(PBX_H323)
 
-AC_CHECK_HEADER([linux/ixjuser.h], [PBX_IXJUSER=1],[PBX_IXJUSER=0])
+PBX_IXJUSER=0
+AC_CHECK_HEADER([linux/ixjuser.h], [
+   AC_CHECK_HEADER([linux/telephony.h], [
+      AC_CHECK_HEADER([linux/version.h], [PBX_IXJUSER=1])])])
 AC_SUBST(PBX_IXJUSER)
 
 AC_ARG_WITH([vpb], AC_HELP_STRING([--with-vpb=PATH],[use vpb files in PATH]),[



More information about the svn-commits mailing list