changeset 15182:1ffbfb364335

check-version: Move AC_LIBOBJ invocations to module description. * m4/check-version.m4: Remove file. * modules/check-version (Files): Remove it. (configure.ac): Remove gl_CHECK_VERSION call. (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Mon, 23 May 2011 22:40:34 +0200
parents 16767f684368
children d0717f4cbc88
files ChangeLog m4/check-version.m4 modules/check-version
diffstat 3 files changed, 9 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	check-version: Move AC_LIBOBJ invocations to module description.
+	* m4/check-version.m4: Remove file.
+	* modules/check-version (Files): Remove it.
+	(configure.ac): Remove gl_CHECK_VERSION call.
+	(Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	chdir-safer: Move AC_LIBOBJ invocations to module description.
deleted file mode 100644
--- a/m4/check-version.m4
+++ /dev/null
@@ -1,10 +0,0 @@
-#serial 2
-dnl Copyright (C) 2005-2006, 2009-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,
-dnl with or without modifications, as long as this notice is preserved.
-
-AC_DEFUN([gl_CHECK_VERSION],
-[
-  AC_LIBOBJ([check-version])
-])
--- a/modules/check-version
+++ b/modules/check-version
@@ -2,7 +2,6 @@
 Check version string compatibility.
 
 Files:
-m4/check-version.m4
 lib/check-version.h
 lib/check-version.c
 
@@ -10,9 +9,9 @@
 strverscmp
 
 configure.ac:
-gl_CHECK_VERSION
 
 Makefile.am:
+lib_SOURCES += check-version.c
 
 Include:
 "check-version.h"