X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fgethostname;h=b41dfad9a747dc4cb60fab30e716caf8e0d09e16;hb=46f5f314f34a08c9305758482d7d2fdb0e999d09;hp=3ebcc231975a6055c534e47ddc1a76fe9a2b0e0d;hpb=2e82f91f46dc3f93963b1e4fdcbc441c129df213;p=gnulib.git diff --git a/modules/gethostname b/modules/gethostname index 3ebcc2319..b41dfad9a 100644 --- a/modules/gethostname +++ b/modules/gethostname @@ -4,13 +4,33 @@ 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] +msvc-nothrow [test $HAVE_GETHOSTNAME = 0] configure.ac: gl_FUNC_GETHOSTNAME +if test $HAVE_GETHOSTNAME = 0; then + AC_LIBOBJ([gethostname]) + gl_PREREQ_GETHOSTNAME +fi +gl_UNISTD_MODULE_INDICATOR([gethostname]) Makefile.am: Include: + +Link: +$(GETHOSTNAME_LIB) + +License: +LGPLv2+ + +Maintainer: +all