test-perror: check for strerror interactions
[pspp] / modules / getdomainname
index 25cb6f69f98c7ba234bd0bacb0d7d76fcbb90026..c7f77b0ec04c7cc1dd42c853e8c119bab52f8a7e 100644 (file)
@@ -2,20 +2,26 @@ Description:
 getdomainname() function: Return machine's NIS domain name.
 
 Files:
-lib/getdomainname.h
 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_UNISTD_MODULE_INDICATOR([getdomainname])
 
 Makefile.am:
-lib_SOURCES += getdomainname.h
 
 Include:
-"getdomainname.h"
+<unistd.h>
+
+License:
+GPL
 
 Maintainer:
 all