Mercurial > hg > octave-nkf > gnulib-hg
changeset 15155:0bd070120f1c
wcsnrtombs: Move AC_LIBOBJ invocations to module description.
* m4/wcsnrtombs.m4 (gl_FUNC_WCSNRTOMBS): Move AC_LIBOBJ and
gl_PREREQ_WCSNRTOMBS invocations from here...
* modules/wcsnrtombs (configure.ac): ... to here.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 22 May 2011 18:30:35 +0200 |
parents | 4b3d49c7a7dd |
children | 051c5c1aba59 |
files | ChangeLog m4/wcsnrtombs.m4 modules/wcsnrtombs |
diffstat | 3 files changed, 13 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-05-22 Bruno Haible <bruno@clisp.org> + + wcsnrtombs: Move AC_LIBOBJ invocations to module description. + * m4/wcsnrtombs.m4 (gl_FUNC_WCSNRTOMBS): Move AC_LIBOBJ and + gl_PREREQ_WCSNRTOMBS invocations from here... + * modules/wcsnrtombs (configure.ac): ... to here. + 2011-05-22 Bruno Haible <bruno@clisp.org> wcsnlen: Move AC_LIBOBJ invocations to module description.
--- a/m4/wcsnrtombs.m4 +++ b/m4/wcsnrtombs.m4 @@ -1,4 +1,4 @@ -# wcsnrtombs.m4 serial 4 +# wcsnrtombs.m4 serial 5 dnl Copyright (C) 2008-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, @@ -19,11 +19,6 @@ REPLACE_WCSNRTOMBS=1 fi fi - if test $HAVE_WCSNRTOMBS = 0 || test $REPLACE_WCSNRTOMBS = 1; then - AC_LIBOBJ([wcsnrtombs]) - AC_LIBOBJ([wcsrtombs-state]) - gl_PREREQ_WCSNRTOMBS - fi ]) # Prerequisites of lib/wcsnrtombs.c.
--- a/modules/wcsnrtombs +++ b/modules/wcsnrtombs @@ -19,6 +19,11 @@ configure.ac: gl_FUNC_WCSNRTOMBS +if test $HAVE_WCSNRTOMBS = 0 || test $REPLACE_WCSNRTOMBS = 1; then + AC_LIBOBJ([wcsnrtombs]) + AC_LIBOBJ([wcsrtombs-state]) + gl_PREREQ_WCSNRTOMBS +fi gl_WCHAR_MODULE_INDICATOR([wcsnrtombs]) Makefile.am: