summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--m4/getdtablesize.m43
-rw-r--r--modules/getdtablesize3
3 files changed, 11 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 8c14b0ae6c..c2da13a609 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2011-05-08 Bruno Haible <bruno@clisp.org>
+ getdtablesize: Move AC_LIBOBJ invocations to module description.
+ * m4/getdtablesize.m4 (gl_FUNC_GETDTABLESIZE): Move AC_LIBOBJ
+ invocation from here...
+ * modules/getdtablesize (configure.ac): ... to here.
+
+2011-05-08 Bruno Haible <bruno@clisp.org>
+
getdomainname: Move AC_LIBOBJ invocations to module description.
* m4/getdomainname.m4 (gl_FUNC_GETDOMAINNAME): Move AC_LIBOBJ and
gl_PREREQ_GETDOMAINNAME invocations from here...
diff --git a/m4/getdtablesize.m4 b/m4/getdtablesize.m4
index 55bda5a32e..40a598bc13 100644
--- a/m4/getdtablesize.m4
+++ b/m4/getdtablesize.m4
@@ -1,4 +1,4 @@
-# getdtablesize.m4 serial 1
+# getdtablesize.m4 serial 2
dnl Copyright (C) 2008-2011 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -10,6 +10,5 @@ AC_DEFUN([gl_FUNC_GETDTABLESIZE],
AC_CHECK_FUNCS_ONCE([getdtablesize])
if test $ac_cv_func_getdtablesize != yes; then
HAVE_GETDTABLESIZE=0
- AC_LIBOBJ([getdtablesize])
fi
])
diff --git a/modules/getdtablesize b/modules/getdtablesize
index 808238ca80..3b195c0c85 100644
--- a/modules/getdtablesize
+++ b/modules/getdtablesize
@@ -10,6 +10,9 @@ unistd
configure.ac:
gl_FUNC_GETDTABLESIZE
+if test $HAVE_GETDTABLESIZE = 0; then
+ AC_LIBOBJ([getdtablesize])
+fi
gl_UNISTD_MODULE_INDICATOR([getdtablesize])
Makefile.am: