X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=7d5c2922a28ff50154e7b1df67175ed82e0e32c4;hb=ea88ee5af2da6f37727dfce6b216d9f8ddce0814;hp=5e2eaa03f157c49129613df9d1049abd407264e5;hpb=dee5e45a1bcb3b8a95f1b9f448b29dda7b6072b7;p=collectd.git diff --git a/configure.ac b/configure.ac index 5e2eaa03..7d5c2922 100644 --- a/configure.ac +++ b/configure.ac @@ -1603,7 +1603,6 @@ if test "x$with_libhal" = "xyes"; then fi fi -AC_SUBST([PTHREAD_LIBS]) SAVE_LIBS="$LIBS" AC_CHECK_LIB([pthread], [pthread_create], @@ -1618,6 +1617,7 @@ AC_CHECK_HEADERS([pthread.h], [], [AC_MSG_ERROR([pthread.h not found])] ) +AC_SUBST([PTHREAD_LIBS]) m4_divert_once([HELP_WITH], [ collectd additional packages:]) @@ -1932,7 +1932,6 @@ then AC_DEFINE(HAVE_CURLOPT_TIMEOUT_MS, 1, [Define if libcurl supports CURLOPT_TIMEOUT_MS option.]) fi fi -AM_CONDITIONAL(BUILD_WITH_LIBCURL, test "x$with_libcurl" = "xyes") # }}} # --with-libdbi {{{ @@ -3342,9 +3341,9 @@ then fi if test "x$with_oracle" = "xyes" then - BUILD_WITH_ORACLE_CFLAGS="$with_oracle_cppflags" + BUILD_WITH_ORACLE_CPPFLAGS="$with_oracle_cppflags" BUILD_WITH_ORACLE_LIBS="$with_oracle_libs" - AC_SUBST(BUILD_WITH_ORACLE_CFLAGS) + AC_SUBST(BUILD_WITH_ORACLE_CPPFLAGS) AC_SUBST(BUILD_WITH_ORACLE_LIBS) fi # }}} @@ -4751,6 +4750,10 @@ then CPPFLAGS="$SAVE_CPPFLAGS" LDFLAGS="$SAVE_LDFLAGS" + LIBXENCTL_CPPFLAGS="$with_libxenctl_cppflags" + LIBXENCTL_LDFLAGS="$with_libxenctl_ldflags" + AC_SUBST(LIBXENCTL_CPPFLAGS) + AC_SUBST(LIBXENCTL_LDFLAGS) fi # --with-libxmms {{{ @@ -5826,6 +5829,7 @@ AC_PLUGIN([battery], [$plugin_battery], [Battery statistics] AC_PLUGIN([bind], [$plugin_bind], [ISC Bind nameserver statistics]) AC_PLUGIN([ceph], [$plugin_ceph], [Ceph daemon statistics]) AC_PLUGIN([cgroups], [$plugin_cgroups], [CGroups CPU usage accounting]) +AC_PLUGIN([chrony], [yes], [Chrony statistics]) AC_PLUGIN([conntrack], [$plugin_conntrack], [nf_conntrack statistics]) AC_PLUGIN([contextswitch], [$plugin_contextswitch], [context switch statistics]) AC_PLUGIN([cpu], [$plugin_cpu], [CPU usage statistics]) @@ -6228,6 +6232,7 @@ Configuration: bind . . . . . . . . $enable_bind ceph . . . . . . . . $enable_ceph cgroups . . . . . . . $enable_cgroups + chrony. . . . . . . . $enable_chrony conntrack . . . . . . $enable_conntrack contextswitch . . . . $enable_contextswitch cpu . . . . . . . . . $enable_cpu