mirror of git://gcc.gnu.org/git/gcc.git
configure.in: Add support for NetBSD cross compiles.
* configure.in: Add support for NetBSD cross compiles. * configure: Regenerate. From-SVN: r48443
This commit is contained in:
parent
af328d8dd7
commit
40ded87230
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2001-12-31 Paolo Carlini <pcarlini@unitus.it>
|
||||||
|
|
||||||
* include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
|
* include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -124,6 +124,23 @@ if test -n "$with_cross_host" || test x"$build" != x"$host"; then
|
||||||
AC_DEFINE(HAVE_SINCOS)
|
AC_DEFINE(HAVE_SINCOS)
|
||||||
AC_DEFINE(HAVE_SINCOSF)
|
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"
|
os_include_dir="config/os/newlib"
|
||||||
AC_DEFINE(HAVE_HYPOT)
|
AC_DEFINE(HAVE_HYPOT)
|
||||||
|
|
Loading…
Reference in New Issue