build: check for /usr/include/linux files

This commit is contained in:
Jan Engelhardt
2009-10-13 11:45:12 +02:00
parent bc5a7d8e3a
commit 0b3ae22673

View File

@@ -47,6 +47,8 @@ if [[ -n "$xtables_location" ]]; then
else
PKG_CHECK_MODULES([libxtables], [xtables >= 1.4.3])
fi;
AC_CHECK_HEADERS([linux/netfilter/x_tables.h], [],
[AC_MSG_ERROR([You need to have (/usr/include/)linux/netfilter/x_tables.h])])
regular_CFLAGS="-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \
-D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \