monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] unsetenv


From: Zack Weinberg
Subject: Re: [Monotone-devel] unsetenv
Date: Wed, 28 Feb 2007 09:34:13 -0800

On 2/28/07, William Uther <address@hidden> wrote:
   There seem to be some issues with the unsetenv() definition at
line ~102 in tester.cc .

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.)

zw




reply via email to

[Prev in Thread] Current Thread [Next in Thread]