Commit 660bdf36 by Anthony Green Committed by Anthony Green

Fix mingw32 cross builds.

From-SVN: r50541
parent 22d5af9a
2002-03-10 Anthony Green <green@redhat.com>
* configure.in: Support cross builds to mingw32 target.
* configure: Rebuilt.
2002-03-09 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (collate::do_transform):
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -141,12 +141,24 @@ if test -n "$with_cross_host" || test x"$build" != x"$host"; then
AC_DEFINE(HAVE_FREXPF)
AC_DEFINE(HAVE_HYPOTF)
;;
*-mingw32*)
AC_CHECK_HEADERS([sys/types.h locale.h float.h])
GLIBCPP_CHECK_LINKER_FEATURES
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
GLIBCPP_CHECK_WCHAR_T_SUPPORT
os_include_dir="config/os/mingw32"
is_mingw32=yes;
;;
*)
os_include_dir="config/os/newlib"
AC_DEFINE(HAVE_HYPOT)
;;
esac
case "$target_alias" in
*-mingw32*)
;;
*)
# GLIBCPP_CHECK_STDLIB_SUPPORT
AC_DEFINE(HAVE_STRTOF)
AC_DEFINE(HAVE_STRTOLD)
......@@ -183,6 +195,8 @@ if test -n "$with_cross_host" || test x"$build" != x"$host"; then
AC_DEFINE(HAVE_SQRTF)
AC_DEFINE(HAVE_TANF)
AC_DEFINE(HAVE_TANHF)
;;
esac
# At some point, we should differentiate between architectures
# like x86, which have long double versions, and alpha/powerpc/etc.,
......
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