1 dnl Process this file with autoconf to create configure.
6 AM_INIT_AUTOMAKE(libnetfilter_queue, 0.0.12)
13 AC_SUBST(LIBTOOL_DEPS)
17 *) AC_MSG_ERROR([Linux only, dude!]);;
21 LIBNFNETLINK_REQUIRED=0.0.16
23 PKG_CHECK_MODULES(LIBNFNETLINK, libnfnetlink >= $LIBNFNETLINK_REQUIRED,,
24 AC_MSG_ERROR(Cannot find libnfnetlink >= $LIBNFNETLINK_REQUIRED))
26 CFLAGS="$CFLAGS $LIBNFNETLINK_CFLAGS"
27 LIBNFQUEUE_LIBS="$LIBNFNETLINK_LIBS"
29 AC_SUBST(LIBNFQUEUE_LIBS)
31 dnl Output the makefiles
32 AC_OUTPUT(Makefile include/Makefile include/libnetfilter_queue/Makefile src/Makefile utils/Makefile libnetfilter_queue.pc)