1 Index: iptables-1.4.19.1/configure
2 ===================================================================
3 --- iptables-1.4.19.1.orig/configure 2013-05-29 16:37:33.176674855 +0200
4 +++ iptables-1.4.19.1/configure 2013-05-29 16:37:33.168674855 +0200
5 @@ -12198,77 +12198,7 @@
10 -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnfnetlink" >&5
11 -$as_echo_n "checking for libnfnetlink... " >&6; }
13 -if test -n "$libnfnetlink_CFLAGS"; then
14 - pkg_cv_libnfnetlink_CFLAGS="$libnfnetlink_CFLAGS"
15 - elif test -n "$PKG_CONFIG"; then
16 - if test -n "$PKG_CONFIG" && \
17 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= 1.0\""; } >&5
18 - ($PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0") 2>&5
20 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
21 - test $ac_status = 0; }; then
22 - pkg_cv_libnfnetlink_CFLAGS=`$PKG_CONFIG --cflags "libnfnetlink >= 1.0" 2>/dev/null`
23 - test "x$?" != "x0" && pkg_failed=yes
30 -if test -n "$libnfnetlink_LIBS"; then
31 - pkg_cv_libnfnetlink_LIBS="$libnfnetlink_LIBS"
32 - elif test -n "$PKG_CONFIG"; then
33 - if test -n "$PKG_CONFIG" && \
34 - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnfnetlink >= 1.0\""; } >&5
35 - ($PKG_CONFIG --exists --print-errors "libnfnetlink >= 1.0") 2>&5
37 - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
38 - test $ac_status = 0; }; then
39 - pkg_cv_libnfnetlink_LIBS=`$PKG_CONFIG --libs "libnfnetlink >= 1.0" 2>/dev/null`
40 - test "x$?" != "x0" && pkg_failed=yes
50 -if test $pkg_failed = yes; then
51 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54 -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
55 - _pkg_short_errors_supported=yes
57 - _pkg_short_errors_supported=no
59 - if test $_pkg_short_errors_supported = yes; then
60 - libnfnetlink_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnfnetlink >= 1.0" 2>&1`
62 - libnfnetlink_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnfnetlink >= 1.0" 2>&1`
64 - # Put the nasty error message in config.log where it belongs
65 - echo "$libnfnetlink_PKG_ERRORS" >&5
68 -elif test $pkg_failed = untried; then
69 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
73 - libnfnetlink_CFLAGS=$pkg_cv_libnfnetlink_CFLAGS
74 - libnfnetlink_LIBS=$pkg_cv_libnfnetlink_LIBS
75 - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
76 -$as_echo "yes" >&6; }
79 - if test "$nfnetlink" = 1; then
81 HAVE_LIBNFNETLINK_TRUE=
82 HAVE_LIBNFNETLINK_FALSE='#'
84 Index: iptables-1.4.19.1/configure.ac
85 ===================================================================
86 --- iptables-1.4.19.1.orig/configure.ac 2013-05-29 16:37:33.176674855 +0200
87 +++ iptables-1.4.19.1/configure.ac 2013-05-29 16:37:33.168674855 +0200
89 AM_CONDITIONAL([ENABLE_LIBIPQ], [test "$enable_libipq" = "yes"])
90 AM_CONDITIONAL([ENABLE_BPFC], [test "$enable_bpfc" = "yes"])
92 -PKG_CHECK_MODULES([libnfnetlink], [libnfnetlink >= 1.0],
93 - [nfnetlink=1], [nfnetlink=0])
94 -AM_CONDITIONAL([HAVE_LIBNFNETLINK], [test "$nfnetlink" = 1])
95 +AM_CONDITIONAL([HAVE_LIBNFNETLINK], [false])
97 regular_CFLAGS="-Wall -Waggregate-return -Wmissing-declarations \
98 -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \