diff options
Diffstat (limited to 'erts')
-rw-r--r-- | erts/configure.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in index 1676d3d216..c41a5bec5a 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -4705,9 +4705,18 @@ AC_CHECK_LIB(kstat, kstat_open, [ CPU_SUP_LIBS="$CPU_SUP_LIBS -lkstat" ]) +AC_CHECK_LIB(kvm, kvm_open, [ + os_mon_programs="$os_mon_programs cpu_sup" + CPU_SUP_LIBS="$CPU_SUP_LIBS -lkvm" + ]) + case $host_os in solaris2*) os_mon_programs="$os_mon_programs ferrule mod_syslog" ;; + darwin*) + os_mon_programs="$os_mon_programs cpu_sup" ;; + openbsd*) + os_mon_programs="$os_mon_programs cpu_sup" ;; linux*) os_mon_programs="$os_mon_programs cpu_sup" ;; esac |