diff options
author | Gerald Combs <gerald@wireshark.org> | 2001-12-12 05:26:53 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2001-12-12 05:26:53 +0000 |
commit | 3dedae14f9822d0d3d715c5c67f4bc063b43ed05 (patch) | |
tree | 7b59cd1c7cf4cf06a384a3c51f1ba8baeb90ddb1 /configure.in | |
parent | 8bae6e2e3df77d083636e298b006f3b8af15394d (diff) |
Work around changes made to recent Red Hat ucd-snmp packages. See
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=57421
for details.
svn path=/trunk/; revision=4387
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/configure.in b/configure.in index b292481b2c..8f2b49e76f 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -# $Id: configure.in,v 1.141 2001/12/07 22:56:56 guy Exp $ +# $Id: configure.in,v 1.142 2001/12/12 05:26:53 gerald Exp $ dnl dnl Process this file with autoconf 2.13 or later to produce a dnl configure script; 2.12 doesn't generate a "configure" script that @@ -494,6 +494,16 @@ else "$ac_cv_header_snmp_snmp_h" = yes ; then AC_MSG_ERROR([Both UCD and CMU SNMP libraries found - uninstall one of them.]) fi + + # + # Look for the string 'sbuf' in ucd-snmp/mib.h. If found, assume + # we've encountered a Red Hat-modified version of UCD SNMP. + # + # XXX - Check for 'binit()' in parse.h + # + AC_EGREP_HEADER(sprint_objid.*sbuf, ucd-snmp/mib.h, + AC_DEFINE(RED_HAT_MODIFIED_UCD_SNMP)) + # # This may require "-lkstat" on Solaris, sigh. |