X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.in;h=02a6361b6d0140b9173291f97564291b02182981;hb=ffcee9ab7119fb0580d3d4e3938316d3c29d6352;hp=b5031203b1b2e77a1e530992a0415c45660abd7f;hpb=d1f72747955c107445b1d25235ba0f8b78d47f4b;p=collectd.git diff --git a/configure.in b/configure.in index b5031203..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]) @@ -1665,7 +1666,7 @@ CPPFLAGS="$SAVE_CPPFLAGS" if test "x$with_libiptc" = "xown" then - with_libiptc_cflags="-I${srcdir}/src/owniptc" + with_libiptc_cflags="" with_libiptc_libs="" fi if test "x$with_libiptc" = "xown" @@ -2064,7 +2065,7 @@ then fi if test "x$with_libmysql" = "xyes" then - with_mysql_libs=`$with_mysql_config --libs 2>/dev/null` + with_mysql_libs=`$with_mysql_config --libs_r 2>/dev/null` mysql_config_status=$? if test $mysql_config_status -ne 0