Mercurial > hg > octave-lyh > gnulib-hg
changeset 15057:1754adc5fd88
obstack-printf*: Move AC_LIBOBJ invocations to module description.
* m4/obstack-printf.m4 (gl_REPLACE_OBSTACK_PRINTF): Move AC_LIBOBJ
invocation from here...
* modules/obstack-printf (configure.ac): ... to here.
* modules/obstack-printf-posix (configure.ac): ... and here.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sat, 21 May 2011 16:33:49 +0200 |
parents | 56a24b726e1d |
children | 925e4e76213b |
files | ChangeLog m4/obstack-printf.m4 modules/obstack-printf modules/obstack-printf-posix |
diffstat | 4 files changed, 15 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2011-05-21 Bruno Haible <bruno@clisp.org> + + obstack-printf*: Move AC_LIBOBJ invocations to module description. + * m4/obstack-printf.m4 (gl_REPLACE_OBSTACK_PRINTF): Move AC_LIBOBJ + invocation from here... + * modules/obstack-printf (configure.ac): ... to here. + * modules/obstack-printf-posix (configure.ac): ... and here. + 2011-05-21 Bruno Haible <bruno@clisp.org> nl_langinfo: Move AC_LIBOBJ invocations to module description.
--- a/m4/obstack-printf.m4 +++ b/m4/obstack-printf.m4 @@ -1,4 +1,4 @@ -# obstack-printf.m4 serial 3 +# obstack-printf.m4 serial 4 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, @@ -25,7 +25,6 @@ AC_DEFUN([gl_REPLACE_OBSTACK_PRINTF], [ AC_REQUIRE([gl_STDIO_H_DEFAULTS]) - AC_LIBOBJ([obstack_printf]) if test $ac_cv_func_obstack_printf = yes; then REPLACE_OBSTACK_PRINTF=1 fi
--- a/modules/obstack-printf +++ b/modules/obstack-printf @@ -13,6 +13,9 @@ configure.ac: gl_FUNC_OBSTACK_PRINTF +if test $ac_cv_func_obstack_printf = no || test $REPLACE_OBSTACK_PRINTF = 1; then + AC_LIBOBJ([obstack_printf]) +fi gl_STDIO_MODULE_INDICATOR([obstack-printf]) Makefile.am:
--- a/modules/obstack-printf-posix +++ b/modules/obstack-printf-posix @@ -20,6 +20,9 @@ configure.ac: gl_FUNC_OBSTACK_PRINTF_POSIX +if test $ac_cv_func_obstack_printf = no || test $REPLACE_OBSTACK_PRINTF = 1; then + AC_LIBOBJ([obstack_printf]) +fi gl_STDIO_MODULE_INDICATOR([obstack-printf-posix]) Makefile.am: