Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk Makefile.nmake main.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 24 Oct 2002 02:08:25 -0500 (CDT)
guy         2002/10/24 02:08:25 CDT

  Modified files:
    gtk                  Makefile.nmake main.c 
  Log:
  Don't include the header file to get the SNMP version unless we're
  building with an SNMP library.
  
  If we have Net-SNMP, include <net-snmp/version.h>, not
  <ucd-snmp/version.h>.
  
  Don't include any of the SNMP headers unless HAVE_SOME_SNMP is defined.
  
  Include <net-snmp/config_api.h> if we have Net-SNMP, to declare
  "read_premib_configs()" and "read_configs()".
  
  Supply the include directories for Net-SNMP in the Makefile.nmake for
  GTK 1.2 and GTK 2.
  
  Revision  Changes    Path
  1.32      +3 -2      ethereal/gtk/Makefile.nmake
  1.268     +11 -1     ethereal/gtk/main.c