projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fnmatch, fnmatch-gnu: Move AC_LIBOBJ invocations to module description.
[pspp]
/
modules
/
gethostname
diff --git
a/modules/gethostname
b/modules/gethostname
index 796dc6fea9bfdc4f37fe2b7ea4cd4fce21a87e6d..359434ab3775b276613ff6d208d0612a91cfe7b8 100644
(file)
--- a/
modules/gethostname
+++ b/
modules/gethostname
@@
-4,10
+4,13
@@
gethostname() function: Return machine's hostname.
Files:
lib/gethostname.c
m4/gethostname.m4
Files:
lib/gethostname.c
m4/gethostname.m4
-m4/sys_socket_h.m4
+lib/w32sock.h
Depends-on:
unistd
Depends-on:
unistd
+sys_socket [test $HAVE_GETHOSTNAME = 0]
+errno [test $HAVE_GETHOSTNAME = 0]
+sockets [test $HAVE_GETHOSTNAME = 0]
configure.ac:
gl_FUNC_GETHOSTNAME
configure.ac:
gl_FUNC_GETHOSTNAME
@@
-18,6
+21,9
@@
Makefile.am:
Include:
<unistd.h>
Include:
<unistd.h>
+Link:
+$(GETHOSTNAME_LIB)
+
License:
LGPLv2+
License:
LGPLv2+