From: Roland McGrath Date: Sat, 5 Feb 1994 18:35:44 +0000 (+0000) Subject: Formerly acspecific.m4.~192~ X-Git-Tag: fsf-origin~803 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56d0a7d32daea22a7e9f80e497e25abd128c68c4;p=thirdparty%2Fautoconf.git Formerly acspecific.m4.~192~ --- diff --git a/acspecific.m4 b/acspecific.m4 index 60eb92e2c..b3f7d87f0 100644 --- a/acspecific.m4 +++ b/acspecific.m4 @@ -582,8 +582,9 @@ AC_SUBST(NEED_SETGID)NEED_SETGID=false need_func=true # Check for the 4.4BSD definition of getloadavg. -AC_HAVE_LIBRARY(util, AC_HAVE_LIBRARY(kvm, -LIBS="$LIBS -lutil -lkvm" need_func=false)) +AC_HAVE_LIBRARY(util, LIBS="$LIBS -lutil" need_func=false) +# Some systems with -lutil have (and need) -lkvm as well, some do not. +AC_HAVE_LIBRARY(kvm, LIBS="$LIBS -lkvm") if $need_func; then # There is a commonly available library for RS/6000 AIX. diff --git a/lib/autoconf/specific.m4 b/lib/autoconf/specific.m4 index 60eb92e2c..b3f7d87f0 100644 --- a/lib/autoconf/specific.m4 +++ b/lib/autoconf/specific.m4 @@ -582,8 +582,9 @@ AC_SUBST(NEED_SETGID)NEED_SETGID=false need_func=true # Check for the 4.4BSD definition of getloadavg. -AC_HAVE_LIBRARY(util, AC_HAVE_LIBRARY(kvm, -LIBS="$LIBS -lutil -lkvm" need_func=false)) +AC_HAVE_LIBRARY(util, LIBS="$LIBS -lutil" need_func=false) +# Some systems with -lutil have (and need) -lkvm as well, some do not. +AC_HAVE_LIBRARY(kvm, LIBS="$LIBS -lkvm") if $need_func; then # There is a commonly available library for RS/6000 AIX.