From 70c1fe79c3480638fbd70ac5c3ac036f87ca5136 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 8 May 2011 11:43:03 +0200 Subject: [PATCH] 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. --- ChangeLog | 7 +++++++ m4/getdtablesize.m4 | 3 +-- modules/getdtablesize | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8c14b0ae6c..c2da13a609 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +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. 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: -- 2.30.2