On Fri, 2005-06-10 at 14:28, Thomas Anders wrote:
> >> Dave> Patch #1109719: Remove (apparently) redundant quoting of
> >> Dave> configure options.
> >
> Wes> I think the problem was that some OSes needed it and some didn't
> Wes> I think that may break other things now. I guess we'll see.
> At least it potentially breaks the use of "net-snmp-config
> --configure-options" for configure options (like --with-mib-modules)
> containing *spaces*.
OK - I've done some more digging around.
The original configure.in included:
AC_DEFINE_UNQUOTED(CONFIGURE_OPTIONS,"\"$ac_configure_args\"")
CONFIGURE_OPTIONS="\"$ac_configure_args\""
which results in a double-quoted CONFIGURE_OPTIONS string
in the net-snmp-config.h header file.
The patch I applied changed this to:
AC_DEFINE_UNQUOTED(CONFIGURE_OPTIONS,"$ac_configure_args")
CONFIGURE_OPTIONS="$ac_configure_args"
which results in non-quoted configure options in the
net-snmp-conf script.
The (reasonably sensible) compromise:
AC_DEFINE_UNQUOTED(CONFIGURE_OPTIONS,"$ac_configure_args")
CONFIGURE_OPTIONS="\"$ac_configure_args\""
seems to result in a non-quoted CONFIGURE_OPTIONS string
in the net-snmp-config.h header file, but individually quoted
options in the net-snmp-conf script.
I've just commit this to the CVS code base. Can you confirm
whether this seems to fix your problems?
Dave
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders