view modules/grantpt @ 14978:d68b0e2957f5

grantpt: Move AC_LIBOBJ invocations to module description. * m4/grantpt.m4 (gl_FUNC_GRANTPT): Move AC_LIBOBJ and gl_PREREQ_GRANTPT invocations from here... * modules/grantpt (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sun, 08 May 2011 19:38:45 +0200
parents efab6978105e
children d28ebf7351e2
line wrap: on
line source

Description:
grantpt() function: Acquire ownership of the slave side of a pseudo-terminal.

Files:
lib/grantpt.c
m4/grantpt.m4

Depends-on:
stdlib
extensions
pt_chown        [test $HAVE_GRANTPT = 0]
waitpid         [test $HAVE_GRANTPT = 0]
configmake      [test $HAVE_GRANTPT = 0]

configure.ac:
gl_FUNC_GRANTPT
if test $HAVE_GRANTPT = 0; then
  AC_LIBOBJ([grantpt])
  gl_PREREQ_GRANTPT
fi
gl_STDLIB_MODULE_INDICATOR([grantpt])

Makefile.am:

Include:
<stdlib.h>

License:
LGPL

Maintainer:
Bruno Haible