changeset 15242:3aaaa47a58af

crypto/sha512: Move AC_LIBOBJ invocations to module description. * m4/sha512.m4 (gl_SHA512): Remove AC_LIBOBJ invocation. * modules/crypto/sha512 (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 01:41:34 +0200
parents ea6597f2ea01
children 6a09a3caddef
files ChangeLog m4/sha512.m4 modules/crypto/sha512
diffstat 3 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	crypto/sha512: Move AC_LIBOBJ invocations to module description.
+	* m4/sha512.m4 (gl_SHA512): Remove AC_LIBOBJ invocation.
+	* modules/crypto/sha512 (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	crypto/sha256: Move AC_LIBOBJ invocations to module description.
--- a/m4/sha512.m4
+++ b/m4/sha512.m4
@@ -1,4 +1,4 @@
-# sha512.m4 serial 5
+# sha512.m4 serial 6
 dnl Copyright (C) 2005-2006, 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 @@
 
 AC_DEFUN([gl_SHA512],
 [
-  AC_LIBOBJ([sha512])
-
   dnl Prerequisites of lib/sha512.c.
   AC_REQUIRE([gl_BIGENDIAN])
   AC_REQUIRE([AC_C_INLINE])
--- a/modules/crypto/sha512
+++ b/modules/crypto/sha512
@@ -14,6 +14,7 @@
 gl_SHA512
 
 Makefile.am:
+lib_SOURCES += sha512.c
 
 Include:
 "sha512.h"