build: remove unnecessary AC_EXEEXT
[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.1])
4 AC_CONFIG_AUX_DIR([build-aux])
5 AC_CANONICAL_HOST
6 AC_CONFIG_MACRO_DIR([m4])
7
8 AM_INIT_AUTOMAKE([-Wall foreign subdir-objects
9         tar-pax no-dist-gzip dist-bzip2 1.6])
10
11 dnl kernel style compile messages
12 m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
13
14 AC_PROG_CC
15 AM_PROG_CC_C_O
16 AC_DISABLE_STATIC
17 AM_PROG_LIBTOOL
18 AC_PROG_INSTALL
19
20 case "$host" in
21 *-*-linux*) ;;
22 *) AC_MSG_ERROR([Linux only, dude!]);;
23 esac
24
25 dnl Dependencies
26 PKG_CHECK_MODULES([LIBNFNETLINK], [libnfnetlink >= 0.0.41])
27
28 dnl Output the makefiles
29 AC_CONFIG_FILES([Makefile include/Makefile include/libnetfilter_queue/Makefile
30         src/Makefile utils/Makefile libnetfilter_queue.pc doxygen.cfg])
31 AC_OUTPUT