From: Bruno Haible <bruno@clisp.org>
Date: Mon, 23 May 2011 23:39:42 +0000 (+0200)
Subject: crypto/sha256: Move AC_LIBOBJ invocations to module description.
X-Git-Tag: v0.1~2285
X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=47746a8d8cb13de35a1b4f3f96361ee59794e5cf;p=gnulib.git

crypto/sha256: Move AC_LIBOBJ invocations to module description.

* m4/sha256.m4 (gl_SHA256): Remove AC_LIBOBJ invocation.
* modules/crypto/sha256 (Makefile.am): Augment lib_SOURCES.
---

diff --git a/ChangeLog b/ChangeLog
index 8008fc33cb..738d2d3d2b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	crypto/sha256: Move AC_LIBOBJ invocations to module description.
+	* m4/sha256.m4 (gl_SHA256): Remove AC_LIBOBJ invocation.
+	* modules/crypto/sha256 (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	crypto/sha1: Move AC_LIBOBJ invocations to module description.
diff --git a/m4/sha256.m4 b/m4/sha256.m4
index 0c2d2aae21..a3429ed342 100644
--- a/m4/sha256.m4
+++ b/m4/sha256.m4
@@ -1,4 +1,4 @@
-# sha256.m4 serial 4
+# sha256.m4 serial 5
 dnl Copyright (C) 2005, 2008-2011 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,8 +6,6 @@ dnl with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_SHA256],
 [
-  AC_LIBOBJ([sha256])
-
   dnl Prerequisites of lib/sha256.c.
   AC_REQUIRE([gl_BIGENDIAN])
   AC_REQUIRE([AC_C_INLINE])
diff --git a/modules/crypto/sha256 b/modules/crypto/sha256
index 3d70c4aabd..a5732bd83b 100644
--- a/modules/crypto/sha256
+++ b/modules/crypto/sha256
@@ -13,6 +13,7 @@ configure.ac:
 gl_SHA256
 
 Makefile.am:
+lib_SOURCES += sha256.c
 
 Include:
 "sha256.h"