From d68bd41005aef39fe9e8b12f2363a9288758d651 Mon Sep 17 00:00:00 2001
From: Bruno Haible <bruno@clisp.org>
Date: Tue, 2 Oct 2007 00:16:21 +0200
Subject: [PATCH] Rename glob_.h to glob.in.h.

---
 ChangeLog                  | 5 +++++
 lib/{glob_.h => glob.in.h} | 2 +-
 modules/glob               | 6 +++---
 3 files changed, 9 insertions(+), 4 deletions(-)
 rename lib/{glob_.h => glob.in.h} (97%)

diff --git a/ChangeLog b/ChangeLog
index 1de03ba886..809e3be963 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -20,6 +20,11 @@
 	* lib/fnmatch.in.h: Renamed from lib/fnmatch_.h.
 	* modules/fnmatch (Files, Makefile.am): Use fnmatch.in.h instead of
 	fnmatch_.h.
+	* lib/getopt.in.h: Renamed from lib/getopt_.h.
+	* modules/getopt (Files, Makefile.am): Use getopt.in.h instead of
+	getopt_.h.
+	* lib/glob.in.h: Renamed from lib/glob_.h.
+	* modules/glob (Files, Makefile.am): Use glob.in.h instead of glob_.h.
 
 2007-09-30  Bruno Haible  <bruno@clisp.org>
 
diff --git a/lib/glob_.h b/lib/glob.in.h
similarity index 97%
rename from lib/glob_.h
rename to lib/glob.in.h
index 451b111e22..0589817808 100644
--- a/lib/glob_.h
+++ b/lib/glob.in.h
@@ -1,4 +1,4 @@
-/* glob_.h -- Find a path matching a pattern.
+/* glob.h -- Find a path matching a pattern.
 
    Copyright (C) 2005-2007 Free Software Foundation, Inc.
 
diff --git a/modules/glob b/modules/glob
index 31173e0732..aee245f942 100644
--- a/modules/glob
+++ b/modules/glob
@@ -3,7 +3,7 @@ glob() function: Search for files and directories with paths matching a
 pattern, with GNU extensions.
 
 Files:
-lib/glob_.h
+lib/glob.in.h
 lib/glob-libc.h
 lib/glob.c
 m4/glob.m4
@@ -29,10 +29,10 @@ BUILT_SOURCES += $(GLOB_H)
 
 # We need the following in order to create <glob.h> when the system
 # doesn't have one that works with the given compiler.
-glob.h: glob_.h
+glob.h: glob.in.h
 	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
 	  sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
-	      < $(srcdir)/glob_.h; \
+	      < $(srcdir)/glob.in.h; \
 	} > $@-t
 	mv -f $@-t $@
 MOSTLYCLEANFILES += glob.h glob.h-t
-- 
2.30.2