Commit 40ded872 by Jason Thorpe Committed by Jason Thorpe

configure.in: Add support for NetBSD cross compiles.

* configure.in: Add support for NetBSD cross compiles.
* configure: Regenerate.

From-SVN: r48443
parent af328d8d
2002-01-01 Jason Thorpe <thorpej@wasabisystems.com>
* configure.in: Add support for NetBSD cross compiles.
* configure: Regenerate.
2001-12-31 Paolo Carlini <pcarlini@unitus.it>
* include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -124,6 +124,23 @@ if test -n "$with_cross_host" || test x"$build" != x"$host"; then
AC_DEFINE(HAVE_SINCOS)
AC_DEFINE(HAVE_SINCOSF)
;;
*-netbsd*)
# Check for available headers.
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h \
machine/endian.h machine/param.h sys/machine.h sys/types.h \
fp.h locale.h float.h inttypes.h])
SECTION_FLAGS='-ffunction-sections -fdata-sections'
AC_SUBST(SECTION_FLAGS)
GLIBCPP_CHECK_LINKER_FEATURES
GLIBCPP_CHECK_COMPLEX_MATH_SUPPORT
GLIBCPP_CHECK_WCHAR_T_SUPPORT
os_include_dir="config/os/bsd/netbsd"
AC_DEFINE(HAVE_COPYSIGN)
AC_DEFINE(HAVE_COPYSIGNF)
AC_DEFINE(HAVE_FINITEF)
AC_DEFINE(HAVE_FREXPF)
AC_DEFINE(HAVE_HYPOTF)
;;
*)
os_include_dir="config/os/newlib"
AC_DEFINE(HAVE_HYPOT)
......
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