From: Bruno Haible Date: Sun, 8 May 2011 09:43:03 +0000 (+0200) Subject: getdtablesize: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2565 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=70c1fe79c3480638fbd70ac5c3ac036f87ca5136;p=gnulib.git 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. --- diff --git a/ChangeLog b/ChangeLog index 8c14b0ae6..c2da13a60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-08 Bruno Haible + 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 + 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 55bda5a32..40a598bc1 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 808238ca8..3b195c0c8 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: