summaryrefslogtreecommitdiff
path: root/gnulib/modules/sethostname
diff options
context:
space:
mode:
Diffstat (limited to 'gnulib/modules/sethostname')
m---------gnulib0
-rw-r--r--gnulib/modules/sethostname29
2 files changed, 29 insertions, 0 deletions
diff --git a/gnulib b/gnulib
deleted file mode 160000
-Subproject 443bc5ffcf7429e557f4a371b0661abe98ddbc1
diff --git a/gnulib/modules/sethostname b/gnulib/modules/sethostname
new file mode 100644
index 0000000..f3c0d13
--- /dev/null
+++ b/gnulib/modules/sethostname
@@ -0,0 +1,29 @@
+Description:
+sethostname() function: Set machine's hostname.
+
+Files:
+lib/sethostname.c
+m4/sethostname.m4
+m4/gethostname.m4
+
+Depends-on:
+unistd
+errno [test $HAVE_SETHOSTNAME = 0]
+
+configure.ac:
+gl_FUNC_SETHOSTNAME
+if test $HAVE_SETHOSTNAME = 0; then
+ AC_LIBOBJ([sethostname])
+fi
+gl_UNISTD_MODULE_INDICATOR([sethostname])
+
+Makefile.am:
+
+Include:
+<unistd.h>
+
+License:
+LGPLv2+
+
+Maintainer:
+Ben Walton