xalloc: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Tue, 24 May 2011 00:27:22 +0000 (02:27 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:43 +0000 (00:07 +0200)
* m4/xalloc.m4 (gl_XALLOC): Remove AC_LIBOBJ invocation.
* modules/xalloc (Makefile.am): Augment lib_SOURCES.

ChangeLog
m4/xalloc.m4
modules/xalloc

index 4ebb396..c03e3de 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
+       xalloc: Move AC_LIBOBJ invocations to module description.
+       * m4/xalloc.m4 (gl_XALLOC): Remove AC_LIBOBJ invocation.
+       * modules/xalloc (Makefile.am): Augment lib_SOURCES.
+
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
        write-any-file: Move AC_LIBOBJ invocations to module description.
        * m4/write-any-file.m4 (gl_WRITE_ANY_FILE): Remove AC_LIBOBJ
        invocation.
index 4900820..2fca850 100644 (file)
@@ -1,4 +1,4 @@
-# xalloc.m4 serial 16
+# xalloc.m4 serial 17
 dnl Copyright (C) 2002-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,
@@ -6,8 +6,6 @@ dnl with or without modifications, as long as this notice is preserved.
 
 AC_DEFUN([gl_XALLOC],
 [
-  AC_LIBOBJ([xmalloc])
-
   gl_PREREQ_XALLOC
   gl_PREREQ_XMALLOC
 ])
index 0edcfc6..19e7a0b 100644 (file)
@@ -15,6 +15,7 @@ configure.ac:
 gl_XALLOC
 
 Makefile.am:
+lib_SOURCES += xmalloc.c
 
 Include:
 "xalloc.h"