Disable inlining by adding -DNETSNMP_NO_INLINE to CFLAGS. Since we
only use header files, this should not be a problem. A more valid fix
would be to turn NETSNMP_INLINE into "extern inline" instead of just
"inline".
Without this fix, we get a lot of warnings with gcc 4.3.
AC_MSG_ERROR([*** unable to find net-snmp-config])
fi
NETSNMP_LIBS=`${NETSNMP_CONFIG} --agent-libs`
- NETSNMP_CFLAGS=`${NETSNMP_CONFIG} --base-cflags`
+ NETSNMP_CFLAGS="`${NETSNMP_CONFIG} --base-cflags` -DNETSNMP_NO_INLINE"
_save_flags="$CFLAGS"
CFLAGS="$CFLAGS ${NETSNMP_CFLAGS}"