diff options
author | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2008-04-13 05:32:06 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net </C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net> | 2008-04-13 05:32:06 +0000 |
commit | 501f23554a7a1fe4aca0f7a51bcc303ccb4dd35c (patch) | |
tree | e0efcf1a5b2fd5b89f55d7f1b9e4b72ab9a9236d /configure.ac | |
parent | 80014a5d348ec2b7f7ee9a9123b4c66ac631c934 (diff) |
[PATCH 13/13] configure: split --enable-libipq from --enable-devel
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 5aa0557..9c42681 100644 --- a/configure.ac +++ b/configure.ac @@ -29,12 +29,16 @@ AC_ARG_WITH([xtlibdir], [xtlibdir="${libexecdir}/iptables"]) AC_ARG_ENABLE([devel], AS_HELP_STRING([--enable-devel], - [Build and install development files (libipq, libipq-devel, iptables-devel)])) + [Install Xtables development headers]), + [enable_devel="$enableval"], [enable_devel="yes"]) +AC_ARG_ENABLE([libipq], + AS_HELP_STRING([--enable-libipq], [Build and install libipq])) AC_CHECK_HEADER([netinet/ip6.h], [], [AC_MSG_ERROR(but we need that for IPv6)]) AM_CONDITIONAL([ENABLE_STATIC], [test "$enable_static" == "yes"]) AM_CONDITIONAL([ENABLE_SHARED], [test "$enable_shared" == "yes"]) AM_CONDITIONAL([ENABLE_DEVEL], [test "$enable_devel" == "yes"]) +AM_CONDITIONAL([ENABLE_LIBIPQ], [test "$enable_libipq" == "yes"]) regular_CFLAGS="-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \ -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \ |