]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Formerly acspecific.m4.~192~
authorRoland McGrath <roland@gnu.org>
Sat, 5 Feb 1994 18:35:44 +0000 (18:35 +0000)
committerRoland McGrath <roland@gnu.org>
Sat, 5 Feb 1994 18:35:44 +0000 (18:35 +0000)
acspecific.m4
lib/autoconf/specific.m4

index 60eb92e2c56c0465553735e308448d76b94bd8f2..b3f7d87f00d69a9a34a11761374abe318e5863df 100644 (file)
@@ -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.
index 60eb92e2c56c0465553735e308448d76b94bd8f2..b3f7d87f00d69a9a34a11761374abe318e5863df 100644 (file)
@@ -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.