Lines Matching refs:unsetenv
70 AC_CHECK_DECLS_ONCE([unsetenv])
74 AC_CHECK_FUNCS([unsetenv])
80 AC_CACHE_CHECK([for unsetenv() return type], [gt_cv_func_unsetenv_ret],
85 #define _BSD 1 /* unhide unsetenv declaration in OSF/1 5.1 <stdlib.h> */
91 int unsetenv (const char *name);
97 AC_DEFINE([VOID_UNSETENV], [1], [Define to 1 if unsetenv returns void
102 dnl Solaris 10 unsetenv does not remove all copies of a name.
103 dnl Haiku alpha 2 unsetenv gets confused by assignment to environ.
104 dnl OpenBSD 4.7 unsetenv("") does not fail.
105 AC_CACHE_CHECK([whether unsetenv obeys POSIX],
118 unsetenv ("a");
120 if (!unsetenv ("") || errno != EINVAL) return 4;
125 unsetenv ("a");
155 # Prerequisites of lib/unsetenv.c.