2003-08-05 04:00:18 +02:00
|
|
|
dnl
|
2006-09-21 14:07:36 +02:00
|
|
|
dnl This file contains details for non-native builds.
|
2003-08-05 04:00:18 +02:00
|
|
|
dnl
|
|
|
|
|
2005-04-06 02:05:51 +02:00
|
|
|
AC_DEFUN([GLIBCXX_CROSSCONFIG],[
|
2003-08-05 04:00:18 +02:00
|
|
|
# Base decisions on target environment.
|
|
|
|
case "${host}" in
|
2004-08-02 22:28:22 +02:00
|
|
|
arm*-*-symbianelf*)
|
|
|
|
# This is a freestanding configuration; there is nothing to do here.
|
|
|
|
;;
|
|
|
|
|
2003-08-20 05:32:00 +02:00
|
|
|
*-darwin*)
|
|
|
|
# Darwin versions vary, but the linker should work in a cross environment,
|
|
|
|
# so we just check for all the features here.
|
|
|
|
# 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 fp.h locale.h float.h inttypes.h gconv.h \
|
|
|
|
sys/types.h])
|
|
|
|
|
|
|
|
# Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
|
|
|
|
GLIBCXX_CHECK_MATH_SUPPORT
|
|
|
|
GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
|
|
|
|
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
2005-03-24 06:45:45 +01:00
|
|
|
GLIBCXX_CHECK_ICONV_SUPPORT
|
2003-08-20 05:32:00 +02:00
|
|
|
GLIBCXX_CHECK_STDLIB_SUPPORT
|
|
|
|
|
|
|
|
# For showmanyc_helper().
|
|
|
|
AC_CHECK_HEADERS(sys/ioctl.h sys/filio.h)
|
|
|
|
GLIBCXX_CHECK_POLL
|
|
|
|
GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
|
|
|
|
|
|
|
|
# For xsputn_2().
|
|
|
|
AC_CHECK_HEADERS(sys/uio.h)
|
|
|
|
GLIBCXX_CHECK_WRITEV
|
|
|
|
|
|
|
|
AC_DEFINE(HAVE_LC_MESSAGES)
|
|
|
|
|
|
|
|
AC_TRY_COMPILE(
|
|
|
|
[#include <setjmp.h>],
|
|
|
|
[sigjmp_buf env;
|
|
|
|
while (! sigsetjmp (env, 1))
|
|
|
|
siglongjmp (env, 1);
|
|
|
|
],
|
|
|
|
[AC_DEFINE(HAVE_SIGSETJMP, 1, [Define if sigsetjmp is available.])])
|
|
|
|
|
|
|
|
AC_DEFINE(HAVE_MMAP)
|
|
|
|
;;
|
|
|
|
|
2004-07-07 03:07:05 +02:00
|
|
|
*djgpp)
|
|
|
|
AC_CHECK_HEADERS([float.h ieeefp.h inttypes.h locale.h \
|
|
|
|
memory.h stdint.h stdlib.h strings.h string.h unistd.h \
|
|
|
|
wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
|
|
|
|
sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h])
|
|
|
|
GLIBCXX_CHECK_LINKER_FEATURES
|
|
|
|
GLIBCXX_CHECK_MATH_SUPPORT
|
|
|
|
GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
|
|
|
|
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
2005-03-24 06:45:45 +01:00
|
|
|
GLIBCXX_CHECK_ICONV_SUPPORT
|
2004-07-07 03:07:05 +02:00
|
|
|
GLIBCXX_CHECK_STDLIB_SUPPORT
|
|
|
|
GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
|
|
|
|
AC_DEFINE(HAVE_WRITEV)
|
|
|
|
;;
|
|
|
|
|
2003-08-05 04:00:18 +02:00
|
|
|
*-freebsd*)
|
|
|
|
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 sys/resource.h sys/stat.h \
|
|
|
|
sys/time.h unistd.h])
|
|
|
|
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
|
|
|
AC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
AC_DEFINE(HAVE_LDEXPF)
|
|
|
|
AC_DEFINE(HAVE_LOG10F)
|
|
|
|
AC_DEFINE(HAVE_LOGF)
|
|
|
|
AC_DEFINE(HAVE_MODFF)
|
|
|
|
AC_DEFINE(HAVE_POWF)
|
|
|
|
AC_DEFINE(HAVE_SINF)
|
|
|
|
AC_DEFINE(HAVE_SINHF)
|
|
|
|
AC_DEFINE(HAVE_SQRTF)
|
|
|
|
AC_DEFINE(HAVE_TANF)
|
|
|
|
AC_DEFINE(HAVE_TANHF)
|
|
|
|
if test x"long_double_math_on_this_cpu" = x"yes"; then
|
|
|
|
AC_DEFINE(HAVE_FINITEL)
|
|
|
|
AC_DEFINE(HAVE_ISINFL)
|
|
|
|
AC_DEFINE(HAVE_ISNANL)
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
*-hpux*)
|
|
|
|
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)
|
|
|
|
GLIBCXX_CHECK_LINKER_FEATURES
|
|
|
|
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
2005-03-24 06:45:45 +01:00
|
|
|
GLIBCXX_CHECK_ICONV_SUPPORT
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_COPYSIGN)
|
|
|
|
AC_DEFINE(HAVE_COPYSIGNF)
|
|
|
|
AC_DEFINE(HAVE_FREXPF)
|
|
|
|
AC_DEFINE(HAVE_HYPOT)
|
|
|
|
case "$target" in
|
|
|
|
*-hpux10*)
|
|
|
|
AC_DEFINE(HAVE_FINITE)
|
|
|
|
AC_DEFINE(HAVE_FINITEF)
|
|
|
|
AC_DEFINE(HAVE_ISINF)
|
|
|
|
AC_DEFINE(HAVE_ISINFF)
|
|
|
|
AC_DEFINE(HAVE_ISNAN)
|
|
|
|
AC_DEFINE(HAVE_ISNANF)
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
;;
|
2003-11-07 17:49:18 +01:00
|
|
|
*-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
|
2003-08-05 04:00:18 +02:00
|
|
|
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 \
|
2004-05-13 19:49:42 +02:00
|
|
|
fp.h float.h endian.h inttypes.h locale.h float.h stdint.h])
|
2003-08-05 04:00:18 +02:00
|
|
|
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
|
|
|
AC_SUBST(SECTION_FLAGS)
|
2006-02-17 00:29:10 +01:00
|
|
|
GLIBCXX_CHECK_COMPILER_FEATURES
|
2003-08-05 04:00:18 +02:00
|
|
|
GLIBCXX_CHECK_LINKER_FEATURES
|
2006-02-17 00:29:10 +01:00
|
|
|
GLIBCXX_CHECK_MATH_SUPPORT
|
|
|
|
GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
|
2003-08-05 04:00:18 +02:00
|
|
|
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
2005-03-24 06:45:45 +01:00
|
|
|
GLIBCXX_CHECK_ICONV_SUPPORT
|
2006-02-17 00:29:10 +01:00
|
|
|
GLIBCXX_CHECK_STDLIB_SUPPORT
|
2004-01-07 23:17:01 +01:00
|
|
|
|
|
|
|
# For LFS.
|
|
|
|
AC_DEFINE(HAVE_INT64_T)
|
2004-02-09 08:06:35 +01:00
|
|
|
case "$target" in
|
|
|
|
*-uclinux*)
|
|
|
|
# Don't enable LFS with uClibc
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
AC_DEFINE(_GLIBCXX_USE_LFS)
|
|
|
|
esac
|
2004-01-07 23:17:01 +01:00
|
|
|
|
|
|
|
# For showmanyc_helper().
|
|
|
|
AC_CHECK_HEADERS(sys/ioctl.h sys/filio.h)
|
|
|
|
GLIBCXX_CHECK_POLL
|
|
|
|
GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
|
|
|
|
|
|
|
|
# For xsputn_2().
|
|
|
|
AC_CHECK_HEADERS(sys/uio.h)
|
|
|
|
GLIBCXX_CHECK_WRITEV
|
2003-08-05 04:00:18 +02:00
|
|
|
;;
|
|
|
|
*-mingw32*)
|
|
|
|
AC_CHECK_HEADERS([sys/types.h locale.h float.h])
|
|
|
|
GLIBCXX_CHECK_LINKER_FEATURES
|
|
|
|
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
2005-03-24 06:45:45 +01:00
|
|
|
GLIBCXX_CHECK_ICONV_SUPPORT
|
2003-08-05 04:00:18 +02:00
|
|
|
;;
|
|
|
|
*-netbsd*)
|
|
|
|
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)
|
|
|
|
GLIBCXX_CHECK_LINKER_FEATURES
|
|
|
|
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
2005-03-24 06:45:45 +01:00
|
|
|
GLIBCXX_CHECK_ICONV_SUPPORT
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_COPYSIGN)
|
|
|
|
AC_DEFINE(HAVE_COPYSIGNF)
|
|
|
|
AC_DEFINE(HAVE_FINITEF)
|
|
|
|
AC_DEFINE(HAVE_FINITE)
|
|
|
|
AC_DEFINE(HAVE_FREXPF)
|
|
|
|
AC_DEFINE(HAVE_HYPOTF)
|
|
|
|
AC_DEFINE(HAVE_ISINF)
|
|
|
|
AC_DEFINE(HAVE_ISINFF)
|
|
|
|
AC_DEFINE(HAVE_ISNAN)
|
|
|
|
AC_DEFINE(HAVE_ISNANF)
|
|
|
|
if test x"long_double_math_on_this_cpu" = x"yes"; then
|
|
|
|
AC_DEFINE(HAVE_FINITEL)
|
|
|
|
AC_DEFINE(HAVE_ISINFL)
|
|
|
|
AC_DEFINE(HAVE_ISNANL)
|
|
|
|
fi
|
|
|
|
;;
|
2004-09-03 20:10:08 +02:00
|
|
|
*-netware)
|
|
|
|
AC_CHECK_HEADERS([nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
|
|
|
|
sys/types.h locale.h float.h inttypes.h])
|
|
|
|
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
|
|
|
AC_SUBST(SECTION_FLAGS)
|
|
|
|
GLIBCXX_CHECK_LINKER_FEATURES
|
|
|
|
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
2005-03-24 06:45:45 +01:00
|
|
|
GLIBCXX_CHECK_ICONV_SUPPORT
|
2006-01-12 08:47:14 +01:00
|
|
|
AC_DEFINE(HAVE_HYPOT)
|
|
|
|
AC_DEFINE(HAVE_ISINF)
|
|
|
|
AC_DEFINE(HAVE_ISNAN)
|
2004-09-03 20:10:08 +02:00
|
|
|
|
|
|
|
# For showmanyc_helper().
|
|
|
|
AC_CHECK_HEADERS(sys/ioctl.h sys/filio.h)
|
|
|
|
GLIBCXX_CHECK_POLL
|
|
|
|
GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
|
|
|
|
|
|
|
|
# For xsputn_2().
|
|
|
|
AC_CHECK_HEADERS(sys/uio.h)
|
|
|
|
GLIBCXX_CHECK_WRITEV
|
|
|
|
;;
|
2003-08-05 04:00:18 +02:00
|
|
|
*-qnx6.1* | *-qnx6.2*)
|
|
|
|
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
|
|
|
AC_SUBST(SECTION_FLAGS)
|
|
|
|
GLIBCXX_CHECK_LINKER_FEATURES
|
|
|
|
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
2005-03-24 06:45:45 +01:00
|
|
|
GLIBCXX_CHECK_ICONV_SUPPORT
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_COSF)
|
|
|
|
AC_DEFINE(HAVE_COSL)
|
|
|
|
AC_DEFINE(HAVE_COSHF)
|
|
|
|
AC_DEFINE(HAVE_COSHL)
|
|
|
|
AC_DEFINE(HAVE_LOGF)
|
|
|
|
AC_DEFINE(HAVE_LOGL)
|
|
|
|
AC_DEFINE(HAVE_LOG10F)
|
|
|
|
AC_DEFINE(HAVE_LOG10L)
|
|
|
|
AC_DEFINE(HAVE_SINF)
|
|
|
|
AC_DEFINE(HAVE_SINL)
|
|
|
|
AC_DEFINE(HAVE_SINHF)
|
|
|
|
AC_DEFINE(HAVE_SINHL)
|
|
|
|
;;
|
|
|
|
*-solaris*)
|
2003-09-25 22:30:20 +02:00
|
|
|
case "$target" in
|
2003-08-05 04:00:18 +02:00
|
|
|
# *-solaris2.5)
|
|
|
|
# os_include_dir="os/solaris/solaris2.5"
|
|
|
|
# ;;
|
|
|
|
# *-solaris2.6)
|
|
|
|
# os_include_dir="os/solaris/solaris2.6"
|
|
|
|
# ;;
|
2003-09-25 22:30:20 +02:00
|
|
|
*-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
|
|
|
|
AC_DEFINE(HAVE_GETPAGESIZE)
|
|
|
|
AC_DEFINE(HAVE_SIGSETJMP)
|
|
|
|
AC_DEFINE(HAVE_MBSTATE_T)
|
|
|
|
AC_DEFINE(HAVE_POLL)
|
|
|
|
AC_DEFINE(HAVE_S_ISREG)
|
|
|
|
AC_DEFINE(HAVE_LC_MESSAGES)
|
|
|
|
AC_DEFINE(HAVE_FINITE)
|
|
|
|
AC_DEFINE(HAVE_FPCLASS)
|
|
|
|
AC_DEFINE(HAVE_GETPAGESIZE)
|
|
|
|
AC_DEFINE(HAVE_NL_LANGINFO)
|
|
|
|
AC_DEFINE(HAVE_ICONV)
|
|
|
|
AC_DEFINE(HAVE_ICONV_CLOSE)
|
|
|
|
AC_DEFINE(HAVE_ICONV_OPEN)
|
|
|
|
# Look for the pieces required for wchar_t support in order to
|
|
|
|
# get all the right HAVE_* macros defined.
|
2005-03-24 06:45:45 +01:00
|
|
|
GLIBCXX_CHECK_ICONV_SUPPORT
|
2003-09-25 22:30:20 +02:00
|
|
|
# All of the dependencies for wide character support are here, so
|
|
|
|
# turn it on. This requires some syncronization with the
|
2005-03-24 06:45:45 +01:00
|
|
|
# GLIBCXX_CHECK_ICONV_SUPPORT in acinclude.m4
|
2003-09-25 22:30:20 +02:00
|
|
|
AC_DEFINE(_GLIBCXX_USE_WCHAR_T)
|
|
|
|
# Are these tested for even when cross?
|
|
|
|
AC_DEFINE(HAVE_FLOAT_H)
|
|
|
|
AC_DEFINE(HAVE_IEEEFP_H)
|
|
|
|
AC_DEFINE(HAVE_INTTYPES_H)
|
|
|
|
AC_DEFINE(HAVE_LOCALE_H)
|
|
|
|
AC_DEFINE(HAVE_NAN_H)
|
|
|
|
AC_DEFINE(HAVE_SYS_FILIO_H)
|
|
|
|
AC_DEFINE(HAVE_SYS_IOCTL_H)
|
|
|
|
AC_DEFINE(HAVE_SYS_ISA_DEFS_H)
|
|
|
|
AC_DEFINE(HAVE_SYS_RESOURCE_H)
|
|
|
|
AC_DEFINE(HAVE_SYS_TIME_H)
|
|
|
|
AC_DEFINE(HAVE_SYS_TYPES_H)
|
|
|
|
AC_DEFINE(HAVE_UNISTD_H)
|
|
|
|
AC_DEFINE(HAVE_WCHAR_H)
|
|
|
|
AC_DEFINE(HAVE_WCTYPE_H)
|
|
|
|
AC_DEFINE(HAVE_LIBM)
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
case "$target" in
|
|
|
|
sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
|
|
|
|
# I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
|
|
|
|
AC_DEFINE(HAVE___BUILTIN_ABS)
|
|
|
|
AC_DEFINE(HAVE___BUILTIN_LABS)
|
|
|
|
AC_DEFINE(HAVE___BUILTIN_FABS)
|
|
|
|
AC_DEFINE(HAVE___BUILTIN_FABSF)
|
|
|
|
AC_DEFINE(HAVE___BUILTIN_FABSL)
|
|
|
|
AC_DEFINE(HAVE___BUILTIN_COS)
|
|
|
|
AC_DEFINE(HAVE___BUILTIN_COSF)
|
|
|
|
AC_DEFINE(HAVE___BUILTIN_SIN)
|
|
|
|
AC_DEFINE(HAVE___BUILTIN_SINF)
|
|
|
|
;;
|
|
|
|
esac
|
2005-02-01 07:56:30 +01:00
|
|
|
case "$target" in
|
|
|
|
*-*-solaris2.10)
|
|
|
|
# These two C99 functions are present only in Solaris >= 10
|
|
|
|
AC_DEFINE(HAVE_STRTOF)
|
|
|
|
AC_DEFINE(HAVE_STRTOLD)
|
|
|
|
;;
|
|
|
|
esac
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_MMAP)
|
|
|
|
AC_DEFINE(HAVE_COPYSIGN)
|
|
|
|
AC_DEFINE(HAVE_ISNAN)
|
|
|
|
AC_DEFINE(HAVE_ISNANF)
|
|
|
|
AC_DEFINE(HAVE_MODFF)
|
|
|
|
AC_DEFINE(HAVE_HYPOT)
|
|
|
|
;;
|
2004-01-27 16:36:22 +01:00
|
|
|
*-tpf)
|
|
|
|
AC_CHECK_HEADERS([nan.h endian.h machine/endian.h \
|
|
|
|
sys/param.h sys/types.h locale.h float.h inttypes.h])
|
|
|
|
SECTION_FLAGS='-ffunction-sections -fdata-sections'
|
|
|
|
AC_SUBST(SECTION_FLAGS)
|
|
|
|
GLIBCXX_CHECK_LINKER_FEATURES
|
|
|
|
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
2005-03-24 06:45:45 +01:00
|
|
|
GLIBCXX_CHECK_ICONV_SUPPORT
|
2004-01-27 16:36:22 +01:00
|
|
|
AC_DEFINE(HAVE_COPYSIGN)
|
|
|
|
AC_DEFINE(HAVE_COPYSIGNF)
|
|
|
|
AC_DEFINE(HAVE_FINITE)
|
|
|
|
AC_DEF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
|
AC_DEFINE(HAVE_TANHF)
|
|
|
|
;;
|
2003-08-05 04:00:18 +02:00
|
|
|
*-windiss*)
|
|
|
|
AC_DEFINE(HAVE_ACOSF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_ACOSL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_ASINF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_ASINL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_ATAN2F)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_ATAN2L)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_ATANF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_ATANL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_CEILF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_CEILL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_COPYSIGN)
|
|
|
|
AC_DEFINE(HAVE_COPYSIGNF)
|
|
|
|
AC_DEFINE(HAVE_COSF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_COSL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_COSHF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_COSHL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_EXPF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_EXPL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_FABSF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_FABSL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_FLOORF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_FLOORL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_FMODF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_FMODL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_FREXPF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_FREXPL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_LDEXPF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_LDEXPL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_LOG10F)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_LOG10L)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_LOGF)
|
|
|
|
AC_DEFINE(HAVE_MODFF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_MODFL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_POWF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_POWL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_SINF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_SINL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_SINHF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_SINHL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_SQRTF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_SQRTL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_TANF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_TANL)
|
2003-08-05 04:00:18 +02:00
|
|
|
AC_DEFINE(HAVE_TANHF)
|
2003-10-20 20:27:17 +02:00
|
|
|
AC_DEFINE(HAVE_TANHL)
|
2003-08-05 04:00:18 +02:00
|
|
|
;;
|
|
|
|
*)
|
|
|
|
AC_MSG_ERROR([No support for this host/target combination.])
|
|
|
|
;;
|
|
|
|
esac
|
2005-04-06 02:05:51 +02:00
|
|
|
])
|