forked from osmocom/wireshark
![Guy Harris](/assets/img/avatar_default.png)
Define HAVE_SOME_SNMP if either HAVE_UCD_SNMP or HAVE_NET_SNMP is defined, and use HAVE_SOME_SNMP, rather than HAVE_UCD_SNMP, in most places when testing whether we have an SNMP library or not. Be more selective when including Net-SNMP header files. Fix up {gtk,gtk2}/main.c to do the same SNMP stuff that tethereal.c does - including the MIB stuff that gtk/main.c was doing but gtk2/main.c wasn't doing. Fix the copyright date in gtk/main.c. svn path=/trunk/; revision=6483
57 lines
1.3 KiB
C
57 lines
1.3 KiB
C
/* acconfig.h
|
|
* #ifdefs to be controlled by "configure"
|
|
*
|
|
* $Id: acconfig.h,v 1.27 2002/10/23 18:24:04 guy Exp $
|
|
*
|
|
* Ethereal - Network traffic analyzer
|
|
* By Gerald Combs <gerald@ethereal.org>
|
|
* Copyright 1998 Gerald Combs
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#undef PACKAGE
|
|
|
|
#undef VERSION
|
|
|
|
#undef HAVE_PLUGINS
|
|
|
|
#undef HAVE_SA_LEN
|
|
|
|
#undef DATAFILE_DIR
|
|
|
|
#undef NEED_SNPRINTF_H
|
|
|
|
#undef NEED_STRERROR_H
|
|
|
|
#undef NEED_STRPTIME_H
|
|
|
|
#undef HAVE_LIBPCAP
|
|
|
|
#undef HAVE_PCAP_VERSION
|
|
|
|
#undef HAVE_LIBZ
|
|
|
|
#undef HAVE_NET_SNMP
|
|
|
|
#undef HAVE_UCD_SNMP
|
|
|
|
#undef PLUGIN_DIR
|
|
|
|
@BOTTOM@
|
|
#if defined(HAVE_NET_SNMP) || defined(HAVE_UCD_SNMP)
|
|
#define HAVE_SOME_SNMP
|
|
#endif
|