Avoid some possibly wrong configure test results.
[gnulib.git] / modules / getlogin
blobc73b2a9a2edc009ed1a40fb97cdd660d1d98f905
1 Description:
2 getlogin() function: Get user name.
4 Files:
5 lib/getlogin.c
6 m4/getlogin.m4
8 Depends-on:
9 unistd
11 configure.ac:
12 gl_FUNC_GETLOGIN
13 gl_CONDITIONAL([GL_COND_OBJ_GETLOGIN], [test $HAVE_GETLOGIN = 0])
14 gl_UNISTD_MODULE_INDICATOR([getlogin])
15 AC_REQUIRE([gl_LIB_GETLOGIN])
17 Makefile.am:
18 if GL_COND_OBJ_GETLOGIN
19 lib_SOURCES += getlogin.c
20 endif
22 Include:
23 <unistd.h>
25 Link:
26 $(GETLOGIN_LIB)
28 License:
29 LGPLv2+
31 Maintainer:
32 all