+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.
-# 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,
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
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:
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: