putenv: port to Solaris 10
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Mar 2013 07:10:30 +0000 (00:10 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Mar 2013 07:10:59 +0000 (00:10 -0700)
commit726c760e3f7660648770641222fa84a3fcfd5849
tree798601371a34c2490db73a5dbfe645f2b7fdb1f8
parent5fc6a761710ba6cca558e69e8340728e139909fd
putenv: port to Solaris 10

* lib/putenv.c (_unsetenv, putenv): Use HAVE_DECL__PUTENV, not
HAVE__PUTENV.  Solaris 10 has a _putenv that's not declared and
is not what is wanted here.
* m4/putenv.m4 (gl_PREREQ_PUTENV): Check for _putenv's
declaration, not for its existence.
ChangeLog
lib/putenv.c
m4/putenv.m4