Refresh 01-gnulib-directory.patch
[gnulib.git] / modules / gethostname
1 Description:
2 gethostname() function: Return machine's hostname.
3
4 Files:
5 lib/gethostname.c
6 m4/gethostname.m4
7 lib/w32sock.h
8
9 Depends-on:
10 unistd
11 sys_socket      [test $HAVE_GETHOSTNAME = 0]
12 errno           [test $HAVE_GETHOSTNAME = 0]
13 sockets         [test $HAVE_GETHOSTNAME = 0]
14
15 configure.ac:
16 gl_FUNC_GETHOSTNAME
17 if test $HAVE_GETHOSTNAME = 0; then
18   AC_LIBOBJ([gethostname])
19   gl_PREREQ_GETHOSTNAME
20 fi
21 gl_UNISTD_MODULE_INDICATOR([gethostname])
22
23 Makefile.am:
24
25 Include:
26 <unistd.h>
27
28 Link:
29 $(GETHOSTNAME_LIB)
30
31 License:
32 LGPLv2+
33
34 Maintainer:
35 all