diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-12-18 23:32:30 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2010-12-18 23:32:30 +0100 |
commit | 2a2334920166d20bf091e3212ae3970154d5b8c2 (patch) | |
tree | 8749305d847615d926f09b0e6ce6d5842107ec1a /configure.ac | |
parent | 18ae855bc06472e7fa714ec177f2db4b32f82d8a (diff) |
Check old system kernel header files
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 85073f4..f8b920a 100644 --- a/configure.ac +++ b/configure.ac @@ -113,6 +113,12 @@ PKG_CHECK_MODULES([libmnl], [libmnl >= 1]) dnl Checks for header files +dnl Checks for declarations +AC_CHECK_DECLS([NLA_F_NESTED, NLA_F_NET_BYTEORDER, NLA_TYPE_MASK],, + [AC_MSG_ERROR([System kernel header files are older than 2.6.24, use CFLAGS for non-default location])], + [#include <sys/socket.h> +#include <linux/netlink.h>]) + dnl Checks for typedefs, structures AC_CHECK_TYPES([union nf_inet_addr],,,[#include <linux/types.h> #include <netinet/in.h> |