Hello Ralf, > when I try to > gnulib-tool --with-tests --test > > with git Autoconf, I get this set of warnings: > > configure.ac:2159: warning: AC_REQUIRE: `gl_PREREQ_VASNPRINTF_LONG_DOUBLE' > was expanded before it was required > glm4/vasnprintf.m4:101: gl_PREREQ_VASNPRINTF_INFINITE_LONG_DOUBLE is expanded > from... > glm4/vfprintf-posix.m4:7: gl_FUNC_VFPRINTF_POSIX is expanded from... > glm4/printf-posix-rpl.m4:7: gl_FUNC_PRINTF_POSIX is expanded from... > configure.ac:41: gl_INIT is expanded from... > configure.ac:2159: the top level
I'm fixing this through AC_DEFUN_ONCE that Eric put in place in January. > and this one from automake: > > Makefile.am:17: AM_GNU_GETTEXT used but `po' not in SUBDIRS This one is normal. When you don't pass a --po-domain argument to gnulib-tool, it will not prepare a po/ directory, and thus no translations will be enabled. Automake warns about it, because this situation is a common pitfall for new users of gettext. 2009-05-03 Bruno Haible <[email protected]> * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF, gl_PREREQ_VASNPRINTF_LONG_DOUBLE): Define through AC_DEFUN_ONCE. Reported by Ralf Wildenhues. --- m4/vasnprintf.m4.orig 2009-05-04 00:24:26.000000000 +0200 +++ m4/vasnprintf.m4 2009-05-04 00:22:32.000000000 +0200 @@ -1,4 +1,4 @@ -# vasnprintf.m4 serial 28 +# vasnprintf.m4 serial 29 dnl Copyright (C) 2002-2004, 2006-2009 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -52,7 +52,7 @@ ]) # Prerequisites of lib/vasnprintf.c. -AC_DEFUN([gl_PREREQ_VASNPRINTF], +AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF], [ AC_REQUIRE([AC_FUNC_ALLOCA]) AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) @@ -66,7 +66,7 @@ # Extra prerequisites of lib/vasnprintf.c for supporting 'long double' # arguments. -AC_DEFUN([gl_PREREQ_VASNPRINTF_LONG_DOUBLE], +AC_DEFUN_ONCE([gl_PREREQ_VASNPRINTF_LONG_DOUBLE], [ AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) case "$gl_cv_func_printf_long_double" in
