# HG changeset patch # User Bruno Haible # Date 1306081386 -7200 # Node ID 962d1b7d93affead2f791ed3552955acfe76853c # Parent 4229128d8488ae4baa667eea3cdba7b4cc1b29bf 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. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +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. diff --git a/m4/wcsncat.m4 b/m4/wcsncat.m4 --- 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_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 --- a/modules/wcsncat +++ b/modules/wcsncat @@ -17,6 +17,9 @@ configure.ac: gl_FUNC_WCSNCAT +if test $HAVE_WCSNCAT = 0; then + AC_LIBOBJ([wcsncat]) +fi gl_WCHAR_MODULE_INDICATOR([wcsncat]) Makefile.am: