From: Bruno Haible Date: Sun, 22 May 2011 16:08:09 +0000 (+0200) Subject: wcscat: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2384 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=27f2a06895d3f6522f6fb621229df9c8f9bab170;p=gnulib.git wcscat: Move AC_LIBOBJ invocations to module description. * m4/wcscat.m4 (gl_FUNC_WCSCAT): Move AC_LIBOBJ invocation from here... * modules/wcscat (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index 1d9f0a815..1d87fb180 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-22 Bruno Haible + wcscat: Move AC_LIBOBJ invocations to module description. + * m4/wcscat.m4 (gl_FUNC_WCSCAT): Move AC_LIBOBJ invocation from here... + * modules/wcscat (configure.ac): ... to here. + +2011-05-22 Bruno Haible + wcscasecmp: Move AC_LIBOBJ invocations to module description. * m4/wcscasecmp.m4 (gl_FUNC_WCSCASECMP): Move AC_LIBOBJ invocation from here... diff --git a/m4/wcscat.m4 b/m4/wcscat.m4 index 44602d105..9838642a6 100644 --- a/m4/wcscat.m4 +++ b/m4/wcscat.m4 @@ -1,4 +1,4 @@ -# wcscat.m4 serial 1 +# wcscat.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_WCSCAT], AC_CHECK_FUNCS_ONCE([wcscat]) if test $ac_cv_func_wcscat = no; then HAVE_WCSCAT=0 - AC_LIBOBJ([wcscat]) fi ]) diff --git a/modules/wcscat b/modules/wcscat index bba014ee1..41fa296ac 100644 --- a/modules/wcscat +++ b/modules/wcscat @@ -17,6 +17,9 @@ wchar configure.ac: gl_FUNC_WCSCAT +if test $HAVE_WCSCAT = 0; then + AC_LIBOBJ([wcscat]) +fi gl_WCHAR_MODULE_INDICATOR([wcscat]) Makefile.am: