X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.in;fp=configure.in;h=27c6cd316b916a0047cfe389face9b5b40d0af9b;hb=95c5059366e252f2a5e847993d3a429a8c8aa7c5;hp=ba52389eb3c48b28dbec8abfb4a82f6f7eb0e99f;hpb=b5c2af0c579603aa731550cdc4ea0ac1aa1be5d3;p=collectd.git diff --git a/configure.in b/configure.in index ba52389e..27c6cd31 100644 --- a/configure.in +++ b/configure.in @@ -78,6 +78,10 @@ case $host_os in AC_DEFINE([KERNEL_AIX], 1, [True if program is to be compiled for a AIX kernel]) ac_system="AIX" ;; + *freebsd*) + AC_DEFINE([KERNEL_FREEBSD], 1, [True if program is to be compiled for a FreeBSD kernel]) + ac_system="FreeBSD" + ;; *) ac_system="unknown" esac @@ -1362,6 +1366,8 @@ fi m4_divert_once([HELP_WITH], [ collectd additional packages:]) +AM_CONDITIONAL([BUILD_FREEBSD],[test "x$x$ac_system" = "xFreeBSD"]) + AM_CONDITIONAL([BUILD_AIX],[test "x$x$ac_system" = "xAIX"]) if test "x$ac_system" = "xAIX" @@ -4780,6 +4786,14 @@ then plugin_tcpconns="yes" fi +# FreeBSD + +if test "x$ac_system" = "xFreeBSD" +then + plugin_zfs_arc="yes" +fi + + if test "x$with_perfstat" = "xyes" then plugin_cpu="yes"