changeset 15250:77079ed36606

unistd-safer: Move AC_LIBOBJ invocations to module description. * m4/unistd-safer.m4 (gl_UNISTD_SAFER): Remove AC_LIBOBJ invocations. * modules/unistd-safer (Makefile.am): Augment lib_SOURCES.
author Bruno Haible <bruno@clisp.org>
date Tue, 24 May 2011 02:15:00 +0200
parents 3dfa5c47791e
children 000ccc8b8dd1
files ChangeLog m4/unistd-safer.m4 modules/unistd-safer
diffstat 3 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
+	unistd-safer: Move AC_LIBOBJ invocations to module description.
+	* m4/unistd-safer.m4 (gl_UNISTD_SAFER): Remove AC_LIBOBJ invocations.
+	* modules/unistd-safer (Makefile.am): Augment lib_SOURCES.
+
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
 	tempname: Move AC_LIBOBJ invocations to module description.
--- a/m4/unistd-safer.m4
+++ b/m4/unistd-safer.m4
@@ -1,4 +1,4 @@
-#serial 8
+#serial 9
 dnl Copyright (C) 2002, 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,
@@ -7,7 +7,4 @@
 AC_DEFUN([gl_UNISTD_SAFER],
 [
   AC_CHECK_FUNCS_ONCE([pipe])
-  AC_LIBOBJ([dup-safer])
-  AC_LIBOBJ([fd-safer])
-  AC_LIBOBJ([pipe-safer])
 ])
--- a/modules/unistd-safer
+++ b/modules/unistd-safer
@@ -17,6 +17,7 @@
 gl_UNISTD_SAFER
 
 Makefile.am:
+lib_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
 
 Include:
 "unistd-safer.h"