Mercurial > hg > octave-kai > gnulib-hg
changeset 10070:61be13abdf14
Avoid quadratic growth in gl_LIBSOURCES.
* gnulib-tool (func_emit_initmacro_done): s/\(m4_append\)_uniq/\1/.
Suggested by Bruno Haible.
Signed-off-by: Eric Blake <ebb9@byu.net>
author | Eric Blake <ebb9@byu.net> |
---|---|
date | Wed, 14 May 2008 06:42:55 -0600 |
parents | 7748c1704de6 |
children | 0d2036153b5f |
files | ChangeLog gnulib-tool |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2008-05-14 Eric Blake <ebb9@byu.net> + Avoid quadratic growth in gl_LIBSOURCES. + * gnulib-tool (func_emit_initmacro_done): s/\(m4_append\)_uniq/\1/. + Suggested by Bruno Haible. + Test xmemdup0. * modules/xmemdup0-tests: New file. * tests/test-xmemdup0.c: Likewise.
--- a/gnulib-tool +++ b/gnulib-tool @@ -2130,7 +2130,7 @@ echo " m4_foreach([_gl_NAME], [\$1], [" echo " m4_if(_gl_NAME, [alloca.c], [], [" echo " m4_define([${macro_prefix_arg}_LIBSOURCES_DIR], [$sourcebase_arg])" - echo " m4_append_uniq([${macro_prefix_arg}_LIBSOURCES_LIST], _gl_NAME, [ ])" + echo " m4_append([${macro_prefix_arg}_LIBSOURCES_LIST], _gl_NAME, [ ])" echo " ])" echo " ])" echo "])"