]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(AC_FUNC_GETLOADAVG): Use elf_begin in -lelf check, not elf_read.
authorRoland McGrath <roland@gnu.org>
Wed, 7 Dec 1994 00:07:00 +0000 (00:07 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 7 Dec 1994 00:07:00 +0000 (00:07 +0000)
acspecific.m4
lib/autoconf/specific.m4

index 84a4383df91ced09f92afa05f326a28f3effbacf..724c3bd19139afc52e4c58c49b8e4357c19a24c5 100644 (file)
@@ -1114,7 +1114,7 @@ if test $ac_have_func = no; then
 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
 # uses stabs), but it is still SVR4.  We cannot check for <elf.h> because
 # Irix 4.0.5F has the header but not the library.
-AC_CHECK_LIB(elf, elf_read,
+AC_CHECK_LIB(elf, elf_begin,
   [LIBS="$LIBS -lelf" ac_have_func=yes AC_DEFINE(SVR4)
   AC_CHECK_LIB(kvm, kvm_open, LIBS="$LIBS -lkvm")])
 fi
index 84a4383df91ced09f92afa05f326a28f3effbacf..724c3bd19139afc52e4c58c49b8e4357c19a24c5 100644 (file)
@@ -1114,7 +1114,7 @@ if test $ac_have_func = no; then
 # We cannot check for <dwarf.h>, because Solaris 2 does not use dwarf (it
 # uses stabs), but it is still SVR4.  We cannot check for <elf.h> because
 # Irix 4.0.5F has the header but not the library.
-AC_CHECK_LIB(elf, elf_read,
+AC_CHECK_LIB(elf, elf_begin,
   [LIBS="$LIBS -lelf" ac_have_func=yes AC_DEFINE(SVR4)
   AC_CHECK_LIB(kvm, kvm_open, LIBS="$LIBS -lkvm")])
 fi