[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] unsetenv
From: |
Matthew Gregan |
Subject: |
Re: [Monotone-devel] unsetenv |
Date: |
Thu, 1 Mar 2007 09:11:40 +1300 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
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 |/
/| address@hidden