X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=configure.ac;h=be1f02ef46dee175a28ed7e2972b827f97fb33d8;hb=4cee263e4f6a1cc0cf98f8f30f1687e99dcc74b5;hp=e7d5dd58c9f79ee226b0603b05c287fc89987322;hpb=6124da7a48f28f54fc09ebeb942d1037516fe6ab;p=collectd.git diff --git a/configure.ac b/configure.ac index e7d5dd58..be1f02ef 100644 --- a/configure.ac +++ b/configure.ac @@ -24,6 +24,8 @@ m4_ifdef([LT_PACKAGE_VERSION], ] ) +AM_CONDITIONAL([BUILD_INCLUDED_LTDL], [test "x$LTDLDEPS" != "x"]) + AM_INIT_AUTOMAKE([tar-pax dist-bzip2 foreign]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) AC_LANG(C) @@ -622,6 +624,9 @@ AC_CHECK_HEADERS(net/pfvar.h, #if HAVE_NET_IF_H # include #endif +#if HAVE_NETINET_IN_H +# include +#endif ]) # For the multimeter plugin @@ -3130,11 +3135,6 @@ then fi if test "x$with_libpcap" = "xyes" then - AC_CHECK_HEADERS(pcap-bpf.h,, - [with_libpcap="no (pcap-bpf.h not found)"]) -fi -if test "x$with_libpcap" = "xyes" -then AC_CACHE_CHECK([whether libpcap has PCAP_ERROR_IFACE_NOT_UP], [c_cv_libpcap_have_pcap_error_iface_not_up], AC_COMPILE_IFELSE([AC_LANG_PROGRAM( @@ -3587,8 +3587,8 @@ fi # }}} --with-python # --with-librabbitmq {{{ -with_librabbitmq_cppflags="-I/usr/local/include" -with_librabbitmq_ldflags="-L/usr/local/lib" +with_librabbitmq_cppflags="" +with_librabbitmq_ldflags="" AC_ARG_WITH(librabbitmq, [AS_HELP_STRING([--with-librabbitmq@<:@=PREFIX@:>@], [Path to librabbitmq.])], [ if test "x$withval" != "xno" && test "x$withval" != "xyes"