]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
1999-09-29 Ben Elliston <bje@cygnus.com> trunk-pre-merge-trunk-into-experimental-1999-10-01
authorBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Wed, 29 Sep 1999 01:03:25 +0000 (01:03 +0000)
committerBen Elliston <bje+keyword+gnu.7caf74@air.net.au>
Wed, 29 Sep 1999 01:03:25 +0000 (01:03 +0000)
* 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.

ChangeLog
acspecific.m4
lib/autoconf/specific.m4

index 2c602a9908a86f7b77e53ecb0850011ba964e942..14900c6934c8286bd676313b3e35800727732839 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+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
index 3e5f56a11ecbc5944fddd15631ae5a19d125cb0e..77a0ba1113eb0a50dd2c2cfca38f66f12d385e18 100644 (file)
@@ -1494,6 +1494,7 @@ AC_DEFUN(AC_FUNC_GETLOADAVG,
 # 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])
index 3e5f56a11ecbc5944fddd15631ae5a19d125cb0e..77a0ba1113eb0a50dd2c2cfca38f66f12d385e18 100644 (file)
@@ -1494,6 +1494,7 @@ AC_DEFUN(AC_FUNC_GETLOADAVG,
 # 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])