X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fprintf.m4;h=06ce939ab68714e12947290a8775e9518c9b39fc;hb=48ee8b2ef2165371632bc30c5f183f64d1e7f50e;hp=903f2e1a55d5a477235bebe4285a33af97ab2aaf;hpb=b52c5a79e7b6fd61d1577528ec6d883a45b46b27;p=gnulib.git diff --git a/m4/printf.m4 b/m4/printf.m4 index 903f2e1a5..06ce939ab 100644 --- a/m4/printf.m4 +++ b/m4/printf.m4 @@ -1,4 +1,4 @@ -# printf.m4 serial 14 +# printf.m4 serial 16 dnl Copyright (C) 2003, 2007 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -95,7 +95,7 @@ AC_DEFUN([gl_PRINTF_LONG_DOUBLE], AC_TRY_RUN([ #include #include -static char buf[100]; +static char buf[10000]; int main () { buf[0] = '\0'; @@ -156,7 +156,7 @@ strisnan (const char *string, size_t start_index, size_t end_index) } return 0; } -static char buf[100]; +static char buf[10000]; static double zero = 0.0; int main () { @@ -261,7 +261,7 @@ strisnan (const char *string, size_t start_index, size_t end_index) } return 0; } -static char buf[100]; +static char buf[10000]; static long double zeroL = 0.0L; int main () { @@ -405,8 +405,8 @@ int main () [ changequote(,)dnl case "$host_cpu" in - # Guess no on ia64, i386. - ia64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";; + # Guess no on ia64, x86_64, i386. + ia64 | x86_64 | i*86) gl_cv_func_printf_infinite_long_double="guessing no";; *) case "$host_os" in # Guess yes on glibc systems.