Commit 3e74d283 authored by Bruno Haible's avatar Bruno Haible

Rename string_.h to string.in.h.

parent 14689cee
......@@ -59,6 +59,10 @@
* lib/stdlib.in.h: Renamed from lib/stdlib_.h.
* modules/stdlib (Files, Makefile.am): Use stdlib.in.h instead of
stdlib_.h.
* lib/string.in.h: Renamed from lib/string_.h.
* modules/string (Files, Makefile.am): Use string.in.h instead of
string_.h.
* doc/gnulib-tool.texi (Initial import): Update.
2007-09-30 Bruno Haible <bruno@clisp.org>
......@@ -60,7 +60,7 @@ Module list with included dependencies:
File list:
lib/dummy.c
lib/strdup.c
lib/string_.h
lib/string.in.h
m4/absolute-header.m4
m4/extensions.m4
m4/gnulib-common.m4
......@@ -70,7 +70,7 @@ Creating directory ./lib
Creating directory ./m4
Copying file lib/dummy.c
Copying file lib/strdup.c
Copying file lib/string_.h
Copying file lib/string.in.h
Copying file m4/absolute-header.m4
Copying file m4/extensions.m4
Copying file m4/gnulib-common.m4
......
# mempcpy.m4 serial 8
# mempcpy.m4 serial 9
dnl Copyright (C) 2003, 2004, 2006, 2007 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,7 +9,7 @@ AC_DEFUN([gl_FUNC_MEMPCPY],
dnl Persuade glibc <string.h> to declare mempcpy().
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
dnl The mempcpy() declaration in lib/string_.h uses 'restrict'.
dnl The mempcpy() declaration in lib/string.in.h uses 'restrict'.
AC_REQUIRE([AC_C_RESTRICT])
AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
......
# stpcpy.m4 serial 5
# stpcpy.m4 serial 6
dnl Copyright (C) 2002, 2007 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,7 +9,7 @@ AC_DEFUN([gl_FUNC_STPCPY],
dnl Persuade glibc <string.h> to declare stpcpy().
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
dnl The stpcpy() declaration in lib/string_.h uses 'restrict'.
dnl The stpcpy() declaration in lib/string.in.h uses 'restrict'.
AC_REQUIRE([AC_C_RESTRICT])
AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
......
# stpncpy.m4 serial 8
# stpncpy.m4 serial 9
dnl Copyright (C) 2002-2003, 2005-2007 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,7 +9,7 @@ AC_DEFUN([gl_FUNC_STPNCPY],
dnl Persuade glibc <string.h> to declare stpncpy().
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
dnl The stpncpy() declaration in lib/string_.h uses 'restrict'.
dnl The stpncpy() declaration in lib/string.in.h uses 'restrict'.
AC_REQUIRE([AC_C_RESTRICT])
AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
......
# strsep.m4 serial 7
# strsep.m4 serial 8
dnl Copyright (C) 2002, 2003, 2004, 2007 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,7 +9,7 @@ AC_DEFUN([gl_FUNC_STRSEP],
dnl Persuade glibc <string.h> to declare strsep().
AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
dnl The strsep() declaration in lib/string_.h uses 'restrict'.
dnl The strsep() declaration in lib/string.in.h uses 'restrict'.
AC_REQUIRE([AC_C_RESTRICT])
AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
......
# strtok_r.m4 serial 6
# strtok_r.m4 serial 7
dnl Copyright (C) 2002, 2003, 2004, 2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
......@@ -6,7 +6,7 @@ dnl with or without modifications, as long as this notice is preserved.
AC_DEFUN([gl_FUNC_STRTOK_R],
[
dnl The strtok_r() declaration in lib/string_.h uses 'restrict'.
dnl The strtok_r() declaration in lib/string.in.h uses 'restrict'.
AC_REQUIRE([AC_C_RESTRICT])
AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS])
......
......@@ -2,7 +2,7 @@ Description:
A GNU-like <string.h>.
Files:
lib/string_.h
lib/string.in.h
m4/string_h.m4
Depends-on:
......@@ -18,7 +18,7 @@ BUILT_SOURCES += string.h
# We need the following in order to create <string.h> when the system
# doesn't have one that works with the given compiler.
string.h: string_.h
string.h: string.in.h
rm -f $@-t $@
{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' && \
sed -e 's/@''INCLUDE_NEXT''@/$(INCLUDE_NEXT)/g' \
......@@ -70,7 +70,7 @@ string.h: string_.h
-e 's|@''HAVE_DECL_STRERROR''@|$(HAVE_DECL_STRERROR)|g' \
-e 's|@''REPLACE_STRERROR''@|$(REPLACE_STRERROR)|g' \
-e '/definition of GL_LINK_WARNING/r $(LINK_WARNING_H)' \
< $(srcdir)/string_.h; \
< $(srcdir)/string.in.h; \
} > $@-t
mv $@-t $@
MOSTLYCLEANFILES += string.h string.h-t
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment