view modules/unsetenv @ 15090:e29fbc771e57

unsetenv: Move AC_LIBOBJ invocations to module description. * m4/setenv.m4 (gl_FUNC_UNSETENV): Set HAVE_UNSETENV. Move AC_LIBOBJ and gl_PREREQ_UNSETENV invocations from here... * modules/unsetenv (configure.ac): ... to here. (Depends-on): Update.
author Bruno Haible <bruno@clisp.org>
date Sun, 22 May 2011 00:06:38 +0200
parents efab6978105e
children 1f14c6dd175d
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:
LGPL

Maintainer:
Bruno Haible