From f80cf31faabe6d851916140e797f77b8e2ccab46 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 18:23:06 +0200 Subject: [PATCH] wcsncat: Move AC_LIBOBJ invocations to module description. * m4/wcsncat.m4 (gl_FUNC_WCSNCAT): Move AC_LIBOBJ invocation from here... * modules/wcsncat (configure.ac): ... to here. --- ChangeLog | 7 +++++++ m4/wcsncat.m4 | 3 +-- modules/wcsncat | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7e9585582..23f1236a8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-22 Bruno Haible + wcsncat: Move AC_LIBOBJ invocations to module description. + * m4/wcsncat.m4 (gl_FUNC_WCSNCAT): Move AC_LIBOBJ invocation from + here... + * modules/wcsncat (configure.ac): ... to here. + +2011-05-22 Bruno Haible + wcsncasecmp: Move AC_LIBOBJ invocations to module description. * m4/wcsncasecmp.m4 (gl_FUNC_WCSNCASECMP): Move AC_LIBOBJ invocation from here... diff --git a/m4/wcsncat.m4 b/m4/wcsncat.m4 index 240752957..7fb2d21f6 100644 --- a/m4/wcsncat.m4 +++ b/m4/wcsncat.m4 @@ -1,4 +1,4 @@ -# wcsncat.m4 serial 1 +# wcsncat.m4 serial 2 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, @@ -10,6 +10,5 @@ AC_DEFUN([gl_FUNC_WCSNCAT], AC_CHECK_FUNCS_ONCE([wcsncat]) if test $ac_cv_func_wcsncat = no; then HAVE_WCSNCAT=0 - AC_LIBOBJ([wcsncat]) fi ]) diff --git a/modules/wcsncat b/modules/wcsncat index 0bdc5103f..a98a0881e 100644 --- a/modules/wcsncat +++ b/modules/wcsncat @@ -17,6 +17,9 @@ wchar configure.ac: gl_FUNC_WCSNCAT +if test $HAVE_WCSNCAT = 0; then + AC_LIBOBJ([wcsncat]) +fi gl_WCHAR_MODULE_INDICATOR([wcsncat]) Makefile.am: -- 2.11.0