changeset 15233:c1518e50c76f

safe-alloc: Move AC_LIBOBJ invocations to module description. * m4/safe-alloc.m4 (gl_SAFE_ALLOC): Remove AC_LIBOBJ invocation. * modules/safe-alloc (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 01:26:08 +0200
parents 1760605ebcdf
children 0966aa04021c
files ChangeLog m4/safe-alloc.m4 modules/safe-alloc
diffstat 3 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	safe-alloc: Move AC_LIBOBJ invocations to module description.
+	* m4/safe-alloc.m4 (gl_SAFE_ALLOC): Remove AC_LIBOBJ invocation.
+	* modules/safe-alloc (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	crypto/rijndael: Move AC_LIBOBJ invocations to module description.
--- a/m4/safe-alloc.m4
+++ b/m4/safe-alloc.m4
@@ -1,9 +1,10 @@
-# safe-alloc.m4 serial 1
+# safe-alloc.m4 serial 2
 dnl Copyright (C) 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_SAFE_ALLOC],
 [
-  AC_LIBOBJ([safe-alloc])
+  :
 ])
--- a/modules/safe-alloc
+++ b/modules/safe-alloc
@@ -10,6 +10,7 @@
 gl_SAFE_ALLOC
 
 Makefile.am:
+lib_SOURCES += safe-alloc.c
 
 Include:
 "safe-alloc.h"