Ethereal-dev: [ethereal-dev] fix for configure for ucd snmp

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

From: "Neulinger, Nathan R." <nneul@xxxxxxx>
Date: Thu, 21 Oct 1999 09:22:21 -0500
Thought that it should have been ucd-snmp, but actually shouldn't have
anything there since you are checking for the header "ucd-snmp/snmp.h". It
also needs the cpp flags for the header check.

---cut---
Index: acinclude.m4
===================================================================
RCS file: /cvsroot/ethereal/acinclude.m4,v
retrieving revision 1.9
diff -u -r1.9 acinclude.m4
--- acinclude.m4        1999/10/12 23:12:02     1.9
+++ acinclude.m4        1999/10/21 14:20:27
@@ -237,7 +237,8 @@
                if test x$ucdsnmpdir != x
                then
                        AC_MSG_RESULT(added $d to paths)
-                       CFLAGS="$CFLAGS -I${ucdsnmpdir}/include/ucdsnmp"
+                       CFLAGS="$CFLAGS -I${ucdsnmpdir}/include"
+                       CPPFLAGS="$CPPFLAGS -I${ucdsnmpdir}/include"
                        LIBS="$LIBS -L${ucdsnmpdir}/lib"
                fi
        fi
---cut---



-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  nneul@xxxxxxx
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216