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

Andrew Elwell Florian Forster
Andrew Elwell

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

Andrew 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
Andrew Elwell

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

Andrew 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 :-)

Florian Forster
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 :)

Florian Forster
Owner

Committed as 3835b23

Thank you very much for the patch :)

Florian Forster 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. Andrew 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
3  configure.in
View
@@ -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.