summaryrefslogtreecommitdiff
path: root/modules/getdomainname
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-08 11:41:07 +0200
committerBruno Haible <bruno@clisp.org>2011-06-16 00:06:04 +0200
commit3a664e68b715e2a20d0bd8ca64cdc10c56316ab3 (patch)
tree6548b886932a3a414833a0e9c5ad72b62307f5a3 /modules/getdomainname
parentc604bb86746f7f16471a598df94845e42d0e1b5f (diff)
downloadgnulib-3a664e68b715e2a20d0bd8ca64cdc10c56316ab3.tar.gz
getdomainname: Move AC_LIBOBJ invocations to module description.
* m4/getdomainname.m4 (gl_FUNC_GETDOMAINNAME): Move AC_LIBOBJ and gl_PREREQ_GETDOMAINNAME invocations from here... * modules/getdomainname (configure.ac): ... to here.
Diffstat (limited to 'modules/getdomainname')
-rw-r--r--modules/getdomainname4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/getdomainname b/modules/getdomainname
index c7f77b0ec0..457de318c3 100644
--- a/modules/getdomainname
+++ b/modules/getdomainname
@@ -13,6 +13,10 @@ sys_socket [test $HAVE_DECL_GETDOMAINNAME = 0 || test $REPLACE_GETDOMAINNAM
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: