# HG changeset patch # User Bruno Haible # Date 1306081206 -7200 # Node ID a89701b7c20b3084d6eb09b8eb96c211aeed6ec9 # Parent 7f3083b176a2b8226e45a60578742d6716b4d9bc wcslen: Move AC_LIBOBJ invocations to module description. * m4/wcslen.m4 (gl_FUNC_WCSLEN): Move AC_LIBOBJ invocation from here... * modules/wcslen (configure.ac): ... to here. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-05-22 Bruno Haible + + wcslen: Move AC_LIBOBJ invocations to module description. + * m4/wcslen.m4 (gl_FUNC_WCSLEN): Move AC_LIBOBJ invocation from here... + * modules/wcslen (configure.ac): ... to here. + 2011-05-22 Bruno Haible wcsdup: Move AC_LIBOBJ invocations to module description. diff --git a/m4/wcslen.m4 b/m4/wcslen.m4 --- a/m4/wcslen.m4 +++ b/m4/wcslen.m4 @@ -1,4 +1,4 @@ -# wcslen.m4 serial 1 +# wcslen.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([wcslen]) if test $ac_cv_func_wcslen = no; then HAVE_WCSLEN=0 - AC_LIBOBJ([wcslen]) fi ]) diff --git a/modules/wcslen b/modules/wcslen --- a/modules/wcslen +++ b/modules/wcslen @@ -17,6 +17,9 @@ configure.ac: gl_FUNC_WCSLEN +if test $HAVE_WCSLEN = 0; then + AC_LIBOBJ([wcslen]) +fi gl_WCHAR_MODULE_INDICATOR([wcslen]) Makefile.am: