From 7281af20c49b769c3dc44c22c4e307ea57608b7c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 23 May 2011 22:43:51 +0200 Subject: [PATCH] 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. --- ChangeLog | 8 ++++++++ m4/cloexec.m4 | 10 ---------- modules/cloexec | 3 +-- 3 files changed, 9 insertions(+), 12 deletions(-) delete mode 100644 m4/cloexec.m4 diff --git a/ChangeLog b/ChangeLog index 887865510..db0fe196e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2011-05-23 Bruno Haible + 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 + 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 index c936f4388..000000000 --- a/m4/cloexec.m4 +++ /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]) -]) diff --git a/modules/cloexec b/modules/cloexec index 1267b7ff9..8e458bb16 100644 --- a/modules/cloexec +++ b/modules/cloexec @@ -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" -- 2.11.0