view modules/getusershell @ 15836:46afe93343fd

modf: Use a .m4 file. * m4/modf.m4: New file. * modules/modf (Files): Add it. (configure.ac): Just invoke gl_FUNC_MODF.
author Bruno Haible <bruno@clisp.org>
date Thu, 06 Oct 2011 01:21:12 +0200
parents 8e70b63647fc
children
line wrap: on
line source

Description:
Return names of valid user shells.

Files:
lib/getusershell.c
m4/getusershell.m4

Depends-on:
unistd
extensions
fopen-safer     [test $HAVE_GETUSERSHELL = 0]
xalloc          [test $HAVE_GETUSERSHELL = 0]

configure.ac:
gl_FUNC_GETUSERSHELL
if test $HAVE_GETUSERSHELL = 0; then
  AC_LIBOBJ([getusershell])
fi
gl_UNISTD_MODULE_INDICATOR([getusershell])

Makefile.am:

Include:
<unistd.h>

License:
GPL

Maintainer:
Jim Meyering