summaryrefslogtreecommitdiff
path: root/modules/getdomainname
blob: 457de318c302cb42b84cd754f6820ad8c4c20b0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Description:
getdomainname() function: Return machine's NIS domain name.

Files:
lib/getdomainname.c
m4/getdomainname.m4

Depends-on:
unistd
extensions
netdb           [test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1]
sys_socket      [test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1]

configure.ac:
gl_FUNC_GETDOMAINNAME
if test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1; then
  AC_LIBOBJ([getdomainname])
  gl_PREREQ_GETDOMAINNAME
fi
gl_UNISTD_MODULE_INDICATOR([getdomainname])

Makefile.am:

Include:
<unistd.h>

License:
GPL

Maintainer:
all