At 2007-02-28T09:34:13-0800, Zack Weinberg wrote:
> Why are we defining it at all if the system provides a definition?
> You ought to be
> able to add unsetenv to this list in configure.ac
>
> AC_CHECK_FUNCS([atexit memset mkstemp setenv strptime lrint \
> __cxa_current_exception_type __cxa_demangle])
>
> and then just put #ifndef HAVE_UNSETENV around the whole thing.
> (Similarly for setenv, which is already on the list.)
I've done something along these lines in
7eb4688b418e6ea3b78ec05cc03fd498e5f70dec on mainline. Review and comments
welcome.
Cheers,
-mjg
--
Matthew Gregan |/
/| [EMAIL PROTECTED]
_______________________________________________
Monotone-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/monotone-devel