summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eca80da)
raw | patch | inline | side by side (parent: eca80da)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 30 Jul 2014 21:06:03 +0000 (23:06 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Wed, 30 Jul 2014 21:06:03 +0000 (23:06 +0200) |
Libiptc was removed 3 years ago in 99364c70, so this option to
./configure isn't of any use anymore.
./configure isn't of any use anymore.
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 59f05710246ec36a66a2ea325f35551b70e039b6..e89c34023024d81551a3fa634edcb8d53b9d74c0 100644 (file)
--- a/configure.ac
+++ b/configure.ac
# --with-libiptc {{{
AC_ARG_WITH(libiptc, [AS_HELP_STRING([--with-libiptc@<:@=PREFIX@:>@], [Path to libiptc.])],
[
- if test "x$withval" = "xshipped"
- then
- with_libiptc="own"
- else if test "x$withval" = "xyes"
+ if test "x$withval" = "xyes"
then
with_libiptc="pkgconfig"
else if test "x$withval" = "xno"
@@ -1953,7 +1950,7 @@ AC_ARG_WITH(libiptc, [AS_HELP_STRING([--with-libiptc@<:@=PREFIX@:>@], [Path to l
with_libiptc="yes"
with_libiptc_cflags="-I$withval/include"
with_libiptc_libs="-L$withval/lib"
- fi; fi; fi
+ fi; fi
],
[
if test "x$ac_system" = "xLinux"
CPPFLAGS="$SAVE_CPPFLAGS"
-if test "x$with_libiptc" = "xown"
-then
- with_libiptc_cflags=""
- with_libiptc_libs=""
-fi
-if test "x$with_libiptc" = "xown"
-then
- AC_CHECK_HEADERS(linux/netfilter_ipv4/ip_tables.h linux/netfilter_ipv6/ip6_tables.h linux/netfilter/x_tables.h, [],
- [
- with_libiptc="no (Linux iptables headers not found)"
- ],
- [
-#include "$srcdir/src/owniptc/ipt_kernel_headers.h"
- ])
-fi
-AM_CONDITIONAL(BUILD_WITH_OWN_LIBIPTC, test "x$with_libiptc" = "xown")
-if test "x$with_libiptc" = "xown"
-then
- AC_DEFINE(OWN_LIBIPTC, 1, [Define to 1 if we use the shipped iptc library.])
- with_libiptc="yes"
-fi
-
AM_CONDITIONAL(BUILD_WITH_LIBIPTC, test "x$with_libiptc" = "xyes")
if test "x$with_libiptc" = "xyes"
then