acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for signbit and __signbit directly.

2002-03-22  Benjamin Kosnik  <bkoz@redhat.com>

	* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
	signbit and __signbit directly.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config.h.in: Regenerate.
	* libmath/Makefile.am: Simplify.
	* libmath/Makefile.in: Regenerate.
	* include/c_std/std_cmath.h: Update paths for include of cmath.tcc.

	* include/Makefile.am: Clean up handling of extra "C" header files.
	Add hooks for "C" compatibility headers.
	* include/Makefile.in: Regenerate.

	* include/c/*: Formatting tweaks, cleanups.
	* include/c_std/*: Same.

From-SVN: r51220
This commit is contained in:
Benjamin Kosnik 2002-03-23 03:19:03 +00:00 committed by Benjamin Kosnik
parent ea9264e9a2
commit 34ff0b99c1
51 changed files with 2637 additions and 1836 deletions

View File

@ -1,3 +1,21 @@
2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_COMPLEX_MATH_SUPP): Just test for
signbit and __signbit directly.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
* libmath/Makefile.am: Simplify.
* libmath/Makefile.in: Regenerate.
* include/c_std/std_cmath.h: Update paths for include of cmath.tcc.
* include/Makefile.am: Clean up handling of extra "C" header files.
Add hooks for "C" compatibility headers.
* include/Makefile.in: Regenerate.
* include/c/*: Formatting tweaks, cleanups.
* include/c_std/*: Same.
2002-03-22 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/gnu/messages_members.h: Add __uselocale bits.

View File

@ -127,7 +127,6 @@ SECTION_FLAGS = @SECTION_FLAGS@
SECTION_LDFLAGS = @SECTION_LDFLAGS@
STRIP = @STRIP@
TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@
VERSION = @VERSION@

View File

@ -757,6 +757,7 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [
GLIBCPP_CHECK_MATH_DECLS_AND_LINKAGES_1(float round,
float_round,
ceilf floorf)
GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(expf)
GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(isnanf)
GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(isinff)
GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(atan2f)
@ -843,17 +844,19 @@ AC_DEFUN(GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT, [
AC_CHECK_LIB(m, main)
AC_REPLACE_MATHFUNCS(nan copysignf)
dnl For __signbit to signbit conversions.
AC_CHECK_FUNCS([__signbit], , [LIBMATHOBJS="$LIBMATHOBJS signbit.lo"])
AC_CHECK_FUNCS([__signbitf], , [LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"])
dnl Compile the long double complex functions only if the function
dnl provides the non-complex long double functions that are needed.
dnl Currently this includes copysignl, which should be
dnl cached from the GLIBCPP_CHECK_MATH_SUPPORT macro, above.
USE_COMPLEX_LONG_DOUBLE=no
if test x$ac_cv_func_copysignl = x"yes"; then
USE_COMPLEX_LONG_DOUBLE=yes
AC_REPLACE_MATHFUNCS(signbitl)
AC_CHECK_FUNCS([__signbitl], , [LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"])
fi
AC_SUBST(USE_COMPLEX_LONG_DOUBLE)
AC_SUBST(LIBMATHOBJS)
])
@ -1686,7 +1689,6 @@ changequote([, ])
c_shadow)
CSHADOW_FLAGS="-fno-builtin"
C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
AC_DEFINE(_GLIBCPP_USE_SHADOW_HEADERS)
;;
c_std)
CSHADOW_FLAGS=""
@ -1700,7 +1702,8 @@ changequote([, ])
AC_SUBST(CSHADOW_FLAGS)
AC_SUBST(C_INCLUDE_DIR)
AM_CONDITIONAL(GLIBCPP_USE_CSHADOW, test "$enable_cheaders" = c_shadow)
AM_CONDITIONAL(GLIBCPP_C_HEADERS_C, test "$enable_cheaders" = c)
AM_CONDITIONAL(GLIBCPP_C_HEADERS_C_STD, test "$enable_cheaders" = c_std)
])
@ -1888,10 +1891,7 @@ AC_SUBST(glibcpp_toolexeclibdir)
dnl AC_REPLACE_MATHFUNCS(FUNCTION...)
AC_DEFUN(AC_REPLACE_MATHFUNCS,
[AC_CHECK_FUNCS([$1], , [LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"])
AC_SUBST(LIBMATHOBJS)dnl
])
[AC_CHECK_FUNCS([$1], , [LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"])])
dnl This macro searches for a GNU version of make. If a match is found, the

View File

@ -769,6 +769,7 @@ AC_DEFUN(GLIBCPP_CHECK_MATH_SUPPORT, [
GLIBCPP_CHECK_MATH_DECLS_AND_LINKAGES_1(float round,
float_round,
ceilf floorf)
GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(expf)
GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(isnanf)
GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1(isinff)
GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2(atan2f)
@ -855,17 +856,19 @@ AC_DEFUN(GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT, [
AC_CHECK_LIB(m, main)
AC_REPLACE_MATHFUNCS(nan copysignf)
dnl For __signbit to signbit conversions.
AC_CHECK_FUNCS([__signbit], , [LIBMATHOBJS="$LIBMATHOBJS signbit.lo"])
AC_CHECK_FUNCS([__signbitf], , [LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"])
dnl Compile the long double complex functions only if the function
dnl provides the non-complex long double functions that are needed.
dnl Currently this includes copysignl, which should be
dnl cached from the GLIBCPP_CHECK_MATH_SUPPORT macro, above.
USE_COMPLEX_LONG_DOUBLE=no
if test x$ac_cv_func_copysignl = x"yes"; then
USE_COMPLEX_LONG_DOUBLE=yes
AC_REPLACE_MATHFUNCS(signbitl)
AC_CHECK_FUNCS([__signbitl], , [LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"])
fi
AC_SUBST(USE_COMPLEX_LONG_DOUBLE)
AC_SUBST(LIBMATHOBJS)
])
@ -1698,7 +1701,6 @@ changequote([, ])
c_shadow)
CSHADOW_FLAGS="-fno-builtin"
C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
AC_DEFINE(_GLIBCPP_USE_SHADOW_HEADERS)
;;
c_std)
CSHADOW_FLAGS=""
@ -1712,7 +1714,8 @@ changequote([, ])
AC_SUBST(CSHADOW_FLAGS)
AC_SUBST(C_INCLUDE_DIR)
AM_CONDITIONAL(GLIBCPP_USE_CSHADOW, test "$enable_cheaders" = c_shadow)
AM_CONDITIONAL(GLIBCPP_C_HEADERS_C, test "$enable_cheaders" = c)
AM_CONDITIONAL(GLIBCPP_C_HEADERS_C_STD, test "$enable_cheaders" = c_std)
])
@ -1900,10 +1903,7 @@ AC_SUBST(glibcpp_toolexeclibdir)
dnl AC_REPLACE_MATHFUNCS(FUNCTION...)
AC_DEFUN(AC_REPLACE_MATHFUNCS,
[AC_CHECK_FUNCS([$1], , [LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"])
AC_SUBST(LIBMATHOBJS)dnl
])
[AC_CHECK_FUNCS([$1], , [LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"])])
dnl This macro searches for a GNU version of make. If a match is found, the

View File

@ -3,9 +3,6 @@
/* Define if you have a working `mmap' system call. */
#undef HAVE_MMAP
/* Define if you need to in order for stat and other things to work. */
#undef _POSIX_SOURCE
// Define if GCC supports weak symbols.
#undef _GLIBCPP_SUPPORTS_WEAK
@ -18,9 +15,6 @@
// Define if C99 features such as lldiv_t, llabs, lldiv should be exposed.
#undef _GLIBCPP_USE_C99
// Include support for shadow headers, ie --enable-cshadow-headers.
#undef _GLIBCPP_USE_SHADOW_HEADERS
// Define if code specialized for wchar_t should be used.
#undef _GLIBCPP_USE_WCHAR_T
@ -96,6 +90,15 @@
// Define if LC_MESSAGES is available in <locale.h>.
#undef HAVE_LC_MESSAGES
/* Define if you have the __signbit function. */
#undef HAVE___SIGNBIT
/* Define if you have the __signbitf function. */
#undef HAVE___SIGNBITF
/* Define if you have the __signbitl function. */
#undef HAVE___SIGNBITL
/* Define if you have the _acosf function. */
#undef HAVE__ACOSF
@ -144,6 +147,9 @@
/* Define if you have the _cosl function. */
#undef HAVE__COSL
/* Define if you have the _expf function. */
#undef HAVE__EXPF
/* Define if you have the _expl function. */
#undef HAVE__EXPL
@ -339,6 +345,9 @@
/* Define if you have the drand48 function. */
#undef HAVE_DRAND48
/* Define if you have the expf function. */
#undef HAVE_EXPF
/* Define if you have the expl function. */
#undef HAVE_EXPL
@ -504,9 +513,6 @@
/* Define if you have the setenv function. */
#undef HAVE_SETENV
/* Define if you have the signbitl function. */
#undef HAVE_SIGNBITL
/* Define if you have the sincos function. */
#undef HAVE_SINCOS
@ -702,6 +708,9 @@
/* Define if you have the <nan.h> header file. */
#undef HAVE_NAN_H
/* Define if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define if you have the <sys/isa_defs.h> header file. */
#undef HAVE_SYS_ISA_DEFS_H
@ -711,6 +720,9 @@
/* Define if you have the <sys/resource.h> header file. */
#undef HAVE_SYS_RESOURCE_H
/* Define if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H

3981
libstdc++-v3/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -179,9 +179,6 @@ c_base_headers = \
${c_base_srcdir}/std_ctime.h \
${c_base_srcdir}/std_cwchar.h \
${c_base_srcdir}/std_cwctype.h
# Some of the "C" headers need extra files.
c_base_headers_extra = \
${c_base_srcdir}/cmath.tcc
c_base_headers_rename = \
cassert \
cctype \
@ -202,6 +199,15 @@ c_base_headers_rename = \
cwchar \
cwctype
# Some of the different "C" header models need extra files.
# For --enable-cheaders=c_std
if GLIBCPP_C_HEADERS_C_STD
c_base_headers_extra = \
${c_base_srcdir}/cmath.tcc
else
c_base_headers_extra =
endif
std_srcdir = ${glibcpp_srcdir}/include/std
std_builddir = .
std_headers = \
@ -326,7 +332,7 @@ 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 ${c_base_builddir} && @LN_S@ ${c_base_headers_extra} . || true) ;\
(cd ${bits_builddir} && @LN_S@ ${c_base_headers_extra} . || true) ;\
echo `date` > stamp-c_base
stamp-backward: ${backward_headers}
@ -429,7 +435,7 @@ install-data-local:
$(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}/${c_base_builddir}; done
$(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} \

View File

@ -126,7 +126,6 @@ SECTION_FLAGS = @SECTION_FLAGS@
SECTION_LDFLAGS = @SECTION_LDFLAGS@
STRIP = @STRIP@
TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
@ -310,10 +309,6 @@ c_base_headers = \
${c_base_srcdir}/std_cwchar.h \
${c_base_srcdir}/std_cwctype.h
# Some of the "C" headers need extra files.
c_base_headers_extra = \
${c_base_srcdir}/cmath.tcc
c_base_headers_rename = \
cassert \
cctype \
@ -334,6 +329,9 @@ c_base_headers_rename = \
cwchar \
cwctype
@GLIBCPP_C_HEADERS_C_STD_TRUE@c_base_headers_extra = @GLIBCPP_C_HEADERS_C_STD_TRUE@\
@GLIBCPP_C_HEADERS_C_STD_TRUE@ ${c_base_srcdir}/cmath.tcc
@GLIBCPP_C_HEADERS_C_STD_FALSE@c_base_headers_extra =
std_srcdir = ${glibcpp_srcdir}/include/std
std_builddir = .
@ -579,7 +577,7 @@ 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 ${c_base_builddir} && @LN_S@ ${c_base_headers_extra} . || true) ;\
(cd ${bits_builddir} && @LN_S@ ${c_base_headers_extra} . || true) ;\
echo `date` > stamp-c_base
stamp-backward: ${backward_headers}
@ -668,7 +666,7 @@ install-data-local:
$(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}/${c_base_builddir}; done
$(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} \

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -31,9 +31,8 @@
// ISO C++ 14882: 19.2 Assertions
//
// Note: This is not a conforming implementation.
// No include guards on this header...
#pragma GCC system_header
#include <assert.h>
#include_next <assert.h>

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -31,12 +31,11 @@
// ISO C++ 14882: <ccytpe>
//
// Note: This is not a conforming implementation.
#ifndef _CPP_CCTYPE
#define _CPP_CCTYPE 1
#ifndef _CCTYPE
#define _CCTYPE 1
#pragma GCC system_header
#include <ctype.h>
#include_next <ctype.h>
#endif

View File

@ -1,6 +1,6 @@
// The -*- C++ -*- error number header.
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -31,12 +31,11 @@
// ISO C++ 14882: 19.3 Error numbers
//
// Note: This is not a conforming implementation.
#ifndef _CPP_CERRNO
#define _CPP_CERRNO 1
#ifndef _CERRNO
#define _CERRNO 1
#pragma GCC system_header
#include <errno.h>
#include_next <errno.h>
#endif

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -31,12 +31,11 @@
// ISO C++ 14882: 18.2.2 Implementation properties: C library
//
// Note: This is not a conforming implementation.
#ifndef _CPP_CFLOAT
#define _CPP_CFLOAT 1
#ifndef _CFLOAT
#define _CFLOAT 1
#pragma GCC system_header
#include <float.h>
#include_next <float.h>
#endif

View File

@ -1,6 +1,6 @@
// -*- C++ -*- std header.
// -*- C++ -*- forwarding header.
// Copyright (C) 2001 Free Software Foundation, Inc.
// Copyright (C) 2001, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -28,11 +28,10 @@
// the GNU General Public License.
/** @file ciso646
* This is a Standard C++ Library file. You should @c #include this file
* This is a Standard C++ Library file. You should @c #include_next this file
* in your programs, rather than any of the "st[dl]_*.h" implementation files.
*
* This is the C++ version of the Standard C Library header @c iso646.h,
* and its contents are (mostly) the same as that header, but are all
* contained in the namespace @c std.
*/

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -31,12 +31,11 @@
// ISO C++ 14882: 18.2.2 Implementation properties: C library
//
// Note: This is not a conforming implementation.
#ifndef _CPP_CLIMITS
#define _CPP_CLIMITS 1
#ifndef _CLIMITS
#define _CLIMITS 1
#pragma GCC system_header
#include <limits.h>
#include_next <limits.h>
#endif

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -31,12 +31,11 @@
// ISO C++ 14882: 18.2.2 Implementation properties: C library
//
// Note: This is not a conforming implementation.
#ifndef _CPP_CLOCALE
#define _CPP_CLOCALE 1
#ifndef _CLOCALE
#define _CLOCALE 1
#pragma GCC system_header
#include <locale.h>
#include_next <locale.h>
#endif

View File

@ -1,6 +1,6 @@
// -*- C++ -*- C math library.
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -31,12 +31,11 @@
// ISO C++ 14882: 26.5 C library
//
// Note: This is not a conforming implementation.
#ifndef _CPP_CMATH
#define _CPP_CMATH 1
#ifndef _CMATH
#define _CMATH 1
#pragma GCC system_header
#include <math.h>
#include_next <math.h>
#endif

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -31,12 +31,11 @@
// ISO C++ 14882: 20.4.6 C library
//
// Note: This is not a conforming implementation.
#ifndef _CPP_CSETJMP
#define _CPP_CSETJMP 1
#ifndef _CSETJMP
#define _CSETJMP 1
#pragma GCC system_header
#include <setjmp.h>
#include_next <setjmp.h>
#endif

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -31,12 +31,11 @@
// ISO C++ 14882: 20.4.6 C library
//
// Note: This is not a conforming implementation.
#ifndef _CPP_CSIGNAL
#define _CPP_CSIGNAL 1
#ifndef _CSIGNAL
#define _CSIGNAL 1
#pragma GCC system_header
#include <signal.h>
#include_next <signal.h>
#endif

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -31,12 +31,11 @@
// ISO C++ 14882: 20.4.6 C library
//
// Note: This is not a conforming implementation.
#ifndef _CPP_CSTDARG
#define _CPP_CSTDARG 1
#ifndef _CSTDARG
#define _CSTDARG 1
#pragma GCC system_header
#include <stdarg.h>
#include_next <stdarg.h>
#endif

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -31,12 +31,11 @@
// ISO C++ 14882: 18.1 Types
//
// Note: This is not a conforming implementation.
#ifndef _CPP_CSTDDEF
#define _CPP_CSTDDEF 1
#ifndef _CSTDDEF
#define _CSTDDEF 1
#pragma GCC system_header
#include <stddef.h>
#include_next <stddef.h>
#endif

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -31,12 +31,11 @@
// ISO C++ 14882: 27.8.2 C Library files
//
// Note: This is not a conforming implementation.
#ifndef _CPP_CSTDIO
#define _CPP_CSTDIO 1
#ifndef _CSTDIO
#define _CSTDIO 1
#pragma GCC system_header
#include <stdio.h>
#include_next <stdio.h>
#endif

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -31,12 +31,11 @@
// ISO C++ 14882: 20.4.6 C library
//
// Note: This is not a conforming implementation.
#ifndef _CPP_CSTDLIB
#define _CPP_CSTDLIB 1
#ifndef _CSTDLIB
#define _CSTDLIB 1
#pragma GCC system_header
#include <stdlib.h>
#include_next <stdlib.h>
#endif

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -31,12 +31,11 @@
// ISO C++ 14882: 20.4.6 C library
//
// Note: This is not a conforming implementation.
#ifndef _CPP_CSTRING
#define _CPP_CSTRING 1
#ifndef _CSTRING
#define _CSTRING 1
#pragma GCC system_header
#include <string.h>
#include_next <string.h>
#endif

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -31,12 +31,11 @@
// ISO C++ 14882: 20.5 Date and time
//
// Note: This is not a conforming implementation.
#ifndef _CPP_CTIME
#define _CPP_CTIME 1
#ifndef _CTIME
#define _CTIME 1
#pragma GCC system_header
#include <time.h>
#include_next <time.h>
#endif

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -28,15 +28,14 @@
// the GNU General Public License.
//
// ISO C++ 14882: ???
// ISO C++ 14882: 21.4
//
// Note: This is not a conforming implementation.
#ifndef _CPP_CWCHAR
#define _CPP_CWCHAR 1
#ifndef _CWCHAR
#define _CWCHAR 1
#pragma GCC system_header
#include <wchar.h>
#include_next <wchar.h>
#endif

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 2000 Free Software Foundation, Inc.
// Copyright (C) 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -31,12 +31,11 @@
// ISO C++ 14882: <cwctype>
//
// Note: This is not a conforming implementation.
#ifndef _CPP_CWCTYPE
#define _CPP_CWCTYPE 1
#ifndef _CWCTYPE
#define _CWCTYPE 1
#pragma GCC system_header
#include <wctype.h>
#include_next <wctype.h>
#endif

View File

@ -1,6 +1,7 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -43,6 +44,5 @@
// No include guards on this header...
#pragma GCC system_header
#include <assert.h>

View File

@ -40,10 +40,11 @@
* contained in the namespace @c std.
*/
#ifndef _CPP_CCTYPE
#define _CPP_CCTYPE 1
#ifndef _CCTYPE
#define _CCTYPE 1
#pragma GCC system_header
#include <ctype.h>
// Get rid of those macros defined in <ctype.h> in lieu of real functions.

View File

@ -1,6 +1,6 @@
// The -*- C++ -*- error number header.
// The -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
// Copyright (C) 1997, 1998, 1999, 2001, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -40,10 +40,11 @@
* contained in the namespace @c std.
*/
#ifndef _CPP_CERRNO
#define _CPP_CERRNO 1
#ifndef _CERRNO
#define _CERRNO 1
#pragma GCC system_header
#include <errno.h>
// Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
// Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -40,10 +40,11 @@
* contained in the namespace @c std.
*/
#ifndef _CPP_CFLOAT
#define _CPP_CFLOAT 1
#ifndef _CFLOAT
#define _CFLOAT 1
#pragma GCC system_header
#include <float.h>
#endif

View File

@ -1,4 +1,4 @@
// -*- C++ -*- std header.
// -*- C++ -*- forwarding header.
// Copyright (C) 2001 Free Software Foundation, Inc.
//
@ -35,4 +35,3 @@
* and its contents are (mostly) the same as that header, but are all
* contained in the namespace @c std.
*/

