cloexec: Move AC_LIBOBJ invocations to module description.
authorBruno Haible <bruno@clisp.org>
Mon, 23 May 2011 20:43:51 +0000 (22:43 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 15 Jun 2011 22:07:19 +0000 (00:07 +0200)
* m4/cloexec.m4: Remove file.
* modules/cloexec (Files): Remove it.
(configure.ac): Remove gl_CLOEXEC call.
(Makefile.am): Augment lib_SOURCES.

ChangeLog
m4/cloexec.m4 [deleted file]
modules/cloexec

index 8878655..db0fe19 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2011-05-23  Bruno Haible  <bruno@clisp.org>
 
+       cloexec: Move AC_LIBOBJ invocations to module description.
+       * m4/cloexec.m4: Remove file.
+       * modules/cloexec (Files): Remove it.
+       (configure.ac): Remove gl_CLOEXEC call.
+       (Makefile.am): Augment lib_SOURCES.
+
+2011-05-23  Bruno Haible  <bruno@clisp.org>
+
        check-version: Move AC_LIBOBJ invocations to module description.
        * m4/check-version.m4: Remove file.
        * modules/check-version (Files): Remove it.
diff --git a/m4/cloexec.m4 b/m4/cloexec.m4
deleted file mode 100644 (file)
index c936f43..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#serial 6
-dnl Copyright (C) 2004-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_CLOEXEC],
-[
-  AC_LIBOBJ([cloexec])
-])
index 1267b7f..8e458bb 100644 (file)
@@ -4,7 +4,6 @@ Set or clear the close-on-exec descriptor flag.
 Files:
 lib/cloexec.c
 lib/cloexec.h
-m4/cloexec.m4
 
 Depends-on:
 dup2
@@ -12,10 +11,10 @@ fcntl
 stdbool
 
 configure.ac:
-gl_CLOEXEC
 gl_MODULE_INDICATOR_FOR_TESTS([cloexec])
 
 Makefile.am:
+lib_SOURCES += cloexec.c
 
 Include:
 "cloexec.h"