summaryrefslogtreecommitdiff
path: root/modules/getdomainname
blob: 1e21c906583a4ee8891876017224cdb5288ae524 (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
32
33
34
35
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
gl_CONDITIONAL([GL_COND_OBJ_GETDOMAINNAME],
               [test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1])
AM_COND_IF([GL_COND_OBJ_GETDOMAINNAME], [
  gl_PREREQ_GETDOMAINNAME
])
gl_UNISTD_MODULE_INDICATOR([getdomainname])

Makefile.am:
if GL_COND_OBJ_GETDOMAINNAME
lib_SOURCES += getdomainname.c
endif

Include:
<unistd.h>

License:
GPL

Maintainer:
all