OSDN Git Service

2002-03-26 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Mar 2002 04:29:32 +0000 (04:29 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Mar 2002 04:29:32 +0000 (04:29 +0000)
* include/c/: Guard with _CPP_.
* include/c_std/: Same.
* include/Makefile.am: Fixup install, link routines for null
c_base_headers_extra scenarios.
* include/Makefile.in: Regerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51431 138bc75d-0d04-0410-961f-82ee72b054a4

35 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/c/std_cctype.h
libstdc++-v3/include/c/std_cerrno.h
libstdc++-v3/include/c/std_cfloat.h
libstdc++-v3/include/c/std_climits.h
libstdc++-v3/include/c/std_clocale.h
libstdc++-v3/include/c/std_cmath.h
libstdc++-v3/include/c/std_csetjmp.h
libstdc++-v3/include/c/std_csignal.h
libstdc++-v3/include/c/std_cstdarg.h
libstdc++-v3/include/c/std_cstddef.h
libstdc++-v3/include/c/std_cstdio.h
libstdc++-v3/include/c/std_cstdlib.h
libstdc++-v3/include/c/std_cstring.h
libstdc++-v3/include/c/std_ctime.h
libstdc++-v3/include/c/std_cwchar.h
libstdc++-v3/include/c/std_cwctype.h
libstdc++-v3/include/c_std/std_cctype.h
libstdc++-v3/include/c_std/std_cerrno.h
libstdc++-v3/include/c_std/std_cfloat.h
libstdc++-v3/include/c_std/std_climits.h
libstdc++-v3/include/c_std/std_clocale.h
libstdc++-v3/include/c_std/std_cmath.h
libstdc++-v3/include/c_std/std_csetjmp.h
libstdc++-v3/include/c_std/std_csignal.h
libstdc++-v3/include/c_std/std_cstdarg.h
libstdc++-v3/include/c_std/std_cstddef.h
libstdc++-v3/include/c_std/std_cstdio.h
libstdc++-v3/include/c_std/std_cstdlib.h
libstdc++-v3/include/c_std/std_cstring.h
libstdc++-v3/include/c_std/std_ctime.h
libstdc++-v3/include/c_std/std_cwchar.h
libstdc++-v3/include/c_std/std_cwctype.h

index 6a17493..4f06c2b 100644 (file)
@@ -1,3 +1,11 @@
+2002-03-26  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * include/c/: Guard with _CPP_.
+       * include/c_std/: Same.
+       * include/Makefile.am: Fixup install, link routines for null
+       c_base_headers_extra scenarios.
+       * include/Makefile.in: Regerate.
+       
 2002-03-25  Paolo Carlini <pcarlini@unitus.it>
             Richard Henderson  <rth@redhat.com>
 
index 725d20f..545582a 100644 (file)
@@ -324,7 +324,7 @@ stamp-bits: ${bits_headers}
        (cd ${bits_builddir} && @LN_S@ $? . || true) ;\
        echo `date` > stamp-bits
 
-stamp-c_base: ${c_base_headers} ${c_base_headers_extra}
+stamp-c_base: ${c_base_headers} ${c_base_headers_extra} 
        @if [ ! -d "${c_base_builddir}" ]; then \
          mkdir -p ${c_base_builddir} ;\
        fi ;\
@@ -332,7 +332,9 @@ stamp-c_base: ${c_base_headers} ${c_base_headers_extra}
          official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
          @LN_S@ $$h ./$${official_name} || true ;\
        done) ;\
-       (cd ${bits_builddir} && @LN_S@ ${c_base_headers_extra}  . || true) ;\
+       if [ ! -z "${c_base_headers_extra}" ]; then \
+         (cd ${bits_builddir} && @LN_S@ ${c_base_headers_extra}  . || true) ;\
+       fi ;\
        echo `date` > stamp-c_base
 
 stamp-backward: ${backward_headers}
@@ -434,8 +436,9 @@ install-data-local:
        for file in ${c_base_headers_rename}; do \
          $(INSTALL_DATA) ${c_base_builddir}/$${file} \
            ${gxx_include_dir}/${c_base_builddir}; done
-       for file in ${c_base_headers_extra}; do \
-         $(INSTALL_DATA) $${file} ${gxx_include_dir}/${bits_builddir}; done
+       c_base_headers_extra_install=${c_base_headers_extra};\
+       for file in $$c_base_headers_extra_install; do \
+         $(INSTALL_DATA) $$file ${gxx_include_dir}/${bits_builddir}; done
        $(INSTALL) -d ${gxx_include_dir}/${std_builddir}
        for file in ${std_headers_rename}; do \
          $(INSTALL_DATA) ${std_builddir}/$${file} \
index 13a4a95..f6a0e76 100644 (file)
@@ -569,7 +569,7 @@ stamp-bits: ${bits_headers}
        (cd ${bits_builddir} && @LN_S@ $? . || true) ;\
        echo `date` > stamp-bits
 
-stamp-c_base: ${c_base_headers} ${c_base_headers_extra}
+stamp-c_base: ${c_base_headers} ${c_base_headers_extra} 
        @if [ ! -d "${c_base_builddir}" ]; then \
          mkdir -p ${c_base_builddir} ;\
        fi ;\
@@ -577,7 +577,9 @@ stamp-c_base: ${c_base_headers} ${c_base_headers_extra}
          official_name=`echo $$h | sed -e 's,.*/std_,,' -e 's,\.h$$,,'` ;\
          @LN_S@ $$h ./$${official_name} || true ;\
        done) ;\
-       (cd ${bits_builddir} && @LN_S@ ${c_base_headers_extra}  . || true) ;\
+       if [ ! -z "${c_base_headers_extra}" ]; then \
+         (cd ${bits_builddir} && @LN_S@ ${c_base_headers_extra}  . || true) ;\
+       fi ;\
        echo `date` > stamp-c_base
 
 stamp-backward: ${backward_headers}
@@ -665,8 +667,9 @@ install-data-local:
        for file in ${c_base_headers_rename}; do \
          $(INSTALL_DATA) ${c_base_builddir}/$${file} \
            ${gxx_include_dir}/${c_base_builddir}; done
-       for file in ${c_base_headers_extra}; do \
-         $(INSTALL_DATA) $${file} ${gxx_include_dir}/${bits_builddir}; done
+       c_base_headers_extra_install=${c_base_headers_extra};\
+       for file in $$c_base_headers_extra_install; do \
+         $(INSTALL_DATA) $$file ${gxx_include_dir}/${bits_builddir}; done
        $(INSTALL) -d ${gxx_include_dir}/${std_builddir}
        for file in ${std_headers_rename}; do \
          $(INSTALL_DATA) ${std_builddir}/$${file} \
index 1271e07..9d84a3d 100644 (file)
@@ -31,8 +31,8 @@
 // ISO C++ 14882: <ccytpe>
 //
 
-#ifndef _CCTYPE
-#define _CCTYPE 1
+#ifndef _CPP_CCTYPE
+#define _CPP_CCTYPE 1
 
 #pragma GCC system_header
 
index dea3c0e..93ba868 100644 (file)
@@ -31,8 +31,8 @@
 // ISO C++ 14882: 19.3  Error numbers
 //
 
-#ifndef _CERRNO
-#define _CERRNO 1
+#ifndef _CPP_CERRNO
+#define _CPP_CERRNO 1
 
 #pragma GCC system_header
 
index bcdb5f7..9c95760 100644 (file)
@@ -31,8 +31,8 @@
 // ISO C++ 14882: 18.2.2  Implementation properties: C library
 //
 
-#ifndef _CFLOAT
-#define _CFLOAT 1
+#ifndef _CPP_CFLOAT
+#define _CPP_CFLOAT 1
 
 #pragma GCC system_header
 
index acfbe9b..9194cb9 100644 (file)
@@ -31,8 +31,8 @@
 // ISO C++ 14882: 18.2.2  Implementation properties: C library
 //
 
-#ifndef _CLIMITS
-#define _CLIMITS       1
+#ifndef _CPP_CLIMITS
+#define _CPP_CLIMITS   1
 
 #pragma GCC system_header
 
index 6ac30a7..b6b3c22 100644 (file)
@@ -31,8 +31,8 @@
 // ISO C++ 14882: 18.2.2  Implementation properties: C library
 //
 
-#ifndef _CLOCALE
-#define _CLOCALE 1
+#ifndef _CPP_CLOCALE
+#define _CPP_CLOCALE 1
 
 #pragma GCC system_header
 
index fb53a2d..33ac50b 100644 (file)
@@ -31,8 +31,8 @@
 // ISO C++ 14882: 26.5  C library
 //
 
-#ifndef _CMATH
-#define _CMATH 1
+#ifndef _CPP_CMATH
+#define _CPP_CMATH 1
  
 #pragma GCC system_header
 
index 7761660..011907b 100644 (file)
@@ -31,8 +31,8 @@
 // ISO C++ 14882: 20.4.6  C library
 //
 
-#ifndef _CSETJMP
-#define _CSETJMP 1
+#ifndef _CPP_CSETJMP
+#define _CPP_CSETJMP 1
 
 #pragma GCC system_header
 
index 6f2790c..09614e7 100644 (file)
@@ -31,8 +31,8 @@
 // ISO C++ 14882: 20.4.6  C library
 //
 
-#ifndef _CSIGNAL
-#define _CSIGNAL 1
+#ifndef _CPP_CSIGNAL
+#define _CPP_CSIGNAL 1
 
 #pragma GCC system_header
 
index b91c3c0..d2cb544 100644 (file)
@@ -31,8 +31,8 @@
 // ISO C++ 14882: 20.4.6  C library
 //
 
-#ifndef _CSTDARG
-#define _CSTDARG 1
+#ifndef _CPP_CSTDARG
+#define _CPP_CSTDARG 1
 
 #pragma GCC system_header
 
index 7502c04..da41736 100644 (file)
@@ -31,8 +31,8 @@
 // ISO C++ 14882: 18.1  Types
 //
 
-#ifndef _CSTDDEF
-#define _CSTDDEF 1
+#ifndef _CPP_CSTDDEF
+#define _CPP_CSTDDEF 1
 
 #pragma GCC system_header
 
index 32d1488..542b924 100644 (file)
@@ -31,8 +31,8 @@
 // ISO C++ 14882: 27.8.2  C Library files
 //
 
-#ifndef _CSTDIO
-#define _CSTDIO 1
+#ifndef _CPP_CSTDIO
+#define _CPP_CSTDIO 1
 
 #pragma GCC system_header
 
index 1c34b36..57ade0d 100644 (file)
@@ -31,8 +31,8 @@
 // ISO C++ 14882: 20.4.6  C library
 //
 
-#ifndef _CSTDLIB
-#define _CSTDLIB 1
+#ifndef _CPP_CSTDLIB
+#define _CPP_CSTDLIB 1
 
 #pragma GCC system_header
 
index e5c786d..656ff52 100644 (file)
@@ -31,8 +31,8 @@
 // ISO C++ 14882: 20.4.6  C library
 //
 
-#ifndef _CSTRING
-#define _CSTRING 1
+#ifndef _CPP_CSTRING
+#define _CPP_CSTRING 1
 
 #pragma GCC system_header
 
index 17d965a..ba9103e 100644 (file)
@@ -31,8 +31,8 @@
 // ISO C++ 14882: 20.5  Date and time
 //
 
-#ifndef _CTIME
-#define _CTIME 1
+#ifndef _CPP_CTIME
+#define _CPP_CTIME 1
 
 #pragma GCC system_header
 
index 92b53b0..f9dfbad 100644 (file)
@@ -31,8 +31,8 @@
 // ISO C++ 14882: 21.4
 //
 
-#ifndef _CWCHAR
-#define _CWCHAR 1
+#ifndef _CPP_CWCHAR
+#define _CPP_CWCHAR 1
 
 #pragma GCC system_header
 
index 53aa0d0..ef6b44b 100644 (file)
@@ -31,8 +31,8 @@
 // ISO C++ 14882: <cwctype>
 //
 
-#ifndef _CWCTYPE
-#define _CWCTYPE 1
+#ifndef _CPP_CWCTYPE
+#define _CPP_CWCTYPE 1
 
 #pragma GCC system_header
 
index c21ac9c..68bd182 100644 (file)
@@ -40,8 +40,8 @@
  *  contained in the namespace @c std.
  */
 
-#ifndef _CCTYPE
-#define _CCTYPE 1
+#ifndef _CPP_CCTYPE
+#define _CPP_CCTYPE 1
 
 #pragma GCC system_header
 
index b9a0743..7fcecd4 100644 (file)
@@ -40,8 +40,8 @@
  *  contained in the namespace @c std.
  */
 
-#ifndef _CERRNO
-#define _CERRNO 1
+#ifndef _CPP_CERRNO
+#define _CPP_CERRNO 1
 
 #pragma GCC system_header
 
index ab7283e..3cc8d72 100644 (file)
@@ -40,8 +40,8 @@
  *  contained in the namespace @c std.
  */
 
-#ifndef _CFLOAT
-#define _CFLOAT 1
+#ifndef _CPP_CFLOAT
+#define _CPP_CFLOAT 1
 
 #pragma GCC system_header
 
index 4e66dd8..242913e 100644 (file)
@@ -41,8 +41,8 @@
  *  contained in the namespace @c std.
  */
 
-#ifndef _CLIMITS
-#define _CLIMITS       1
+#ifndef _CPP_CLIMITS
+#define _CPP_CLIMITS   1
 
 #pragma GCC system_header
 
index c6a882b..66747d9 100644 (file)
@@ -41,8 +41,8 @@
  *  contained in the namespace @c std.
  */
 
-#ifndef _CLOCALE
-#define _CLOCALE 1
+#ifndef _CPP_CLOCALE
+#define _CPP_CLOCALE 1
 
 #pragma GCC system_header
 
index e804e72..e0fffea 100644 (file)
@@ -41,8 +41,8 @@
  *  contained in the namespace @c std.
  */
 
-#ifndef _CMATH
-#define _CMATH 1
+#ifndef _CPP_CMATH
+#define _CPP_CMATH 1
 
 #pragma GCC system_header
 
index c5b9119..f6df581 100644 (file)
@@ -41,8 +41,8 @@
  *  contained in the namespace @c std.
  */
 
-#ifndef _CSETJMP
-#define _CSETJMP 1
+#ifndef _CPP_CSETJMP
+#define _CPP_CSETJMP 1
 
 #pragma GCC system_header
 
index 8be03f0..1017161 100644 (file)
@@ -41,8 +41,8 @@
  *  contained in the namespace @c std.
  */
 
-#ifndef _CSIGNAL
-#define _CSIGNAL 1
+#ifndef _CPP_CSIGNAL
+#define _CPP_CSIGNAL 1
 
 #pragma GCC system_header
 
index 52979df..9383ade 100644 (file)
@@ -40,8 +40,8 @@
  *  contained in the namespace @c std.
  */
 
-#ifndef _CSTDARG
-#define _CSTDARG 1
+#ifndef _CPP_CSTDARG
+#define _CPP_CSTDARG 1
 
 #pragma GCC system_header
 
index b7e5610..7a740af 100644 (file)
@@ -40,8 +40,8 @@
  *  contained in the namespace @c std.
  */
 
-#ifndef _CSTDDEF
-#define _CSTDDEF 1
+#ifndef _CPP_CSTDDEF
+#define _CPP_CSTDDEF 1
 
 #pragma GCC system_header
 
index 3b7f32e..6fb8c79 100644 (file)
@@ -41,8 +41,8 @@
  *  contained in the namespace @c std.
  */
 
-#ifndef _CSTDIO
-#define _CSTDIO 1
+#ifndef _CPP_CSTDIO
+#define _CPP_CSTDIO 1
 
 #pragma GCC system_header
 
index f7168af..70fc8d3 100644 (file)
@@ -41,8 +41,8 @@
  *  contained in the namespace @c std.
  */
 
-#ifndef _CSTDLIB
-#define _CSTDLIB 1
+#ifndef _CPP_CSTDLIB
+#define _CPP_CSTDLIB 1
 
 #pragma GCC system_header
 
index 934e491..066342a 100644 (file)
@@ -41,8 +41,8 @@
  *  contained in the namespace @c std.
  */
 
-#ifndef _CSTRING
-#define _CSTRING 1
+#ifndef _CPP_CSTRING
+#define _CPP_CSTRING 1
 
 #pragma GCC system_header
 
index b7ed906..1b4c09b 100644 (file)
@@ -41,8 +41,8 @@
  *  contained in the namespace @c std.
  */
 
-#ifndef _CTIME
-#define _CTIME 1
+#ifndef _CPP_CTIME
+#define _CPP_CTIME 1
 
 #pragma GCC system_header
 
index 2e0bbb1..f67f006 100644 (file)
@@ -41,8 +41,8 @@
  *  contained in the namespace @c std.
  */
 
-#ifndef _CWCHAR
-#define _CWCHAR 1
+#ifndef _CPP_CWCHAR
+#define _CPP_CWCHAR 1
 
 #pragma GCC system_header
 
index c7c25ae..e469194 100644 (file)
@@ -41,8 +41,8 @@
  *  contained in the namespace @c std.
  */
 
-#ifndef _CWCTYPE
-#define _CWCTYPE 1
+#ifndef _CPP_CWCTYPE
+#define _CPP_CWCTYPE 1
 
 #pragma GCC system_header