> 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".
I've attached a patch to "acinclude.m4" to make it do so; I don't have a
machine handy with UCD SNMP's headers installed in
"/usr/local/include/ucd-snmp", so could somebody who does (and who also
has the UCD SNMP library installed in "/usr/local/lib" apply this patch,
run "autogen.sh", and test the resulting configure script by running it
*without* any SNMP-related configure flags (i.e., don't tell it where to
look for the UCD SNMP library, just run "./configure" with no
arguments)?
Index: acinclude.m4
===================================================================
RCS file: /usr/local/cvsroot/ethereal/acinclude.m4,v
retrieving revision 1.10
diff -c -r1.10 acinclude.m4
*** acinclude.m4 1999/10/21 15:03:21 1.10
--- acinclude.m4 1999/10/27 21:31:27
***************
*** 222,228 ****
then
ucdsnmpdir=""
! for d in $ucdsnmp_user_dir $prefix
do
AC_MSG_CHECKING($d)
--- 222,239 ----
then
ucdsnmpdir=""
! #
! # "$prefix" isn't set at this point, so set
! # "$ucdsnmp_prefix" to "$prefix" and, if it's
! # "NONE", set it to "$ac_default_prefix".
! # (We don't want to set "$prefix" here, I assume,
! # given that it's not normally set by "autoconf"
! # scripts until "AC_OUTPUT" is run.)
! #
! ucdsnmp_prefix="$prefix"
! test "x$ucdsnmp_prefix" = xNONE && ucdsnmp_prefix=$ac_default_prefix
!
! for d in $ucdsnmp_user_dir $ucdsnmp_prefix
do
AC_MSG_CHECKING($d)