view modules/ttyname_r @ 15131:9ed2584c6e17

ttyname_r: Move AC_LIBOBJ invocations to module description. * m4/ttyname_r.m4 (gl_FUNC_TTYNAME_R): Move AC_LIBOBJ and gl_PREREQ_TTYNAME_R invocations from here... * modules/ttyname_r (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sun, 22 May 2011 17:10:24 +0200
parents 7287ecc3411c
children d28ebf7351e2
line wrap: on
line source

Description:
ttyname_r() function: Determine name of a terminal.

Files:
lib/ttyname_r.c
m4/ttyname_r.m4

Depends-on:
unistd
extensions

configure.ac:
gl_FUNC_TTYNAME_R
if test $HAVE_TTYNAME_R = 0 || test $REPLACE_TTYNAME_R = 1; then
  AC_LIBOBJ([ttyname_r])
  gl_PREREQ_TTYNAME_R
fi
gl_UNISTD_MODULE_INDICATOR([ttyname_r])

Makefile.am:

Include:
<unistd.h>

License:
LGPL

Maintainer:
Bruno Haible