changeset 15247:fc0079effbc1

stdlib-safer: Move AC_LIBOBJ invocations to module description. * m4/stdlib-safer.m4: Remove file. * modules/stdlib-safer (Files): Remove m4/stdlib-safer.m4. (configure.ac): Remove gl_STDLIB_SAFER call. (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 02:00:29 +0200
parents bd3dbc3c91b9
children 83f1d4430d74
files ChangeLog m4/stdlib-safer.m4 modules/stdlib-safer
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>
+
+	stdlib-safer: Move AC_LIBOBJ invocations to module description.
+	* m4/stdlib-safer.m4: Remove file.
+	* modules/stdlib-safer (Files): Remove m4/stdlib-safer.m4.
+	(configure.ac): Remove gl_STDLIB_SAFER call.
+	(Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	tmpfile-safer: Move AC_LIBOBJ invocations to module description.
deleted file mode 100644
--- a/m4/stdlib-safer.m4
+++ /dev/null
@@ -1,10 +0,0 @@
-# stdlib-safer.m4 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_STDLIB_SAFER],
-[
-  AC_LIBOBJ([mkstemp-safer])
-])
--- a/modules/stdlib-safer
+++ b/modules/stdlib-safer
@@ -5,7 +5,6 @@
 lib/stdlib--.h
 lib/stdlib-safer.h
 lib/mkstemp-safer.c
-m4/stdlib-safer.m4
 
 Depends-on:
 fd-safer-flag
@@ -14,9 +13,9 @@
 unistd-safer
 
 configure.ac:
-gl_STDLIB_SAFER
 
 Makefile.am:
+lib_SOURCES += mkstemp-safer.c
 
 Include:
 "stdlib-safer.h"