X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=modules%2Fgethostname;h=b41dfad9a747dc4cb60fab30e716caf8e0d09e16;hb=46f5f314f34a08c9305758482d7d2fdb0e999d09;hp=359434ab3775b276613ff6d208d0612a91cfe7b8;hpb=b6772983c800c6faee7fc793b83975afb6d58bcc;p=gnulib.git diff --git a/modules/gethostname b/modules/gethostname index 359434ab3..b41dfad9a 100644 --- a/modules/gethostname +++ b/modules/gethostname @@ -11,9 +11,14 @@ 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: