Do the Windows oldnames workaround through the C++ GNULIB_NAMESPACE.
[gnulib.git] / modules / getdomainname
blob457de318c302cb42b84cd754f6820ad8c4c20b0d
1 Description:
2 getdomainname() function: Return machine's NIS domain name.
4 Files:
5 lib/getdomainname.c
6 m4/getdomainname.m4
8 Depends-on:
9 unistd
10 extensions
11 netdb           [test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1]
12 sys_socket      [test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1]
14 configure.ac:
15 gl_FUNC_GETDOMAINNAME
16 if test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1; then
17   AC_LIBOBJ([getdomainname])
18   gl_PREREQ_GETDOMAINNAME
20 gl_UNISTD_MODULE_INDICATOR([getdomainname])
22 Makefile.am:
24 Include:
25 <unistd.h>
27 License:
28 GPL
30 Maintainer:
31 all