build: default to not building static libraries
[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.0])
4 AC_CANONICAL_HOST
5 AC_CONFIG_MACRO_DIR([m4])
6
7 AM_INIT_AUTOMAKE([-Wall foreign subdir-objects dist-bzip2 1.6])
8
9 AC_PROG_CC
10 AC_EXEEXT
11 AC_DISABLE_STATIC
12 AM_PROG_LIBTOOL
13 AC_PROG_INSTALL
14
15 AC_SUBST(LIBTOOL_DEPS)
16
17 case "$host" in
18 *-*-linux*) ;;
19 *) AC_MSG_ERROR([Linux only, dude!]);;
20 esac
21
22 dnl Dependencies
23 PKG_CHECK_MODULES([LIBNFNETLINK], [libnfnetlink >= 0.0.41])
24
25 dnl Output the makefiles
26 AC_OUTPUT(Makefile include/Makefile include/libnetfilter_queue/Makefile src/Makefile utils/Makefile libnetfilter_queue.pc doxygen.cfg)