coreutils/bugfix-remove-usr-local-lib-from-m4.patch

22 lines
804 B
Diff
Raw Normal View History

2019-09-30 10:35:48 -04:00
diff --git a/m4/getloadavg.m4 b/m4/getloadavg.m4
index c9f5a6d..e8f94dd 100644
--- a/m4/getloadavg.m4
+++ b/m4/getloadavg.m4
@@ -41,16 +41,6 @@ AC_CHECK_FUNC([getloadavg], [],
[LIBS="-lutil $LIBS" gl_func_getloadavg_done=yes])
fi
- if test $gl_func_getloadavg_done = no; then
- # There is a commonly available library for RS/6000 AIX.
- # Since it is not a standard part of AIX, it might be installed locally.
- gl_getloadavg_LIBS=$LIBS
- LIBS="-L/usr/local/lib $LIBS"
- AC_CHECK_LIB([getloadavg], [getloadavg],
- [LIBS="-lgetloadavg $LIBS" gl_func_getloadavg_done=yes],
- [LIBS=$gl_getloadavg_LIBS])
- fi
-
# Set up the replacement function if necessary.
if test $gl_func_getloadavg_done = no; then
HAVE_GETLOADAVG=0