bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: new modules: crypto/sha256, crypto/sha512 (from coreutils)


From: Bruno Haible
Subject: Re: FYI: new modules: crypto/sha256, crypto/sha512 (from coreutils)
Date: Sun, 11 May 2008 12:42:36 +0200
User-agent: KMail/1.5.4

Jim Meyering wrote:
>       New modules: crypto/sha256, crypto/sha512 (from coreutils)
>       * modules/crypto/sha256: New file.
>       * modules/crypto/sha512: Likewise.
>       * lib/sha256.c: Likewise.
>       * lib/sha256.h: Likewise.
>       * lib/sha512.c: Likewise.
>       * lib/sha512.h: Likewise.
>       * lib/u64.h: Likewise.
>       * m4/sha256.m4: Likewise.
>       * m4/sha512.m4: Likewise.
>       * MODULES.html.sh (Cryptographic computations (low-level)): List them.

The files lib/sha256.c, lib/sha512.c, lib/u64.h use 'inline'. The autoconf
macros should prepare for it. I'm applying this fix:


2008-05-11  Bruno Haible  <address@hidden>

        * m4/sha256.m4 (gl_SHA256): Require AC_C_INLINE.
        * m4/sha512.m4 (gl_SHA512): Likewise.

--- m4/sha256.m4.orig   2008-05-11 12:38:40.000000000 +0200
+++ m4/sha256.m4        2008-05-11 12:33:22.000000000 +0200
@@ -1,4 +1,4 @@
-# sha256.m4 serial 2
+# sha256.m4 serial 3
 dnl Copyright (C) 2005, 2008 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -10,4 +10,5 @@
 
   dnl Prerequisites of lib/sha256.c.
   AC_REQUIRE([AC_C_BIGENDIAN])
+  AC_REQUIRE([AC_C_INLINE])
 ])
--- m4/sha512.m4.orig   2008-05-11 12:38:40.000000000 +0200
+++ m4/sha512.m4        2008-05-11 12:33:23.000000000 +0200
@@ -1,4 +1,4 @@
-# sha512.m4 serial 3
+# sha512.m4 serial 4
 dnl Copyright (C) 2005, 2006, 2008 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -10,4 +10,5 @@
 
   dnl Prerequisites of lib/sha512.c.
   AC_REQUIRE([AC_C_BIGENDIAN])
+  AC_REQUIRE([AC_C_INLINE])
 ])





reply via email to

[Prev in Thread] Current Thread [Next in Thread]