From: Bruno Haible Date: Sun, 22 May 2011 16:39:15 +0000 (+0200) Subject: wcsstr: Move AC_LIBOBJ invocations to module description. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64ee293cdac319d0f38cd0d31e758a823b7163ad;p=pspp 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 af803cc71b..d1335646f7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +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. diff --git a/m4/wcsstr.m4 b/m4/wcsstr.m4 index 3ac2caf448..8f762a1ecf 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 d4f22f8509..e918127cbe 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: