From 5d317bcf4a59bd77baa791cd66c410c7f222c21c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 17:57:36 +0200 Subject: [PATCH] wcpcpy: Move AC_LIBOBJ invocations to module description. * m4/wcpcpy.m4 (gl_FUNC_WCPCPY): Move AC_LIBOBJ invocation from here... * modules/wcpcpy (configure.ac): ... to here. --- ChangeLog | 6 ++++++ m4/wcpcpy.m4 | 3 +-- modules/wcpcpy | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 773cd3400..9a336c6d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-22 Bruno Haible + wcpcpy: Move AC_LIBOBJ invocations to module description. + * m4/wcpcpy.m4 (gl_FUNC_WCPCPY): Move AC_LIBOBJ invocation from here... + * modules/wcpcpy (configure.ac): ... to here. + +2011-05-22 Bruno Haible + waitpid: Move AC_LIBOBJ invocations to module description. * m4/waitpid.m4 (gl_FUNC_WAITPID): Set HAVE_WAITPID. Move AC_LIBOBJ invocation from here... diff --git a/m4/wcpcpy.m4 b/m4/wcpcpy.m4 index b23c0ef9b..0d84e84f8 100644 --- a/m4/wcpcpy.m4 +++ b/m4/wcpcpy.m4 @@ -1,4 +1,4 @@ -# wcpcpy.m4 serial 2 +# wcpcpy.m4 serial 3 dnl Copyright (C) 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, @@ -14,6 +14,5 @@ AC_DEFUN([gl_FUNC_WCPCPY], AC_CHECK_FUNCS_ONCE([wcpcpy]) if test $ac_cv_func_wcpcpy = no; then HAVE_WCPCPY=0 - AC_LIBOBJ([wcpcpy]) fi ]) diff --git a/modules/wcpcpy b/modules/wcpcpy index 90f6e849d..ef3c76970 100644 --- a/modules/wcpcpy +++ b/modules/wcpcpy @@ -18,6 +18,9 @@ wchar configure.ac: gl_FUNC_WCPCPY +if test $HAVE_WCPCPY = 0; then + AC_LIBOBJ([wcpcpy]) +fi gl_WCHAR_MODULE_INDICATOR([wcpcpy]) Makefile.am: -- 2.11.0