From: Bruno Haible Date: Sun, 22 May 2011 16:17:44 +0000 (+0200) Subject: wcscspn: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9ba17dadcbf31dfc6840d0b79f349909ced27f2;p=pspp wcscspn: Move AC_LIBOBJ invocations to module description. * m4/wcscspn.m4 (gl_FUNC_WCSCSPN): Move AC_LIBOBJ invocation from here... * modules/wcscspn (configure.ac): ... to here. --- diff --git a/ChangeLog b/ChangeLog index 7ea4b60e53..e40f752a13 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-22 Bruno Haible + + wcscspn: Move AC_LIBOBJ invocations to module description. + * m4/wcscspn.m4 (gl_FUNC_WCSCSPN): Move AC_LIBOBJ invocation from + here... + * modules/wcscspn (configure.ac): ... to here. + 2011-05-22 Bruno Haible wcscpy: Move AC_LIBOBJ invocations to module description. diff --git a/m4/wcscspn.m4 b/m4/wcscspn.m4 index f6761faa33..cf922822f0 100644 --- a/m4/wcscspn.m4 +++ b/m4/wcscspn.m4 @@ -1,4 +1,4 @@ -# wcscspn.m4 serial 1 +# wcscspn.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_WCSCSPN], AC_CHECK_FUNCS_ONCE([wcscspn]) if test $ac_cv_func_wcscspn = no; then HAVE_WCSCSPN=0 - AC_LIBOBJ([wcscspn]) fi ]) diff --git a/modules/wcscspn b/modules/wcscspn index 14b9a24e85..5f93ee6d91 100644 --- a/modules/wcscspn +++ b/modules/wcscspn @@ -19,6 +19,9 @@ wcschr [test $HAVE_WCSCSPN = 0] configure.ac: gl_FUNC_WCSCSPN +if test $HAVE_WCSCSPN = 0; then + AC_LIBOBJ([wcscspn]) +fi gl_WCHAR_MODULE_INDICATOR([wcscspn]) Makefile.am: