Clemens Koller wrote:
> > m4-1.4.10 doesn't build anymore (1.4.9 built fine):
> >
> > make[1]: Entering directory `/usr/ports/core/m4/work/src/m4-1.4.10/
> > src'
> > gcc -std=gnu99 -O2 -pipe -o m4 m4.o builtin.o debug.o eval.o
> > format.o freeze.o input.o macro.o output.o path.o symtab.o
> > stackovf.o ../lib/libm4.a
> > ../lib/libm4.a(vasnprintf.o): In function `vasnprintf':
> > vasnprintf.c:(.text+0x3690): undefined reference to
> > `decimal_point_char'
Whee. I apologize for this bug. This should fix it:
2007-07-13 Bruno Haible <[EMAIL PROTECTED]>
* lib/vasnprintf.c (decimal_point_char): Define also if
(NEED_PRINTF_LONG_DOUBLE || NEED_PRINTF_INFINITE_DOUBLE)
&& !NEED_PRINTF_DIRECTIVE_A.
Reported by Clemens Koller <[EMAIL PROTECTED]> via
Gary V. Vaughan <[EMAIL PROTECTED]>.
--- lib/vasnprintf.c 11 Jun 2007 01:10:07 -0000 1.58
+++ lib/vasnprintf.c 14 Jul 2007 00:01:26 -0000
@@ -200,7 +200,7 @@
/* Here we need to call the native sprintf, not rpl_sprintf. */
#undef sprintf
-#if NEED_PRINTF_DIRECTIVE_A && !defined IN_LIBINTL
+#if (NEED_PRINTF_DIRECTIVE_A || NEED_PRINTF_LONG_DOUBLE ||
NEED_PRINTF_INFINITE_DOUBLE) && !defined IN_LIBINTL
/* Determine the decimal-point character according to the current locale. */
# ifndef decimal_point_char_defined
# define decimal_point_char_defined 1
_______________________________________________
Bug-m4 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-m4