fnmatch, fnmatch-gnu: Move AC_LIBOBJ invocations to module description.
[pspp] / modules / gethostname
index 2fffbb1b2b30e3d407a001304a5520c11e1ceb7f..359434ab3775b276613ff6d208d0612a91cfe7b8 100644 (file)
@@ -4,9 +4,13 @@ gethostname() function: Return machine's hostname.
 Files:
 lib/gethostname.c
 m4/gethostname.m4
+lib/w32sock.h
 
 Depends-on:
 unistd
+sys_socket      [test $HAVE_GETHOSTNAME = 0]
+errno           [test $HAVE_GETHOSTNAME = 0]
+sockets         [test $HAVE_GETHOSTNAME = 0]
 
 configure.ac:
 gl_FUNC_GETHOSTNAME
@@ -17,8 +21,11 @@ Makefile.am:
 Include:
 <unistd.h>
 
+Link:
+$(GETHOSTNAME_LIB)
+
 License:
-LGPL
+LGPLv2+
 
 Maintainer:
 all