setenv: Add missing declaration on OSF/1 5.1.
authorBruno Haible <bruno@clisp.org>
Sun, 19 Dec 2010 17:08:03 +0000 (18:08 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 19 Dec 2010 17:08:03 +0000 (18:08 +0100)
commitce700d8c46ee5b2408c824d26ce7664d1a89a29f
tree0804f18e1a7e1fbcafd4381be42a8722f5bfd611
parent4f2e71be8e77f86b9062ee46c9595ac918ceec53
setenv: Add missing declaration on OSF/1 5.1.

* lib/stdlib.in.h (setenv): Test HAVE_DECL_SETENV, not HAVE_SETENV.
* m4/setenv.m4 (gl_FUNC_SETENV_SEPARATE): Test whether setenv is
declared. Don't set HAVE_SETENV.
* m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize HAVE_DECL_SETENV,
not HAVE_SETENV.
* modules/stdlib (Makefile.am): Substitute HAVE_DECL_SETENV, not
HAVE_SETENV.
* doc/posix-functions/setenv.texi: Mention the OSF/1 5.1 problem.
ChangeLog
doc/posix-functions/setenv.texi
lib/stdlib.in.h
m4/setenv.m4
m4/stdlib_h.m4
modules/stdlib