View File

@ -1,6 +1,7 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
// Copyright (C) 1997, 1998, 1999, 2000, 2002
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -40,10 +41,11 @@
* contained in the namespace @c std.
*/
#ifndef _CPP_CLIMITS
#define _CPP_CLIMITS 1
#ifndef _CLIMITS
#define _CLIMITS 1
#pragma GCC system_header
#include <limits.h>
#endif

View File

@ -1,6 +1,7 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -40,10 +41,11 @@
* contained in the namespace @c std.
*/
#ifndef _CPP_CLOCALE
#define _CPP_CLOCALE 1
#ifndef _CLOCALE
#define _CLOCALE 1
#pragma GCC system_header
#include <locale.h>
// Get rid of those macros defined in <locale.h> in lieu of real functions.

View File

@ -1,6 +1,7 @@
// -*- C++ -*- C math library.
// -*- C++ -*- C forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -40,12 +41,13 @@
* contained in the namespace @c std.
*/
#ifndef _CPP_CMATH
#define _CPP_CMATH 1
#ifndef _CMATH
#define _CMATH 1
#pragma GCC system_header
#include <bits/c++config.h>
#pragma GCC system_header
#include <math.h>
// Get rid of those macros defined in <math.h> in lieu of real functions.
@ -656,10 +658,7 @@ namespace std
#ifdef _GLIBCPP_NO_TEMPLATE_EXPORT
# define export
# include <cmath.tcc>
# include <bits/cmath.tcc>
#endif
#endif

View File

@ -1,6 +1,7 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -40,10 +41,11 @@
* contained in the namespace @c std.
*/
#ifndef _CPP_CSETJMP
#define _CPP_CSETJMP 1
#ifndef _CSETJMP
#define _CSETJMP 1
#pragma GCC system_header
#include <setjmp.h>
// Get rid of those macros defined in <setjmp.h> in lieu of real functions.

View File

@ -1,6 +1,7 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -40,10 +41,11 @@
* contained in the namespace @c std.
*/
#ifndef _CPP_CSIGNAL
#define _CPP_CSIGNAL 1
#ifndef _CSIGNAL
#define _CSIGNAL 1
#pragma GCC system_header
#include <signal.h>
// Get rid of those macros defined in <signal.h> in lieu of real functions.

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
// Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -40,10 +40,11 @@
* contained in the namespace @c std.
*/
#ifndef _CPP_CSTDARG
#define _CPP_CSTDARG 1
#ifndef _CSTDARG
#define _CSTDARG 1
#pragma GCC system_header
#include <stdarg.h>
// Adhere to section 17.4.1.2 clause 5 of ISO 14882:1998

View File

@ -1,6 +1,6 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
// Copyright (C) 1997, 1998, 1999, 2000, 2002 Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -40,10 +40,11 @@
* contained in the namespace @c std.
*/
#ifndef _CPP_CSTDDEF
#define _CPP_CSTDDEF 1
#ifndef _CSTDDEF
#define _CSTDDEF 1
#pragma GCC system_header
#include <stddef.h>
namespace std

View File

@ -1,6 +1,7 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -40,13 +41,14 @@
* contained in the namespace @c std.
*/
#ifndef _CPP_CSTDIO
#define _CPP_CSTDIO 1
#ifndef _CSTDIO
#define _CSTDIO 1
#pragma GCC system_header
#include <bits/c++config.h>
#include <cstddef>
#pragma GCC system_header
#include <stdio.h>
// Get rid of those macros defined in <stdio.h> in lieu of real functions.

View File

@ -1,6 +1,7 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -40,13 +41,14 @@
* contained in the namespace @c std.
*/
#ifndef _CPP_CSTDLIB
#define _CPP_CSTDLIB 1
#ifndef _CSTDLIB
#define _CSTDLIB 1
#pragma GCC system_header
#include <bits/c++config.h>
#include <cstddef>
#pragma GCC system_header
#include <stdlib.h>
// Get rid of those macros defined in <stdlib.h> in lieu of real functions.

View File

@ -1,6 +1,7 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -40,12 +41,13 @@
* contained in the namespace @c std.
*/
#ifndef _CPP_CSTRING
#define _CPP_CSTRING 1
#ifndef _CSTRING
#define _CSTRING 1
#pragma GCC system_header
#include <cstddef>
#pragma GCC system_header
#include <string.h>
// Get rid of those macros defined in <string.h> in lieu of real functions.

View File

@ -1,6 +1,7 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -40,12 +41,13 @@
* contained in the namespace @c std.
*/
#ifndef _CPP_CTIME
#define _CPP_CTIME 1
#ifndef _CTIME
#define _CTIME 1
#pragma GCC system_header
#include <cstddef>
#pragma GCC system_header
#include <time.h>
// Get rid of those macros defined in <time.h> in lieu of real functions.

View File

@ -1,6 +1,7 @@
// -*- C++ -*- forwarding header.
// Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
// Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002
// Free Software Foundation, Inc.
//
// This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the
@ -40,15 +41,16 @@
* contained in the namespace @c std.
*/
#ifndef _CPP_CWCHAR
#define _CPP_CWCHAR 1
#ifndef _CWCHAR
#define _CWCHAR 1
#pragma GCC system_header
#include <bits/c++config.h>
#include <cstddef>
#include <ctime>
#if _GLIBCPP_HAVE_WCHAR_H
#pragma GCC system_header
#include <wchar.h>
#endif

View File

@ -41,13 +41,14 @@
* contained in the namespace @c std.
*/
#ifndef _CPP_CWCTYPE
#define _CPP_CWCTYPE 1
#ifndef _CWCTYPE
#define _CWCTYPE 1
#pragma GCC system_header
#include <bits/c++config.h>
#if _GLIBCPP_HAVE_WCTYPE_H
#pragma GCC system_header
#include <wctype.h>
#endif

View File

@ -124,7 +124,6 @@ RANLIB = @RANLIB@
SECTION_FLAGS = @SECTION_FLAGS@
SECTION_LDFLAGS = @SECTION_LDFLAGS@
STRIP = @STRIP@
USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@
VERSION = @VERSION@

View File

@ -28,17 +28,11 @@ mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
noinst_LTLIBRARIES = libmath.la
EXTRA_LONG_DOUBLE_yes = signbitl.c
EXTRA_DIST = $(EXTRA_LONG_DOUBLE_yes)
libmath_la_LIBADD = \
@LIBMATHOBJS@ \
$(EXTRA_LONG_DOUBLE_$(USE_COMPLEX_LONG_DOUBLE))
libmath_la_LIBADD = @LIBMATHOBJS@
libmath_la_DEPENDENCIES = $(libmath_la_LIBADD)
libmath_la_SOURCES = signbit.c signbitf.c stubs.c
libmath_la_SOURCES = stubs.c
LINK = \
$(LIBTOOL) --tag CC --mode=link "$(CCLD)" \

View File

@ -126,7 +126,6 @@ RANLIB = @RANLIB@
SECTION_FLAGS = @SECTION_FLAGS@
SECTION_LDFLAGS = @SECTION_LDFLAGS@
STRIP = @STRIP@
USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
@ -158,18 +157,11 @@ mkinstalldirs = $(SHELL) $(toplevel_srcdir)/mkinstalldirs
noinst_LTLIBRARIES = libmath.la
EXTRA_LONG_DOUBLE_yes = signbitl.c
EXTRA_DIST = $(EXTRA_LONG_DOUBLE_yes)
libmath_la_LIBADD = \
@LIBMATHOBJS@ \
$(EXTRA_LONG_DOUBLE_$(USE_COMPLEX_LONG_DOUBLE))
libmath_la_LIBADD = @LIBMATHOBJS@
libmath_la_DEPENDENCIES = $(libmath_la_LIBADD)
libmath_la_SOURCES = signbit.c signbitf.c stubs.c
libmath_la_SOURCES = stubs.c
LINK = \
$(LIBTOOL) --tag CC --mode=link "$(CCLD)" \
@ -192,7 +184,7 @@ CPPFLAGS = @CPPFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
libmath_la_LDFLAGS =
libmath_la_OBJECTS = signbit.lo signbitf.lo stubs.lo
libmath_la_OBJECTS = stubs.lo
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)

View File

@ -123,7 +123,6 @@ SECTION_FLAGS = @SECTION_FLAGS@
SECTION_LDFLAGS = @SECTION_LDFLAGS@
STRIP = @STRIP@
TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@
VERSION = @VERSION@

View File

@ -125,7 +125,6 @@ SECTION_FLAGS = @SECTION_FLAGS@
SECTION_LDFLAGS = @SECTION_LDFLAGS@
STRIP = @STRIP@
TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@
VERSION = @VERSION@

View File

@ -119,7 +119,6 @@ RANLIB = @RANLIB@
SECTION_FLAGS = @SECTION_FLAGS@
SECTION_LDFLAGS = @SECTION_LDFLAGS@
STRIP = @STRIP@
USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@
VERSION = @VERSION@

View File

@ -127,7 +127,6 @@ SECTION_FLAGS = @SECTION_FLAGS@
SECTION_LDFLAGS = @SECTION_LDFLAGS@
STRIP = @STRIP@
TOPLEVEL_INCLUDES = @TOPLEVEL_INCLUDES@
USE_COMPLEX_LONG_DOUBLE = @USE_COMPLEX_LONG_DOUBLE@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@
VERSION = @VERSION@