Steve Friedl wrote:
Michael J. Slifcak wrote:

Steve, the patch looks good from five hundred feet elevation %^)

To complete it, you'll need to add an #undef patch to acconfig.h
so the #undef will be propagated to net-snmp-config.h.in .

I've been bit several times by that one before.


Ok, I've submitted an updated patch that deals with this issue - I wish there were better "big picture" documentation on configure, I spent forever on this silly thing.

And unfortunately you are not out of the woods, so to speak. I think a reading on "aclocal", "automake", and "autoconf" will give you the background you need to tackle most any configure-related problem. Well, just because I think so doesn't make it so! There have been a few issues related to different versions, as vendors change their packaging of "autoconf" etc. In fact, scanning the Net-SNMP Bugs repository will yield many bug reports that directly or indirectly show the anomalies that "configure" injects into the build process.


I also think that porting the agent to SCO Unixware is going to be a bit of work - the header files are really all badly confused (most of them require other headers even to compile), and the configure.in code looks like


AC_CHECK_HEADERS(netinet/tcp.h netinet/ip_icmp.h,,,[
#ifdef HAVE_NETINET_IN_H
#  include <netinet/in.h>
#endif])

AC_CHECK_HEADERS(netinet/if_ether.h netinet/ip_var.h,,,[
#include <sys/socket.h>
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif])

AC_CHECK_HEADERS(netinet/in_var.h,,,[
#ifdef HAVE_NET_IF_H
# include <net/if.h>
#endif
#ifdef HAVE_NETINET_IN_H
# include <netinet/in.h>
#endif])

AC_CHECK_HEADERS(netinet/udp_var.h,,,[
#include <sys/socket.h>
#ifdef HAVE_NETINET_IN_H
#  include <netinet/in.h>
#endif
#ifdef HAVE_NETINET_IP_VAR_H
# include <netinet/ip_var.h>
#endif
#ifdef HAVE_NETINET_UDP_H
#  include <netinet/udp.h>
#endif])

(that's just part of it), and this just can't be right, so I figure that I need to approach it differnetly.

But this tz_gmtoff stuff looked like it was generic enough to be worthy of submission.

Steve


I think that Robert and Dave can comment on how newer releases address platform dependent modules.


-Mike Slifcak


------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ Net-snmp-coders mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to