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

ChangeLog
m4/unistd-safer.m4
modules/unistd-safer

index 90dec70..4e0249a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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.
        * m4/tempname.m4 (gl_FUNC_GEN_TEMPNAME): Remove AC_LIBOBJ invocation.
        * modules/tempname (Makefile.am): Augment lib_SOURCES.
index 00ff1bd..d11da00 100644 (file)
@@ -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 @@ dnl with or without modifications, as long as this notice is preserved.
 AC_DEFUN([gl_UNISTD_SAFER],
 [
   AC_CHECK_FUNCS_ONCE([pipe])
-  AC_LIBOBJ([dup-safer])
-  AC_LIBOBJ([fd-safer])
-  AC_LIBOBJ([pipe-safer])
 ])
index dfa5672..2d195ec 100644 (file)
@@ -17,6 +17,7 @@ configure.ac:
 gl_UNISTD_SAFER
 
 Makefile.am:
+lib_SOURCES += dup-safer.c fd-safer.c pipe-safer.c
 
 Include:
 "unistd-safer.h"