Potential build issues on some UNIX versions
unsetenv is used even if
HAVE_UNSETENV is not defined. It's probably not a big deal as it has been like that for four years.
But AFAIK, this would at least fail to build with relatively recent versions of HPUX.
If we conclude that this check is not necessary, then I would remove them from