changeset 15225:cfdbe5c4e833

physmem: Move AC_LIBOBJ invocations to module description. * m4/physmem.m4 (gl_PHYSMEM): Remove AC_LIBOBJ invocation. * modules/physmem (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 01:02:05 +0200
parents 861d1dfbf37b
children 078604683965
files ChangeLog m4/physmem.m4 modules/physmem
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>
+
+	physmem: Move AC_LIBOBJ invocations to module description.
+	* m4/physmem.m4 (gl_PHYSMEM): Remove AC_LIBOBJ invocation.
+	* modules/physmem (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	pagealign_alloc: Move AC_LIBOBJ invocations to module description.
--- a/m4/physmem.m4
+++ b/m4/physmem.m4
@@ -1,4 +1,4 @@
-# physmem.m4 serial 10
+# physmem.m4 serial 11
 dnl Copyright (C) 2002-2003, 2005-2006, 2008-2011 Free Software Foundation,
 dnl Inc.
 dnl This file is free software; the Free Software Foundation
@@ -28,8 +28,6 @@
 
 AC_DEFUN([gl_PHYSMEM],
 [
-  AC_LIBOBJ([physmem])
-
   # Prerequisites of lib/physmem.c.
   AC_CHECK_HEADERS([sys/pstat.h sys/sysmp.h sys/sysinfo.h \
     machine/hal_sysinfo.h sys/table.h sys/param.h sys/systemcfg.h],,,
--- a/modules/physmem
+++ b/modules/physmem
@@ -12,6 +12,7 @@
 gl_PHYSMEM
 
 Makefile.am:
+lib_SOURCES += physmem.c
 
 Include:
 "physmem.h"