changeset 15240:417bb59b0819

crypto/sha1: Move AC_LIBOBJ invocations to module description. * m4/sha1.m4 (gl_SHA1): Remove AC_LIBOBJ invocation. * modules/crypto/sha1 (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 01:38:14 +0200
parents 36e1fcc3cddf
children ea6597f2ea01
files ChangeLog m4/sha1.m4 modules/crypto/sha1
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/sha1: Move AC_LIBOBJ invocations to module description.
+	* m4/sha1.m4 (gl_SHA1): Remove AC_LIBOBJ invocation.
+	* modules/crypto/sha1 (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	settime: Move AC_LIBOBJ invocations to module description.
--- a/m4/sha1.m4
+++ b/m4/sha1.m4
@@ -1,4 +1,4 @@
-# sha1.m4 serial 9
+# sha1.m4 serial 10
 dnl Copyright (C) 2002-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_SHA1],
 [
-  AC_LIBOBJ([sha1])
-
   dnl Prerequisites of lib/sha1.c.
   AC_REQUIRE([gl_BIGENDIAN])
   AC_REQUIRE([AC_C_INLINE])
--- a/modules/crypto/sha1
+++ b/modules/crypto/sha1
@@ -13,6 +13,7 @@
 gl_SHA1
 
 Makefile.am:
+lib_SOURCES += sha1.c
 
 Include:
 "sha1.h"