view modules/getdomainname @ 40205:9e8fb35d4032

relocatable-prog: Revert "Use wrapper-free installation on Mac OS X." * build-aux/install-reloc: Revert change. * m4/relocatable.m4 (gl_RELOCATABLE_BODY): Likewise.
author Bruno Haible <bruno@clisp.org>
date Mon, 04 Mar 2019 17:25:04 +0100
parents e04076de7206
children
line wrap: on
line source

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