From: Bruno Haible Date: Sun, 22 May 2011 16:25:00 +0000 (+0200) Subject: wcsncmp: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2374 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=a4092a2eff11a28ba6686577e5d4b118baf47cfb;p=gnulib.git wcsncmp: Move AC_LIBOBJ invocations to module description. * m4/wcsncmp.m4 (gl_FUNC_WCSNCMP): Move AC_LIBOBJ invocation from here... * modules/wcsncmp (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index 23f1236a8..aa2c4d291 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2011-05-22 Bruno Haible + wcsncmp: Move AC_LIBOBJ invocations to module description. + * m4/wcsncmp.m4 (gl_FUNC_WCSNCMP): Move AC_LIBOBJ invocation from + here... + * modules/wcsncmp (configure.ac): ... to here. + +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... diff --git a/m4/wcsncmp.m4 b/m4/wcsncmp.m4 index 73544df8d..7bef78cec 100644 --- a/m4/wcsncmp.m4 +++ b/m4/wcsncmp.m4 @@ -1,4 +1,4 @@ -# wcsncmp.m4 serial 1 +# wcsncmp.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_WCSNCMP], AC_CHECK_FUNCS_ONCE([wcsncmp]) if test $ac_cv_func_wcsncmp = no; then HAVE_WCSNCMP=0 - AC_LIBOBJ([wcsncmp]) fi ]) diff --git a/modules/wcsncmp b/modules/wcsncmp index 1b19a5364..2f015a272 100644 --- a/modules/wcsncmp +++ b/modules/wcsncmp @@ -17,6 +17,9 @@ wchar configure.ac: gl_FUNC_WCSNCMP +if test $HAVE_WCSNCMP = 0; then + AC_LIBOBJ([wcsncmp]) +fi gl_WCHAR_MODULE_INDICATOR([wcsncmp]) Makefile.am: