From aadf332a5c5f209affd38c35b4e9faaa8a0adecb Mon Sep 17 00:00:00 2001
From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Date: Sun, 17 Jan 2010 10:40:01 +0100
Subject: [PATCH] fts-lgpl: remove unused module

* modules/fts-lgpl: Remove.
* MODULES.html.sh (func_all_modules): Adjust.
* check-module (find_included_lib_files): Adjust.
* m4/fts.m4 (gl_FUNC_FTS_LGPL): Remove.

Signed-off-by: Eric Blake <eblake@redhat.com>
---
 ChangeLog        |  8 ++++++++
 MODULES.html.sh  |  1 -
 check-module     |  4 ----
 m4/fts.m4        |  7 +------
 modules/fts-lgpl | 28 ----------------------------
 5 files changed, 9 insertions(+), 39 deletions(-)
 delete mode 100644 modules/fts-lgpl

diff --git a/ChangeLog b/ChangeLog
index f6d7e6449a..12dc75cb92 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-03-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+	fts-lgpl: remove unused module
+	* modules/fts-lgpl: Remove.
+	* MODULES.html.sh (func_all_modules): Adjust.
+	* check-module (find_included_lib_files): Adjust.
+	* m4/fts.m4 (gl_FUNC_FTS_LGPL): Remove.
+
 2010-03-02  Ben Walton  <bwalton@artsci.utoronto.ca>  (tiny change)
 
 	copy-acl: enhance Solaris ACL error handling
diff --git a/MODULES.html.sh b/MODULES.html.sh
index 4c8cefae20..b3b9122643 100755
--- a/MODULES.html.sh
+++ b/MODULES.html.sh
@@ -2478,7 +2478,6 @@ func_all_modules ()
   func_module filenamecat
   func_module filenamecat-lgpl
   func_module fts
-  func_module fts-lgpl
   func_module isdir
   func_module lchmod
   func_module lchown
diff --git a/check-module b/check-module
index af42b1e40d..eaf00fba79 100755
--- a/check-module
+++ b/check-module
@@ -228,10 +228,6 @@ my %exempt_header =
    'lib/gc-gnulib.c:rijndael-api-fst.h' => 1,
    'lib/gc-gnulib.c:hmac.h' => 1,
    'lib/gc-libgcrypt.c:md2.h' => 1,
-
-   # The fts-lgpl module doesn't actually use fts-cycle.c and unistd-safer.h.
-   'lib/fts.c:fts-cycle.c' => 1,
-   'lib/fts.c:unistd-safer.h' => 1,
   );
 
 sub check_module ($)
diff --git a/m4/fts.m4 b/m4/fts.m4
index c40f085518..4a4a21e5e9 100644
--- a/m4/fts.m4
+++ b/m4/fts.m4
@@ -1,4 +1,4 @@
-#serial 17
+#serial 18
 dnl Copyright (C) 2005-2010 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -9,11 +9,6 @@ AC_DEFUN([gl_FUNC_FTS],
   gl_FUNC_FTS_CORE
 ])
 
-AC_DEFUN([gl_FUNC_FTS_LGPL],
-[
-  gl_FUNC_FTS_CORE
-])
-
 AC_DEFUN([gl_FUNC_FTS_CORE],
 [
   dnl Use this version of fts unconditionally, since the GNU libc and
diff --git a/modules/fts-lgpl b/modules/fts-lgpl
deleted file mode 100644
index 3a6f0ed046..0000000000
--- a/modules/fts-lgpl
+++ /dev/null
@@ -1,28 +0,0 @@
-Description:
-Traverse a file hierarchy (LPGL'ed version).
-
-Files:
-lib/fts_.h
-lib/fts.c
-m4/fts.m4
-
-Depends-on:
-dirfd
-fchdir
-i-ring
-openat
-stdbool
-
-configure.ac:
-gl_FUNC_FTS_LGPL
-
-Makefile.am:
-
-Include:
-"fts_.h"
-
-License:
-LGPL
-
-Maintainer:
-Jim Meyering
-- 
2.30.2