summaryrefslogtreecommitdiff
path: root/modules/getdomainname
diff options
context:
space:
mode:
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: