X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.in;h=02a6361b6d0140b9173291f97564291b02182981;hb=3835b23a2576a239f463b09edadf0dcde5d26f2d;hp=0acad7064b5747b44cc61d80edf0d5d27b42ad97;hpb=1bb1667d220d07f25c584a41be7f3dfcbc1ad04b;p=collectd.git diff --git a/configure.in b/configure.in index 0acad706..02a6361b 100644 --- a/configure.in +++ b/configure.in @@ -1649,9 +1649,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])