+1999-09-29 Ben Elliston <bje@cygnus.com>
+
+ * acspecific.m4 (AC_FUNC_GETLOADAVG): Check for the kstat_open()
+ function in libkstat (on systems such as Solaris). This family of
+ functions is preferred since they don't require setgid permissions
+ to use them. Fix for autoconf/65.
+
1999-09-27 Ben Elliston <bje@cygnus.com>
* autoscan.pl (scan_files): Emit an AC_PROG_CC invocation to
# to get the right answer into the cache.
AC_CHECK_LIB(elf, elf_begin, LIBS="-lelf $LIBS")
AC_CHECK_LIB(kvm, kvm_open, LIBS="-lkvm $LIBS")
+AC_CHECK_LIB(kstat, kstat_open)
# Check for the 4.4BSD definition of getloadavg.
AC_CHECK_LIB(util, getloadavg,
[LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes])
# to get the right answer into the cache.
AC_CHECK_LIB(elf, elf_begin, LIBS="-lelf $LIBS")
AC_CHECK_LIB(kvm, kvm_open, LIBS="-lkvm $LIBS")
+AC_CHECK_LIB(kstat, kstat_open)
# Check for the 4.4BSD definition of getloadavg.
AC_CHECK_LIB(util, getloadavg,
[LIBS="-lutil $LIBS" ac_have_func=yes ac_cv_func_getloadavg_setgid=yes])