File tnt-1.9.2-configure-header-check.dif of Package tnt

diff -Nur tnt-1.9.2.orig/configure.in tnt-1.9.2/configure.in
--- tnt-1.9.2.orig/configure.in	2010-07-14 18:32:09.000000000 +0200
+++ tnt-1.9.2/configure.in	2010-07-14 19:29:59.381643633 +0200
@@ -385,7 +385,7 @@
 		fi
 
 		AC_CHECK_LIB(ax25, ax25_config_load_ports, AX25_LIB="-lax25", AC_MSG_ERROR(Could not find the libax25 libraries; aborting))
-		AC_CHECK_HEADERS(netax25/axconfig.h)
+		AC_CHECK_HEADERS(netax25/axconfig.h, [], [], [[  #include <netax25/ax25.h> ]])
 		AC_CHECK_HEADER(netax25/procutils.h,
 		[
 			AC_DEFINE([HAVE_NETAX25_PROCUTILS_H],1,[if we have the netax25 procutils])
openSUSE Build Service is sponsored by