From: Bruno Haible Date: Sun, 22 May 2011 16:39:15 +0000 (+0200) Subject: wcsstr: Move AC_LIBOBJ invocations to module description. X-Git-Tag: v0.1~2366 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=64ee293cdac319d0f38cd0d31e758a823b7163ad;p=gnulib.git wcsstr: Move AC_LIBOBJ invocations to module description. * m4/wcsstr.m4 (gl_FUNC_WCSSTR): Move AC_LIBOBJ invocation from here... * modules/wcsstr (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index af803cc71..d1335646f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2011-05-22 Bruno Haible + wcsstr: Move AC_LIBOBJ invocations to module description. + * m4/wcsstr.m4 (gl_FUNC_WCSSTR): Move AC_LIBOBJ invocation from here... + * modules/wcsstr (configure.ac): ... to here. + +2011-05-22 Bruno Haible + wcsspn: Move AC_LIBOBJ invocations to module description. * m4/wcsspn.m4 (gl_FUNC_WCSSPN): Move AC_LIBOBJ invocation from here... * modules/wcsspn (configure.ac): ... to here. diff --git a/m4/wcsstr.m4 b/m4/wcsstr.m4 index 3ac2caf44..8f762a1ec 100644 --- a/m4/wcsstr.m4 +++ b/m4/wcsstr.m4 @@ -1,4 +1,4 @@ -# wcsstr.m4 serial 1 +# wcsstr.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_WCSSTR], AC_CHECK_FUNCS_ONCE([wcsstr]) if test $ac_cv_func_wcsstr = no; then HAVE_WCSSTR=0 - AC_LIBOBJ([wcsstr]) fi ]) diff --git a/modules/wcsstr b/modules/wcsstr index d4f22f850..e918127cb 100644 --- a/modules/wcsstr +++ b/modules/wcsstr @@ -12,6 +12,9 @@ wcschr [test $HAVE_WCSSTR = 0] configure.ac: gl_FUNC_WCSSTR +if test $HAVE_WCSSTR = 0; then + AC_LIBOBJ([wcsstr]) +fi gl_WCHAR_MODULE_INDICATOR([wcsstr]) Makefile.am: