dnl This file is part of the Autoconf packaging for Ethereal.
dnl Copyright (C) 1998-2000 by Gerald Combs.
dnl
-dnl $Id: acinclude.m4,v 1.45 2002/07/06 20:40:42 guy Exp $
+dnl $Id: acinclude.m4,v 1.46 2002/10/25 03:13:07 guy Exp $
dnl
dnl This program is free software; you can redistribute it and/or modify
dnl it under the terms of the GNU General Public License as published by
#
AC_CHECK_HEADER(ucd-snmp/snmp.h,
[
- #
- # Yup, we have it.
- # Do we have <ucd-snmp/version.h>? It's not required,
- # but if it's not present we can't report the version number.
- #
- AC_CHECK_HEADERS(ucd-snmp/version.h)
-
#
# UCD SNMP may require "-lkstat" on Solaris, sigh.
# XXX - it may also require "-lcrypto" on some platforms;
/* main.c
*
- * $Id: main.c,v 1.270 2002/10/25 01:08:46 guy Exp $
+ * $Id: main.c,v 1.271 2002/10/25 03:13:09 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
#endif
#ifdef HAVE_SOME_SNMP
+
#ifdef HAVE_NET_SNMP
#include <net-snmp/version.h>
-#else /* HAVE_NET_SNMP */
-/*
- * XXX - we no longer support old versions of UCD SNMP; do all the
- * versions we support have, and install, this header?
- */
-#ifdef HAVE_UCD_SNMP_VERSION_H
-#include <ucd-snmp/version.h>
-#endif /* HAVE_UCD_SNMP_VERSION_H */
#endif /* HAVE_NET_SNMP */
+
+#ifdef HAVE_UCD_SNMP
+#include <ucd-snmp/version.h>
+#endif /* HAVE_UCD_SNMP */
+
#endif /* HAVE_SOME_SNMP */
#ifdef NEED_STRERROR_H
#ifdef HAVE_UCD_SNMP
g_string_append(comp_info_str, ", with UCD-SNMP ");
-#ifdef HAVE_UCD_SNMP_VERSION_H
g_string_append(comp_info_str, VersionInfo);
-#else /* HAVE_UCD_SNMP_VERSION_H */
- g_string_append(comp_info_str, "(version unknown)");
-#endif /* HAVE_UCD_SNMP_VERSION_H */
#endif /* HAVE_UCD_SNMP */
#ifdef HAVE_NET_SNMP
/* main.c
*
- * $Id: main.c,v 1.18 2002/10/25 01:08:48 guy Exp $
+ * $Id: main.c,v 1.19 2002/10/25 03:13:11 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
#endif
#ifdef HAVE_SOME_SNMP
+
#ifdef HAVE_NET_SNMP
#include <net-snmp/version.h>
-#else /* HAVE_NET_SNMP */
-/*
- * XXX - we no longer support old versions of UCD SNMP; do all the
- * versions we support have, and install, this header?
- */
-#ifdef HAVE_UCD_SNMP_VERSION_H
-#include <ucd-snmp/version.h>
-#endif /* HAVE_UCD_SNMP_VERSION_H */
#endif /* HAVE_NET_SNMP */
+
+#ifdef HAVE_UCD_SNMP
+#include <ucd-snmp/version.h>
+#endif /* HAVE_UCD_SNMP */
+
#endif /* HAVE_SOME_SNMP */
#ifdef NEED_STRERROR_H
#ifdef HAVE_UCD_SNMP
g_string_append(comp_info_str, ", with UCD-SNMP ");
-#ifdef HAVE_UCD_SNMP_VERSION_H
g_string_append(comp_info_str, VersionInfo);
-#else /* HAVE_UCD_SNMP_VERSION_H */
- g_string_append(comp_info_str, "(version unknown)");
-#endif /* HAVE_UCD_SNMP_VERSION_H */
#endif /* HAVE_UCD_SNMP */
#ifdef HAVE_NET_SNMP
/* tethereal.c
*
- * $Id: tethereal.c,v 1.164 2002/10/24 07:08:22 guy Exp $
+ * $Id: tethereal.c,v 1.165 2002/10/25 03:13:07 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
#endif
#ifdef HAVE_SOME_SNMP
+
#ifdef HAVE_NET_SNMP
#include <net-snmp/version.h>
-#else /* HAVE_NET_SNMP */
-/*
- * XXX - we no longer support old versions of UCD SNMP; do all the
- * versions we support have, and install, this header?
- */
-#ifdef HAVE_UCD_SNMP_VERSION_H
-#include <ucd-snmp/version.h>
-#endif /* HAVE_UCD_SNMP_VERSION_H */
#endif /* HAVE_NET_SNMP */
+
+#ifdef HAVE_UCD_SNMP
+#include <ucd-snmp/version.h>
+#endif /* HAVE_UCD_SNMP */
+
#endif /* HAVE_SOME_SNMP */
#ifdef NEED_STRERROR_H
#ifdef HAVE_UCD_SNMP
g_string_append(comp_info_str, ", with UCD-SNMP ");
-#ifdef HAVE_UCD_SNMP_VERSION_H
g_string_append(comp_info_str, VersionInfo);
-#else /* HAVE_UCD_SNMP_VERSION_H */
- g_string_append(comp_info_str, "(version unknown)");
-#endif /* HAVE_UCD_SNMP_VERSION_H */
#endif /* HAVE_UCD_SNMP */
#ifdef HAVE_NET_SNMP