remove attribute checking... it was an attempt to support older GCC compilers but...
[asterisk/asterisk.git] / configure.ac
index 4fe2c1f..5bb8678 100644 (file)
@@ -160,7 +160,7 @@ AC_SUBST(AST_DEVMODE)
 AST_EXT_LIB([asound], [snd_spcm_init], [alsa/asoundlib.h], [ALSA], [Advanced Linux Sound Architecture], [-lm -ldl])
 AST_EXT_LIB([curses], [initscr], [curses.h], [CURSES], [curses], [])
 AST_EXT_LIB([mfcr2], [mfcr2_MakeCall], [libmfcr2.h], [MFCR2], [MFCR2])
-AST_EXT_LIB([nbs], [nbs_setup], [nbs.h], [NBS], [Network Broadcast Sound])
+AST_EXT_LIB([nbs], [nbs_connect], [nbs.h], [NBS], [Network Broadcast Sound])
 AST_EXT_LIB([ncurses], [initscr], [curses.h], [NCURSES], [ncurses], [])
 AST_EXT_LIB([newt], [newtBell], [newt.h], [NEWT], [newt])
 AST_EXT_LIB([odbc], [SQLConnect], [sql.h], [UNIXODBC], [unixODBC])
@@ -302,9 +302,11 @@ PBX_H323=0
 AC_CHECK_HEADER([h323.h], [PBX_H323=1], [])
 AC_SUBST(PBX_H323)
 
-HAVE_QUICKNET=0
-AC_CHECK_HEADER([ixjuser.h], [HAVE_QUICKNET=1],[])
-AC_SUBST(HAVE_QUICKNET)
+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]),[
 case ${withval} in