aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-02-28 06:04:30 +0000
committerGuy Harris <guy@alum.mit.edu>2003-02-28 06:04:30 +0000
commit02743108b721b48742620c9153767e0d748ac33f (patch)
treef098cf12e7d99ec439fb10643490c3ba7a6c33ab
parent939b9d075276125e9b4a7434c4d6227e06747233 (diff)
Check for <ucd-snmp/ucd-snmp-config.h>, not <ucd-snmp/snmp.h> - we don't
include <ucd-snmp/snmp.h>, we incldue <ucd-snmp/ucd-snmp-config.h>, and, at least with some UCD SNMP versions, you can't just include <ucd-snmp/snmp.h> without including a header to typedef "oid", so you get a warning from the configure script if it's built with autoconf 2.57 (it whines because the test program won't compile but the header exists). svn path=/trunk/; revision=7220
-rw-r--r--acinclude.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 978817faae..6e948fb2c6 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -2,7 +2,7 @@ dnl Macros that test for specific features.
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.52 2003/02/26 20:08:30 guy Exp $
+dnl $Id: acinclude.m4,v 1.53 2003/02/28 06:04:30 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
@@ -538,10 +538,10 @@ AC_DEFUN(AC_ETHEREAL_UCDSNMP_CHECK,
fi
#
- # Check for the UCD SNMP header file, to see whether we
- # have UCD SNMP installed.
+ # Check for one of the UCD SNMP header files we include,
+ # to see whether we have UCD SNMP installed.
#
- AC_CHECK_HEADER(ucd-snmp/snmp.h,
+ AC_CHECK_HEADER(ucd-snmp/ucd-snmp-config.h,
[
#
# UCD SNMP may require "-lkstat" on Solaris, sigh.