unsetenv: Add missing declaration on OSF/1 5.1.
authorBruno Haible <bruno@clisp.org>
Sun, 19 Dec 2010 17:35:54 +0000 (18:35 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 19 Dec 2010 17:35:54 +0000 (18:35 +0100)
commit1820a91386b8a2e511534da3d2601ab838381673
tree0ff10007da48914e8c1ca7231667868879ed873a
parentce700d8c46ee5b2408c824d26ce7664d1a89a29f
unsetenv: Add missing declaration on OSF/1 5.1.

* lib/stdlib.in.h (setenv): Test HAVE_DECL_UNSETENV, not HAVE_UNSETENV.
* m4/setenv.m4 (gl_FUNC_UNSETENV): Test whether unsetenv is declared.
Don't set HAVE_UNSETENV. In the test program, set _BSD.
* m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize HAVE_DECL_UNSETENV,
not HAVE_UNSETENV.
* modules/stdlib (Makefile.am): Substitute HAVE_DECL_UNSETENV, not
HAVE_UNSETENV.
* doc/posix-functions/unsetenv.texi: Mention the OSF/1 5.1 problem.
ChangeLog
doc/posix-functions/unsetenv.texi
lib/stdlib.in.h
m4/setenv.m4
m4/stdlib_h.m4
modules/stdlib