Dave Shield wrote: > As I see it, there are three general types of entry in the config.h file: > > a) Net-SNMP-specific settings - stuff that's only meaningful to our code. > (e.g. DEFAULT_MIBDIRS, USE_REVERSE_ASNENCODING, etc) [...] > b) Generic system-related settings > (e.g. HAVE_SOME_HEADER_H, HAVE_SOME_FUNCTION) [...] > c) Generically-named, Net-SNMP-specific definitions > (e.g. VERSION, LOGFILE) [...] > As a first pass, I'd be tempted to separate out the Net-SNMP settings > (a & c above) from the system-configuration information (b), and list > these in two separate header files. That feels a much cleaner > arrangement than our current rag-bag mix.
Agreed in general. Still, where would you suggest to put the PACKAGE_* variables in that picture? Actually, they look too problematic to be put anywhere. :-( +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
