src: add new GSO handling capabilities
[platform/upstream/libnetfilter_queue.git] / configure.ac
1 dnl Process this file with autoconf to create configure.
2
3 AC_INIT([libnetfilter_queue], [1.0.2])
4 AC_CONFIG_AUX_DIR([build-aux])
5 AC_CANONICAL_HOST
6 AC_CONFIG_MACRO_DIR([m4])
7 AC_CONFIG_HEADERS([config.h])
8
9 AM_INIT_AUTOMAKE([-Wall foreign subdir-objects
10         tar-pax no-dist-gzip dist-bzip2 1.6])
11 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
12
13 dnl kernel style compile messages
14 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
15
16 AC_PROG_CC
17 AM_PROG_CC_C_O
18 AC_DISABLE_STATIC
19 AM_PROG_LIBTOOL
20 AC_PROG_INSTALL
21 CHECK_GCC_FVISIBILITY
22
23 case "$host" in
24 *-*-linux*) ;;
25 *) AC_MSG_ERROR([Linux only, dude!]);;
26 esac
27
28 dnl Dependencies
29 PKG_CHECK_MODULES([LIBNFNETLINK], [libnfnetlink >= 0.0.41])
30 PKG_CHECK_MODULES([LIBMNL], [libmnl >= 1.0.3])
31
32 dnl Output the makefiles
33 AC_CONFIG_FILES([Makefile src/Makefile utils/Makefile examples/Makefile
34         libnetfilter_queue.pc doxygen.cfg
35         include/Makefile include/libnetfilter_queue/Makefile
36         include/linux/Makefile include/linux/netfilter/Makefile])
37 AC_OUTPUT