aboutsummaryrefslogtreecommitdiffstats
path: root/lang/erlang/files/patch-ae
blob: f4d48694e46f1b8a30e5a416f87d6798f9b07b53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- erts/autoconf/configure.in.orig Sat Dec  2 22:27:49 2000
+++ erts/autoconf/configure.in  Sat Dec  2 22:34:30 2000
@@ -638,10 +638,13 @@
 # Os mon stuff.
 #--------------------------------------------------------------------
 AC_SUBST(os_mon_programs)
-AC_CHECK_LIB(kstat, kstat_open, [os_mon_programs="$os_mon_programs cpu_sup"])
+AC_SUBST(os_mon_kstat)
+AC_CHECK_LIB(kstat, kstat_open, [os_mon_kstat="-lkstat", os_mon_programs="$os_mon_programs cpu_sup"])
 case $host_os in
    solaris2*)
        os_mon_programs="$os_mon_programs ferrule mod_syslog" ;;
+   freebsd*)
+       os_mon_programs="$os_mon_programs cpu_sup ferrule mod_syslog" ;;
 esac
 

# End