1 dnl Process this file with autoconf to create configure.
3 AC_INIT([libnetfilter_queue], [1.0.1])
4 AC_CONFIG_AUX_DIR([build-aux])
6 AC_CONFIG_MACRO_DIR([m4])
7 AC_CONFIG_HEADERS([config.h])
9 AM_INIT_AUTOMAKE([-Wall foreign subdir-objects
10 tar-pax no-dist-gzip dist-bzip2 1.6])
12 dnl kernel style compile messages
13 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
24 *) AC_MSG_ERROR([Linux only, dude!]);;
28 PKG_CHECK_MODULES([LIBNFNETLINK], [libnfnetlink >= 0.0.41])
29 PKG_CHECK_MODULES([LIBMNL], [libmnl >= 1.0.3])
31 dnl Output the makefiles
32 AC_CONFIG_FILES([Makefile src/Makefile utils/Makefile examples/Makefile
33 libnetfilter_queue.pc doxygen.cfg
34 include/Makefile include/libnetfilter_queue/Makefile
35 include/linux/Makefile include/linux/netfilter/Makefile])