mirror of
git://git.sv.gnu.org/autoconf
synced 2025-01-30 11:01:45 +08:00
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.
This commit is contained in:
parent
db93a8d50b
commit
ccaec82d1f
@ -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
|
||||
|
@ -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])
|
||||
|
@ -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])
|
||||
|
Loading…
Reference in New Issue
Block a user