Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

check for iptc_init in both iptc and ip4tc #35

Closed
wants to merge 1 commit into from

2 participants

@Elwell

./configure --enable-iptables was failing on fedora as iptc_init
wasn't found. This patches configure.in to also look in ip4tc

@Elwell Elwell Also check in ip4tc for iptc_init
./configure --enable-iptables was failing on fedora as iptc_init
wasn't found. This patches configure.in to also look in ip4tc
7d7aba5
@Elwell

hat tip also due to clundquist (@ChrisLundquist) on IRC for pointers where to look

@Elwell

it looks like debian have come across this bug and patched it differently http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614439 (not as clean IMHO :-)

@octo
Owner

Hi Andrew,

since this is a bug fix, it should go in the collectd-4.10 branch. Could you please rebase/cherry-pick your commit to there and change this pull request (if that's possible; otherwise just open a new one)? Thanks :)

@octo
Owner

Committed as 3835b23

Thank you very much for the patch :)

@octo octo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 26, 2012
  1. @Elwell

    Also check in ip4tc for iptc_init

    Elwell authored
    ./configure --enable-iptables was failing on fedora as iptc_init
    wasn't found. This patches configure.in to also look in ip4tc
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  configure.in
View
3  configure.in
@@ -1854,9 +1854,10 @@ then
AC_CHECK_TYPES([iptc_handle_t, ip6tc_handle_t], [], [])
fi
# Check for the iptc_init symbol in the library.
+# This could be in iptc or ip4tc
if test "x$with_libiptc" = "xpkgconfig"
then
- AC_CHECK_LIB(iptc, iptc_init,
+ AC_SEARCH_LIBS(iptc_init, [iptc ip4tc],
[with_libiptc="pkgconfig"],
[with_libiptc="no"],
[$with_libiptc_libs])
Something went wrong with that request. Please try again.