Mercurial > hg > octave-shane > gnulib-hg
changeset 15032:0b43830f8761
mbsnrtowcs: Move AC_LIBOBJ invocations to module description.
* m4/mbsnrtowcs.m4 (gl_FUNC_MBSNRTOWCS): Move AC_LIBOBJ and
gl_PREREQ_MBSNRTOWCS invocations from here...
* modules/mbsnrtowcs (configure.ac): ... to here.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 21 May 2011 14:23:29 +0200 |
parents | cec7c0e3ddcc |
children | 7539219da429 |
files | ChangeLog m4/mbsnrtowcs.m4 modules/mbsnrtowcs |
diffstat | 3 files changed, 13 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-21 Bruno Haible <bruno@clisp.org> + + mbsnrtowcs: Move AC_LIBOBJ invocations to module description. + * m4/mbsnrtowcs.m4 (gl_FUNC_MBSNRTOWCS): Move AC_LIBOBJ and + gl_PREREQ_MBSNRTOWCS invocations from here... + * modules/mbsnrtowcs (configure.ac): ... to here. + 2011-05-21 Bruno Haible <bruno@clisp.org> mbsinit: Move AC_LIBOBJ invocations to module description.
--- a/m4/mbsnrtowcs.m4 +++ b/m4/mbsnrtowcs.m4 @@ -1,4 +1,4 @@ -# mbsnrtowcs.m4 serial 3 +# mbsnrtowcs.m4 serial 4 dnl Copyright (C) 2008, 2010-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, @@ -22,11 +22,6 @@ REPLACE_MBSNRTOWCS=1 fi fi - if test $HAVE_MBSNRTOWCS = 0 || test $REPLACE_MBSNRTOWCS = 1; then - AC_LIBOBJ([mbsnrtowcs]) - AC_LIBOBJ([mbsrtowcs-state]) - gl_PREREQ_MBSNRTOWCS - fi ]) # Prerequisites of lib/mbsnrtowcs.c.
--- a/modules/mbsnrtowcs +++ b/modules/mbsnrtowcs @@ -17,6 +17,11 @@ configure.ac: gl_FUNC_MBSNRTOWCS +if test $HAVE_MBSNRTOWCS = 0 || test $REPLACE_MBSNRTOWCS = 1; then + AC_LIBOBJ([mbsnrtowcs]) + AC_LIBOBJ([mbsrtowcs-state]) + gl_PREREQ_MBSNRTOWCS +fi gl_WCHAR_MODULE_INDICATOR([mbsnrtowcs]) Makefile.am: