Commit a767e383 by Benjamin Kosnik Committed by Benjamin Kosnik

acinclude.m4 (EXTRA_CXX_FLAGS): And here.

2000-12-05  Benjamin Kosnik  <bkoz@haight.redhat.com>

	* acinclude.m4 (EXTRA_CXX_FLAGS): And here.
	* include/c/bits/std_cstdlib.h (std ): Change macro to
	_GLIBCPP_NEED_LLDIV_T.
	* acconfig.h: Remove unused MBSTATE_T bits.
	* configure.in: Same.
	* aclocal.m4: Regenerate.
	* configure: Regenerate.
	* config.h.in: Regenerate.

From-SVN: r38058
parent 3cf3593f
2000-12-05 Benjamin Kosnik <bkoz@haight.redhat.com>
* acinclude.m4 (EXTRA_CXX_FLAGS): And here.
* include/c/bits/std_cstdlib.h (std ): Change macro to
_GLIBCPP_NEED_LLDIV_T.
* acconfig.h: Remove unused MBSTATE_T bits.
* configure.in: Same.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
2000-12-05 Benjamin Kosnik <bkoz@fillmore.redhat.com>
* acinclude.m4: Change up to reflect new directory organization.
......
......@@ -12,18 +12,12 @@
// Include support for shadow headers, ie --enable-cshadow-headers.
#undef _GLIBCPP_USE_SHADOW_HEADERS
// Define if lldiv_t exists in stdlib.h.
#undef _GLIBCPP_HAVE_LLDIV_T
// Define if the host has a type mbstate_t defined in
// wchar.h, as required by 21.1.3.1. Some systems, namely
// hppa-hp-hpux10.20 do not meet this requirement, and must be worked
// around.
#undef _GLIBCPP_NEED_MBSTATE_T
// Define if code specialized for wchar_t should be used.
#undef _GLIBCPP_USE_WCHAR_T
// Define if lldiv_t exists in stdlib.h.
#undef HAVE_LLDIV_T
// Define if the compiler/host combination has __builtin_abs
#undef HAVE___BUILTIN_ABS
......
......@@ -991,9 +991,6 @@ AC_DEFUN(GLIBCPP_CHECK_WCHAR_T_SUPPORT, [
[mbstate_t teststate;],
use_native_mbstatet=yes, use_native_mbstatet=no)
AC_MSG_RESULT($use_native_mbstatet)
if test x"$use_native_mbstatet" = xno; then
AC_DEFINE(_GLIBCPP_NEED_MBSTATE_T)
fi
dnl Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
dnl numeric_limits can instantiate type_traits<wchar_t>
......@@ -1066,7 +1063,6 @@ AC_DEFUN(GLIBCPP_CHECK_WCHAR_T_SUPPORT, [
else
AC_MSG_WARN([<wchar.h> not found])
AC_DEFINE(_GLIBCPP_NEED_MBSTATE_T)
fi
else
......@@ -1478,7 +1474,7 @@ AC_DEFUN(GLIBCPP_ENABLE_LONG_LONG, [dnl
])
AC_MSG_RESULT($glibcpp_lldiv_t_use)
if test x$glibcpp_lldiv_t_use = x"yes"; then
AC_DEFINE(_GLIBCPP_HAVE_LLDIV_T)
AC_DEFINE(HAVE_LLDIV_T)
fi
AC_MSG_CHECKING([for enabled long long])
......
......@@ -1003,9 +1003,6 @@ AC_DEFUN(GLIBCPP_CHECK_WCHAR_T_SUPPORT, [
[mbstate_t teststate;],
use_native_mbstatet=yes, use_native_mbstatet=no)
AC_MSG_RESULT($use_native_mbstatet)
if test x"$use_native_mbstatet" = xno; then
AC_DEFINE(_GLIBCPP_NEED_MBSTATE_T)
fi
dnl Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
dnl numeric_limits can instantiate type_traits<wchar_t>
......@@ -1078,7 +1075,6 @@ AC_DEFUN(GLIBCPP_CHECK_WCHAR_T_SUPPORT, [
else
AC_MSG_WARN([<wchar.h> not found])
AC_DEFINE(_GLIBCPP_NEED_MBSTATE_T)
fi
else
......@@ -1490,7 +1486,7 @@ AC_DEFUN(GLIBCPP_ENABLE_LONG_LONG, [dnl
])
AC_MSG_RESULT($glibcpp_lldiv_t_use)
if test x$glibcpp_lldiv_t_use = x"yes"; then
AC_DEFINE(_GLIBCPP_HAVE_LLDIV_T)
AC_DEFINE(HAVE_LLDIV_T)
fi
AC_MSG_CHECKING([for enabled long long])
......
......@@ -12,18 +12,12 @@
// Include support for shadow headers, ie --enable-cshadow-headers.
#undef _GLIBCPP_USE_SHADOW_HEADERS
// Define if lldiv_t exists in stdlib.h.
#undef _GLIBCPP_HAVE_LLDIV_T
// Define if the host has a type mbstate_t defined in
// wchar.h, as required by 21.1.3.1. Some systems, namely
// hppa-hp-hpux10.20 do not meet this requirement, and must be worked
// around.
#undef _GLIBCPP_NEED_MBSTATE_T
// Define if code specialized for wchar_t should be used.
#undef _GLIBCPP_USE_WCHAR_T
// Define if lldiv_t exists in stdlib.h.
#undef HAVE_LLDIV_T
// Define if the compiler/host combination has __builtin_abs
#undef HAVE___BUILTIN_ABS
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -81,9 +81,6 @@ if test -n "$with_cross_host"; then
AC_LINK_FILES($ctype_include_dir/bits/ctype_noninline.h, \
include/bits/ctype_noninline.h)
AC_DEFINE(_GLIBCPP_NEED_MBSTATE_T)
AC_DEFINE(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
AC_DEFINE(_GLIBCPP_BUGGY_COMPLEX)
;;
......@@ -104,8 +101,6 @@ if test -n "$with_cross_host"; then
AC_LINK_FILES($ctype_include_dir/bits/ctype_noninline.h, \
include/bits/ctype_noninline.h)
AC_DEFINE(_GLIBCPP_NEED_MBSTATE_T)
AC_DEFINE(_GLIBCPP_BUGGY_FLOAT_COMPLEX)
AC_DEFINE(_GLIBCPP_BUGGY_COMPLEX)
# need to check for faster f versions of math functions, ie sinf?
......
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