On Mon, Jul 25, 2011 at 08:53:51AM -0700, Dennis Andrews wrote:
> Linux. I tested it on RHEL 6 and  RHEL 5.5

The following patch and running autoconf should fix it:

diff --git a/configure.d/config_os_functions b/configure.d/config_os_functions
index d7242a9..7736994 100644
--- a/configure.d/config_os_functions
+++ b/configure.d/config_os_functions
@@ -22,7 +22,6 @@ else
 fi

 AC_TYPE_SIGNAL
-AC_FUNC_GETMNTENT

 ##
 #   Stand-alone function checks:
diff --git a/configure.d/config_os_libs1 b/configure.d/config_os_libs1
index 00befbc..ce33d34 100644
--- a/configure.d/config_os_libs1
+++ b/configure.d/config_os_libs1
@@ -59,6 +59,7 @@ fi
 AC_SEARCH_LIBS(getfsstat, [nbutil])
 AC_CHECK_FUNCS(getfsstat)
 AC_CHECK_FUNCS(getvfsstat)
+AC_FUNC_GETMNTENT

 #
 # kinfo_get_cpus

It makes sure that vi have tested for getmntent before deciding which
agent modules to use.

/Niels

-- 
Niels Baggesen - @home - Ã…rhus - Denmark - [email protected]
The purpose of computing is insight, not numbers   ---   R W Hamming

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to