warnings: fix compilation with old autoconf
[gnulib/ericb.git] / modules / getlogin_r
blobbefc365544207f1393fa45e705dbee10d53ae3ca
1 Description:
2 getlogin_r() function: Get user name to a buffer allocated by the caller.
4 Files:
5 lib/getlogin_r.c
6 m4/getlogin_r.m4
7 m4/getlogin.m4
9 Depends-on:
10 unistd
11 extensions
12 malloca         [test $HAVE_GETLOGIN_R = 0 || test $REPLACE_GETLOGIN_R = 1]
13 memchr          [test $HAVE_GETLOGIN_R = 0 || test $REPLACE_GETLOGIN_R = 1]
15 configure.ac:
16 gl_FUNC_GETLOGIN_R
17 if test $HAVE_GETLOGIN_R = 0 || test $REPLACE_GETLOGIN_R = 1; then
18   AC_LIBOBJ([getlogin_r])
19   gl_PREREQ_GETLOGIN_R
21 gl_UNISTD_MODULE_INDICATOR([getlogin_r])
22 AC_REQUIRE([gl_LIB_GETLOGIN])
24 Makefile.am:
26 Include:
27 <unistd.h>
29 Link:
30 $(LIB_GETLOGIN)
32 License:
33 LGPLv2+
35 Maintainer:
36 all