changeset 15206:06946960c6cc

hash: Move AC_LIBOBJ invocations to module description. * m4/hash.m4: Remove file. * modules/hash (Files): Remove it. (configure.ac): Remove gl_HASH call. (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 00:02:09 +0200
parents 38c51bfbaa67
children e18f0a945257
files ChangeLog m4/hash.m4 modules/hash
diffstat 3 files changed, 9 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	hash: Move AC_LIBOBJ invocations to module description.
+	* m4/hash.m4: Remove file.
+	* modules/hash (Files): Remove it.
+	(configure.ac): Remove gl_HASH call.
+	(Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	hard-locale: Move AC_LIBOBJ invocations to module description.
deleted file mode 100644
--- a/m4/hash.m4
+++ /dev/null
@@ -1,11 +0,0 @@
-# hash.m4 serial 7
-dnl Copyright (C) 2002-2003, 2005-2006, 2009-2011 Free Software Foundation,
-dnl Inc.
-dnl This file is free software; the Free Software Foundation
-dnl gives unlimited permission to copy and/or distribute it,
-dnl with or without modifications, as long as this notice is preserved.
-
-AC_DEFUN([gl_HASH],
-[
-  AC_LIBOBJ([hash])
-])
--- a/modules/hash
+++ b/modules/hash
@@ -4,7 +4,6 @@
 Files:
 lib/hash.c
 lib/hash.h
-m4/hash.m4
 
 Depends-on:
 bitrotate
@@ -13,9 +12,9 @@
 xalloc-oversized
 
 configure.ac:
-gl_HASH
 
 Makefile.am:
+lib_SOURCES += hash.c
 
 Include:
 "hash.h"