mirror of
git://git.code.sf.net/p/xtables-addons/xtables-addons
synced 2025-09-09 06:04:56 +02:00
build: check for /usr/include/linux files
This commit is contained in:
@@ -47,6 +47,8 @@ if [[ -n "$xtables_location" ]]; then
|
|||||||
else
|
else
|
||||||
PKG_CHECK_MODULES([libxtables], [xtables >= 1.4.3])
|
PKG_CHECK_MODULES([libxtables], [xtables >= 1.4.3])
|
||||||
fi;
|
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 \
|
regular_CFLAGS="-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \
|
||||||
-D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \
|
-D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \
|
||||||
|
Reference in New Issue
Block a user