changeset 15179:447e96feb793

canon-host: Move AC_LIBOBJ invocations to module description. * m4/canon-host.m4 (gl_CANON_HOST): Remove macro. * modules/canon-host (configure.ac): Invoke gl_PREREQ_CANON_HOST instead of gl_CANON_HOST. (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Mon, 23 May 2011 22:31:13 +0200
parents 5f6af8ca83f6
children 7d9297067a18
files ChangeLog m4/canon-host.m4 modules/canon-host
diffstat 3 files changed, 11 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	canon-host: Move AC_LIBOBJ invocations to module description.
+	* m4/canon-host.m4 (gl_CANON_HOST): Remove macro.
+	* modules/canon-host (configure.ac): Invoke gl_PREREQ_CANON_HOST
+	instead of gl_CANON_HOST.
+	(Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	backupfile: Move AC_LIBOBJ invocations to module description.
--- a/m4/canon-host.m4
+++ b/m4/canon-host.m4
@@ -1,15 +1,9 @@
-# canon-host.m4 serial 9
+# canon-host.m4 serial 10
 dnl Copyright (C) 2002-2007, 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_CANON_HOST],
-[
-  AC_LIBOBJ([canon-host])
-  gl_PREREQ_CANON_HOST
-])
-
 AC_DEFUN([gl_PREREQ_CANON_HOST], [
   :
 ])
--- a/modules/canon-host
+++ b/modules/canon-host
@@ -12,9 +12,10 @@
 strdup
 
 configure.ac:
-gl_CANON_HOST
+gl_PREREQ_CANON_HOST
 
 Makefile.am:
+lib_SOURCES += canon-host.c
 
 Include:
 "canon-host.h"