For a long time, noone has reported builds from OSes like "Stardent Vistra" or "Ultrix". All proprietary compilers I have access to (including msvc) also pass the gt_TYPE_LONGDOUBLE test.
This means that - gnulib can assume that the type 'long double' exists (but not the corresponding <math.h> library functions! many systems lack them), - autoconf can probably mark the AC_TYPE_LONG_DOUBLE macro as "obsolescent". 2007-04-06 Bruno Haible <[EMAIL PROTECTED]> Assume the 'long double' type. * m4/longdouble.m4: Remove file. * config/srclist.txt: Don't mention longdouble.m4. * lib/allocsa.h: Assume HAVE_LONG_DOUBLE to be true. * lib/float+.h: Likewise. * lib/frexp.c: Likewise. * lib/printf-args.h: Likewise. * lib/printf-args.c: Likewise. * lib/printf-frexp.c: Likewise. * lib/printf-parse.c: Likewise. * lib/vasnprintf.c: Likewise. * m4/allocsa.m4: Remove gt_TYPE_LONGDOUBLE invocation. * m4/intl.m4: Likewise. * m4/isnanl.m4: Likewise. * m4/printf.m4: Likewise. * m4/printf-frexpl.m4: Likewise. * m4/vasnprintf.m4: Likewise. * modules/allocsa (Files): Remove m4/longdouble.m4. * modules/gettext (Files): Likewise. * modules/relocatable-prog-wrapper (Files): Likewise. * modules/vasnprintf (Files): Likewise. * modules/isnanl (Files): Likewise. (Include): Simplify. * modules/isnanl-nolibm (Files): Remove m4/longdouble.m4. (Include): Simplify. * modules/printf-frexpl (Files): Remove m4/longdouble.m4. (Include): Simplify. * modules/snprintf-posix-tests (Files): Remove m4/longdouble.m4. (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation. * modules/sprintf-posix-tests (Files): Remove m4/longdouble.m4. (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation. * modules/vasnprintf-posix-tests (Files): Remove m4/longdouble.m4. (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation. * modules/vasprintf-posix-tests (Files): Remove m4/longdouble.m4. (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation. * modules/vsnprintf-posix-tests (Files): Remove m4/longdouble.m4. (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation. * modules/vsprintf-posix-tests (Files): Remove m4/longdouble.m4. (configure.ac): Remove gt_TYPE_LONGDOUBLE invocation. * tests/test-isnanl-nolibm.c: Assume HAVE_LONG_DOUBLE to be true. * tests/test-isnanl.c: Likewise. * tests/test-snprintf-posix.h: Likewise. * tests/test-sprintf-posix.h: Likewise. * tests/test-vasnprintf-posix.c: Likewise. * tests/test-vasnprintf-posix2.c: Likewise. * tests/test-vasprintf-posix.c: Likewise. --- config/srclist.txt 2 Apr 2007 22:38:14 -0000 1.147 +++ config/srclist.txt 6 Apr 2007 14:14:32 -0000 @@ -79,7 +79,6 @@ $GETTEXT/gettext-runtime/m4/intmax.m4 m4 $GETTEXT/gettext-runtime/m4/inttypes-pri.m4 m4 $GETTEXT/gettext-runtime/m4/lcmessage.m4 m4 -$GETTEXT/gettext-runtime/m4/longdouble.m4 m4 $GETTEXT/gettext-runtime/m4/nls.m4 m4 $GETTEXT/gettext-runtime/m4/po.m4 m4 $GETTEXT/gettext-runtime/m4/printf-posix.m4 m4 --- lib/allocsa.h 30 Jan 2007 01:07:22 -0000 1.8 +++ lib/allocsa.h 6 Apr 2007 14:14:32 -0000 @@ -109,16 +109,12 @@ #if HAVE_LONG_LONG_INT sa_alignment_longlong = sa_alignof (long long), #endif -#if HAVE_LONG_DOUBLE sa_alignment_longdouble = sa_alignof (long double), -#endif sa_alignment_max = ((sa_alignment_long - 1) | (sa_alignment_double - 1) #if HAVE_LONG_LONG_INT | (sa_alignment_longlong - 1) #endif -#if HAVE_LONG_DOUBLE | (sa_alignment_longdouble - 1) -#endif ) + 1, /* The increment that guarantees room for a magic word must be >= sizeof (int) and a multiple of sa_alignment_max. */ --- lib/float+.h 25 Mar 2007 01:05:23 -0000 1.1 +++ lib/float+.h 6 Apr 2007 14:14:32 -0000 @@ -143,8 +143,6 @@ /* Verify that SIZEOF_FLT <= sizeof (float) etc. */ typedef int verify_sizeof_flt[2 * (SIZEOF_FLT <= sizeof (float)) - 1]; typedef int verify_sizeof_dbl[2 * (SIZEOF_DBL <= sizeof (double)) - 1]; -#if HAVE_LONG_DOUBLE typedef int verify_sizeof_ldbl[2 * (SIZEOF_LDBL <= sizeof (long double)) - 1]; -#endif #endif /* _FLOATPLUS_H */ --- lib/frexp.c 25 Mar 2007 02:30:04 -0000 1.3 +++ lib/frexp.c 6 Apr 2007 14:14:33 -0000 @@ -20,8 +20,6 @@ #include <config.h> -#if !(defined USE_LONG_DOUBLE && !HAVE_LONG_DOUBLE) - /* Specification. */ # include <math.h> @@ -167,11 +165,3 @@ *exp = exponent; return x; } - -#else - -/* This declaration is solely to ensure that after preprocessing - this file is never empty. */ -typedef int dummy; - -#endif --- lib/printf-args.c 30 Jan 2007 01:07:22 -0000 1.9 +++ lib/printf-args.c 6 Apr 2007 14:14:33 -0000 @@ -67,11 +67,9 @@ case TYPE_DOUBLE: ap->a.a_double = va_arg (args, double); break; -#if HAVE_LONG_DOUBLE case TYPE_LONGDOUBLE: ap->a.a_longdouble = va_arg (args, long double); break; -#endif case TYPE_CHAR: ap->a.a_char = va_arg (args, int); break; --- lib/printf-args.h 30 Jan 2007 01:07:22 -0000 1.6 +++ lib/printf-args.h 6 Apr 2007 14:14:33 -0000 @@ -52,9 +52,7 @@ TYPE_ULONGLONGINT, #endif TYPE_DOUBLE, -#if HAVE_LONG_DOUBLE TYPE_LONGDOUBLE, -#endif TYPE_CHAR, #if HAVE_WINT_T TYPE_WIDE_CHAR, @@ -93,9 +91,7 @@ #endif float a_float; double a_double; -#if HAVE_LONG_DOUBLE long double a_longdouble; -#endif int a_char; #if HAVE_WINT_T wint_t a_wide_char; --- lib/printf-frexp.c 25 Mar 2007 12:00:37 -0000 1.7 +++ lib/printf-frexp.c 6 Apr 2007 14:14:33 -0000 @@ -17,8 +17,6 @@ #include <config.h> -#if !(defined USE_LONG_DOUBLE && !HAVE_LONG_DOUBLE) - /* Specification. */ # ifdef USE_LONG_DOUBLE # include "printf-frexpl.h" @@ -189,11 +187,3 @@ *exp = exponent; return x; } - -#else - -/* This declaration is solely to ensure that after preprocessing - this file is never empty. */ -typedef int dummy; - -#endif --- lib/printf-parse.c 26 Mar 2007 00:14:00 -0000 1.11 +++ lib/printf-parse.c 6 Apr 2007 14:14:33 -0000 @@ -421,11 +421,9 @@ break; case 'f': case 'F': case 'e': case 'E': case 'g': case 'G': case 'a': case 'A': -#if HAVE_LONG_DOUBLE if (flags >= 16 || (flags & 4)) type = TYPE_LONGDOUBLE; else -#endif type = TYPE_DOUBLE; break; case 'c': --- lib/vasnprintf.c 27 Mar 2007 20:11:59 -0000 1.37 +++ lib/vasnprintf.c 6 Apr 2007 14:14:33 -0000 @@ -57,12 +57,10 @@ # include "float+.h" # include "isnan.h" # include "printf-frexp.h" -# if HAVE_LONG_DOUBLE # include "isnanl-nolibm.h" # include "printf-frexpl.h" # include "fpucw.h" # endif -#endif /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ #ifndef EOVERFLOW @@ -386,7 +384,6 @@ } /* Allocate a temporary buffer of sufficient size. */ -# if HAVE_LONG_DOUBLE if (type == TYPE_LONGDOUBLE) tmp_length = (unsigned int) ((LDBL_DIG + 1) @@ -394,7 +391,6 @@ ) + 1; /* turn floor into ceil */ else -# endif tmp_length = (unsigned int) ((DBL_DIG + 1) * 0.831 /* decimal -> hexadecimal */ @@ -427,7 +423,6 @@ pad_ptr = NULL; p = tmp; -# if HAVE_LONG_DOUBLE if (type == TYPE_LONGDOUBLE) { long double arg = a.arg[dp->arg_index].a.a_longdouble; @@ -577,7 +572,6 @@ } } else -# endif { double arg = a.arg[dp->arg_index].a.a_double; @@ -932,7 +926,6 @@ break; case 'f': case 'F': -# if HAVE_LONG_DOUBLE if (type == TYPE_LONGDOUBLE) tmp_length = (unsigned int) (LDBL_MAX_EXP @@ -942,7 +935,6 @@ + 1 /* turn floor into ceil */ + 10; /* sign, decimal point etc. */ else -# endif tmp_length = (unsigned int) (DBL_MAX_EXP * 0.30103 /* binary -> decimal */ @@ -960,7 +952,6 @@ break; case 'a': case 'A': -# if HAVE_LONG_DOUBLE if (type == TYPE_LONGDOUBLE) tmp_length = (unsigned int) (LDBL_DIG @@ -968,7 +959,6 @@ ) + 1; /* turn floor into ceil */ else -# endif tmp_length = (unsigned int) (DBL_DIG * 0.831 /* decimal -> hexadecimal */ @@ -1087,11 +1077,9 @@ #endif *p++ = 'l'; break; -#if HAVE_LONG_DOUBLE case TYPE_LONGDOUBLE: *p++ = 'L'; break; -#endif default: break; } @@ -1248,14 +1236,12 @@ SNPRINTF_BUF (arg); } break; -#if HAVE_LONG_DOUBLE case TYPE_LONGDOUBLE: { long double arg = a.arg[dp->arg_index].a.a_longdouble; SNPRINTF_BUF (arg); } break; -#endif case TYPE_CHAR: { int arg = a.arg[dp->arg_index].a.a_char; --- m4/allocsa.m4 15 Nov 2006 20:50:54 -0000 1.6 +++ m4/allocsa.m4 6 Apr 2007 14:14:33 -0000 @@ -1,5 +1,5 @@ -# allocsa.m4 serial 6 -dnl Copyright (C) 2003-2004, 2006 Free Software Foundation, Inc. +# allocsa.m4 serial 7 +dnl Copyright (C) 2003-2004, 2006-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, dnl with or without modifications, as long as this notice is preserved. @@ -11,5 +11,4 @@ dnl gl_FUNC_ALLOCA dnl Already brought in by the module dependencies. AC_REQUIRE([gl_EEMALLOC]) AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) - AC_REQUIRE([gt_TYPE_LONGDOUBLE]) ]) --- m4/intl.m4 27 Oct 2006 14:06:54 -0000 1.1 +++ m4/intl.m4 6 Apr 2007 14:14:33 -0000 @@ -1,5 +1,5 @@ -# intl.m4 serial 3 (gettext-0.16) -dnl Copyright (C) 1995-2006 Free Software Foundation, Inc. +# intl.m4 serial 4 (gettext-0.16.2) +dnl Copyright (C) 1995-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, dnl with or without modifications, as long as this notice is preserved. @@ -33,7 +33,6 @@ AC_REQUIRE([gl_VISIBILITY])dnl AC_REQUIRE([gt_INTL_SUBDIR_CORE])dnl AC_REQUIRE([AC_TYPE_LONG_LONG_INT])dnl - AC_REQUIRE([gt_TYPE_LONGDOUBLE])dnl AC_REQUIRE([gt_TYPE_WCHAR_T])dnl AC_REQUIRE([gt_TYPE_WINT_T])dnl AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) --- m4/isnanl.m4 3 Apr 2007 23:28:37 -0000 1.5 +++ m4/isnanl.m4 6 Apr 2007 14:14:33 -0000 @@ -1,4 +1,4 @@ -# isnanl.m4 serial 2 +# isnanl.m4 serial 3 dnl Copyright (C) 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, @@ -6,9 +6,7 @@ AC_DEFUN([gl_FUNC_ISNANL], [ - AC_REQUIRE([gt_TYPE_LONGDOUBLE]) ISNANL_LIBM= - if test $gt_cv_c_long_double = yes; then gl_HAVE_ISNANL_NO_LIBM if test $gl_cv_func_isnanl_no_libm = no; then gl_HAVE_ISNANL_IN_LIBM @@ -36,14 +34,11 @@ AC_LIBOBJ([isnanl]) gl_LONG_DOUBLE_EXPONENT_LOCATION fi - fi AC_SUBST([ISNANL_LIBM]) ]) AC_DEFUN([gl_FUNC_ISNANL_NO_LIBM], [ - AC_REQUIRE([gt_TYPE_LONGDOUBLE]) - if test $gt_cv_c_long_double = yes; then gl_HAVE_ISNANL_NO_LIBM gl_func_isnanl_no_libm=$gl_cv_func_isnanl_no_libm if test $gl_func_isnanl_no_libm = yes; then @@ -60,7 +55,6 @@ AC_LIBOBJ([isnanl]) gl_LONG_DOUBLE_EXPONENT_LOCATION fi - fi ]) dnl Test whether isnanl() can be used without libm. @@ -107,7 +101,6 @@ AC_DEFUN([gl_FUNC_ISNANL_WORKS], [ AC_REQUIRE([AC_PROG_CC]) - AC_REQUIRE([gt_TYPE_LONGDOUBLE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether isnanl works], [gl_cv_func_isnanl_works], [ --- m4/printf-frexpl.m4 30 Mar 2007 00:13:24 -0000 1.4 +++ m4/printf-frexpl.m4 6 Apr 2007 14:14:33 -0000 @@ -1,4 +1,4 @@ -# printf-frexpl.m4 serial 3 +# printf-frexpl.m4 serial 4 dnl Copyright (C) 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, @@ -8,9 +8,7 @@ AC_DEFUN([gl_FUNC_PRINTF_FREXPL], [ - AC_REQUIRE([gt_TYPE_LONGDOUBLE]) AC_REQUIRE([gl_MATH_H_DEFAULTS]) - if test $gt_cv_c_long_double = yes; then AC_CACHE_CHECK([whether frexpl can be used without linking with libm], [gl_cv_func_frexpl_no_libm], [ @@ -51,5 +49,4 @@ ;; esac fi - fi ]) --- m4/printf.m4 5 Apr 2007 00:41:39 -0000 1.13 +++ m4/printf.m4 6 Apr 2007 14:14:33 -0000 @@ -1,4 +1,4 @@ -# printf.m4 serial 3 +# printf.m4 serial 4 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, @@ -13,7 +13,6 @@ AC_REQUIRE([AC_PROG_CC]) AC_REQUIRE([gl_AC_HEADER_STDINT_H]) AC_REQUIRE([gl_AC_HEADER_INTTYPES_H]) - AC_REQUIRE([gt_TYPE_LONGDOUBLE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports size specifiers as in C99], [gl_cv_func_printf_sizes_c99], @@ -46,12 +45,10 @@ if (sprintf (buf, "%tu %d", (ptrdiff_t) 12345673, 33, 44, 55) < 0 || strcmp (buf, "12345673 33") != 0) return 1; -#if HAVE_LONG_DOUBLE buf[0] = '\0'; if (sprintf (buf, "%Lg %d", (long double) 1.5, 33, 44, 55) < 0 || strcmp (buf, "1.5 33") != 0) return 1; -#endif return 0; }], [gl_cv_func_printf_sizes_c99=yes], [gl_cv_func_printf_sizes_c99=no], [ @@ -92,7 +89,6 @@ AC_DEFUN([gl_PRINTF_DIRECTIVE_A], [ AC_REQUIRE([AC_PROG_CC]) - AC_REQUIRE([gt_TYPE_LONGDOUBLE]) AC_REQUIRE([AC_CANONICAL_HOST]) dnl for cross-compiles AC_CACHE_CHECK([whether printf supports the 'a' and 'A' directives], [gl_cv_func_printf_directive_a], @@ -129,7 +125,6 @@ && strcmp (buf, "0x4.0p-1") != 0 && strcmp (buf, "0x8.0p-2") != 0)) return 1; -#if HAVE_LONG_DOUBLE /* This catches the same MacOS X 10.3.9 (Darwin 7.9) bug and also a glibc 2.4 bug <http://sourceware.org/bugzilla/show_bug.cgi?id=2908>. */ if (sprintf (buf, "%.1La", 1.999L) < 0 @@ -138,7 +133,6 @@ && strcmp (buf, "0x4.0p-1") != 0 && strcmp (buf, "0x8.0p-2") != 0)) return 1; -#endif return 0; }], [gl_cv_func_printf_directive_a=yes], [gl_cv_func_printf_directive_a=no], [ --- m4/vasnprintf.m4 26 Mar 2007 20:59:46 -0000 1.18 +++ m4/vasnprintf.m4 6 Apr 2007 14:14:33 -0000 @@ -1,4 +1,4 @@ -# vasnprintf.m4 serial 11 +# vasnprintf.m4 serial 12 dnl Copyright (C) 2002-2004, 2006-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, @@ -34,7 +34,6 @@ AC_DEFUN([gl_PREREQ_PRINTF_ARGS], [ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) - AC_REQUIRE([gt_TYPE_LONGDOUBLE]) AC_REQUIRE([gt_TYPE_WCHAR_T]) AC_REQUIRE([gt_TYPE_WINT_T]) ]) @@ -43,7 +42,6 @@ AC_DEFUN([gl_PREREQ_PRINTF_PARSE], [ AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) - AC_REQUIRE([gt_TYPE_LONGDOUBLE]) AC_REQUIRE([gt_TYPE_WCHAR_T]) AC_REQUIRE([gt_TYPE_WINT_T]) AC_REQUIRE([AC_TYPE_SIZE_T]) @@ -56,7 +54,6 @@ [ AC_REQUIRE([AC_FUNC_ALLOCA]) AC_REQUIRE([AC_TYPE_LONG_LONG_INT]) - AC_REQUIRE([gt_TYPE_LONGDOUBLE]) AC_REQUIRE([gt_TYPE_WCHAR_T]) AC_REQUIRE([gt_TYPE_WINT_T]) AC_CHECK_FUNCS(snprintf wcslen) --- modules/allocsa 13 Oct 2006 12:40:23 -0000 1.7 +++ modules/allocsa 6 Apr 2007 14:14:33 -0000 @@ -8,7 +8,6 @@ m4/allocsa.m4 m4/eealloc.m4 m4/longlong.m4 -m4/longdouble.m4 Depends-on: alloca-opt --- modules/gettext 3 Mar 2007 02:08:08 -0000 1.17 +++ modules/gettext 6 Apr 2007 14:14:34 -0000 @@ -15,7 +15,6 @@ m4/inttypes-pri.m4 m4/lcmessage.m4 m4/lock.m4 -m4/longdouble.m4 m4/longlong.m4 m4/nls.m4 m4/po.m4 --- modules/isnanl 3 Apr 2007 23:28:37 -0000 1.4 +++ modules/isnanl 6 Apr 2007 14:14:34 -0000 @@ -7,7 +7,6 @@ lib/isnan.c lib/float+.h m4/isnanl.m4 -m4/longdouble.m4 Depends-on: fpieee @@ -18,9 +17,7 @@ Makefile.am: Include: -#if HAVE_LONG_DOUBLE -# include "isnanl.h" -#endif +"isnanl.h" Link: $(ISNANL_LIBM) --- modules/isnanl-nolibm 25 Mar 2007 23:59:54 -0000 1.5 +++ modules/isnanl-nolibm 6 Apr 2007 14:14:34 -0000 @@ -7,7 +7,6 @@ lib/isnan.c lib/float+.h m4/isnanl.m4 -m4/longdouble.m4 Depends-on: fpieee @@ -18,9 +17,7 @@ Makefile.am: Include: -#if HAVE_LONG_DOUBLE -# include "isnanl-nolibm.h" -#endif +"isnanl-nolibm.h" License: LGPL --- modules/printf-frexpl 4 Apr 2007 23:55:24 -0000 1.6 +++ modules/printf-frexpl 6 Apr 2007 14:14:34 -0000 @@ -8,7 +8,6 @@ lib/printf-frexp.c m4/printf-frexpl.m4 m4/ldexpl.m4 -m4/longdouble.m4 Depends-on: math @@ -21,9 +20,7 @@ lib_SOURCES += printf-frexpl.c Include: -#if HAVE_LONG_DOUBLE -# include "printf-frexpl.h" -#endif +"printf-frexpl.h" License: LGPL --- modules/relocatable-prog-wrapper 4 Mar 2007 15:33:48 -0000 1.3 +++ modules/relocatable-prog-wrapper 6 Apr 2007 14:14:34 -0000 @@ -26,7 +26,6 @@ m4/canonicalize-lgpl.m4 m4/eealloc.m4 m4/longlong.m4 -m4/longdouble.m4 m4/readlink.m4 m4/relocatable-lib.m4 m4/setenv.m4 --- modules/snprintf-posix-tests 10 Mar 2007 14:57:20 -0000 1.2 +++ modules/snprintf-posix-tests 6 Apr 2007 14:14:34 -0000 @@ -1,13 +1,11 @@ Files: tests/test-snprintf-posix.c tests/test-snprintf-posix.h -m4/longdouble.m4 Depends-on: stdint configure.ac: -AC_REQUIRE([gt_TYPE_LONGDOUBLE]) Makefile.am: TESTS += test-snprintf-posix --- modules/sprintf-posix-tests 10 Mar 2007 14:57:20 -0000 1.2 +++ modules/sprintf-posix-tests 6 Apr 2007 14:14:34 -0000 @@ -1,13 +1,11 @@ Files: tests/test-sprintf-posix.c tests/test-sprintf-posix.h -m4/longdouble.m4 Depends-on: stdint configure.ac: -AC_REQUIRE([gt_TYPE_LONGDOUBLE]) Makefile.am: TESTS += test-sprintf-posix --- modules/vasnprintf 26 Mar 2007 00:14:00 -0000 1.13 +++ modules/vasnprintf 6 Apr 2007 14:14:34 -0000 @@ -10,7 +10,6 @@ lib/vasnprintf.h lib/vasnprintf.c lib/asnprintf.c -m4/longdouble.m4 m4/wchar_t.m4 m4/wint_t.m4 m4/longlong.m4 --- modules/vasnprintf-posix-tests 10 Mar 2007 00:24:51 -0000 1.2 +++ modules/vasnprintf-posix-tests 6 Apr 2007 14:14:34 -0000 @@ -2,14 +2,12 @@ tests/test-vasnprintf-posix.c tests/test-vasnprintf-posix2.sh tests/test-vasnprintf-posix2.c -m4/longdouble.m4 m4/locale-fr.m4 Depends-on: stdint configure.ac: -AC_REQUIRE([gt_TYPE_LONGDOUBLE]) gt_LOCALE_FR gt_LOCALE_FR_UTF8 --- modules/vasprintf-posix-tests 5 Mar 2007 00:39:01 -0000 1.1 +++ modules/vasprintf-posix-tests 6 Apr 2007 14:14:34 -0000 @@ -1,12 +1,10 @@ Files: tests/test-vasprintf-posix.c -m4/longdouble.m4 Depends-on: stdint configure.ac: -AC_REQUIRE([gt_TYPE_LONGDOUBLE]) Makefile.am: TESTS += test-vasprintf-posix --- modules/vsnprintf-posix-tests 10 Mar 2007 14:57:20 -0000 1.2 +++ modules/vsnprintf-posix-tests 6 Apr 2007 14:14:34 -0000 @@ -1,13 +1,11 @@ Files: tests/test-vsnprintf-posix.c tests/test-snprintf-posix.h -m4/longdouble.m4 Depends-on: stdint configure.ac: -AC_REQUIRE([gt_TYPE_LONGDOUBLE]) Makefile.am: TESTS += test-vsnprintf-posix --- modules/vsprintf-posix-tests 10 Mar 2007 14:57:20 -0000 1.2 +++ modules/vsprintf-posix-tests 6 Apr 2007 14:14:34 -0000 @@ -1,13 +1,11 @@ Files: tests/test-vsprintf-posix.c tests/test-sprintf-posix.h -m4/longdouble.m4 Depends-on: stdint configure.ac: -AC_REQUIRE([gt_TYPE_LONGDOUBLE]) Makefile.am: TESTS += test-vsprintf-posix --- tests/test-isnanl-nolibm.c 22 Mar 2007 02:02:42 -0000 1.1 +++ tests/test-isnanl-nolibm.c 6 Apr 2007 14:14:34 -0000 @@ -19,18 +19,6 @@ #include <config.h> -#if HAVE_LONG_DOUBLE - #include "isnanl-nolibm.h" #include "test-isnanl.h" - -#else - -int -main () -{ - return 0; -} - -#endif --- tests/test-isnanl.c 22 Mar 2007 02:19:08 -0000 1.3 +++ tests/test-isnanl.c 6 Apr 2007 14:14:34 -0000 @@ -19,18 +19,6 @@ #include <config.h> -#if HAVE_LONG_DOUBLE - #include "isnanl.h" #include "test-isnanl.h" - -#else - -int -main () -{ - return 0; -} - -#endif --- tests/test-snprintf-posix.h 5 Apr 2007 00:27:45 -0000 1.3 +++ tests/test-snprintf-posix.h 6 Apr 2007 14:14:34 -0000 @@ -85,7 +85,6 @@ ASSERT (retval == strlen (result)); } -#if HAVE_LONG_DOUBLE { char result[100]; int retval = @@ -93,7 +92,6 @@ ASSERT (strcmp (result, "1.5 33") == 0); ASSERT (retval == strlen (result)); } -#endif /* Test the support of the 'a' and 'A' conversion specifier for hexadecimal output of floating-point numbers. */ @@ -355,8 +353,6 @@ ASSERT (retval == strlen (result)); } -#if HAVE_LONG_DOUBLE - { /* A positive number. */ char result[100]; int retval = @@ -615,8 +611,6 @@ ASSERT (retval == strlen (result)); } -#endif - /* Test the support of the %n format directive. */ { --- tests/test-sprintf-posix.h 5 Apr 2007 00:27:45 -0000 1.3 +++ tests/test-sprintf-posix.h 6 Apr 2007 14:14:34 -0000 @@ -71,7 +71,6 @@ ASSERT (retval == strlen (result)); } -#if HAVE_LONG_DOUBLE { char result[1000]; int retval = @@ -79,7 +78,6 @@ ASSERT (strcmp (result, "1.5 33") == 0); ASSERT (retval == strlen (result)); } -#endif /* Test the support of the 'a' and 'A' conversion specifier for hexadecimal output of floating-point numbers. */ @@ -341,8 +339,6 @@ ASSERT (retval == strlen (result)); } -#if HAVE_LONG_DOUBLE - { /* A positive number. */ char result[1000]; int retval = @@ -601,8 +597,6 @@ ASSERT (retval == strlen (result)); } -#endif - /* Test the support of the %n format directive. */ { --- tests/test-vasnprintf-posix.c 5 Apr 2007 00:27:45 -0000 1.5 +++ tests/test-vasnprintf-posix.c 6 Apr 2007 14:14:34 -0000 @@ -111,7 +111,6 @@ free (result); } -#if HAVE_LONG_DOUBLE { size_t length; char *result = @@ -121,7 +120,6 @@ ASSERT (length == strlen (result)); free (result); } -#endif /* Test the support of the 'a' and 'A' conversion specifier for hexadecimal output of floating-point numbers. */ @@ -433,8 +431,6 @@ free (result); } -#if HAVE_LONG_DOUBLE - { /* A positive number. */ size_t length; char *result = @@ -743,8 +739,6 @@ free (result); } -#endif - /* Test the support of the %n format directive. */ { --- tests/test-vasnprintf-posix2.c 10 Mar 2007 00:24:51 -0000 1.1 +++ tests/test-vasnprintf-posix2.c 6 Apr 2007 14:14:34 -0000 @@ -49,8 +49,6 @@ free (result); } -#if HAVE_LONG_DOUBLE - /* Test that a locale dependent decimal point is used. */ { size_t length; @@ -64,7 +62,5 @@ free (result); } -#endif - return 0; } --- tests/test-vasprintf-posix.c 5 Apr 2007 00:27:45 -0000 1.5 +++ tests/test-vasprintf-posix.c 6 Apr 2007 14:14:34 -0000 @@ -92,7 +92,6 @@ free (result); } -#if HAVE_LONG_DOUBLE { char *result; int retval = @@ -102,7 +101,6 @@ ASSERT (retval == strlen (result)); free (result); } -#endif /* Test the support of the 'a' and 'A' conversion specifier for hexadecimal output of floating-point numbers. */ @@ -414,8 +412,6 @@ free (result); } -#if HAVE_LONG_DOUBLE - { /* A positive number. */ char *result; int retval = @@ -724,8 +720,6 @@ free (result); } -#endif - /* Test the support of the %n format directive. */ {