ac_default_prefix=/usr/local
# Any additions from configure.in:
ac_help="$ac_help
+ --enable-multilib build hella library versions (default)"
+ac_help="$ac_help
--with-target-subdir=SUBDIR
configuring in a subdirectory"
ac_help="$ac_help
--with-cross-host=HOST configuring with a cross compiler"
ac_help="$ac_help
- --enable-multilib build hella library versions (default)"
-ac_help="$ac_help
--enable-maintainer-mode enable make rules and dependencies not useful
(and sometimes confusing) to the casual installer"
ac_help="$ac_help
ac_help="$ac_help
--enable-debug extra debugging, turn off optimization [default=no]"
ac_help="$ac_help
- --enable-cstdio enable stdio for target io package.
- --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
+ --enable-cstdio enable stdio for target io package.
+ --enable-cstdio=LIB use LIB target-speific io package. [default=stdio]
+ "
+ac_help="$ac_help
+ --enable-clocale enable model for target locale package.
+ --enable-clocale=MODEL use MODEL target-speific locale package. [default=generic]
"
ac_help="$ac_help
--enable-c-mbchar enable multibyte (wide) characters [default=yes]"
ac_help="$ac_help
- --enable-long-long turns on 'long long' [default=no]"
+ --enable-c99 turns on 'ISO/IEC 9899:1999 support' [default=yes]"
ac_help="$ac_help
- --enable-cheaders construct "C" header files for
- g++ [default=c_std]"
+ --enable-long-long turns on 'long long' [default=yes]"
ac_help="$ac_help
- --enable-threads enable thread usage for target GCC.
- --enable-threads=LIB use LIB thread package for target GCC. [default=no]
- "
+ --enable-cheaders construct "C" header files for g++ [default=c_std]"
ac_help="$ac_help
--enable-cxx-flags=FLAGS pass compiler FLAGS when building library;
[default=none]"
ac_help="$ac_help
- --with-gxx-include-dir the installation directory for include files"
+ --enable-sjlj-exceptions force use of builtin_setjmp for exceptions"
+ac_help="$ac_help
+ --with-gxx-include-dir the installation directory for include files"
ac_help="$ac_help
--enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory "
fi
+
+PACKAGE=libstdc++
+
+# For typical GNU versioning info, format is MAJOR.MINOR.MICRO
+release_VERSION=3.1.0
+
+# For libtool versioning info, format is CURRENT:REVISION:AGE
+libtool_VERSION=4:0:0
+
+
+# Gets build, host, target, *_vendor, *_cpu, *_os, etc.
+# AC 2.50 sets target_alias iff the user specified --target, but we use it
+# everywhere, so we set it here just to be sure.
ac_aux_dir=
-for ac_dir in .. $srcdir/..; do
+for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
if test -f $ac_dir/install-sh; then
ac_aux_dir=$ac_dir
ac_install_sh="$ac_aux_dir/install-sh -c"
fi
done
if test -z "$ac_aux_dir"; then
- { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; }
+ { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
fi
ac_config_guess=$ac_aux_dir/config.guess
ac_config_sub=$ac_aux_dir/config.sub
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
-# Gets and sets build, host, target, *_vendor, *_cpu, *_os, etc.
-
# Do some error checking and defaulting for the host and target type.
# The inputs are:
# configure --host=HOST --target=TARGET --build=BUILD NONOPT
fi
echo $ac_n "checking host system type""... $ac_c" 1>&6
-echo "configure:620: checking host system type" >&5
+echo "configure:634: checking host system type" >&5
host_alias=$host
case "$host_alias" in
echo "$ac_t""$host" 1>&6
echo $ac_n "checking target system type""... $ac_c" 1>&6
-echo "configure:641: checking target system type" >&5
+echo "configure:655: checking target system type" >&5
target_alias=$target
case "$target_alias" in
echo "$ac_t""$target" 1>&6
echo $ac_n "checking build system type""... $ac_c" 1>&6
-echo "configure:659: checking build system type" >&5
+echo "configure:673: checking build system type" >&5
build_alias=$build
case "$build_alias" in
NONENONEs,x,x, &&
program_prefix=${target_alias}-
-
-# We use these options to decide which functions to include.
-# Check whether --with-target-subdir or --without-target-subdir was given.
-if test "${with_target_subdir+set}" = set; then
- withval="$with_target_subdir"
- :
-fi
-
-# Check whether --with-cross-host or --without-cross-host was given.
-if test "${with_cross_host+set}" = set; then
- withval="$with_cross_host"
- :
-fi
+target_alias=${target_alias-$target}
-# Runs configure.host and configure.target. Have to run this before
-# the GLIBCPP_ENABLE_* macros below.
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
# incompatible versions:
SET_MAKE="MAKE=${MAKE-make}"
fi
+
+PACKAGE=$PACKAGE
+
+VERSION=$release_VERSION
+
+if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
+ { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
+fi
+cat >> confdefs.h <<EOF
+#define PACKAGE "$PACKAGE"
+EOF
+
+cat >> confdefs.h <<EOF
+#define VERSION "$VERSION"
+EOF
+
+
+
+missing_dir=`cd $ac_aux_dir && pwd`
+echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
+echo "configure:866: checking for working aclocal" >&5
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf. Sigh.
+if (aclocal --version) < /dev/null > /dev/null 2>&1; then
+ ACLOCAL=aclocal
+ echo "$ac_t""found" 1>&6
+else
+ ACLOCAL="$missing_dir/missing aclocal"
+ echo "$ac_t""missing" 1>&6
+fi
+
+echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
+echo "configure:879: checking for working autoconf" >&5
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf. Sigh.
+if (autoconf --version) < /dev/null > /dev/null 2>&1; then
+ AUTOCONF=autoconf
+ echo "$ac_t""found" 1>&6
+else
+ AUTOCONF="$missing_dir/missing autoconf"
+ echo "$ac_t""missing" 1>&6
+fi
+
+echo $ac_n "checking for working automake""... $ac_c" 1>&6
+echo "configure:892: checking for working automake" >&5
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf. Sigh.
+if (automake --version) < /dev/null > /dev/null 2>&1; then
+ AUTOMAKE=automake
+ echo "$ac_t""found" 1>&6
+else
+ AUTOMAKE="$missing_dir/missing automake"
+ echo "$ac_t""missing" 1>&6
+fi
+
+echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
+echo "configure:905: checking for working autoheader" >&5
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf. Sigh.
+if (autoheader --version) < /dev/null > /dev/null 2>&1; then
+ AUTOHEADER=autoheader
+ echo "$ac_t""found" 1>&6
+else
+ AUTOHEADER="$missing_dir/missing autoheader"
+ echo "$ac_t""missing" 1>&6
+fi
+
+echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
+echo "configure:918: checking for working makeinfo" >&5
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf. Sigh.
+if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
+ MAKEINFO=makeinfo
+ echo "$ac_t""found" 1>&6
+else
+ MAKEINFO="$missing_dir/missing makeinfo"
+ echo "$ac_t""missing" 1>&6
+fi
+
+
+
+
+
+
+# Runs configure.host and configure.target, as well as finds CC, CXX
+# and assorted other critical bits. Have to run this before the
+# GLIBCPP_ENABLE_* macros below.
if test $host != $build; then
ac_tool_prefix=${host_alias}-
else
fi
echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
-echo "configure:853: checking for Cygwin environment" >&5
+echo "configure:945: checking for Cygwin environment" >&5
if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 858 "configure"
+#line 950 "configure"
#include "confdefs.h"
int main() {
return __CYGWIN__;
; return 0; }
EOF
-if { (eval echo configure:869: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_cygwin=yes
else
CYGWIN=
test "$ac_cv_cygwin" = yes && CYGWIN=yes
echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
-echo "configure:886: checking for mingw32 environment" >&5
+echo "configure:978: checking for mingw32 environment" >&5
if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 891 "configure"
+#line 983 "configure"
#include "confdefs.h"
int main() {
return __MINGW32__;
; return 0; }
EOF
-if { (eval echo configure:898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_mingw32=yes
else
multilib=yes
fi
- if test "${srcdir}" = "."; then
+# When building with srcdir == objdir, links to the source files will
+# be created in directories within the target_subdir. We have to
+# adjust toplevel_srcdir accordingly, so that configure finds
+# install-sh and other auxiliary files that live in the top-level
+# source directory.
+if test "${srcdir}" = "."; then
+ if test -z "${with_target_subdir}"; then
+ toprel=".."
+ else
if test "${with_target_subdir}" != "."; then
- glibcpp_basedir="${srcdir}/${with_multisrctop}../."
+ toprel="${with_multisrctop}../.."
else
- glibcpp_basedir="${srcdir}/${with_multisrctop}."
+ toprel="${with_multisrctop}.."
fi
- else
- glibcpp_basedir="${srcdir}/."
fi
-
+else
+ toprel=".."
+fi
+ac_aux_dir=
+for ac_dir in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel; do
+ if test -f $ac_dir/install-sh; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install-sh -c"
+ break
+ elif test -f $ac_dir/install.sh; then
+ ac_aux_dir=$ac_dir
+ ac_install_sh="$ac_aux_dir/install.sh -c"
+ break
+ fi
+done
+if test -z "$ac_aux_dir"; then
+ { echo "configure: error: can not find install-sh or install.sh in ${srcdir}/$toprel $srcdir/${srcdir}/$toprel" 1>&2; exit 1; }
+fi
+ac_config_guess=$ac_aux_dir/config.guess
+ac_config_sub=$ac_aux_dir/config.sub
+ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
-
-PACKAGE=libstdc++
+toplevel_srcdir=\${top_srcdir}/$toprel
-VERSION=2.90.8
-if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
- { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
-fi
-cat >> confdefs.h <<EOF
-#define PACKAGE "$PACKAGE"
-EOF
+# Export build and source directories.
+# These need to be absolute paths, yet at the same time need to
+# canonicalize only relative paths, because then amd will not unmount
+# drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
+glibcpp_builddir=`pwd`
+case $srcdir in
+\\/$* | ?:\\/*) glibcpp_srcdir=${srcdir} ;;
+*) glibcpp_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
+esac
-cat >> confdefs.h <<EOF
-#define VERSION "$VERSION"
-EOF
-missing_dir=`cd $ac_aux_dir && pwd`
-echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
-echo "configure:958: checking for working aclocal" >&5
-# Run test in a subshell; some versions of sh will print an error if
-# an executable is not found, even if stderr is redirected.
-# Redirect stdin to placate older versions of autoconf. Sigh.
-if (aclocal --version) < /dev/null > /dev/null 2>&1; then
- ACLOCAL=aclocal
- echo "$ac_t""found" 1>&6
-else
- ACLOCAL="$missing_dir/missing aclocal"
- echo "$ac_t""missing" 1>&6
-fi
-echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
-echo "configure:971: checking for working autoconf" >&5
-# Run test in a subshell; some versions of sh will print an error if
-# an executable is not found, even if stderr is redirected.
-# Redirect stdin to placate older versions of autoconf. Sigh.
-if (autoconf --version) < /dev/null > /dev/null 2>&1; then
- AUTOCONF=autoconf
- echo "$ac_t""found" 1>&6
+# Will set LN_S to either 'ln -s' or 'ln'. With autoconf 2.50+, can also
+# be 'cp -p' if linking isn't available.
+#ac_cv_prog_LN_S='cp -p'
+echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
+echo "configure:1077: checking whether ln -s works" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
else
- AUTOCONF="$missing_dir/missing autoconf"
- echo "$ac_t""missing" 1>&6
+ rm -f conftestdata
+if ln -s X conftestdata 2>/dev/null
+then
+ rm -f conftestdata
+ ac_cv_prog_LN_S="ln -s"
+else
+ ac_cv_prog_LN_S=ln
fi
-
-echo $ac_n "checking for working automake""... $ac_c" 1>&6
-echo "configure:984: checking for working automake" >&5
-# Run test in a subshell; some versions of sh will print an error if
-# an executable is not found, even if stderr is redirected.
-# Redirect stdin to placate older versions of autoconf. Sigh.
-if (automake --version) < /dev/null > /dev/null 2>&1; then
- AUTOMAKE=automake
- echo "$ac_t""found" 1>&6
+fi
+LN_S="$ac_cv_prog_LN_S"
+if test "$ac_cv_prog_LN_S" = "ln -s"; then
+ echo "$ac_t""yes" 1>&6
else
- AUTOMAKE="$missing_dir/missing automake"
- echo "$ac_t""missing" 1>&6
+ echo "$ac_t""no" 1>&6
fi
-echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
-echo "configure:997: checking for working autoheader" >&5
-# Run test in a subshell; some versions of sh will print an error if
-# an executable is not found, even if stderr is redirected.
-# Redirect stdin to placate older versions of autoconf. Sigh.
-if (autoheader --version) < /dev/null > /dev/null 2>&1; then
- AUTOHEADER=autoheader
- echo "$ac_t""found" 1>&6
-else
- AUTOHEADER="$missing_dir/missing autoheader"
- echo "$ac_t""missing" 1>&6
+
+# We use these options to decide which functions to include.
+# Check whether --with-target-subdir or --without-target-subdir was given.
+if test "${with_target_subdir+set}" = set; then
+ withval="$with_target_subdir"
+ :
fi
-echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
-echo "configure:1010: checking for working makeinfo" >&5
-# Run test in a subshell; some versions of sh will print an error if
-# an executable is not found, even if stderr is redirected.
-# Redirect stdin to placate older versions of autoconf. Sigh.
-if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
- MAKEINFO=makeinfo
- echo "$ac_t""found" 1>&6
-else
- MAKEINFO="$missing_dir/missing makeinfo"
- echo "$ac_t""missing" 1>&6
+# Check whether --with-cross-host or --without-cross-host was given.
+if test "${with_cross_host+set}" = set; then
+ withval="$with_cross_host"
+ :
fi
+ glibcpp_basedir=$srcdir/$toprel/./libstdc++-v3
+
# Never versions of autoconf add an underscore to these functions.
# Prevent future problems ...
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1045: checking for $ac_word" >&5
+echo "configure:1136: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1075: checking for $ac_word" >&5
+echo "configure:1166: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
-echo "configure:1124: checking whether we are using GNU C" >&5
+echo "configure:1215: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
yes;
#endif
EOF
-if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1133: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
-echo "configure:1148: checking whether ${CC-cc} accepts -g" >&5
+echo "configure:1239: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-# Use CXX_libstdcxx so that we do not cause CXX to be cached with the
+# Use glibcpp_CXX so that we do not cause CXX to be cached with the
# flags that come in CXX while configuring libstdc++. They're different
# from those used for all other target libraries. If CXX is set in
# the environment, respect that here.
-CXX_libstdcxx=$CXX
+glibcpp_CXX=$CXX
for ac_prog in $CCC c++ g++ gcc CC cxx cc++
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1193: checking for $ac_word" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_CXX_libstdcxx'+set}'`\" = set"; then
+echo "configure:1284: checking for $ac_word" >&5
+if eval "test \"`echo '$''{'ac_cv_prog_glibcpp_CXX'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- if test -n "$CXX_libstdcxx"; then
- ac_cv_prog_CXX_libstdcxx="$CXX_libstdcxx" # Let the user override the test.
+ if test -n "$glibcpp_CXX"; then
+ ac_cv_prog_glibcpp_CXX="$glibcpp_CXX" # Let the user override the test.
else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
ac_dummy="$PATH"
for ac_dir in $ac_dummy; do
test -z "$ac_dir" && ac_dir=.
if test -f $ac_dir/$ac_word; then
- ac_cv_prog_CXX_libstdcxx="$ac_prog"
+ ac_cv_prog_glibcpp_CXX="$ac_prog"
break
fi
done
IFS="$ac_save_ifs"
fi
fi
-CXX_libstdcxx="$ac_cv_prog_CXX_libstdcxx"
-if test -n "$CXX_libstdcxx"; then
- echo "$ac_t""$CXX_libstdcxx" 1>&6
+glibcpp_CXX="$ac_cv_prog_glibcpp_CXX"
+if test -n "$glibcpp_CXX"; then
+ echo "$ac_t""$glibcpp_CXX" 1>&6
else
echo "$ac_t""no" 1>&6
fi
-test -n "$CXX_libstdcxx" && break
+test -n "$glibcpp_CXX" && break
done
-test -n "$CXX_libstdcxx" || CXX_libstdcxx="gcc"
+test -n "$glibcpp_CXX" || glibcpp_CXX="gcc"
-CXX=$CXX_libstdcxx
-test -z "$CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
+CXX=$glibcpp_CXX
+test -z "$glibcpp_CXX" && { echo "configure: error: no acceptable c++ found in \$PATH" 1>&2; exit 1; }
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
-echo "configure:1228: checking whether we are using GNU C++" >&5
+echo "configure:1319: checking whether we are using GNU C++" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
yes;
#endif
EOF
-if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1237: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
+if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gxx=yes
else
ac_cv_prog_gxx=no
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS=
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
-echo "configure:1252: checking whether ${CXX-g++} accepts -g" >&5
+echo "configure:1343: checking whether ${CXX-g++} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
+ # For some reason, gettext needs this.
+ echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
+echo "configure:1373: checking for POSIXized ISC" >&5
+if test -d /etc/conf/kconfig.d &&
+ grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
+then
+ echo "$ac_t""yes" 1>&6
+ ISC=yes # If later tests want to check for ISC.
+ cat >> confdefs.h <<\EOF
+#define _POSIX_SOURCE 1
+EOF
+
+ if test "$GCC" = yes; then
+ CC="$CC -posix"
+ else
+ CC="$CC -Xp"
+ fi
+else
+ echo "$ac_t""no" 1>&6
+ ISC=
+fi
+
+
# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
set dummy ${ac_tool_prefix}as; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1283: checking for $ac_word" >&5
+echo "configure:1397: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1315: checking for $ac_word" >&5
+echo "configure:1429: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1347: checking for $ac_word" >&5
+echo "configure:1461: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:1379: checking for $ac_word" >&5
+echo "configure:1493: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
fi
done
IFS="$ac_save_ifs"
- test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
+ test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB="ranlib-not-found-in-path-error"
fi
fi
RANLIB="$ac_cv_prog_RANLIB"
fi
else
- RANLIB=":"
+ RANLIB="ranlib-not-found-in-path-error"
fi
fi
-
# Find a good install program. We prefer a C program (faster),
# so one script is as good as another. But avoid the broken or
# incompatible versions:
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
-echo "configure:1424: checking for a BSD compatible install" >&5
+echo "configure:1537: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
-echo "configure:1478: checking whether to enable maintainer-specific portions of Makefiles" >&5
+echo "configure:1591: checking whether to enable maintainer-specific portions of Makefiles" >&5
# Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
if test "${enable_maintainer_mode+set}" = set; then
enableval="$enable_maintainer_mode"
# automake happy, but we dont execute it, since we dont care about
# the result.
if false; then
+ # autoconf 2.50 runs AC_EXEEXT by default, and the macro expands
+ # to nothing, so nothing would remain between `then' and `fi' if it
+ # were not for the `:' below.
+ :
echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
-echo "configure:1512: checking for executable suffix" >&5
+echo "configure:1629: checking for executable suffix" >&5
if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
rm -f conftest*
echo 'int main () { return 0; }' > conftest.$ac_ext
ac_cv_exeext=
- if { (eval echo configure:1522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
+ if { (eval echo configure:1639: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
for file in conftest.*; do
case $file in
*.c | *.o | *.obj) ;;
fi
- # configure.host sets the following important variables
- # glibcpp_cflags - host specific C compiler flags
- # glibcpp_cxxflags - host specific C++ compiler flags
- glibcpp_cflags=
- glibcpp_cxxflags=
-
. ${glibcpp_basedir}/configure.host
case ${glibcpp_basedir} in
esac
# This does for the target what configure.host does for the host. In
- # addition to modifying the same flags, it also sets up symlinks.
+ # addition to possibly modifying the same flags, it also sets up symlinks.
. ${glibcpp_basedir}/configure.target
echo "$ac_t""CPU config directory is $cpu_include_dir" 1>&6
echo "$ac_t""OS config directory is $os_include_dir" 1>&6
-
- GLIBCPP_CFLAGS="${glibcpp_cflags}"
- GLIBCPP_CXXFLAGS="${glibcpp_cxxflags}"
-
-
+ #
if test "${enable_shared+set}" = set; then
enableval="$enable_shared"
p=${PACKAGE-default}
-case "$enableval" in
+case $enableval in
yes) enable_shared=yes ;;
no) enable_shared=no ;;
*)
if test "${enable_static+set}" = set; then
enableval="$enable_static"
p=${PACKAGE-default}
-case "$enableval" in
+case $enableval in
yes) enable_static=yes ;;
no) enable_static=no ;;
*)
if test "${enable_fast_install+set}" = set; then
enableval="$enable_fast_install"
p=${PACKAGE-default}
-case "$enableval" in
+case $enableval in
yes) enable_fast_install=yes ;;
no) enable_fast_install=no ;;
*)
fi
ac_prog=ld
-if test "$ac_cv_prog_gcc" = yes; then
+if test "$GCC" = yes; then
# Check if gcc -print-prog-name=ld gives a path.
echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
-echo "configure:1654: checking for ld used by GCC" >&5
+echo "configure:1761: checking for ld used by GCC" >&5
case $host in
*-*-mingw*)
# gcc leaves a trailing carriage return which upsets mingw
*)
ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
esac
- case "$ac_prog" in
+ case $ac_prog in
# Accept absolute paths.
[\\/]* | [A-Za-z]:[\\/]*)
re_direlt='/[^/][^/]*/\.\./'
esac
elif test "$with_gnu_ld" = yes; then
echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
-echo "configure:1684: checking for GNU ld" >&5
+echo "configure:1791: checking for GNU ld" >&5
else
echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
-echo "configure:1687: checking for non-GNU ld" >&5
+echo "configure:1794: checking for non-GNU ld" >&5
fi
-if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
+if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -z "$LD"; then
for ac_dir in $PATH; do
test -z "$ac_dir" && ac_dir=.
if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
- ac_cv_path_LD="$ac_dir/$ac_prog"
+ lt_cv_path_LD="$ac_dir/$ac_prog"
# Check to see if the program is GNU ld. I'd rather use --version,
# but apparently some GNU ld's only accept -v.
# Break only if it was the GNU/non-GNU ld that we prefer.
- if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
+ if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
test "$with_gnu_ld" != no && break
else
test "$with_gnu_ld" != yes && break
done
IFS="$ac_save_ifs"
else
- ac_cv_path_LD="$LD" # Let the user override the test with a path.
+ lt_cv_path_LD="$LD" # Let the user override the test with a path.
fi
fi
-LD="$ac_cv_path_LD"
+LD="$lt_cv_path_LD"
if test -n "$LD"; then
echo "$ac_t""$LD" 1>&6
else
fi
test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
-echo "configure:1722: checking if the linker ($LD) is GNU ld" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
+echo "configure:1829: checking if the linker ($LD) is GNU ld" >&5
+if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# I'd rather use --version here, but apparently some GNU ld's only accept -v.
if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
- ac_cv_prog_gnu_ld=yes
+ lt_cv_prog_gnu_ld=yes
else
- ac_cv_prog_gnu_ld=no
+ lt_cv_prog_gnu_ld=no
fi
fi
-echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
-with_gnu_ld=$ac_cv_prog_gnu_ld
+echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
+with_gnu_ld=$lt_cv_prog_gnu_ld
echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
-echo "configure:1739: checking for $LD option to reload object files" >&5
+echo "configure:1846: checking for $LD option to reload object files" >&5
if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
test -n "$reload_flag" && reload_flag=" $reload_flag"
echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
-echo "configure:1751: checking for BSD-compatible nm" >&5
-if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
+echo "configure:1858: checking for BSD-compatible nm" >&5
+if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
if test -n "$NM"; then
# Let the user override the test.
- ac_cv_path_NM="$NM"
+ lt_cv_path_NM="$NM"
else
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
# nm: unknown option "B" ignored
# Tru64's nm complains that /dev/null is an invalid object file
if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
- ac_cv_path_NM="$tmp_nm -B"
+ lt_cv_path_NM="$tmp_nm -B"
break
elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
- ac_cv_path_NM="$tmp_nm -p"
+ lt_cv_path_NM="$tmp_nm -p"
break
else
- ac_cv_path_NM=${ac_cv_path_NM="$tmp_nm"} # keep the first match, but
+ lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
continue # so that we can try to find one that supports BSD flags
fi
fi
done
IFS="$ac_save_ifs"
- test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
+ test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
fi
fi
-NM="$ac_cv_path_NM"
+NM="$lt_cv_path_NM"
echo "$ac_t""$NM" 1>&6
-echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
-echo "configure:1789: checking whether ln -s works" >&5
-if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- rm -f conftestdata
-if ln -s X conftestdata 2>/dev/null
-then
- rm -f conftestdata
- ac_cv_prog_LN_S="ln -s"
-else
- ac_cv_prog_LN_S=ln
-fi
-fi
-LN_S="$ac_cv_prog_LN_S"
-if test "$ac_cv_prog_LN_S" = "ln -s"; then
- echo "$ac_t""yes" 1>&6
-else
- echo "$ac_t""no" 1>&6
-fi
-
-echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
-echo "configure:1810: checking how to recognise dependant libraries" >&5
-if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
+echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
+echo "configure:1896: checking how to recognise dependant libraries" >&5
+if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
lt_cv_file_magic_cmd='$MAGIC_CMD'
# If you have `file' or equivalent on your system and you're not sure
# whether `pass_all' will *always* work, you probably want this one.
-case "$host_os" in
-aix4*)
+case $host_os in
+aix*)
lt_cv_deplibs_check_method=pass_all
;;
;;
bsdi4*)
- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
- lt_cv_file_magic_cmd='/usr/bin/file -L'
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
lt_cv_file_magic_test_file=/shlib/libc.so
;;
lt_cv_file_magic_cmd='$OBJDUMP -f'
;;
+darwin* | rhapsody*)
+ lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
+ lt_cv_file_magic_cmd='/usr/bin/file -L'
+ case "$host_os" in
+ rhapsody* | darwin1.012)
+ lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
+ ;;
+ *) # Darwin 1.3 on
+ lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
+ ;;
+ esac
+ ;;
+
freebsd* )
if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
- case "$host_cpu" in
+ case $host_cpu in
i*86 )
# Not sure whether the presence of OpenBSD here was a mistake.
# Let's accept both of them until this is cleared up.
- lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
- lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
+ lt_cv_file_magic_cmd=/usr/bin/file
lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
;;
esac
lt_cv_deplibs_check_method=pass_all
;;
-hpux10.20*)
- # TODO: Does this work for hpux-11 too?
- lt_cv_deplibs_check_method='file_magic (s0-90-90-9|PA-RISC0-9.0-9) shared library'
+hpux10.20*|hpux11*)
+ lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
lt_cv_file_magic_cmd=/usr/bin/file
lt_cv_file_magic_test_file=/usr/lib/libc.sl
;;
irix5* | irix6*)
- case "$host_os" in
+ case $host_os in
irix5*)
# this will be overridden with pass_all, but let us keep it just in case
lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
;;
*)
- case "$LD" in
+ case $LD in
*-32|*"-32 ") libmagic=32-bit;;
*-n32|*"-n32 ") libmagic=N32;;
*-64|*"-64 ") libmagic=64-bit;;
*) libmagic=never-match;;
esac
# this will be overridden with pass_all, but let us keep it just in case
- lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
- ;;
+ lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
+ ;;
esac
lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
lt_cv_deplibs_check_method=pass_all
# This must be Linux ELF.
linux-gnu*)
- case "$host_cpu" in
- alpha* | i*86 | powerpc* | sparc* | ia64* )
+ case $host_cpu in
+ alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
lt_cv_deplibs_check_method=pass_all ;;
*)
# glibc up to 2.1.1 does not perform some relocations on ARM
- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
- esac
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+ esac
lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
;;
netbsd*)
- if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then :
+ if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
+ lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
else
- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
- lt_cv_file_magic_cmd='/usr/bin/file -L'
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
fi
;;
+newsos6)
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
+ lt_cv_file_magic_cmd=/usr/bin/file
+ lt_cv_file_magic_test_file=/usr/lib/libnls.so
+ ;;
+
osf3* | osf4* | osf5*)
# this will be overridden with pass_all, but let us keep it just in case
lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
lt_cv_file_magic_test_file=/lib/libc.so
;;
+sysv5uw[78]* | sysv4*uw2*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
- case "$host_vendor" in
+ case $host_vendor in
ncr)
lt_cv_deplibs_check_method=pass_all
;;
motorola)
- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
- lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
;;
esac
;;
deplibs_check_method=$lt_cv_deplibs_check_method
echo $ac_n "checking for object suffix""... $ac_c" 1>&6
-echo "configure:1953: checking for object suffix" >&5
+echo "configure:2060: checking for object suffix" >&5
if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
rm -f conftest*
echo 'int i = 1;' > conftest.$ac_ext
-if { (eval echo configure:1959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:2066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
for ac_file in conftest.*; do
case $ac_file in
*.c) ;;
# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
# Only perform the check for file, if the check method requires it
-case "$deplibs_check_method" in
+case $deplibs_check_method in
file_magic*)
if test "$file_magic_cmd" = '$MAGIC_CMD'; then
echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
-echo "configure:1983: checking for ${ac_tool_prefix}file" >&5
+echo "configure:2090: checking for ${ac_tool_prefix}file" >&5
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- case "$MAGIC_CMD" in
+ case $MAGIC_CMD in
/*)
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
;;
if test -f $ac_dir/${ac_tool_prefix}file; then
lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
if test -n "$file_magic_test_file"; then
- case "$deplibs_check_method" in
+ case $deplibs_check_method in
"file_magic "*)
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
if test -z "$lt_cv_path_MAGIC_CMD"; then
if test -n "$ac_tool_prefix"; then
echo $ac_n "checking for file""... $ac_c" 1>&6
-echo "configure:2045: checking for file" >&5
+echo "configure:2152: checking for file" >&5
if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- case "$MAGIC_CMD" in
+ case $MAGIC_CMD in
/*)
lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
;;
if test -f $ac_dir/file; then
lt_cv_path_MAGIC_CMD="$ac_dir/file"
if test -n "$file_magic_test_file"; then
- case "$deplibs_check_method" in
+ case $deplibs_check_method in
"file_magic "*)
file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2116: checking for $ac_word" >&5
+echo "configure:2223: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2148: checking for $ac_word" >&5
+echo "configure:2255: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
set dummy ${ac_tool_prefix}strip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2183: checking for $ac_word" >&5
+echo "configure:2290: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
# Extract the first word of "strip", so it can be a program name with args.
set dummy strip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-echo "configure:2215: checking for $ac_word" >&5
+echo "configure:2322: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
-test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
-test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
+test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
+test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
libtool_flags="$libtool_flags --enable-dlopen"
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
# Some flags need to be propagated to the compiler or linker for good
# libtool support.
-case "$host" in
+case $host in
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 2282 "configure"' > conftest.$ac_ext
- if { (eval echo configure:2283: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- case "`/usr/bin/file conftest.o`" in
+ echo '#line 2389 "configure"' > conftest.$ac_ext
+ if { (eval echo configure:2390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ case `/usr/bin/file conftest.$ac_objext` in
*32-bit*)
LD="${LD-ld} -32"
;;
SAVE_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS -belf"
echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
-echo "configure:2304: checking whether the C compiler needs -belf" >&5
+echo "configure:2411: checking whether the C compiler needs -belf" >&5
if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cc_cross
cat > conftest.$ac_ext <<EOF
-#line 2317 "configure"
+#line 2424 "configure"
#include "confdefs.h"
int main() {
; return 0; }
EOF
-if { (eval echo configure:2324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2431: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
lt_cv_cc_needs_belf=yes
else
esac
echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
-echo "configure:2354: checking how to run the C++ preprocessor" >&5
+echo "configure:2461: checking how to run the C++ preprocessor" >&5
if test -z "$CXXCPP"; then
if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cross_compiling=$ac_cv_prog_cxx_cross
CXXCPP="${CXX-g++} -E"
cat > conftest.$ac_ext <<EOF
-#line 2367 "configure"
+#line 2474 "configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
-
LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
lt_save_CC="$CC"
lt_save_CFLAGS="$CFLAGS"
AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
-MAGIC_CMD="$MAGIC_CMD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
+MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
# clobbered by the next message.
exec 5>>./config.log
-
+
+# Check for c++ or library specific bits that don't require linking.
+#GLIBCPP_CHECK_COMPILER_VERSION
echo $ac_n "checking for GNU make""... $ac_c" 1>&6
-echo "configure:2509: checking for GNU make" >&5
+echo "configure:2617: checking for GNU make" >&5
if eval "test \"`echo '$''{'_cv_gnu_make_command'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
_cv_gnu_make_command='' ;
- for a in "${MAKE:-make}" make gmake gnumake ; do
+ for a in "${MAKE-make}" make gmake gnumake ; do
if ( $a --version 2> /dev/null | grep -c GNU > /dev/null )
then
_cv_gnu_make_command=$a ;
fi
- if test "x$_cv_gnu_make_command" = "x"; then
- { echo "configure: error: GNU make not found. Please install it or correct your path." 1>&2; exit 1; }
- fi
-
-
-
-
-# Check for c++ or library specific bits that don't require linking.
-
-if test ! -f stamp-sanity-compiler; then
- echo $ac_n "checking for g++ that will successfully compile libstdc++-v3""... $ac_c" 1>&6
-echo "configure:2543: checking for g++ that will successfully compile libstdc++-v3" >&5
-
- ac_ext=C
-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cxx_cross
-
- cat > conftest.$ac_ext <<EOF
-#line 2553 "configure"
-#include "confdefs.h"
-
- #if (__GNUC__ > 2) || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
- ok
- #endif
-
-EOF
-if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "ok" >/dev/null 2>&1; then
- rm -rf conftest*
- gpp_satisfactory=yes
-else
- rm -rf conftest*
- { echo "configure: error: please upgrade to gcc-2.95 or above" 1>&2; exit 1; }
-fi
-rm -f conftest*
-
- ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
-
- echo "$ac_t""$gpp_satisfactory" 1>&6
- touch stamp-sanity-compiler
-fi
-
-# Enable all the crazy c++ stuff. C_MBCHAR must come early.
+# Enable all the variable C++ stuff. C_MBCHAR must come early.
# Check whether --enable-debug or --disable-debug was given.
if test "${enable_debug+set}" = set; then
enableval="$enable_debug"
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
-echo "configure:2607: checking how to run the C preprocessor" >&5
+echo "configure:2665: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
CPP=
# On the NeXT, cc -E runs the code through the compiler's parser,
# not just through cpp.
cat > conftest.$ac_ext <<EOF
-#line 2622 "configure"
+#line 2680 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2628: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
rm -rf conftest*
CPP="${CC-cc} -E -traditional-cpp"
cat > conftest.$ac_ext <<EOF
-#line 2639 "configure"
+#line 2697 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2645: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2703: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
rm -rf conftest*
CPP="${CC-cc} -nologo -E"
cat > conftest.$ac_ext <<EOF
-#line 2656 "configure"
+#line 2714 "configure"
#include "confdefs.h"
#include <assert.h>
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
:
echo $ac_n "checking for cstdio to use""... $ac_c" 1>&6
-echo "configure:2688: checking for cstdio to use" >&5
+echo "configure:2746: checking for cstdio to use" >&5
# Check whether --enable-cstdio or --disable-cstdio was given.
if test "${enable_cstdio+set}" = set; then
enableval="$enable_cstdio"
case x${enable_cstdio_flag} in
xlibio)
- CSTDIO_H=config/c_io_libio.h
- CSTDIO_CC=config/c_io_libio.cc
+ CSTDIO_H=config/io/c_io_libio.h
+ BASIC_FILE_H=config/io/basic_file_libio.h
+ BASIC_FILE_CC=config/io/basic_file_libio.cc
echo "$ac_t""libio" 1>&6
# see if we are on a system with libio native (ie, linux)
ac_safe=`echo "libio.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for libio.h""... $ac_c" 1>&6
-echo "configure:2711: checking for libio.h" >&5
+echo "configure:2770: checking for libio.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 2716 "configure"
+#line 2775 "configure"
#include "confdefs.h"
#include <libio.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:2721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:2780: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
case "$target" in
*-*-linux*)
echo $ac_n "checking for glibc version >= 2.2""... $ac_c" 1>&6
-echo "configure:2751: checking for glibc version >= 2.2" >&5
+echo "configure:2810: checking for glibc version >= 2.2" >&5
cat > conftest.$ac_ext <<EOF
-#line 2753 "configure"
+#line 2812 "configure"
#include "confdefs.h"
#include <features.h>
;;
xstdio | x | xno | xnone | xyes)
# default
- CSTDIO_H=config/c_io_stdio.h
- CSTDIO_CC=config/c_io_stdio.cc
+ CSTDIO_H=config/io/c_io_stdio.h
+ BASIC_FILE_H=config/io/basic_file_stdio.h
+ BASIC_FILE_CC=config/io/basic_file_stdio.cc
echo "$ac_t""stdio" 1>&6
# We're not using stdio.
need_libio=no
need_wlibio=no
- # Wide characters are not supported with this package.
- enable_c_mbchar=no
;;
*)
echo "$enable_cstdio is an unknown io package" 1>&2
esac
+
# 2000-08-04 bkoz hack
- CCODECVT_C=config/c_io_libio_codecvt.c
+ CCODECVT_C=config/io/c_io_libio_codecvt.c
# 2000-08-04 bkoz hack
fi
+
+ echo $ac_n "checking for clocale to use""... $ac_c" 1>&6
+echo "configure:2926: checking for clocale to use" >&5
+ # Check whether --enable-clocale or --disable-clocale was given.
+if test "${enable_clocale+set}" = set; then
+ enableval="$enable_clocale"
+ if test x$enable_clocale = xno; then
+ enable_clocale=generic
+ fi
+else
+ enable_clocale=generic
+fi
+
+
+ enable_clocale_flag=$enable_clocale
+
+ case x${enable_clocale_flag} in
+ xgeneric)
+ echo "$ac_t""generic" 1>&6
+
+ # Don't use gettext.
+ USE_NLS=no
+
+ CLOCALE_H=config/locale/c_locale_generic.h
+ CLOCALE_CC=config/locale/c_locale_generic.cc
+ CCODECVT_H=config/locale/codecvt_specializations_generic.h
+ CCOLLATE_CC=config/locale/collate_members_generic.cc
+ CMESSAGES_H=config/locale/messages_members_generic.h
+ CMESSAGES_CC=config/locale/messages_members_generic.cc
+ CMONEY_CC=config/locale/moneypunct_members_generic.cc
+ CNUMERIC_CC=config/locale/numpunct_members_generic.cc
+ ;;
+ xgnu)
+ echo "$ac_t""gnu" 1>&6
+
+ # Declare intention to use gettext, and add support for specific
+ # languages.
+ # For some reason, ALL_LINGUAS has to be before AM_GNU_GETTEXT
+ ALL_LINGUAS="de fr"
+ # Don't call AM_GNU_GETTEXT here. Instead, assume glibc.
+ # Need to deal with MSGFMT, USE_NLS, and glibcpp_[P,M]OFILES
+ USE_NLS=yes
+
+ # Export the build objects.
+ for ling in $ALL_LINGUAS; do \
+ glibcpp_MOFILES="$glibcpp_MOFILES $ling.mo"; \
+ glibcpp_POFILES="$glibcpp_POFILES $ling.po"; \
+ done
+
+
+
+ CLOCALE_H=config/locale/c_locale_gnu.h
+ CLOCALE_CC=config/locale/c_locale_gnu.cc
+ CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
+ CCOLLATE_CC=config/locale/collate_members_gnu.cc
+ CMESSAGES_H=config/locale/messages_members_gnu.h
+ CMESSAGES_CC=config/locale/messages_members_gnu.cc
+ CMONEY_CC=config/locale/moneypunct_members_gnu.cc
+ CNUMERIC_CC=config/locale/numpunct_members_gnu.cc
+ ;;
+ xieee_1003.1)
+ echo "$ac_t""generic" 1>&6
+
+ # Don't use gettext.
+ USE_NLS=no
+
+ CLOCALE_H=config/locale/c_locale_ieee_1003.1-200x.h
+ CLOCALE_CC=config/locale/c_locale_ieee_1003.1-200x.cc
+ CCODECVT_H=config/locale/codecvt_specializations_ieee_1003.1-200x.h
+ CCOLLATE_CC=config/locale/collate_members_generic.cc
+ CMESSAGES_H=config/locale/messages_members_ieee_1003.1-200x.h
+ CMESSAGES_CC=config/locale/messages_members_ieee_1003.1-200x.cc
+ CMONEY_CC=config/locale/moneypunct_members_generic.cc
+ CNUMERIC_CC=config/locale/numpunct_members_generic.cc
+ ;;
+ *)
+ echo "$enable_clocale is an unknown locale package" 1>&2
+ exit 1
+ ;;
+ esac
+
+ # This is where the testsuite looks for locale catalogs, using the
+ # -DLOCALEDIR define during testsuite compilation.
+ glibcpp_localedir=${glibcpp_builddir}/po/share/locale
+
+
+
+
+
+
+
+
+
+
+
+
# Check whether --enable-c-mbchar or --disable-c-mbchar was given.
if test "${enable_c_mbchar+set}" = set; then
enableval="$enable_c_mbchar"
fi
- # Check whether --enable-long-long or --disable-long-long was given.
-if test "${enable_long_long+set}" = set; then
- enableval="$enable_long_long"
+ # Check whether --enable-c99 or --disable-c99 was given.
+if test "${enable_c99+set}" = set; then
+ enableval="$enable_c99"
case "$enableval" in
- yes) enable_long_long=yes ;;
- no) enable_long_long=no ;;
- *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
+ yes) enable_c99=yes ;;
+ no) enable_c99=no ;;
+ *) { echo "configure: error: Unknown argument to enable/disable C99" 1>&2; exit 1; } ;;
esac
else
- enable_long_long=no
+ enable_c99=yes
fi
- # Allow use of os-dependent settings, so that macros that turn on
- # C99 capabilities can be defined and used in a consistent way.
- OS_INC_PATH=${srcdir}/$os_include_dir
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS="-I$OS_INC_PATH"
+
+ ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
- # Check for the existence of functions used if long long is enabled.
- echo $ac_n "checking for strtoll""... $ac_c" 1>&6
-echo "configure:2899: checking for strtoll" >&5
-if eval "test \"`echo '$''{'ac_cv_func_strtoll'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
+
+ # Check for the existence of <math.h> functions used if C99 is enabled.
+ ac_c99_math=yes;
+ echo $ac_n "checking for ISO C99 support in <math.h>""... $ac_c" 1>&6
+echo "configure:3057: checking for ISO C99 support in <math.h>" >&5
cat > conftest.$ac_ext <<EOF
-#line 2904 "configure"
+#line 3059 "configure"
#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char strtoll(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char strtoll();
-
+#include <math.h>
int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_strtoll) || defined (__stub___strtoll)
-choke me
-#else
-strtoll();
-#endif
-
+fpclassify(0.0);
; return 0; }
EOF
-if { (eval echo configure:2927: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_strtoll=yes"
+if { (eval echo configure:3066: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- eval "ac_cv_func_strtoll=no"
+ ac_c99_math=no
fi
rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'strtoll`\" = yes"; then
- echo "$ac_t""yes" 1>&6
+ cat > conftest.$ac_ext <<EOF
+#line 3076 "configure"
+#include "confdefs.h"
+#include <math.h>
+int main() {
+isfinite(0.0);
+; return 0; }
+EOF
+if { (eval echo configure:3083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
:
else
- echo "$ac_t""no" 1>&6
-ac_strtoll=no
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_math=no
fi
-
- echo $ac_n "checking for strtoull""... $ac_c" 1>&6
-echo "configure:2948: checking for strtoull" >&5
-if eval "test \"`echo '$''{'ac_cv_func_strtoull'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
+rm -f conftest*
cat > conftest.$ac_ext <<EOF
-#line 2953 "configure"
+#line 3093 "configure"
#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char strtoull(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char strtoull();
-
+#include <math.h>
int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_strtoull) || defined (__stub___strtoull)
-choke me
-#else
-strtoull();
-#endif
-
+isinf(0.0);
; return 0; }
EOF
-if { (eval echo configure:2976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_strtoull=yes"
+if { (eval echo configure:3100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- eval "ac_cv_func_strtoull=no"
+ ac_c99_math=no
fi
rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3110 "configure"
+#include "confdefs.h"
+#include <math.h>
+int main() {
+isnan(0.0);
+; return 0; }
+EOF
+if { (eval echo configure:3117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_math=no
fi
-
-if eval "test \"`echo '$ac_cv_func_'strtoull`\" = yes"; then
- echo "$ac_t""yes" 1>&6
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3127 "configure"
+#include "confdefs.h"
+#include <math.h>
+int main() {
+isnormal(0.0);
+; return 0; }
+EOF
+if { (eval echo configure:3134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
:
else
- echo "$ac_t""no" 1>&6
-ac_strtoull=no
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_math=no
fi
-
-
- # Check for lldiv_t, et. al.
- echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
-echo "configure:2999: checking for lldiv_t declaration" >&5
- if eval "test \"`echo '$''{'glibcpp_lldiv_t_use'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3144 "configure"
+#include "confdefs.h"
+#include <math.h>
+int main() {
+signbit(0.0);
+; return 0; }
+EOF
+if { (eval echo configure:3151: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
else
-
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_math=no
+fi
+rm -f conftest*
cat > conftest.$ac_ext <<EOF
-#line 3005 "configure"
+#line 3161 "configure"
#include "confdefs.h"
-#include <bits/os_defines.h>
- #include <stdlib.h>
+#include <math.h>
int main() {
- lldiv_t mydivt;
+isgreater(0.0,0.0);
; return 0; }
EOF
-if { (eval echo configure:3013: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:3168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_lldiv_t_use=yes
+ ac_c99_math=no
+fi
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3178 "configure"
+#include "confdefs.h"
+#include <math.h>
+int main() {
+isgreaterequal(0.0,0.0);
+; return 0; }
+EOF
+if { (eval echo configure:3185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_lldiv_t_use=no
+ ac_c99_math=no
fi
rm -f conftest*
-
+ cat > conftest.$ac_ext <<EOF
+#line 3195 "configure"
+#include "confdefs.h"
+#include <math.h>
+int main() {
+isless(0.0,0.0);
+; return 0; }
+EOF
+if { (eval echo configure:3202: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_math=no
fi
-
- echo "$ac_t""$glibcpp_lldiv_t_use" 1>&6
- if test x$glibcpp_lldiv_t_use = x"yes"; then
- cat >> confdefs.h <<\EOF
-#define HAVE_LLDIV_T 1
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3212 "configure"
+#include "confdefs.h"
+#include <math.h>
+int main() {
+islessequal(0.0,0.0);
+; return 0; }
EOF
-
- fi
-
- echo $ac_n "checking for enabled long long""... $ac_c" 1>&6
-echo "configure:3035: checking for enabled long long" >&5
- if test x"$ac_strtoll" = xno || test x"$ac_strtoull" = xno; then
- enable_long_long=no;
- fi;
- echo "$ac_t""$enable_long_long" 1>&6
-
- # Option parsed, now set things appropriately
- if test x"$enable_long_long" = xyes; then
- cat >> confdefs.h <<\EOF
-#define _GLIBCPP_USE_LONG_LONG 1
+if { (eval echo configure:3219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_math=no
+fi
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3229 "configure"
+#include "confdefs.h"
+#include <math.h>
+int main() {
+islessgreater(0.0,0.0);
+; return 0; }
EOF
-
- fi
-
- # Reset CFLAGS
- CFLAGS="$ac_save_CFLAGS"
-
-echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
-echo "configure:3053: checking for c header strategy to use" >&5
-# Check whether --enable-cheaders or --disable-cheaders was given.
-if test "${enable_cheaders+set}" = set; then
- enableval="$enable_cheaders"
-
- case "$enableval" in
- c)
- enable_cheaders=c
- ;;
- c_std)
- enable_cheaders=c_std
- ;;
- c_shadow)
- enable_cheaders=c_shadow
- ;;
- *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
- ;;
- esac
+if { (eval echo configure:3236: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
else
- enable_cheaders=c_std
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_math=no
fi
-
- echo "$ac_t""$enable_cheaders" 1>&6
-
- case "$enable_cheaders" in
- c_shadow)
- CSHADOW_FLAGS="-fno-builtin"
- C_INCLUDE_DIR='${top_srcdir}/include/c_shadow'
- cat >> confdefs.h <<\EOF
-#define _GLIBCPP_USE_SHADOW_HEADERS 1
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3246 "configure"
+#include "confdefs.h"
+#include <math.h>
+int main() {
+isunordered(0.0,0.0);
+; return 0; }
EOF
-
- ;;
- c_std)
- CSHADOW_FLAGS=""
- C_INCLUDE_DIR='${top_srcdir}/include/c_std'
- ;;
- c)
- CSHADOW_FLAGS=""
- C_INCLUDE_DIR='${top_srcdir}/include/c'
- ;;
- esac
-
-
-
-
-
-if test "$enable_cheaders" = c_shadow; then
- GLIBCPP_USE_CSHADOW_TRUE=
- GLIBCPP_USE_CSHADOW_FALSE='#'
+if { (eval echo configure:3253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
else
- GLIBCPP_USE_CSHADOW_TRUE='#'
- GLIBCPP_USE_CSHADOW_FALSE=
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_math=no
fi
+rm -f conftest*
+ echo "$ac_t""$ac_c99_math" 1>&6
-
- echo $ac_n "checking for threads package to use""... $ac_c" 1>&6
-echo "configure:3110: checking for threads package to use" >&5
- # Check whether --enable-threads or --disable-threads was given.
-if test "${enable_threads+set}" = set; then
- enableval="$enable_threads"
- if test x$enable_threads = xno; then
- enable_threads=''
- fi
+ # Check for the existence in <stdio.h> of vscanf, et. al.
+ ac_c99_stdio=yes;
+ echo $ac_n "checking for ISO C99 support in <stdio.h>""... $ac_c" 1>&6
+echo "configure:3267: checking for ISO C99 support in <stdio.h>" >&5
+ cat > conftest.$ac_ext <<EOF
+#line 3269 "configure"
+#include "confdefs.h"
+#include <stdio.h>
+int main() {
+snprintf("12", 0, "%i");
+; return 0; }
+EOF
+if { (eval echo configure:3276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
else
- enable_threads=''
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_stdio=no
fi
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3286 "configure"
+#include "confdefs.h"
+#include <stdio.h>
+ #include <stdarg.h>
+ void foo(char* fmt, ...)
+ {va_list args; va_start(args, fmt);
+ vfscanf(stderr, "%i", args);}
+int main() {
-
- enable_threads_flag=$enable_threads
-
- case x${enable_threads_flag} in
- x | xno | xnone)
- # No threads
- target_thread_file='single'
- ;;
- xyes)
- # default
- target_thread_file='posix'
- ;;
- xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
- xsolaris | xwin32 | xdce | xvxworks)
- target_thread_file=$enable_threads_flag
- ;;
- *)
- echo "$enable_threads is an unknown thread package" 1>&2
- exit 1
- ;;
- esac
-
- THREADH=
- case "$target_thread_file" in
- no | none | single)
- THREADH=threads-no.h
- ;;
- posix | pthreads)
- THREADH=threads-posix.h
- ;;
- decosf1 | irix | mach | os2 | solaris | win32 | dce | vxworks)
- { echo "configure: error: thread package $THREADS not yet supported" 1>&2; exit 1; }
- ;;
- *)
- { echo "configure: error: $THREADS is an unsupported/unknown thread package" 1>&2; exit 1; }
- ;;
- esac
- echo "$ac_t""$THREADH" 1>&6
-
-
- if test $THREADH != threads-no.h; then
- cat >> confdefs.h <<\EOF
-#define _GLIBCPP_USE_THREADS 1
+; return 0; }
EOF
-
- fi
-
-# Check whether --enable-cxx-flags or --disable-cxx-flags was given.
-if test "${enable_cxx_flags+set}" = set; then
- enableval="$enable_cxx_flags"
- case "x$enableval" in
- xyes)
- { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
- xno|x)
- enable_cxx_flags='' ;;
- *)
- enable_cxx_flags="$enableval" ;;
- esac
+if { (eval echo configure:3297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
else
- enable_cxx_flags='none'
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_stdio=no
fi
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3307 "configure"
+#include "confdefs.h"
+#include <stdio.h>
+ #include <stdarg.h>
+ void foo(char* fmt, ...)
+ {va_list args; va_start(args, fmt);
+ vscanf("%i", args);}
+int main() {
-
-if test "$enable_cxx_flags" = "none"; then
- enable_cxx_flags='';
+; return 0; }
+EOF
+if { (eval echo configure:3318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_stdio=no
fi
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3328 "configure"
+#include "confdefs.h"
+#include <stdio.h>
+ #include <stdarg.h>
+ void foo(char* fmt, ...)
+ {va_list args; va_start(args, fmt);
+ vsnprintf(fmt, 0, "%i", args);}
+int main() {
-if test -n "$enable_cxx_flags"; then
- for f in $enable_cxx_flags; do
- case "$f" in
- -fhonor-std) ;;
- -*) ;;
- *) # and we're trying to pass /what/ exactly?
- { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
- esac
- done
+; return 0; }
+EOF
+if { (eval echo configure:3339: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_stdio=no
fi
-EXTRA_CXX_FLAGS="$enable_cxx_flags"
-
-
-
-if test -n "$with_cross_host"; then
-
- # We are being configured with a cross compiler. AC_REPLACE_FUNCS
- # may not work correctly, because the compiler may not be able to
- # link executables.
- xcompiling=1
- NATIVE=no
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3349 "configure"
+#include "confdefs.h"
+#include <stdio.h>
+ #include <stdarg.h>
+ void foo(char* fmt, ...)
+ {va_list args; va_start(args, fmt);
+ vsscanf(fmt, "%i", args);}
+int main() {
- # If Canadian cross, then don't pick up tools from the build
- # directory.
- if test x"$build" != x"$with_cross_host" && x"$build" != x"$target"; then
- CANADIAN=yes
- NULL_TARGET=yes
- else
- CANADIAN=no
- NULL_TARGET=no
- fi
+; return 0; }
+EOF
+if { (eval echo configure:3360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_stdio=no
+fi
+rm -f conftest*
+ echo "$ac_t""$ac_c99_stdio" 1>&6
- case "$target_alias" in
- *-linux*)
- # Construct linux crosses by hand, eliminating bits that need ld...
- # Check for available headers.
- for ac_hdr in 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
-do
-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:3230: checking for $ac_hdr" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ # Check for the existence in <stdlib.h> of lldiv_t, et. al.
+ ac_c99_stdlib=yes;
+ echo $ac_n "checking for lldiv_t declaration""... $ac_c" 1>&6
+echo "configure:3374: checking for lldiv_t declaration" >&5
+ if eval "test \"`echo '$''{'ac_c99_lldiv_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
+
cat > conftest.$ac_ext <<EOF
-#line 3235 "configure"
+#line 3380 "configure"
#include "confdefs.h"
-#include <$ac_hdr>
+#include <stdlib.h>
+int main() {
+ lldiv_t mydivt;
+; return 0; }
EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3240: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
+if { (eval echo configure:3387: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
+ ac_c99_lldiv_t=yes
else
- echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
+ ac_c99_lldiv_t=no
fi
rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_hdr 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-done
-
-
- # GLIBCPP_CHECK_COMPILER_FEATURES
- WFMT_FLAGS='-fdiagnostics-show-location=once'
- SECTION_FLAGS='-ffunction-sections -fdata-sections'
-
-
-
- # If we're not using GNU ld, then there's no point in even trying these
- # tests. Check for that first. We should have already tested for gld
- # by now (in libtool), but require it now just to be safe...
- SECTION_LDFLAGS=''
- OPT_LDFLAGS=''
+fi
- # Set --gc-sections.
- if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
- # GNU ld it is! Joy and bunny rabbits!
-
- # All these tests are for C++; save the language and the compiler flags.
- # Need to do this so that g++ won't try to link in libstdc++
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS='-x c++ -Wl,--gc-sections'
+ echo "$ac_t""$ac_c99_lldiv_t" 1>&6
- # Check for -Wl,--gc-sections
- # XXX This test is broken at the moment, as symbols required for
- # linking are now in libsupc++ (not built yet.....). In addition,
- # this test has cored on solaris in the past. In addition,
- # --gc-sections doesn't really work at the moment (keeps on discarding
- # used sections, first .eh_frame and now some of the glibc sections for
- # iconv). Bzzzzt. Thanks for playing, maybe next time.
- echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
-echo "configure:3298: checking for ld that supports -Wl,--gc-sections" >&5
- if test "$cross_compiling" = yes; then
- ac_sectionLDflags=yes
-else
+ echo $ac_n "checking for ISO C99 support in <stdlib.h>""... $ac_c" 1>&6
+echo "configure:3403: checking for ISO C99 support in <stdlib.h>" >&5
cat > conftest.$ac_ext <<EOF
-#line 3303 "configure"
+#line 3405 "configure"
#include "confdefs.h"
-
- int main(void)
+#include <stdlib.h>
+int main() {
+char* tmp; strtof("gnu", &tmp);
+; return 0; }
+EOF
+if { (eval echo configure:3412: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_stdlib=no
+fi
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3422 "configure"
+#include "confdefs.h"
+#include <stdlib.h>
+int main() {
+char* tmp; strtold("gnu", &tmp);
+; return 0; }
+EOF
+if { (eval echo configure:3429: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_stdlib=no
+fi
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3439 "configure"
+#include "confdefs.h"
+#include <stdlib.h>
+int main() {
+char* tmp; strtoll("gnu", &tmp, 10);
+; return 0; }
+EOF
+if { (eval echo configure:3446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_stdlib=no
+fi
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3456 "configure"
+#include "confdefs.h"
+#include <stdlib.h>
+int main() {
+char* tmp; strtoull("gnu", &tmp, 10);
+; return 0; }
+EOF
+if { (eval echo configure:3463: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_stdlib=no
+fi
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3473 "configure"
+#include "confdefs.h"
+#include <stdlib.h>
+int main() {
+llabs(10);
+; return 0; }
+EOF
+if { (eval echo configure:3480: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_stdlib=no
+fi
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3490 "configure"
+#include "confdefs.h"
+#include <stdlib.h>
+int main() {
+lldiv(10,1);
+; return 0; }
+EOF
+if { (eval echo configure:3497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_stdlib=no
+fi
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3507 "configure"
+#include "confdefs.h"
+#include <stdlib.h>
+int main() {
+atoll("10");
+; return 0; }
+EOF
+if { (eval echo configure:3514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_stdlib=no
+fi
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3524 "configure"
+#include "confdefs.h"
+#include <stdlib.h>
+int main() {
+_Exit(0);
+; return 0; }
+EOF
+if { (eval echo configure:3531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_stdlib=no
+fi
+rm -f conftest*
+ if test x"$ac_c99_lldiv_t" = x"no"; then
+ ac_c99_stdlib=no;
+ fi;
+ echo "$ac_t""$ac_c99_stdlib" 1>&6
+
+ # Check for the existence of <wchar.h> functions used if C99 is enabled.
+ # XXX the wchar.h checks should be rolled into the general C99 bits.
+ ac_c99_wchar=yes;
+ echo $ac_n "checking for additional ISO C99 support in <wchar.h>""... $ac_c" 1>&6
+echo "configure:3549: checking for additional ISO C99 support in <wchar.h>" >&5
+ cat > conftest.$ac_ext <<EOF
+#line 3551 "configure"
+#include "confdefs.h"
+#include <wchar.h>
+int main() {
+wcstold(L"10.0", NULL);
+; return 0; }
+EOF
+if { (eval echo configure:3558: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_wchar=no
+fi
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3568 "configure"
+#include "confdefs.h"
+#include <wchar.h>
+int main() {
+wcstoll(L"10", NULL, 10);
+; return 0; }
+EOF
+if { (eval echo configure:3575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_wchar=no
+fi
+rm -f conftest*
+ cat > conftest.$ac_ext <<EOF
+#line 3585 "configure"
+#include "confdefs.h"
+#include <wchar.h>
+int main() {
+wcstoull(L"10", NULL, 10);
+; return 0; }
+EOF
+if { (eval echo configure:3592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ :
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_c99_wchar=no
+fi
+rm -f conftest*
+ echo "$ac_t""$ac_c99_wchar" 1>&6
+
+ echo $ac_n "checking for enabled ISO C99 support""... $ac_c" 1>&6
+echo "configure:3604: checking for enabled ISO C99 support" >&5
+ if test x"$ac_c99_math" = x"no" ||
+ test x"$ac_c99_stdio" = x"no" ||
+ test x"$ac_c99_stdlib" = x"no" ||
+ test x"$ac_c99_wchar" = x"no"; then
+ enable_c99=no;
+ fi;
+ echo "$ac_t""$enable_c99" 1>&6
+
+ # Option parsed, now set things appropriately
+ if test x"$enable_c99" = x"yes"; then
+ cat >> confdefs.h <<\EOF
+#define _GLIBCPP_USE_C99 1
+EOF
+
+ fi
+
+ ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
+
+
+
+ # Check whether --enable-long-long or --disable-long-long was given.
+if test "${enable_long_long+set}" = set; then
+ enableval="$enable_long_long"
+ case "$enableval" in
+ yes) enable_long_long=yes ;;
+ no) enable_long_long=no ;;
+ *) { echo "configure: error: Unknown argument to enable/disable long long" 1>&2; exit 1; } ;;
+ esac
+else
+ enable_long_long=yes
+fi
+
+ # iostreams require strtoll, strtoull to compile. If the
+ # GLIBCPP_ENABLE_C99 tests found these, and if C99 support is enabled,
+ # go ahead and allow long long to be used.
+ if test x"$enable_c99" = x"no"; then
+ enable_long_long=no;
+ fi
+
+ # Option parsed, now set things appropriately
+ echo $ac_n "checking for enabled long long support""... $ac_c" 1>&6
+echo "configure:3651: checking for enabled long long support" >&5
+ if test x"$enable_long_long" = xyes; then
+ cat >> confdefs.h <<\EOF
+#define _GLIBCPP_USE_LONG_LONG 1
+EOF
+
+ fi
+ echo "$ac_t""$enable_long_long" 1>&6
+
+echo $ac_n "checking for c header strategy to use""... $ac_c" 1>&6
+echo "configure:3661: checking for c header strategy to use" >&5
+# Check whether --enable-cheaders or --disable-cheaders was given.
+if test "${enable_cheaders+set}" = set; then
+ enableval="$enable_cheaders"
+
+ case "$enableval" in
+ c)
+ enable_cheaders=c
+ ;;
+ c_std)
+ enable_cheaders=c_std
+ ;;
+ c_shadow)
+ enable_cheaders=c_shadow
+ ;;
+ *) { echo "configure: error: Unknown argument to enable/disable "C" headers" 1>&2; exit 1; }
+ ;;
+ esac
+else
+ enable_cheaders=c_std
+fi
+
+ echo "$ac_t""$enable_cheaders" 1>&6
+
+ case "$enable_cheaders" in
+ c_shadow)
+ CSHADOW_FLAGS="-fno-builtin"
+ C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_shadow'
+ cat >> confdefs.h <<\EOF
+#define _GLIBCPP_USE_SHADOW_HEADERS 1
+EOF
+
+ ;;
+ c_std)
+ CSHADOW_FLAGS=""
+ C_INCLUDE_DIR='${glibcpp_srcdir}/include/c_std'
+ ;;
+ c)
+ CSHADOW_FLAGS=""
+ C_INCLUDE_DIR='${glibcpp_srcdir}/include/c'
+ ;;
+ esac
+
+
+
+
+
+if test "$enable_cheaders" = c_shadow; then
+ GLIBCPP_USE_CSHADOW_TRUE=
+ GLIBCPP_USE_CSHADOW_FALSE='#'
+else
+ GLIBCPP_USE_CSHADOW_TRUE='#'
+ GLIBCPP_USE_CSHADOW_FALSE=
+fi
+
+
+ echo $ac_n "checking for thread model used by GCC""... $ac_c" 1>&6
+echo "configure:3718: checking for thread model used by GCC" >&5
+ target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
+ echo "$ac_t""$target_thread_file" 1>&6
+
+ if test $target_thread_file != single; then
+ cat >> confdefs.h <<\EOF
+#define HAVE_GTHR_DEFAULT 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define _GLIBCPP_SUPPORTS_WEAK __GXX_WEAK__
+EOF
+
+ fi
+
+ glibcpp_thread_h=gthr-$target_thread_file.h
+
+
+# Check whether --enable-cxx-flags or --disable-cxx-flags was given.
+if test "${enable_cxx_flags+set}" = set; then
+ enableval="$enable_cxx_flags"
+ case "x$enableval" in
+ xyes)
+ { echo "configure: error: --enable-cxx-flags needs compiler flags as arguments" 1>&2; exit 1; } ;;
+ xno|x)
+ enable_cxx_flags='' ;;
+ *)
+ enable_cxx_flags="$enableval" ;;
+ esac
+else
+ enable_cxx_flags='none'
+fi
+
+
+if test "$enable_cxx_flags" = "none"; then
+ enable_cxx_flags='';
+fi
+
+if test -n "$enable_cxx_flags"; then
+ for f in $enable_cxx_flags; do
+ case "$f" in
+ -fhonor-std) ;;
+ -*) ;;
+ *) # and we're trying to pass /what/ exactly?
+ { echo "configure: error: compiler flags start with a -" 1>&2; exit 1; } ;;
+ esac
+ done
+fi
+EXTRA_CXX_FLAGS="$enable_cxx_flags"
+
+
+
+ echo $ac_n "checking for exception model to use""... $ac_c" 1>&6
+echo "configure:3771: checking for exception model to use" >&5
+
+ ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+
+ # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
+if test "${enable_sjlj_exceptions+set}" = set; then
+ enableval="$enable_sjlj_exceptions"
+ :
+else
+ cat > conftest.$ac_ext << EOF
+#line 3786 "configure"
+struct S { ~S(); };
+void bar();
+void foo()
+{
+ S s;
+ bar();
+}
+EOF
+ old_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS=-S
+ if { (eval echo configure:3797: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
+ enable_sjlj_exceptions=yes
+ elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
+ enable_sjlj_exceptions=no
+ fi
+ fi
+ CXXFLAGS="$old_CXXFLAGS"
+ rm -f conftest*
+fi
+
+ if test x$enable_sjlj_exceptions = xyes; then
+ cat >> confdefs.h <<\EOF
+#define _GLIBCPP_SJLJ_EXCEPTIONS 1
+EOF
+
+ ac_exception_model_name=sjlj
+ elif test x$enable_sjlj_exceptions = xno; then
+ ac_exception_model_name="call frame"
+ else
+ { echo "configure: error: unable to detect exception model" 1>&2; exit 1; }
+ fi
+ ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
+
+ echo "$ac_t""$ac_exception_model_name" 1>&6
+
+
+
+if test -n "$with_cross_host" || test x"$build" != x"$host"; then
+
+ # We are being configured with some form of cross compiler.
+ # mknumeric_limits may not work correctly, either because the
+ # compiler may not run on this machine, may not be able to link
+ # executables, or may produce executables we can't run on this
+ # machine. Thus, just use the pre-generated include/bits/limits_generic.h
+ GLIBCPP_IS_CROSS_COMPILING=1
+
+ # If Canadian cross, then don't pick up tools from the build
+ # directory.
+ if test -n "$with_cross_host" && test x"$build" != x"$with_cross_host"; then
+ CANADIAN=yes
+ else
+ CANADIAN=no
+ fi
+
+ case "$target_alias" in
+ *-linux*)
+ # Construct linux crosses by hand, eliminating bits that need ld...
+ # Check for available headers.
+ for ac_hdr in 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
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:3857: checking for $ac_hdr" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 3862 "configure"
+#include "confdefs.h"
+#include <$ac_hdr>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:3867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=yes"
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
+EOF
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+done
+
+
+ # GLIBCPP_CHECK_COMPILER_FEATURES
+ SECTION_FLAGS='-ffunction-sections -fdata-sections'
+
+
+ # If we're not using GNU ld, then there's no point in even trying these
+ # tests. Check for that first. We should have already tested for gld
+ # by now (in libtool), but require it now just to be safe...
+ SECTION_LDFLAGS=''
+ OPT_LDFLAGS=''
+
+
+ # Set --gc-sections.
+ if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
+ # GNU ld it is! Joy and bunny rabbits!
+
+ # All these tests are for C++; save the language and the compiler flags.
+ # Need to do this so that g++ won't try to link in libstdc++
+ ac_test_CFLAGS="${CFLAGS+set}"
+ ac_save_CFLAGS="$CFLAGS"
+ CFLAGS='-x c++ -Wl,--gc-sections'
+
+ # Check for -Wl,--gc-sections
+ # XXX This test is broken at the moment, as symbols required for
+ # linking are now in libsupc++ (not built yet.....). In addition,
+ # this test has cored on solaris in the past. In addition,
+ # --gc-sections doesn't really work at the moment (keeps on discarding
+ # used sections, first .eh_frame and now some of the glibc sections for
+ # iconv). Bzzzzt. Thanks for playing, maybe next time.
+ echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
+echo "configure:3923: checking for ld that supports -Wl,--gc-sections" >&5
+ if test "$cross_compiling" = yes; then
+ ac_sectionLDflags=yes
+else
+ cat > conftest.$ac_ext <<EOF
+#line 3928 "configure"
+#include "confdefs.h"
+
+ int main(void)
{
try { throw 1; }
catch (...) { };
}
EOF
-if { (eval echo configure:3314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:3939: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_sectionLDflags=yes
else
fi
# Set linker optimization flags.
- if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
+ if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
+ test x"$enable_debug" = x"no"; then
OPT_LDFLAGS='-Wl,-O1'
fi
#define HAVE_ISNANF 1
EOF
- cat >> confdefs.h <<\EOF
-#define HAVE_LDEXPF 1
+ cat >> confdefs.h <<\EOF
+#define HAVE_LDEXPF 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_LOG10F 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_LOGF 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_MODFF 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_POWF 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_SINCOS 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_SINCOSF 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_SINF 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_SINHF 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_SQRTF 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_TANF 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_TANHF 1
+EOF
+
+
+ # At some point, we should differentiate between architectures
+ # like x86, which have long double versions, and alpha/powerpc/etc.,
+ # which don't. For the time being, punt.
+ if test x"long_double_math_on_this_cpu" = x"yes"; then
+ cat >> confdefs.h <<\EOF
+#define HAVE_ACOSL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_ASINL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_ATAN2L 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_ATANL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_CEILL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_COPYSIGNL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_COSL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_COSHL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_EXPL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_FABSL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_FINITEL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_FLOORL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_FMODL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_FREXPL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_ISINFL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_ISNANL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_LDEXPL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_LOG10L 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_LOGL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_MODFL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_POWL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_SINCOSL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_SINL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_SINHL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_SQRTL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_TANL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_TANHL 1
+EOF
+
+ fi
+
+ echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
+echo "configure:4218: checking for main in -lm" >&5
+ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-lm $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 4226 "configure"
+#include "confdefs.h"
+
+int main() {
+main()
+; return 0; }
+EOF
+if { (eval echo configure:4233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
+ -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_lib 1
EOF
- cat >> confdefs.h <<\EOF
-#define HAVE_LOG10F 1
-EOF
+ LIBS="-lm $LIBS"
- cat >> confdefs.h <<\EOF
-#define HAVE_LOGF 1
-EOF
+else
+ echo "$ac_t""no" 1>&6
+fi
- cat >> confdefs.h <<\EOF
-#define HAVE_MODFF 1
-EOF
+ for ac_func in nan copysignf
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:4263: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 4268 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func();
- cat >> confdefs.h <<\EOF
-#define HAVE_POWF 1
-EOF
+int main() {
- cat >> confdefs.h <<\EOF
-#define HAVE_SINCOS 1
-EOF
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
- cat >> confdefs.h <<\EOF
-#define HAVE_SINCOSF 1
+; return 0; }
EOF
+if { (eval echo configure:4291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=no"
+fi
+rm -f conftest*
+fi
- cat >> confdefs.h <<\EOF
-#define HAVE_SINF 1
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
EOF
+
+else
+ echo "$ac_t""no" 1>&6
+LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
+fi
+done
- cat >> confdefs.h <<\EOF
-#define HAVE_SINHF 1
-EOF
- cat >> confdefs.h <<\EOF
-#define HAVE_SQRTF 1
-EOF
- cat >> confdefs.h <<\EOF
-#define HAVE_TANF 1
-EOF
+ USE_COMPLEX_LONG_DOUBLE=no
+ if test x$ac_cv_func_copysignl = x"yes"; then
+ USE_COMPLEX_LONG_DOUBLE=yes
+ for ac_func in signbitl
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:4324: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 4329 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func();
- cat >> confdefs.h <<\EOF
-#define HAVE_TANHF 1
-EOF
+int main() {
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
- # At some point, we should differentiate between architectures
- # like x86, which have long double versions, and alpha/powerpc/etc.,
- # which don't. For the time being, punt.
- if test x"long_double_math_on_this_cpu" = x"yes"; then
- cat >> confdefs.h <<\EOF
-#define HAVE_ACOSL 1
+; return 0; }
EOF
+if { (eval echo configure:4352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=no"
+fi
+rm -f conftest*
+fi
- cat >> confdefs.h <<\EOF
-#define HAVE_ASINL 1
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
EOF
+
+else
+ echo "$ac_t""no" 1>&6
+LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
+fi
+done
- cat >> confdefs.h <<\EOF
-#define HAVE_ATAN2L 1
-EOF
- cat >> confdefs.h <<\EOF
-#define HAVE_ATANL 1
-EOF
+ fi
- cat >> confdefs.h <<\EOF
-#define HAVE_CEILL 1
-EOF
+
- cat >> confdefs.h <<\EOF
-#define HAVE_COPYSIGNL 1
-EOF
+
- cat >> confdefs.h <<\EOF
-#define HAVE_COSL 1
+ echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
+echo "configure:4385: checking for mbstate_t" >&5
+ cat > conftest.$ac_ext <<EOF
+#line 4387 "configure"
+#include "confdefs.h"
+#include <wchar.h>
+int main() {
+mbstate_t teststate;
+; return 0; }
EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE_COSHL 1
+if { (eval echo configure:4394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ have_mbstate_t=yes
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ have_mbstate_t=no
+fi
+rm -f conftest*
+ echo "$ac_t""$have_mbstate_t" 1>&6
+ if test x"$have_mbstate_t" = xyes; then
+ cat >> confdefs.h <<\EOF
+#define HAVE_MBSTATE_T 1
EOF
- cat >> confdefs.h <<\EOF
-#define HAVE_EXPL 1
-EOF
+ fi
- cat >> confdefs.h <<\EOF
-#define HAVE_FABSL 1
+ for ac_hdr in wchar.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:4416: checking for $ac_hdr" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 4421 "configure"
+#include "confdefs.h"
+#include <$ac_hdr>
EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE_FINITEL 1
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:4426: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=yes"
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
EOF
+ ac_has_wchar_h=yes
+else
+ echo "$ac_t""no" 1>&6
+ac_has_wchar_h=no
+fi
+done
- cat >> confdefs.h <<\EOF
-#define HAVE_FLOORL 1
+ ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
+echo "configure:4455: checking for wctype.h" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 4460 "configure"
+#include "confdefs.h"
+#include <wctype.h>
EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:4465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=yes"
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_has_wctype_h=yes
+else
+ echo "$ac_t""no" 1>&6
+ac_has_wctype_h=no
+fi
- cat >> confdefs.h <<\EOF
-#define HAVE_FMODL 1
+
+ if test x"$ac_has_wchar_h" = xyes &&
+ test x"$ac_has_wctype_h" = xyes &&
+ test x"$enable_c_mbchar" != xno; then
+
+ echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
+echo "configure:4493: checking for WCHAR_MIN and WCHAR_MAX" >&5
+ cat > conftest.$ac_ext <<EOF
+#line 4495 "configure"
+#include "confdefs.h"
+#include <wchar.h>
+int main() {
+int i = WCHAR_MIN; int j = WCHAR_MAX;
+; return 0; }
EOF
+if { (eval echo configure:4502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ has_wchar_minmax=yes
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ has_wchar_minmax=no
+fi
+rm -f conftest*
+ echo "$ac_t""$has_wchar_minmax" 1>&6
+
+ echo $ac_n "checking for WEOF""... $ac_c" 1>&6
+echo "configure:4515: checking for WEOF" >&5
+ cat > conftest.$ac_ext <<EOF
+#line 4517 "configure"
+#include "confdefs.h"
- cat >> confdefs.h <<\EOF
-#define HAVE_FREXPL 1
+ #include <wchar.h>
+ #include <stddef.h>
+int main() {
+wint_t i = WEOF;
+; return 0; }
EOF
+if { (eval echo configure:4526: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ has_weof=yes
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ has_weof=no
+fi
+rm -f conftest*
+ echo "$ac_t""$has_weof" 1>&6
+
+ ac_wfuncs=yes
+ for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:4542: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 4547 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func();
- cat >> confdefs.h <<\EOF
-#define HAVE_ISINFL 1
-EOF
+int main() {
- cat >> confdefs.h <<\EOF
-#define HAVE_ISNANL 1
-EOF
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
- cat >> confdefs.h <<\EOF
-#define HAVE_LDEXPL 1
+; return 0; }
EOF
+if { (eval echo configure:4570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=no"
+fi
+rm -f conftest*
+fi
- cat >> confdefs.h <<\EOF
-#define HAVE_LOG10L 1
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
EOF
+
+else
+ echo "$ac_t""no" 1>&6
+\
+ ac_wfuncs=no
+fi
+done
- cat >> confdefs.h <<\EOF
-#define HAVE_LOGL 1
-EOF
+
+ for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
+ fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
+ vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
+ mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
+ wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
+ wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:4605: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 4610 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func();
- cat >> confdefs.h <<\EOF
-#define HAVE_MODFL 1
-EOF
+int main() {
- cat >> confdefs.h <<\EOF
-#define HAVE_POWL 1
-EOF
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
- cat >> confdefs.h <<\EOF
-#define HAVE_SINCOSL 1
+; return 0; }
EOF
+if { (eval echo configure:4633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=no"
+fi
+rm -f conftest*
+fi
- cat >> confdefs.h <<\EOF
-#define HAVE_SINL 1
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
EOF
+
+else
+ echo "$ac_t""no" 1>&6
+\
+ ac_wfuncs=no
+fi
+done
- cat >> confdefs.h <<\EOF
-#define HAVE_SINHL 1
-EOF
- cat >> confdefs.h <<\EOF
-#define HAVE_SQRTL 1
+ echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
+echo "configure:4661: checking for ISO C99 wchar_t support" >&5
+ if test x"$has_weof" = xyes &&
+ test x"$has_wchar_minmax" = xyes &&
+ test x"$ac_wfuncs" = xyes; then
+ ac_isoC99_wchar_t=yes
+ else
+ ac_isoC99_wchar_t=no
+ fi
+ echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
+
+ ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
+echo "configure:4673: checking for iconv.h" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 4678 "configure"
+#include "confdefs.h"
+#include <iconv.h>
EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:4683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=yes"
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_has_iconv_h=yes
+else
+ echo "$ac_t""no" 1>&6
+ac_has_iconv_h=no
+fi
- cat >> confdefs.h <<\EOF
-#define HAVE_TANL 1
+ ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
+echo "configure:4707: checking for langinfo.h" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 4712 "configure"
+#include "confdefs.h"
+#include <langinfo.h>
EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:4717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=yes"
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_has_langinfo_h=yes
+else
+ echo "$ac_t""no" 1>&6
+ac_has_langinfo_h=no
+fi
- cat >> confdefs.h <<\EOF
-#define HAVE_TANHL 1
-EOF
- fi
-
- echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
-echo "configure:3592: checking for main in -lm" >&5
-ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
+ echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
+echo "configure:4741: checking for iconv in -liconv" >&5
+ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lm $LIBS"
+LIBS="-liconv $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 3600 "configure"
+#line 4749 "configure"
#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char iconv();
int main() {
-main()
+iconv()
; return 0; }
EOF
-if { (eval echo configure:3607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4760: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
fi
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
- -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_lib 1
-EOF
-
- LIBS="-lm $LIBS"
-
+ libiconv="-liconv"
else
echo "$ac_t""no" 1>&6
fi
- for ac_func in nan hypot hypotf atan2f expf copysignf
+ ac_save_LIBS="$LIBS"
+ LIBS="$LIBS $libiconv"
+
+ for ac_func in iconv_open iconv_close iconv nl_langinfo
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:3637: checking for $ac_func" >&5
+echo "configure:4786: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3642 "configure"
+#line 4791 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:3665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:4814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
-
+ \
+ ac_XPG2funcs=yes
else
echo "$ac_t""no" 1>&6
-LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
+ac_XPG2funcs=no
fi
done
+
+ LIBS="$ac_save_LIBS"
+
+ echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
+echo "configure:4844: checking for XPG2 wchar_t support" >&5
+ if test x"$ac_has_iconv_h" = xyes &&
+ test x"$ac_has_langinfo_h" = xyes &&
+ test x"$ac_XPG2funcs" = xyes; then
+ ac_XPG2_wchar_t=yes
+ else
+ ac_XPG2_wchar_t=no
+ fi
+ echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
+
+ echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
+echo "configure:4855: checking for enabled wchar_t specializations" >&5
+ if test x"$ac_isoC99_wchar_t" = xyes &&
+ test x"$ac_XPG2_wchar_t" = xyes; then
+ cat >> confdefs.h <<\EOF
+#define _GLIBCPP_USE_WCHAR_T 1
+EOF
+
+ echo "$ac_t"""yes"" 1>&6
+ else
+ echo "$ac_t"""no"" 1>&6
+ fi
+ else
+ echo "configure: warning: wchar_t support disabled." 1>&2
+ fi
+ os_include_dir="config/os/gnu-linux"
+ # GLIBCPP_CHECK_STDLIB_SUPPORT
+ cat >> confdefs.h <<\EOF
+#define HAVE_STRTOF 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_STRTOLD 1
+EOF
+
+ # AC_FUNC_MMAP
+ cat >> confdefs.h <<\EOF
+#define HAVE_MMAP 1
+EOF
- USE_COMPLEX_LONG_DOUBLE=no
- if test x$ac_cv_func_atan2l = x"yes" \
- && test x$ac_cv_func_copysignl = x"yes"; then
- USE_COMPLEX_LONG_DOUBLE=yes
- for ac_func in hypotl signbitl
+ ;;
+ *)
+ # We assume newlib. This lets us hard-code the functions we know
+ # we'll have.
+ cat >> confdefs.h <<\EOF
+#define HAVE_FINITE 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_ISNAN 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_ISNANF 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_ISINF 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE_ISINFF 1
+EOF
+
+
+ os_include_dir="config/os/newlib"
+
+ # need to check for faster f versions of math functions, ie sinf?
+ ;;
+ esac
+else
+
+ # We are being configured natively. We can do more elaborate tests
+ # that include AC_TRY_COMPILE now, as the linker is assumed to be
+ # working.
+ GLIBCPP_IS_CROSS_COMPILING=0
+ CANADIAN=no
+
+ # Check for available headers.
+ for ac_hdr in 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
do
-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:3699: checking for $ac_func" >&5
-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:4929: checking for $ac_hdr" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 3704 "configure"
+#line 4934 "configure"
#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char $ac_func();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
-choke me
-#else
-$ac_func();
-#endif
-
-; return 0; }
+#include <$ac_hdr>
EOF
-if { (eval echo configure:3727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:4939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
+ eval "ac_cv_header_$ac_safe=yes"
else
+ echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- eval "ac_cv_func_$ac_func=no"
+ eval "ac_cv_header_$ac_safe=no"
fi
rm -f conftest*
fi
-
-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
echo "$ac_t""yes" 1>&6
- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
cat >> confdefs.h <<EOF
-#define $ac_tr_func 1
+#define $ac_tr_hdr 1
EOF
else
echo "$ac_t""no" 1>&6
-LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
fi
done
+
+ # All these tests are for C++; save the language and the compiler flags.
+ # The CXXFLAGS thing is suspicious, but based on similar bits previously
+ # found in GLIBCPP_CONFIGURE.
+
+ ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+
+ ac_test_CXXFLAGS="${CXXFLAGS+set}"
+ ac_save_CXXFLAGS="$CXXFLAGS"
+
+ # Check for maintainer-mode bits.
+ if test x"$USE_MAINTAINER_MODE" = xno; then
+ WERROR=''
+ else
+ WERROR='-Werror'
+ fi
+
+ # Check for -ffunction-sections -fdata-sections
+ echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
+echo "configure:4990: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
+ CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
+ cat > conftest.$ac_ext <<EOF
+#line 4993 "configure"
+#include "confdefs.h"
+
+int main() {
+int foo;
+
+; return 0; }
+EOF
+if { (eval echo configure:5001: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ ac_fdsections=yes
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_fdsections=no
+fi
+rm -f conftest*
+ if test "$ac_test_CXXFLAGS" = set; then
+ CXXFLAGS="$ac_save_CXXFLAGS"
+ else
+ # this is the suspicious part
+ CXXFLAGS=''
+ fi
+ if test x"$ac_fdsections" = x"yes" &&
+ test x"$enable_debug" = x"no"; then
+ SECTION_FLAGS='-ffunction-sections -fdata-sections'
+ fi
+ echo "$ac_t""$ac_fdsections" 1>&6
+
+ ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
+
+
+
+
+
+ # If we're not using GNU ld, then there's no point in even trying these
+ # tests. Check for that first. We should have already tested for gld
+ # by now (in libtool), but require it now just to be safe...
+ SECTION_LDFLAGS=''
+ OPT_LDFLAGS=''
+
+
+ # Set --gc-sections.
+ if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
+ # GNU ld it is! Joy and bunny rabbits!
+
+ # All these tests are for C++; save the language and the compiler flags.
+ # Need to do this so that g++ won't try to link in libstdc++
+ ac_test_CFLAGS="${CFLAGS+set}"
+ ac_save_CFLAGS="$CFLAGS"
+ CFLAGS='-x c++ -Wl,--gc-sections'
+
+ # Check for -Wl,--gc-sections
+ # XXX This test is broken at the moment, as symbols required for
+ # linking are now in libsupc++ (not built yet.....). In addition,
+ # this test has cored on solaris in the past. In addition,
+ # --gc-sections doesn't really work at the moment (keeps on discarding
+ # used sections, first .eh_frame and now some of the glibc sections for
+ # iconv). Bzzzzt. Thanks for playing, maybe next time.
+ echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
+echo "configure:5059: checking for ld that supports -Wl,--gc-sections" >&5
+ if test "$cross_compiling" = yes; then
+ ac_sectionLDflags=yes
+else
+ cat > conftest.$ac_ext <<EOF
+#line 5064 "configure"
+#include "confdefs.h"
+
+ int main(void)
+ {
+ try { throw 1; }
+ catch (...) { };
+ return 0;
+ }
+
+EOF
+if { (eval echo configure:5075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+then
+ ac_sectionLDflags=yes
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -fr conftest*
+ ac_sectionLFflags=no
+fi
+rm -fr conftest*
+fi
+
+ if test "$ac_test_CFLAGS" = set; then
+ CFLAGS="$ac_save_CFLAGS"
+ else
+ # this is the suspicious part
+ CFLAGS=''
+ fi
+ if test "$ac_sectionLDflags" = "yes"; then
+ SECTION_LDFLAGS='-Wl,--gc-sections'
+ fi
+ echo "$ac_t""$ac_sectionLDflags" 1>&6
+ fi
+
+ # Set linker optimization flags.
+ if test x"$ac_cv_prog_gnu_ld" = x"yes" &&
+ test x"$enable_debug" = x"no"; then
+ OPT_LDFLAGS='-Wl,-O1'
fi
-
-
- echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
-echo "configure:3761: checking for GNU C++ __complex__ support" >&5
- if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
+
+
+ echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
+echo "configure:5111: checking for __builtin_abs declaration" >&5
+ if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- ac_ext=C
+
+ ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
- cat > conftest.$ac_ext <<EOF
-#line 3775 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 5126 "configure"
#include "confdefs.h"
-struct dcomplex { __complex__ double x; }; \
- dcomplex f(const dcomplex& x) { return dcomplex(x); }
+#include <math.h>
int main() {
-\
- dcomplex x; f(x);
+ __builtin_abs(0);
; return 0; }
EOF
-if { (eval echo configure:3784: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_complex=ok
+ glibcpp_cv_func___builtin_abs_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_complex=buggy
-
+ glibcpp_cv_func___builtin_abs_use=no
fi
rm -f conftest*
- ac_ext=c
+ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
-
+
fi
- echo "$ac_t""$glibcpp_cv_complex" 1>&6
- if test $glibcpp_cv_complex = buggy; then
- cat >> confdefs.h <<\EOF
-#define _GLIBCPP_BUGGY_COMPLEX 1
-EOF
-
fi
-
- echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
-echo "configure:3814: checking for GNU C++ __complex__ float support" >&5
- if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
+ echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
+ if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
+ echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
+echo "configure:5157: checking for __builtin_abs linkage" >&5
+ if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- ac_ext=C
-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cxx_cross
-
- rm -f conftest.h
- cat > conftest.h <<EOB
- //
- // Check for buggy __complex__ that causes ICE in most versions of egcs
- // and gcc-2.95.x on certain platforms (eg., x86-win32).
- //
- // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
- // more info on the bug itself.
- //
- struct
- float_complex
- {
- __complex__ float m_value;
- float_complex (float = 0.0f, float = 0.0f);
- float_complex (__complex__ float val) : m_value (val) {}
- float_complex foo (const float_complex &val)
- { return float_complex (~val.m_value); }
- };
-EOB
- cat > conftest.$ac_ext <<EOF
-#line 3847 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 5164 "configure"
#include "confdefs.h"
-#include "conftest.h"
+#include <math.h>
int main() {
-
+ __builtin_abs(0);
; return 0; }
EOF
-if { (eval echo configure:3854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- glibcpp_cv_float_complex=ok
+ glibcpp_cv_func___builtin_abs_link=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_float_complex=buggy
-
+ glibcpp_cv_func___builtin_abs_link=no
fi
rm -f conftest*
- ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
-
-
+
fi
- echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
- if test $glibcpp_cv_float_complex = buggy; then
- cat >> confdefs.h <<\EOF
-#define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
+ fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
+ if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
+ ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define ${ac_tr_func} 1
EOF
+ fi
fi
-
+
+ echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
+echo "configure:5197: checking for __builtin_fabsf declaration" >&5
+ if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+
+
+ ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
- echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
-echo "configure:3886: checking for mbstate_t" >&5
- cat > conftest.$ac_ext <<EOF
-#line 3888 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 5212 "configure"
#include "confdefs.h"
-#include <wchar.h>
+#include <math.h>
int main() {
-mbstate_t teststate;
+ __builtin_fabsf(0);
; return 0; }
EOF
-if { (eval echo configure:3895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- have_mbstate_t=yes
+ glibcpp_cv_func___builtin_fabsf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- have_mbstate_t=no
+ glibcpp_cv_func___builtin_fabsf_use=no
fi
rm -f conftest*
- echo "$ac_t""$have_mbstate_t" 1>&6
- if test x"$have_mbstate_t" = xyes; then
- cat >> confdefs.h <<\EOF
-#define HAVE_MBSTATE_T 1
-EOF
+ ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
- fi
+
+fi
- for ac_hdr in wchar.h
-do
-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:3917: checking for $ac_hdr" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
+ if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
+ echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
+echo "configure:5243: checking for __builtin_fabsf linkage" >&5
+ if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- cat > conftest.$ac_ext <<EOF
-#line 3922 "configure"
+
+ cat > conftest.$ac_ext <<EOF
+#line 5250 "configure"
#include "confdefs.h"
-#include <$ac_hdr>
+#include <math.h>
+int main() {
+ __builtin_fabsf(0);
+; return 0; }
EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
+if { (eval echo configure:5257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
+ glibcpp_cv_func___builtin_fabsf_link=yes
else
- echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
+ glibcpp_cv_func___builtin_fabsf_link=no
fi
rm -f conftest*
+
fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_hdr 1
+
+ fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
+ if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
+ ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define ${ac_tr_func} 1
EOF
- ac_has_wchar_h=yes
-else
- echo "$ac_t""no" 1>&6
-ac_has_wchar_h=no
-fi
-done
- ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
-echo "configure:3956: checking for wctype.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ fi
+ fi
+
+
+ echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
+echo "configure:5283: checking for __builtin_fabs declaration" >&5
+ if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- cat > conftest.$ac_ext <<EOF
-#line 3961 "configure"
-#include "confdefs.h"
-#include <wctype.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:3966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_has_wctype_h=yes
-else
- echo "$ac_t""no" 1>&6
-ac_has_wctype_h=no
-fi
-
- if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes \
- && test x"$enable_c_mbchar" != xno; then
- echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
-echo "configure:3993: checking for WCHAR_MIN and WCHAR_MAX" >&5
- cat > conftest.$ac_ext <<EOF
-#line 3995 "configure"
+ ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+
+ cat > conftest.$ac_ext <<EOF
+#line 5298 "configure"
#include "confdefs.h"
-#include <wchar.h>
+#include <math.h>
int main() {
-int i = WCHAR_MIN; int j = WCHAR_MAX;
+ __builtin_fabs(0);
; return 0; }
EOF
-if { (eval echo configure:4002: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5305: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- has_wchar_minmax=yes
+ glibcpp_cv_func___builtin_fabs_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- has_wchar_minmax=no
+ glibcpp_cv_func___builtin_fabs_use=no
fi
rm -f conftest*
- echo "$ac_t""$has_wchar_minmax" 1>&6
-
- echo $ac_n "checking for WEOF""... $ac_c" 1>&6
-echo "configure:4015: checking for WEOF" >&5
- cat > conftest.$ac_ext <<EOF
-#line 4017 "configure"
-#include "confdefs.h"
+ ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
- #include <wchar.h>
- #include <stddef.h>
-int main() {
-wint_t i = WEOF;
-; return 0; }
-EOF
-if { (eval echo configure:4026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- has_weof=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- has_weof=no
+
fi
-rm -f conftest*
- echo "$ac_t""$has_weof" 1>&6
-
- for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
- wcsrtombs mbsrtowcs
-do
-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:4042: checking for $ac_func" >&5
-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+
+ fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
+ if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
+ echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
+echo "configure:5329: checking for __builtin_fabs linkage" >&5
+ if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- cat > conftest.$ac_ext <<EOF
-#line 4047 "configure"
+
+ cat > conftest.$ac_ext <<EOF
+#line 5336 "configure"
#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char $ac_func();
-
+#include <math.h>
int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
-choke me
-#else
-$ac_func();
-#endif
-
+ __builtin_fabs(0);
; return 0; }
EOF
-if { (eval echo configure:4070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5343: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
+ glibcpp_cv_func___builtin_fabs_link=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- eval "ac_cv_func_$ac_func=no"
+ glibcpp_cv_func___builtin_fabs_link=no
fi
rm -f conftest*
+
fi
-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_func 1
+ fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
+ if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
+ ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define ${ac_tr_func} 1
EOF
- ac_wfuncs=yes
-else
- echo "$ac_t""no" 1>&6
-ac_wfuncs=no
-fi
-done
-
- echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
-echo "configure:4097: checking for ISO C99 wchar_t support" >&5
- if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
- && test x"$ac_wfuncs" = xyes; then
- ac_isoC99_wchar_t=yes
- else
- ac_isoC99_wchar_t=no
fi
- echo "$ac_t""$ac_isoC99_wchar_t" 1>&6
+ fi
+
- ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
-echo "configure:4108: checking for iconv.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
+echo "configure:5369: checking for __builtin_fabsl declaration" >&5
+ if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- cat > conftest.$ac_ext <<EOF
-#line 4113 "configure"
+
+
+ ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+
+ cat > conftest.$ac_ext <<EOF
+#line 5384 "configure"
#include "confdefs.h"
-#include <iconv.h>
+#include <math.h>
+int main() {
+ __builtin_fabsl(0);
+; return 0; }
EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:4118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
+if { (eval echo configure:5391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
+ glibcpp_cv_func___builtin_fabsl_use=yes
else
- echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
+ glibcpp_cv_func___builtin_fabsl_use=no
fi
rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_has_iconv_h=yes
-else
- echo "$ac_t""no" 1>&6
-ac_has_iconv_h=no
+ ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
+
+
fi
- ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
-echo "configure:4142: checking for langinfo.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
+ if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
+ echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
+echo "configure:5415: checking for __builtin_fabsl linkage" >&5
+ if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- cat > conftest.$ac_ext <<EOF
-#line 4147 "configure"
+
+ cat > conftest.$ac_ext <<EOF
+#line 5422 "configure"
#include "confdefs.h"
-#include <langinfo.h>
+#include <math.h>
+int main() {
+ __builtin_fabsl(0);
+; return 0; }
EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:4152: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
+if { (eval echo configure:5429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
+ glibcpp_cv_func___builtin_fabsl_link=yes
else
- echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
+ glibcpp_cv_func___builtin_fabsl_link=no
fi
rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_has_langinfo_h=yes
-else
- echo "$ac_t""no" 1>&6
-ac_has_langinfo_h=no
+
fi
+ fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
+ if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
+ ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define ${ac_tr_func} 1
+EOF
- echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
-echo "configure:4176: checking for iconv in -liconv" >&5
-ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ fi
+ fi
+
+
+ echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
+echo "configure:5455: checking for __builtin_labs declaration" >&5
+ if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- ac_save_LIBS="$LIBS"
-LIBS="-liconv $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 4184 "configure"
-#include "confdefs.h"
-/* Override any gcc2 internal prototype to avoid an error. */
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char iconv();
+
+
+ ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+ cat > conftest.$ac_ext <<EOF
+#line 5470 "configure"
+#include "confdefs.h"
+#include <math.h>
int main() {
-iconv()
+ __builtin_labs(0);
; return 0; }
EOF
-if { (eval echo configure:4195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
+ glibcpp_cv_func___builtin_labs_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
+ glibcpp_cv_func___builtin_labs_use=no
fi
rm -f conftest*
-LIBS="$ac_save_LIBS"
+ ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
-fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- libiconv="-liconv"
-else
- echo "$ac_t""no" 1>&6
+
fi
- ac_save_LIBS="$LIBS"
- LIBS="$LIBS $libiconv"
-
- for ac_func in iconv_open iconv_close iconv nl_langinfo
-do
-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:4221: checking for $ac_func" >&5
-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+ fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
+ if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
+ echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
+echo "configure:5501: checking for __builtin_labs linkage" >&5
+ if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- cat > conftest.$ac_ext <<EOF
-#line 4226 "configure"
+
+ cat > conftest.$ac_ext <<EOF
+#line 5508 "configure"
#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char $ac_func();
-
+#include <math.h>
int main() {
+ __builtin_labs(0);
+; return 0; }
+EOF
+if { (eval echo configure:5515: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ glibcpp_cv_func___builtin_labs_link=yes
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ glibcpp_cv_func___builtin_labs_link=no
+fi
+rm -f conftest*
+
+fi
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
-choke me
-#else
-$ac_func();
-#endif
+ fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
+ if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
+ ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define ${ac_tr_func} 1
+EOF
+
+ fi
+ fi
+
+
+
+ echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
+echo "configure:5542: checking for __builtin_sqrtf declaration" >&5
+ if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+
+
+ ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+ cat > conftest.$ac_ext <<EOF
+#line 5557 "configure"
+#include "confdefs.h"
+#include <math.h>
+int main() {
+ __builtin_sqrtf(0);
; return 0; }
EOF
-if { (eval echo configure:4249: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5564: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
+ glibcpp_cv_func___builtin_sqrtf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- eval "ac_cv_func_$ac_func=no"
+ glibcpp_cv_func___builtin_sqrtf_use=no
fi
rm -f conftest*
+ ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
+
+
fi
-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_func 1
+ fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
+ if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
+ echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
+echo "configure:5588: checking for __builtin_sqrtf linkage" >&5
+ if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+
+ cat > conftest.$ac_ext <<EOF
+#line 5595 "configure"
+#include "confdefs.h"
+#include <math.h>
+int main() {
+ __builtin_sqrtf(0);
+; return 0; }
EOF
- \
- ac_XPG2funcs=yes
+if { (eval echo configure:5602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ glibcpp_cv_func___builtin_sqrtf_link=yes
else
- echo "$ac_t""no" 1>&6
-ac_XPG2funcs=no
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ glibcpp_cv_func___builtin_sqrtf_link=no
+fi
+rm -f conftest*
+
fi
-done
-
-
- LIBS="$ac_save_LIBS"
- echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
-echo "configure:4279: checking for XPG2 wchar_t support" >&5
- if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
- && test x"$ac_XPG2funcs" = xyes; then
- ac_XPG2_wchar_t=yes
- else
- ac_XPG2_wchar_t=no
fi
- echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
-
- echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
-echo "configure:4289: checking for enabled wchar_t specializations" >&5
- if test x"$ac_isoC99_wchar_t" = xyes \
- && test x"$ac_XPG2_wchar_t" = xyes; then
- libinst_wstring_la="libinst-wstring.la"
- cat >> confdefs.h <<\EOF
-#define _GLIBCPP_USE_WCHAR_T 1
+ echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
+ if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
+ ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define ${ac_tr_func} 1
EOF
- echo "$ac_t"""yes"" 1>&6
- else
- libinst_wstring_la=""
- echo "$ac_t"""no"" 1>&6
fi
-
-
- else
- echo "configure: warning: wchar_t support disabled." 1>&2
fi
- os_include_dir="config/os/gnu-linux"
- # GLIBCPP_CHECK_STDLIB_SUPPORT
- cat >> confdefs.h <<\EOF
-#define HAVE_STRTOF 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE_STRTOLD 1
-EOF
-
- # AC_FUNC_MMAP
- cat >> confdefs.h <<\EOF
-#define HAVE_MMAP 1
-EOF
-
- ;;
- *)
- # We assume newlib. This lets us hard-code the functions we know
- # we'll have.
- cat >> confdefs.h <<\EOF
-#define HAVE_FINITE 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE_ISNAN 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE_ISNANF 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE_ISINF 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE_ISINFF 1
-EOF
-
-
- os_include_dir="config/os/newlib"
-
- cat >> confdefs.h <<\EOF
-#define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
-EOF
+
+ echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
+echo "configure:5628: checking for __builtin_fsqrt declaration" >&5
+ if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+
+
+ ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
- cat >> confdefs.h <<\EOF
-#define _GLIBCPP_BUGGY_COMPLEX 1
+ cat > conftest.$ac_ext <<EOF
+#line 5643 "configure"
+#include "confdefs.h"
+#include <math.h>
+int main() {
+ __builtin_fsqrt(0);
+; return 0; }
EOF
-
- # need to check for faster f versions of math functions, ie sinf?
- ;;
- esac
+if { (eval echo configure:5650: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ glibcpp_cv_func___builtin_fsqrt_use=yes
else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ glibcpp_cv_func___builtin_fsqrt_use=no
+fi
+rm -f conftest*
+ ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
- # We are being configured natively. We can do more elaborate tests
- # that include AC_TRY_COMPILE now, as the linker is assumed to be
- # working.
- xcompiling=0
- NATIVE=yes
- CANADIAN=no
- NULL_TARGET=no
+
+fi
- # Check for available headers.
- for ac_hdr in 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
-do
-ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:4377: checking for $ac_hdr" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
+ if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
+ echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
+echo "configure:5674: checking for __builtin_fsqrt linkage" >&5
+ if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- cat > conftest.$ac_ext <<EOF
-#line 4382 "configure"
+
+ cat > conftest.$ac_ext <<EOF
+#line 5681 "configure"
#include "confdefs.h"
-#include <$ac_hdr>
+#include <math.h>
+int main() {
+ __builtin_fsqrt(0);
+; return 0; }
EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:4387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
+if { (eval echo configure:5688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
+ glibcpp_cv_func___builtin_fsqrt_link=yes
else
- echo "$ac_err" >&5
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
+ glibcpp_cv_func___builtin_fsqrt_link=no
fi
rm -f conftest*
+
fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_hdr 1
+
+ fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
+ if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
+ ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define ${ac_tr_func} 1
EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-done
+ fi
+ fi
- # All these tests are for C++; save the language and the compiler flags.
- # The CXXFLAGS thing is suspicious, but based on similar bits
- # found in GLIBCPP_CONFIGURE.
+ echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
+echo "configure:5714: checking for __builtin_sqrtl declaration" >&5
+ if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
- ac_ext=C
+
+ ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
- ac_test_CXXFLAGS="${CXXFLAGS+set}"
- ac_save_CXXFLAGS="$CXXFLAGS"
+ cat > conftest.$ac_ext <<EOF
+#line 5729 "configure"
+#include "confdefs.h"
+#include <math.h>
+int main() {
+ __builtin_sqrtl(0);
+; return 0; }
+EOF
+if { (eval echo configure:5736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ glibcpp_cv_func___builtin_sqrtl_use=yes
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ glibcpp_cv_func___builtin_sqrtl_use=no
+fi
+rm -f conftest*
+ ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
- # Check for maintainer-mode bits.
- if test x"$USE_MAINTAINER_MODE" = xno; then
- WERROR=''
- else
- WERROR='-Werror'
- fi
+
+fi
- # Check for more sophisticated diagnostic control.
- echo $ac_n "checking for g++ that supports -fdiagnostics-show-location=once""... $ac_c" 1>&6
-echo "configure:4438: checking for g++ that supports -fdiagnostics-show-location=once" >&5
- CXXFLAGS='-Werror -fdiagnostics-show-location=once'
- cat > conftest.$ac_ext <<EOF
-#line 4441 "configure"
+ fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
+ if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
+ echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
+echo "configure:5760: checking for __builtin_sqrtl linkage" >&5
+ if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+
+ cat > conftest.$ac_ext <<EOF
+#line 5767 "configure"
#include "confdefs.h"
-
+#include <math.h>
int main() {
-int foo;
-
+ __builtin_sqrtl(0);
; return 0; }
EOF
-if { (eval echo configure:4449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- ac_gabydiags=yes
+ glibcpp_cv_func___builtin_sqrtl_link=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- ac_gabydiags=no
+ glibcpp_cv_func___builtin_sqrtl_link=no
fi
rm -f conftest*
- if test "$ac_test_CXXFLAGS" = set; then
- CXXFLAGS="$ac_save_CXXFLAGS"
- else
- # this is the suspicious part
- CXXFLAGS=''
- fi
- if test x"$ac_gabydiags" = x"yes"; then
- WFMT_FLAGS='-fdiagnostics-show-location=once'
+
+fi
+
+ fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
+ if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
+ ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define ${ac_tr_func} 1
+EOF
+
+ fi
fi
- echo "$ac_t""$ac_gabydiags" 1>&6
- # Check for -ffunction-sections -fdata-sections
- echo $ac_n "checking for g++ that supports -ffunction-sections -fdata-sections""... $ac_c" 1>&6
-echo "configure:4472: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
- CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
- cat > conftest.$ac_ext <<EOF
-#line 4475 "configure"
-#include "confdefs.h"
-int main() {
-int foo;
+ echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
+echo "configure:5801: checking for __builtin_sinf declaration" >&5
+ if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+
+
+ ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+
+ cat > conftest.$ac_ext <<EOF
+#line 5816 "configure"
+#include "confdefs.h"
+#include <math.h>
+int main() {
+ __builtin_sinf(0);
; return 0; }
EOF
-if { (eval echo configure:4483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- ac_fdsections=yes
+ glibcpp_cv_func___builtin_sinf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- ac_fdsections=no
+ glibcpp_cv_func___builtin_sinf_use=no
fi
rm -f conftest*
- if test "$ac_test_CXXFLAGS" = set; then
- CXXFLAGS="$ac_save_CXXFLAGS"
- else
- # this is the suspicious part
- CXXFLAGS=''
- fi
- if test x"$ac_fdsections" = x"yes" && test x"$enable_debug" = x"no"; then
- SECTION_FLAGS='-ffunction-sections -fdata-sections'
- fi
- echo "$ac_t""$ac_fdsections" 1>&6
-
- ac_ext=c
+ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
-
-
-
-
-
- # If we're not using GNU ld, then there's no point in even trying these
- # tests. Check for that first. We should have already tested for gld
- # by now (in libtool), but require it now just to be safe...
- SECTION_LDFLAGS=''
- OPT_LDFLAGS=''
-
-
- # Set --gc-sections.
- if test "$ac_cv_prog_gnu_ld" = "notbroken"; then
- # GNU ld it is! Joy and bunny rabbits!
-
- # All these tests are for C++; save the language and the compiler flags.
- # Need to do this so that g++ won't try to link in libstdc++
- ac_test_CFLAGS="${CFLAGS+set}"
- ac_save_CFLAGS="$CFLAGS"
- CFLAGS='-x c++ -Wl,--gc-sections'
+
+fi
- # Check for -Wl,--gc-sections
- # XXX This test is broken at the moment, as symbols required for
- # linking are now in libsupc++ (not built yet.....). In addition,
- # this test has cored on solaris in the past. In addition,
- # --gc-sections doesn't really work at the moment (keeps on discarding
- # used sections, first .eh_frame and now some of the glibc sections for
- # iconv). Bzzzzt. Thanks for playing, maybe next time.
- echo $ac_n "checking for ld that supports -Wl,--gc-sections""... $ac_c" 1>&6
-echo "configure:4541: checking for ld that supports -Wl,--gc-sections" >&5
- if test "$cross_compiling" = yes; then
- ac_sectionLDflags=yes
+ fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
+ if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
+ echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
+echo "configure:5847: checking for __builtin_sinf linkage" >&5
+ if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
else
- cat > conftest.$ac_ext <<EOF
-#line 4546 "configure"
+
+ cat > conftest.$ac_ext <<EOF
+#line 5854 "configure"
#include "confdefs.h"
-
- int main(void)
- {
- try { throw 1; }
- catch (...) { };
- return 0;
- }
-
+#include <math.h>
+int main() {
+ __builtin_sinf(0);
+; return 0; }
EOF
-if { (eval echo configure:4557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
-then
- ac_sectionLDflags=yes
+if { (eval echo configure:5861: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ glibcpp_cv_func___builtin_sinf_link=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
- rm -fr conftest*
- ac_sectionLFflags=no
+ rm -rf conftest*
+ glibcpp_cv_func___builtin_sinf_link=no
fi
-rm -fr conftest*
+rm -f conftest*
+
fi
- if test "$ac_test_CFLAGS" = set; then
- CFLAGS="$ac_save_CFLAGS"
- else
- # this is the suspicious part
- CFLAGS=''
- fi
- if test "$ac_sectionLDflags" = "yes"; then
- SECTION_LDFLAGS='-Wl,--gc-sections'
fi
- echo "$ac_t""$ac_sectionLDflags" 1>&6
- fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
+ if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
+ ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define ${ac_tr_func} 1
+EOF
- # Set linker optimization flags.
- if test x"$ac_cv_prog_gnu_ld" = x"yes" && test x"$enable_debug" = x"no"; then
- OPT_LDFLAGS='-Wl,-O1'
+ fi
fi
-
-
-
-
- echo $ac_n "checking for __builtin_abs declaration""... $ac_c" 1>&6
-echo "configure:4592: checking for __builtin_abs declaration" >&5
- if test x${glibcpp_cv_func___builtin_abs_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_use'+set}'`\" = set"; then
+ echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
+echo "configure:5887: checking for __builtin_sin declaration" >&5
+ if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 4607 "configure"
+#line 5902 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- __builtin_abs(0);
+ __builtin_sin(0);
; return 0; }
EOF
-if { (eval echo configure:4614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func___builtin_abs_use=yes
+ glibcpp_cv_func___builtin_sin_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_abs_use=no
+ glibcpp_cv_func___builtin_sin_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_abs_use" 1>&6
- if test x$glibcpp_cv_func___builtin_abs_use = x"yes"; then
- echo $ac_n "checking for __builtin_abs linkage""... $ac_c" 1>&6
-echo "configure:4638: checking for __builtin_abs linkage" >&5
- if test x${glibcpp_cv_func___builtin_abs_link+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_abs_link'+set}'`\" = set"; then
+ echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
+ if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
+ echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
+echo "configure:5933: checking for __builtin_sin linkage" >&5
+ if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 4645 "configure"
+#line 5940 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- __builtin_abs(0);
+ __builtin_sin(0);
; return 0; }
EOF
-if { (eval echo configure:4652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:5947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- glibcpp_cv_func___builtin_abs_link=yes
+ glibcpp_cv_func___builtin_sin_link=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_abs_link=no
+ glibcpp_cv_func___builtin_sin_link=no
fi
rm -f conftest*
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_abs_link" 1>&6
- if test x$glibcpp_cv_func___builtin_abs_link = x"yes"; then
- ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
+ if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
+ ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
cat >> confdefs.h <<EOF
#define ${ac_tr_func} 1
EOF
fi
- echo $ac_n "checking for __builtin_fabsf declaration""... $ac_c" 1>&6
-echo "configure:4678: checking for __builtin_fabsf declaration" >&5
- if test x${glibcpp_cv_func___builtin_fabsf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_use'+set}'`\" = set"; then
+ echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
+echo "configure:5973: checking for __builtin_sinl declaration" >&5
+ if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 4693 "configure"
+#line 5988 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- __builtin_fabsf(0);
+ __builtin_sinl(0);
; return 0; }
EOF
-if { (eval echo configure:4700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:5995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func___builtin_fabsf_use=yes
+ glibcpp_cv_func___builtin_sinl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_fabsf_use=no
+ glibcpp_cv_func___builtin_sinl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_use" 1>&6
- if test x$glibcpp_cv_func___builtin_fabsf_use = x"yes"; then
- echo $ac_n "checking for __builtin_fabsf linkage""... $ac_c" 1>&6
-echo "configure:4724: checking for __builtin_fabsf linkage" >&5
- if test x${glibcpp_cv_func___builtin_fabsf_link+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsf_link'+set}'`\" = set"; then
+ echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
+ if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
+ echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
+echo "configure:6019: checking for __builtin_sinl linkage" >&5
+ if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 4731 "configure"
+#line 6026 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- __builtin_fabsf(0);
+ __builtin_sinl(0);
; return 0; }
EOF
-if { (eval echo configure:4738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- glibcpp_cv_func___builtin_fabsf_link=yes
+ glibcpp_cv_func___builtin_sinl_link=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_fabsf_link=no
+ glibcpp_cv_func___builtin_sinl_link=no
fi
rm -f conftest*
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_fabsf_link" 1>&6
- if test x$glibcpp_cv_func___builtin_fabsf_link = x"yes"; then
- ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
+ if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
+ ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
cat >> confdefs.h <<EOF
#define ${ac_tr_func} 1
EOF
fi
fi
+
- echo $ac_n "checking for __builtin_fabs declaration""... $ac_c" 1>&6
-echo "configure:4764: checking for __builtin_fabs declaration" >&5
- if test x${glibcpp_cv_func___builtin_fabs_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_use'+set}'`\" = set"; then
+ echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
+echo "configure:6060: checking for __builtin_cosf declaration" >&5
+ if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 4779 "configure"
+#line 6075 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- __builtin_fabs(0);
+ __builtin_cosf(0);
; return 0; }
EOF
-if { (eval echo configure:4786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func___builtin_fabs_use=yes
+ glibcpp_cv_func___builtin_cosf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_fabs_use=no
+ glibcpp_cv_func___builtin_cosf_use=no
fi
rm -f conftest*
ac_ext=c
fi
-
- fi
- echo "$ac_t""$glibcpp_cv_func___builtin_fabs_use" 1>&6
- if test x$glibcpp_cv_func___builtin_fabs_use = x"yes"; then
- echo $ac_n "checking for __builtin_fabs linkage""... $ac_c" 1>&6
-echo "configure:4810: checking for __builtin_fabs linkage" >&5
- if test x${glibcpp_cv_func___builtin_fabs_link+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabs_link'+set}'`\" = set"; then
+
+ fi
+ echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
+ if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
+ echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
+echo "configure:6106: checking for __builtin_cosf linkage" >&5
+ if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 4817 "configure"
+#line 6113 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- __builtin_fabs(0);
+ __builtin_cosf(0);
; return 0; }
EOF
-if { (eval echo configure:4824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- glibcpp_cv_func___builtin_fabs_link=yes
+ glibcpp_cv_func___builtin_cosf_link=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_fabs_link=no
+ glibcpp_cv_func___builtin_cosf_link=no
fi
rm -f conftest*
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_fabs_link" 1>&6
- if test x$glibcpp_cv_func___builtin_fabs_link = x"yes"; then
- ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
+ if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
+ ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
cat >> confdefs.h <<EOF
#define ${ac_tr_func} 1
EOF
fi
- echo $ac_n "checking for __builtin_fabsl declaration""... $ac_c" 1>&6
-echo "configure:4850: checking for __builtin_fabsl declaration" >&5
- if test x${glibcpp_cv_func___builtin_fabsl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_use'+set}'`\" = set"; then
+ echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
+echo "configure:6146: checking for __builtin_cos declaration" >&5
+ if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 4865 "configure"
+#line 6161 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- __builtin_fabsl(0);
+ __builtin_cos(0);
; return 0; }
EOF
-if { (eval echo configure:4872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func___builtin_fabsl_use=yes
+ glibcpp_cv_func___builtin_cos_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_fabsl_use=no
+ glibcpp_cv_func___builtin_cos_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_use" 1>&6
- if test x$glibcpp_cv_func___builtin_fabsl_use = x"yes"; then
- echo $ac_n "checking for __builtin_fabsl linkage""... $ac_c" 1>&6
-echo "configure:4896: checking for __builtin_fabsl linkage" >&5
- if test x${glibcpp_cv_func___builtin_fabsl_link+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fabsl_link'+set}'`\" = set"; then
+ echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
+ if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
+ echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
+echo "configure:6192: checking for __builtin_cos linkage" >&5
+ if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 4903 "configure"
+#line 6199 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- __builtin_fabsl(0);
+ __builtin_cos(0);
; return 0; }
EOF
-if { (eval echo configure:4910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- glibcpp_cv_func___builtin_fabsl_link=yes
+ glibcpp_cv_func___builtin_cos_link=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_fabsl_link=no
+ glibcpp_cv_func___builtin_cos_link=no
fi
rm -f conftest*
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_fabsl_link" 1>&6
- if test x$glibcpp_cv_func___builtin_fabsl_link = x"yes"; then
- ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
+ if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
+ ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
cat >> confdefs.h <<EOF
#define ${ac_tr_func} 1
EOF
fi
- echo $ac_n "checking for __builtin_labs declaration""... $ac_c" 1>&6
-echo "configure:4936: checking for __builtin_labs declaration" >&5
- if test x${glibcpp_cv_func___builtin_labs_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_use'+set}'`\" = set"; then
+ echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
+echo "configure:6232: checking for __builtin_cosl declaration" >&5
+ if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 4951 "configure"
+#line 6247 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- __builtin_labs(0);
+ __builtin_cosl(0);
; return 0; }
EOF
-if { (eval echo configure:4958: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6254: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func___builtin_labs_use=yes
+ glibcpp_cv_func___builtin_cosl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_labs_use=no
+ glibcpp_cv_func___builtin_cosl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_labs_use" 1>&6
- if test x$glibcpp_cv_func___builtin_labs_use = x"yes"; then
- echo $ac_n "checking for __builtin_labs linkage""... $ac_c" 1>&6
-echo "configure:4982: checking for __builtin_labs linkage" >&5
- if test x${glibcpp_cv_func___builtin_labs_link+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_labs_link'+set}'`\" = set"; then
+ echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
+ if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
+ echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
+echo "configure:6278: checking for __builtin_cosl linkage" >&5
+ if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 4989 "configure"
+#line 6285 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- __builtin_labs(0);
+ __builtin_cosl(0);
; return 0; }
EOF
-if { (eval echo configure:4996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- glibcpp_cv_func___builtin_labs_link=yes
+ glibcpp_cv_func___builtin_cosl_link=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_labs_link=no
+ glibcpp_cv_func___builtin_cosl_link=no
fi
rm -f conftest*
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_labs_link" 1>&6
- if test x$glibcpp_cv_func___builtin_labs_link = x"yes"; then
- ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
+ if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
+ ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
cat >> confdefs.h <<EOF
#define ${ac_tr_func} 1
EOF
fi
+ dummyvar=no
+ if test x$dummyvar = x"yes"; then
+ cat >> confdefs.h <<\EOF
+#define HAVE___BUILTIN_ABS 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE___BUILTIN_LABS 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE___BUILTIN_COS 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE___BUILTIN_COSF 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE___BUILTIN_COSL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE___BUILTIN_FABS 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE___BUILTIN_FABSF 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE___BUILTIN_FABSL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE___BUILTIN_SIN 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE___BUILTIN_SINF 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE___BUILTIN_SINL 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE___BUILTIN_FSQRT 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE___BUILTIN_SQRTF 1
+EOF
+
+ cat >> confdefs.h <<\EOF
+#define HAVE___BUILTIN_SQRTL 1
+EOF
+
+ fi
+
+
+ ac_test_CXXFLAGS="${CXXFLAGS+set}"
+ ac_save_CXXFLAGS="$CXXFLAGS"
+ CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
+
+ echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
+echo "configure:6383: checking for sin in -lm" >&5
+ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
+if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ ac_save_LIBS="$LIBS"
+LIBS="-lm $LIBS"
+cat > conftest.$ac_ext <<EOF
+#line 6391 "configure"
+#include "confdefs.h"
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char sin();
+
+int main() {
+sin()
+; return 0; }
+EOF
+if { (eval echo configure:6402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_lib_$ac_lib_var=no"
+fi
+rm -f conftest*
+LIBS="$ac_save_LIBS"
+
+fi
+if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ libm="-lm"
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+ ac_save_LIBS="$LIBS"
+ LIBS="$LIBS $libm"
+
+
- echo $ac_n "checking for __builtin_sqrtf declaration""... $ac_c" 1>&6
-echo "configure:5023: checking for __builtin_sqrtf declaration" >&5
- if test x${glibcpp_cv_func___builtin_sqrtf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_use'+set}'`\" = set"; then
+ echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
+echo "configure:6428: checking for isinf declaration" >&5
+ if test x${glibcpp_cv_func_isinf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 5038 "configure"
+#line 6443 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- __builtin_sqrtf(0);
+ isinf(0);
; return 0; }
EOF
-if { (eval echo configure:5045: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6454: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func___builtin_sqrtf_use=yes
+ glibcpp_cv_func_isinf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_sqrtf_use=no
+ glibcpp_cv_func_isinf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_use" 1>&6
- if test x$glibcpp_cv_func___builtin_sqrtf_use = x"yes"; then
- echo $ac_n "checking for __builtin_sqrtf linkage""... $ac_c" 1>&6
-echo "configure:5069: checking for __builtin_sqrtf linkage" >&5
- if test x${glibcpp_cv_func___builtin_sqrtf_link+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtf_link'+set}'`\" = set"; then
+ echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
+
+ if test x$glibcpp_cv_func_isinf_use = x"yes"; then
+ for ac_func in isinf
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:6481: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- cat > conftest.$ac_ext <<EOF
-#line 5076 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 6486 "configure"
#include "confdefs.h"
-#include <math.h>
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func();
+
int main() {
- __builtin_sqrtf(0);
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
+
; return 0; }
EOF
-if { (eval echo configure:5083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- glibcpp_cv_func___builtin_sqrtf_link=yes
+ eval "ac_cv_func_$ac_func=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_sqrtf_link=no
+ eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
-
fi
- fi
- echo "$ac_t""$glibcpp_cv_func___builtin_sqrtf_link" 1>&6
- if test x$glibcpp_cv_func___builtin_sqrtf_link = x"yes"; then
- ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >> confdefs.h <<EOF
-#define ${ac_tr_func} 1
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
EOF
-
- fi
- fi
-
-
- echo $ac_n "checking for __builtin_fsqrt declaration""... $ac_c" 1>&6
-echo "configure:5109: checking for __builtin_fsqrt declaration" >&5
- if test x${glibcpp_cv_func___builtin_fsqrt_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_use'+set}'`\" = set"; then
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+done
+
+ else
+
+ echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
+echo "configure:6536: checking for _isinf declaration" >&5
+ if test x${glibcpp_cv_func__isinf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 5124 "configure"
+#line 6551 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- __builtin_fsqrt(0);
+ _isinf(0);
; return 0; }
EOF
-if { (eval echo configure:5131: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func___builtin_fsqrt_use=yes
+ glibcpp_cv_func__isinf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_fsqrt_use=no
+ glibcpp_cv_func__isinf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_use" 1>&6
- if test x$glibcpp_cv_func___builtin_fsqrt_use = x"yes"; then
- echo $ac_n "checking for __builtin_fsqrt linkage""... $ac_c" 1>&6
-echo "configure:5155: checking for __builtin_fsqrt linkage" >&5
- if test x${glibcpp_cv_func___builtin_fsqrt_link+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_fsqrt_link'+set}'`\" = set"; then
+ echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
+
+ if test x$glibcpp_cv_func__isinf_use = x"yes"; then
+ for ac_func in _isinf
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:6589: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- cat > conftest.$ac_ext <<EOF
-#line 5162 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 6594 "configure"
#include "confdefs.h"
-#include <math.h>
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func();
+
int main() {
- __builtin_fsqrt(0);
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
+
; return 0; }
EOF
-if { (eval echo configure:5169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6617: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- glibcpp_cv_func___builtin_fsqrt_link=yes
+ eval "ac_cv_func_$ac_func=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_fsqrt_link=no
+ eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
-
fi
- fi
- echo "$ac_t""$glibcpp_cv_func___builtin_fsqrt_link" 1>&6
- if test x$glibcpp_cv_func___builtin_fsqrt_link = x"yes"; then
- ac_tr_func=HAVE_`echo __builtin_fsqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >> confdefs.h <<EOF
-#define ${ac_tr_func} 1
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
EOF
-
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+done
+
fi
fi
- echo $ac_n "checking for __builtin_sqrtl declaration""... $ac_c" 1>&6
-echo "configure:5195: checking for __builtin_sqrtl declaration" >&5
- if test x${glibcpp_cv_func___builtin_sqrtl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
+echo "configure:6647: checking for isnan declaration" >&5
+ if test x${glibcpp_cv_func_isnan_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 5210 "configure"
+#line 6662 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- __builtin_sqrtl(0);
+ isnan(0);
; return 0; }
EOF
-if { (eval echo configure:5217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func___builtin_sqrtl_use=yes
+ glibcpp_cv_func_isnan_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_sqrtl_use=no
+ glibcpp_cv_func_isnan_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_use" 1>&6
- if test x$glibcpp_cv_func___builtin_sqrtl_use = x"yes"; then
- echo $ac_n "checking for __builtin_sqrtl linkage""... $ac_c" 1>&6
-echo "configure:5241: checking for __builtin_sqrtl linkage" >&5
- if test x${glibcpp_cv_func___builtin_sqrtl_link+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sqrtl_link'+set}'`\" = set"; then
+ echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
+
+ if test x$glibcpp_cv_func_isnan_use = x"yes"; then
+ for ac_func in isnan
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:6700: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- cat > conftest.$ac_ext <<EOF
-#line 5248 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 6705 "configure"
#include "confdefs.h"
-#include <math.h>
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func();
+
int main() {
- __builtin_sqrtl(0);
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
+
; return 0; }
EOF
-if { (eval echo configure:5255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- glibcpp_cv_func___builtin_sqrtl_link=yes
+ eval "ac_cv_func_$ac_func=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_sqrtl_link=no
+ eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
-
fi
- fi
- echo "$ac_t""$glibcpp_cv_func___builtin_sqrtl_link" 1>&6
- if test x$glibcpp_cv_func___builtin_sqrtl_link = x"yes"; then
- ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >> confdefs.h <<EOF
-#define ${ac_tr_func} 1
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
EOF
-
- fi
- fi
-
-
-
- echo $ac_n "checking for __builtin_sinf declaration""... $ac_c" 1>&6
-echo "configure:5282: checking for __builtin_sinf declaration" >&5
- if test x${glibcpp_cv_func___builtin_sinf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_use'+set}'`\" = set"; then
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+done
+
+ else
+
+ echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
+echo "configure:6755: checking for _isnan declaration" >&5
+ if test x${glibcpp_cv_func__isnan_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 5297 "configure"
+#line 6770 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- __builtin_sinf(0);
+ _isnan(0);
; return 0; }
EOF
-if { (eval echo configure:5304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func___builtin_sinf_use=yes
+ glibcpp_cv_func__isnan_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_sinf_use=no
+ glibcpp_cv_func__isnan_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_sinf_use" 1>&6
- if test x$glibcpp_cv_func___builtin_sinf_use = x"yes"; then
- echo $ac_n "checking for __builtin_sinf linkage""... $ac_c" 1>&6
-echo "configure:5328: checking for __builtin_sinf linkage" >&5
- if test x${glibcpp_cv_func___builtin_sinf_link+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinf_link'+set}'`\" = set"; then
+ echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
+
+ if test x$glibcpp_cv_func__isnan_use = x"yes"; then
+ for ac_func in _isnan
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:6808: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- cat > conftest.$ac_ext <<EOF
-#line 5335 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 6813 "configure"
#include "confdefs.h"
-#include <math.h>
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func();
+
int main() {
- __builtin_sinf(0);
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
+
; return 0; }
EOF
-if { (eval echo configure:5342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- glibcpp_cv_func___builtin_sinf_link=yes
+ eval "ac_cv_func_$ac_func=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_sinf_link=no
+ eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
-
fi
- fi
- echo "$ac_t""$glibcpp_cv_func___builtin_sinf_link" 1>&6
- if test x$glibcpp_cv_func___builtin_sinf_link = x"yes"; then
- ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >> confdefs.h <<EOF
-#define ${ac_tr_func} 1
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
EOF
-
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+done
+
fi
fi
- echo $ac_n "checking for __builtin_sin declaration""... $ac_c" 1>&6
-echo "configure:5368: checking for __builtin_sin declaration" >&5
- if test x${glibcpp_cv_func___builtin_sin_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
+echo "configure:6866: checking for finite declaration" >&5
+ if test x${glibcpp_cv_func_finite_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 5383 "configure"
+#line 6881 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- __builtin_sin(0);
+ finite(0);
; return 0; }
EOF
-if { (eval echo configure:5390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:6892: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func___builtin_sin_use=yes
+ glibcpp_cv_func_finite_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_sin_use=no
+ glibcpp_cv_func_finite_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_sin_use" 1>&6
- if test x$glibcpp_cv_func___builtin_sin_use = x"yes"; then
- echo $ac_n "checking for __builtin_sin linkage""... $ac_c" 1>&6
-echo "configure:5414: checking for __builtin_sin linkage" >&5
- if test x${glibcpp_cv_func___builtin_sin_link+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sin_link'+set}'`\" = set"; then
+ echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
+
+ if test x$glibcpp_cv_func_finite_use = x"yes"; then
+ for ac_func in finite
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:6919: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- cat > conftest.$ac_ext <<EOF
-#line 5421 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 6924 "configure"
#include "confdefs.h"
-#include <math.h>
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func();
+
int main() {
- __builtin_sin(0);
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
+
; return 0; }
EOF
-if { (eval echo configure:5428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:6947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- glibcpp_cv_func___builtin_sin_link=yes
+ eval "ac_cv_func_$ac_func=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_sin_link=no
+ eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
-
fi
- fi
- echo "$ac_t""$glibcpp_cv_func___builtin_sin_link" 1>&6
- if test x$glibcpp_cv_func___builtin_sin_link = x"yes"; then
- ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >> confdefs.h <<EOF
-#define ${ac_tr_func} 1
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
EOF
-
- fi
- fi
-
-
- echo $ac_n "checking for __builtin_sinl declaration""... $ac_c" 1>&6
-echo "configure:5454: checking for __builtin_sinl declaration" >&5
- if test x${glibcpp_cv_func___builtin_sinl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_use'+set}'`\" = set"; then
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+done
+
+ else
+
+ echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
+echo "configure:6974: checking for _finite declaration" >&5
+ if test x${glibcpp_cv_func__finite_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 5469 "configure"
+#line 6989 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- __builtin_sinl(0);
+ _finite(0);
; return 0; }
EOF
-if { (eval echo configure:5476: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func___builtin_sinl_use=yes
+ glibcpp_cv_func__finite_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_sinl_use=no
+ glibcpp_cv_func__finite_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_sinl_use" 1>&6
- if test x$glibcpp_cv_func___builtin_sinl_use = x"yes"; then
- echo $ac_n "checking for __builtin_sinl linkage""... $ac_c" 1>&6
-echo "configure:5500: checking for __builtin_sinl linkage" >&5
- if test x${glibcpp_cv_func___builtin_sinl_link+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_sinl_link'+set}'`\" = set"; then
+ echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
+
+ if test x$glibcpp_cv_func__finite_use = x"yes"; then
+ for ac_func in _finite
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:7027: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- cat > conftest.$ac_ext <<EOF
-#line 5507 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 7032 "configure"
#include "confdefs.h"
-#include <math.h>
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func();
+
int main() {
- __builtin_sinl(0);
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
+
; return 0; }
EOF
-if { (eval echo configure:5514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- glibcpp_cv_func___builtin_sinl_link=yes
+ eval "ac_cv_func_$ac_func=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_sinl_link=no
+ eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
-
fi
- fi
- echo "$ac_t""$glibcpp_cv_func___builtin_sinl_link" 1>&6
- if test x$glibcpp_cv_func___builtin_sinl_link = x"yes"; then
- ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >> confdefs.h <<EOF
-#define ${ac_tr_func} 1
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
EOF
-
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+done
+
fi
fi
-
- echo $ac_n "checking for __builtin_cosf declaration""... $ac_c" 1>&6
-echo "configure:5541: checking for __builtin_cosf declaration" >&5
- if test x${glibcpp_cv_func___builtin_cosf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
+echo "configure:7085: checking for copysign declaration" >&5
+ if test x${glibcpp_cv_func_copysign_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 5556 "configure"
+#line 7100 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- __builtin_cosf(0);
+ copysign(0, 0);
; return 0; }
EOF
-if { (eval echo configure:5563: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7107: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func___builtin_cosf_use=yes
+ glibcpp_cv_func_copysign_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_cosf_use=no
+ glibcpp_cv_func_copysign_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_cosf_use" 1>&6
- if test x$glibcpp_cv_func___builtin_cosf_use = x"yes"; then
- echo $ac_n "checking for __builtin_cosf linkage""... $ac_c" 1>&6
-echo "configure:5587: checking for __builtin_cosf linkage" >&5
- if test x${glibcpp_cv_func___builtin_cosf_link+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosf_link'+set}'`\" = set"; then
+ echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
+
+ if test x$glibcpp_cv_func_copysign_use = x"yes"; then
+ for ac_func in copysign
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:7134: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- cat > conftest.$ac_ext <<EOF
-#line 5594 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 7139 "configure"
#include "confdefs.h"
-#include <math.h>
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func();
+
int main() {
- __builtin_cosf(0);
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
+
; return 0; }
EOF
-if { (eval echo configure:5601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- glibcpp_cv_func___builtin_cosf_link=yes
+ eval "ac_cv_func_$ac_func=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_cosf_link=no
+ eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
-
fi
- fi
- echo "$ac_t""$glibcpp_cv_func___builtin_cosf_link" 1>&6
- if test x$glibcpp_cv_func___builtin_cosf_link = x"yes"; then
- ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >> confdefs.h <<EOF
-#define ${ac_tr_func} 1
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
EOF
-
- fi
- fi
-
-
- echo $ac_n "checking for __builtin_cos declaration""... $ac_c" 1>&6
-echo "configure:5627: checking for __builtin_cos declaration" >&5
- if test x${glibcpp_cv_func___builtin_cos_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_use'+set}'`\" = set"; then
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+done
+
+ else
+
+ echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
+echo "configure:7189: checking for _copysign declaration" >&5
+ if test x${glibcpp_cv_func__copysign_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 5642 "configure"
+#line 7204 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- __builtin_cos(0);
+ _copysign(0, 0);
; return 0; }
EOF
-if { (eval echo configure:5649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7211: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func___builtin_cos_use=yes
+ glibcpp_cv_func__copysign_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_cos_use=no
+ glibcpp_cv_func__copysign_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_cos_use" 1>&6
- if test x$glibcpp_cv_func___builtin_cos_use = x"yes"; then
- echo $ac_n "checking for __builtin_cos linkage""... $ac_c" 1>&6
-echo "configure:5673: checking for __builtin_cos linkage" >&5
- if test x${glibcpp_cv_func___builtin_cos_link+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cos_link'+set}'`\" = set"; then
+ echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
+
+ if test x$glibcpp_cv_func__copysign_use = x"yes"; then
+ for ac_func in _copysign
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:7238: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- cat > conftest.$ac_ext <<EOF
-#line 5680 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 7243 "configure"
#include "confdefs.h"
-#include <math.h>
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func();
+
int main() {
- __builtin_cos(0);
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
+
; return 0; }
EOF
-if { (eval echo configure:5687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- glibcpp_cv_func___builtin_cos_link=yes
+ eval "ac_cv_func_$ac_func=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_cos_link=no
-fi
-rm -f conftest*
-
-fi
-
- fi
- echo "$ac_t""$glibcpp_cv_func___builtin_cos_link" 1>&6
- if test x$glibcpp_cv_func___builtin_cos_link = x"yes"; then
- ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >> confdefs.h <<EOF
-#define ${ac_tr_func} 1
-EOF
+ eval "ac_cv_func_$ac_func=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
+EOF
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+done
+
fi
fi
- echo $ac_n "checking for __builtin_cosl declaration""... $ac_c" 1>&6
-echo "configure:5713: checking for __builtin_cosl declaration" >&5
- if test x${glibcpp_cv_func___builtin_cosl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
+echo "configure:7296: checking for sincos declaration" >&5
+ if test x${glibcpp_cv_func_sincos_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 5728 "configure"
+#line 7311 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- __builtin_cosl(0);
+ sincos(0, 0, 0);
; return 0; }
EOF
-if { (eval echo configure:5735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7318: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func___builtin_cosl_use=yes
+ glibcpp_cv_func_sincos_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func___builtin_cosl_use=no
+ glibcpp_cv_func_sincos_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func___builtin_cosl_use" 1>&6
- if test x$glibcpp_cv_func___builtin_cosl_use = x"yes"; then
- echo $ac_n "checking for __builtin_cosl linkage""... $ac_c" 1>&6
-echo "configure:5759: checking for __builtin_cosl linkage" >&5
- if test x${glibcpp_cv_func___builtin_cosl_link+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func___builtin_cosl_link'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
- cat > conftest.$ac_ext <<EOF
-#line 5766 "configure"
-#include "confdefs.h"
-#include <math.h>
-int main() {
- __builtin_cosl(0);
-; return 0; }
-EOF
-if { (eval echo configure:5773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- glibcpp_cv_func___builtin_cosl_link=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- glibcpp_cv_func___builtin_cosl_link=no
-fi
-rm -f conftest*
-
-fi
-
- fi
- echo "$ac_t""$glibcpp_cv_func___builtin_cosl_link" 1>&6
- if test x$glibcpp_cv_func___builtin_cosl_link = x"yes"; then
- ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >> confdefs.h <<EOF
-#define ${ac_tr_func} 1
-EOF
-
- fi
- fi
-
-
- dummyvar=no
- if test x$dummyvar = x"yes"; then
- cat >> confdefs.h <<\EOF
-#define HAVE___BUILTIN_ABS 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE___BUILTIN_LABS 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE___BUILTIN_COS 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE___BUILTIN_COSF 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE___BUILTIN_COSL 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE___BUILTIN_FABS 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE___BUILTIN_FABSF 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE___BUILTIN_FABSL 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE___BUILTIN_SIN 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE___BUILTIN_SINF 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE___BUILTIN_SINL 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE___BUILTIN_FSQRT 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE___BUILTIN_SQRTF 1
-EOF
-
- cat >> confdefs.h <<\EOF
-#define HAVE___BUILTIN_SQRTL 1
-EOF
-
- fi
-
-
- ac_test_CXXFLAGS="${CXXFLAGS+set}"
- ac_save_CXXFLAGS="$CXXFLAGS"
- CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
+ echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
- echo $ac_n "checking for sin in -lm""... $ac_c" 1>&6
-echo "configure:5864: checking for sin in -lm" >&5
-ac_lib_var=`echo m'_'sin | sed 'y%./+-%__p_%'`
-if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
+ if test x$glibcpp_cv_func_sincos_use = x"yes"; then
+ for ac_func in sincos
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:7345: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- ac_save_LIBS="$LIBS"
-LIBS="-lm $LIBS"
-cat > conftest.$ac_ext <<EOF
-#line 5872 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 7350 "configure"
#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char sin();
+char $ac_func();
int main() {
-sin()
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
+
; return 0; }
EOF
-if { (eval echo configure:5883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=yes"
+ eval "ac_cv_func_$ac_func=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- eval "ac_cv_lib_$ac_lib_var=no"
+ eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
-LIBS="$ac_save_LIBS"
-
fi
-if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
+
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
echo "$ac_t""yes" 1>&6
- libm="-lm"
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
+EOF
+
else
echo "$ac_t""no" 1>&6
fi
-
- ac_save_LIBS="$LIBS"
- LIBS="$LIBS $libm"
-
+done
- echo $ac_n "checking for isinf declaration""... $ac_c" 1>&6
-echo "configure:5908: checking for isinf declaration" >&5
- if test x${glibcpp_cv_func_isinf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_isinf_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
+echo "configure:7400: checking for _sincos declaration" >&5
+ if test x${glibcpp_cv_func__sincos_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 5923 "configure"
+#line 7415 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- isinf(0);
+ _sincos(0, 0, 0);
; return 0; }
EOF
-if { (eval echo configure:5930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7422: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_isinf_use=yes
+ glibcpp_cv_func__sincos_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_isinf_use=no
+ glibcpp_cv_func__sincos_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_isinf_use" 1>&6
- if test x$glibcpp_cv_func_isinf_use = x"yes"; then
- for ac_func in isinf
+ echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
+
+ if test x$glibcpp_cv_func__sincos_use = x"yes"; then
+ for ac_func in _sincos
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:5956: checking for $ac_func" >&5
+echo "configure:7449: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 5961 "configure"
+#line 7454 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:5984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7477: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for isnan declaration""... $ac_c" 1>&6
-echo "configure:6012: checking for isnan declaration" >&5
- if test x${glibcpp_cv_func_isnan_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_isnan_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
+echo "configure:7507: checking for fpclass declaration" >&5
+ if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 6027 "configure"
+#line 7522 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- isnan(0);
+ fpclass(0);
; return 0; }
EOF
-if { (eval echo configure:6034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_isnan_use=yes
+ glibcpp_cv_func_fpclass_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_isnan_use=no
+ glibcpp_cv_func_fpclass_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_isnan_use" 1>&6
- if test x$glibcpp_cv_func_isnan_use = x"yes"; then
- for ac_func in isnan
+ echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
+
+ if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
+ for ac_func in fpclass
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:6060: checking for $ac_func" >&5
+echo "configure:7560: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 6065 "configure"
+#line 7565 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:6088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for finite declaration""... $ac_c" 1>&6
-echo "configure:6116: checking for finite declaration" >&5
- if test x${glibcpp_cv_func_finite_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_finite_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
+echo "configure:7615: checking for _fpclass declaration" >&5
+ if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 6131 "configure"
+#line 7630 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- finite(0);
+ _fpclass(0);
; return 0; }
EOF
-if { (eval echo configure:6138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7641: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_finite_use=yes
+ glibcpp_cv_func__fpclass_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_finite_use=no
+ glibcpp_cv_func__fpclass_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_finite_use" 1>&6
- if test x$glibcpp_cv_func_finite_use = x"yes"; then
- for ac_func in finite
+ echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
+
+ if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
+ for ac_func in _fpclass
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:6164: checking for $ac_func" >&5
+echo "configure:7668: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 6169 "configure"
+#line 7673 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:6192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for copysign declaration""... $ac_c" 1>&6
-echo "configure:6220: checking for copysign declaration" >&5
- if test x${glibcpp_cv_func_copysign_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_copysign_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
+echo "configure:7726: checking for qfpclass declaration" >&5
+ if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 6235 "configure"
+#line 7741 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- copysign(0, 0);
+ qfpclass(0);
; return 0; }
EOF
-if { (eval echo configure:6242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_copysign_use=yes
+ glibcpp_cv_func_qfpclass_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_copysign_use=no
+ glibcpp_cv_func_qfpclass_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_copysign_use" 1>&6
- if test x$glibcpp_cv_func_copysign_use = x"yes"; then
- for ac_func in copysign
+ echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
+
+ if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
+ for ac_func in qfpclass
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:6268: checking for $ac_func" >&5
+echo "configure:7779: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 6273 "configure"
+#line 7784 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:6296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for sincos declaration""... $ac_c" 1>&6
-echo "configure:6324: checking for sincos declaration" >&5
- if test x${glibcpp_cv_func_sincos_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_sincos_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
+echo "configure:7834: checking for _qfpclass declaration" >&5
+ if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 6339 "configure"
+#line 7849 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- sincos(0, 0, 0);
+ _qfpclass(0);
; return 0; }
EOF
-if { (eval echo configure:6346: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7860: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_sincos_use=yes
+ glibcpp_cv_func__qfpclass_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_sincos_use=no
+ glibcpp_cv_func__qfpclass_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_sincos_use" 1>&6
- if test x$glibcpp_cv_func_sincos_use = x"yes"; then
- for ac_func in sincos
+ echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
+
+ if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
+ for ac_func in _qfpclass
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:6372: checking for $ac_func" >&5
+echo "configure:7887: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 6377 "configure"
+#line 7892 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:6400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:7915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for fpclass declaration""... $ac_c" 1>&6
-echo "configure:6428: checking for fpclass declaration" >&5
- if test x${glibcpp_cv_func_fpclass_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_fpclass_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for hypot declaration""... $ac_c" 1>&6
+echo "configure:7945: checking for hypot declaration" >&5
+ if test x${glibcpp_cv_func_hypot_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_hypot_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 6443 "configure"
+#line 7960 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- fpclass(0);
+ hypot(0, 0);
; return 0; }
EOF
-if { (eval echo configure:6450: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:7967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_fpclass_use=yes
+ glibcpp_cv_func_hypot_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_fpclass_use=no
+ glibcpp_cv_func_hypot_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_fpclass_use" 1>&6
- if test x$glibcpp_cv_func_fpclass_use = x"yes"; then
- for ac_func in fpclass
+ echo "$ac_t""$glibcpp_cv_func_hypot_use" 1>&6
+
+ if test x$glibcpp_cv_func_hypot_use = x"yes"; then
+ for ac_func in hypot
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:6476: checking for $ac_func" >&5
+echo "configure:7994: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 6481 "configure"
+#line 7999 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:6504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8022: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for qfpclass declaration""... $ac_c" 1>&6
-echo "configure:6532: checking for qfpclass declaration" >&5
- if test x${glibcpp_cv_func_qfpclass_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_qfpclass_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _hypot declaration""... $ac_c" 1>&6
+echo "configure:8049: checking for _hypot declaration" >&5
+ if test x${glibcpp_cv_func__hypot_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__hypot_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 6547 "configure"
+#line 8064 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- qfpclass(0);
+ _hypot(0, 0);
; return 0; }
EOF
-if { (eval echo configure:6554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8071: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_qfpclass_use=yes
+ glibcpp_cv_func__hypot_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_qfpclass_use=no
+ glibcpp_cv_func__hypot_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_qfpclass_use" 1>&6
- if test x$glibcpp_cv_func_qfpclass_use = x"yes"; then
- for ac_func in qfpclass
+ echo "$ac_t""$glibcpp_cv_func__hypot_use" 1>&6
+
+ if test x$glibcpp_cv_func__hypot_use = x"yes"; then
+ for ac_func in _hypot
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:6580: checking for $ac_func" >&5
+echo "configure:8098: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 6585 "configure"
+#line 8103 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:6608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8126: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
echo $ac_n "checking for float trig functions""... $ac_c" 1>&6
-echo "configure:6637: checking for float trig functions" >&5
+echo "configure:8156: checking for float trig functions" >&5
if eval "test \"`echo '$''{'glibcpp_cv_func_float_trig_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 6651 "configure"
+#line 8170 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
coshf sinhf tanhf; do echo "$x (0);"; done`
; return 0; }
EOF
-if { (eval echo configure:6660: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8179: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
glibcpp_cv_func_float_trig_use=yes
else
coshf sinhf tanhf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:6686: checking for $ac_func" >&5
+echo "configure:8205: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 6691 "configure"
+#line 8210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:6714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo $ac_n "checking for float round functions""... $ac_c" 1>&6
-echo "configure:6742: checking for float round functions" >&5
+echo "configure:8261: checking for float round functions" >&5
if eval "test \"`echo '$''{'glibcpp_cv_func_float_round_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 6756 "configure"
+#line 8275 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
`for x in ceilf floorf; do echo "$x (0);"; done`
; return 0; }
EOF
-if { (eval echo configure:6763: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
glibcpp_cv_func_float_round_use=yes
else
for ac_func in ceilf floorf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:6787: checking for $ac_func" >&5
+echo "configure:8306: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 6792 "configure"
+#line 8311 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:6815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
+
echo $ac_n "checking for isnanf declaration""... $ac_c" 1>&6
-echo "configure:6843: checking for isnanf declaration" >&5
+echo "configure:8363: checking for isnanf declaration" >&5
if test x${glibcpp_cv_func_isnanf_use+set} != xset; then
if eval "test \"`echo '$''{'glibcpp_cv_func_isnanf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 6858 "configure"
+#line 8378 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
isnanf(0);
; return 0; }
EOF
-if { (eval echo configure:6865: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
glibcpp_cv_func_isnanf_use=yes
else
fi
echo "$ac_t""$glibcpp_cv_func_isnanf_use" 1>&6
+
if test x$glibcpp_cv_func_isnanf_use = x"yes"; then
for ac_func in isnanf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:6891: checking for $ac_func" >&5
+echo "configure:8416: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 6896 "configure"
+#line 8421 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:6919: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
-echo "configure:6947: checking for isinff declaration" >&5
- if test x${glibcpp_cv_func_isinff_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
- ac_ext=C
-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cxx_cross
-
- cat > conftest.$ac_ext <<EOF
-#line 6962 "configure"
-#include "confdefs.h"
-#include <math.h>
-int main() {
- isinff(0);
-; return 0; }
-EOF
-if { (eval echo configure:6969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- glibcpp_cv_func_isinff_use=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- glibcpp_cv_func_isinff_use=no
-fi
-rm -f conftest*
- ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
-
-
-fi
-
- fi
- echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
- if test x$glibcpp_cv_func_isinff_use = x"yes"; then
- for ac_func in isinff
-do
-echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:6995: checking for $ac_func" >&5
-if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 7000 "configure"
-#include "confdefs.h"
-/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char $ac_func(); below. */
-#include <assert.h>
-/* Override any gcc2 internal prototype to avoid an error. */
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char $ac_func();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
-choke me
-#else
-$ac_func();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:7023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_func 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-fi
-done
+ else
- fi
-
-
- echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
-echo "configure:7051: checking for fabsf declaration" >&5
- if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
+ echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
+echo "configure:8471: checking for _isnanf declaration" >&5
+ if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 7066 "configure"
+#line 8486 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- fabsf(0);
+ _isnanf(0);
; return 0; }
EOF
-if { (eval echo configure:7073: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_fabsf_use=yes
+ glibcpp_cv_func__isnanf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_fabsf_use=no
+ glibcpp_cv_func__isnanf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
- if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
- for ac_func in fabsf
+ echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
+
+ if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
+ for ac_func in _isnanf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:7099: checking for $ac_func" >&5
+echo "configure:8524: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 7104 "configure"
+#line 8529 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:7127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
-echo "configure:7155: checking for fmodf declaration" >&5
- if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for isinff declaration""... $ac_c" 1>&6
+echo "configure:8582: checking for isinff declaration" >&5
+ if test x${glibcpp_cv_func_isinff_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_isinff_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 7170 "configure"
+#line 8597 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- fmodf(0, 0);
+ isinff(0);
; return 0; }
EOF
-if { (eval echo configure:7177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_fmodf_use=yes
+ glibcpp_cv_func_isinff_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_fmodf_use=no
+ glibcpp_cv_func_isinff_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
- if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
- for ac_func in fmodf
+ echo "$ac_t""$glibcpp_cv_func_isinff_use" 1>&6
+
+ if test x$glibcpp_cv_func_isinff_use = x"yes"; then
+ for ac_func in isinff
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:7203: checking for $ac_func" >&5
+echo "configure:8635: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 7208 "configure"
+#line 8640 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:7231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
-echo "configure:7259: checking for frexpf declaration" >&5
- if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
+echo "configure:8690: checking for _isinff declaration" >&5
+ if test x${glibcpp_cv_func__isinff_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 7274 "configure"
+#line 8705 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- frexpf(0, 0);
+ _isinff(0);
; return 0; }
EOF
-if { (eval echo configure:7281: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8716: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_frexpf_use=yes
+ glibcpp_cv_func__isinff_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_frexpf_use=no
+ glibcpp_cv_func__isinff_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
- if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
- for ac_func in frexpf
+ echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
+
+ if test x$glibcpp_cv_func__isinff_use = x"yes"; then
+ for ac_func in _isinff
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:7307: checking for $ac_func" >&5
+echo "configure:8743: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 7312 "configure"
+#line 8748 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:7335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
-echo "configure:7363: checking for ldexpf declaration" >&5
- if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for atan2f declaration""... $ac_c" 1>&6
+echo "configure:8801: checking for atan2f declaration" >&5
+ if test x${glibcpp_cv_func_atan2f_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_atan2f_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 7378 "configure"
+#line 8816 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- ldexpf(0, 0);
+ atan2f(0, 0);
; return 0; }
EOF
-if { (eval echo configure:7385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_ldexpf_use=yes
+ glibcpp_cv_func_atan2f_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_ldexpf_use=no
+ glibcpp_cv_func_atan2f_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
- if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
- for ac_func in ldexpf
+ echo "$ac_t""$glibcpp_cv_func_atan2f_use" 1>&6
+
+ if test x$glibcpp_cv_func_atan2f_use = x"yes"; then
+ for ac_func in atan2f
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:7411: checking for $ac_func" >&5
+echo "configure:8850: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 7416 "configure"
+#line 8855 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:7439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8878: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
-echo "configure:7467: checking for logf declaration" >&5
- if test x${glibcpp_cv_func_logf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _atan2f declaration""... $ac_c" 1>&6
+echo "configure:8905: checking for _atan2f declaration" >&5
+ if test x${glibcpp_cv_func__atan2f_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__atan2f_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 7482 "configure"
+#line 8920 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- logf(0);
+ _atan2f(0, 0);
; return 0; }
EOF
-if { (eval echo configure:7489: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:8927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_logf_use=yes
+ glibcpp_cv_func__atan2f_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_logf_use=no
+ glibcpp_cv_func__atan2f_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
- if test x$glibcpp_cv_func_logf_use = x"yes"; then
- for ac_func in logf
+ echo "$ac_t""$glibcpp_cv_func__atan2f_use" 1>&6
+
+ if test x$glibcpp_cv_func__atan2f_use = x"yes"; then
+ for ac_func in _atan2f
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:7515: checking for $ac_func" >&5
+echo "configure:8954: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 7520 "configure"
+#line 8959 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:7543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:8982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
-echo "configure:7571: checking for log10f declaration" >&5
- if test x${glibcpp_cv_func_log10f_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for fabsf declaration""... $ac_c" 1>&6
+echo "configure:9012: checking for fabsf declaration" >&5
+ if test x${glibcpp_cv_func_fabsf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_fabsf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 7586 "configure"
+#line 9027 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- log10f(0);
+ fabsf(0);
; return 0; }
EOF
-if { (eval echo configure:7593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:9038: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_log10f_use=yes
+ glibcpp_cv_func_fabsf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_log10f_use=no
+ glibcpp_cv_func_fabsf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
- if test x$glibcpp_cv_func_log10f_use = x"yes"; then
- for ac_func in log10f
+ echo "$ac_t""$glibcpp_cv_func_fabsf_use" 1>&6
+
+ if test x$glibcpp_cv_func_fabsf_use = x"yes"; then
+ for ac_func in fabsf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:7619: checking for $ac_func" >&5
+echo "configure:9065: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 7624 "configure"
+#line 9070 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:7647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:9093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
-echo "configure:7675: checking for modff declaration" >&5
- if test x${glibcpp_cv_func_modff_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
+echo "configure:9120: checking for _fabsf declaration" >&5
+ if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 7690 "configure"
+#line 9135 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- modff(0, 0);
+ _fabsf(0);
; return 0; }
EOF
-if { (eval echo configure:7697: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:9146: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_modff_use=yes
+ glibcpp_cv_func__fabsf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_modff_use=no
+ glibcpp_cv_func__fabsf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
- if test x$glibcpp_cv_func_modff_use = x"yes"; then
- for ac_func in modff
+ echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
+
+ if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
+ for ac_func in _fabsf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:7723: checking for $ac_func" >&5
+echo "configure:9173: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 7728 "configure"
+#line 9178 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:7751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:9201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
-echo "configure:7779: checking for powf declaration" >&5
- if test x${glibcpp_cv_func_powf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for fmodf declaration""... $ac_c" 1>&6
+echo "configure:9231: checking for fmodf declaration" >&5
+ if test x${glibcpp_cv_func_fmodf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_fmodf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 7794 "configure"
+#line 9246 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- powf(0, 0);
+ fmodf(0, 0);
; return 0; }
EOF
-if { (eval echo configure:7801: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:9253: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_powf_use=yes
+ glibcpp_cv_func_fmodf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_powf_use=no
+ glibcpp_cv_func_fmodf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
- if test x$glibcpp_cv_func_powf_use = x"yes"; then
- for ac_func in powf
+ echo "$ac_t""$glibcpp_cv_func_fmodf_use" 1>&6
+
+ if test x$glibcpp_cv_func_fmodf_use = x"yes"; then
+ for ac_func in fmodf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:7827: checking for $ac_func" >&5
+echo "configure:9280: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 7832 "configure"
+#line 9285 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:7855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:9308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
-echo "configure:7883: checking for sqrtf declaration" >&5
- if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
+echo "configure:9335: checking for _fmodf declaration" >&5
+ if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 7898 "configure"
+#line 9350 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- sqrtf(0);
+ _fmodf(0, 0);
; return 0; }
EOF
-if { (eval echo configure:7905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:9357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_sqrtf_use=yes
+ glibcpp_cv_func__fmodf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_sqrtf_use=no
+ glibcpp_cv_func__fmodf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
- if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
- for ac_func in sqrtf
+ echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
+
+ if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
+ for ac_func in _fmodf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:7931: checking for $ac_func" >&5
+echo "configure:9384: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 7936 "configure"
+#line 9389 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:7959: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:9412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
-echo "configure:7987: checking for sincosf declaration" >&5
- if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for frexpf declaration""... $ac_c" 1>&6
+echo "configure:9442: checking for frexpf declaration" >&5
+ if test x${glibcpp_cv_func_frexpf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_frexpf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 8002 "configure"
+#line 9457 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- sincosf(0, 0, 0);
+ frexpf(0, 0);
; return 0; }
EOF
-if { (eval echo configure:8009: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:9464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_sincosf_use=yes
+ glibcpp_cv_func_frexpf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_sincosf_use=no
+ glibcpp_cv_func_frexpf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
- if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
- for ac_func in sincosf
+ echo "$ac_t""$glibcpp_cv_func_frexpf_use" 1>&6
+
+ if test x$glibcpp_cv_func_frexpf_use = x"yes"; then
+ for ac_func in frexpf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8035: checking for $ac_func" >&5
+echo "configure:9491: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 8040 "configure"
+#line 9496 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:8063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:9519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
-echo "configure:8091: checking for finitef declaration" >&5
- if test x${glibcpp_cv_func_finitef_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
+echo "configure:9546: checking for _frexpf declaration" >&5
+ if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 8106 "configure"
+#line 9561 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- finitef(0);
+ _frexpf(0, 0);
; return 0; }
EOF
-if { (eval echo configure:8113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:9568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_finitef_use=yes
+ glibcpp_cv_func__frexpf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_finitef_use=no
+ glibcpp_cv_func__frexpf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
- if test x$glibcpp_cv_func_finitef_use = x"yes"; then
- for ac_func in finitef
+ echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
+
+ if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
+ for ac_func in _frexpf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8139: checking for $ac_func" >&5
+echo "configure:9595: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 8144 "configure"
+#line 9600 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:8167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:9623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
-
-
- echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
-echo "configure:8196: checking for long double trig functions" >&5
- if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
+
+
+ echo $ac_n "checking for hypotf declaration""... $ac_c" 1>&6
+echo "configure:9653: checking for hypotf declaration" >&5
+ if test x${glibcpp_cv_func_hypotf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_hypotf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- ac_ext=C
+
+ ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
- cat > conftest.$ac_ext <<EOF
-#line 8210 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 9668 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- `for x in acosl asinl atanl \
- cosl sinl tanl \
- coshl sinhl tanhl; do echo "$x (0);"; done`
+ hypotf(0, 0);
; return 0; }
EOF
-if { (eval echo configure:8219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:9675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_long_double_trig_use=yes
+ glibcpp_cv_func_hypotf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_long_double_trig_use=no
+ glibcpp_cv_func_hypotf_use=no
fi
rm -f conftest*
- ac_ext=c
+ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
+
fi
- echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
- if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
- for ac_func in acosl asinl atanl \
- cosl sinl tanl \
- coshl sinhl tanhl
+ fi
+ echo "$ac_t""$glibcpp_cv_func_hypotf_use" 1>&6
+
+ if test x$glibcpp_cv_func_hypotf_use = x"yes"; then
+ for ac_func in hypotf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8245: checking for $ac_func" >&5
+echo "configure:9702: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 8250 "configure"
+#line 9707 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:8273: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:9730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo "$ac_t""no" 1>&6
fi
done
-
- fi
-
-
- echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
-echo "configure:8301: checking for long double round functions" >&5
- if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
+
+ else
+
+ echo $ac_n "checking for _hypotf declaration""... $ac_c" 1>&6
+echo "configure:9757: checking for _hypotf declaration" >&5
+ if test x${glibcpp_cv_func__hypotf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__hypotf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- ac_ext=C
+
+ ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
- cat > conftest.$ac_ext <<EOF
-#line 8315 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 9772 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- `for x in ceill floorl; do echo "$x (0);"; done`
+ _hypotf(0, 0);
; return 0; }
EOF
-if { (eval echo configure:8322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:9779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_long_double_round_use=yes
+ glibcpp_cv_func__hypotf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_long_double_round_use=no
+ glibcpp_cv_func__hypotf_use=no
fi
rm -f conftest*
- ac_ext=c
+ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
+
fi
- echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
- if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
- for ac_func in ceill floorl
+ fi
+ echo "$ac_t""$glibcpp_cv_func__hypotf_use" 1>&6
+
+ if test x$glibcpp_cv_func__hypotf_use = x"yes"; then
+ for ac_func in _hypotf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8346: checking for $ac_func" >&5
+echo "configure:9806: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 8351 "configure"
+#line 9811 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:8374: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:9834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo "$ac_t""no" 1>&6
fi
done
-
+
+ fi
fi
- echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
-echo "configure:8402: checking for isnanl declaration" >&5
- if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for ldexpf declaration""... $ac_c" 1>&6
+echo "configure:9864: checking for ldexpf declaration" >&5
+ if test x${glibcpp_cv_func_ldexpf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 8417 "configure"
+#line 9879 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- isnanl(0);
+ ldexpf(0, 0);
; return 0; }
EOF
-if { (eval echo configure:8424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:9886: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_isnanl_use=yes
+ glibcpp_cv_func_ldexpf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_isnanl_use=no
+ glibcpp_cv_func_ldexpf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
- if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
- for ac_func in isnanl
+ echo "$ac_t""$glibcpp_cv_func_ldexpf_use" 1>&6
+
+ if test x$glibcpp_cv_func_ldexpf_use = x"yes"; then
+ for ac_func in ldexpf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8450: checking for $ac_func" >&5
+echo "configure:9913: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 8455 "configure"
+#line 9918 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:8478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:9941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
-echo "configure:8506: checking for isinfl declaration" >&5
- if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
+echo "configure:9968: checking for _ldexpf declaration" >&5
+ if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 8521 "configure"
+#line 9983 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- isinfl(0);
+ _ldexpf(0, 0);
; return 0; }
EOF
-if { (eval echo configure:8528: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:9990: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_isinfl_use=yes
+ glibcpp_cv_func__ldexpf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_isinfl_use=no
+ glibcpp_cv_func__ldexpf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
- if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
- for ac_func in isinfl
+ echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
+
+ if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
+ for ac_func in _ldexpf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8554: checking for $ac_func" >&5
+echo "configure:10017: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 8559 "configure"
+#line 10022 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:8582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
-echo "configure:8610: checking for copysignl declaration" >&5
- if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for logf declaration""... $ac_c" 1>&6
+echo "configure:10075: checking for logf declaration" >&5
+ if test x${glibcpp_cv_func_logf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_logf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 8625 "configure"
+#line 10090 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- copysignl(0, 0);
+ logf(0);
; return 0; }
EOF
-if { (eval echo configure:8632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:10101: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_copysignl_use=yes
+ glibcpp_cv_func_logf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_copysignl_use=no
+ glibcpp_cv_func_logf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
- if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
- for ac_func in copysignl
+ echo "$ac_t""$glibcpp_cv_func_logf_use" 1>&6
+
+ if test x$glibcpp_cv_func_logf_use = x"yes"; then
+ for ac_func in logf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8658: checking for $ac_func" >&5
+echo "configure:10128: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 8663 "configure"
+#line 10133 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:8686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
else
echo "$ac_t""no" 1>&6
-fi
-done
-
- fi
-
-
- echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
-echo "configure:8714: checking for atan2l declaration" >&5
- if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
+fi
+done
+
+ else
+
+ echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
+echo "configure:10183: checking for _logf declaration" >&5
+ if test x${glibcpp_cv_func__logf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 8729 "configure"
+#line 10198 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- atan2l(0, 0);
+ _logf(0);
; return 0; }
EOF
-if { (eval echo configure:8736: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:10209: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_atan2l_use=yes
+ glibcpp_cv_func__logf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_atan2l_use=no
+ glibcpp_cv_func__logf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
- if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
- for ac_func in atan2l
+ echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
+
+ if test x$glibcpp_cv_func__logf_use = x"yes"; then
+ for ac_func in _logf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8762: checking for $ac_func" >&5
+echo "configure:10236: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 8767 "configure"
+#line 10241 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:8790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10264: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
-echo "configure:8818: checking for expl declaration" >&5
- if test x${glibcpp_cv_func_expl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for log10f declaration""... $ac_c" 1>&6
+echo "configure:10294: checking for log10f declaration" >&5
+ if test x${glibcpp_cv_func_log10f_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_log10f_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 8833 "configure"
+#line 10309 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- expl(0);
+ log10f(0);
; return 0; }
EOF
-if { (eval echo configure:8840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:10320: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_expl_use=yes
+ glibcpp_cv_func_log10f_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_expl_use=no
+ glibcpp_cv_func_log10f_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
- if test x$glibcpp_cv_func_expl_use = x"yes"; then
- for ac_func in expl
+ echo "$ac_t""$glibcpp_cv_func_log10f_use" 1>&6
+
+ if test x$glibcpp_cv_func_log10f_use = x"yes"; then
+ for ac_func in log10f
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8866: checking for $ac_func" >&5
+echo "configure:10347: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 8871 "configure"
+#line 10352 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:8894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
-echo "configure:8922: checking for fabsl declaration" >&5
- if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
+echo "configure:10402: checking for _log10f declaration" >&5
+ if test x${glibcpp_cv_func__log10f_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 8937 "configure"
+#line 10417 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- fabsl(0);
+ _log10f(0);
; return 0; }
EOF
-if { (eval echo configure:8944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:10428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_fabsl_use=yes
+ glibcpp_cv_func__log10f_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_fabsl_use=no
+ glibcpp_cv_func__log10f_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
- if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
- for ac_func in fabsl
+ echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
+
+ if test x$glibcpp_cv_func__log10f_use = x"yes"; then
+ for ac_func in _log10f
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:8970: checking for $ac_func" >&5
+echo "configure:10455: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 8975 "configure"
+#line 10460 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:8998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
-echo "configure:9026: checking for fmodl declaration" >&5
- if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for modff declaration""... $ac_c" 1>&6
+echo "configure:10513: checking for modff declaration" >&5
+ if test x${glibcpp_cv_func_modff_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_modff_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 9041 "configure"
+#line 10528 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- fmodl(0, 0);
+ modff(0, 0);
; return 0; }
EOF
-if { (eval echo configure:9048: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:10535: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_fmodl_use=yes
+ glibcpp_cv_func_modff_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_fmodl_use=no
+ glibcpp_cv_func_modff_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
- if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
- for ac_func in fmodl
+ echo "$ac_t""$glibcpp_cv_func_modff_use" 1>&6
+
+ if test x$glibcpp_cv_func_modff_use = x"yes"; then
+ for ac_func in modff
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:9074: checking for $ac_func" >&5
+echo "configure:10562: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 9079 "configure"
+#line 10567 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:9102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10590: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
-echo "configure:9130: checking for frexpl declaration" >&5
- if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
+echo "configure:10617: checking for _modff declaration" >&5
+ if test x${glibcpp_cv_func__modff_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 9145 "configure"
+#line 10632 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- frexpl(0, 0);
+ _modff(0, 0);
; return 0; }
EOF
-if { (eval echo configure:9152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:10639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_frexpl_use=yes
+ glibcpp_cv_func__modff_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_frexpl_use=no
+ glibcpp_cv_func__modff_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
- if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
- for ac_func in frexpl
+ echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
+
+ if test x$glibcpp_cv_func__modff_use = x"yes"; then
+ for ac_func in _modff
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:9178: checking for $ac_func" >&5
+echo "configure:10666: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 9183 "configure"
+#line 10671 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:9206: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
-echo "configure:9234: checking for ldexpl declaration" >&5
- if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for powf declaration""... $ac_c" 1>&6
+echo "configure:10724: checking for powf declaration" >&5
+ if test x${glibcpp_cv_func_powf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_powf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 9249 "configure"
+#line 10739 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- ldexpl(0, 0);
+ powf(0, 0);
; return 0; }
EOF
-if { (eval echo configure:9256: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:10746: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_ldexpl_use=yes
+ glibcpp_cv_func_powf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_ldexpl_use=no
+ glibcpp_cv_func_powf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
- if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
- for ac_func in ldexpl
+ echo "$ac_t""$glibcpp_cv_func_powf_use" 1>&6
+
+ if test x$glibcpp_cv_func_powf_use = x"yes"; then
+ for ac_func in powf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:9282: checking for $ac_func" >&5
+echo "configure:10773: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 9287 "configure"
+#line 10778 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:9310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
-echo "configure:9338: checking for logl declaration" >&5
- if test x${glibcpp_cv_func_logl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
+echo "configure:10828: checking for _powf declaration" >&5
+ if test x${glibcpp_cv_func__powf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 9353 "configure"
+#line 10843 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- logl(0);
+ _powf(0, 0);
; return 0; }
EOF
-if { (eval echo configure:9360: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:10850: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_logl_use=yes
+ glibcpp_cv_func__powf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_logl_use=no
+ glibcpp_cv_func__powf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
- if test x$glibcpp_cv_func_logl_use = x"yes"; then
- for ac_func in logl
+ echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
+
+ if test x$glibcpp_cv_func__powf_use = x"yes"; then
+ for ac_func in _powf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:9386: checking for $ac_func" >&5
+echo "configure:10877: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 9391 "configure"
+#line 10882 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:9414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:10905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
-echo "configure:9442: checking for log10l declaration" >&5
- if test x${glibcpp_cv_func_log10l_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for sqrtf declaration""... $ac_c" 1>&6
+echo "configure:10935: checking for sqrtf declaration" >&5
+ if test x${glibcpp_cv_func_sqrtf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 9457 "configure"
+#line 10950 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- log10l(0);
+ sqrtf(0);
; return 0; }
EOF
-if { (eval echo configure:9464: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:10961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_log10l_use=yes
+ glibcpp_cv_func_sqrtf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_log10l_use=no
+ glibcpp_cv_func_sqrtf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
- if test x$glibcpp_cv_func_log10l_use = x"yes"; then
- for ac_func in log10l
+ echo "$ac_t""$glibcpp_cv_func_sqrtf_use" 1>&6
+
+ if test x$glibcpp_cv_func_sqrtf_use = x"yes"; then
+ for ac_func in sqrtf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:9490: checking for $ac_func" >&5
+echo "configure:10988: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 9495 "configure"
+#line 10993 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:9518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11016: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
-echo "configure:9546: checking for modfl declaration" >&5
- if test x${glibcpp_cv_func_modfl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
+echo "configure:11043: checking for _sqrtf declaration" >&5
+ if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 9561 "configure"
+#line 11058 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- modfl(0, 0);
+ _sqrtf(0);
; return 0; }
EOF
-if { (eval echo configure:9568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:11069: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_modfl_use=yes
+ glibcpp_cv_func__sqrtf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_modfl_use=no
+ glibcpp_cv_func__sqrtf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
- if test x$glibcpp_cv_func_modfl_use = x"yes"; then
- for ac_func in modfl
+ echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
+
+ if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
+ for ac_func in _sqrtf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:9594: checking for $ac_func" >&5
+echo "configure:11096: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 9599 "configure"
+#line 11101 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:9622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
-echo "configure:9650: checking for powl declaration" >&5
- if test x${glibcpp_cv_func_powl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for sincosf declaration""... $ac_c" 1>&6
+echo "configure:11154: checking for sincosf declaration" >&5
+ if test x${glibcpp_cv_func_sincosf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_sincosf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 9665 "configure"
+#line 11169 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- powl(0, 0);
+ sincosf(0, 0, 0);
; return 0; }
EOF
-if { (eval echo configure:9672: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:11176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_powl_use=yes
+ glibcpp_cv_func_sincosf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_powl_use=no
+ glibcpp_cv_func_sincosf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
- if test x$glibcpp_cv_func_powl_use = x"yes"; then
- for ac_func in powl
+ echo "$ac_t""$glibcpp_cv_func_sincosf_use" 1>&6
+
+ if test x$glibcpp_cv_func_sincosf_use = x"yes"; then
+ for ac_func in sincosf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:9698: checking for $ac_func" >&5
+echo "configure:11203: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 9703 "configure"
+#line 11208 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:9726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
-echo "configure:9754: checking for sqrtl declaration" >&5
- if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
+echo "configure:11258: checking for _sincosf declaration" >&5
+ if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 9769 "configure"
+#line 11273 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- sqrtl(0);
+ _sincosf(0, 0, 0);
; return 0; }
EOF
-if { (eval echo configure:9776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:11280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_sqrtl_use=yes
+ glibcpp_cv_func__sincosf_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_sqrtl_use=no
+ glibcpp_cv_func__sincosf_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
- if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
- for ac_func in sqrtl
+ echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
+
+ if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
+ for ac_func in _sincosf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:9802: checking for $ac_func" >&5
+echo "configure:11307: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 9807 "configure"
+#line 11312 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:9830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
-echo "configure:9858: checking for sincosl declaration" >&5
- if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for finitef declaration""... $ac_c" 1>&6
+echo "configure:11365: checking for finitef declaration" >&5
+ if test x${glibcpp_cv_func_finitef_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_finitef_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 9873 "configure"
+#line 11380 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- sincosl(0, 0, 0);
+ finitef(0);
; return 0; }
EOF
-if { (eval echo configure:9880: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:11391: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_sincosl_use=yes
+ glibcpp_cv_func_finitef_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_sincosl_use=no
+ glibcpp_cv_func_finitef_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
- if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
- for ac_func in sincosl
+ echo "$ac_t""$glibcpp_cv_func_finitef_use" 1>&6
+
+ if test x$glibcpp_cv_func_finitef_use = x"yes"; then
+ for ac_func in finitef
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:9906: checking for $ac_func" >&5
+echo "configure:11418: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 9911 "configure"
+#line 11423 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:9934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
-echo "configure:9962: checking for finitel declaration" >&5
- if test x${glibcpp_cv_func_finitel_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
+echo "configure:11473: checking for _finitef declaration" >&5
+ if test x${glibcpp_cv_func__finitef_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 9977 "configure"
+#line 11488 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- finitel(0);
+ _finitef(0);
; return 0; }
EOF
-if { (eval echo configure:9984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:11499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func_finitel_use=yes
+ glibcpp_cv_func__finitef_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func_finitel_use=no
+ glibcpp_cv_func__finitef_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
- if test x$glibcpp_cv_func_finitel_use = x"yes"; then
- for ac_func in finitel
+ echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
+
+ if test x$glibcpp_cv_func__finitef_use = x"yes"; then
+ for ac_func in _finitef
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:10010: checking for $ac_func" >&5
+echo "configure:11526: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 10015 "configure"
+#line 11531 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:10038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
-
- echo $ac_n "checking for _isinf declaration""... $ac_c" 1>&6
-echo "configure:10067: checking for _isinf declaration" >&5
- if test x${glibcpp_cv_func__isinf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__isinf_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for long double trig functions""... $ac_c" 1>&6
+echo "configure:11584: checking for long double trig functions" >&5
+ if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_trig_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- ac_ext=C
+
+ ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
- cat > conftest.$ac_ext <<EOF
-#line 10082 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 11598 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _isinf(0);
+ `for x in acosl asinl atanl \
+ cosl sinl tanl \
+ coshl sinhl tanhl; do echo "$x (0);"; done`
; return 0; }
EOF
-if { (eval echo configure:10089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:11607: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__isinf_use=yes
+ glibcpp_cv_func_long_double_trig_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__isinf_use=no
+ glibcpp_cv_func_long_double_trig_use=no
fi
rm -f conftest*
- ac_ext=c
+ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
-
fi
- fi
- echo "$ac_t""$glibcpp_cv_func__isinf_use" 1>&6
- if test x$glibcpp_cv_func__isinf_use = x"yes"; then
- for ac_func in _isinf
+ echo "$ac_t""$glibcpp_cv_func_long_double_trig_use" 1>&6
+ if test x$glibcpp_cv_func_long_double_trig_use = x"yes"; then
+ for ac_func in acosl asinl atanl \
+ cosl sinl tanl \
+ coshl sinhl tanhl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:10115: checking for $ac_func" >&5
+echo "configure:11633: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 10120 "configure"
+#line 11638 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:10143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo "$ac_t""no" 1>&6
fi
done
-
+
fi
- echo $ac_n "checking for _isnan declaration""... $ac_c" 1>&6
-echo "configure:10171: checking for _isnan declaration" >&5
- if test x${glibcpp_cv_func__isnan_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__isnan_use'+set}'`\" = set"; then
+ echo $ac_n "checking for long double round functions""... $ac_c" 1>&6
+echo "configure:11689: checking for long double round functions" >&5
+ if eval "test \"`echo '$''{'glibcpp_cv_func_long_double_round_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- ac_ext=C
+
+ ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
- cat > conftest.$ac_ext <<EOF
-#line 10186 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 11703 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _isnan(0);
+ `for x in ceill floorl; do echo "$x (0);"; done`
; return 0; }
EOF
-if { (eval echo configure:10193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:11710: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__isnan_use=yes
+ glibcpp_cv_func_long_double_round_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__isnan_use=no
+ glibcpp_cv_func_long_double_round_use=no
fi
rm -f conftest*
- ac_ext=c
+ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
-
fi
- fi
- echo "$ac_t""$glibcpp_cv_func__isnan_use" 1>&6
- if test x$glibcpp_cv_func__isnan_use = x"yes"; then
- for ac_func in _isnan
+ echo "$ac_t""$glibcpp_cv_func_long_double_round_use" 1>&6
+ if test x$glibcpp_cv_func_long_double_round_use = x"yes"; then
+ for ac_func in ceill floorl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:10219: checking for $ac_func" >&5
+echo "configure:11734: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 10224 "configure"
+#line 11739 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:10247: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo "$ac_t""no" 1>&6
fi
done
-
+
fi
- echo $ac_n "checking for _finite declaration""... $ac_c" 1>&6
-echo "configure:10275: checking for _finite declaration" >&5
- if test x${glibcpp_cv_func__finite_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__finite_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for isnanl declaration""... $ac_c" 1>&6
+echo "configure:11791: checking for isnanl declaration" >&5
+ if test x${glibcpp_cv_func_isnanl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_isnanl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 10290 "configure"
+#line 11806 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- _finite(0);
+ isnanl(0);
; return 0; }
EOF
-if { (eval echo configure:10297: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:11817: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__finite_use=yes
+ glibcpp_cv_func_isnanl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__finite_use=no
+ glibcpp_cv_func_isnanl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__finite_use" 1>&6
- if test x$glibcpp_cv_func__finite_use = x"yes"; then
- for ac_func in _finite
+ echo "$ac_t""$glibcpp_cv_func_isnanl_use" 1>&6
+
+ if test x$glibcpp_cv_func_isnanl_use = x"yes"; then
+ for ac_func in isnanl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:10323: checking for $ac_func" >&5
+echo "configure:11844: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 10328 "configure"
+#line 11849 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:10351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11872: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for _copysign declaration""... $ac_c" 1>&6
-echo "configure:10379: checking for _copysign declaration" >&5
- if test x${glibcpp_cv_func__copysign_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__copysign_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
+echo "configure:11899: checking for _isnanl declaration" >&5
+ if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 10394 "configure"
+#line 11914 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- _copysign(0, 0);
+ _isnanl(0);
; return 0; }
EOF
-if { (eval echo configure:10401: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:11925: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__copysign_use=yes
+ glibcpp_cv_func__isnanl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__copysign_use=no
+ glibcpp_cv_func__isnanl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__copysign_use" 1>&6
- if test x$glibcpp_cv_func__copysign_use = x"yes"; then
- for ac_func in _copysign
+ echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
+
+ if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
+ for ac_func in _isnanl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:10427: checking for $ac_func" >&5
+echo "configure:11952: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 10432 "configure"
+#line 11957 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:10455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:11980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for _sincos declaration""... $ac_c" 1>&6
-echo "configure:10483: checking for _sincos declaration" >&5
- if test x${glibcpp_cv_func__sincos_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__sincos_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for isinfl declaration""... $ac_c" 1>&6
+echo "configure:12010: checking for isinfl declaration" >&5
+ if test x${glibcpp_cv_func_isinfl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_isinfl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 10498 "configure"
+#line 12025 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- _sincos(0, 0, 0);
+ isinfl(0);
; return 0; }
EOF
-if { (eval echo configure:10505: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:12036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__sincos_use=yes
+ glibcpp_cv_func_isinfl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__sincos_use=no
+ glibcpp_cv_func_isinfl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__sincos_use" 1>&6
- if test x$glibcpp_cv_func__sincos_use = x"yes"; then
- for ac_func in _sincos
+ echo "$ac_t""$glibcpp_cv_func_isinfl_use" 1>&6
+
+ if test x$glibcpp_cv_func_isinfl_use = x"yes"; then
+ for ac_func in isinfl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:10531: checking for $ac_func" >&5
+echo "configure:12063: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 10536 "configure"
+#line 12068 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:10559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:12091: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for _fpclass declaration""... $ac_c" 1>&6
-echo "configure:10587: checking for _fpclass declaration" >&5
- if test x${glibcpp_cv_func__fpclass_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__fpclass_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
+echo "configure:12118: checking for _isinfl declaration" >&5
+ if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 10602 "configure"
+#line 12133 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- _fpclass(0);
+ _isinfl(0);
; return 0; }
EOF
-if { (eval echo configure:10609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:12144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__fpclass_use=yes
+ glibcpp_cv_func__isinfl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__fpclass_use=no
+ glibcpp_cv_func__isinfl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__fpclass_use" 1>&6
- if test x$glibcpp_cv_func__fpclass_use = x"yes"; then
- for ac_func in _fpclass
+ echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
+
+ if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
+ for ac_func in _isinfl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:10635: checking for $ac_func" >&5
+echo "configure:12171: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 10640 "configure"
+#line 12176 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:10663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:12199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for _qfpclass declaration""... $ac_c" 1>&6
-echo "configure:10691: checking for _qfpclass declaration" >&5
- if test x${glibcpp_cv_func__qfpclass_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__qfpclass_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for copysignl declaration""... $ac_c" 1>&6
+echo "configure:12229: checking for copysignl declaration" >&5
+ if test x${glibcpp_cv_func_copysignl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_copysignl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 10706 "configure"
+#line 12244 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _qfpclass(0);
+ copysignl(0, 0);
; return 0; }
EOF
-if { (eval echo configure:10713: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:12251: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__qfpclass_use=yes
+ glibcpp_cv_func_copysignl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__qfpclass_use=no
+ glibcpp_cv_func_copysignl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__qfpclass_use" 1>&6
- if test x$glibcpp_cv_func__qfpclass_use = x"yes"; then
- for ac_func in _qfpclass
+ echo "$ac_t""$glibcpp_cv_func_copysignl_use" 1>&6
+
+ if test x$glibcpp_cv_func_copysignl_use = x"yes"; then
+ for ac_func in copysignl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:10739: checking for $ac_func" >&5
+echo "configure:12278: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 10744 "configure"
+#line 12283 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:10767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:12306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
+ else
- echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
-echo "configure:10796: checking for _float trig functions" >&5
- if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
+ echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
+echo "configure:12333: checking for _copysignl declaration" >&5
+ if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- ac_ext=C
+
+ ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
- cat > conftest.$ac_ext <<EOF
-#line 10810 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 12348 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- `for x in _acosf _asinf _atanf \
- _cosf _sinf _tanf \
- _coshf _sinhf _tanhf; do echo "$x (0);"; done`
+ _copysignl(0, 0);
; return 0; }
EOF
-if { (eval echo configure:10819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:12355: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__float_trig_use=yes
+ glibcpp_cv_func__copysignl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__float_trig_use=no
+ glibcpp_cv_func__copysignl_use=no
fi
rm -f conftest*
- ac_ext=c
+ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
+
fi
- echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
- if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
- for ac_func in _acosf _asinf _atanf \
- _cosf _sinf _tanf \
- _coshf _sinhf _tanhf
+ fi
+ echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
+
+ if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
+ for ac_func in _copysignl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:10845: checking for $ac_func" >&5
+echo "configure:12382: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 10850 "configure"
+#line 12387 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:10873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:12410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo "$ac_t""no" 1>&6
fi
done
-
+
+ fi
fi
- echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
-echo "configure:10901: checking for _float round functions" >&5
- if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for atan2l declaration""... $ac_c" 1>&6
+echo "configure:12440: checking for atan2l declaration" >&5
+ if test x${glibcpp_cv_func_atan2l_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_atan2l_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- ac_ext=C
+
+ ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
- cat > conftest.$ac_ext <<EOF
-#line 10915 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 12455 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- `for x in _ceilf _floorf; do echo "$x (0);"; done`
+ atan2l(0, 0);
; return 0; }
EOF
-if { (eval echo configure:10922: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:12462: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__float_round_use=yes
+ glibcpp_cv_func_atan2l_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__float_round_use=no
+ glibcpp_cv_func_atan2l_use=no
fi
rm -f conftest*
- ac_ext=c
+ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
+
fi
- echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
- if test x$glibcpp_cv_func__float_round_use = x"yes"; then
- for ac_func in _ceilf _floorf
+ fi
+ echo "$ac_t""$glibcpp_cv_func_atan2l_use" 1>&6
+
+ if test x$glibcpp_cv_func_atan2l_use = x"yes"; then
+ for ac_func in atan2l
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:10946: checking for $ac_func" >&5
+echo "configure:12489: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 10951 "configure"
+#line 12494 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:10974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:12517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
else
echo "$ac_t""no" 1>&6
fi
-done
-
- fi
-
-
- echo $ac_n "checking for _isnanf declaration""... $ac_c" 1>&6
-echo "configure:11002: checking for _isnanf declaration" >&5
- if test x${glibcpp_cv_func__isnanf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__isnanf_use'+set}'`\" = set"; then
+done
+
+ else
+
+ echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
+echo "configure:12544: checking for _atan2l declaration" >&5
+ if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 11017 "configure"
+#line 12559 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _isnanf(0);
+ _atan2l(0, 0);
; return 0; }
EOF
-if { (eval echo configure:11024: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:12566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__isnanf_use=yes
+ glibcpp_cv_func__atan2l_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__isnanf_use=no
+ glibcpp_cv_func__atan2l_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__isnanf_use" 1>&6
- if test x$glibcpp_cv_func__isnanf_use = x"yes"; then
- for ac_func in _isnanf
+ echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
+
+ if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
+ for ac_func in _atan2l
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:11050: checking for $ac_func" >&5
+echo "configure:12593: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 11055 "configure"
+#line 12598 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:11078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:12621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for _isinff declaration""... $ac_c" 1>&6
-echo "configure:11106: checking for _isinff declaration" >&5
- if test x${glibcpp_cv_func__isinff_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__isinff_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for expl declaration""... $ac_c" 1>&6
+echo "configure:12651: checking for expl declaration" >&5
+ if test x${glibcpp_cv_func_expl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_expl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 11121 "configure"
+#line 12666 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- _isinff(0);
+ expl(0);
; return 0; }
EOF
-if { (eval echo configure:11128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:12677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__isinff_use=yes
+ glibcpp_cv_func_expl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__isinff_use=no
+ glibcpp_cv_func_expl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__isinff_use" 1>&6
- if test x$glibcpp_cv_func__isinff_use = x"yes"; then
- for ac_func in _isinff
+ echo "$ac_t""$glibcpp_cv_func_expl_use" 1>&6
+
+ if test x$glibcpp_cv_func_expl_use = x"yes"; then
+ for ac_func in expl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:11154: checking for $ac_func" >&5
+echo "configure:12704: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 11159 "configure"
+#line 12709 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:11182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:12732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for _fabsf declaration""... $ac_c" 1>&6
-echo "configure:11210: checking for _fabsf declaration" >&5
- if test x${glibcpp_cv_func__fabsf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__fabsf_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
+echo "configure:12759: checking for _expl declaration" >&5
+ if test x${glibcpp_cv_func__expl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 11225 "configure"
+#line 12774 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- _fabsf(0);
+ _expl(0);
; return 0; }
EOF
-if { (eval echo configure:11232: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:12785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__fabsf_use=yes
+ glibcpp_cv_func__expl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__fabsf_use=no
+ glibcpp_cv_func__expl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__fabsf_use" 1>&6
- if test x$glibcpp_cv_func__fabsf_use = x"yes"; then
- for ac_func in _fabsf
+ echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
+
+ if test x$glibcpp_cv_func__expl_use = x"yes"; then
+ for ac_func in _expl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:11258: checking for $ac_func" >&5
+echo "configure:12812: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 11263 "configure"
+#line 12817 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:11286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:12840: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for _fmodf declaration""... $ac_c" 1>&6
-echo "configure:11314: checking for _fmodf declaration" >&5
- if test x${glibcpp_cv_func__fmodf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__fmodf_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for fabsl declaration""... $ac_c" 1>&6
+echo "configure:12870: checking for fabsl declaration" >&5
+ if test x${glibcpp_cv_func_fabsl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_fabsl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 11329 "configure"
+#line 12885 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- _fmodf(0, 0);
+ fabsl(0);
; return 0; }
EOF
-if { (eval echo configure:11336: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:12896: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__fmodf_use=yes
+ glibcpp_cv_func_fabsl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__fmodf_use=no
+ glibcpp_cv_func_fabsl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__fmodf_use" 1>&6
- if test x$glibcpp_cv_func__fmodf_use = x"yes"; then
- for ac_func in _fmodf
+ echo "$ac_t""$glibcpp_cv_func_fabsl_use" 1>&6
+
+ if test x$glibcpp_cv_func_fabsl_use = x"yes"; then
+ for ac_func in fabsl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:11362: checking for $ac_func" >&5
+echo "configure:12923: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 11367 "configure"
+#line 12928 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:11390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:12951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for _frexpf declaration""... $ac_c" 1>&6
-echo "configure:11418: checking for _frexpf declaration" >&5
- if test x${glibcpp_cv_func__frexpf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__frexpf_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
+echo "configure:12978: checking for _fabsl declaration" >&5
+ if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 11433 "configure"
+#line 12993 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- _frexpf(0, 0);
+ _fabsl(0);
; return 0; }
EOF
-if { (eval echo configure:11440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:13004: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__frexpf_use=yes
+ glibcpp_cv_func__fabsl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__frexpf_use=no
+ glibcpp_cv_func__fabsl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__frexpf_use" 1>&6
- if test x$glibcpp_cv_func__frexpf_use = x"yes"; then
- for ac_func in _frexpf
+ echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
+
+ if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
+ for ac_func in _fabsl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:11466: checking for $ac_func" >&5
+echo "configure:13031: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 11471 "configure"
+#line 13036 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:11494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:13059: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for _ldexpf declaration""... $ac_c" 1>&6
-echo "configure:11522: checking for _ldexpf declaration" >&5
- if test x${glibcpp_cv_func__ldexpf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpf_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for fmodl declaration""... $ac_c" 1>&6
+echo "configure:13089: checking for fmodl declaration" >&5
+ if test x${glibcpp_cv_func_fmodl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_fmodl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 11537 "configure"
+#line 13104 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _ldexpf(0, 0);
+ fmodl(0, 0);
; return 0; }
EOF
-if { (eval echo configure:11544: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:13111: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__ldexpf_use=yes
+ glibcpp_cv_func_fmodl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__ldexpf_use=no
+ glibcpp_cv_func_fmodl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__ldexpf_use" 1>&6
- if test x$glibcpp_cv_func__ldexpf_use = x"yes"; then
- for ac_func in _ldexpf
+ echo "$ac_t""$glibcpp_cv_func_fmodl_use" 1>&6
+
+ if test x$glibcpp_cv_func_fmodl_use = x"yes"; then
+ for ac_func in fmodl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:11570: checking for $ac_func" >&5
+echo "configure:13138: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 11575 "configure"
+#line 13143 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:11598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:13166: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for _logf declaration""... $ac_c" 1>&6
-echo "configure:11626: checking for _logf declaration" >&5
- if test x${glibcpp_cv_func__logf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__logf_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
+echo "configure:13193: checking for _fmodl declaration" >&5
+ if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 11641 "configure"
+#line 13208 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _logf(0);
+ _fmodl(0, 0);
; return 0; }
EOF
-if { (eval echo configure:11648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:13215: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__logf_use=yes
+ glibcpp_cv_func__fmodl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__logf_use=no
+ glibcpp_cv_func__fmodl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__logf_use" 1>&6
- if test x$glibcpp_cv_func__logf_use = x"yes"; then
- for ac_func in _logf
+ echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
+
+ if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
+ for ac_func in _fmodl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:11674: checking for $ac_func" >&5
+echo "configure:13242: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 11679 "configure"
+#line 13247 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:11702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:13270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for _log10f declaration""... $ac_c" 1>&6
-echo "configure:11730: checking for _log10f declaration" >&5
- if test x${glibcpp_cv_func__log10f_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__log10f_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for frexpl declaration""... $ac_c" 1>&6
+echo "configure:13300: checking for frexpl declaration" >&5
+ if test x${glibcpp_cv_func_frexpl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_frexpl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 11745 "configure"
+#line 13315 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _log10f(0);
+ frexpl(0, 0);
; return 0; }
EOF
-if { (eval echo configure:11752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:13322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__log10f_use=yes
+ glibcpp_cv_func_frexpl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__log10f_use=no
+ glibcpp_cv_func_frexpl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__log10f_use" 1>&6
- if test x$glibcpp_cv_func__log10f_use = x"yes"; then
- for ac_func in _log10f
+ echo "$ac_t""$glibcpp_cv_func_frexpl_use" 1>&6
+
+ if test x$glibcpp_cv_func_frexpl_use = x"yes"; then
+ for ac_func in frexpl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:11778: checking for $ac_func" >&5
+echo "configure:13349: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 11783 "configure"
+#line 13354 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:11806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:13377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for _modff declaration""... $ac_c" 1>&6
-echo "configure:11834: checking for _modff declaration" >&5
- if test x${glibcpp_cv_func__modff_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__modff_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
+echo "configure:13404: checking for _frexpl declaration" >&5
+ if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 11849 "configure"
+#line 13419 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _modff(0, 0);
+ _frexpl(0, 0);
; return 0; }
EOF
-if { (eval echo configure:11856: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:13426: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__modff_use=yes
+ glibcpp_cv_func__frexpl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__modff_use=no
+ glibcpp_cv_func__frexpl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__modff_use" 1>&6
- if test x$glibcpp_cv_func__modff_use = x"yes"; then
- for ac_func in _modff
+ echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
+
+ if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
+ for ac_func in _frexpl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:11882: checking for $ac_func" >&5
+echo "configure:13453: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 11887 "configure"
+#line 13458 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:11910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:13481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for _powf declaration""... $ac_c" 1>&6
-echo "configure:11938: checking for _powf declaration" >&5
- if test x${glibcpp_cv_func__powf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__powf_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for hypotl declaration""... $ac_c" 1>&6
+echo "configure:13511: checking for hypotl declaration" >&5
+ if test x${glibcpp_cv_func_hypotl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_hypotl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 11953 "configure"
+#line 13526 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _powf(0, 0);
+ hypotl(0, 0);
; return 0; }
EOF
-if { (eval echo configure:11960: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:13533: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__powf_use=yes
+ glibcpp_cv_func_hypotl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__powf_use=no
+ glibcpp_cv_func_hypotl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__powf_use" 1>&6
- if test x$glibcpp_cv_func__powf_use = x"yes"; then
- for ac_func in _powf
+ echo "$ac_t""$glibcpp_cv_func_hypotl_use" 1>&6
+
+ if test x$glibcpp_cv_func_hypotl_use = x"yes"; then
+ for ac_func in hypotl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:11986: checking for $ac_func" >&5
+echo "configure:13560: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 11991 "configure"
+#line 13565 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:12014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:13588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for _sqrtf declaration""... $ac_c" 1>&6
-echo "configure:12042: checking for _sqrtf declaration" >&5
- if test x${glibcpp_cv_func__sqrtf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtf_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _hypotl declaration""... $ac_c" 1>&6
+echo "configure:13615: checking for _hypotl declaration" >&5
+ if test x${glibcpp_cv_func__hypotl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__hypotl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 12057 "configure"
+#line 13630 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _sqrtf(0);
+ _hypotl(0, 0);
; return 0; }
EOF
-if { (eval echo configure:12064: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:13637: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__sqrtf_use=yes
+ glibcpp_cv_func__hypotl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__sqrtf_use=no
+ glibcpp_cv_func__hypotl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__sqrtf_use" 1>&6
- if test x$glibcpp_cv_func__sqrtf_use = x"yes"; then
- for ac_func in _sqrtf
+ echo "$ac_t""$glibcpp_cv_func__hypotl_use" 1>&6
+
+ if test x$glibcpp_cv_func__hypotl_use = x"yes"; then
+ for ac_func in _hypotl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:12090: checking for $ac_func" >&5
+echo "configure:13664: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 12095 "configure"
+#line 13669 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:12118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:13692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for _sincosf declaration""... $ac_c" 1>&6
-echo "configure:12146: checking for _sincosf declaration" >&5
- if test x${glibcpp_cv_func__sincosf_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__sincosf_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for ldexpl declaration""... $ac_c" 1>&6
+echo "configure:13722: checking for ldexpl declaration" >&5
+ if test x${glibcpp_cv_func_ldexpl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_ldexpl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 12161 "configure"
+#line 13737 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _sincosf(0, 0, 0);
+ ldexpl(0, 0);
; return 0; }
EOF
-if { (eval echo configure:12168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:13744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__sincosf_use=yes
+ glibcpp_cv_func_ldexpl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__sincosf_use=no
+ glibcpp_cv_func_ldexpl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__sincosf_use" 1>&6
- if test x$glibcpp_cv_func__sincosf_use = x"yes"; then
- for ac_func in _sincosf
+ echo "$ac_t""$glibcpp_cv_func_ldexpl_use" 1>&6
+
+ if test x$glibcpp_cv_func_ldexpl_use = x"yes"; then
+ for ac_func in ldexpl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:12194: checking for $ac_func" >&5
+echo "configure:13771: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 12199 "configure"
+#line 13776 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:12222: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:13799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for _finitef declaration""... $ac_c" 1>&6
-echo "configure:12250: checking for _finitef declaration" >&5
- if test x${glibcpp_cv_func__finitef_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__finitef_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
+echo "configure:13826: checking for _ldexpl declaration" >&5
+ if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 12265 "configure"
+#line 13841 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _finitef(0);
+ _ldexpl(0, 0);
; return 0; }
EOF
-if { (eval echo configure:12272: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:13848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__finitef_use=yes
+ glibcpp_cv_func__ldexpl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__finitef_use=no
+ glibcpp_cv_func__ldexpl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__finitef_use" 1>&6
- if test x$glibcpp_cv_func__finitef_use = x"yes"; then
- for ac_func in _finitef
+ echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
+
+ if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
+ for ac_func in _ldexpl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:12298: checking for $ac_func" >&5
+echo "configure:13875: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 12303 "configure"
+#line 13880 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:12326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:13903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
-
-
- echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
-echo "configure:12355: checking for _long double trig functions" >&5
- if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
+
+
+ echo $ac_n "checking for logl declaration""... $ac_c" 1>&6
+echo "configure:13933: checking for logl declaration" >&5
+ if test x${glibcpp_cv_func_logl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_logl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- ac_ext=C
+
+ ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
- cat > conftest.$ac_ext <<EOF
-#line 12369 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 13948 "configure"
#include "confdefs.h"
-#include <math.h>
-int main() {
- `for x in _acosl _asinl _atanl \
- _cosl _sinl _tanl \
- _coshl _sinhl _tanhl; do echo "$x (0);"; done`
+#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
+int main() {
+ logl(0);
; return 0; }
EOF
-if { (eval echo configure:12378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:13959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__long_double_trig_use=yes
+ glibcpp_cv_func_logl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__long_double_trig_use=no
+ glibcpp_cv_func_logl_use=no
fi
rm -f conftest*
- ac_ext=c
+ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
+
fi
- echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
- if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
- for ac_func in _acosl _asinl _atanl \
- _cosl _sinl _tanl \
- _coshl _sinhl _tanhl
+ fi
+ echo "$ac_t""$glibcpp_cv_func_logl_use" 1>&6
+
+ if test x$glibcpp_cv_func_logl_use = x"yes"; then
+ for ac_func in logl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:12404: checking for $ac_func" >&5
+echo "configure:13986: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 12409 "configure"
+#line 13991 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:12432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo "$ac_t""no" 1>&6
fi
done
-
- fi
-
-
- echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
-echo "configure:12460: checking for _long double round functions" >&5
- if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
+
+ else
+
+ echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
+echo "configure:14041: checking for _logl declaration" >&5
+ if test x${glibcpp_cv_func__logl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- ac_ext=C
+
+ ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
- cat > conftest.$ac_ext <<EOF
-#line 12474 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 14056 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- `for x in _ceill _floorl; do echo "$x (0);"; done`
+ _logl(0);
; return 0; }
EOF
-if { (eval echo configure:12481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:14067: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__long_double_round_use=yes
+ glibcpp_cv_func__logl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__long_double_round_use=no
+ glibcpp_cv_func__logl_use=no
fi
rm -f conftest*
- ac_ext=c
+ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
+
fi
- echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
- if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
- for ac_func in _ceill _floorl
+ fi
+ echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
+
+ if test x$glibcpp_cv_func__logl_use = x"yes"; then
+ for ac_func in _logl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:12505: checking for $ac_func" >&5
+echo "configure:14094: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 12510 "configure"
+#line 14099 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:12533: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo "$ac_t""no" 1>&6
fi
done
-
+
+ fi
fi
- echo $ac_n "checking for _isnanl declaration""... $ac_c" 1>&6
-echo "configure:12561: checking for _isnanl declaration" >&5
- if test x${glibcpp_cv_func__isnanl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__isnanl_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for log10l declaration""... $ac_c" 1>&6
+echo "configure:14152: checking for log10l declaration" >&5
+ if test x${glibcpp_cv_func_log10l_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_log10l_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 12576 "configure"
+#line 14167 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- _isnanl(0);
+ log10l(0);
; return 0; }
EOF
-if { (eval echo configure:12583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:14178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__isnanl_use=yes
+ glibcpp_cv_func_log10l_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__isnanl_use=no
+ glibcpp_cv_func_log10l_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__isnanl_use" 1>&6
- if test x$glibcpp_cv_func__isnanl_use = x"yes"; then
- for ac_func in _isnanl
+ echo "$ac_t""$glibcpp_cv_func_log10l_use" 1>&6
+
+ if test x$glibcpp_cv_func_log10l_use = x"yes"; then
+ for ac_func in log10l
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:12609: checking for $ac_func" >&5
+echo "configure:14205: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 12614 "configure"
+#line 14210 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:12637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for _isinfl declaration""... $ac_c" 1>&6
-echo "configure:12665: checking for _isinfl declaration" >&5
- if test x${glibcpp_cv_func__isinfl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__isinfl_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
+echo "configure:14260: checking for _log10l declaration" >&5
+ if test x${glibcpp_cv_func__log10l_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 12680 "configure"
+#line 14275 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- _isinfl(0);
+ _log10l(0);
; return 0; }
EOF
-if { (eval echo configure:12687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:14286: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__isinfl_use=yes
+ glibcpp_cv_func__log10l_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__isinfl_use=no
+ glibcpp_cv_func__log10l_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__isinfl_use" 1>&6
- if test x$glibcpp_cv_func__isinfl_use = x"yes"; then
- for ac_func in _isinfl
+ echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
+
+ if test x$glibcpp_cv_func__log10l_use = x"yes"; then
+ for ac_func in _log10l
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:12713: checking for $ac_func" >&5
+echo "configure:14313: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 12718 "configure"
+#line 14318 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:12741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14341: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for _copysignl declaration""... $ac_c" 1>&6
-echo "configure:12769: checking for _copysignl declaration" >&5
- if test x${glibcpp_cv_func__copysignl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__copysignl_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for modfl declaration""... $ac_c" 1>&6
+echo "configure:14371: checking for modfl declaration" >&5
+ if test x${glibcpp_cv_func_modfl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_modfl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 12784 "configure"
+#line 14386 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _copysignl(0, 0);
+ modfl(0, 0);
; return 0; }
EOF
-if { (eval echo configure:12791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:14393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__copysignl_use=yes
+ glibcpp_cv_func_modfl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__copysignl_use=no
+ glibcpp_cv_func_modfl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__copysignl_use" 1>&6
- if test x$glibcpp_cv_func__copysignl_use = x"yes"; then
- for ac_func in _copysignl
+ echo "$ac_t""$glibcpp_cv_func_modfl_use" 1>&6
+
+ if test x$glibcpp_cv_func_modfl_use = x"yes"; then
+ for ac_func in modfl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:12817: checking for $ac_func" >&5
+echo "configure:14420: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 12822 "configure"
+#line 14425 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:12845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14448: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for _atan2l declaration""... $ac_c" 1>&6
-echo "configure:12873: checking for _atan2l declaration" >&5
- if test x${glibcpp_cv_func__atan2l_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__atan2l_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
+echo "configure:14475: checking for _modfl declaration" >&5
+ if test x${glibcpp_cv_func__modfl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 12888 "configure"
+#line 14490 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _atan2l(0, 0);
+ _modfl(0, 0);
; return 0; }
EOF
-if { (eval echo configure:12895: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:14497: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__atan2l_use=yes
+ glibcpp_cv_func__modfl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__atan2l_use=no
+ glibcpp_cv_func__modfl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__atan2l_use" 1>&6
- if test x$glibcpp_cv_func__atan2l_use = x"yes"; then
- for ac_func in _atan2l
+ echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
+
+ if test x$glibcpp_cv_func__modfl_use = x"yes"; then
+ for ac_func in _modfl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:12921: checking for $ac_func" >&5
+echo "configure:14524: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 12926 "configure"
+#line 14529 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:12949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for _expl declaration""... $ac_c" 1>&6
-echo "configure:12977: checking for _expl declaration" >&5
- if test x${glibcpp_cv_func__expl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__expl_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for powl declaration""... $ac_c" 1>&6
+echo "configure:14582: checking for powl declaration" >&5
+ if test x${glibcpp_cv_func_powl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_powl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 12992 "configure"
+#line 14597 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _expl(0);
+ powl(0, 0);
; return 0; }
EOF
-if { (eval echo configure:12999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:14604: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__expl_use=yes
+ glibcpp_cv_func_powl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__expl_use=no
+ glibcpp_cv_func_powl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__expl_use" 1>&6
- if test x$glibcpp_cv_func__expl_use = x"yes"; then
- for ac_func in _expl
+ echo "$ac_t""$glibcpp_cv_func_powl_use" 1>&6
+
+ if test x$glibcpp_cv_func_powl_use = x"yes"; then
+ for ac_func in powl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:13025: checking for $ac_func" >&5
+echo "configure:14631: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 13030 "configure"
+#line 14636 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:13053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for _fabsl declaration""... $ac_c" 1>&6
-echo "configure:13081: checking for _fabsl declaration" >&5
- if test x${glibcpp_cv_func__fabsl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__fabsl_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
+echo "configure:14686: checking for _powl declaration" >&5
+ if test x${glibcpp_cv_func__powl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 13096 "configure"
+#line 14701 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _fabsl(0);
+ _powl(0, 0);
; return 0; }
EOF
-if { (eval echo configure:13103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:14708: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__fabsl_use=yes
+ glibcpp_cv_func__powl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__fabsl_use=no
+ glibcpp_cv_func__powl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__fabsl_use" 1>&6
- if test x$glibcpp_cv_func__fabsl_use = x"yes"; then
- for ac_func in _fabsl
+ echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
+
+ if test x$glibcpp_cv_func__powl_use = x"yes"; then
+ for ac_func in _powl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:13129: checking for $ac_func" >&5
+echo "configure:14735: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 13134 "configure"
+#line 14740 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:13157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for _fmodl declaration""... $ac_c" 1>&6
-echo "configure:13185: checking for _fmodl declaration" >&5
- if test x${glibcpp_cv_func__fmodl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__fmodl_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for sqrtl declaration""... $ac_c" 1>&6
+echo "configure:14793: checking for sqrtl declaration" >&5
+ if test x${glibcpp_cv_func_sqrtl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_sqrtl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 13200 "configure"
+#line 14808 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- _fmodl(0, 0);
+ sqrtl(0);
; return 0; }
EOF
-if { (eval echo configure:13207: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:14819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__fmodl_use=yes
+ glibcpp_cv_func_sqrtl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__fmodl_use=no
+ glibcpp_cv_func_sqrtl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__fmodl_use" 1>&6
- if test x$glibcpp_cv_func__fmodl_use = x"yes"; then
- for ac_func in _fmodl
+ echo "$ac_t""$glibcpp_cv_func_sqrtl_use" 1>&6
+
+ if test x$glibcpp_cv_func_sqrtl_use = x"yes"; then
+ for ac_func in sqrtl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:13233: checking for $ac_func" >&5
+echo "configure:14846: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 13238 "configure"
+#line 14851 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:13261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for _frexpl declaration""... $ac_c" 1>&6
-echo "configure:13289: checking for _frexpl declaration" >&5
- if test x${glibcpp_cv_func__frexpl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__frexpl_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
+echo "configure:14901: checking for _sqrtl declaration" >&5
+ if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 13304 "configure"
+#line 14916 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- _frexpl(0, 0);
+ _sqrtl(0);
; return 0; }
EOF
-if { (eval echo configure:13311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:14927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__frexpl_use=yes
+ glibcpp_cv_func__sqrtl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__frexpl_use=no
+ glibcpp_cv_func__sqrtl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__frexpl_use" 1>&6
- if test x$glibcpp_cv_func__frexpl_use = x"yes"; then
- for ac_func in _frexpl
+ echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
+
+ if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
+ for ac_func in _sqrtl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:13337: checking for $ac_func" >&5
+echo "configure:14954: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 13342 "configure"
+#line 14959 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:13365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:14982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for _ldexpl declaration""... $ac_c" 1>&6
-echo "configure:13393: checking for _ldexpl declaration" >&5
- if test x${glibcpp_cv_func__ldexpl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__ldexpl_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for sincosl declaration""... $ac_c" 1>&6
+echo "configure:15012: checking for sincosl declaration" >&5
+ if test x${glibcpp_cv_func_sincosl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_sincosl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 13408 "configure"
+#line 15027 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _ldexpl(0, 0);
+ sincosl(0, 0, 0);
; return 0; }
EOF
-if { (eval echo configure:13415: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:15034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__ldexpl_use=yes
+ glibcpp_cv_func_sincosl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__ldexpl_use=no
+ glibcpp_cv_func_sincosl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__ldexpl_use" 1>&6
- if test x$glibcpp_cv_func__ldexpl_use = x"yes"; then
- for ac_func in _ldexpl
+ echo "$ac_t""$glibcpp_cv_func_sincosl_use" 1>&6
+
+ if test x$glibcpp_cv_func_sincosl_use = x"yes"; then
+ for ac_func in sincosl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:13441: checking for $ac_func" >&5
+echo "configure:15061: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 13446 "configure"
+#line 15066 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:13469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:15089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for _logl declaration""... $ac_c" 1>&6
-echo "configure:13497: checking for _logl declaration" >&5
- if test x${glibcpp_cv_func__logl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__logl_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
+echo "configure:15116: checking for _sincosl declaration" >&5
+ if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 13512 "configure"
+#line 15131 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _logl(0);
+ _sincosl(0, 0, 0);
; return 0; }
EOF
-if { (eval echo configure:13519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:15138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__logl_use=yes
+ glibcpp_cv_func__sincosl_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__logl_use=no
+ glibcpp_cv_func__sincosl_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__logl_use" 1>&6
- if test x$glibcpp_cv_func__logl_use = x"yes"; then
- for ac_func in _logl
+ echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
+
+ if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
+ for ac_func in _sincosl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:13545: checking for $ac_func" >&5
+echo "configure:15165: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 13550 "configure"
+#line 15170 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:13573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:15193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
- echo $ac_n "checking for _log10l declaration""... $ac_c" 1>&6
-echo "configure:13601: checking for _log10l declaration" >&5
- if test x${glibcpp_cv_func__log10l_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__log10l_use'+set}'`\" = set"; then
+
+ echo $ac_n "checking for finitel declaration""... $ac_c" 1>&6
+echo "configure:15223: checking for finitel declaration" >&5
+ if test x${glibcpp_cv_func_finitel_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_finitel_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 13616 "configure"
+#line 15238 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- _log10l(0);
+ finitel(0);
; return 0; }
EOF
-if { (eval echo configure:13623: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:15249: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__log10l_use=yes
+ glibcpp_cv_func_finitel_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__log10l_use=no
+ glibcpp_cv_func_finitel_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__log10l_use" 1>&6
- if test x$glibcpp_cv_func__log10l_use = x"yes"; then
- for ac_func in _log10l
+ echo "$ac_t""$glibcpp_cv_func_finitel_use" 1>&6
+
+ if test x$glibcpp_cv_func_finitel_use = x"yes"; then
+ for ac_func in finitel
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:13649: checking for $ac_func" >&5
+echo "configure:15276: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 13654 "configure"
+#line 15281 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:13677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:15304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
- fi
-
-
- echo $ac_n "checking for _modfl declaration""... $ac_c" 1>&6
-echo "configure:13705: checking for _modfl declaration" >&5
- if test x${glibcpp_cv_func__modfl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__modfl_use'+set}'`\" = set"; then
+ else
+
+ echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
+echo "configure:15331: checking for _finitel declaration" >&5
+ if test x${glibcpp_cv_func__finitel_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cross_compiling=$ac_cv_prog_cxx_cross
cat > conftest.$ac_ext <<EOF
-#line 13720 "configure"
+#line 15346 "configure"
#include "confdefs.h"
#include <math.h>
+ #ifdef HAVE_IEEEFP_H
+ #include <ieeefp.h>
+ #endif
+
int main() {
- _modfl(0, 0);
+ _finitel(0);
; return 0; }
EOF
-if { (eval echo configure:13727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:15357: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__modfl_use=yes
+ glibcpp_cv_func__finitel_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__modfl_use=no
+ glibcpp_cv_func__finitel_use=no
fi
rm -f conftest*
ac_ext=c
fi
fi
- echo "$ac_t""$glibcpp_cv_func__modfl_use" 1>&6
- if test x$glibcpp_cv_func__modfl_use = x"yes"; then
- for ac_func in _modfl
+ echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
+
+ if test x$glibcpp_cv_func__finitel_use = x"yes"; then
+ for ac_func in _finitel
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:13753: checking for $ac_func" >&5
+echo "configure:15384: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 13758 "configure"
+#line 15389 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:13781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:15412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
fi
done
+ fi
fi
-
- echo $ac_n "checking for _powl declaration""... $ac_c" 1>&6
-echo "configure:13809: checking for _powl declaration" >&5
- if test x${glibcpp_cv_func__powl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__powl_use'+set}'`\" = set"; then
+
+
+
+ echo $ac_n "checking for _float trig functions""... $ac_c" 1>&6
+echo "configure:15443: checking for _float trig functions" >&5
+ if eval "test \"`echo '$''{'glibcpp_cv_func__float_trig_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- ac_ext=C
+
+ ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
- cat > conftest.$ac_ext <<EOF
-#line 13824 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 15457 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _powl(0, 0);
+ `for x in _acosf _asinf _atanf \
+ _cosf _sinf _tanf \
+ _coshf _sinhf _tanhf; do echo "$x (0);"; done`
; return 0; }
EOF
-if { (eval echo configure:13831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:15466: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__powl_use=yes
+ glibcpp_cv_func__float_trig_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__powl_use=no
+ glibcpp_cv_func__float_trig_use=no
fi
rm -f conftest*
- ac_ext=c
+ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
-
fi
- fi
- echo "$ac_t""$glibcpp_cv_func__powl_use" 1>&6
- if test x$glibcpp_cv_func__powl_use = x"yes"; then
- for ac_func in _powl
+ echo "$ac_t""$glibcpp_cv_func__float_trig_use" 1>&6
+ if test x$glibcpp_cv_func__float_trig_use = x"yes"; then
+ for ac_func in _acosf _asinf _atanf \
+ _cosf _sinf _tanf \
+ _coshf _sinhf _tanhf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:13857: checking for $ac_func" >&5
+echo "configure:15492: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 13862 "configure"
+#line 15497 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:13885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:15520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo "$ac_t""no" 1>&6
fi
done
-
+
fi
- echo $ac_n "checking for _sqrtl declaration""... $ac_c" 1>&6
-echo "configure:13913: checking for _sqrtl declaration" >&5
- if test x${glibcpp_cv_func__sqrtl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__sqrtl_use'+set}'`\" = set"; then
+ echo $ac_n "checking for _float round functions""... $ac_c" 1>&6
+echo "configure:15548: checking for _float round functions" >&5
+ if eval "test \"`echo '$''{'glibcpp_cv_func__float_round_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- ac_ext=C
+
+ ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
- cat > conftest.$ac_ext <<EOF
-#line 13928 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 15562 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _sqrtl(0);
+ `for x in _ceilf _floorf; do echo "$x (0);"; done`
; return 0; }
EOF
-if { (eval echo configure:13935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:15569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__sqrtl_use=yes
+ glibcpp_cv_func__float_round_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__sqrtl_use=no
+ glibcpp_cv_func__float_round_use=no
fi
rm -f conftest*
- ac_ext=c
+ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
-
fi
- fi
- echo "$ac_t""$glibcpp_cv_func__sqrtl_use" 1>&6
- if test x$glibcpp_cv_func__sqrtl_use = x"yes"; then
- for ac_func in _sqrtl
+ echo "$ac_t""$glibcpp_cv_func__float_round_use" 1>&6
+ if test x$glibcpp_cv_func__float_round_use = x"yes"; then
+ for ac_func in _ceilf _floorf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:13961: checking for $ac_func" >&5
+echo "configure:15593: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 13966 "configure"
+#line 15598 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:13989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:15621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo "$ac_t""no" 1>&6
fi
done
-
+
fi
-
- echo $ac_n "checking for _sincosl declaration""... $ac_c" 1>&6
-echo "configure:14017: checking for _sincosl declaration" >&5
- if test x${glibcpp_cv_func__sincosl_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__sincosl_use'+set}'`\" = set"; then
+
+
+ echo $ac_n "checking for _long double trig functions""... $ac_c" 1>&6
+echo "configure:15650: checking for _long double trig functions" >&5
+ if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_trig_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- ac_ext=C
+
+ ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
- cat > conftest.$ac_ext <<EOF
-#line 14032 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 15664 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _sincosl(0, 0, 0);
+ `for x in _acosl _asinl _atanl \
+ _cosl _sinl _tanl \
+ _coshl _sinhl _tanhl; do echo "$x (0);"; done`
; return 0; }
EOF
-if { (eval echo configure:14039: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:15673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__sincosl_use=yes
+ glibcpp_cv_func__long_double_trig_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__sincosl_use=no
+ glibcpp_cv_func__long_double_trig_use=no
fi
rm -f conftest*
- ac_ext=c
+ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
-
fi
- fi
- echo "$ac_t""$glibcpp_cv_func__sincosl_use" 1>&6
- if test x$glibcpp_cv_func__sincosl_use = x"yes"; then
- for ac_func in _sincosl
+ echo "$ac_t""$glibcpp_cv_func__long_double_trig_use" 1>&6
+ if test x$glibcpp_cv_func__long_double_trig_use = x"yes"; then
+ for ac_func in _acosl _asinl _atanl \
+ _cosl _sinl _tanl \
+ _coshl _sinhl _tanhl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:14065: checking for $ac_func" >&5
+echo "configure:15699: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14070 "configure"
+#line 15704 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:14093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:15727: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo "$ac_t""no" 1>&6
fi
done
-
+
fi
- echo $ac_n "checking for _finitel declaration""... $ac_c" 1>&6
-echo "configure:14121: checking for _finitel declaration" >&5
- if test x${glibcpp_cv_func__finitel_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func__finitel_use'+set}'`\" = set"; then
+ echo $ac_n "checking for _long double round functions""... $ac_c" 1>&6
+echo "configure:15755: checking for _long double round functions" >&5
+ if eval "test \"`echo '$''{'glibcpp_cv_func__long_double_round_use'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
-
- ac_ext=C
+
+ ac_ext=C
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CXXCPP $CPPFLAGS'
ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cxx_cross
- cat > conftest.$ac_ext <<EOF
-#line 14136 "configure"
+ cat > conftest.$ac_ext <<EOF
+#line 15769 "configure"
#include "confdefs.h"
#include <math.h>
int main() {
- _finitel(0);
+ `for x in _ceill _floorl; do echo "$x (0);"; done`
; return 0; }
EOF
-if { (eval echo configure:14143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:15776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
- glibcpp_cv_func__finitel_use=yes
+ glibcpp_cv_func__long_double_round_use=yes
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_func__finitel_use=no
+ glibcpp_cv_func__long_double_round_use=no
fi
rm -f conftest*
- ac_ext=c
+ ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
-
fi
- fi
- echo "$ac_t""$glibcpp_cv_func__finitel_use" 1>&6
- if test x$glibcpp_cv_func__finitel_use = x"yes"; then
- for ac_func in _finitel
+ echo "$ac_t""$glibcpp_cv_func__long_double_round_use" 1>&6
+ if test x$glibcpp_cv_func__long_double_round_use = x"yes"; then
+ for ac_func in _ceill _floorl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:14169: checking for $ac_func" >&5
+echo "configure:15800: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14174 "configure"
+#line 15805 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:14197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:15828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo "$ac_t""no" 1>&6
fi
done
-
+
fi
echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
-echo "configure:14229: checking for main in -lm" >&5
+echo "configure:15860: checking for main in -lm" >&5
ac_lib_var=`echo m'_'main | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-lm $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 14237 "configure"
+#line 15868 "configure"
#include "confdefs.h"
int main() {
main()
; return 0; }
EOF
-if { (eval echo configure:14244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:15875: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
echo "$ac_t""no" 1>&6
fi
- for ac_func in nan hypot hypotf atan2f expf copysignf
+ for ac_func in nan copysignf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:14274: checking for $ac_func" >&5
+echo "configure:15905: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14279 "configure"
+#line 15910 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:14302: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:15933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
USE_COMPLEX_LONG_DOUBLE=no
- if test x$ac_cv_func_atan2l = x"yes" \
- && test x$ac_cv_func_copysignl = x"yes"; then
+ if test x$ac_cv_func_copysignl = x"yes"; then
USE_COMPLEX_LONG_DOUBLE=yes
- for ac_func in hypotl signbitl
+ for ac_func in signbitl
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:14336: checking for $ac_func" >&5
+echo "configure:15966: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14341 "configure"
+#line 15971 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
-/* We use char because int might match the return type of a gcc2
- builtin and then its argument prototype would still apply. */
-char $ac_func();
-
-int main() {
-
-/* The GNU C library defines this for functions which it implements
- to always fail with ENOSYS. Some functions are actually named
- something starting with __ and the normal name is an alias. */
-#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
-choke me
-#else
-$ac_func();
-#endif
-
-; return 0; }
-EOF
-if { (eval echo configure:14364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=yes"
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_func_$ac_func=no"
-fi
-rm -f conftest*
-fi
-
-if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
- echo "$ac_t""yes" 1>&6
- ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
- cat >> confdefs.h <<EOF
-#define $ac_tr_func 1
-EOF
-
-else
- echo "$ac_t""no" 1>&6
-LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
-fi
-done
-
-
- fi
-
-
-
-
-
-
- echo $ac_n "checking for GNU C++ __complex__ support""... $ac_c" 1>&6
-echo "configure:14398: checking for GNU C++ __complex__ support" >&5
- if eval "test \"`echo '$''{'glibcpp_cv_complex'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
- ac_ext=C
-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cxx_cross
-
- cat > conftest.$ac_ext <<EOF
-#line 14412 "configure"
-#include "confdefs.h"
-struct dcomplex { __complex__ double x; }; \
- dcomplex f(const dcomplex& x) { return dcomplex(x); }
-int main() {
-\
- dcomplex x; f(x);
-; return 0; }
-EOF
-if { (eval echo configure:14421: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- glibcpp_cv_complex=ok
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- glibcpp_cv_complex=buggy
-
-fi
-rm -f conftest*
- ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
-
-
-fi
-
- echo "$ac_t""$glibcpp_cv_complex" 1>&6
- if test $glibcpp_cv_complex = buggy; then
- cat >> confdefs.h <<\EOF
-#define _GLIBCPP_BUGGY_COMPLEX 1
-EOF
-
- fi
-
- echo $ac_n "checking for GNU C++ __complex__ float support""... $ac_c" 1>&6
-echo "configure:14451: checking for GNU C++ __complex__ float support" >&5
- if eval "test \"`echo '$''{'glibcpp_cv_float_complex'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
- ac_ext=C
-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cxx_cross
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func();
- rm -f conftest.h
- cat > conftest.h <<EOB
- //
- // Check for buggy __complex__ that causes ICE in most versions of egcs
- // and gcc-2.95.x on certain platforms (eg., x86-win32).
- //
- // See http://gcc.gnu.org/ml/gcc-bugs/1999-07n/msg00845.html for
- // more info on the bug itself.
- //
- struct
- float_complex
- {
- __complex__ float m_value;
- float_complex (float = 0.0f, float = 0.0f);
- float_complex (__complex__ float val) : m_value (val) {}
- float_complex foo (const float_complex &val)
- { return float_complex (~val.m_value); }
- };
-EOB
- cat > conftest.$ac_ext <<EOF
-#line 14484 "configure"
-#include "confdefs.h"
-#include "conftest.h"
int main() {
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
+
; return 0; }
EOF
-if { (eval echo configure:14491: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:15994: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
- glibcpp_cv_float_complex=ok
+ eval "ac_cv_func_$ac_func=yes"
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
rm -rf conftest*
- glibcpp_cv_float_complex=buggy
-
+ eval "ac_cv_func_$ac_func=no"
fi
rm -f conftest*
- ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
-
-
fi
- echo "$ac_t""$glibcpp_cv_float_complex" 1>&6
- if test $glibcpp_cv_float_complex = buggy; then
- cat >> confdefs.h <<\EOF
-#define _GLIBCPP_BUGGY_FLOAT_COMPLEX 1
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
EOF
+
+else
+ echo "$ac_t""no" 1>&6
+LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
+fi
+done
+
fi
+
+
echo $ac_n "checking for mbstate_t""... $ac_c" 1>&6
-echo "configure:14523: checking for mbstate_t" >&5
+echo "configure:16027: checking for mbstate_t" >&5
cat > conftest.$ac_ext <<EOF
-#line 14525 "configure"
+#line 16029 "configure"
#include "confdefs.h"
#include <wchar.h>
int main() {
mbstate_t teststate;
; return 0; }
EOF
-if { (eval echo configure:14532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:16036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
have_mbstate_t=yes
else
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:14554: checking for $ac_hdr" >&5
+echo "configure:16058: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14559 "configure"
+#line 16063 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:14564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:16068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
ac_safe=`echo "wctype.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for wctype.h""... $ac_c" 1>&6
-echo "configure:14593: checking for wctype.h" >&5
+echo "configure:16097: checking for wctype.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14598 "configure"
+#line 16102 "configure"
#include "confdefs.h"
#include <wctype.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:14603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:16107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
fi
- if test x"$ac_has_wchar_h" = xyes && test x"$ac_has_wctype_h" = xyes \
- && test x"$enable_c_mbchar" != xno; then
+ if test x"$ac_has_wchar_h" = xyes &&
+ test x"$ac_has_wctype_h" = xyes &&
+ test x"$enable_c_mbchar" != xno; then
echo $ac_n "checking for WCHAR_MIN and WCHAR_MAX""... $ac_c" 1>&6
-echo "configure:14630: checking for WCHAR_MIN and WCHAR_MAX" >&5
+echo "configure:16135: checking for WCHAR_MIN and WCHAR_MAX" >&5
cat > conftest.$ac_ext <<EOF
-#line 14632 "configure"
+#line 16137 "configure"
#include "confdefs.h"
#include <wchar.h>
int main() {
int i = WCHAR_MIN; int j = WCHAR_MAX;
; return 0; }
EOF
-if { (eval echo configure:14639: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:16144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
has_wchar_minmax=yes
else
echo "$ac_t""$has_wchar_minmax" 1>&6
echo $ac_n "checking for WEOF""... $ac_c" 1>&6
-echo "configure:14652: checking for WEOF" >&5
+echo "configure:16157: checking for WEOF" >&5
cat > conftest.$ac_ext <<EOF
-#line 14654 "configure"
+#line 16159 "configure"
#include "confdefs.h"
#include <wchar.h>
wint_t i = WEOF;
; return 0; }
EOF
-if { (eval echo configure:14663: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+if { (eval echo configure:16168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
has_weof=yes
else
rm -f conftest*
echo "$ac_t""$has_weof" 1>&6
- for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset \
- wcsrtombs mbsrtowcs
+ ac_wfuncs=yes
+ for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:14679: checking for $ac_func" >&5
+echo "configure:16184: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14684 "configure"
+#line 16189 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:14707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:16212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
cat >> confdefs.h <<EOF
#define $ac_tr_func 1
EOF
- ac_wfuncs=yes
+
else
echo "$ac_t""no" 1>&6
-ac_wfuncs=no
+\
+ ac_wfuncs=no
fi
done
+ for ac_func in btowc wctob fgetwc fgetwc fgetws fputwc fputws fwide \
+ fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
+ vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
+ mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
+ wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
+ wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
+do
+echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
+echo "configure:16247: checking for $ac_func" >&5
+if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 16252 "configure"
+#include "confdefs.h"
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func(); below. */
+#include <assert.h>
+/* Override any gcc2 internal prototype to avoid an error. */
+/* We use char because int might match the return type of a gcc2
+ builtin and then its argument prototype would still apply. */
+char $ac_func();
+
+int main() {
+
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
+choke me
+#else
+$ac_func();
+#endif
+
+; return 0; }
+EOF
+if { (eval echo configure:16275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=yes"
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_func_$ac_func=no"
+fi
+rm -f conftest*
+fi
+
+if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_func 1
+EOF
+
+else
+ echo "$ac_t""no" 1>&6
+\
+ ac_wfuncs=no
+fi
+done
+
+
echo $ac_n "checking for ISO C99 wchar_t support""... $ac_c" 1>&6
-echo "configure:14734: checking for ISO C99 wchar_t support" >&5
- if test x"$has_weof" = xyes && test x"$has_wchar_minmax" = xyes \
- && test x"$ac_wfuncs" = xyes; then
+echo "configure:16303: checking for ISO C99 wchar_t support" >&5
+ if test x"$has_weof" = xyes &&
+ test x"$has_wchar_minmax" = xyes &&
+ test x"$ac_wfuncs" = xyes; then
ac_isoC99_wchar_t=yes
else
ac_isoC99_wchar_t=no
ac_safe=`echo "iconv.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for iconv.h""... $ac_c" 1>&6
-echo "configure:14745: checking for iconv.h" >&5
+echo "configure:16315: checking for iconv.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14750 "configure"
+#line 16320 "configure"
#include "confdefs.h"
#include <iconv.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:14755: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:16325: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
ac_safe=`echo "langinfo.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for langinfo.h""... $ac_c" 1>&6
-echo "configure:14779: checking for langinfo.h" >&5
+echo "configure:16349: checking for langinfo.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14784 "configure"
+#line 16354 "configure"
#include "confdefs.h"
#include <langinfo.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:14789: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:16359: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
echo $ac_n "checking for iconv in -liconv""... $ac_c" 1>&6
-echo "configure:14813: checking for iconv in -liconv" >&5
+echo "configure:16383: checking for iconv in -liconv" >&5
ac_lib_var=`echo iconv'_'iconv | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
ac_save_LIBS="$LIBS"
LIBS="-liconv $LIBS"
cat > conftest.$ac_ext <<EOF
-#line 14821 "configure"
+#line 16391 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
iconv()
; return 0; }
EOF
-if { (eval echo configure:14832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:16402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
for ac_func in iconv_open iconv_close iconv nl_langinfo
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:14858: checking for $ac_func" >&5
+echo "configure:16428: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14863 "configure"
+#line 16433 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:14886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:16456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
LIBS="$ac_save_LIBS"
echo $ac_n "checking for XPG2 wchar_t support""... $ac_c" 1>&6
-echo "configure:14916: checking for XPG2 wchar_t support" >&5
- if test x"$ac_has_iconv_h" = xyes && test x"$ac_has_langinfo_h" = xyes \
- && test x"$ac_XPG2funcs" = xyes; then
+echo "configure:16486: checking for XPG2 wchar_t support" >&5
+ if test x"$ac_has_iconv_h" = xyes &&
+ test x"$ac_has_langinfo_h" = xyes &&
+ test x"$ac_XPG2funcs" = xyes; then
ac_XPG2_wchar_t=yes
else
ac_XPG2_wchar_t=no
echo "$ac_t""$ac_XPG2_wchar_t" 1>&6
echo $ac_n "checking for enabled wchar_t specializations""... $ac_c" 1>&6
-echo "configure:14926: checking for enabled wchar_t specializations" >&5
- if test x"$ac_isoC99_wchar_t" = xyes \
- && test x"$ac_XPG2_wchar_t" = xyes; then
- libinst_wstring_la="libinst-wstring.la"
+echo "configure:16497: checking for enabled wchar_t specializations" >&5
+ if test x"$ac_isoC99_wchar_t" = xyes &&
+ test x"$ac_XPG2_wchar_t" = xyes; then
cat >> confdefs.h <<\EOF
#define _GLIBCPP_USE_WCHAR_T 1
EOF
echo "$ac_t"""yes"" 1>&6
else
- libinst_wstring_la=""
echo "$ac_t"""no"" 1>&6
fi
-
-
else
echo "configure: warning: wchar_t support disabled." 1>&2
fi
ac_save_CXXFLAGS="$CXXFLAGS"
CXXFLAGS='-fno-builtins -D_GNU_SOURCE'
- for ac_func in strtof
+
+ echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
+echo "configure:16519: checking for strtold declaration" >&5
+ if test x${glibcpp_cv_func_strtold_use+set} != xset; then
+ if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+
+
+ ac_ext=C
+# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cxx_cross
+
+ cat > conftest.$ac_ext <<EOF
+#line 16534 "configure"
+#include "confdefs.h"
+#include <stdlib.h>
+int main() {
+ strtold(0, 0);
+; return 0; }
+EOF
+if { (eval echo configure:16541: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ glibcpp_cv_func_strtold_use=yes
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ glibcpp_cv_func_strtold_use=no
+fi
+rm -f conftest*
+ ac_ext=c
+# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
+ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
+cross_compiling=$ac_cv_prog_cc_cross
+
+
+fi
+
+ fi
+ echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
+ if test x$glibcpp_cv_func_strtold_use = x"yes"; then
+ for ac_func in strtold
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:14953: checking for $ac_func" >&5
+echo "configure:16567: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 14958 "configure"
+#line 16572 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:14981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:16595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo "$ac_t""no" 1>&6
fi
done
-
-
- echo $ac_n "checking for strtold declaration""... $ac_c" 1>&6
-echo "configure:15007: checking for strtold declaration" >&5
- if test x${glibcpp_cv_func_strtold_use+set} != xset; then
- if eval "test \"`echo '$''{'glibcpp_cv_func_strtold_use'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
-
-
- ac_ext=C
-# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cxx_cross
-
- cat > conftest.$ac_ext <<EOF
-#line 15022 "configure"
-#include "confdefs.h"
-#include <stdlib.h>
-int main() {
- strtold(0, 0);
-; return 0; }
-EOF
-if { (eval echo configure:15029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
- rm -rf conftest*
- glibcpp_cv_func_strtold_use=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- glibcpp_cv_func_strtold_use=no
-fi
-rm -f conftest*
- ac_ext=c
-# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
-ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
-cross_compiling=$ac_cv_prog_cc_cross
-
-fi
-
fi
- echo "$ac_t""$glibcpp_cv_func_strtold_use" 1>&6
- if test x$glibcpp_cv_func_strtold_use = x"yes"; then
- for ac_func in strtold
+
+ for ac_func in drand48
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:15055: checking for $ac_func" >&5
+echo "configure:16624: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 15060 "configure"
+#line 16629 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:15083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:16652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
echo "$ac_t""no" 1>&6
fi
done
-
- fi
- CXXFLAGS="$ac_save_CXXFLAGS"
+ CXXFLAGS="$ac_save_CXXFLAGS"
+
+
+ ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for locale.h""... $ac_c" 1>&6
+echo "configure:16682: checking for locale.h" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 16687 "configure"
+#include "confdefs.h"
+#include <locale.h>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:16692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=yes"
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+
+ echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
+echo "configure:16710: checking for LC_MESSAGES" >&5
+if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 16715 "configure"
+#include "confdefs.h"
+#include <locale.h>
+int main() {
+return LC_MESSAGES
+; return 0; }
+EOF
+if { (eval echo configure:16722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+ rm -rf conftest*
+ ac_cv_val_LC_MESSAGES=yes
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_cv_val_LC_MESSAGES=no
+fi
+rm -f conftest*
+fi
+
+echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
+ if test $ac_cv_val_LC_MESSAGES = yes; then
+ cat >> confdefs.h <<\EOF
+#define HAVE_LC_MESSAGES 1
+EOF
+
+ fi
+
+else
+ echo "$ac_t""no" 1>&6
+fi
+
+
+
+ cat > conftest.$ac_ext <<EOF
+#line 16749 "configure"
+#include "confdefs.h"
+
+#include <setjmp.h>
+
+int main() {
+sigjmp_buf env; while (! sigsetjmp (env, 1)) siglongjmp (env, 1);
+; return 0; }
+EOF
+if { (eval echo configure:16758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ cat >> confdefs.h <<\EOF
+#define HAVE_SIGSETJMP 1
+EOF
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+fi
+rm -f conftest*
for ac_hdr in unistd.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
-echo "configure:15117: checking for $ac_hdr" >&5
+echo "configure:16774: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 15122 "configure"
+#line 16779 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:15127: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+{ (eval echo configure:16784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
for ac_func in getpagesize
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
-echo "configure:15156: checking for $ac_func" >&5
+echo "configure:16813: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
-#line 15161 "configure"
+#line 16818 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
; return 0; }
EOF
-if { (eval echo configure:15184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:16841: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
done
echo $ac_n "checking for working mmap""... $ac_c" 1>&6
-echo "configure:15209: checking for working mmap" >&5
+echo "configure:16866: checking for working mmap" >&5
if eval "test \"`echo '$''{'ac_cv_func_mmap_fixed_mapped'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_cv_func_mmap_fixed_mapped=no
else
cat > conftest.$ac_ext <<EOF
-#line 15217 "configure"
+#line 16874 "configure"
#include "confdefs.h"
/* Thanks to Mike Haertel and Jim Avera for this test.
}
EOF
-if { (eval echo configure:15357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
+if { (eval echo configure:17014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_func_mmap_fixed_mapped=yes
else
fi
-fi
-# Now that ctype is determined for all possible targets, we can do this...
+ # Establish limits on memory usage during 'make check'
+
+
+ setrlimit_have_headers=yes
+ for ac_hdr in sys/resource.h unistd.h
+do
+ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
+echo "configure:17045: checking for $ac_hdr" >&5
+if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+ cat > conftest.$ac_ext <<EOF
+#line 17050 "configure"
+#include "confdefs.h"
+#include <$ac_hdr>
+EOF
+ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
+{ (eval echo configure:17055: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
+ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
+if test -z "$ac_err"; then
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=yes"
+else
+ echo "$ac_err" >&5
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ eval "ac_cv_header_$ac_safe=no"
+fi
+rm -f conftest*
+fi
+if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
+ echo "$ac_t""yes" 1>&6
+ ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
+ cat >> confdefs.h <<EOF
+#define $ac_tr_hdr 1
+EOF
+
+else
+ echo "$ac_t""no" 1>&6
+setrlimit_have_headers=no
+fi
+done
+ # If don't have the headers, then we can't run the tests now, and we
+ # won't be seeing any of these during testsuite compilation.
+ if test $setrlimit_have_headers = yes; then
+ # Can't do these in a loop, else the resulting syntax is wrong.
+
+ cat > conftest.$ac_ext <<EOF
+#line 17088 "configure"
+#include "confdefs.h"
+#include <sys/resource.h>
+ #include <unistd.h>
+
+int main() {
+ int f = RLIMIT_DATA ;
+; return 0; }
+EOF
+if { (eval echo configure:17097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ glibcpp_mresult=1
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ glibcpp_mresult=0
+fi
+rm -f conftest*
+ cat >> confdefs.h <<EOF
+#define HAVE_MEMLIMIT_DATA $glibcpp_mresult
+EOF
+
+ cat > conftest.$ac_ext <<EOF
+#line 17114 "configure"
+#include "confdefs.h"
+#include <sys/resource.h>
+ #include <unistd.h>
+
+int main() {
+ int f = RLIMIT_RSS ;
+; return 0; }
+EOF
+if { (eval echo configure:17123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ glibcpp_mresult=1
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ glibcpp_mresult=0
+fi
+rm -f conftest*
+ cat >> confdefs.h <<EOF
+#define HAVE_MEMLIMIT_RSS $glibcpp_mresult
+EOF
+
+ cat > conftest.$ac_ext <<EOF
+#line 17140 "configure"
+#include "confdefs.h"
+#include <sys/resource.h>
+ #include <unistd.h>
+
+int main() {
+ int f = RLIMIT_VMEM ;
+; return 0; }
+EOF
+if { (eval echo configure:17149: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ glibcpp_mresult=1
+else
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ glibcpp_mresult=0
+fi
+rm -f conftest*
+ cat >> confdefs.h <<EOF
+#define HAVE_MEMLIMIT_VMEM $glibcpp_mresult
+EOF
-if test "$NULL_TARGET" = yes; then
- NULL_TARGET_TRUE=
- NULL_TARGET_FALSE='#'
+
+ cat > conftest.$ac_ext <<EOF
+#line 17166 "configure"
+#include "confdefs.h"
+#include <sys/resource.h>
+ #include <unistd.h>
+
+int main() {
+ int f = RLIMIT_AS ;
+; return 0; }
+EOF
+if { (eval echo configure:17175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ glibcpp_mresult=1
else
- NULL_TARGET_TRUE='#'
- NULL_TARGET_FALSE=
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ glibcpp_mresult=0
fi
+rm -f conftest*
+ cat >> confdefs.h <<EOF
+#define HAVE_MEMLIMIT_AS $glibcpp_mresult
+EOF
+
-if test "$NATIVE" = yes || test "$NULL_TARGET" = yes; then
- NATIVE_TRUE=
- NATIVE_FALSE='#'
+ # Check for rlimit, setrlimit.
+ if eval "test \"`echo '$''{'ac_setrlimit'+set}'`\" = set"; then
+ echo $ac_n "(cached) $ac_c" 1>&6
+else
+
+ cat > conftest.$ac_ext <<EOF
+#line 17197 "configure"
+#include "confdefs.h"
+#include <sys/resource.h>
+ #include <unistd.h>
+
+int main() {
+ struct rlimit r; setrlimit(0, &r);
+; return 0; }
+EOF
+if { (eval echo configure:17206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
+ rm -rf conftest*
+ ac_setrlimit=yes
else
- NATIVE_TRUE='#'
- NATIVE_FALSE=
+ echo "configure: failed program was:" >&5
+ cat conftest.$ac_ext >&5
+ rm -rf conftest*
+ ac_setrlimit=no
fi
+rm -f conftest*
+
+fi
+
+ fi
+
+ echo $ac_n "checking for testsuite memory limit support""... $ac_c" 1>&6
+echo "configure:17222: checking for testsuite memory limit support" >&5
+ if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
+ ac_mem_limits=yes
+ cat >> confdefs.h <<\EOF
+#define _GLIBCPP_MEM_LIMITS 1
+EOF
+
+ else
+ ac_mem_limits=no
+ fi
+ echo "$ac_t""$ac_mem_limits" 1>&6
-if test -z "$with_cross_host"; then
- USE_LIBDIR_TRUE=
- USE_LIBDIR_FALSE='#'
-else
- USE_LIBDIR_TRUE='#'
- USE_LIBDIR_FALSE=
fi
+# Propagate the target-specific source directories through the build chain.
+OS_INC_SRCDIR=$os_include_dir/bits
+ATOMICITY_INC_SRCDIR=$ATOMICITYH/bits
+LIMITS_INC_SRCDIR=$LIMITSH/bits
+
+
+
+
+# Set up cross-compile flags
+
+
+
if test "$CANADIAN" = yes; then
CANADIAN_TRUE=
CANADIAN_FALSE='#'
rm -f confcache
- ac_safe=`echo "locale.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for locale.h""... $ac_c" 1>&6
-echo "configure:15474: checking for locale.h" >&5
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 15479 "configure"
-#include "confdefs.h"
-#include <locale.h>
-EOF
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
-{ (eval echo configure:15484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
-if test -z "$ac_err"; then
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=yes"
-else
- echo "$ac_err" >&5
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- eval "ac_cv_header_$ac_safe=no"
-fi
-rm -f conftest*
-fi
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
- echo "$ac_t""yes" 1>&6
-
- echo $ac_n "checking for LC_MESSAGES""... $ac_c" 1>&6
-echo "configure:15502: checking for LC_MESSAGES" >&5
-if eval "test \"`echo '$''{'ac_cv_val_LC_MESSAGES'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
-else
- cat > conftest.$ac_ext <<EOF
-#line 15507 "configure"
-#include "confdefs.h"
-#include <locale.h>
-int main() {
-return LC_MESSAGES
-; return 0; }
-EOF
-if { (eval echo configure:15514: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
- rm -rf conftest*
- ac_cv_val_LC_MESSAGES=yes
-else
- echo "configure: failed program was:" >&5
- cat conftest.$ac_ext >&5
- rm -rf conftest*
- ac_cv_val_LC_MESSAGES=no
-fi
-rm -f conftest*
-fi
-
-echo "$ac_t""$ac_cv_val_LC_MESSAGES" 1>&6
- if test $ac_cv_val_LC_MESSAGES = yes; then
- cat >> confdefs.h <<\EOF
-#define HAVE_LC_MESSAGES 1
-EOF
-
- fi
-
-else
- echo "$ac_t""no" 1>&6
-fi
-
-
-
if test "${multilib}" = "yes"; then
multilib_arg="--enable-multilib"
else
multilib_arg=
fi
-
-# Generate the various Makefiles, include files, and scripts.
-
-# This helps subvert libstdcxx_interface, as calculated by devo/config.if
# Needed so that g++ can find the correct include subdir automatically.
INTERFACE=v3
-# Check for the interface version number for specifying where header
-# files are installed, if a version number is provided.
+# Export all the install information
+
+# Assumes glibcpp_builddir, glibcpp_srcdir are alreay set up and
+# exported correctly in GLIBCPP_CONFIGURE.
+glibcpp_toolexecdir=no
+glibcpp_toolexeclibdir=no
+glibcpp_prefixdir=${prefix}
+
echo $ac_n "checking for interface version number""... $ac_c" 1>&6
-echo "configure:15556: checking for interface version number" >&5
+echo "configure:17324: checking for interface version number" >&5
libstdcxx_interface=$INTERFACE
echo "$ac_t""$libstdcxx_interface" 1>&6
-
# Process the option --with-gxx-include-dir=<path to include-files directory>
echo $ac_n "checking for --with-gxx-include-dir""... $ac_c" 1>&6
-echo "configure:15563: checking for --with-gxx-include-dir" >&5
+echo "configure:17330: checking for --with-gxx-include-dir" >&5
# Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
if test "${with_gxx_include_dir+set}" = set; then
withval="$with_gxx_include_dir"
echo "$ac_t""$gxx_include_dir" 1>&6
-
-
-if test x${gxx_include_dir} != xno; then
- GXX_INCLUDE_DIR_TRUE=
- GXX_INCLUDE_DIR_FALSE='#'
-else
- GXX_INCLUDE_DIR_TRUE='#'
- GXX_INCLUDE_DIR_FALSE=
-fi
-
# Process the option "--enable-version-specific-runtime-libs"
echo $ac_n "checking for --enable-version-specific-runtime-libs""... $ac_c" 1>&6
-echo "configure:15597: checking for --enable-version-specific-runtime-libs" >&5
+echo "configure:17354: checking for --enable-version-specific-runtime-libs" >&5
# Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
if test "${enable_version_specific_runtime_libs+set}" = set; then
enableval="$enable_version_specific_runtime_libs"
- version_specific_libs=yes
-# Need the gcc compiler version to know where to install libraries
-# and header files if --enable-version-specific-runtime-libs option
-# is selected.
-gcc_tmp=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $6}'`
-gcc_num=`echo ${gcc_tmp} | sed 's/\"//g'`
-#gcc_date=`grep version_string ${srcdir}/../gcc/version.c | awk '{print $7}'`
-#gcc_version=$gcc_num-$gcc_date
-gcc_version=$gcc_num
-
-
+ case "$enableval" in
+ yes) version_specific_libs=yes ;;
+ no) version_specific_libs=no ;;
+ *) { echo "configure: error: Unknown argument to enable/disable version-specific libs" 1>&2; exit 1; };;
+ esac
else
version_specific_libs=no
fi
-
+# Option set, now we can test it.
echo "$ac_t""$version_specific_libs" 1>&6
-if test x${version_specific_libs} = xyes; then
-
-if test x${version_specific_libs} = xyes; then
- VERSION_SPECIFIC_LIBS_TRUE=
- VERSION_SPECIFIC_LIBS_FALSE='#'
-else
- VERSION_SPECIFIC_LIBS_TRUE='#'
- VERSION_SPECIFIC_LIBS_FALSE=
+if test $version_specific_libs = yes; then
+ # Need the gcc compiler version to know where to install libraries
+ # and header files if --enable-version-specific-runtime-libs option
+ # is selected.
+ gcc_version_trigger=${srcdir}/../gcc/version.c
+ gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([^\"]*\)\".*/\1/'`
+ gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
+ gxx_include_dir='$(libdir)/gcc-lib/$(target_alias)/'${gcc_version}/include/g++
+ glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
+ glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
+ fi
+
+# Default case for install directory for include files.
+if test $version_specific_libs = no &&
+ test $gxx_include_dir = no; then
+ gxx_include_dir='$(prefix)'/include/g++-${libstdcxx_interface}
fi
- echo "configure: warning: version specific directory is: $gcc_version" 1>&2
+
+# Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir
+# Install a library built with a cross compiler in tooldir, not libdir.
+if test x"$glibcpp_toolexecdir" = x"no"; then
+ if test -n "$with_cross_host" &&
+ test x"$with_cross_host" != x"no"; then
+ glibcpp_toolexecdir='$(exec_prefix)/$(target_alias)'
+ glibcpp_toolexeclibdir='$(toolexecdir)/lib$(MULTISUBDIR)'
+ else
+ glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
+ glibcpp_toolexeclibdir='$(libdir)$(MULTISUBDIR)'
+ fi
fi
-# We have to install all the generated or linked includes files
-# specified as build_headers in src/Makefile.am in a target-dependent
-# place, or else multiple installs for different compilers will
-# overwrite these files.
-# NB: Keep this and gcc/Makefile.in's -DGPLUSPLUS_TOOL_INCLUDE_DIR in sync.
-gxx_target_include_dir='$(exec_prefix)/$(target_alias)/include/g++-$(libstdcxx_interface)'
+echo $ac_n "checking for install location""... $ac_c" 1>&6
+echo "configure:17401: checking for install location" >&5
+echo "$ac_t""$gxx_include_dir" 1>&6
+
+
+
+
# Export all the include and flag information to makefiles.
- # Root level of the include sources.
- GLIBCPP_INCLUDE_DIR='$(top_srcdir)/include'
+ # Root level of the build directory include sources.
+ GLIBCPP_INCLUDES="-I${glibcpp_builddir}/include/${target_alias} -I${glibcpp_builddir}/include"
- # Can either use include/c or include/c_std to grab "C" headers. This
- # variable is set to the include directory currently in use.
- # set with C_INCLUDE_DIR in GLIBCPP_ENABLE_CHEADERS
-
# Passed down for canadian crosses.
- if test x"$CANADIAN" = xyes; then
+ if test x"$CANADIAN" = xyes; then
TOPLEVEL_INCLUDES='-I$(includedir)'
fi
LIBSUPCXX_INCLUDES='-I$(top_srcdir)/libsupc++'
- #if GLIBCPP_NEED_LIBIO
- LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
- #else
- #LIBIO_INCLUDES='-I$(top_srcdir)/libio'
- #endif
-
- #if GLIBCPP_USE_CSHADOW
- # CSHADOW_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR) \
- # -I$(top_blddir)/cshadow'
- #else
- CSTD_INCLUDES='-I$(GLIBCPP_INCLUDE_DIR)/std -I$(C_INCLUDE_DIR)'
- #endif
+ if test x"$need_libio" = xyes; then
+ LIBIO_INCLUDES='-I$(top_builddir)/libio -I$(top_srcdir)/libio'
+
+ fi
# Now, export this to all the little Makefiles....
-
-
# Optimization flags that are probably a good idea for thrill-seekers. Just
-# This should be done by mkincludedir, but hack around it now.
-blddir=`pwd`
-echo "checking for $blddir/include"
-
-if test ! -d "$blddir/include"; then
- mkdir "$blddir/include"
+if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
+ grep "enable shared" > /dev/null; then
+ LIBSUPCXX_PICFLAGS=-prefer-pic
+else
+ LIBSUPCXX_PICFLAGS=
fi
+
+# Generate the various Makefiles, include files, and scripts.
# NB: Multilibs need MULTISUBDIR defined correctly in src/Makefile.am
# and libsupc++/Makefile.am so that multilib installs will end up
# installed in the correct place. To work around this not being passed
ac_given_srcdir=$srcdir
ac_given_INSTALL="$INSTALL"
-trap 'rm -fr `echo "tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
+trap 'rm -fr `echo "Makefile \
+ include/Makefile src/Makefile \
+ libmath/Makefile libio/Makefile libsupc++/Makefile \
+ po/Makefile testsuite/Makefile mkcheck testsuite_flags config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
EOF
cat >> $CONFIG_STATUS <<EOF
s%@oldincludedir@%$oldincludedir%g
s%@infodir@%$infodir%g
s%@mandir@%$mandir%g
+s%@PACKAGE@%$PACKAGE%g
+s%@release_VERSION@%$release_VERSION%g
+s%@libtool_VERSION@%$libtool_VERSION%g
s%@host@%$host%g
s%@host_alias@%$host_alias%g
s%@host_cpu@%$host_cpu%g
s%@build_cpu@%$build_cpu%g
s%@build_vendor@%$build_vendor%g
s%@build_os@%$build_os%g
-s%@glibcpp_basedir@%$glibcpp_basedir%g
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
s%@INSTALL_DATA@%$INSTALL_DATA%g
-s%@PACKAGE@%$PACKAGE%g
s%@VERSION@%$VERSION%g
s%@ACLOCAL@%$ACLOCAL%g
s%@AUTOCONF@%$AUTOCONF%g
s%@AUTOHEADER@%$AUTOHEADER%g
s%@MAKEINFO@%$MAKEINFO%g
s%@SET_MAKE@%$SET_MAKE%g
+s%@toplevel_srcdir@%$toplevel_srcdir%g
+s%@glibcpp_builddir@%$glibcpp_builddir%g
+s%@glibcpp_srcdir@%$glibcpp_srcdir%g
+s%@LN_S@%$LN_S%g
+s%@glibcpp_basedir@%$glibcpp_basedir%g
s%@CC@%$CC%g
-s%@CXX_libstdcxx@%$CXX_libstdcxx%g
-s%@CXX@%$CXX%g
+s%@glibcpp_CXX@%$glibcpp_CXX%g
s%@AS@%$AS%g
s%@AR@%$AR%g
s%@RANLIB@%$RANLIB%g
s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
s%@MAINT@%$MAINT%g
s%@EXEEXT@%$EXEEXT%g
-s%@GLIBCPP_CFLAGS@%$GLIBCPP_CFLAGS%g
-s%@GLIBCPP_CXXFLAGS@%$GLIBCPP_CXXFLAGS%g
-s%@LN_S@%$LN_S%g
s%@OBJEXT@%$OBJEXT%g
s%@STRIP@%$STRIP%g
s%@LIBTOOL@%$LIBTOOL%g
s%@ifGNUmake@%$ifGNUmake%g
s%@DEBUG_FLAGS@%$DEBUG_FLAGS%g
s%@CPP@%$CPP%g
+s%@CSTDIO_H@%$CSTDIO_H%g
+s%@BASIC_FILE_H@%$BASIC_FILE_H%g
+s%@CCODECVT_C@%$CCODECVT_C%g
s%@GLIBCPP_BUILD_LIBIO_TRUE@%$GLIBCPP_BUILD_LIBIO_TRUE%g
s%@GLIBCPP_BUILD_LIBIO_FALSE@%$GLIBCPP_BUILD_LIBIO_FALSE%g
s%@GLIBCPP_NEED_LIBIO_TRUE@%$GLIBCPP_NEED_LIBIO_TRUE%g
s%@GLIBCPP_NEED_WLIBIO_TRUE@%$GLIBCPP_NEED_WLIBIO_TRUE%g
s%@GLIBCPP_NEED_WLIBIO_FALSE@%$GLIBCPP_NEED_WLIBIO_FALSE%g
s%@libio_la@%$libio_la%g
+s%@glibcpp_MOFILES@%$glibcpp_MOFILES%g
+s%@glibcpp_POFILES@%$glibcpp_POFILES%g
+s%@glibcpp_localedir@%$glibcpp_localedir%g
+s%@USE_NLS@%$USE_NLS%g
+s%@CLOCALE_H@%$CLOCALE_H%g
+s%@CCODECVT_H@%$CCODECVT_H%g
+s%@CMESSAGES_H@%$CMESSAGES_H%g
s%@CSHADOW_FLAGS@%$CSHADOW_FLAGS%g
s%@C_INCLUDE_DIR@%$C_INCLUDE_DIR%g
s%@GLIBCPP_USE_CSHADOW_TRUE@%$GLIBCPP_USE_CSHADOW_TRUE%g
s%@GLIBCPP_USE_CSHADOW_FALSE@%$GLIBCPP_USE_CSHADOW_FALSE%g
+s%@glibcpp_thread_h@%$glibcpp_thread_h%g
s%@EXTRA_CXX_FLAGS@%$EXTRA_CXX_FLAGS%g
-s%@WFMT_FLAGS@%$WFMT_FLAGS%g
s%@SECTION_FLAGS@%$SECTION_FLAGS%g
s%@SECTION_LDFLAGS@%$SECTION_LDFLAGS%g
s%@OPT_LDFLAGS@%$OPT_LDFLAGS%g
s%@LIBMATHOBJS@%$LIBMATHOBJS%g
s%@USE_COMPLEX_LONG_DOUBLE@%$USE_COMPLEX_LONG_DOUBLE%g
-s%@libinst_wstring_la@%$libinst_wstring_la%g
s%@WERROR@%$WERROR%g
-s%@NULL_TARGET_TRUE@%$NULL_TARGET_TRUE%g
-s%@NULL_TARGET_FALSE@%$NULL_TARGET_FALSE%g
-s%@NATIVE_TRUE@%$NATIVE_TRUE%g
-s%@NATIVE_FALSE@%$NATIVE_FALSE%g
-s%@USE_LIBDIR_TRUE@%$USE_LIBDIR_TRUE%g
-s%@USE_LIBDIR_FALSE@%$USE_LIBDIR_FALSE%g
+s%@OS_INC_SRCDIR@%$OS_INC_SRCDIR%g
+s%@ATOMICITY_INC_SRCDIR@%$ATOMICITY_INC_SRCDIR%g
+s%@LIMITS_INC_SRCDIR@%$LIMITS_INC_SRCDIR%g
+s%@GLIBCPP_IS_CROSS_COMPILING@%$GLIBCPP_IS_CROSS_COMPILING%g
s%@CANADIAN_TRUE@%$CANADIAN_TRUE%g
s%@CANADIAN_FALSE@%$CANADIAN_FALSE%g
-s%@libstdcxx_interface@%$libstdcxx_interface%g
+s%@glibcpp_prefixdir@%$glibcpp_prefixdir%g
s%@gxx_include_dir@%$gxx_include_dir%g
-s%@GXX_INCLUDE_DIR_TRUE@%$GXX_INCLUDE_DIR_TRUE%g
-s%@GXX_INCLUDE_DIR_FALSE@%$GXX_INCLUDE_DIR_FALSE%g
-s%@gcc_version@%$gcc_version%g
-s%@VERSION_SPECIFIC_LIBS_TRUE@%$VERSION_SPECIFIC_LIBS_TRUE%g
-s%@VERSION_SPECIFIC_LIBS_FALSE@%$VERSION_SPECIFIC_LIBS_FALSE%g
-s%@gxx_target_include_dir@%$gxx_target_include_dir%g
-s%@GLIBCPP_INCLUDE_DIR@%$GLIBCPP_INCLUDE_DIR%g
+s%@glibcpp_toolexecdir@%$glibcpp_toolexecdir%g
+s%@glibcpp_toolexeclibdir@%$glibcpp_toolexeclibdir%g
+s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
+s%@GLIBCPP_INCLUDES@%$GLIBCPP_INCLUDES%g
s%@TOPLEVEL_INCLUDES@%$TOPLEVEL_INCLUDES%g
s%@LIBMATH_INCLUDES@%$LIBMATH_INCLUDES%g
s%@LIBSUPCXX_INCLUDES@%$LIBSUPCXX_INCLUDES%g
-s%@LIBIO_INCLUDES@%$LIBIO_INCLUDES%g
-s%@CSTD_INCLUDES@%$CSTD_INCLUDES%g
s%@OPTIMIZE_CXXFLAGS@%$OPTIMIZE_CXXFLAGS%g
s%@WARN_FLAGS@%$WARN_FLAGS%g
+s%@LIBSUPCXX_PICFLAGS@%$LIBSUPCXX_PICFLAGS%g
CEOF
EOF
cat >> $CONFIG_STATUS <<EOF
-CONFIG_FILES=\${CONFIG_FILES-"tests_flags mkcheck Makefile src/Makefile libmath/Makefile libio/Makefile libsupc++/Makefile"}
+CONFIG_FILES=\${CONFIG_FILES-"Makefile \
+ include/Makefile src/Makefile \
+ libmath/Makefile libio/Makefile libsupc++/Makefile \
+ po/Makefile testsuite/Makefile mkcheck testsuite_flags"}
EOF
cat >> $CONFIG_STATUS <<\EOF
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
EOF
cat >> $CONFIG_STATUS <<EOF
-ac_sources="$os_include_dir/bits/os_defines.h $CSTDIO_H $CSTDIO_CC $CCODECVT_C config/$THREADH $os_include_dir/bits/ctype_base.h $os_include_dir/bits/ctype_inline.h $os_include_dir/bits/ctype_noninline.h $ATOMICITYH/bits/atomicity.h"
-ac_dests="include/bits/os_defines.h include/bits/c++io.h src/c++io.cc libio/c_codecvt.c include/bits/c++threads.h \
-include/bits/ctype_base.h \
-include/bits/ctype_inline.h \
-include/bits/ctype_noninline.h include/bits/atomicity.h"
+ac_sources="$BASIC_FILE_CC $CLOCALE_CC $CCOLLATE_CC $CMESSAGES_CC $CMONEY_CC $CNUMERIC_CC"
+ac_dests="src/basic_file.cc src/c++locale.cc src/collate.cc src/messages.cc src/moneypunct.cc src/numpunct.cc"
EOF
cat >> $CONFIG_STATUS <<\EOF
grep '^MULTISUBDIR =' Makefile >> src/Makefile
grep '^MULTISUBDIR =' Makefile >> libsupc++/Makefile
fi
-chmod +x tests_flags
chmod +x mkcheck
+chmod +x testsuite_flags
exit 0
EOF
-# Generate bits/c++config.h
-# NB: This must be the first generated file as others include it. . .
-$srcdir/mkc++config $blddir $srcdir
-
-# Generate bits/std_limits.h and src/limitsMEMBERS.cc
-if test ! -f stamp-limits; then
- $srcdir/mknumeric_limits $blddir $srcdir $xcompiling
- if test ! -f include/bits/std_limits.h; then
- echo "mknumeric_limits failed to execute properly: exiting"
- exit 1
- else
- touch stamp-limits
- fi
-fi
-
-
# Sanity checking & User-visible messages.
# Checks down here, otherwise they get scrolled off before
# the user will notice.