[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ethereal-cvs
Subject:    Re: [ethereal-cvs] cvs commit: ethereal packet-snmp.c
From:       Guy Harris <guy () netapp ! com>
Date:       1999-10-27 21:26:16
[Download RAW message or body]

> Odd. The FreeBSD package should put the headers in 
> /usr/local/include/ucd-snmp/ and the lib should be 
> /usr/local/lib/libsnmp.so.X

Hmm.  I now seem to remember that the "AC_ETHEREAL_UCDSNMP_CHECK" macro
(in "acinclude.m4") apparently failed to look in "/usr/local/include"
for a "ucd-snmp" directory and header files therein, which might've been
the problem I saw.

It checks "$ucdsnmp_user_dir" and "$prefix"; "$ucdsnmp_user_dir" is the
directory specified by a "--with-ucdsnmp=" flag, and "$prefix" would, in
theory, be the directory specified by a "-prefix=" flag, defaulting to
"/usr/include", except that it's not set until fairly late in
"configure" as generated by "autoconf" - i.e., by "AC_OUTPUT".

It should probably work around this by doing the same

	test "x$prefix" = xNONE && prefix=$ac_default_prefix

stuff that "configure.in" does to set "DATAFILE_DIR".

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic