Rename locale_.h to locale.in.h.
authorBruno Haible <bruno@clisp.org>
Mon, 1 Oct 2007 22:19:59 +0000 (00:19 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 1 Oct 2007 22:19:59 +0000 (00:19 +0200)
ChangeLog
lib/locale.in.h [new file with mode: 0644]
lib/locale_.h [deleted file]
modules/locale

index 55a654c..2bf9ffd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -31,6 +31,9 @@
        * lib/inttypes.in.h: Renamed from lib/inttypes_.h.
        * modules/inttypes (Files, Makefile.am): Use inttypes.in.h instead of
        inttypes_.h.
+       * lib/locale.in.h: Renamed from lib/locale_.h.
+       * modules/locale (Files, Makefile.am): Use locale.in.h instead of
+       locale_.h.
 
 2007-09-30  Bruno Haible  <bruno@clisp.org>
 
diff --git a/lib/locale.in.h b/lib/locale.in.h
new file mode 100644 (file)
index 0000000..0b4c578
--- /dev/null
@@ -0,0 +1,33 @@
+/* A POSIX <locale.h>.
+   Copyright (C) 2007 Free Software Foundation, Inc.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software Foundation,
+   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
+
+#ifndef _GL_LOCALE_H
+
+/* The include_next requires a split double-inclusion guard.  */
+#@INCLUDE_NEXT@ @NEXT_LOCALE_H@
+
+#ifndef _GL_LOCALE_H
+#define _GL_LOCALE_H
+
+/* The LC_MESSAGES locale category is specified in POSIX, but not in ISO C.
+   On systems that don't define it, use the same value as GNU libintl.  */
+#if !defined LC_MESSAGES
+# define LC_MESSAGES 1729
+#endif
+
+#endif /* _GL_LOCALE_H */
+#endif /* _GL_LOCALE_H */
diff --git a/lib/locale_.h b/lib/locale_.h
deleted file mode 100644 (file)
index 0b4c578..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-/* A POSIX <locale.h>.
-   Copyright (C) 2007 Free Software Foundation, Inc.
-
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 2, or (at your option)
-   any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program; if not, write to the Free Software Foundation,
-   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
-
-#ifndef _GL_LOCALE_H
-
-/* The include_next requires a split double-inclusion guard.  */
-#@INCLUDE_NEXT@ @NEXT_LOCALE_H@
-
-#ifndef _GL_LOCALE_H
-#define _GL_LOCALE_H
-
-/* The LC_MESSAGES locale category is specified in POSIX, but not in ISO C.
-   On systems that don't define it, use the same value as GNU libintl.  */
-#if !defined LC_MESSAGES
-# define LC_MESSAGES 1729
-#endif
-
-#endif /* _GL_LOCALE_H */
-#endif /* _GL_LOCALE_H */
index 099c4e8..d5c186c 100644 (file)
@@ -2,7 +2,7 @@ Description:
 A <locale.h> that conforms to POSIX.
 
 Files:
-lib/locale_.h
+lib/locale.in.h
 m4/locale_h.m4
 
 Depends-on:
@@ -16,12 +16,12 @@ BUILT_SOURCES += $(LOCALE_H)
 
 # We need the following in order to create <locale.h> when the system
 # doesn't have one that provides all definitions.
-locale.h: locale_.h
+locale.h: locale.in.h
        rm -f $@-t $@
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
          sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
              -e 's|@''NEXT_LOCALE_H''@|$(NEXT_LOCALE_H)|g' \
-             < $(srcdir)/locale_.h; \
+             < $(srcdir)/locale.in.h; \
        } > $@-t
        mv $@-t $@
 MOSTLYCLEANFILES += locale.h locale.h-t