From: Bruno Haible Date: Sun, 22 May 2011 16:10:35 +0000 (+0200) Subject: wcscmp: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2382 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=401130a9a42678e7f6371c5f238c779792bd1fe5;p=gnulib.git wcscmp: Move AC_LIBOBJ invocations to module description. * m4/wcscmp.m4 (gl_FUNC_WCSCMP): Move AC_LIBOBJ invocation from here... * modules/wcscmp (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index 9d721c772..ce8f20cca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-22 Bruno Haible + wcscmp: Move AC_LIBOBJ invocations to module description. + * m4/wcscmp.m4 (gl_FUNC_WCSCMP): Move AC_LIBOBJ invocation from here... + * modules/wcscmp (configure.ac): ... to here. + +2011-05-22 Bruno Haible + wcschr: Move AC_LIBOBJ invocations to module description. * m4/wcschr.m4 (gl_FUNC_WCSCHR): Move AC_LIBOBJ invocation from here... * modules/wcschr (configure.ac): ... to here. diff --git a/m4/wcscmp.m4 b/m4/wcscmp.m4 index 376965fd3..bbcfa42b3 100644 --- a/m4/wcscmp.m4 +++ b/m4/wcscmp.m4 @@ -1,4 +1,4 @@ -# wcscmp.m4 serial 1 +# wcscmp.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_WCSCMP], AC_CHECK_FUNCS_ONCE([wcscmp]) if test $ac_cv_func_wcscmp = no; then HAVE_WCSCMP=0 - AC_LIBOBJ([wcscmp]) fi ]) diff --git a/modules/wcscmp b/modules/wcscmp index 27c162166..d1ae9641e 100644 --- a/modules/wcscmp +++ b/modules/wcscmp @@ -17,6 +17,9 @@ wchar configure.ac: gl_FUNC_WCSCMP +if test $HAVE_WCSCMP = 0; then + AC_LIBOBJ([wcscmp]) +fi gl_WCHAR_MODULE_INDICATOR([wcscmp]) Makefile.am: