]> Savannah Git Hosting - gnulib.git/commitdiff
malloca: Assume that the compiler supports 'long long'.
authorBruno Haible <bruno@clisp.org>
Sun, 22 Dec 2019 09:08:36 +0000 (10:08 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 22 Dec 2019 09:08:36 +0000 (10:08 +0100)
* lib/malloca.h: Assume HAVE_LONG_LONG_INT to be 1.
* m4/malloca.m4 (gl_MALLOCA): Don't require AC_TYPE_LONG_LONG_INT.
* modules/malloca (Files): Remove longlong.m4.
* modules/relocatable-prog-wrapper (Files): Likewise.

ChangeLog
lib/malloca.h
m4/malloca.m4
modules/malloca
modules/relocatable-prog-wrapper

index fa580b51c0547ff144ca86819ceb9be455551f04..40560e6ab62036badae9288064752af20f9cecc8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2019-12-22  Bruno Haible  <bruno@clisp.org>
 
+       malloca: Assume that the compiler supports 'long long'.
+       * lib/malloca.h: Assume HAVE_LONG_LONG_INT to be 1.
+       * m4/malloca.m4 (gl_MALLOCA): Don't require AC_TYPE_LONG_LONG_INT.
+       * modules/malloca (Files): Remove longlong.m4.
+       * modules/relocatable-prog-wrapper (Files): Likewise.
+
        atoll: Assume that the compiler supports 'long long'.
        * m4/atoll.m4 (gl_FUNC_ATOLL): Don't require AC_TYPE_LONG_LONG_INT.
        * modules/atoll (Files): Remove longlong.m4.
index 949db555e6eaa5614a934415d62d769542e7c494..f2448f15b64fb03af1f2ef73ef794db5a5d58628 100644 (file)
@@ -112,14 +112,10 @@ enum
    among all elementary types.  */
   sa_alignment_long = sa_alignof (long),
   sa_alignment_double = sa_alignof (double),
-#if HAVE_LONG_LONG_INT
   sa_alignment_longlong = sa_alignof (long long),
-#endif
   sa_alignment_longdouble = sa_alignof (long double),
   sa_alignment_max = ((sa_alignment_long - 1) | (sa_alignment_double - 1)
-#if HAVE_LONG_LONG_INT
                       | (sa_alignment_longlong - 1)
-#endif
                       | (sa_alignment_longdouble - 1)
                      ) + 1
 };
index 820f40a8a88cce48935d3b0a61804141e97b71b2..3033c70a99d961ee7f517b18690b9216a97a490e 100644 (file)
@@ -1,4 +1,4 @@
-# malloca.m4 serial 1
+# malloca.m4 serial 2
 dnl Copyright (C) 2003-2004, 2006-2007, 2009-2019 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
@@ -11,5 +11,4 @@ AC_DEFUN([gl_MALLOCA],
   dnl @ALLOCA@ and @LTALLOCA@.
   dnl gl_FUNC_ALLOCA   dnl Already brought in by the module dependencies.
   AC_REQUIRE([gl_EEMALLOC])
-  AC_REQUIRE([AC_TYPE_LONG_LONG_INT])
 ])
index 0ae3fe08dc34138c31ce1a2b4244116d93955366..9b7a3dbd259976e5214dfd5cca788d3726b6988a 100644 (file)
@@ -6,7 +6,6 @@ lib/malloca.h
 lib/malloca.c
 m4/malloca.m4
 m4/eealloc.m4
-m4/longlong.m4
 
 Depends-on:
 alloca-opt
index db451ef333fc68ff7a29e8b6778171bcfcfdd9a0..d70d63e9e6123a022e4efd38a8a667c5749c0201 100644 (file)
@@ -29,7 +29,6 @@ m4/malloca.m4
 m4/canonicalize.m4
 m4/eealloc.m4
 m4/environ.m4
-m4/longlong.m4
 m4/readlink.m4
 m4/relocatable-lib.m4
 m4/setenv.m4