Hello Jan,

Is there a particular reason why you have used AC_CHECK_DECLS() instead of
AC_CHECK_FUNC() ? Even if AC_CHECK_DECLS() finds the specified declaration,
linking can still fail. AC_CHECK_FUNC() verifies whether linking succeeds.

Also, please run autoreconf -iv before committing configure script changes
such that configure.d/* and configure are kept in sync (see also
http://www.net-snmp.org/wiki/index.php/Build_System).

Thanks,

Bart.

On Wed, May 12, 2010 at 2:05 PM, <[email protected]> wrote:

> Revision: 18711
>          http://net-snmp.svn.sourceforge.net/net-snmp/?rev=18711&view=rev
> Author:   jsafranek
> Date:     2010-05-12 12:05:29 +0000 (Wed, 12 May 2010)
>
> Log Message:
> -----------
> CHANGES: building: added detection of lm_sensors version.
> I am not Autoconf guru, so I hope I got it right. The goal is to define
> NETSNMP_USE_SENSORS_V3 *before* config_modules_agent processes
> agent/mibgroup/hardware/sensors.h.
>
> Modified Paths:
> --------------
>    branches/V5-5-patches/agent/mibgroup/hardware/sensors.h
>    branches/V5-5-patches/configure.d/config_modules_lib
>    branches/V5-5-patches/configure.d/config_os_headers
>    trunk/net-snmp/agent/mibgroup/hardware/sensors.h
>    trunk/net-snmp/configure.d/config_modules_lib
>    trunk/net-snmp/configure.d/config_os_headers
>
------------------------------------------------------------------------------

_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to