]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Assume the 'long double' type.
authorBruno Haible <bruno@clisp.org>
Fri, 6 Apr 2007 14:39:09 +0000 (14:39 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:14:45 +0000 (12:14 +0200)
gettext-runtime/m4/ChangeLog
gettext-runtime/m4/Makefile.am
gettext-runtime/m4/intl.m4
gettext-runtime/m4/longdouble.m4 [deleted file]

index de1fd7e49c838fc8dd5d260c0e0f05a70bf57436..83d2dbef9e60e00b7d6dd8a4d5bd235bd6fc2b60 100644 (file)
@@ -1,3 +1,9 @@
+2007-04-06  Bruno Haible  <bruno@clisp.org>
+
+       Assume the 'long double' type.
+       * longdouble.m4: Remove file.
+       * Makefile.am (EXTRA_DIST): Remove it.
+
 2007-03-04  Bruno Haible  <bruno@clisp.org>
 
        * printf-posix.m4 (gt_PRINTF_POSIX): Treat BeOS like NetBSD and Woe32
index d38f8e2e30aef3fba9f5253287a5af21149f9bd9..1a16ff6e415db339a90c9cf3f0b2744036d25ecf 100644 (file)
@@ -17,7 +17,6 @@ inttypes-pri.m4 \
 inttypes_h.m4 \
 lcmessage.m4 \
 lock.m4 \
-longdouble.m4 \
 longlong.m4 \
 nls.m4 \
 po.m4 \
index dcefb118c703176d135dba3e294cf1eb086e75f7..e44fe21960f51be583f4599237fb6435fe6d4e38 100644 (file)
@@ -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_DEFUN([AM_INTL_SUBDIR],
   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])
diff --git a/gettext-runtime/m4/longdouble.m4 b/gettext-runtime/m4/longdouble.m4
deleted file mode 100644 (file)
index 25590f4..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-# longdouble.m4 serial 2 (gettext-0.15)
-dnl Copyright (C) 2002-2003, 2006 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.
-
-dnl From Bruno Haible.
-dnl Test whether the compiler supports the 'long double' type.
-dnl Prerequisite: AC_PROG_CC
-
-dnl This file is only needed in autoconf <= 2.59.  Newer versions of autoconf
-dnl have a macro AC_TYPE_LONG_DOUBLE with identical semantics.
-
-AC_DEFUN([gt_TYPE_LONGDOUBLE],
-[
-  AC_CACHE_CHECK([for long double], gt_cv_c_long_double,
-    [if test "$GCC" = yes; then
-       gt_cv_c_long_double=yes
-     else
-       AC_TRY_COMPILE([
-         /* The Stardent Vistra knows sizeof(long double), but does not support it.  */
-         long double foo = 0.0;
-         /* On Ultrix 4.3 cc, long double is 4 and double is 8.  */
-         int array [2*(sizeof(long double) >= sizeof(double)) - 1];
-         ], ,
-         gt_cv_c_long_double=yes, gt_cv_c_long_double=no)
-     fi])
-  if test $gt_cv_c_long_double = yes; then
-    AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define if you have the 'long double' type.])
-  fi
-])