aboutsummaryrefslogtreecommitdiffstats
path: root/community/autoconf2.13/getloadavg.patch
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-04-24 13:27:20 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-05-04 17:12:57 +0000
commit8b28bdf5b6adfb470f70b5c403f7798269b248ea (patch)
treeb0c3b6ba3143e6a53048834c00ded48c729ca065 /community/autoconf2.13/getloadavg.patch
parentb8df39b7efe1d0ddbf7d9aa9865d2b879d743789 (diff)
downloadaports-8b28bdf5b6adfb470f70b5c403f7798269b248ea.tar.bz2
aports-8b28bdf5b6adfb470f70b5c403f7798269b248ea.tar.xz
main/autoconf2.13: move from community
mozjs60 pulls it in now.
Diffstat (limited to 'community/autoconf2.13/getloadavg.patch')
-rw-r--r--community/autoconf2.13/getloadavg.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/community/autoconf2.13/getloadavg.patch b/community/autoconf2.13/getloadavg.patch
deleted file mode 100644
index 46f26d692f..0000000000
--- a/community/autoconf2.13/getloadavg.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From debian/patches/other-debian.patch.
-
-autoconf (2.13-24) unstable; urgency=low
- * Fix test for getloadavg (Bug#84170).
- -- Ben Pfaff <blp@gnu.org> Wed, 31 Jan 2001 19:12:03 -0500
-
---- autoconf-2.13/acspecific.m4
-+++ autoconf-2.13/acspecific.m4
-@@ -1477,14 +1477,19 @@ AC_SUBST(ALLOCA)dnl
- AC_DEFUN(AC_FUNC_GETLOADAVG,
- [ac_have_func=no # yes means we've found a way to get the load average.
-
--# Some systems with -lutil have (and need) -lkvm as well, some do not.
--# On Solaris, -lkvm requires nlist from -lelf, so check that first
--# 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")
--# 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])
-+# Some systems have getloadavg without any extra libraries.
-+AC_CHECK_FUNC(getloadavg, [ac_have_func=yes])
-+
-+if test $ac_have_func = no; then
-+ # Some systems with -lutil have (and need) -lkvm as well, some do not.
-+ # On Solaris, -lkvm requires nlist from -lelf, so check that first
-+ # 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")
-+ # 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])
-+fi
-
- if test $ac_have_func = no; then
- # There is a commonly available library for RS/6000 AIX.