view modules/unsetenv @ 18321:0b5b4068adfe

unsetenv: relax to LGPLv2+ Especially since setenv is also LGPLv2+, and it makes sense for the two modules to stay in sync, rather than one to be usable only in LPGLv3+ projects. * modules/unsetenv (License): Match setenv license. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Thu, 26 May 2016 08:47:27 -0600
parents 1f14c6dd175d
children
line wrap: on
line source

Description:
unsetenv() function: remove an environment variable.

Files:
lib/unsetenv.c
m4/setenv.m4

Depends-on:
stdlib
unistd          [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1]
environ         [test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1]

configure.ac:
gl_FUNC_UNSETENV
if test $HAVE_UNSETENV = 0 || test $REPLACE_UNSETENV = 1; then
  AC_LIBOBJ([unsetenv])
  gl_PREREQ_UNSETENV
fi
gl_STDLIB_MODULE_INDICATOR([unsetenv])

Makefile.am:

Include:
<stdlib.h>

License:
LGPLv2+

Maintainer:
all