X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Fgetdomainname;h=457de318c302cb42b84cd754f6820ad8c4c20b0d;hb=6aefe07bd86d5579c60dc35c874fc0e6c1972b49;hp=69e2a93359d72ee65d5c5e3f132697bad6ac8513;hpb=e8684643a28f1bf6a0839bf6a0c10f630c0f6335;p=gnulib.git diff --git a/modules/getdomainname b/modules/getdomainname index 69e2a9335..457de318c 100644 --- a/modules/getdomainname +++ b/modules/getdomainname @@ -2,20 +2,27 @@ Description: getdomainname() function: Return machine's NIS domain name. Files: -lib/getdomainname.h lib/getdomainname.c m4/getdomainname.m4 Depends-on: +unistd +extensions +netdb [test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1] +sys_socket [test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1] configure.ac: gl_FUNC_GETDOMAINNAME +if test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAME = 1; then + AC_LIBOBJ([getdomainname]) + gl_PREREQ_GETDOMAINNAME +fi +gl_UNISTD_MODULE_INDICATOR([getdomainname]) Makefile.am: -EXTRA_DIST += getdomainname.h getdomainname.c Include: -"getdomainname.h" + License: GPL