Rename condition_variable_any wait* methods to match current draft standard
[gcc.git] / libstdc++-v3 / configure
index 6d35f30a18ad2bbbc770dc63b1fb726667769954..d2e516df6d092b1ddc34a607acb93d9e1a44560b 100755 (executable)
@@ -1,10 +1,10 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.64 for package-unused version-unused.
+# Generated by GNU Autoconf 2.69 for package-unused version-unused.
+#
+#
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
 #
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
-# Foundation, Inc.
 #
 # This configure script is free software; the Free Software Foundation
 # gives unlimited permission to copy, distribute and modify it.
@@ -87,6 +87,7 @@ fi
 IFS=" ""       $as_nl"
 
 # Find who we are.  Look in the path if we contain no directory separator.
+as_myself=
 case $0 in #((
   *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -131,6 +132,31 @@ export LANGUAGE
 # CDPATH.
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
+# Use a proper internal environment variable to ensure we don't fall
+  # into an infinite loop, continuously re-executing ourselves.
+  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+    _as_can_reexec=no; export _as_can_reexec;
+    # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+  *v*x* | *x*v* ) as_opts=-vx ;;
+  *v* ) as_opts=-v ;;
+  *x* ) as_opts=-x ;;
+  * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+  fi
+  # We don't want this to propagate to other subprocesses.
+          { _as_can_reexec=; unset _as_can_reexec;}
 if test "x$CONFIG_SHELL" = x; then
   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   emulate sh
@@ -164,7 +190,8 @@ if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
 else
   exitcode=1; echo positional parameters were not saved.
 fi
-test x\$exitcode = x0 || exit 1"
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
@@ -217,14 +244,25 @@ IFS=$as_save_IFS
 
 
       if test "x$CONFIG_SHELL" != x; then :
-  # We cannot yet assume a decent shell, so we have to provide a
-       # neutralization value for shells without unset; and this also
-       # works around shells that cannot unset nonexistent variables.
-       BASH_ENV=/dev/null
-       ENV=/dev/null
-       (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
-       export CONFIG_SHELL
-       exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
+  export CONFIG_SHELL
+             # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+  *v*x* | *x*v* ) as_opts=-vx ;;
+  *v* ) as_opts=-v ;;
+  *x* ) as_opts=-x ;;
+  * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
 fi
 
     if test x$as_have_required = xno; then :
@@ -322,10 +360,18 @@ $as_echo X"$as_dir" |
       test -d "$as_dir" && break
     done
     test -z "$as_dirs" || eval "mkdir $as_dirs"
-  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
 
 } # as_fn_mkdir_p
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+  test -f "$1" && test -x "$1"
+} # as_fn_executable_p
 # as_fn_append VAR VALUE
 # ----------------------
 # Append the text in VALUE to the end of the definition contained in VAR. Take
@@ -362,19 +408,19 @@ else
 fi # as_fn_arith
 
 
-# as_fn_error ERROR [LINENO LOG_FD]
-# ---------------------------------
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with status $?, using 1 if that was 0.
+# script with STATUS, using 1 if that was 0.
 as_fn_error ()
 {
-  as_status=$?; test $as_status -eq 0 && as_status=1
-  if test "$3"; then
-    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
+  as_status=$1; test $as_status -eq 0 && as_status=1
+  if test "$4"; then
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   fi
-  $as_echo "$as_me: error: $1" >&2
+  $as_echo "$as_me: error: $2" >&2
   as_fn_exit $as_status
 } # as_fn_error
 
@@ -447,6 +493,10 @@ as_cr_alnum=$as_cr_Letters$as_cr_digits
   chmod +x "$as_me.lineno" ||
     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
 
+  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+  # already done that, so ensure we don't try to do so again and fall
+  # in an infinite loop.  This has already happened in practice.
+  _as_can_reexec=no; export _as_can_reexec
   # Don't try to exec as it changes $[0], causing all sort of problems
   # (the dirname of $[0] is not the place where we might find the
   # original and so on.  Autoconf is especially sensitive to this).
@@ -481,16 +531,16 @@ if (echo >conf$$.file) 2>/dev/null; then
     # ... but there are two gotchas:
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -p'.
+    # In both cases, we have to default to `cp -pR'.
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -p'
+      as_ln_s='cp -pR'
   elif ln conf$$.file conf$$ 2>/dev/null; then
     as_ln_s=ln
   else
-    as_ln_s='cp -p'
+    as_ln_s='cp -pR'
   fi
 else
-  as_ln_s='cp -p'
+  as_ln_s='cp -pR'
 fi
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 rmdir conf$$.dir 2>/dev/null
@@ -502,28 +552,8 @@ else
   as_mkdir_p=false
 fi
 
-if test -x / >/dev/null 2>&1; then
-  as_test_x='test -x'
-else
-  if ls -dL / >/dev/null 2>&1; then
-    as_ls_L_option=L
-  else
-    as_ls_L_option=
-  fi
-  as_test_x='
-    eval sh -c '\''
-      if test -d "$1"; then
-       test -d "$1/.";
-      else
-       case $1 in #(
-       -*)set "./$1";;
-       esac;
-       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
-       ???[sx]*):;;*)false;;esac;fi
-    '\'' sh
-  '
-fi
-as_executable_p=$as_test_x
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
 
 # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -534,10 +564,11 @@ as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 SHELL=${CONFIG_SHELL-/bin/sh}
 
 
-exec 7<&0 </dev/null 6>&1
+test -n "$DJDIR" || exec 7<&0 </dev/null
+exec 6>&1
 
 # Name of the host.
-# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
+# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
 # so uname gets run too.
 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
 
@@ -602,6 +633,7 @@ ac_subst_vars='am__EXEEXT_FALSE
 am__EXEEXT_TRUE
 LTLIBOBJS
 LIBOBJS
+get_gcc_base_ver
 WARN_FLAGS
 OPTIMIZE_CXXFLAGS
 TOPLEVEL_INCLUDES
@@ -610,6 +642,7 @@ glibcxx_toolexeclibdir
 glibcxx_toolexecdir
 gxx_include_dir
 glibcxx_prefixdir
+EXTRA_CFLAGS
 CPU_OPT_BITS_RANDOM
 CPU_OPT_EXT_RANDOM
 ERROR_CONSTANTS_SRCDIR
@@ -619,6 +652,8 @@ CPU_DEFINES_SRCDIR
 ATOMIC_FLAGS
 ATOMIC_WORD_SRCDIR
 ATOMICITY_SRCDIR
+INCLUDE_DIR_NOTPARALLEL_FALSE
+INCLUDE_DIR_NOTPARALLEL_TRUE
 BUILD_PDF_FALSE
 BUILD_PDF_TRUE
 PDFLATEX
@@ -634,6 +669,7 @@ BUILD_EPUB_TRUE
 XSL_STYLE_DIR
 XMLLINT
 XSLTPROC
+XMLCATALOG
 DOT
 DOXYGEN
 BUILD_INFO_FALSE
@@ -642,9 +678,10 @@ ENABLE_FILESYSTEM_TS_FALSE
 ENABLE_FILESYSTEM_TS_TRUE
 baseline_subdir_switch
 baseline_dir
-HWCAP_FLAGS
+HWCAP_CFLAGS
 GLIBCXX_LDBL_COMPAT_FALSE
 GLIBCXX_LDBL_COMPAT_TRUE
+LONG_DOUBLE_COMPAT_FLAGS
 ENABLE_CXX11_ABI_FALSE
 ENABLE_CXX11_ABI_TRUE
 glibcxx_cxx98_abi
@@ -700,6 +737,8 @@ GLIBCXX_C_HEADERS_C_TRUE
 C_INCLUDE_DIR
 ALLOCATOR_NAME
 ALLOCATOR_H
+ENABLE_ALLOCATOR_NEW_FALSE
+ENABLE_ALLOCATOR_NEW_TRUE
 CLOCALE_INTERNAL_H
 CLOCALE_CC
 CTIME_CC
@@ -721,7 +760,8 @@ BASIC_FILE_CC
 BASIC_FILE_H
 CSTDIO_H
 SECTION_FLAGS
-WERROR
+ENABLE_FLOAT128_FALSE
+ENABLE_FLOAT128_TRUE
 thread_header
 glibcxx_PCHFLAGS
 GLIBCXX_BUILD_PCH_FALSE
@@ -772,6 +812,10 @@ CPPFLAGS
 LDFLAGS
 CFLAGS
 CC
+AM_BACKSLASH
+AM_DEFAULT_VERBOSITY
+AM_DEFAULT_V
+AM_V
 am__untar
 am__tar
 AMTAR
@@ -850,6 +894,8 @@ ac_subst_files=''
 ac_user_opts='
 enable_option_checking
 enable_multilib
+enable_silent_rules
+enable_largefile
 with_target_subdir
 with_cross_host
 with_newlib
@@ -863,6 +909,7 @@ enable_libtool_lock
 enable_hosted_libstdcxx
 enable_libstdcxx_verbose
 enable_libstdcxx_pch
+with_libstdcxx_lock_policy
 enable_cstdio
 enable_clocale
 enable_nls
@@ -892,8 +939,10 @@ enable_libstdcxx_dual_abi
 with_default_libstdcxx_abi
 enable_libstdcxx_threads
 enable_libstdcxx_filesystem_ts
+enable_cet
 with_gxx_include_dir
 enable_version_specific_runtime_libs
+with_gcc_major_version_only
 '
       ac_precious_vars='build_alias
 host_alias
@@ -971,8 +1020,9 @@ do
   fi
 
   case $ac_option in
-  *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
-  *)   ac_optarg=yes ;;
+  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
+  *=)   ac_optarg= ;;
+  *)    ac_optarg=yes ;;
   esac
 
   # Accept the important Cygnus configure options, so we can diagnose typos.
@@ -1017,7 +1067,7 @@ do
     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error "invalid feature name: $ac_useropt"
+      as_fn_error $? "invalid feature name: $ac_useropt"
     ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in
@@ -1043,7 +1093,7 @@ do
     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error "invalid feature name: $ac_useropt"
+      as_fn_error $? "invalid feature name: $ac_useropt"
     ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in
@@ -1247,7 +1297,7 @@ do
     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error "invalid package name: $ac_useropt"
+      as_fn_error $? "invalid package name: $ac_useropt"
     ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in
@@ -1263,7 +1313,7 @@ do
     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     # Reject names that are not valid shell variable names.
     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
-      as_fn_error "invalid package name: $ac_useropt"
+      as_fn_error $? "invalid package name: $ac_useropt"
     ac_useropt_orig=$ac_useropt
     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     case $ac_user_opts in
@@ -1293,8 +1343,8 @@ do
   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
     x_libraries=$ac_optarg ;;
 
-  -*) as_fn_error "unrecognized option: \`$ac_option'
-Try \`$0 --help' for more information."
+  -*) as_fn_error $? "unrecognized option: \`$ac_option'
+Try \`$0 --help' for more information"
     ;;
 
   *=*)
@@ -1302,7 +1352,7 @@ Try \`$0 --help' for more information."
     # Reject names that are not valid shell variable names.
     case $ac_envvar in #(
       '' | [0-9]* | *[!_$as_cr_alnum]* )
-      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
+      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     esac
     eval $ac_envvar=\$ac_optarg
     export $ac_envvar ;;
@@ -1312,7 +1362,7 @@ Try \`$0 --help' for more information."
     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
-    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
+    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
     ;;
 
   esac
@@ -1320,13 +1370,13 @@ done
 
 if test -n "$ac_prev"; then
   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
-  as_fn_error "missing argument to $ac_option"
+  as_fn_error $? "missing argument to $ac_option"
 fi
 
 if test -n "$ac_unrecognized_opts"; then
   case $enable_option_checking in
     no) ;;
-    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
+    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   esac
 fi
@@ -1349,7 +1399,7 @@ do
     [\\/$]* | ?:[\\/]* )  continue;;
     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   esac
-  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
+  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
 done
 
 # There might be people who depend on the old broken behavior: `$host'
@@ -1363,8 +1413,6 @@ target=$target_alias
 if test "x$host_alias" != x; then
   if test "x$build_alias" = x; then
     cross_compiling=maybe
-    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
-    If a cross compiler is detected then cross compile mode will be used." >&2
   elif test "x$build_alias" != "x$host_alias"; then
     cross_compiling=yes
   fi
@@ -1379,9 +1427,9 @@ test "$silent" = yes && exec 6>/dev/null
 ac_pwd=`pwd` && test -n "$ac_pwd" &&
 ac_ls_di=`ls -di .` &&
 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
-  as_fn_error "working directory cannot be determined"
+  as_fn_error $? "working directory cannot be determined"
 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
-  as_fn_error "pwd does not report name of working directory"
+  as_fn_error $? "pwd does not report name of working directory"
 
 
 # Find the source files, if location was not specified.
@@ -1420,11 +1468,11 @@ else
 fi
 if test ! -r "$srcdir/$ac_unique_file"; then
   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
-  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
+  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
 fi
 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
 ac_abs_confdir=`(
-       cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
+       cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
        pwd)`
 # When building in place, set srcdir=.
 if test "$ac_abs_confdir" = "$ac_pwd"; then
@@ -1464,7 +1512,7 @@ Configuration:
       --help=short        display options specific to this package
       --help=recursive    display the short help of all the included packages
   -V, --version           display version information and exit
-  -q, --quiet, --silent   do not print \`checking...' messages
+  -q, --quiet, --silent   do not print \`checking ...' messages
       --cache-file=FILE   cache test results in FILE [disabled]
   -C, --config-cache      alias for \`--cache-file=config.cache'
   -n, --no-create         do not create output files
@@ -1530,8 +1578,12 @@ Optional Features:
   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   --enable-multilib       build many library versions (default)
-  --enable-maintainer-mode  enable make rules and dependencies not useful
-                         (and sometimes confusing) to the casual installer
+  --enable-silent-rules   less verbose build output (undo: "make V=1")
+  --disable-silent-rules  verbose build output (undo: "make V=0")
+  --disable-largefile     omit support for large files
+  --enable-maintainer-mode
+                          enable make rules and dependencies not useful (and
+                          sometimes confusing) to the casual installer
   --enable-shared[=PKGS]  build shared libraries [default=yes]
   --enable-static[=PKGS]  build static libraries [default=yes]
   --enable-fast-install[=PKGS]
@@ -1561,7 +1613,7 @@ Optional Features:
   --enable-concept-checks use Boost-derived template checks [default=no]
   --enable-libstdcxx-debug-flags=FLAGS
                           pass compiler FLAGS when building debug library
-                          [default="-gdwarf-4 -g3 -O0"]
+                          [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
   --enable-libstdcxx-debug
                           build extra debug library [default=no]
   --enable-cxx-flags=FLAGS
@@ -1571,7 +1623,7 @@ Optional Features:
                           memory [default=no]
   --enable-extern-template
                           enable extern template [default=yes]
-  --enable-werror         turns on -Werror [default=yes]
+  --enable-werror         turns on -Werror [default=no]
   --enable-vtable-verify  enable vtable verify [default=no]
   --enable-libstdcxx-time[=KIND]
                           use KIND for check type [default=auto]
@@ -1589,6 +1641,7 @@ Optional Features:
                           enable C++11 threads support [default=auto]
   --enable-libstdcxx-filesystem-ts
                           turns on ISO/IEC TS 18822 support [default=auto]
+  --enable-cet            enable Intel CET in target libraries [default=no]
   --enable-version-specific-runtime-libs
                           Specify that runtime libraries should be installed
                           in a compiler-specific directory
@@ -1603,6 +1656,9 @@ Optional Packages:
   --with-pic              try to use only PIC/non-PIC objects [default=use
                           both]
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
+  --with-libstdcxx-lock-policy={atomic,mutex,auto}
+                          synchronization policy for shared_ptr reference
+                          counting [default=auto]
   --with-python-dir       the location to install Python modules. This path is
                           relative starting from the prefix.
   --with-gnu-ld           assume the C compiler uses GNU ld default=no
@@ -1613,6 +1669,8 @@ Optional Packages:
                           set the std::string ABI to use by default
   --with-gxx-include-dir=DIR
                           installation directory for include files
+  --with-gcc-major-version-only
+                          use only GCC major number in filesystem paths
 
 Some influential environment variables:
   CC          C compiler command
@@ -1620,7 +1678,7 @@ Some influential environment variables:
   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
               nonstandard directory <lib dir>
   LIBS        libraries to pass to the linker, e.g. -l<library>
-  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
+  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
               you have headers in a nonstandard directory <include dir>
   CXX         C++ compiler command
   CXXFLAGS    C++ compiler flags
@@ -1696,9 +1754,9 @@ test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
 package-unused configure version-unused
-generated by GNU Autoconf 2.64
+generated by GNU Autoconf 2.69
 
-Copyright (C) 2009 Free Software Foundation, Inc.
+Copyright (C) 2012 Free Software Foundation, Inc.
 This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.
 _ACEOF
@@ -1742,8 +1800,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
        ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_compile
 
@@ -1780,8 +1838,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
        ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
 
 } # ac_fn_cxx_try_compile
 
@@ -1806,7 +1864,7 @@ $as_echo "$ac_try_echo"; } >&5
     mv -f conftest.er1 conftest.err
   fi
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } >/dev/null && {
+  test $ac_status = 0; } > conftest.i && {
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
         test ! -s conftest.err
        }; then :
@@ -1817,8 +1875,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
     ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_cpp
 
@@ -1849,7 +1907,7 @@ $as_echo "$ac_try_echo"; } >&5
         test ! -s conftest.err
        } && test -s conftest$ac_exeext && {
         test "$cross_compiling" = yes ||
-        $as_test_x conftest$ac_exeext
+        test -x conftest$ac_exeext
        }; then :
   ac_retval=0
 else
@@ -1863,8 +1921,8 @@ fi
   # interfere with the next link command; also delete a directory that is
   # left behind by Apple's compiler.  We do this before executing the actions.
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_link
 
@@ -1877,7 +1935,7 @@ ac_fn_c_check_header_compile ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -1895,7 +1953,7 @@ fi
 eval ac_res=\$$3
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_c_check_header_compile
 
@@ -1936,8 +1994,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
        ac_retval=$ac_status
 fi
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
 
 } # ac_fn_c_try_run
 
@@ -1949,11 +2007,11 @@ ac_fn_c_check_func ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -2007,7 +2065,7 @@ fi
 eval ac_res=\$$3
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_c_check_func
 
@@ -2032,7 +2090,7 @@ $as_echo "$ac_try_echo"; } >&5
     mv -f conftest.er1 conftest.err
   fi
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; } >/dev/null && {
+  test $ac_status = 0; } > conftest.i && {
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
         test ! -s conftest.err
        }; then :
@@ -2043,8 +2101,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
     ac_retval=1
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
 
 } # ac_fn_cxx_try_cpp
 
@@ -2075,7 +2133,7 @@ $as_echo "$ac_try_echo"; } >&5
         test ! -s conftest.err
        } && test -s conftest$ac_exeext && {
         test "$cross_compiling" = yes ||
-        $as_test_x conftest$ac_exeext
+        test -x conftest$ac_exeext
        }; then :
   ac_retval=0
 else
@@ -2089,8 +2147,8 @@ fi
   # interfere with the next link command; also delete a directory that is
   # left behind by Apple's compiler.  We do this before executing the actions.
   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
 
 } # ac_fn_cxx_try_link
 
@@ -2102,10 +2160,10 @@ fi
 ac_fn_c_check_header_mongrel ()
 {
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+  if eval \${$3+:} false; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 fi
 eval ac_res=\$$3
@@ -2141,7 +2199,7 @@ if ac_fn_c_try_cpp "$LINENO"; then :
 else
   ac_header_preproc=no
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 $as_echo "$ac_header_preproc" >&6; }
 
@@ -2168,7 +2226,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   eval "$3=\$ac_header_compiler"
@@ -2177,7 +2235,7 @@ eval ac_res=\$$3
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_c_check_header_mongrel
 
@@ -2189,10 +2247,10 @@ fi
 ac_fn_cxx_check_header_mongrel ()
 {
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+  if eval \${$3+:} false; then :
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 fi
 eval ac_res=\$$3
@@ -2228,7 +2286,7 @@ if ac_fn_cxx_try_cpp "$LINENO"; then :
 else
   ac_header_preproc=no
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
 $as_echo "$ac_header_preproc" >&6; }
 
@@ -2255,7 +2313,7 @@ $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
 esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   eval "$3=\$ac_header_compiler"
@@ -2264,7 +2322,7 @@ eval ac_res=\$$3
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
 fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_cxx_check_header_mongrel
 
@@ -2285,7 +2343,8 @@ int
 main ()
 {
 static int test_array [1 - 2 * !(($2) >= 0)];
-test_array [0] = 0
+test_array [0] = 0;
+return test_array [0];
 
   ;
   return 0;
@@ -2301,7 +2360,8 @@ int
 main ()
 {
 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
-test_array [0] = 0
+test_array [0] = 0;
+return test_array [0];
 
   ;
   return 0;
@@ -2327,7 +2387,8 @@ int
 main ()
 {
 static int test_array [1 - 2 * !(($2) < 0)];
-test_array [0] = 0
+test_array [0] = 0;
+return test_array [0];
 
   ;
   return 0;
@@ -2343,7 +2404,8 @@ int
 main ()
 {
 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
-test_array [0] = 0
+test_array [0] = 0;
+return test_array [0];
 
   ;
   return 0;
@@ -2377,7 +2439,8 @@ int
 main ()
 {
 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
-test_array [0] = 0
+test_array [0] = 0;
+return test_array [0];
 
   ;
   return 0;
@@ -2441,8 +2504,8 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 rm -f conftest.val
 
   fi
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
-  return $ac_retval
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
 
 } # ac_fn_c_compute_int
 
@@ -2455,7 +2518,7 @@ ac_fn_c_check_type ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   eval "$3=no"
@@ -2496,7 +2559,7 @@ fi
 eval ac_res=\$$3
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_c_check_type
 
@@ -2509,7 +2572,7 @@ ac_fn_cxx_check_type ()
   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
 $as_echo_n "checking for $2... " >&6; }
-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${$3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   eval "$3=no"
@@ -2550,7 +2613,7 @@ fi
 eval ac_res=\$$3
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 $as_echo "$ac_res" >&6; }
-  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
 } # ac_fn_cxx_check_type
 cat >config.log <<_ACEOF
@@ -2558,7 +2621,7 @@ This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
 It was created by package-unused $as_me version-unused, which was
-generated by GNU Autoconf 2.64.  Invocation command line was
+generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
 
@@ -2668,11 +2731,9 @@ trap 'exit_status=$?
   {
     echo
 
-    cat <<\_ASBOX
-## ---------------- ##
+    $as_echo "## ---------------- ##
 ## Cache variables. ##
-## ---------------- ##
-_ASBOX
+## ---------------- ##"
     echo
     # The following way of writing the cache mishandles newlines in values,
 (
@@ -2706,11 +2767,9 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 )
     echo
 
-    cat <<\_ASBOX
-## ----------------- ##
+    $as_echo "## ----------------- ##
 ## Output variables. ##
-## ----------------- ##
-_ASBOX
+## ----------------- ##"
     echo
     for ac_var in $ac_subst_vars
     do
@@ -2723,11 +2782,9 @@ _ASBOX
     echo
 
     if test -n "$ac_subst_files"; then
-      cat <<\_ASBOX
-## ------------------- ##
+      $as_echo "## ------------------- ##
 ## File substitutions. ##
-## ------------------- ##
-_ASBOX
+## ------------------- ##"
       echo
       for ac_var in $ac_subst_files
       do
@@ -2741,11 +2798,9 @@ _ASBOX
     fi
 
     if test -s confdefs.h; then
-      cat <<\_ASBOX
-## ----------- ##
+      $as_echo "## ----------- ##
 ## confdefs.h. ##
-## ----------- ##
-_ASBOX
+## ----------- ##"
       echo
       cat confdefs.h
       echo
@@ -2800,7 +2855,12 @@ _ACEOF
 ac_site_file1=NONE
 ac_site_file2=NONE
 if test -n "$CONFIG_SITE"; then
-  ac_site_file1=$CONFIG_SITE
+  # We do not want a PATH search for config.site.
+  case $CONFIG_SITE in #((
+    -*)  ac_site_file1=./$CONFIG_SITE;;
+    */*) ac_site_file1=$CONFIG_SITE;;
+    *)   ac_site_file1=./$CONFIG_SITE;;
+  esac
 elif test "x$prefix" != xNONE; then
   ac_site_file1=$prefix/share/config.site
   ac_site_file2=$prefix/etc/config.site
@@ -2811,18 +2871,22 @@ fi
 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
 do
   test "x$ac_site_file" = xNONE && continue
-  if test -r "$ac_site_file"; then
+  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
     sed 's/^/| /' "$ac_site_file" >&5
-    . "$ac_site_file"
+    . "$ac_site_file" \
+      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "failed to load site script $ac_site_file
+See \`config.log' for more details" "$LINENO" 5; }
   fi
 done
 
 if test -r "$cache_file"; then
-  # Some versions of bash will fail to source /dev/null (special
-  # files actually), so we avoid doing that.
-  if test -f "$cache_file"; then
+  # Some versions of bash will fail to source /dev/null (special files
+  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
+  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
 $as_echo "$as_me: loading cache $cache_file" >&6;}
     case $cache_file in
@@ -2891,7 +2955,7 @@ if $ac_cache_corrupted; then
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
-  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
+  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
 fi
 ## -------------------- ##
 ## Main body of script. ##
@@ -2924,7 +2988,7 @@ if test "${enable_multilib+set}" = set; then :
   enableval=$enable_multilib; case "$enableval" in
   yes) multilib=yes ;;
   no)  multilib=no ;;
-  *)   as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
+  *)   as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
  esac
 else
   multilib=yes
@@ -2972,16 +3036,22 @@ ac_config_commands="$ac_config_commands default-1"
 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
 ac_aux_dir=
 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
-  for ac_t in install-sh install.sh shtool; do
-    if test -f "$ac_dir/$ac_t"; then
-      ac_aux_dir=$ac_dir
-      ac_install_sh="$ac_aux_dir/$ac_t -c"
-      break 2
-    fi
-  done
+  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
+  elif test -f "$ac_dir/shtool"; then
+    ac_aux_dir=$ac_dir
+    ac_install_sh="$ac_aux_dir/shtool install -c"
+    break
+  fi
 done
 if test -z "$ac_aux_dir"; then
-  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
+  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
 fi
 
 # These three variables are undocumented and unsupported,
@@ -2995,27 +3065,27 @@ ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
 
 # Make sure we can run config.sub.
 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
-  as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
+  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
 $as_echo_n "checking build system type... " >&6; }
-if test "${ac_cv_build+set}" = set; then :
+if ${ac_cv_build+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_build_alias=$build_alias
 test "x$ac_build_alias" = x &&
   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
 test "x$ac_build_alias" = x &&
-  as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
+  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
-  as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
+  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
 
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
 $as_echo "$ac_cv_build" >&6; }
 case $ac_cv_build in
 *-*-*) ;;
-*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
+*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
 esac
 build=$ac_cv_build
 ac_save_IFS=$IFS; IFS='-'
@@ -3033,14 +3103,14 @@ case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
 $as_echo_n "checking host system type... " >&6; }
-if test "${ac_cv_host+set}" = set; then :
+if ${ac_cv_host+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "x$host_alias" = x; then
   ac_cv_host=$ac_cv_build
 else
   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
-    as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
+    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
 fi
 
 fi
@@ -3048,7 +3118,7 @@ fi
 $as_echo "$ac_cv_host" >&6; }
 case $ac_cv_host in
 *-*-*) ;;
-*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
+*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
 esac
 host=$ac_cv_host
 ac_save_IFS=$IFS; IFS='-'
@@ -3066,14 +3136,14 @@ case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
 $as_echo_n "checking target system type... " >&6; }
-if test "${ac_cv_target+set}" = set; then :
+if ${ac_cv_target+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test "x$target_alias" = x; then
   ac_cv_target=$ac_cv_host
 else
   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
-    as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
+    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
 fi
 
 fi
@@ -3081,7 +3151,7 @@ fi
 $as_echo "$ac_cv_target" >&6; }
 case $ac_cv_target in
 *-*-*) ;;
-*) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
+*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
 esac
 target=$ac_cv_target
 ac_save_IFS=$IFS; IFS='-'
@@ -3146,7 +3216,7 @@ fi
 #  no-dist:  we don't want 'dist' and related rules.
 #  -Wall:  turns on all automake warnings...
 #  -Wno-portability:  ...except this one, since GNU make is now required.
-am__api_version='1.11'
+am__api_version='1.15'
 
 # Find a good install program.  We prefer a C program (faster),
 # so one script is as good as another.  But avoid the broken or
@@ -3165,7 +3235,7 @@ am__api_version='1.11'
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
 $as_echo_n "checking for a BSD-compatible install... " >&6; }
 if test -z "$INSTALL"; then
-if test "${ac_cv_path_install+set}" = set; then :
+if ${ac_cv_path_install+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -3185,7 +3255,7 @@ case $as_dir/ in #((
     # by default.
     for ac_prog in ginstall scoinst install; do
       for ac_exec_ext in '' $ac_executable_extensions; do
-       if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
+       if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
          if test $ac_prog = install &&
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
            # AIX install.  It has an incompatible calling convention.
@@ -3243,56 +3313,71 @@ test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
 $as_echo_n "checking whether build environment is sane... " >&6; }
-# Just in case
-sleep 1
-echo timestamp > conftest.file
 # Reject unsafe characters in $srcdir or the absolute working directory
 # name.  Accept space and tab only in the latter.
 am_lf='
 '
 case `pwd` in
   *[\\\"\#\$\&\'\`$am_lf]*)
-    as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
+    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
 esac
 case $srcdir in
   *[\\\"\#\$\&\'\`$am_lf\ \    ]*)
-    as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
+    as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
 esac
 
-# Do `set' in a subshell so we don't clobber the current shell's
+# Do 'set' in a subshell so we don't clobber the current shell's
 # arguments.  Must try -L first in case configure is actually a
 # symlink; some systems play weird games with the mod time of symlinks
 # (eg FreeBSD returns the mod time of the symlink's containing
 # directory).
 if (
-   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
-   if test "$*" = "X"; then
-      # -L didn't work.
-      set X `ls -t "$srcdir/configure" conftest.file`
-   fi
-   rm -f conftest.file
-   if test "$*" != "X $srcdir/configure conftest.file" \
-      && test "$*" != "X conftest.file $srcdir/configure"; then
-
-      # If neither matched, then we have a broken ls.  This can happen
-      # if, for instance, CONFIG_SHELL is bash and it inherits a
-      # broken ls alias from the environment.  This has actually
-      # happened.  Such a system could not be considered "sane".
-      as_fn_error "ls -t appears to fail.  Make sure there is not a broken
-alias in your environment" "$LINENO" 5
-   fi
-
+   am_has_slept=no
+   for am_try in 1 2; do
+     echo "timestamp, slept: $am_has_slept" > conftest.file
+     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
+     if test "$*" = "X"; then
+       # -L didn't work.
+       set X `ls -t "$srcdir/configure" conftest.file`
+     fi
+     if test "$*" != "X $srcdir/configure conftest.file" \
+       && test "$*" != "X conftest.file $srcdir/configure"; then
+
+       # If neither matched, then we have a broken ls.  This can happen
+       # if, for instance, CONFIG_SHELL is bash and it inherits a
+       # broken ls alias from the environment.  This has actually
+       # happened.  Such a system could not be considered "sane".
+       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
+  alias in your environment" "$LINENO" 5
+     fi
+     if test "$2" = conftest.file || test $am_try -eq 2; then
+       break
+     fi
+     # Just in case.
+     sleep 1
+     am_has_slept=yes
+   done
    test "$2" = conftest.file
    )
 then
    # Ok.
    :
 else
-   as_fn_error "newly created file is older than distributed files!
+   as_fn_error $? "newly created file is older than distributed files!
 Check your system clock" "$LINENO" 5
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
+# If we didn't sleep, we still need to ensure time stamps of config.status and
+# generated files are strictly newer.
+am_sleep_pid=
+if grep 'slept: no' conftest.file >/dev/null 2>&1; then
+  ( sleep 1 ) &
+  am_sleep_pid=$!
+fi
+
+rm -f conftest.file
+
 test "$program_prefix" != NONE &&
   program_transform_name="s&^&$program_prefix&;$program_transform_name"
 # Use a double $ so make ignores it.
@@ -3303,8 +3388,8 @@ test "$program_suffix" != NONE &&
 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
 
-# expand $ac_aux_dir to an absolute path
-am_aux_dir=`cd $ac_aux_dir && pwd`
+# Expand $ac_aux_dir to an absolute path.
+am_aux_dir=`cd "$ac_aux_dir" && pwd`
 
 if test x"${MISSING+set}" != xset; then
   case $am_aux_dir in
@@ -3315,15 +3400,15 @@ if test x"${MISSING+set}" != xset; then
   esac
 fi
 # Use eval to expand $SHELL
-if eval "$MISSING --run true"; then
-  am_missing_run="$MISSING --run "
+if eval "$MISSING --is-lightweight"; then
+  am_missing_run="$MISSING "
 else
   am_missing_run=
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
-$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
+  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
+$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
 fi
 
-if test x"${install_sh}" != xset; then
+if test x"${install_sh+set}" != xset; then
   case $am_aux_dir in
   *\ * | *\    *)
     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
@@ -3332,17 +3417,17 @@ if test x"${install_sh}" != xset; then
   esac
 fi
 
-# Installed binaries are usually stripped using `strip' when the user
-# run `make install-strip'.  However `strip' might not be the right
+# Installed binaries are usually stripped using 'strip' when the user
+# run "make install-strip".  However 'strip' might not be the right
 # tool to use in cross-compilation environments, therefore Automake
-# will honor the `STRIP' environment variable to overrule this program.
+# will honor the 'STRIP' environment variable to overrule this program.
 if test "$cross_compiling" != no; then
   if test -n "$ac_tool_prefix"; then
   # 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
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_STRIP+set}" = set; then :
+if ${ac_cv_prog_STRIP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$STRIP"; then
@@ -3354,7 +3439,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -3382,7 +3467,7 @@ if test -z "$ac_cv_prog_STRIP"; then
 set dummy strip; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_STRIP"; then
@@ -3394,7 +3479,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_STRIP="strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -3435,7 +3520,7 @@ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
 if test -z "$MKDIR_P"; then
-  if test "${ac_cv_path_mkdir+set}" = set; then :
+  if ${ac_cv_path_mkdir+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -3445,7 +3530,7 @@ do
   test -z "$as_dir" && as_dir=.
     for ac_prog in mkdir gmkdir; do
         for ac_exec_ext in '' $ac_executable_extensions; do
-          { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
+          as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
             'mkdir (GNU coreutils) '* | \
             'mkdir (coreutils) '* | \
@@ -3460,6 +3545,7 @@ IFS=$as_save_IFS
 
 fi
 
+  test -d ./--version && rmdir ./--version
   if test "${ac_cv_path_mkdir+set}" = set; then
     MKDIR_P="$ac_cv_path_mkdir -p"
   else
@@ -3467,26 +3553,19 @@ fi
     # value for MKDIR_P within a source directory, because that will
     # break other packages using the cache if that directory is
     # removed, or if the value is a relative name.
-    test -d ./--version && rmdir ./--version
     MKDIR_P="$ac_install_sh -d"
   fi
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
 $as_echo "$MKDIR_P" >&6; }
 
-mkdir_p="$MKDIR_P"
-case $mkdir_p in
-  [\\/$]* | ?:[\\/]*) ;;
-  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
-esac
-
 for ac_prog in gawk mawk nawk awk
 do
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_AWK+set}" = set; then :
+if ${ac_cv_prog_AWK+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$AWK"; then
@@ -3498,7 +3577,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_AWK="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -3526,7 +3605,7 @@ done
 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
 set x ${MAKE-make}
 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
+if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat >conftest.make <<\_ACEOF
@@ -3534,7 +3613,7 @@ SHELL = /bin/sh
 all:
        @echo '@@@%%%=$(MAKE)=@@@%%%'
 _ACEOF
-# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
+# GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   *@@@%%%=?*=@@@%%%*)
     eval ac_cv_prog_make_${ac_make}_set=yes;;
@@ -3562,13 +3641,52 @@ else
 fi
 rmdir .tst 2>/dev/null
 
+# Check whether --enable-silent-rules was given.
+if test "${enable_silent_rules+set}" = set; then :
+  enableval=$enable_silent_rules;
+fi
+
+case $enable_silent_rules in # (((
+  yes) AM_DEFAULT_VERBOSITY=0;;
+   no) AM_DEFAULT_VERBOSITY=1;;
+    *) AM_DEFAULT_VERBOSITY=1;;
+esac
+am_make=${MAKE-make}
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
+$as_echo_n "checking whether $am_make supports nested variables... " >&6; }
+if ${am_cv_make_support_nested_variables+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if $as_echo 'TRUE=$(BAR$(V))
+BAR0=false
+BAR1=true
+V=1
+am__doit:
+       @$(TRUE)
+.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
+  am_cv_make_support_nested_variables=yes
+else
+  am_cv_make_support_nested_variables=no
+fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
+$as_echo "$am_cv_make_support_nested_variables" >&6; }
+if test $am_cv_make_support_nested_variables = yes; then
+    AM_V='$(V)'
+  AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
+else
+  AM_V=$AM_DEFAULT_VERBOSITY
+  AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
+fi
+AM_BACKSLASH='\'
+
 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   # is not polluted with repeated "-I."
   am__isrc=' -I$(srcdir)'
   # test to see if srcdir already configured
   if test -f $srcdir/config.status; then
-    as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
+    as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   fi
 fi
 
@@ -3603,12 +3721,22 @@ AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
-# We need awk for the "check" target.  The system "awk" is bad on
-# some platforms.
+# For better backward compatibility.  To be removed once Automake 1.9.x
+# dies out for good.  For more background, see:
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
+# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
+mkdir_p='$(MKDIR_P)'
+
+# We need awk for the "check" target (and possibly the TAP driver).  The
+# system "awk" is bad on some platforms.
 # Always define AMTAR for backward compatibility.  Yes, it's still used
 # in the wild :-(  We should find a proper way to deprecate it ...
 AMTAR='$${TAR-tar}'
 
+
+# We'll loop over all known methods to create a tar archive until one works.
+_am_tools='gnutar  pax cpio none'
+
 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 
 
@@ -3616,6 +3744,49 @@ am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
 
 
 
+# POSIX will say in a future version that running "rm -f" with no argument
+# is OK; and we want to be able to make that assumption in our Makefile
+# recipes.  So use an aggressive probe to check that the usage we want is
+# actually supported "in the wild" to an acceptable degree.
+# See automake bug#10828.
+# To make any issue more visible, cause the running configure to be aborted
+# by default if the 'rm' program in use doesn't match our expectations; the
+# user can still override this though.
+if rm -f && rm -fr && rm -rf; then : OK; else
+  cat >&2 <<'END'
+Oops!
+
+Your 'rm' program seems unable to run without file operands specified
+on the command line, even when the '-f' option is present.  This is contrary
+to the behaviour of most rm programs out there, and not conforming with
+the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
+
+Please tell bug-automake@gnu.org about your system, including the value
+of your $PATH and any error possibly output before this message.  This
+can help us improve future automake versions.
+
+END
+  if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
+    echo 'Configuration will proceed anyway, since you have set the' >&2
+    echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
+    echo >&2
+  else
+    cat >&2 <<'END'
+Aborting the configuration process, to ensure you take notice of the issue.
+
+You can download and install GNU coreutils to get an 'rm' implementation
+that behaves properly: <http://www.gnu.org/software/coreutils/>.
+
+If you want to complete the configuration process using your problematic
+'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
+to "yes", and re-run configure.
+
+END
+    as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
+  fi
+fi
+
+
 
 
 # -fno-builtin must be present here so that a non-conflicting form of
@@ -3633,7 +3804,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}gcc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -3645,7 +3816,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="${ac_tool_prefix}gcc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -3673,7 +3844,7 @@ if test -z "$ac_cv_prog_CC"; then
 set dummy gcc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CC"; then
@@ -3685,7 +3856,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_CC="gcc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -3726,7 +3897,7 @@ if test -z "$CC"; then
 set dummy ${ac_tool_prefix}cc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -3738,7 +3909,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="${ac_tool_prefix}cc"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -3766,7 +3937,7 @@ if test -z "$CC"; then
 set dummy cc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -3779,7 +3950,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
        ac_prog_rejected=yes
        continue
@@ -3825,7 +3996,7 @@ if test -z "$CC"; then
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CC+set}" = set; then :
+if ${ac_cv_prog_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CC"; then
@@ -3837,7 +4008,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -3869,7 +4040,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
+if ${ac_cv_prog_ac_ct_CC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CC"; then
@@ -3881,7 +4052,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_CC="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -3923,8 +4094,8 @@ fi
 
 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "no acceptable C compiler found in \$PATH
-See \`config.log' for more details." "$LINENO" 5; }
+as_fn_error $? "no acceptable C compiler found in \$PATH
+See \`config.log' for more details" "$LINENO" 5; }
 
 # Provide some information about the compiler.
 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
@@ -3945,8 +4116,8 @@ $as_echo "$ac_try_echo"; } >&5
 ... rest of stderr output deleted ...
          10q' conftest.err >conftest.er1
     cat conftest.er1 >&5
-    rm -f conftest.er1 conftest.err
   fi
+  rm -f conftest.er1 conftest.err
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }
 done
@@ -3991,12 +4162,12 @@ main ()
 }
 _ACEOF
 ac_clean_files_save=$ac_clean_files
-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
+ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
 # Try to create an executable without -o first, disregard a.out.
 # It will help us diagnose broken compilers, and finding out an intuition
 # of exeext.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
-$as_echo_n "checking for C compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
+$as_echo_n "checking whether the C compiler works... " >&6; }
 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
 
 # The possible output files:
@@ -4058,62 +4229,28 @@ test "$ac_cv_exeext" = no && ac_cv_exeext=
 else
   ac_file=''
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
-$as_echo "$ac_file" >&6; }
 if test -z "$ac_file"; then :
-  $as_echo "$as_me: failed program was:" >&5
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+$as_echo "$as_me: failed program was:" >&5
 sed 's/^/| /' conftest.$ac_ext >&5
 
 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-{ as_fn_set_status 77
-as_fn_error "C compiler cannot create executables
-See \`config.log' for more details." "$LINENO" 5; }; }
+as_fn_error 77 "C compiler cannot create executables
+See \`config.log' for more details" "$LINENO" 5; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
+$as_echo_n "checking for C compiler default output file name... " >&6; }
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
+$as_echo "$ac_file" >&6; }
 ac_exeext=$ac_cv_exeext
 
-# Check that the compiler produces executables we can run.  If not, either
-# the compiler is broken, or we cross compile.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
-$as_echo_n "checking whether the C compiler works... " >&6; }
-# If not cross compiling, check that we can run a simple program.
-if test "$cross_compiling" != yes; then
-  if { ac_try='./$ac_file'
-  { { case "(($ac_try" in
-  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
-  *) ac_try_echo=$ac_try;;
-esac
-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
-$as_echo "$ac_try_echo"; } >&5
-  (eval "$ac_try") 2>&5
-  ac_status=$?
-  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
-  test $ac_status = 0; }; }; then
-    cross_compiling=no
-  else
-    if test "$cross_compiling" = maybe; then
-       cross_compiling=yes
-    else
-       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot run C compiled programs.
-If you meant to cross compile, use \`--host'.
-See \`config.log' for more details." "$LINENO" 5; }
-    fi
-  fi
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-
-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
+rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
 ac_clean_files=$ac_clean_files_save
-# Check that the compiler produces executables we can run.  If not, either
-# the compiler is broken, or we cross compile.
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
-$as_echo_n "checking whether we are cross compiling... " >&6; }
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
-$as_echo "$cross_compiling" >&6; }
-
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
 $as_echo_n "checking for suffix of executables... " >&6; }
 if { { ac_try="$ac_link"
@@ -4143,20 +4280,79 @@ done
 else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot compute suffix of executables: cannot compile and link
-See \`config.log' for more details." "$LINENO" 5; }
+as_fn_error $? "cannot compute suffix of executables: cannot compile and link
+See \`config.log' for more details" "$LINENO" 5; }
 fi
-rm -f conftest$ac_cv_exeext
+rm -f conftest conftest$ac_cv_exeext
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
 $as_echo "$ac_cv_exeext" >&6; }
 
 rm -f conftest.$ac_ext
 EXEEXT=$ac_cv_exeext
 ac_exeext=$EXEEXT
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <stdio.h>
+int
+main ()
+{
+FILE *f = fopen ("conftest.out", "w");
+ return ferror (f) || fclose (f) != 0;
+
+  ;
+  return 0;
+}
+_ACEOF
+ac_clean_files="$ac_clean_files conftest.out"
+# Check that the compiler produces executables we can run.  If not, either
+# the compiler is broken, or we cross compile.
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
+$as_echo_n "checking whether we are cross compiling... " >&6; }
+if test "$cross_compiling" != yes; then
+  { { ac_try="$ac_link"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_link") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+  if { ac_try='./conftest$ac_cv_exeext'
+  { { case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_try") 2>&5
+  ac_status=$?
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }; }; then
+    cross_compiling=no
+  else
+    if test "$cross_compiling" = maybe; then
+       cross_compiling=yes
+    else
+       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run C compiled programs.
+If you meant to cross compile, use \`--host'.
+See \`config.log' for more details" "$LINENO" 5; }
+    fi
+  fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
+$as_echo "$cross_compiling" >&6; }
+
+rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
+ac_clean_files=$ac_clean_files_save
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
 $as_echo_n "checking for suffix of object files... " >&6; }
-if test "${ac_cv_objext+set}" = set; then :
+if ${ac_cv_objext+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4196,8 +4392,8 @@ sed 's/^/| /' conftest.$ac_ext >&5
 
 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot compute suffix of object files: cannot compile
-See \`config.log' for more details." "$LINENO" 5; }
+as_fn_error $? "cannot compute suffix of object files: cannot compile
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 rm -f conftest.$ac_cv_objext conftest.$ac_ext
 fi
@@ -4207,7 +4403,7 @@ OBJEXT=$ac_cv_objext
 ac_objext=$OBJEXT
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
-if test "${ac_cv_c_compiler_gnu+set}" = set; then :
+if ${ac_cv_c_compiler_gnu+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4244,7 +4440,7 @@ ac_test_CFLAGS=${CFLAGS+set}
 ac_save_CFLAGS=$CFLAGS
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
 $as_echo_n "checking whether $CC accepts -g... " >&6; }
-if test "${ac_cv_prog_cc_g+set}" = set; then :
+if ${ac_cv_prog_cc_g+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_save_c_werror_flag=$ac_c_werror_flag
@@ -4322,7 +4518,7 @@ else
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
-if test "${ac_cv_prog_cc_c89+set}" = set; then :
+if ${ac_cv_prog_cc_c89+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_cv_prog_cc_c89=no
@@ -4331,8 +4527,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdarg.h>
 #include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
+struct stat;
 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
 struct buf { int x; };
 FILE * (*rcsopen) (struct buf *, struct stat *, int);
@@ -4417,6 +4612,65 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
+$as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
+if ${am_cv_prog_cc_c_o+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+  # Make sure it works both with $CC and with simple cc.
+  # Following AC_PROG_CC_C_O, we do the test twice because some
+  # compilers refuse to overwrite an existing .o file with -o,
+  # though they will create one.
+  am_cv_prog_cc_c_o=yes
+  for am_i in 1 2; do
+    if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
+   ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
+   ac_status=$?
+   echo "$as_me:$LINENO: \$? = $ac_status" >&5
+   (exit $ac_status); } \
+         && test -f conftest2.$ac_objext; then
+      : OK
+    else
+      am_cv_prog_cc_c_o=no
+      break
+    fi
+  done
+  rm -f core conftest*
+  unset am_i
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
+$as_echo "$am_cv_prog_cc_c_o" >&6; }
+if test "$am_cv_prog_cc_c_o" != yes; then
+   # Losing compiler, so override with the script.
+   # FIXME: It is wrong to rewrite CC.
+   # But if we don't then we get into trouble of one sort or another.
+   # A longer-term fix would be to have automake use am__CC in this case,
+   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
+   CC="$am_aux_dir/compile $CC"
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
 ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -4433,7 +4687,7 @@ if test -z "$CXX"; then
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_CXX+set}" = set; then :
+if ${ac_cv_prog_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$CXX"; then
@@ -4445,7 +4699,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4477,7 +4731,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
+if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_CXX"; then
@@ -4489,7 +4743,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_CXX="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -4547,15 +4801,15 @@ $as_echo "$ac_try_echo"; } >&5
 ... rest of stderr output deleted ...
          10q' conftest.err >conftest.er1
     cat conftest.er1 >&5
-    rm -f conftest.er1 conftest.err
   fi
+  rm -f conftest.er1 conftest.err
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }
 done
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
+if ${ac_cv_cxx_compiler_gnu+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -4592,7 +4846,7 @@ ac_test_CXXFLAGS=${CXXFLAGS+set}
 ac_save_CXXFLAGS=$CXXFLAGS
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
-if test "${ac_cv_prog_cxx_g+set}" = set; then :
+if ${ac_cv_prog_cxx_g+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
@@ -4676,9 +4930,210 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 CXXFLAGS="$save_CXXFLAGS"
 
+
+# Check whether --enable-largefile was given.
+if test "${enable_largefile+set}" = set; then :
+  enableval=$enable_largefile;
+fi
+
+if test "$enable_largefile" != no; then
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
+$as_echo_n "checking for special C compiler options needed for large files... " >&6; }
+if ${ac_cv_sys_largefile_CC+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_cv_sys_largefile_CC=no
+     if test "$GCC" != yes; then
+       ac_save_CC=$CC
+       while :; do
+        # IRIX 6.2 and later do not support large files by default,
+        # so use the C compiler's -n32 option if that helps.
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <sys/types.h>
+ /* Check that off_t can represent 2**63 - 1 correctly.
+    We can't simply define LARGE_OFF_T to be 9223372036854775807,
+    since some C++ compilers masquerading as C compilers
+    incorrectly reject 9223372036854775807.  */
+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
+  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
+                      && LARGE_OFF_T % 2147483647 == 1)
+                     ? 1 : -1];
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+        if ac_fn_c_try_compile "$LINENO"; then :
+  break
+fi
+rm -f core conftest.err conftest.$ac_objext
+        CC="$CC -n32"
+        if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_sys_largefile_CC=' -n32'; break
+fi
+rm -f core conftest.err conftest.$ac_objext
+        break
+       done
+       CC=$ac_save_CC
+       rm -f conftest.$ac_ext
+    fi
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
+$as_echo "$ac_cv_sys_largefile_CC" >&6; }
+  if test "$ac_cv_sys_largefile_CC" != no; then
+    CC=$CC$ac_cv_sys_largefile_CC
+  fi
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
+$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
+if ${ac_cv_sys_file_offset_bits+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  while :; do
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <sys/types.h>
+ /* Check that off_t can represent 2**63 - 1 correctly.
+    We can't simply define LARGE_OFF_T to be 9223372036854775807,
+    since some C++ compilers masquerading as C compilers
+    incorrectly reject 9223372036854775807.  */
+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
+  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
+                      && LARGE_OFF_T % 2147483647 == 1)
+                     ? 1 : -1];
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_sys_file_offset_bits=no; break
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#define _FILE_OFFSET_BITS 64
+#include <sys/types.h>
+ /* Check that off_t can represent 2**63 - 1 correctly.
+    We can't simply define LARGE_OFF_T to be 9223372036854775807,
+    since some C++ compilers masquerading as C compilers
+    incorrectly reject 9223372036854775807.  */
+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
+  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
+                      && LARGE_OFF_T % 2147483647 == 1)
+                     ? 1 : -1];
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_sys_file_offset_bits=64; break
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+  ac_cv_sys_file_offset_bits=unknown
+  break
+done
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
+$as_echo "$ac_cv_sys_file_offset_bits" >&6; }
+case $ac_cv_sys_file_offset_bits in #(
+  no | unknown) ;;
+  *)
+cat >>confdefs.h <<_ACEOF
+#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
+_ACEOF
+;;
+esac
+rm -rf conftest*
+  if test $ac_cv_sys_file_offset_bits = unknown; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
+$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
+if ${ac_cv_sys_large_files+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  while :; do
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <sys/types.h>
+ /* Check that off_t can represent 2**63 - 1 correctly.
+    We can't simply define LARGE_OFF_T to be 9223372036854775807,
+    since some C++ compilers masquerading as C compilers
+    incorrectly reject 9223372036854775807.  */
+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
+  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
+                      && LARGE_OFF_T % 2147483647 == 1)
+                     ? 1 : -1];
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_sys_large_files=no; break
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#define _LARGE_FILES 1
+#include <sys/types.h>
+ /* Check that off_t can represent 2**63 - 1 correctly.
+    We can't simply define LARGE_OFF_T to be 9223372036854775807,
+    since some C++ compilers masquerading as C compilers
+    incorrectly reject 9223372036854775807.  */
+#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
+  int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
+                      && LARGE_OFF_T % 2147483647 == 1)
+                     ? 1 : -1];
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_sys_large_files=1; break
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+  ac_cv_sys_large_files=unknown
+  break
+done
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
+$as_echo "$ac_cv_sys_large_files" >&6; }
+case $ac_cv_sys_large_files in #(
+  no | unknown) ;;
+  *)
+cat >>confdefs.h <<_ACEOF
+#define _LARGE_FILES $ac_cv_sys_large_files
+_ACEOF
+;;
+esac
+rm -rf conftest*
+  fi
+
+
+fi
+
+
 # Runs configure.host, and assorted other critical bits.  Sets
 # up critical shell variables.
-
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -4691,7 +5146,7 @@ if test -n "$CPP" && test -d "$CPP"; then
   CPP=
 fi
 if test -z "$CPP"; then
-  if test "${ac_cv_prog_CPP+set}" = set; then :
+  if ${ac_cv_prog_CPP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
       # Double quotes because CPP needs to be expanded
@@ -4721,7 +5176,7 @@ else
   # Broken: fails on valid input.
 continue
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
   # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.
@@ -4737,11 +5192,11 @@ else
 ac_preproc_ok=:
 break
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
 done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.i conftest.err conftest.$ac_ext
 if $ac_preproc_ok; then :
   break
 fi
@@ -4780,7 +5235,7 @@ else
   # Broken: fails on valid input.
 continue
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
   # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.
@@ -4796,18 +5251,18 @@ else
 ac_preproc_ok=:
 break
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
 done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.i conftest.err conftest.$ac_ext
 if $ac_preproc_ok; then :
 
 else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "C preprocessor \"$CPP\" fails sanity check
-See \`config.log' for more details." "$LINENO" 5; }
+as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 
 ac_ext=c
@@ -4819,7 +5274,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
-if test "${ac_cv_path_GREP+set}" = set; then :
+if ${ac_cv_path_GREP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$GREP"; then
@@ -4833,7 +5288,7 @@ do
     for ac_prog in grep ggrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+      as_fn_executable_p "$ac_path_GREP" || continue
 # Check for GNU ac_path_GREP and select it if it is found.
   # Check for GNU $ac_path_GREP
 case `"$ac_path_GREP" --version 2>&1` in
@@ -4868,7 +5323,7 @@ esac
   done
 IFS=$as_save_IFS
   if test -z "$ac_cv_path_GREP"; then
-    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   fi
 else
   ac_cv_path_GREP=$GREP
@@ -4882,7 +5337,7 @@ $as_echo "$ac_cv_path_GREP" >&6; }
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
 $as_echo_n "checking for egrep... " >&6; }
-if test "${ac_cv_path_EGREP+set}" = set; then :
+if ${ac_cv_path_EGREP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
@@ -4899,7 +5354,7 @@ do
     for ac_prog in egrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
+      as_fn_executable_p "$ac_path_EGREP" || continue
 # Check for GNU ac_path_EGREP and select it if it is found.
   # Check for GNU $ac_path_EGREP
 case `"$ac_path_EGREP" --version 2>&1` in
@@ -4934,7 +5389,7 @@ esac
   done
 IFS=$as_save_IFS
   if test -z "$ac_cv_path_EGREP"; then
-    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   fi
 else
   ac_cv_path_EGREP=$EGREP
@@ -4952,7 +5407,7 @@ $as_echo "$ac_cv_path_EGREP" >&6; }
   # expandable list at autoconf time; the second provides an expandable list
   # (i.e., shell variable) at configure time.
 
-  SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
+  SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
 
   # These need to be absolute paths, yet at the same time need to
   # canonicalize only relative paths, because then amd will not unmount
@@ -5012,7 +5467,7 @@ fi
 set dummy ${ac_tool_prefix}as; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_AS+set}" = set; then :
+if ${ac_cv_prog_AS+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$AS"; then
@@ -5024,7 +5479,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_AS="${ac_tool_prefix}as"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5052,7 +5507,7 @@ if test -z "$ac_cv_prog_AS"; then
 set dummy as; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
+if ${ac_cv_prog_ac_ct_AS+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_AS"; then
@@ -5064,7 +5519,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_AS="as"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5104,7 +5559,7 @@ fi
 set dummy ${ac_tool_prefix}ar; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_AR+set}" = set; then :
+if ${ac_cv_prog_AR+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$AR"; then
@@ -5116,7 +5571,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_AR="${ac_tool_prefix}ar"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5144,7 +5599,7 @@ if test -z "$ac_cv_prog_AR"; then
 set dummy ar; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_AR"; then
@@ -5156,7 +5611,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_AR="ar"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5196,7 +5651,7 @@ fi
 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then :
+if ${ac_cv_prog_RANLIB+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$RANLIB"; then
@@ -5208,7 +5663,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5236,7 +5691,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
 set dummy ranlib; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_RANLIB"; then
@@ -5248,7 +5703,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_RANLIB="ranlib"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5465,7 +5920,7 @@ esac
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
-if test "${ac_cv_path_SED+set}" = set; then :
+if ${ac_cv_path_SED+:} false; then :
   $as_echo_n "(cached) " >&6
 else
             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
@@ -5485,7 +5940,7 @@ do
     for ac_prog in sed gsed; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
+      as_fn_executable_p "$ac_path_SED" || continue
 # Check for GNU ac_path_SED and select it if it is found.
   # Check for GNU $ac_path_SED
 case `"$ac_path_SED" --version 2>&1` in
@@ -5520,7 +5975,7 @@ esac
   done
 IFS=$as_save_IFS
   if test -z "$ac_cv_path_SED"; then
-    as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
+    as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   fi
 else
   ac_cv_path_SED=$SED
@@ -5547,7 +6002,7 @@ Xsed="$SED -e 1s/^X//"
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
 $as_echo_n "checking for fgrep... " >&6; }
-if test "${ac_cv_path_FGREP+set}" = set; then :
+if ${ac_cv_path_FGREP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
@@ -5564,7 +6019,7 @@ do
     for ac_prog in fgrep; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
+      as_fn_executable_p "$ac_path_FGREP" || continue
 # Check for GNU ac_path_FGREP and select it if it is found.
   # Check for GNU $ac_path_FGREP
 case `"$ac_path_FGREP" --version 2>&1` in
@@ -5599,7 +6054,7 @@ esac
   done
 IFS=$as_save_IFS
   if test -z "$ac_cv_path_FGREP"; then
-    as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
+    as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   fi
 else
   ac_cv_path_FGREP=$FGREP
@@ -5678,7 +6133,7 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 $as_echo_n "checking for non-GNU ld... " >&6; }
 fi
-if test "${lt_cv_path_LD+set}" = set; then :
+if ${lt_cv_path_LD+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$LD"; then
@@ -5715,10 +6170,10 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
 fi
-test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
-if test "${lt_cv_prog_gnu_ld+set}" = set; then :
+if ${lt_cv_prog_gnu_ld+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   # I'd rather use --version here, but apparently some GNU lds only accept -v.
@@ -5745,7 +6200,7 @@ with_gnu_ld=$lt_cv_prog_gnu_ld
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
-if test "${lt_cv_path_NM+set}" = set; then :
+if ${lt_cv_path_NM+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$NM"; then
@@ -5808,7 +6263,7 @@ else
 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
+if ${ac_cv_prog_DUMPBIN+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$DUMPBIN"; then
@@ -5820,7 +6275,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5852,7 +6307,7 @@ do
 set dummy $ac_prog; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
+if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_DUMPBIN"; then
@@ -5864,7 +6319,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -5924,7 +6379,7 @@ test -z "$NM" && NM=nm
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
-if test "${lt_cv_nm_interface+set}" = set; then :
+if ${lt_cv_nm_interface+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_nm_interface="BSD nm"
@@ -5948,7 +6403,7 @@ $as_echo "$lt_cv_nm_interface" >&6; }
 # find the maximum length of command line arguments
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
-if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
+if ${lt_cv_sys_max_cmd_len+:} false; then :
   $as_echo_n "(cached) " >&6
 else
     i=0
@@ -6145,7 +6600,7 @@ esac
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
 $as_echo_n "checking for $LD option to reload object files... " >&6; }
-if test "${lt_cv_ld_reload_flag+set}" = set; then :
+if ${lt_cv_ld_reload_flag+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_ld_reload_flag='-r'
@@ -6181,7 +6636,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}objdump; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
+if ${ac_cv_prog_OBJDUMP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$OBJDUMP"; then
@@ -6193,7 +6648,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6221,7 +6676,7 @@ if test -z "$ac_cv_prog_OBJDUMP"; then
 set dummy objdump; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
+if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_OBJDUMP"; then
@@ -6233,7 +6688,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_OBJDUMP="objdump"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6280,7 +6735,7 @@ test -z "$OBJDUMP" && OBJDUMP=objdump
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
-if test "${lt_cv_deplibs_check_method+set}" = set; then :
+if ${lt_cv_deplibs_check_method+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_file_magic_cmd='$MAGIC_CMD'
@@ -6400,7 +6855,7 @@ irix5* | irix6* | nonstopux*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   lt_cv_deplibs_check_method=pass_all
   ;;
 
@@ -6501,7 +6956,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}ar; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_AR+set}" = set; then :
+if ${ac_cv_prog_AR+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$AR"; then
@@ -6513,7 +6968,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_AR="${ac_tool_prefix}ar"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6541,7 +6996,7 @@ if test -z "$ac_cv_prog_AR"; then
 set dummy ar; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
+if ${ac_cv_prog_ac_ct_AR+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_AR"; then
@@ -6553,7 +7008,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_AR="ar"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6606,7 +7061,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}strip; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_STRIP+set}" = set; then :
+if ${ac_cv_prog_STRIP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$STRIP"; then
@@ -6618,7 +7073,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6646,7 +7101,7 @@ if test -z "$ac_cv_prog_STRIP"; then
 set dummy strip; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
+if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_STRIP"; then
@@ -6658,7 +7113,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_STRIP="strip"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6705,7 +7160,7 @@ if test -n "$ac_tool_prefix"; then
 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_RANLIB+set}" = set; then :
+if ${ac_cv_prog_RANLIB+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$RANLIB"; then
@@ -6717,7 +7172,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6745,7 +7200,7 @@ if test -z "$ac_cv_prog_RANLIB"; then
 set dummy ranlib; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
+if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_RANLIB"; then
@@ -6757,7 +7212,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_RANLIB="ranlib"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -6874,7 +7329,7 @@ compiler=$CC
 # Check for command to grab the raw symbol name followed by C symbol from nm.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
-if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
+if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -7258,7 +7713,7 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   CFLAGS="$CFLAGS -belf"
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
-if test "${lt_cv_cc_needs_belf+set}" = set; then :
+if ${lt_cv_cc_needs_belf+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_ext=c
@@ -7268,7 +7723,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
      if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -7337,7 +7792,7 @@ need_locks="$enable_libtool_lock"
 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
+if ${ac_cv_prog_DSYMUTIL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$DSYMUTIL"; then
@@ -7349,7 +7804,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7377,7 +7832,7 @@ if test -z "$ac_cv_prog_DSYMUTIL"; then
 set dummy dsymutil; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
+if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_DSYMUTIL"; then
@@ -7389,7 +7844,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7429,7 +7884,7 @@ fi
 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_NMEDIT+set}" = set; then :
+if ${ac_cv_prog_NMEDIT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$NMEDIT"; then
@@ -7441,7 +7896,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7469,7 +7924,7 @@ if test -z "$ac_cv_prog_NMEDIT"; then
 set dummy nmedit; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
+if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_NMEDIT"; then
@@ -7481,7 +7936,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_NMEDIT="nmedit"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7521,7 +7976,7 @@ fi
 set dummy ${ac_tool_prefix}lipo; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_LIPO+set}" = set; then :
+if ${ac_cv_prog_LIPO+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$LIPO"; then
@@ -7533,7 +7988,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7561,7 +8016,7 @@ if test -z "$ac_cv_prog_LIPO"; then
 set dummy lipo; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
+if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_LIPO"; then
@@ -7573,7 +8028,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_LIPO="lipo"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7613,7 +8068,7 @@ fi
 set dummy ${ac_tool_prefix}otool; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_OTOOL+set}" = set; then :
+if ${ac_cv_prog_OTOOL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$OTOOL"; then
@@ -7625,7 +8080,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7653,7 +8108,7 @@ if test -z "$ac_cv_prog_OTOOL"; then
 set dummy otool; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
+if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_OTOOL"; then
@@ -7665,7 +8120,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_OTOOL="otool"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7705,7 +8160,7 @@ fi
 set dummy ${ac_tool_prefix}otool64; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_OTOOL64+set}" = set; then :
+if ${ac_cv_prog_OTOOL64+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$OTOOL64"; then
@@ -7717,7 +8172,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7745,7 +8200,7 @@ if test -z "$ac_cv_prog_OTOOL64"; then
 set dummy otool64; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
+if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$ac_ct_OTOOL64"; then
@@ -7757,7 +8212,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_ac_ct_OTOOL64="otool64"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -7820,7 +8275,7 @@ fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
 $as_echo_n "checking for -single_module linker flag... " >&6; }
-if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
+if ${lt_cv_apple_cc_single_mod+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_apple_cc_single_mod=no
@@ -7849,7 +8304,7 @@ fi
 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
-if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
+if ${lt_cv_ld_exported_symbols_list+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_ld_exported_symbols_list=no
@@ -7857,7 +8312,7 @@ else
       echo "_main" > conftest.sym
       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
       if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -7884,7 +8339,7 @@ fi
 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
 $as_echo_n "checking for -force_load linker flag... " >&6; }
-if test "${lt_cv_ld_force_load+set}" = set; then :
+if ${lt_cv_ld_force_load+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_ld_force_load=no
@@ -7949,7 +8404,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
 $as_echo_n "checking for ANSI C header files... " >&6; }
-if test "${ac_cv_header_stdc+set}" = set; then :
+if ${ac_cv_header_stdc+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -8066,8 +8521,7 @@ do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
 "
-eval as_val=\$$as_ac_Header
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
@@ -8081,7 +8535,7 @@ for ac_header in dlfcn.h
 do :
   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
 "
-if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
+if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_DLFCN_H 1
 _ACEOF
@@ -8267,7 +8721,7 @@ fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
 $as_echo_n "checking for objdir... " >&6; }
-if test "${lt_cv_objdir+set}" = set; then :
+if ${lt_cv_objdir+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   rm -f .libs 2>/dev/null
@@ -8345,7 +8799,7 @@ file_magic*)
   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $MAGIC_CMD in
@@ -8411,7 +8865,7 @@ if test -z "$lt_cv_path_MAGIC_CMD"; then
   if test -n "$ac_tool_prefix"; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
 $as_echo_n "checking for file... " >&6; }
-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
+if ${lt_cv_path_MAGIC_CMD+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   case $MAGIC_CMD in
@@ -8553,7 +9007,7 @@ if test "$GCC" = yes; then
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
-if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
+if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_rtti_exceptions=no
@@ -8906,7 +9360,7 @@ $as_echo "$lt_prog_compiler_pic" >&6; }
 if test -n "$lt_prog_compiler_pic"; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
-if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
+if ${lt_cv_prog_compiler_pic_works+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_pic_works=no
@@ -8965,7 +9419,7 @@ fi
 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
-if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
+if ${lt_cv_prog_compiler_static_works+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_static_works=no
@@ -9008,7 +9462,7 @@ fi
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
-if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
+if ${lt_cv_prog_compiler_c_o+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_c_o=no
@@ -9063,7 +9517,7 @@ $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
-if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
+if ${lt_cv_prog_compiler_c_o+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_c_o=no
@@ -9347,7 +9801,7 @@ _LT_EOF
       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
       ;;
 
-    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
+    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
       tmp_diet=no
       if test "$host_os" = linux-dietlibc; then
        case $cc_basename in
@@ -9539,7 +9993,7 @@ _LT_EOF
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
          export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
        else
-         export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+         export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
        fi
        aix_use_runtimelinking=no
 
@@ -9625,7 +10079,7 @@ _LT_EOF
         # Determine the default libpath from the value encoded in an
         # empty executable.
         if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -9668,7 +10122,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
         # Determine the default libpath from the value encoded in an
         # empty executable.
         if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -9885,7 +10339,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
 $as_echo_n "checking if $CC understands -b... " >&6; }
-if test "${lt_cv_prog_compiler__b+set}" = set; then :
+if ${lt_cv_prog_compiler__b+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler__b=no
@@ -9954,7 +10408,7 @@ fi
         save_LDFLAGS="$LDFLAGS"
         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
         if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -10260,7 +10714,7 @@ x|xyes)
       # to ld, don't add -lc before -lgcc.
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
-if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
+if ${lt_cv_archive_cmds_need_lc+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   $RM conftest*
@@ -10887,7 +11341,12 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -10898,7 +11357,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
   shlibpath_overrides_runpath=no
 
   # Some binutils ld are patched to set DT_RUNPATH
-  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
+  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_shlibpath_overrides_runpath=no
@@ -10907,7 +11366,7 @@ else
     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
     if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -11321,13 +11780,13 @@ else
   # if libdl is installed we need to link against it
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 $as_echo_n "checking for dlopen in -ldl... " >&6; }
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
+if ${ac_cv_lib_dl_dlopen+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ldl  $LIBS"
 if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -11358,7 +11817,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
-if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 else
 
 
   *)
     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
-if test "x$ac_cv_func_shl_load" = x""yes; then :
+if test "x$ac_cv_func_shl_load" = xyes; then :
   lt_cv_dlopen="shl_load"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 $as_echo_n "checking for shl_load in -ldld... " >&6; }
-if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
+if ${ac_cv_lib_dld_shl_load+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ldld  $LIBS"
 if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -11414,22 +11873,22 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
-if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
+if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 else
   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
-if test "x$ac_cv_func_dlopen" = x""yes; then :
+if test "x$ac_cv_func_dlopen" = xyes; then :
   lt_cv_dlopen="dlopen"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 $as_echo_n "checking for dlopen in -ldl... " >&6; }
-if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
+if ${ac_cv_lib_dl_dlopen+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ldl  $LIBS"
 if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -11460,18 +11919,18 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
-if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
+if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
-if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
+if ${ac_cv_lib_svld_dlopen+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lsvld  $LIBS"
 if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -11502,18 +11961,18 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
-if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
+if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 $as_echo_n "checking for dld_link in -ldld... " >&6; }
-if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
+if ${ac_cv_lib_dld_dld_link+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-ldld  $LIBS"
 if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -11544,7 +12003,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
-if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
+if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 fi
 
@@ -11585,7 +12044,7 @@ fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
-if test "${lt_cv_dlopen_self+set}" = set; then :
+if ${lt_cv_dlopen_self+:} false; then :
   $as_echo_n "(cached) " >&6
 else
          if test "$cross_compiling" = yes; then :
@@ -11594,7 +12053,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11597 "configure"
+#line 12056 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11691,7 +12150,7 @@ $as_echo "$lt_cv_dlopen_self" >&6; }
       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
-if test "${lt_cv_dlopen_self_static+set}" = set; then :
+if ${lt_cv_dlopen_self_static+:} false; then :
   $as_echo_n "(cached) " >&6
 else
          if test "$cross_compiling" = yes; then :
@@ -11700,7 +12159,7 @@ else
   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   lt_status=$lt_dlunknown
   cat > conftest.$ac_ext <<_LT_EOF
-#line 11703 "configure"
+#line 12162 "configure"
 #include "confdefs.h"
 
 #if HAVE_DLFCN_H
@@ -11928,7 +12387,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
 if test -z "$CXXCPP"; then
-  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
+  if ${ac_cv_prog_CXXCPP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
       # Double quotes because CXXCPP needs to be expanded
@@ -11958,7 +12417,7 @@ else
   # Broken: fails on valid input.
 continue
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
   # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.
@@ -11974,11 +12433,11 @@ else
 ac_preproc_ok=:
 break
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
 done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.i conftest.err conftest.$ac_ext
 if $ac_preproc_ok; then :
   break
 fi
@@ -12017,7 +12476,7 @@ else
   # Broken: fails on valid input.
 continue
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
   # OK, works on sane cases.  Now check whether nonexistent headers
   # can be detected and how.
@@ -12033,18 +12492,18 @@ else
 ac_preproc_ok=:
 break
 fi
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.err conftest.i conftest.$ac_ext
 
 done
 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
-rm -f conftest.err conftest.$ac_ext
+rm -f conftest.i conftest.err conftest.$ac_ext
 if $ac_preproc_ok; then :
 
 else
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
-See \`config.log' for more details." "$LINENO" 5; }
+as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
+See \`config.log' for more details" "$LINENO" 5; }
 fi
 
 ac_ext=c
@@ -12229,7 +12688,7 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 $as_echo_n "checking for non-GNU ld... " >&6; }
 fi
-if test "${lt_cv_path_LD+set}" = set; then :
+if ${lt_cv_path_LD+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$LD"; then
@@ -12266,10 +12725,10 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
 fi
-test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
-if test "${lt_cv_prog_gnu_ld+set}" = set; then :
+if ${lt_cv_prog_gnu_ld+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   # I'd rather use --version here, but apparently some GNU lds only accept -v.
@@ -12439,7 +12898,7 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
           # Determine the default libpath from the value encoded in an empty
           # executable.
           if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -12483,7 +12942,7 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
            # Determine the default libpath from the value encoded in an
            # empty executable.
            if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -12871,20 +13330,20 @@ if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
              prelink_cmds_CXX='tpldir=Template.dir~
                rm -rf $tpldir~
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
-               compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
+               compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
              old_archive_cmds_CXX='tpldir=Template.dir~
                rm -rf $tpldir~
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
-               $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
+               $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
                $RANLIB $oldlib'
              archive_cmds_CXX='tpldir=Template.dir~
                rm -rf $tpldir~
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
+               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
              archive_expsym_cmds_CXX='tpldir=Template.dir~
                rm -rf $tpldir~
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
-               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
+               $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
              ;;
            *) # Version 6 and above use weak symbols
              archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
@@ -13822,7 +14281,7 @@ $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 if test -n "$lt_prog_compiler_pic_CXX"; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
-if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
+if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_pic_works_CXX=no
@@ -13878,7 +14337,7 @@ fi
 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
-if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
+if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_static_works_CXX=no
@@ -13918,7 +14377,7 @@ fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
-if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
+if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_c_o_CXX=no
@@ -13970,7 +14429,7 @@ $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
-if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
+if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_prog_compiler_c_o_CXX=no
@@ -14058,7 +14517,7 @@ $as_echo_n "checking whether the $compiler linker ($LD) supports shared librarie
     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     else
-      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
+      export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
     fi
     ;;
   pw32*)
@@ -14103,7 +14562,7 @@ x|xyes)
       # to ld, don't add -lc before -lgcc.
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
-if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
+if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   $RM conftest*
@@ -14571,7 +15030,12 @@ linux*oldld* | linux*aout* | linux*coff*)
   ;;
 
 # This must be Linux ELF.
-linux* | k*bsd*-gnu | kopensolaris*-gnu)
+
+# uclinux* changes (here and below) have been submitted to the libtool
+# project, but have not yet been accepted: they are GCC-local changes
+# for the time being.  (See
+# https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
+linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   version_type=linux
   need_lib_prefix=no
   need_version=no
@@ -14582,7 +15046,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu)
   shlibpath_overrides_runpath=no
 
   # Some binutils ld are patched to set DT_RUNPATH
-  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
+  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   lt_cv_shlibpath_overrides_runpath=no
@@ -14591,7 +15055,7 @@ else
     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
     if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -15095,7 +15559,7 @@ if test "${enable_libstdcxx_pch+set}" = set; then :
   enableval=$enable_libstdcxx_pch;
       case "$enableval" in
        yes|no) ;;
-       *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
+       *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
       esac
 
 else
@@ -15106,7 +15570,7 @@ fi
   if test $enable_libstdcxx_pch = yes; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
 $as_echo_n "checking for compiler with PCH support... " >&6; }
-if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
+if ${glibcxx_cv_prog_CXX_pch+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_save_CXXFLAGS="$CXXFLAGS"
@@ -15167,6 +15631,7 @@ $as_echo "$target_thread_file" >&6; }
 case $target_thread_file in
     aix)       thread_header=config/rs6000/gthr-aix.h ;;
     dce)       thread_header=config/pa/gthr-dce.h ;;
+    gcn)       thread_header=config/gcn/gthr-gcn.h ;;
     lynx)      thread_header=config/gthr-lynx.h ;;
     mipssde)   thread_header=config/mips/gthr-mipssde.h ;;
     posix)     thread_header=gthr-posix.h ;;
@@ -15210,12 +15675,12 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
 $as_echo_n "checking for atomic builtins for bool... " >&6; }
-  if test "${glibcxx_cv_atomic_bool+set}" = set; then :
+  if ${glibcxx_cv_atomic_bool+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
     if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -15227,7 +15692,7 @@ typedef bool atomic_type;
        atomic_type c1;
        atomic_type c2;
        atomic_type c3(0);
-       __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
+       // N.B. __atomic_fetch_add is not supported for bool.
        __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
                                   __ATOMIC_RELAXED);
        __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
@@ -15252,12 +15717,12 @@ $as_echo "$glibcxx_cv_atomic_bool" >&6; }
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
 $as_echo_n "checking for atomic builtins for short... " >&6; }
-  if test "${glibcxx_cv_atomic_short+set}" = set; then :
+  if ${glibcxx_cv_atomic_short+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
     if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -15294,12 +15759,12 @@ $as_echo "$glibcxx_cv_atomic_short" >&6; }
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
 $as_echo_n "checking for atomic builtins for int... " >&6; }
-  if test "${glibcxx_cv_atomic_int+set}" = set; then :
+  if ${glibcxx_cv_atomic_int+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
     if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -15336,12 +15801,12 @@ $as_echo "$glibcxx_cv_atomic_int" >&6; }
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
 $as_echo_n "checking for atomic builtins for long long... " >&6; }
-  if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
+  if ${glibcxx_cv_atomic_long_long+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
     if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -15386,14 +15851,14 @@ $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
   # Fake what AC_TRY_COMPILE does.
 
     cat > conftest.$ac_ext << EOF
-#line 15389 "configure"
+#line 15854 "configure"
 int main()
 {
   typedef bool atomic_type;
   atomic_type c1;
   atomic_type c2;
   atomic_type c3(0);
-  __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
+  // N.B. __atomic_fetch_add is not supported for bool.
   __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
                              __ATOMIC_RELAXED);
   __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
@@ -15421,7 +15886,7 @@ $as_echo "$glibcxx_cv_atomic_bool" >&6; }
     rm -f conftest*
 
     cat > conftest.$ac_ext << EOF
-#line 15424 "configure"
+#line 15889 "configure"
 int main()
 {
   typedef short atomic_type;
@@ -15456,7 +15921,7 @@ $as_echo "$glibcxx_cv_atomic_short" >&6; }
     rm -f conftest*
 
     cat > conftest.$ac_ext << EOF
-#line 15459 "configure"
+#line 15924 "configure"
 int main()
 {
   // NB: _Atomic_word not necessarily int.
@@ -15492,7 +15957,7 @@ $as_echo "$glibcxx_cv_atomic_int" >&6; }
     rm -f conftest*
 
     cat > conftest.$ac_ext << EOF
-#line 15495 "configure"
+#line 15960 "configure"
 int main()
 {
   typedef long long atomic_type;
@@ -15536,10 +16001,12 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-  # Set atomicity_dir to builtins if all but the long long test above passes.
-  if test $glibcxx_cv_atomic_bool = yes \
-     && test $glibcxx_cv_atomic_short = yes \
-     && test $glibcxx_cv_atomic_int = yes; then
+  # Set atomicity_dir to builtins if all but the long long test above passes,
+  # or if the builtins were already chosen (e.g. by configure.host).
+  if { test "$glibcxx_cv_atomic_bool" = yes \
+     && test "$glibcxx_cv_atomic_short" = yes \
+     && test "$glibcxx_cv_atomic_int" = yes; } \
+     || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
 
 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
 
@@ -15567,11 +16034,83 @@ $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a resu
 
 
 
+
+# Check whether --with-libstdcxx-lock-policy was given.
+if test "${with_libstdcxx_lock_policy+set}" = set; then :
+  withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
+else
+  libstdcxx_atomic_lock_policy=auto
+fi
+
+
+  case "$libstdcxx_atomic_lock_policy" in
+    atomic|mutex|auto) ;;
+    *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
+  esac
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
+$as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
+
+  if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
+
+    ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+    ac_save_CXXFLAGS="$CXXFLAGS"
+
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+    #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
+    # error "No 2-byte compare-and-swap"
+    #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
+    # error "No 4-byte compare-and-swap"
+    #endif
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  libstdcxx_atomic_lock_policy=atomic
+else
+  libstdcxx_atomic_lock_policy=mutex
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+    ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+    CXXFLAGS="$ac_save_CXXFLAGS"
+  fi
+
+  if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
+$as_echo "atomic" >&6; }
+
+$as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
+
+  else
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
+$as_echo "mutex" >&6; }
+  fi
+
+
+
+
   # Fake what AC_TRY_COMPILE does, without linking as this is
   # unnecessary for this test.
 
     cat > conftest.$ac_ext << EOF
-#line 15574 "configure"
+#line 16113 "configure"
 int main()
 {
   _Decimal32 d1;
@@ -15613,7 +16152,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   # unnecessary for this test.
 
     cat > conftest.$ac_ext << EOF
-#line 15616 "configure"
+#line 16155 "configure"
 template<typename T1, typename T2>
   struct same
   { typedef T2 type; };
@@ -15647,7 +16186,7 @@ $as_echo "$enable_int128" >&6; }
     rm -f conftest*
 
     cat > conftest.$ac_ext << EOF
-#line 15650 "configure"
+#line 16189 "configure"
 template<typename T1, typename T2>
   struct same
   { typedef T2 type; };
@@ -15669,15 +16208,13 @@ $as_echo_n "checking for __float128... " >&6; }
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-
-$as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
-
       enable_float128=yes
     else
       enable_float128=no
     fi
     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
 $as_echo "$enable_float128" >&6; }
+
     rm -f conftest*
 
   ac_ext=c
@@ -15706,13 +16243,6 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   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
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
@@ -15755,7 +16285,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
-
 # Enable all the variable C++ runtime options that don't require linking.
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
@@ -15765,7 +16294,7 @@ if test "${enable_cstdio+set}" = set; then :
   enableval=$enable_cstdio;
       case "$enableval" in
        stdio) ;;
-       *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
+       *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
                        esac
 
 else
@@ -15797,7 +16326,7 @@ if test "${enable_clocale+set}" = set; then :
   enableval=$enable_clocale;
       case "$enableval" in
        generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
-       *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
+       *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
                        esac
 
 else
       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
        enable_clocale_flag=gnu
        ;;
-      darwin* | freebsd*)
+      darwin*)
        enable_clocale_flag=darwin
        ;;
-      dragonfly*)
+      dragonfly* | freebsd*)
        enable_clocale_flag=dragonfly
        ;;
       openbsd*)
@@ -15965,8 +16494,8 @@ $as_echo "generic" >&6; }
       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
       ;;
     darwin)
-      { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
-$as_echo "darwin or freebsd" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
+$as_echo "darwin" >&6; }
 
       CLOCALE_H=config/locale/generic/c_locale.h
       CLOCALE_CC=config/locale/generic/c_locale.cc
@@ -15983,8 +16512,8 @@ $as_echo "darwin or freebsd" >&6; }
       ;;
 
     dragonfly)
-      { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
-$as_echo "dragonfly" >&6; }
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
+$as_echo "dragonfly or freebsd" >&6; }
 
       CLOCALE_H=config/locale/dragonfly/c_locale.h
       CLOCALE_CC=config/locale/dragonfly/c_locale.cc
@@ -16014,7 +16543,7 @@ $as_echo "gnu" >&6; }
 set dummy msgfmt; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
+if ${ac_cv_prog_check_msgfmt+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$check_msgfmt"; then
@@ -16026,7 +16555,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_check_msgfmt="yes"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -16118,7 +16647,7 @@ $as_echo "newlib" >&6; }
     for ac_header in libintl.h
 do :
   ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
-if test "x$ac_cv_header_libintl_h" = x""yes; then :
+if test "x$ac_cv_header_libintl_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LIBINTL_H 1
 _ACEOF
@@ -16131,7 +16660,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
 $as_echo_n "checking for library containing gettext... " >&6; }
-if test "${ac_cv_search_gettext+set}" = set; then :
+if ${ac_cv_search_gettext+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -16161,18 +16690,18 @@ for ac_lib in '' intl; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 if ac_fn_c_try_link "$LINENO"; then :
   ac_cv_search_gettext=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_gettext+set}" = set; then :
+  if ${ac_cv_search_gettext+:} false; then :
   break
 fi
 done
-if test "${ac_cv_search_gettext+set}" = set; then :
+if ${ac_cv_search_gettext+:} false; then :
 
 else
   ac_cv_search_gettext=no
@@ -16219,7 +16748,7 @@ if test "${enable_libstdcxx_allocator+set}" = set; then :
   enableval=$enable_libstdcxx_allocator;
       case "$enableval" in
        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
-       *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
+       *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
                        esac
 
 else
@@ -16285,12 +16814,13 @@ $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
 
 
 
+
    # Check whether --enable-cheaders was given.
 if test "${enable_cheaders+set}" = set; then :
   enableval=$enable_cheaders;
       case "$enableval" in
        c|c_std|c_global) ;;
-       *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
+       *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
                        esac
 
 else
@@ -16319,7 +16849,7 @@ if test "${enable_long_long+set}" = set; then :
   enableval=$enable_long_long;
       case "$enableval" in
        yes|no) ;;
-       *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
+       *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
       esac
 
 else
@@ -16343,7 +16873,7 @@ if test "${enable_wchar_t+set}" = set; then :
   enableval=$enable_wchar_t;
       case "$enableval" in
        yes|no) ;;
-       *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
+       *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
       esac
 
 else
@@ -16356,7 +16886,7 @@ fi
   for ac_header in wchar.h
 do :
   ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
-if test "x$ac_cv_header_wchar_h" = x""yes; then :
+if test "x$ac_cv_header_wchar_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_WCHAR_H 1
 _ACEOF
@@ -16399,7 +16929,7 @@ $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
   for ac_header in wctype.h
 do :
   ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
-if test "x$ac_cv_header_wctype_h" = x""yes; then :
+if test "x$ac_cv_header_wctype_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_WCTYPE_H 1
 _ACEOF
@@ -16531,7 +17061,7 @@ if test "${enable_c99+set}" = set; then :
   enableval=$enable_c99;
       case "$enableval" in
        yes|no) ;;
-       *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
+       *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
       esac
 
 else
 
   if test x"$enable_c99" = x"yes"; then
 
+    ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-  ac_ext=cpp
+
+    # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
+    # undefined may cause fake C99 facilities, like pre-standard snprintf,
+    # to be spuriously enabled.
+    ac_save_CXXFLAGS="$CXXFLAGS"
+    CXXFLAGS="$CXXFLAGS -std=c++98"
+    ac_save_LIBS="$LIBS"
+    ac_save_gcc_no_link="$gcc_no_link"
+
+    if test x$gcc_no_link != xyes; then
+      # Use -fno-exceptions to that the C driver can link these tests without
+      # hitting undefined references to personality routines.
+      CXXFLAGS="$CXXFLAGS -fno-exceptions"
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
+$as_echo_n "checking for sin in -lm... " >&6; }
+if ${ac_cv_lib_m_sin+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm  $LIBS"
+if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char sin ();
+int
+main ()
+{
+return sin ();
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+  ac_cv_lib_m_sin=yes
+else
+  ac_cv_lib_m_sin=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
+$as_echo "$ac_cv_lib_m_sin" >&6; }
+if test "x$ac_cv_lib_m_sin" = xyes; then :
+  LIBS="$LIBS -lm"
+else
+
+        # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
+        gcc_no_link=yes
+
+fi
+
+    fi
+
+    # Check for the existence of <math.h> functions used if C99 is enabled.
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
+$as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
+    if ${glibcxx_cv_c99_math_cxx98+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+      if test x$gcc_no_link = xyes; then
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <math.h>
+         volatile double d1, d2;
+         volatile int i;
+int
+main ()
+{
+i = fpclassify(d1);
+         i = isfinite(d1);
+         i = isinf(d1);
+         i = isnan(d1);
+         i = isnormal(d1);
+         i = signbit(d1);
+         i = isgreater(d1, d2);
+         i = isgreaterequal(d1, d2);
+         i = isless(d1, d2);
+         i = islessequal(d1, d2);
+         i = islessgreater(d1, d2);
+         i = islessgreater(d1, d2);
+         i = isunordered(d1, d2);
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_c99_math_cxx98=yes
+else
+  glibcxx_cv_c99_math_cxx98=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+  if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <math.h>
+         volatile double d1, d2;
+         volatile int i;
+int
+main ()
+{
+i = fpclassify(d1);
+         i = isfinite(d1);
+         i = isinf(d1);
+         i = isnan(d1);
+         i = isnormal(d1);
+         i = signbit(d1);
+         i = isgreater(d1, d2);
+         i = isgreaterequal(d1, d2);
+         i = isless(d1, d2);
+         i = islessequal(d1, d2);
+         i = islessgreater(d1, d2);
+         i = islessgreater(d1, d2);
+         i = isunordered(d1, d2);
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+  glibcxx_cv_c99_math_cxx98=yes
+else
+  glibcxx_cv_c99_math_cxx98=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+fi
+
+fi
+
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
+$as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
+    if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
+
+$as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
+
+    fi
+
+    # Check for the existence of <complex.h> complex math functions.
+    # This is necessary even though libstdc++ uses the builtin versions
+    # of these functions, because if the builtin cannot be used, a reference
+    # to the library function is emitted.
+    for ac_header in tgmath.h
+do :
+  ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
+if test "x$ac_cv_header_tgmath_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_TGMATH_H 1
+_ACEOF
+ ac_has_tgmath_h=yes
+else
+  ac_has_tgmath_h=no
+fi
+
+done
+
+    for ac_header in complex.h
+do :
+  ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
+if test "x$ac_cv_header_complex_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_COMPLEX_H 1
+_ACEOF
+ ac_has_complex_h=yes
+else
+  ac_has_complex_h=no
+fi
+
+done
+
+    if test x"$ac_has_complex_h" = x"yes"; then
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
+$as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
+      if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+        if test x$gcc_no_link = xyes; then
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <complex.h>
+           typedef __complex__ float float_type;
+           typedef __complex__ double double_type;
+           typedef __complex__ long double ld_type;
+           volatile float_type tmpf;
+           volatile double_type tmpd;
+           volatile ld_type tmpld;
+           volatile float f;
+           volatile double d;
+           volatile long double ld;
+int
+main ()
+{
+f = cabsf(tmpf);
+           f = cargf(tmpf);
+           tmpf = ccosf(tmpf);
+           tmpf = ccoshf(tmpf);
+           tmpf = cexpf(tmpf);
+           tmpf = clogf(tmpf);
+           tmpf = csinf(tmpf);
+           tmpf = csinhf(tmpf);
+           tmpf = csqrtf(tmpf);
+           tmpf = ctanf(tmpf);
+           tmpf = ctanhf(tmpf);
+           tmpf = cpowf(tmpf, tmpf);
+           tmpf = cprojf(tmpf);
+           d = cabs(tmpd);
+           d = carg(tmpd);
+           tmpd = ccos(tmpd);
+           tmpd = ccosh(tmpd);
+           tmpd = cexp(tmpd);
+           tmpd = clog(tmpd);
+           tmpd = csin(tmpd);
+           tmpd = csinh(tmpd);
+           tmpd = csqrt(tmpd);
+           tmpd = ctan(tmpd);
+           tmpd = ctanh(tmpd);
+           tmpd = cpow(tmpd, tmpd);
+           tmpd = cproj(tmpd);
+           ld = cabsl(tmpld);
+           ld = cargl(tmpld);
+           tmpld = ccosl(tmpld);
+           tmpld = ccoshl(tmpld);
+           tmpld = cexpl(tmpld);
+           tmpld = clogl(tmpld);
+           tmpld = csinl(tmpld);
+           tmpld = csinhl(tmpld);
+           tmpld = csqrtl(tmpld);
+           tmpld = ctanl(tmpld);
+           tmpld = ctanhl(tmpld);
+           tmpld = cpowl(tmpld, tmpld);
+           tmpld = cprojl(tmpld);
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_c99_complex_cxx98=yes
+else
+  glibcxx_cv_c99_complex_cxx98=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+  if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <complex.h>
+           typedef __complex__ float float_type;
+           typedef __complex__ double double_type;
+           typedef __complex__ long double ld_type;
+           volatile float_type tmpf;
+           volatile double_type tmpd;
+           volatile ld_type tmpld;
+           volatile float f;
+           volatile double d;
+           volatile long double ld;
+int
+main ()
+{
+f = cabsf(tmpf);
+           f = cargf(tmpf);
+           tmpf = ccosf(tmpf);
+           tmpf = ccoshf(tmpf);
+           tmpf = cexpf(tmpf);
+           tmpf = clogf(tmpf);
+           tmpf = csinf(tmpf);
+           tmpf = csinhf(tmpf);
+           tmpf = csqrtf(tmpf);
+           tmpf = ctanf(tmpf);
+           tmpf = ctanhf(tmpf);
+           tmpf = cpowf(tmpf, tmpf);
+           tmpf = cprojf(tmpf);
+           d = cabs(tmpd);
+           d = carg(tmpd);
+           tmpd = ccos(tmpd);
+           tmpd = ccosh(tmpd);
+           tmpd = cexp(tmpd);
+           tmpd = clog(tmpd);
+           tmpd = csin(tmpd);
+           tmpd = csinh(tmpd);
+           tmpd = csqrt(tmpd);
+           tmpd = ctan(tmpd);
+           tmpd = ctanh(tmpd);
+           tmpd = cpow(tmpd, tmpd);
+           tmpd = cproj(tmpd);
+           ld = cabsl(tmpld);
+           ld = cargl(tmpld);
+           tmpld = ccosl(tmpld);
+           tmpld = ccoshl(tmpld);
+           tmpld = cexpl(tmpld);
+           tmpld = clogl(tmpld);
+           tmpld = csinl(tmpld);
+           tmpld = csinhl(tmpld);
+           tmpld = csqrtl(tmpld);
+           tmpld = ctanl(tmpld);
+           tmpld = ctanhl(tmpld);
+           tmpld = cpowl(tmpld, tmpld);
+           tmpld = cprojl(tmpld);
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+  glibcxx_cv_c99_complex_cxx98=yes
+else
+  glibcxx_cv_c99_complex_cxx98=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+fi
+
+fi
+
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
+$as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
+    if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
+
+$as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
+
+    fi
+
+    # Check for the existence in <stdio.h> of vscanf, et. al.
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
+$as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
+    if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+      if test x$gcc_no_link = xyes; then
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <stdio.h>
+         #include <stdarg.h>
+         void foo(char* fmt, ...)
+         {
+           va_list args; va_start(args, fmt);
+           vfscanf(stderr, "%i", args);
+           vscanf("%i", args);
+           vsnprintf(fmt, 0, "%i", args);
+           vsscanf(fmt, "%i", args);
+           snprintf(fmt, 0, "%i");
+         }
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_c99_stdio_cxx98=yes
+else
+  glibcxx_cv_c99_stdio_cxx98=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+  if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <stdio.h>
+         #include <stdarg.h>
+         void foo(char* fmt, ...)
+         {
+           va_list args; va_start(args, fmt);
+           vfscanf(stderr, "%i", args);
+           vscanf("%i", args);
+           vsnprintf(fmt, 0, "%i", args);
+           vsscanf(fmt, "%i", args);
+           snprintf(fmt, 0, "%i");
+         }
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+  glibcxx_cv_c99_stdio_cxx98=yes
+else
+  glibcxx_cv_c99_stdio_cxx98=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+fi
+
+fi
+
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
+$as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
+    if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
+
+$as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
+
+    fi
+
+    # Check for the existence in <stdlib.h> of lldiv_t, et. al.
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
+$as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
+    if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+      if test x$gcc_no_link = xyes; then
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <stdlib.h>
+         volatile float f;
+         volatile long double ld;
+         volatile unsigned long long ll;
+         lldiv_t mydivt;
+int
+main ()
+{
+char* tmp;
+         f = strtof("gnu", &tmp);
+         ld = strtold("gnu", &tmp);
+         ll = strtoll("gnu", &tmp, 10);
+         ll = strtoull("gnu", &tmp, 10);
+         ll = llabs(10);
+         mydivt = lldiv(10,1);
+         ll = mydivt.quot;
+         ll = mydivt.rem;
+         ll = atoll("10");
+         _Exit(0);
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_c99_stdlib_cxx98=yes
+else
+  glibcxx_cv_c99_stdlib_cxx98=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+  if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <stdlib.h>
+         volatile float f;
+         volatile long double ld;
+         volatile unsigned long long ll;
+         lldiv_t mydivt;
+int
+main ()
+{
+char* tmp;
+         f = strtof("gnu", &tmp);
+         ld = strtold("gnu", &tmp);
+         ll = strtoll("gnu", &tmp, 10);
+         ll = strtoull("gnu", &tmp, 10);
+         ll = llabs(10);
+         mydivt = lldiv(10,1);
+         ll = mydivt.quot;
+         ll = mydivt.rem;
+         ll = atoll("10");
+         _Exit(0);
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+  glibcxx_cv_c99_stdlib_cxx98=yes
+else
+  glibcxx_cv_c99_stdlib_cxx98=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+fi
+
+fi
+
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
+$as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
+    if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
+
+$as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
+
+    fi
+
+    # Check for the existence in <wchar.h> of wcstold, etc.
+    if test x"$ac_has_wchar_h" = xyes &&
+       test x"$ac_has_wctype_h" = xyes; then
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
+$as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
+      if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <wchar.h>
+          namespace test
+          {
+            using ::wcstold;
+            using ::wcstoll;
+            using ::wcstoull;
+          }
+
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_c99_wchar_cxx98=yes
+else
+  glibcxx_cv_c99_wchar_cxx98=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+
+
+      # Checks for wide character functions that may not be present.
+      # Injection of these is wrapped with guard macros.
+      # NB: only put functions here, instead of immediately above, if
+      # absolutely necessary.
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <wchar.h>
+        namespace test { using ::vfwscanf; }
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+
+$as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <wchar.h>
+        namespace test { using ::vswscanf; }
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+
+$as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <wchar.h>
+        namespace test { using ::vwscanf; }
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+
+$as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <wchar.h>
+        namespace test { using ::wcstof; }
+int
+main ()
+{
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+
+$as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <wctype.h>
+int
+main ()
+{
+wint_t t; int i = iswblank(t);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+
+$as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
+$as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
+      if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
+
+$as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
+
+      fi
+    fi
+
+    # Option parsed, now set things appropriately.
+    if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
+       test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
+       test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
+       test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
+       test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
+      enable_c99=no;
+    else
+
+$as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
+
+    fi
+
+    gcc_no_link="$ac_save_gcc_no_link"
+    LIBS="$ac_save_LIBS"
+    CXXFLAGS="$ac_save_CXXFLAGS"
+    ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
 
-  # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
-  # undefined and fake C99 facilities - like pre-standard snprintf - may be
-  # spuriously enabled.
-  # Long term, -std=c++0x could be even better, could manage to explicitly
-  # request C99 facilities to the underlying C headers.
-  ac_save_CXXFLAGS="$CXXFLAGS"
-  CXXFLAGS="$CXXFLAGS -std=c++98"
-  ac_save_LIBS="$LIBS"
-  ac_save_gcc_no_link="$gcc_no_link"
+    # Use -std=c++11 and test again for C99 library feature in C++11 mode.
+    # For the reasons given above we use -std=c++11 not -std=gnu++11.
+    ac_save_CXXFLAGS="$CXXFLAGS"
+    CXXFLAGS="$CXXFLAGS -std=c++11"
+    ac_save_LIBS="$LIBS"
+    ac_save_gcc_no_link="$gcc_no_link"
 
-  if test x$gcc_no_link != xyes; then
-    # Use -fno-exceptions to that the C driver can link these tests without
-    # hitting undefined references to personality routines.
-    CXXFLAGS="$CXXFLAGS -fno-exceptions"
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
+    if test x$gcc_no_link != xyes; then
+      # Use -fno-exceptions to that the C driver can link these tests without
+      # hitting undefined references to personality routines.
+      CXXFLAGS="$CXXFLAGS -fno-exceptions"
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
 $as_echo_n "checking for sin in -lm... " >&6; }
-if test "${ac_cv_lib_m_sin+set}" = set; then :
+if ${ac_cv_lib_m_sin+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lm  $LIBS"
 if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -16603,93 +17811,91 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
 $as_echo "$ac_cv_lib_m_sin" >&6; }
-if test "x$ac_cv_lib_m_sin" = x""yes; then :
-
-      LIBS="$LIBS -lm"
-
+if test "x$ac_cv_lib_m_sin" = xyes; then :
+  LIBS="$LIBS -lm"
 else
 
-      # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
-      gcc_no_link=yes
+        # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
+        gcc_no_link=yes
 
 fi
 
-  fi
+    fi
 
-  # Check for the existence of <math.h> functions used if C99 is enabled.
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
-$as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
-  if test "${glibcxx_cv_c99_math+set}" = set; then :
+    # Check for the existence of <math.h> functions used if C99 is enabled.
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
+$as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
+    if ${glibcxx_cv_c99_math_cxx11+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-  if test x$gcc_no_link = xyes; then
+      if test x$gcc_no_link = xyes; then
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-      volatile double d1, d2;
-      volatile int i;
+         volatile double d1, d2;
+         volatile int i;
 int
 main ()
 {
 i = fpclassify(d1);
-      i = isfinite(d1);
-      i = isinf(d1);
-      i = isnan(d1);
-      i = isnormal(d1);
-      i = signbit(d1);
-      i = isgreater(d1, d2);
-      i = isgreaterequal(d1, d2);
-      i = isless(d1, d2);
-      i = islessequal(d1, d2);
-      i = islessgreater(d1, d2);
-      i = islessgreater(d1, d2);
-      i = isunordered(d1, d2);
+         i = isfinite(d1);
+         i = isinf(d1);
+         i = isnan(d1);
+         i = isnormal(d1);
+         i = signbit(d1);
+         i = isgreater(d1, d2);
+         i = isgreaterequal(d1, d2);
+         i = isless(d1, d2);
+         i = islessequal(d1, d2);
+         i = islessgreater(d1, d2);
+         i = islessgreater(d1, d2);
+         i = isunordered(d1, d2);
 
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_c99_math=yes
+  glibcxx_cv_c99_math_cxx11=yes
 else
-  glibcxx_cv_c99_math=no
+  glibcxx_cv_c99_math_cxx11=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-      volatile double d1, d2;
-      volatile int i;
+         volatile double d1, d2;
+         volatile int i;
 int
 main ()
 {
 i = fpclassify(d1);
-      i = isfinite(d1);
-      i = isinf(d1);
-      i = isnan(d1);
-      i = isnormal(d1);
-      i = signbit(d1);
-      i = isgreater(d1, d2);
-      i = isgreaterequal(d1, d2);
-      i = isless(d1, d2);
-      i = islessequal(d1, d2);
-      i = islessgreater(d1, d2);
-      i = islessgreater(d1, d2);
-      i = isunordered(d1, d2);
+         i = isfinite(d1);
+         i = isinf(d1);
+         i = isnan(d1);
+         i = isnormal(d1);
+         i = signbit(d1);
+         i = isgreater(d1, d2);
+         i = isgreaterequal(d1, d2);
+         i = isless(d1, d2);
+         i = islessequal(d1, d2);
+         i = islessgreater(d1, d2);
+         i = islessgreater(d1, d2);
+         i = isunordered(d1, d2);
 
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_link "$LINENO"; then :
-  glibcxx_cv_c99_math=yes
+  glibcxx_cv_c99_math_cxx11=yes
 else
-  glibcxx_cv_c99_math=no
+  glibcxx_cv_c99_math_cxx11=no
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
-$as_echo "$glibcxx_cv_c99_math" >&6; }
-  if test x"$glibcxx_cv_c99_math" = x"yes"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
+$as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
+    if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
 
-$as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
+$as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
 
-  fi
+    fi
 
-  # Check for the existence of <complex.h> complex math functions.
-  # This is necessary even though libstdc++ uses the builtin versions
-  # of these functions, because if the builtin cannot be used, a reference
-  # to the library function is emitted.
-  for ac_header in tgmath.h
+    # Check for the existence of <complex.h> complex math functions.
+    # This is necessary even though libstdc++ uses the builtin versions
+    # of these functions, because if the builtin cannot be used, a reference
+    # to the library function is emitted.
+    for ac_header in tgmath.h
 do :
   ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
-if test "x$ac_cv_header_tgmath_h" = x""yes; then :
+if test "x$ac_cv_header_tgmath_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_TGMATH_H 1
 _ACEOF
 
 done
 
-  for ac_header in complex.h
+    for ac_header in complex.h
 do :
   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
-if test "x$ac_cv_header_complex_h" = x""yes; then :
+if test "x$ac_cv_header_complex_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_COMPLEX_H 1
 _ACEOF
 
 done
 
-  glibcxx_cv_c99_complex=no;
-  if test x"$ac_has_complex_h" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
-$as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
-    if test x$gcc_no_link = xyes; then
+    if test x"$ac_has_complex_h" = x"yes"; then
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
+$as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
+      if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+        if test x$gcc_no_link = xyes; then
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <complex.h>
-       typedef __complex__ float float_type;
-       typedef __complex__ double double_type;
-       typedef __complex__ long double ld_type;
-       volatile float_type tmpf;
-       volatile double_type tmpd;
-       volatile ld_type tmpld;
-       volatile float f;
-       volatile double d;
-       volatile long double ld;
+           typedef __complex__ float float_type;
+           typedef __complex__ double double_type;
+           typedef __complex__ long double ld_type;
+           volatile float_type tmpf;
+           volatile double_type tmpd;
+           volatile ld_type tmpld;
+           volatile float f;
+           volatile double d;
+           volatile long double ld;
 int
 main ()
 {
 f = cabsf(tmpf);
-       f = cargf(tmpf);
-       tmpf = ccosf(tmpf);
-       tmpf = ccoshf(tmpf);
-       tmpf = cexpf(tmpf);
-       tmpf = clogf(tmpf);
-       tmpf = csinf(tmpf);
-       tmpf = csinhf(tmpf);
-       tmpf = csqrtf(tmpf);
-       tmpf = ctanf(tmpf);
-       tmpf = ctanhf(tmpf);
-       tmpf = cpowf(tmpf, tmpf);
-       tmpf = cprojf(tmpf);
-       d = cabs(tmpd);
-       d = carg(tmpd);
-       tmpd = ccos(tmpd);
-       tmpd = ccosh(tmpd);
-       tmpd = cexp(tmpd);
-       tmpd = clog(tmpd);
-       tmpd = csin(tmpd);
-       tmpd = csinh(tmpd);
-       tmpd = csqrt(tmpd);
-       tmpd = ctan(tmpd);
-       tmpd = ctanh(tmpd);
-       tmpd = cpow(tmpd, tmpd);
-       tmpd = cproj(tmpd);
-       ld = cabsl(tmpld);
-       ld = cargl(tmpld);
-       tmpld = ccosl(tmpld);
-       tmpld = ccoshl(tmpld);
-       tmpld = cexpl(tmpld);
-       tmpld = clogl(tmpld);
-       tmpld = csinl(tmpld);
-       tmpld = csinhl(tmpld);
-       tmpld = csqrtl(tmpld);
-       tmpld = ctanl(tmpld);
-       tmpld = ctanhl(tmpld);
-       tmpld = cpowl(tmpld, tmpld);
-       tmpld = cprojl(tmpld);
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_c99_complex=yes
-else
-  glibcxx_cv_c99_complex=no
+           f = cargf(tmpf);
+           tmpf = ccosf(tmpf);
+           tmpf = ccoshf(tmpf);
+           tmpf = cexpf(tmpf);
+           tmpf = clogf(tmpf);
+           tmpf = csinf(tmpf);
+           tmpf = csinhf(tmpf);
+           tmpf = csqrtf(tmpf);
+           tmpf = ctanf(tmpf);
+           tmpf = ctanhf(tmpf);
+           tmpf = cpowf(tmpf, tmpf);
+           tmpf = cprojf(tmpf);
+           d = cabs(tmpd);
+           d = carg(tmpd);
+           tmpd = ccos(tmpd);
+           tmpd = ccosh(tmpd);
+           tmpd = cexp(tmpd);
+           tmpd = clog(tmpd);
+           tmpd = csin(tmpd);
+           tmpd = csinh(tmpd);
+           tmpd = csqrt(tmpd);
+           tmpd = ctan(tmpd);
+           tmpd = ctanh(tmpd);
+           tmpd = cpow(tmpd, tmpd);
+           tmpd = cproj(tmpd);
+           ld = cabsl(tmpld);
+           ld = cargl(tmpld);
+           tmpld = ccosl(tmpld);
+           tmpld = ccoshl(tmpld);
+           tmpld = cexpl(tmpld);
+           tmpld = clogl(tmpld);
+           tmpld = csinl(tmpld);
+           tmpld = csinhl(tmpld);
+           tmpld = csqrtl(tmpld);
+           tmpld = ctanl(tmpld);
+           tmpld = ctanhl(tmpld);
+           tmpld = cpowl(tmpld, tmpld);
+           tmpld = cprojl(tmpld);
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_c99_complex_cxx11=yes
+else
+  glibcxx_cv_c99_complex_cxx11=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <complex.h>
-       typedef __complex__ float float_type;
-       typedef __complex__ double double_type;
-       typedef __complex__ long double ld_type;
-       volatile float_type tmpf;
-       volatile double_type tmpd;
-       volatile ld_type tmpld;
-       volatile float f;
-       volatile double d;
-       volatile long double ld;
+           typedef __complex__ float float_type;
+           typedef __complex__ double double_type;
+           typedef __complex__ long double ld_type;
+           volatile float_type tmpf;
+           volatile double_type tmpd;
+           volatile ld_type tmpld;
+           volatile float f;
+           volatile double d;
+           volatile long double ld;
 int
 main ()
 {
 f = cabsf(tmpf);
-       f = cargf(tmpf);
-       tmpf = ccosf(tmpf);
-       tmpf = ccoshf(tmpf);
-       tmpf = cexpf(tmpf);
-       tmpf = clogf(tmpf);
-       tmpf = csinf(tmpf);
-       tmpf = csinhf(tmpf);
-       tmpf = csqrtf(tmpf);
-       tmpf = ctanf(tmpf);
-       tmpf = ctanhf(tmpf);
-       tmpf = cpowf(tmpf, tmpf);
-       tmpf = cprojf(tmpf);
-       d = cabs(tmpd);
-       d = carg(tmpd);
-       tmpd = ccos(tmpd);
-       tmpd = ccosh(tmpd);
-       tmpd = cexp(tmpd);
-       tmpd = clog(tmpd);
-       tmpd = csin(tmpd);
-       tmpd = csinh(tmpd);
-       tmpd = csqrt(tmpd);
-       tmpd = ctan(tmpd);
-       tmpd = ctanh(tmpd);
-       tmpd = cpow(tmpd, tmpd);
-       tmpd = cproj(tmpd);
-       ld = cabsl(tmpld);
-       ld = cargl(tmpld);
-       tmpld = ccosl(tmpld);
-       tmpld = ccoshl(tmpld);
-       tmpld = cexpl(tmpld);
-       tmpld = clogl(tmpld);
-       tmpld = csinl(tmpld);
-       tmpld = csinhl(tmpld);
-       tmpld = csqrtl(tmpld);
-       tmpld = ctanl(tmpld);
-       tmpld = ctanhl(tmpld);
-       tmpld = cpowl(tmpld, tmpld);
-       tmpld = cprojl(tmpld);
+           f = cargf(tmpf);
+           tmpf = ccosf(tmpf);
+           tmpf = ccoshf(tmpf);
+           tmpf = cexpf(tmpf);
+           tmpf = clogf(tmpf);
+           tmpf = csinf(tmpf);
+           tmpf = csinhf(tmpf);
+           tmpf = csqrtf(tmpf);
+           tmpf = ctanf(tmpf);
+           tmpf = ctanhf(tmpf);
+           tmpf = cpowf(tmpf, tmpf);
+           tmpf = cprojf(tmpf);
+           d = cabs(tmpd);
+           d = carg(tmpd);
+           tmpd = ccos(tmpd);
+           tmpd = ccosh(tmpd);
+           tmpd = cexp(tmpd);
+           tmpd = clog(tmpd);
+           tmpd = csin(tmpd);
+           tmpd = csinh(tmpd);
+           tmpd = csqrt(tmpd);
+           tmpd = ctan(tmpd);
+           tmpd = ctanh(tmpd);
+           tmpd = cpow(tmpd, tmpd);
+           tmpd = cproj(tmpd);
+           ld = cabsl(tmpld);
+           ld = cargl(tmpld);
+           tmpld = ccosl(tmpld);
+           tmpld = ccoshl(tmpld);
+           tmpld = cexpl(tmpld);
+           tmpld = clogl(tmpld);
+           tmpld = csinl(tmpld);
+           tmpld = csinhl(tmpld);
+           tmpld = csqrtl(tmpld);
+           tmpld = ctanl(tmpld);
+           tmpld = ctanhl(tmpld);
+           tmpld = cpowl(tmpld, tmpld);
+           tmpld = cprojl(tmpld);
 
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_link "$LINENO"; then :
-  glibcxx_cv_c99_complex=yes
+  glibcxx_cv_c99_complex_cxx11=yes
 else
-  glibcxx_cv_c99_complex=no
+  glibcxx_cv_c99_complex_cxx11=no
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 fi
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
-$as_echo "$glibcxx_cv_c99_complex" >&6; }
-  if test x"$glibcxx_cv_c99_complex" = x"yes"; then
 
-$as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
+fi
 
-  fi
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
+$as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
+    if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
+
+$as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
 
-  # Check for the existence in <stdio.h> of vscanf, et. al.
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
-$as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
-  if test "${glibcxx_cv_c99_stdio+set}" = set; then :
+    fi
+
+    # Check for the existence in <stdio.h> of vscanf, et. al.
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
+$as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
+    if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-  if test x$gcc_no_link = xyes; then
+      if test x$gcc_no_link = xyes; then
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdio.h>
-      #include <stdarg.h>
-      void foo(char* fmt, ...)
-      {
-       va_list args; va_start(args, fmt);
-       vfscanf(stderr, "%i", args);
-       vscanf("%i", args);
-       vsnprintf(fmt, 0, "%i", args);
-       vsscanf(fmt, "%i", args);
-       snprintf(fmt, 0, "%i");
-      }
+         #include <stdarg.h>
+         void foo(char* fmt, ...)
+         {
+           va_list args; va_start(args, fmt);
+           vfscanf(stderr, "%i", args);
+           vscanf("%i", args);
+           vsnprintf(fmt, 0, "%i", args);
+           vsscanf(fmt, "%i", args);
+           snprintf(fmt, 0, "%i");
+         }
 int
 main ()
 {
@@ -16917,28 +18129,28 @@ main ()
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_c99_stdio=yes
+  glibcxx_cv_c99_stdio_cxx11=yes
 else
-  glibcxx_cv_c99_stdio=no
+  glibcxx_cv_c99_stdio_cxx11=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdio.h>
-      #include <stdarg.h>
-      void foo(char* fmt, ...)
-      {
-       va_list args; va_start(args, fmt);
-       vfscanf(stderr, "%i", args);
-       vscanf("%i", args);
-       vsnprintf(fmt, 0, "%i", args);
-       vsscanf(fmt, "%i", args);
-       snprintf(fmt, 0, "%i");
-      }
+         #include <stdarg.h>
+         void foo(char* fmt, ...)
+         {
+           va_list args; va_start(args, fmt);
+           vfscanf(stderr, "%i", args);
+           vscanf("%i", args);
+           vsnprintf(fmt, 0, "%i", args);
+           vsscanf(fmt, "%i", args);
+           snprintf(fmt, 0, "%i");
+         }
 int
 main ()
 {
@@ -16948,9 +18160,9 @@ main ()
 }
 _ACEOF
 if ac_fn_cxx_try_link "$LINENO"; then :
-  glibcxx_cv_c99_stdio=yes
+  glibcxx_cv_c99_stdio_cxx11=yes
 else
-  glibcxx_cv_c99_stdio=no
+  glibcxx_cv_c99_stdio_cxx11=no
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
-$as_echo "$glibcxx_cv_c99_stdio" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
+$as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
+    if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
+
+$as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
 
-  # Check for the existence in <stdlib.h> of lldiv_t, et. al.
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
-$as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
-  if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
+    fi
+
+    # Check for the existence in <stdlib.h> of lldiv_t, et. al.
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
+$as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
+    if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-  if test x$gcc_no_link = xyes; then
+      if test x$gcc_no_link = xyes; then
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdlib.h>
-      volatile float f;
-      volatile long double ld;
-      volatile unsigned long long ll;
-      lldiv_t mydivt;
+         volatile float f;
+         volatile long double ld;
+         volatile unsigned long long ll;
+         lldiv_t mydivt;
 int
 main ()
 {
 char* tmp;
-      f = strtof("gnu", &tmp);
-      ld = strtold("gnu", &tmp);
-      ll = strtoll("gnu", &tmp, 10);
-      ll = strtoull("gnu", &tmp, 10);
-      ll = llabs(10);
-      mydivt = lldiv(10,1);
-      ll = mydivt.quot;
-      ll = mydivt.rem;
-      ll = atoll("10");
-      _Exit(0);
+         f = strtof("gnu", &tmp);
+         ld = strtold("gnu", &tmp);
+         ll = strtoll("gnu", &tmp, 10);
+         ll = strtoull("gnu", &tmp, 10);
+         ll = llabs(10);
+         mydivt = lldiv(10,1);
+         ll = mydivt.quot;
+         ll = mydivt.rem;
+         ll = atoll("10");
+         _Exit(0);
 
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_c99_stdlib=yes
+  glibcxx_cv_c99_stdlib_cxx11=yes
 else
-  glibcxx_cv_c99_stdlib=no
+  glibcxx_cv_c99_stdlib_cxx11=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <stdlib.h>
-      volatile float f;
-      volatile long double ld;
-      volatile unsigned long long ll;
-      lldiv_t mydivt;
+         volatile float f;
+         volatile long double ld;
+         volatile unsigned long long ll;
+         lldiv_t mydivt;
 int
 main ()
 {
 char* tmp;
-      f = strtof("gnu", &tmp);
-      ld = strtold("gnu", &tmp);
-      ll = strtoll("gnu", &tmp, 10);
-      ll = strtoull("gnu", &tmp, 10);
-      ll = llabs(10);
-      mydivt = lldiv(10,1);
-      ll = mydivt.quot;
-      ll = mydivt.rem;
-      ll = atoll("10");
-      _Exit(0);
+         f = strtof("gnu", &tmp);
+         ld = strtold("gnu", &tmp);
+         ll = strtoll("gnu", &tmp, 10);
+         ll = strtoull("gnu", &tmp, 10);
+         ll = llabs(10);
+         mydivt = lldiv(10,1);
+         ll = mydivt.quot;
+         ll = mydivt.rem;
+         ll = atoll("10");
+         _Exit(0);
 
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_link "$LINENO"; then :
-  glibcxx_cv_c99_stdlib=yes
+  glibcxx_cv_c99_stdlib_cxx11=yes
 else
-  glibcxx_cv_c99_stdlib=no
+  glibcxx_cv_c99_stdlib_cxx11=no
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
-$as_echo "$glibcxx_cv_c99_stdlib" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
+$as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
+    if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
 
-  # Check for the existence in <wchar.h> of wcstold, etc.
-  glibcxx_cv_c99_wchar=no;
-  if test x"$ac_has_wchar_h" = xyes &&
-     test x"$ac_has_wctype_h" = xyes; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
-$as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+$as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
+
+    fi
+
+    # Check for the existence in <wchar.h> of wcstold, etc.
+    if test x"$ac_has_wchar_h" = xyes &&
+       test x"$ac_has_wctype_h" = xyes; then
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
+$as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
+      if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <wchar.h>
-                   namespace test
-                   {
-                     using ::wcstold;
-                     using ::wcstoll;
-                     using ::wcstoull;
-                   }
+          namespace test
+          {
+            using ::wcstold;
+            using ::wcstoll;
+            using ::wcstoull;
+          }
 
 int
 main ()
@@ -17070,20 +18295,23 @@ main ()
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_c99_wchar=yes
+  glibcxx_cv_c99_wchar_cxx11=yes
 else
-  glibcxx_cv_c99_wchar=no
+  glibcxx_cv_c99_wchar_cxx11=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
-    # Checks for wide character functions that may not be present.
-    # Injection of these is wrapped with guard macros.
-    # NB: only put functions here, instead of immediately above, if
-    # absolutely necessary.
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+fi
+
+
+      # Checks for wide character functions that may not be present.
+      # Injection of these is wrapped with guard macros.
+      # NB: only put functions here, instead of immediately above, if
+      # absolutely necessary.
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <wchar.h>
-                   namespace test { using ::vfwscanf; }
+        namespace test { using ::vfwscanf; }
 int
 main ()
 {
@@ -17099,10 +18327,10 @@ $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <wchar.h>
-                   namespace test { using ::vswscanf; }
+        namespace test { using ::vswscanf; }
 int
 main ()
 {
@@ -17118,10 +18346,10 @@ $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <wchar.h>
-                   namespace test { using ::vwscanf; }
+        namespace test { using ::vwscanf; }
 int
 main ()
 {
@@ -17137,10 +18365,10 @@ $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <wchar.h>
-                   namespace test { using ::wcstof; }
+        namespace test { using ::wcstof; }
 int
 main ()
 {
@@ -17156,13 +18384,13 @@ $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <wctype.h>
 int
 main ()
 {
- wint_t t; int i = iswblank(t);
+wint_t t; int i = iswblank(t);
   ;
   return 0;
 }
@@ -17174,27 +18402,19 @@ $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
-$as_echo "$glibcxx_cv_c99_wchar" >&6; }
-  fi
-
-  # Option parsed, now set things appropriately.
-  if test x"$glibcxx_cv_c99_math" = x"no" ||
-     test x"$glibcxx_cv_c99_complex" = x"no" ||
-     test x"$glibcxx_cv_c99_stdio" = x"no" ||
-     test x"$glibcxx_cv_c99_stdlib" = x"no" ||
-     test x"$glibcxx_cv_c99_wchar" = x"no"; then
-    enable_c99=no;
-  else
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
+$as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
+      if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
 
-$as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
+$as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
 
-  fi
+      fi
+    fi
 
-  gcc_no_link="$ac_save_gcc_no_link"
-  LIBS="$ac_save_LIBS"
-  CXXFLAGS="$ac_save_CXXFLAGS"
-  ac_ext=c
+    gcc_no_link="$ac_save_gcc_no_link"
+    LIBS="$ac_save_LIBS"
+    CXXFLAGS="$ac_save_CXXFLAGS"
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
@@ -17213,7 +18433,7 @@ if test "${enable_concept_checks+set}" = set; then :
   enableval=$enable_concept_checks;
       case "$enableval" in
        yes|no) ;;
-       *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
+       *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
       esac
 
 else
@@ -17233,10 +18453,10 @@ if test "${enable_libstdcxx_debug_flags+set}" = set; then :
   enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
       xno | x)    enable_libstdcxx_debug_flags= ;;
       x-*)        ;;
-      *)          as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
+      *)          as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
      esac
 else
-  enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
+  enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
 fi
 
 
@@ -17251,12 +18471,13 @@ $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
 $as_echo_n "checking for additional debug build... " >&6; }
+  skip_debug_build=
    # Check whether --enable-libstdcxx-debug was given.
 if test "${enable_libstdcxx_debug+set}" = set; then :
   enableval=$enable_libstdcxx_debug;
       case "$enableval" in
        yes|no) ;;
-       *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
+       *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
       esac
 
 else
@@ -17264,8 +18485,19 @@ else
 fi
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
-$as_echo "$enable_libstdcxx_debug" >&6; }
+  if test x$enable_libstdcxx_debug = xyes; then
+    if test -f $toplevel_builddir/../stage_final \
+      && test -f $toplevel_builddir/../stage_current; then
+      stage_final=`cat $toplevel_builddir/../stage_final`
+      stage_current=`cat $toplevel_builddir/../stage_current`
+      if test x$stage_current != x$stage_final ; then
+       skip_debug_build=" (skipped for bootstrap stage $stage_current)"
+       enable_libstdcxx_debug=no
+      fi
+    fi
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
+$as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
 
 
 
@@ -17293,7 +18525,7 @@ if test "${enable_cxx_flags+set}" = set; then :
   enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
       xno | x)   enable_cxx_flags= ;;
       x-*)       ;;
-      *)         as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
+      *)         as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
      esac
 else
   enable_cxx_flags=
@@ -17309,7 +18541,7 @@ fi
        -fhonor-std)  ;;
        -*)  ;;
        *)   # and we're trying to pass /what/ exactly?
-            as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
+            as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
       esac
     done
   fi
@@ -17325,7 +18557,7 @@ if test "${enable_fully_dynamic_string+set}" = set; then :
   enableval=$enable_fully_dynamic_string;
       case "$enableval" in
        yes|no) ;;
-       *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
+       *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
       esac
 
 else
@@ -17351,7 +18583,7 @@ if test "${enable_extern_template+set}" = set; then :
   enableval=$enable_extern_template;
       case "$enableval" in
        yes|no) ;;
-       *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
+       *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
       esac
 
 else
@@ -17395,11 +18627,11 @@ if test "${enable_werror+set}" = set; then :
   enableval=$enable_werror;
       case "$enableval" in
        yes|no) ;;
-       *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
+       *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
       esac
 
 else
-  enable_werror=yes
+  enable_werror=no
 fi
 
 
@@ -17414,7 +18646,7 @@ if test "${enable_vtable_verify+set}" = set; then :
   enableval=$enable_vtable_verify;
       case "$enableval" in
        yes|no) ;;
-       *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
+       *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
       esac
 
 else
@@ -17440,6 +18672,10 @@ $as_echo "$enable_vtable_verify" >&6; }
         VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
         VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
         ;;
+      solaris2*)
+        VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
+        VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
+        ;;
       *)
         VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
         VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
@@ -17476,10 +18712,14 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
+  # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
+  # and we don't need a declaration for C++14 anyway.
+  ac_save_CXXFLAGS="$CXXFLAGS"
+  CXXFLAGS="$CXXFLAGS -std=gnu++11"
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
 $as_echo_n "checking for gets declaration... " >&6; }
-  if test "${glibcxx_cv_gets+set}" = set; then :
+  if ${glibcxx_cv_gets+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17510,6 +18750,210 @@ $as_echo "#define HAVE_GETS 1" >>confdefs.h
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
 $as_echo "$glibcxx_cv_gets" >&6; }
 
+  CXXFLAGS="$ac_save_CXXFLAGS"
+  ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+
+
+  ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+  ac_save_CXXFLAGS="$CXXFLAGS"
+  CXXFLAGS="$CXXFLAGS -std=c++11"
+
+  case "$host" in
+    *-*-solaris2.*)
+      # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
+      # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
+$as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
+      if ${glibcxx_cv_math11_fp_overload+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <math.h>
+          #undef isfinite
+          namespace std {
+            inline bool isfinite(float __x)
+            { return __builtin_isfinite(__x); }
+          }
+
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_math11_fp_overload=no
+else
+  glibcxx_cv_math11_fp_overload=yes
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+      # autoheader cannot handle indented templates.
+
+
+      if test $glibcxx_cv_math11_fp_overload = yes; then
+        $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
+
+      fi
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
+$as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
+
+      # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
+      # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
+$as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
+      if ${glibcxx_cv_math11_int_overload+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <math.h>
+          namespace std {
+            template<typename _Tp>
+              struct __is_integer;
+            template<>
+              struct __is_integer<int>
+              {
+                enum { __value = 1 };
+              };
+          }
+          namespace __gnu_cxx {
+            template<bool, typename>
+              struct __enable_if;
+            template<typename _Tp>
+              struct __enable_if<true, _Tp>
+              { typedef _Tp __type; };
+          }
+          namespace std {
+            template<typename _Tp>
+              constexpr typename __gnu_cxx::__enable_if
+                        <__is_integer<_Tp>::__value, double>::__type
+              log2(_Tp __x)
+              { return __builtin_log2(__x); }
+          }
+          int
+          main (void)
+          {
+            int i = 1000;
+            return std::log2(i);
+          }
+
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_math11_int_overload=no
+else
+  glibcxx_cv_math11_int_overload=yes
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+      # autoheader cannot handle indented templates.
+
+
+      if test $glibcxx_cv_math11_int_overload = yes; then
+        $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
+
+      fi
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
+$as_echo "$glibcxx_cv_math11_int_overload" >&6; }
+      ;;
+    *)
+      # If <math.h> defines the obsolete isinf(double) and isnan(double)
+      # functions (instead of or as well as the C99 generic macros) then we
+      # can't define std::isinf(double) and std::isnan(double) in <cmath>
+      # and must use the ones from <math.h> instead.
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
+$as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
+        if ${glibcxx_cv_obsolete_isinf+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
+             #include <math.h>
+             #undef isinf
+             namespace std {
+               using ::isinf;
+               bool isinf(float);
+               bool isinf(long double);
+             }
+             using std::isinf;
+             bool b = isinf(0.0);
+
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_obsolete_isinf=yes
+else
+  glibcxx_cv_obsolete_isinf=no
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
+$as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
+      if test $glibcxx_cv_obsolete_isinf = yes; then
+
+$as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
+
+      fi
+
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
+$as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
+        if ${glibcxx_cv_obsolete_isnan+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
+             #include <math.h>
+             #undef isnan
+             namespace std {
+               using ::isnan;
+               bool isnan(float);
+               bool isnan(long double);
+             }
+             using std::isnan;
+             bool b = isnan(0.0);
+
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_obsolete_isnan=yes
+else
+  glibcxx_cv_obsolete_isnan=no
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
+$as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
+      if test $glibcxx_cv_obsolete_isnan = yes; then
+
+$as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
+
+      fi
+      ;;
+  esac
+
+  CXXFLAGS="$ac_save_CXXFLAGS"
   ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
@@ -17521,7 +18965,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
 $as_echo_n "checking for EOWNERDEAD... " >&6; }
-if test "${glibcxx_cv_system_error1+set}" = set; then :
+if ${glibcxx_cv_system_error1+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17554,7 +18998,7 @@ $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
-if test "${glibcxx_cv_system_error2+set}" = set; then :
+if ${glibcxx_cv_system_error2+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17587,7 +19031,7 @@ $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
 $as_echo_n "checking for ENOLINK... " >&6; }
-if test "${glibcxx_cv_system_error3+set}" = set; then :
+if ${glibcxx_cv_system_error3+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17620,7 +19064,7 @@ $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
 $as_echo_n "checking for EPROTO... " >&6; }
-if test "${glibcxx_cv_system_error4+set}" = set; then :
+if ${glibcxx_cv_system_error4+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17653,7 +19097,7 @@ $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
 $as_echo_n "checking for ENODATA... " >&6; }
-if test "${glibcxx_cv_system_error5+set}" = set; then :
+if ${glibcxx_cv_system_error5+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17686,7 +19130,7 @@ $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
 $as_echo_n "checking for ENOSR... " >&6; }
-if test "${glibcxx_cv_system_error6+set}" = set; then :
+if ${glibcxx_cv_system_error6+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17719,7 +19163,7 @@ $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
 $as_echo_n "checking for ENOSTR... " >&6; }
-if test "${glibcxx_cv_system_error7+set}" = set; then :
+if ${glibcxx_cv_system_error7+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17752,7 +19196,7 @@ $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
 $as_echo_n "checking for ETIME... " >&6; }
-if test "${glibcxx_cv_system_error8+set}" = set; then :
+if ${glibcxx_cv_system_error8+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17785,7 +19229,7 @@ $as_echo "#define HAVE_ETIME 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
 $as_echo_n "checking for EBADMSG... " >&6; }
-if test "${glibcxx_cv_system_error9+set}" = set; then :
+if ${glibcxx_cv_system_error9+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17818,7 +19262,7 @@ $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
 $as_echo_n "checking for ECANCELED... " >&6; }
-if test "${glibcxx_cv_system_error10+set}" = set; then :
+if ${glibcxx_cv_system_error10+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17851,7 +19295,7 @@ $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
 $as_echo_n "checking for EOVERFLOW... " >&6; }
-if test "${glibcxx_cv_system_error11+set}" = set; then :
+if ${glibcxx_cv_system_error11+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17884,7 +19328,7 @@ $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
 $as_echo_n "checking for ENOTSUP... " >&6; }
-if test "${glibcxx_cv_system_error12+set}" = set; then :
+if ${glibcxx_cv_system_error12+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17917,7 +19361,7 @@ $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
 $as_echo_n "checking for EIDRM... " >&6; }
-if test "${glibcxx_cv_system_error13+set}" = set; then :
+if ${glibcxx_cv_system_error13+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17950,7 +19394,7 @@ $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
 $as_echo_n "checking for ETXTBSY... " >&6; }
-if test "${glibcxx_cv_system_error14+set}" = set; then :
+if ${glibcxx_cv_system_error14+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -17983,7 +19427,7 @@ $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
 $as_echo_n "checking for ECHILD... " >&6; }
-if test "${glibcxx_cv_system_error15+set}" = set; then :
+if ${glibcxx_cv_system_error15+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -18016,7 +19460,7 @@ $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
 $as_echo_n "checking for ENOSPC... " >&6; }
-if test "${glibcxx_cv_system_error16+set}" = set; then :
+if ${glibcxx_cv_system_error16+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -18049,7 +19493,7 @@ $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
 $as_echo_n "checking for EPERM... " >&6; }
-if test "${glibcxx_cv_system_error17+set}" = set; then :
+if ${glibcxx_cv_system_error17+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -18082,7 +19526,7 @@ $as_echo "#define HAVE_EPERM 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
 $as_echo_n "checking for ETIMEDOUT... " >&6; }
-if test "${glibcxx_cv_system_error18+set}" = set; then :
+if ${glibcxx_cv_system_error18+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -18115,7 +19559,7 @@ $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
-if test "${glibcxx_cv_system_error19+set}" = set; then :
+if ${glibcxx_cv_system_error19+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -18154,7 +19598,7 @@ fi
   for ac_header in uchar.h
 do :
   ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
-if test "x$ac_cv_header_uchar_h" = x""yes; then :
+if test "x$ac_cv_header_uchar_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_UCHAR_H 1
 _ACEOF
@@ -18243,7 +19687,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
 $as_echo_n "checking for int64_t... " >&6; }
-  if test "${glibcxx_cv_INT64_T+set}" = set; then :
+  if ${glibcxx_cv_INT64_T+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -18277,7 +19721,7 @@ $as_echo "$glibcxx_cv_INT64_T" >&6; }
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
 $as_echo_n "checking for int64_t as long... " >&6; }
-    if test "${glibcxx_cv_int64_t_long+set}" = set; then :
+    if ${glibcxx_cv_int64_t_long+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -18315,7 +19759,7 @@ $as_echo "$glibcxx_cv_int64_t_long" >&6; }
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
 $as_echo_n "checking for int64_t as long long... " >&6; }
-    if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
+    if ${glibcxx_cv_int64_t_long_long+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -18373,7 +19817,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   CXXFLAGS="$CXXFLAGS -fno-exceptions"
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
 $as_echo_n "checking for LFS support... " >&6; }
-  if test "${glibcxx_cv_LFS+set}" = set; then :
+  if ${glibcxx_cv_LFS+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -18406,7 +19850,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -18460,8 +19904,7 @@ for ac_header in sys/ioctl.h sys/filio.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-eval as_val=\$$as_ac_Header
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
@@ -18484,7 +19927,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
 $as_echo_n "checking for poll... " >&6; }
-  if test "${glibcxx_cv_POLL+set}" = set; then :
+  if ${glibcxx_cv_POLL+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -18510,7 +19953,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -18566,7 +20009,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
-  if test "${glibcxx_cv_S_ISREG+set}" = set; then :
+  if ${glibcxx_cv_S_ISREG+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -18592,7 +20035,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -18618,7 +20061,7 @@ fi
 
 fi
 
-  if test "${glibcxx_cv_S_IFREG+set}" = set; then :
+  if ${glibcxx_cv_S_IFREG+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -18644,7 +20087,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -18698,7 +20141,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 for ac_header in sys/uio.h
 do :
   ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
-if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
+if test "x$ac_cv_header_sys_uio_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SYS_UIO_H 1
 _ACEOF
@@ -18721,7 +20164,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
 $as_echo_n "checking for writev... " >&6; }
-  if test "${glibcxx_cv_WRITEV+set}" = set; then :
+  if ${glibcxx_cv_WRITEV+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -18746,7 +20189,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -18796,8 +20239,7 @@ for ac_header in fenv.h complex.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-eval as_val=\$$as_ac_Header
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
@@ -18828,7 +20270,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   for ac_header in complex.h
 do :
   ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
-if test "x$ac_cv_header_complex_h" = x""yes; then :
+if test "x$ac_cv_header_complex_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_COMPLEX_H 1
 _ACEOF
@@ -18893,7 +20335,7 @@ $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
   # Check for the existence of <ctype.h> functions.
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
-  if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
+  if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -18932,7 +20374,7 @@ $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
   for ac_header in fenv.h
 do :
   ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
-if test "x$ac_cv_header_fenv_h" = x""yes; then :
+if test "x$ac_cv_header_fenv_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FENV_H 1
 _ACEOF
@@ -18991,7 +20433,7 @@ $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
   # Check for the existence of <stdint.h> types.
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
-  if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
+  if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -19112,7 +20554,7 @@ $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
   # Check for the existence of <math.h> functions.
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
-  if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
+  if ${glibcxx_cv_c99_math_tr1+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -19172,12 +20614,14 @@ typedef double_t  my_double_t;
                  lgamma(0.0);
                  lgammaf(0.0f);
                  lgammal(0.0l);
+                 #ifndef __APPLE__ /* see below */
                  llrint(0.0);
                  llrintf(0.0f);
                  llrintl(0.0l);
                  llround(0.0);
                  llroundf(0.0f);
                  llroundl(0.0l);
+                 #endif
                  log1p(0.0);
                  log1pf(0.0f);
                  log1pl(0.0l);
@@ -19249,6 +20693,50 @@ $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
 
 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
 
+
+    case "${target_os}" in
+      darwin*)
+        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
+$as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
+        if ${glibcxx_cv_c99_math_llround+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <math.h>
+int
+main ()
+{
+llrint(0.0);
+                 llrintf(0.0f);
+                 llrintl(0.0l);
+                 llround(0.0);
+                 llroundf(0.0f);
+                 llroundl(0.0l);
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_c99_math_llround=yes
+else
+  glibcxx_cv_c99_math_llround=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+
+       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
+$as_echo "$glibcxx_cv_c99_math_llround" >&6; }
+        ;;
+    esac
+    if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
+
+$as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
+
+    fi
   fi
 
   # Check for the existence of <inttypes.h> functions (NB: doesn't make
@@ -19331,7 +20819,7 @@ $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
   for ac_header in stdbool.h
 do :
   ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
-if test "x$ac_cv_header_stdbool_h" = x""yes; then :
+if test "x$ac_cv_header_stdbool_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_STDBOOL_H 1
 _ACEOF
@@ -19345,7 +20833,7 @@ done
   for ac_header in stdalign.h
 do :
   ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
-if test "x$ac_cv_header_stdalign_h" = x""yes; then :
+if test "x$ac_cv_header_stdalign_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_STDALIGN_H 1
 _ACEOF
@@ -19369,14 +20857,14 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
 $as_echo_n "checking for the value of EOF... " >&6; }
-if test "${glibcxx_cv_stdio_eof+set}" = set; then :
+if ${glibcxx_cv_stdio_eof+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
   if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof"        "#include <stdio.h>"; then :
 
 else
-  as_fn_error "computing EOF failed" "$LINENO" 5
+  as_fn_error $? "computing EOF failed" "$LINENO" 5
 fi
 
 
@@ -19391,14 +20879,14 @@ _ACEOF
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
-if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
+if ${glibcxx_cv_stdio_seek_cur+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
   if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur"        "#include <stdio.h>"; then :
 
 else
-  as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
+  as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
 fi
 
 
@@ -19413,14 +20901,14 @@ _ACEOF
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
 $as_echo_n "checking for the value of SEEK_END... " >&6; }
-if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
+if ${glibcxx_cv_stdio_seek_end+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
   if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end"        "#include <stdio.h>"; then :
 
 else
-  as_fn_error "computing SEEK_END failed" "$LINENO" 5
+  as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
 fi
 
 
@@ -19454,7 +20942,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   for ac_header in sys/time.h
 do :
   ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
-if test "x$ac_cv_header_sys_time_h" = x""yes; then :
+if test "x$ac_cv_header_sys_time_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SYS_TIME_H 1
 _ACEOF
@@ -19488,7 +20976,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -19537,7 +21025,7 @@ if test "${enable_libstdcxx_time+set}" = set; then :
   enableval=$enable_libstdcxx_time;
       case "$enableval" in
        yes|no|rt) ;;
-       *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
+       *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
                        esac
 
 else
@@ -19572,6 +21060,11 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
         ac_has_nanosleep=yes
         ac_has_sched_yield=yes
         ;;
+      # VxWorks has nanosleep as soon as the kernel is configured with
+      # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
+      vxworks*)
+        ac_has_nanosleep=yes
+        ;;
       gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
@@ -19606,7 +21099,7 @@ $as_echo "$glibcxx_glibc217" >&6; }
         ac_has_nanosleep=yes
         ac_has_sched_yield=yes
         ;;
-      freebsd*|netbsd*|dragonfly*)
+      freebsd*|netbsd*|dragonfly*|rtems*)
         ac_has_clock_monotonic=yes
         ac_has_clock_realtime=yes
         ac_has_nanosleep=yes
@@ -19624,6 +21117,9 @@ $as_echo "$glibcxx_glibc217" >&6; }
         ac_has_nanosleep=yes
         ac_has_sched_yield=yes
         ;;
+      uclinux*)
+        ac_has_nanosleep=yes
+        ac_has_sched_yield=yes
     esac
 
   elif test x"$enable_libstdcxx_time" != x"no"; then
@@ -19631,7 +21127,7 @@ $as_echo "$glibcxx_glibc217" >&6; }
     if test x"$enable_libstdcxx_time" = x"rt"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
 $as_echo_n "checking for library containing clock_gettime... " >&6; }
-if test "${ac_cv_search_clock_gettime+set}" = set; then :
+if ${ac_cv_search_clock_gettime+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -19661,18 +21157,18 @@ for ac_lib in '' rt posix4; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 if ac_fn_cxx_try_link "$LINENO"; then :
   ac_cv_search_clock_gettime=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_clock_gettime+set}" = set; then :
+  if ${ac_cv_search_clock_gettime+:} false; then :
   break
 fi
 done
-if test "${ac_cv_search_clock_gettime+set}" = set; then :
+if ${ac_cv_search_clock_gettime+:} false; then :
 
 else
   ac_cv_search_clock_gettime=no
@@ -19690,7 +21186,7 @@ fi
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
 $as_echo_n "checking for library containing nanosleep... " >&6; }
-if test "${ac_cv_search_nanosleep+set}" = set; then :
+if ${ac_cv_search_nanosleep+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -19720,18 +21216,18 @@ for ac_lib in '' rt posix4; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 if ac_fn_cxx_try_link "$LINENO"; then :
   ac_cv_search_nanosleep=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_nanosleep+set}" = set; then :
+  if ${ac_cv_search_nanosleep+:} false; then :
   break
 fi
 done
-if test "${ac_cv_search_nanosleep+set}" = set; then :
+if ${ac_cv_search_nanosleep+:} false; then :
 
 else
   ac_cv_search_nanosleep=no
@@ -19750,7 +21246,7 @@ fi
     else
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
 $as_echo_n "checking for library containing clock_gettime... " >&6; }
-if test "${ac_cv_search_clock_gettime+set}" = set; then :
+if ${ac_cv_search_clock_gettime+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -19780,18 +21276,18 @@ for ac_lib in '' posix4; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 if ac_fn_cxx_try_link "$LINENO"; then :
   ac_cv_search_clock_gettime=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_clock_gettime+set}" = set; then :
+  if ${ac_cv_search_clock_gettime+:} false; then :
   break
 fi
 done
-if test "${ac_cv_search_clock_gettime+set}" = set; then :
+if ${ac_cv_search_clock_gettime+:} false; then :
 
 else
   ac_cv_search_clock_gettime=no
@@ -19809,7 +21305,7 @@ fi
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
 $as_echo_n "checking for library containing nanosleep... " >&6; }
-if test "${ac_cv_search_nanosleep+set}" = set; then :
+if ${ac_cv_search_nanosleep+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -19839,18 +21335,18 @@ for ac_lib in '' posix4; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 if ac_fn_cxx_try_link "$LINENO"; then :
   ac_cv_search_nanosleep=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_nanosleep+set}" = set; then :
+  if ${ac_cv_search_nanosleep+:} false; then :
   break
 fi
 done
-if test "${ac_cv_search_nanosleep+set}" = set; then :
+if ${ac_cv_search_nanosleep+:} false; then :
 
 else
   ac_cv_search_nanosleep=no
@@ -19879,7 +21375,7 @@ fi
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
 $as_echo_n "checking for library containing sched_yield... " >&6; }
-if test "${ac_cv_search_sched_yield+set}" = set; then :
+if ${ac_cv_search_sched_yield+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_func_search_save_LIBS=$LIBS
@@ -19909,18 +21405,18 @@ for ac_lib in '' rt posix4; do
     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   fi
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 if ac_fn_cxx_try_link "$LINENO"; then :
   ac_cv_search_sched_yield=$ac_res
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext
-  if test "${ac_cv_search_sched_yield+set}" = set; then :
+  if ${ac_cv_search_sched_yield+:} false; then :
   break
 fi
 done
-if test "${ac_cv_search_sched_yield+set}" = set; then :
+if ${ac_cv_search_sched_yield+:} false; then :
 
 else
   ac_cv_search_sched_yield=no
@@ -19956,7 +21452,7 @@ fi
     for ac_header in unistd.h
 do :
   ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
-if test "x$ac_cv_header_unistd_h" = x""yes; then :
+if test "x$ac_cv_header_unistd_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_UNISTD_H 1
 _ACEOF
@@ -19972,7 +21468,7 @@ done
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
 $as_echo_n "checking for monotonic clock... " >&6; }
       if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -20005,7 +21501,7 @@ $as_echo "$ac_has_clock_monotonic" >&6; }
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
 $as_echo_n "checking for realtime clock... " >&6; }
       if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -20038,7 +21534,7 @@ $as_echo "$ac_has_clock_realtime" >&6; }
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
 $as_echo_n "checking for nanosleep... " >&6; }
       if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -20072,7 +21568,7 @@ $as_echo "$ac_has_nanosleep" >&6; }
 
   if test x"$ac_has_clock_monotonic" != x"yes"; then
     case ${target_os} in
-      linux*)
+      linux* | uclinux*)
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
 $as_echo_n "checking for clock_gettime syscall... " >&6; }
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -20243,7 +21739,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   CXXFLAGS="$CXXFLAGS -fno-exceptions"
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
 $as_echo_n "checking for tmpnam... " >&6; }
-  if test "${glibcxx_cv_TMPNAM+set}" = set; then :
+  if ${glibcxx_cv_TMPNAM+:} false; then :
   $as_echo_n "(cached) " >&6
 else
       if test x$gcc_no_link = xyes; then
@@ -20266,7 +21762,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -20306,13 +21802,266 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
+# For pthread_cond_clockwait
+
+
+
+  ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+  ac_save_CXXFLAGS="$CXXFLAGS"
+  CXXFLAGS="$CXXFLAGS -fno-exceptions"
+  ac_save_LIBS="$LIBS"
+  LIBS="$LIBS -lpthread"
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
+$as_echo_n "checking for pthread_cond_clockwait... " >&6; }
+  if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+    if test x$gcc_no_link = xyes; then
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <pthread.h>
+int
+main ()
+{
+pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
+else
+  glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+  if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <pthread.h>
+int
+main ()
+{
+pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+  glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
+else
+  glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+fi
+
+fi
+
+  if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
+
+$as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
+
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
+$as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
+
+  CXXFLAGS="$ac_save_CXXFLAGS"
+  LIBS="$ac_save_LIBS"
+  ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+# For pthread_mutex_clocklock
+
+
+
+  ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+  ac_save_CXXFLAGS="$CXXFLAGS"
+  CXXFLAGS="$CXXFLAGS -fno-exceptions"
+  ac_save_LIBS="$LIBS"
+  LIBS="$LIBS -lpthread"
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
+$as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
+  if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+    if test x$gcc_no_link = xyes; then
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <pthread.h>
+int
+main ()
+{
+pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
+else
+  glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+  if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <pthread.h>
+int
+main ()
+{
+pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+  glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
+else
+  glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+fi
+
+fi
+
+  if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
+
+$as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
+
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
+$as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
+
+  CXXFLAGS="$ac_save_CXXFLAGS"
+  LIBS="$ac_save_LIBS"
+  ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
+# For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
+
+
+
+  ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+  ac_save_CXXFLAGS="$CXXFLAGS"
+  CXXFLAGS="$CXXFLAGS -fno-exceptions"
+  ac_save_LIBS="$LIBS"
+  LIBS="$LIBS -lpthread"
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
+$as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
+  if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+    if test x$gcc_no_link = xyes; then
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <pthread.h>
+int
+main ()
+{
+pthread_rwlock_t rwl; struct timespec ts;
+      int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
+      int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
+else
+  glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+  if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <pthread.h>
+int
+main ()
+{
+pthread_rwlock_t rwl; struct timespec ts;
+      int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
+      int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+  glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
+else
+  glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+fi
+
+fi
+
+  if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
+
+$as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
+
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
+$as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
+
+  CXXFLAGS="$ac_save_CXXFLAGS"
+  LIBS="$ac_save_LIBS"
+  ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+
 
   ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
-if test "x$ac_cv_header_locale_h" = x""yes; then :
+if test "x$ac_cv_header_locale_h" = xyes; then :
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
 $as_echo_n "checking for LC_MESSAGES... " >&6; }
-if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
+if ${ac_cv_val_LC_MESSAGES+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -20350,7 +22099,7 @@ fi
 for ac_header in sys/sysinfo.h
 do :
   ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
-if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
+if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SYS_SYSINFO_H 1
 _ACEOF
@@ -20373,7 +22122,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
 $as_echo_n "checking for get_nprocs... " >&6; }
-  if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
+  if ${glibcxx_cv_GET_NPROCS+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -20397,7 +22146,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -20440,7 +22189,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 for ac_header in unistd.h
 do :
   ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
-if test "x$ac_cv_header_unistd_h" = x""yes; then :
+if test "x$ac_cv_header_unistd_h" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_UNISTD_H 1
 _ACEOF
@@ -20463,7 +22212,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
-  if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
+  if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -20487,7 +22236,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -20541,7 +22290,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
-  if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
+  if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -20565,7 +22314,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -20619,7 +22368,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
-  if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
+  if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -20643,7 +22392,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -20697,7 +22446,7 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
-  if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
+  if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -20729,7 +22478,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -20790,7 +22539,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-  if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
+  if ${glibcxx_cv_sys_sdt_h+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -20837,12 +22586,11 @@ for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
-wchar.h wctype.h
+wchar.h wctype.h linux/types.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-eval as_val=\$$as_ac_Header
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
 done
 
 
+for ac_header in linux/random.h
+do :
+  ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
+# include <linux/types.h>
+#endif
+
+"
+if test "x$ac_cv_header_linux_random_h" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_LINUX_RANDOM_H 1
+_ACEOF
+
+fi
+
+done
+
+
 # Only do link tests if native. Else, hardcode.
 if $GLIBCXX_IS_NATIVE; then
 
@@ -20906,7 +22671,7 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 $as_echo_n "checking for non-GNU ld... " >&6; }
 fi
-if test "${lt_cv_path_LD+set}" = set; then :
+if ${lt_cv_path_LD+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$LD"; then
@@ -20943,10 +22708,10 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
 fi
-test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
-if test "${lt_cv_prog_gnu_ld+set}" = set; then :
+if ${lt_cv_prog_gnu_ld+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   # I'd rather use --version here, but apparently some GNU lds only accept -v.
@@ -21003,7 +22768,7 @@ $as_echo_n "checking for ld version... " >&6; }
       glibcxx_ld_is_gold=yes
     fi
     ldver=`$LD --version 2>/dev/null |
-          sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
+          sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
 
     glibcxx_gnu_ld_version=`echo $ldver | \
           $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
@@ -21037,7 +22802,7 @@ $as_echo "$glibcxx_gnu_ld_version" >&6; }
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
     if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -21114,13 +22879,13 @@ $as_echo "$ac_ld_relro" >&6; }
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
 $as_echo_n "checking for sin in -lm... " >&6; }
-if test "${ac_cv_lib_m_sin+set}" = set; then :
+if ${ac_cv_lib_m_sin+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lm  $LIBS"
 if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -21151,7 +22916,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
 $as_echo "$ac_cv_lib_m_sin" >&6; }
-if test "x$ac_cv_lib_m_sin" = x""yes; then :
+if test "x$ac_cv_lib_m_sin" = xyes; then :
   libm="-lm"
 fi
 
@@ -21163,7 +22928,7 @@ fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
 $as_echo_n "checking for isinf declaration... " >&6; }
   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
+    if ${glibcxx_cv_func_isinf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -21212,7 +22977,7 @@ $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
     for ac_func in isinf
 do :
   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
-if test "x$ac_cv_func_isinf" = x""yes; then :
+if test "x$ac_cv_func_isinf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISINF 1
 _ACEOF
@@ -21225,7 +22990,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
 $as_echo_n "checking for _isinf declaration... " >&6; }
   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
+    if ${glibcxx_cv_func__isinf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -21274,7 +23039,7 @@ $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
       for ac_func in _isinf
 do :
   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
-if test "x$ac_cv_func__isinf" = x""yes; then :
+if test "x$ac_cv_func__isinf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISINF 1
 _ACEOF
@@ -21292,7 +23057,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
 $as_echo_n "checking for isnan declaration... " >&6; }
   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
+    if ${glibcxx_cv_func_isnan_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -21341,7 +23106,7 @@ $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
     for ac_func in isnan
 do :
   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
-if test "x$ac_cv_func_isnan" = x""yes; then :
+if test "x$ac_cv_func_isnan" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISNAN 1
 _ACEOF
@@ -21354,7 +23119,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
 $as_echo_n "checking for _isnan declaration... " >&6; }
   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
+    if ${glibcxx_cv_func__isnan_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -21403,7 +23168,7 @@ $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
       for ac_func in _isnan
 do :
   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
-if test "x$ac_cv_func__isnan" = x""yes; then :
+if test "x$ac_cv_func__isnan" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISNAN 1
 _ACEOF
@@ -21421,7 +23186,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
 $as_echo_n "checking for finite declaration... " >&6; }
   if test x${glibcxx_cv_func_finite_use+set} != xset; then
-    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
+    if ${glibcxx_cv_func_finite_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -21470,7 +23235,7 @@ $as_echo "$glibcxx_cv_func_finite_use" >&6; }
     for ac_func in finite
 do :
   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
-if test "x$ac_cv_func_finite" = x""yes; then :
+if test "x$ac_cv_func_finite" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FINITE 1
 _ACEOF
@@ -21483,7 +23248,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
 $as_echo_n "checking for _finite declaration... " >&6; }
   if test x${glibcxx_cv_func__finite_use+set} != xset; then
-    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
+    if ${glibcxx_cv_func__finite_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -21532,7 +23297,7 @@ $as_echo "$glibcxx_cv_func__finite_use" >&6; }
       for ac_func in _finite
 do :
   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
-if test "x$ac_cv_func__finite" = x""yes; then :
+if test "x$ac_cv_func__finite" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FINITE 1
 _ACEOF
@@ -21550,7 +23315,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
 $as_echo_n "checking for sincos declaration... " >&6; }
   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
+    if ${glibcxx_cv_func_sincos_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -21595,7 +23360,7 @@ $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
     for ac_func in sincos
 do :
   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
-if test "x$ac_cv_func_sincos" = x""yes; then :
+if test "x$ac_cv_func_sincos" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SINCOS 1
 _ACEOF
@@ -21608,7 +23373,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
 $as_echo_n "checking for _sincos declaration... " >&6; }
   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
+    if ${glibcxx_cv_func__sincos_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -21653,7 +23418,7 @@ $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
       for ac_func in _sincos
 do :
   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
-if test "x$ac_cv_func__sincos" = x""yes; then :
+if test "x$ac_cv_func__sincos" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SINCOS 1
 _ACEOF
@@ -21671,7 +23436,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
 $as_echo_n "checking for fpclass declaration... " >&6; }
   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
+    if ${glibcxx_cv_func_fpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -21720,7 +23485,7 @@ $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
     for ac_func in fpclass
 do :
   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
-if test "x$ac_cv_func_fpclass" = x""yes; then :
+if test "x$ac_cv_func_fpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FPCLASS 1
 _ACEOF
@@ -21733,7 +23498,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
 $as_echo_n "checking for _fpclass declaration... " >&6; }
   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
+    if ${glibcxx_cv_func__fpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -21782,7 +23547,7 @@ $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
       for ac_func in _fpclass
 do :
   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
-if test "x$ac_cv_func__fpclass" = x""yes; then :
+if test "x$ac_cv_func__fpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FPCLASS 1
 _ACEOF
@@ -21800,7 +23565,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
 $as_echo_n "checking for qfpclass declaration... " >&6; }
   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
+    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -21849,7 +23614,7 @@ $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
     for ac_func in qfpclass
 do :
   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
-if test "x$ac_cv_func_qfpclass" = x""yes; then :
+if test "x$ac_cv_func_qfpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_QFPCLASS 1
 _ACEOF
@@ -21862,7 +23627,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
 $as_echo_n "checking for _qfpclass declaration... " >&6; }
   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
+    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -21911,7 +23676,7 @@ $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
       for ac_func in _qfpclass
 do :
   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
-if test "x$ac_cv_func__qfpclass" = x""yes; then :
+if test "x$ac_cv_func__qfpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__QFPCLASS 1
 _ACEOF
@@ -21929,7 +23694,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
 $as_echo_n "checking for hypot declaration... " >&6; }
   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
+    if ${glibcxx_cv_func_hypot_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -21974,7 +23739,7 @@ $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
     for ac_func in hypot
 do :
   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
-if test "x$ac_cv_func_hypot" = x""yes; then :
+if test "x$ac_cv_func_hypot" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_HYPOT 1
 _ACEOF
@@ -21987,7 +23752,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
 $as_echo_n "checking for _hypot declaration... " >&6; }
   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
+    if ${glibcxx_cv_func__hypot_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -22032,7 +23797,7 @@ $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
       for ac_func in _hypot
 do :
   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
-if test "x$ac_cv_func__hypot" = x""yes; then :
+if test "x$ac_cv_func__hypot" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__HYPOT 1
 _ACEOF
@@ -22049,7 +23814,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
 $as_echo_n "checking for float trig functions... " >&6; }
-  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
+  if ${glibcxx_cv_func_float_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -22092,8 +23857,7 @@ $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -22104,7 +23868,7 @@ done
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
 $as_echo_n "checking for _float trig functions... " >&6; }
-    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
+    if ${glibcxx_cv_func__float_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -22147,8 +23911,7 @@ $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -22165,7 +23928,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
 $as_echo_n "checking for float round functions... " >&6; }
-  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
+  if ${glibcxx_cv_func_float_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -22208,8 +23971,7 @@ $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -22220,7 +23982,7 @@ done
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
 $as_echo_n "checking for _float round functions... " >&6; }
-    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
+    if ${glibcxx_cv_func__float_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -22263,8 +24025,7 @@ $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -22283,7 +24044,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
 $as_echo_n "checking for expf declaration... " >&6; }
   if test x${glibcxx_cv_func_expf_use+set} != xset; then
-    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
+    if ${glibcxx_cv_func_expf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -22332,7 +24093,7 @@ $as_echo "$glibcxx_cv_func_expf_use" >&6; }
     for ac_func in expf
 do :
   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
-if test "x$ac_cv_func_expf" = x""yes; then :
+if test "x$ac_cv_func_expf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_EXPF 1
 _ACEOF
@@ -22345,7 +24106,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
 $as_echo_n "checking for _expf declaration... " >&6; }
   if test x${glibcxx_cv_func__expf_use+set} != xset; then
-    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
+    if ${glibcxx_cv_func__expf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -22394,7 +24155,7 @@ $as_echo "$glibcxx_cv_func__expf_use" >&6; }
       for ac_func in _expf
 do :
   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
-if test "x$ac_cv_func__expf" = x""yes; then :
+if test "x$ac_cv_func__expf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__EXPF 1
 _ACEOF
@@ -22412,7 +24173,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
 $as_echo_n "checking for isnanf declaration... " >&6; }
   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
+    if ${glibcxx_cv_func_isnanf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -22461,7 +24222,7 @@ $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
     for ac_func in isnanf
 do :
   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
-if test "x$ac_cv_func_isnanf" = x""yes; then :
+if test "x$ac_cv_func_isnanf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISNANF 1
 _ACEOF
@@ -22474,7 +24235,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
 $as_echo_n "checking for _isnanf declaration... " >&6; }
   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
+    if ${glibcxx_cv_func__isnanf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -22523,7 +24284,7 @@ $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
       for ac_func in _isnanf
 do :
   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
-if test "x$ac_cv_func__isnanf" = x""yes; then :
+if test "x$ac_cv_func__isnanf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISNANF 1
 _ACEOF
@@ -22541,7 +24302,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
 $as_echo_n "checking for isinff declaration... " >&6; }
   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
+    if ${glibcxx_cv_func_isinff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -22590,7 +24351,7 @@ $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
     for ac_func in isinff
 do :
   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
-if test "x$ac_cv_func_isinff" = x""yes; then :
+if test "x$ac_cv_func_isinff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISINFF 1
 _ACEOF
@@ -22603,7 +24364,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
 $as_echo_n "checking for _isinff declaration... " >&6; }
   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
+    if ${glibcxx_cv_func__isinff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -22652,7 +24413,7 @@ $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
       for ac_func in _isinff
 do :
   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
-if test "x$ac_cv_func__isinff" = x""yes; then :
+if test "x$ac_cv_func__isinff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISINFF 1
 _ACEOF
@@ -22670,7 +24431,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
 $as_echo_n "checking for atan2f declaration... " >&6; }
   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
+    if ${glibcxx_cv_func_atan2f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -22715,7 +24476,7 @@ $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
     for ac_func in atan2f
 do :
   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
-if test "x$ac_cv_func_atan2f" = x""yes; then :
+if test "x$ac_cv_func_atan2f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ATAN2F 1
 _ACEOF
@@ -22728,7 +24489,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
 $as_echo_n "checking for _atan2f declaration... " >&6; }
   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
+    if ${glibcxx_cv_func__atan2f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -22773,7 +24534,7 @@ $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
       for ac_func in _atan2f
 do :
   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
-if test "x$ac_cv_func__atan2f" = x""yes; then :
+if test "x$ac_cv_func__atan2f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ATAN2F 1
 _ACEOF
@@ -22791,7 +24552,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
 $as_echo_n "checking for fabsf declaration... " >&6; }
   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
+    if ${glibcxx_cv_func_fabsf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -22840,7 +24601,7 @@ $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
     for ac_func in fabsf
 do :
   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
-if test "x$ac_cv_func_fabsf" = x""yes; then :
+if test "x$ac_cv_func_fabsf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FABSF 1
 _ACEOF
@@ -22853,7 +24614,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
 $as_echo_n "checking for _fabsf declaration... " >&6; }
   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
+    if ${glibcxx_cv_func__fabsf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -22902,7 +24663,7 @@ $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
       for ac_func in _fabsf
 do :
   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
-if test "x$ac_cv_func__fabsf" = x""yes; then :
+if test "x$ac_cv_func__fabsf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FABSF 1
 _ACEOF
@@ -22920,7 +24681,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
 $as_echo_n "checking for fmodf declaration... " >&6; }
   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
+    if ${glibcxx_cv_func_fmodf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -22965,7 +24726,7 @@ $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
     for ac_func in fmodf
 do :
   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
-if test "x$ac_cv_func_fmodf" = x""yes; then :
+if test "x$ac_cv_func_fmodf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FMODF 1
 _ACEOF
@@ -22978,7 +24739,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
 $as_echo_n "checking for _fmodf declaration... " >&6; }
   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
+    if ${glibcxx_cv_func__fmodf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23023,7 +24784,7 @@ $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
       for ac_func in _fmodf
 do :
   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
-if test "x$ac_cv_func__fmodf" = x""yes; then :
+if test "x$ac_cv_func__fmodf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FMODF 1
 _ACEOF
@@ -23041,7 +24802,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
 $as_echo_n "checking for frexpf declaration... " >&6; }
   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
+    if ${glibcxx_cv_func_frexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23086,7 +24847,7 @@ $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
     for ac_func in frexpf
 do :
   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
-if test "x$ac_cv_func_frexpf" = x""yes; then :
+if test "x$ac_cv_func_frexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FREXPF 1
 _ACEOF
@@ -23099,7 +24860,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
 $as_echo_n "checking for _frexpf declaration... " >&6; }
   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
+    if ${glibcxx_cv_func__frexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23144,7 +24905,7 @@ $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
       for ac_func in _frexpf
 do :
   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
-if test "x$ac_cv_func__frexpf" = x""yes; then :
+if test "x$ac_cv_func__frexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FREXPF 1
 _ACEOF
@@ -23162,7 +24923,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
 $as_echo_n "checking for hypotf declaration... " >&6; }
   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
+    if ${glibcxx_cv_func_hypotf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23207,7 +24968,7 @@ $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
     for ac_func in hypotf
 do :
   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
-if test "x$ac_cv_func_hypotf" = x""yes; then :
+if test "x$ac_cv_func_hypotf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_HYPOTF 1
 _ACEOF
@@ -23220,7 +24981,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
 $as_echo_n "checking for _hypotf declaration... " >&6; }
   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
+    if ${glibcxx_cv_func__hypotf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23265,7 +25026,7 @@ $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
       for ac_func in _hypotf
 do :
   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
-if test "x$ac_cv_func__hypotf" = x""yes; then :
+if test "x$ac_cv_func__hypotf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__HYPOTF 1
 _ACEOF
@@ -23283,7 +25044,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
 $as_echo_n "checking for ldexpf declaration... " >&6; }
   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
+    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23328,7 +25089,7 @@ $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
     for ac_func in ldexpf
 do :
   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
-if test "x$ac_cv_func_ldexpf" = x""yes; then :
+if test "x$ac_cv_func_ldexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LDEXPF 1
 _ACEOF
@@ -23341,7 +25102,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
 $as_echo_n "checking for _ldexpf declaration... " >&6; }
   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
+    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23386,7 +25147,7 @@ $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
       for ac_func in _ldexpf
 do :
   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
-if test "x$ac_cv_func__ldexpf" = x""yes; then :
+if test "x$ac_cv_func__ldexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LDEXPF 1
 _ACEOF
@@ -23404,7 +25165,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
 $as_echo_n "checking for logf declaration... " >&6; }
   if test x${glibcxx_cv_func_logf_use+set} != xset; then
-    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
+    if ${glibcxx_cv_func_logf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23453,7 +25214,7 @@ $as_echo "$glibcxx_cv_func_logf_use" >&6; }
     for ac_func in logf
 do :
   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
-if test "x$ac_cv_func_logf" = x""yes; then :
+if test "x$ac_cv_func_logf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOGF 1
 _ACEOF
@@ -23466,7 +25227,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
 $as_echo_n "checking for _logf declaration... " >&6; }
   if test x${glibcxx_cv_func__logf_use+set} != xset; then
-    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
+    if ${glibcxx_cv_func__logf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23515,7 +25276,7 @@ $as_echo "$glibcxx_cv_func__logf_use" >&6; }
       for ac_func in _logf
 do :
   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
-if test "x$ac_cv_func__logf" = x""yes; then :
+if test "x$ac_cv_func__logf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LOGF 1
 _ACEOF
@@ -23533,7 +25294,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
 $as_echo_n "checking for log10f declaration... " >&6; }
   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
+    if ${glibcxx_cv_func_log10f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23582,7 +25343,7 @@ $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
     for ac_func in log10f
 do :
   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
-if test "x$ac_cv_func_log10f" = x""yes; then :
+if test "x$ac_cv_func_log10f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOG10F 1
 _ACEOF
@@ -23595,7 +25356,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
 $as_echo_n "checking for _log10f declaration... " >&6; }
   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
+    if ${glibcxx_cv_func__log10f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23644,7 +25405,7 @@ $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
       for ac_func in _log10f
 do :
   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
-if test "x$ac_cv_func__log10f" = x""yes; then :
+if test "x$ac_cv_func__log10f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LOG10F 1
 _ACEOF
@@ -23662,7 +25423,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
 $as_echo_n "checking for modff declaration... " >&6; }
   if test x${glibcxx_cv_func_modff_use+set} != xset; then
-    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
+    if ${glibcxx_cv_func_modff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23707,7 +25468,7 @@ $as_echo "$glibcxx_cv_func_modff_use" >&6; }
     for ac_func in modff
 do :
   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
-if test "x$ac_cv_func_modff" = x""yes; then :
+if test "x$ac_cv_func_modff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_MODFF 1
 _ACEOF
@@ -23720,7 +25481,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
 $as_echo_n "checking for _modff declaration... " >&6; }
   if test x${glibcxx_cv_func__modff_use+set} != xset; then
-    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
+    if ${glibcxx_cv_func__modff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23765,7 +25526,7 @@ $as_echo "$glibcxx_cv_func__modff_use" >&6; }
       for ac_func in _modff
 do :
   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
-if test "x$ac_cv_func__modff" = x""yes; then :
+if test "x$ac_cv_func__modff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__MODFF 1
 _ACEOF
@@ -23783,7 +25544,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
 $as_echo_n "checking for modf declaration... " >&6; }
   if test x${glibcxx_cv_func_modf_use+set} != xset; then
-    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
+    if ${glibcxx_cv_func_modf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23828,7 +25589,7 @@ $as_echo "$glibcxx_cv_func_modf_use" >&6; }
     for ac_func in modf
 do :
   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
-if test "x$ac_cv_func_modf" = x""yes; then :
+if test "x$ac_cv_func_modf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_MODF 1
 _ACEOF
@@ -23841,7 +25602,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
 $as_echo_n "checking for _modf declaration... " >&6; }
   if test x${glibcxx_cv_func__modf_use+set} != xset; then
-    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
+    if ${glibcxx_cv_func__modf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23886,7 +25647,7 @@ $as_echo "$glibcxx_cv_func__modf_use" >&6; }
       for ac_func in _modf
 do :
   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
-if test "x$ac_cv_func__modf" = x""yes; then :
+if test "x$ac_cv_func__modf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__MODF 1
 _ACEOF
@@ -23904,7 +25665,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
 $as_echo_n "checking for powf declaration... " >&6; }
   if test x${glibcxx_cv_func_powf_use+set} != xset; then
-    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
+    if ${glibcxx_cv_func_powf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -23949,7 +25710,7 @@ $as_echo "$glibcxx_cv_func_powf_use" >&6; }
     for ac_func in powf
 do :
   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
-if test "x$ac_cv_func_powf" = x""yes; then :
+if test "x$ac_cv_func_powf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_POWF 1
 _ACEOF
@@ -23962,7 +25723,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
 $as_echo_n "checking for _powf declaration... " >&6; }
   if test x${glibcxx_cv_func__powf_use+set} != xset; then
-    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
+    if ${glibcxx_cv_func__powf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24007,7 +25768,7 @@ $as_echo "$glibcxx_cv_func__powf_use" >&6; }
       for ac_func in _powf
 do :
   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
-if test "x$ac_cv_func__powf" = x""yes; then :
+if test "x$ac_cv_func__powf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__POWF 1
 _ACEOF
@@ -24025,7 +25786,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
 $as_echo_n "checking for sqrtf declaration... " >&6; }
   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
+    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24074,7 +25835,7 @@ $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
     for ac_func in sqrtf
 do :
   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
-if test "x$ac_cv_func_sqrtf" = x""yes; then :
+if test "x$ac_cv_func_sqrtf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SQRTF 1
 _ACEOF
@@ -24087,7 +25848,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
 $as_echo_n "checking for _sqrtf declaration... " >&6; }
   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
+    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24136,7 +25897,7 @@ $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
       for ac_func in _sqrtf
 do :
   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
-if test "x$ac_cv_func__sqrtf" = x""yes; then :
+if test "x$ac_cv_func__sqrtf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SQRTF 1
 _ACEOF
@@ -24154,7 +25915,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
 $as_echo_n "checking for sincosf declaration... " >&6; }
   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
+    if ${glibcxx_cv_func_sincosf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24199,7 +25960,7 @@ $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
     for ac_func in sincosf
 do :
   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
-if test "x$ac_cv_func_sincosf" = x""yes; then :
+if test "x$ac_cv_func_sincosf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SINCOSF 1
 _ACEOF
@@ -24212,7 +25973,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
 $as_echo_n "checking for _sincosf declaration... " >&6; }
   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
+    if ${glibcxx_cv_func__sincosf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24257,7 +26018,7 @@ $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
       for ac_func in _sincosf
 do :
   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
-if test "x$ac_cv_func__sincosf" = x""yes; then :
+if test "x$ac_cv_func__sincosf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SINCOSF 1
 _ACEOF
@@ -24275,7 +26036,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
 $as_echo_n "checking for finitef declaration... " >&6; }
   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
+    if ${glibcxx_cv_func_finitef_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24324,7 +26085,7 @@ $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
     for ac_func in finitef
 do :
   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
-if test "x$ac_cv_func_finitef" = x""yes; then :
+if test "x$ac_cv_func_finitef" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FINITEF 1
 _ACEOF
@@ -24337,7 +26098,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
 $as_echo_n "checking for _finitef declaration... " >&6; }
   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
+    if ${glibcxx_cv_func__finitef_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24386,7 +26147,7 @@ $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
       for ac_func in _finitef
 do :
   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
-if test "x$ac_cv_func__finitef" = x""yes; then :
+if test "x$ac_cv_func__finitef" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FINITEF 1
 _ACEOF
@@ -24403,7 +26164,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
 $as_echo_n "checking for long double trig functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
+  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24446,8 +26207,7 @@ $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -24458,7 +26218,7 @@ done
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
 $as_echo_n "checking for _long double trig functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
+    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24501,8 +26261,7 @@ $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -24519,7 +26278,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
 $as_echo_n "checking for long double round functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
+  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24562,8 +26321,7 @@ $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -24574,7 +26332,7 @@ done
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
 $as_echo_n "checking for _long double round functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
+    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24617,8 +26375,7 @@ $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -24637,7 +26394,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
 $as_echo_n "checking for isnanl declaration... " >&6; }
   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
+    if ${glibcxx_cv_func_isnanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24686,7 +26443,7 @@ $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
     for ac_func in isnanl
 do :
   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
-if test "x$ac_cv_func_isnanl" = x""yes; then :
+if test "x$ac_cv_func_isnanl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISNANL 1
 _ACEOF
@@ -24699,7 +26456,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
 $as_echo_n "checking for _isnanl declaration... " >&6; }
   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
+    if ${glibcxx_cv_func__isnanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24748,7 +26505,7 @@ $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
       for ac_func in _isnanl
 do :
   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
-if test "x$ac_cv_func__isnanl" = x""yes; then :
+if test "x$ac_cv_func__isnanl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISNANL 1
 _ACEOF
@@ -24766,7 +26523,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
 $as_echo_n "checking for isinfl declaration... " >&6; }
   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
+    if ${glibcxx_cv_func_isinfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24815,7 +26572,7 @@ $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
     for ac_func in isinfl
 do :
   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
-if test "x$ac_cv_func_isinfl" = x""yes; then :
+if test "x$ac_cv_func_isinfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISINFL 1
 _ACEOF
@@ -24828,7 +26585,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
 $as_echo_n "checking for _isinfl declaration... " >&6; }
   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
+    if ${glibcxx_cv_func__isinfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24877,7 +26634,7 @@ $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
       for ac_func in _isinfl
 do :
   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
-if test "x$ac_cv_func__isinfl" = x""yes; then :
+if test "x$ac_cv_func__isinfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISINFL 1
 _ACEOF
@@ -24895,7 +26652,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
 $as_echo_n "checking for atan2l declaration... " >&6; }
   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
+    if ${glibcxx_cv_func_atan2l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24940,7 +26697,7 @@ $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
     for ac_func in atan2l
 do :
   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
-if test "x$ac_cv_func_atan2l" = x""yes; then :
+if test "x$ac_cv_func_atan2l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ATAN2L 1
 _ACEOF
@@ -24953,7 +26710,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
 $as_echo_n "checking for _atan2l declaration... " >&6; }
   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
+    if ${glibcxx_cv_func__atan2l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -24998,7 +26755,7 @@ $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
       for ac_func in _atan2l
 do :
   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
-if test "x$ac_cv_func__atan2l" = x""yes; then :
+if test "x$ac_cv_func__atan2l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ATAN2L 1
 _ACEOF
@@ -25016,7 +26773,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
 $as_echo_n "checking for expl declaration... " >&6; }
   if test x${glibcxx_cv_func_expl_use+set} != xset; then
-    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
+    if ${glibcxx_cv_func_expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -25065,7 +26822,7 @@ $as_echo "$glibcxx_cv_func_expl_use" >&6; }
     for ac_func in expl
 do :
   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
-if test "x$ac_cv_func_expl" = x""yes; then :
+if test "x$ac_cv_func_expl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_EXPL 1
 _ACEOF
@@ -25078,7 +26835,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
 $as_echo_n "checking for _expl declaration... " >&6; }
   if test x${glibcxx_cv_func__expl_use+set} != xset; then
-    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
+    if ${glibcxx_cv_func__expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -25127,7 +26884,7 @@ $as_echo "$glibcxx_cv_func__expl_use" >&6; }
       for ac_func in _expl
 do :
   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
-if test "x$ac_cv_func__expl" = x""yes; then :
+if test "x$ac_cv_func__expl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__EXPL 1
 _ACEOF
@@ -25145,7 +26902,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
 $as_echo_n "checking for fabsl declaration... " >&6; }
   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
+    if ${glibcxx_cv_func_fabsl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -25194,7 +26951,7 @@ $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
     for ac_func in fabsl
 do :
   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
-if test "x$ac_cv_func_fabsl" = x""yes; then :
+if test "x$ac_cv_func_fabsl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FABSL 1
 _ACEOF
@@ -25207,7 +26964,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
 $as_echo_n "checking for _fabsl declaration... " >&6; }
   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
+    if ${glibcxx_cv_func__fabsl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -25256,7 +27013,7 @@ $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
       for ac_func in _fabsl
 do :
   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
-if test "x$ac_cv_func__fabsl" = x""yes; then :
+if test "x$ac_cv_func__fabsl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FABSL 1
 _ACEOF
@@ -25274,7 +27031,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
 $as_echo_n "checking for fmodl declaration... " >&6; }
   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
+    if ${glibcxx_cv_func_fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -25319,7 +27076,7 @@ $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
     for ac_func in fmodl
 do :
   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
-if test "x$ac_cv_func_fmodl" = x""yes; then :
+if test "x$ac_cv_func_fmodl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FMODL 1
 _ACEOF
@@ -25332,7 +27089,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
 $as_echo_n "checking for _fmodl declaration... " >&6; }
   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
+    if ${glibcxx_cv_func__fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -25377,7 +27134,7 @@ $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
       for ac_func in _fmodl
 do :
   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
-if test "x$ac_cv_func__fmodl" = x""yes; then :
+if test "x$ac_cv_func__fmodl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FMODL 1
 _ACEOF
@@ -25395,7 +27152,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
 $as_echo_n "checking for frexpl declaration... " >&6; }
   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
+    if ${glibcxx_cv_func_frexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -25440,7 +27197,7 @@ $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
     for ac_func in frexpl
 do :
   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
-if test "x$ac_cv_func_frexpl" = x""yes; then :
+if test "x$ac_cv_func_frexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FREXPL 1
 _ACEOF
@@ -25453,7 +27210,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
 $as_echo_n "checking for _frexpl declaration... " >&6; }
   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
+    if ${glibcxx_cv_func__frexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -25498,7 +27255,7 @@ $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
       for ac_func in _frexpl
 do :
   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
-if test "x$ac_cv_func__frexpl" = x""yes; then :
+if test "x$ac_cv_func__frexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FREXPL 1
 _ACEOF
@@ -25516,7 +27273,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
 $as_echo_n "checking for hypotl declaration... " >&6; }
   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
+    if ${glibcxx_cv_func_hypotl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -25561,7 +27318,7 @@ $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
     for ac_func in hypotl
 do :
   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
-if test "x$ac_cv_func_hypotl" = x""yes; then :
+if test "x$ac_cv_func_hypotl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_HYPOTL 1
 _ACEOF
@@ -25574,7 +27331,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
 $as_echo_n "checking for _hypotl declaration... " >&6; }
   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
+    if ${glibcxx_cv_func__hypotl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -25619,7 +27376,7 @@ $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
       for ac_func in _hypotl
 do :
   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
-if test "x$ac_cv_func__hypotl" = x""yes; then :
+if test "x$ac_cv_func__hypotl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__HYPOTL 1
 _ACEOF
@@ -25637,7 +27394,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
 $as_echo_n "checking for ldexpl declaration... " >&6; }
   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
+    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -25682,7 +27439,7 @@ $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
     for ac_func in ldexpl
 do :
   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
-if test "x$ac_cv_func_ldexpl" = x""yes; then :
+if test "x$ac_cv_func_ldexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LDEXPL 1
 _ACEOF
@@ -25695,7 +27452,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
 $as_echo_n "checking for _ldexpl declaration... " >&6; }
   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
+    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -25740,7 +27497,7 @@ $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
       for ac_func in _ldexpl
 do :
   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
-if test "x$ac_cv_func__ldexpl" = x""yes; then :
+if test "x$ac_cv_func__ldexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LDEXPL 1
 _ACEOF
@@ -25758,7 +27515,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
 $as_echo_n "checking for logl declaration... " >&6; }
   if test x${glibcxx_cv_func_logl_use+set} != xset; then
-    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
+    if ${glibcxx_cv_func_logl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -25807,7 +27564,7 @@ $as_echo "$glibcxx_cv_func_logl_use" >&6; }
     for ac_func in logl
 do :
   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
-if test "x$ac_cv_func_logl" = x""yes; then :
+if test "x$ac_cv_func_logl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOGL 1
 _ACEOF
@@ -25820,7 +27577,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
 $as_echo_n "checking for _logl declaration... " >&6; }
   if test x${glibcxx_cv_func__logl_use+set} != xset; then
-    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
+    if ${glibcxx_cv_func__logl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -25869,7 +27626,7 @@ $as_echo "$glibcxx_cv_func__logl_use" >&6; }
       for ac_func in _logl
 do :
   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
-if test "x$ac_cv_func__logl" = x""yes; then :
+if test "x$ac_cv_func__logl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LOGL 1
 _ACEOF
@@ -25887,7 +27644,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
 $as_echo_n "checking for log10l declaration... " >&6; }
   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
+    if ${glibcxx_cv_func_log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -25936,7 +27693,7 @@ $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
     for ac_func in log10l
 do :
   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
-if test "x$ac_cv_func_log10l" = x""yes; then :
+if test "x$ac_cv_func_log10l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOG10L 1
 _ACEOF
@@ -25949,7 +27706,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
 $as_echo_n "checking for _log10l declaration... " >&6; }
   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
+    if ${glibcxx_cv_func__log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -25998,7 +27755,7 @@ $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
       for ac_func in _log10l
 do :
   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
-if test "x$ac_cv_func__log10l" = x""yes; then :
+if test "x$ac_cv_func__log10l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LOG10L 1
 _ACEOF
@@ -26016,7 +27773,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
 $as_echo_n "checking for modfl declaration... " >&6; }
   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
+    if ${glibcxx_cv_func_modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -26061,7 +27818,7 @@ $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
     for ac_func in modfl
 do :
   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
-if test "x$ac_cv_func_modfl" = x""yes; then :
+if test "x$ac_cv_func_modfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_MODFL 1
 _ACEOF
@@ -26074,7 +27831,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
 $as_echo_n "checking for _modfl declaration... " >&6; }
   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
+    if ${glibcxx_cv_func__modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -26119,7 +27876,7 @@ $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
       for ac_func in _modfl
 do :
   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
-if test "x$ac_cv_func__modfl" = x""yes; then :
+if test "x$ac_cv_func__modfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__MODFL 1
 _ACEOF
@@ -26137,7 +27894,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
 $as_echo_n "checking for powl declaration... " >&6; }
   if test x${glibcxx_cv_func_powl_use+set} != xset; then
-    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
+    if ${glibcxx_cv_func_powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -26182,7 +27939,7 @@ $as_echo "$glibcxx_cv_func_powl_use" >&6; }
     for ac_func in powl
 do :
   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
-if test "x$ac_cv_func_powl" = x""yes; then :
+if test "x$ac_cv_func_powl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_POWL 1
 _ACEOF
@@ -26195,7 +27952,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
 $as_echo_n "checking for _powl declaration... " >&6; }
   if test x${glibcxx_cv_func__powl_use+set} != xset; then
-    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
+    if ${glibcxx_cv_func__powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -26240,7 +27997,7 @@ $as_echo "$glibcxx_cv_func__powl_use" >&6; }
       for ac_func in _powl
 do :
   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
-if test "x$ac_cv_func__powl" = x""yes; then :
+if test "x$ac_cv_func__powl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__POWL 1
 _ACEOF
@@ -26258,7 +28015,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
 $as_echo_n "checking for sqrtl declaration... " >&6; }
   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
+    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -26307,7 +28064,7 @@ $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
     for ac_func in sqrtl
 do :
   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
-if test "x$ac_cv_func_sqrtl" = x""yes; then :
+if test "x$ac_cv_func_sqrtl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SQRTL 1
 _ACEOF
@@ -26320,7 +28077,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
 $as_echo_n "checking for _sqrtl declaration... " >&6; }
   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
+    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -26369,7 +28126,7 @@ $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
       for ac_func in _sqrtl
 do :
   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
-if test "x$ac_cv_func__sqrtl" = x""yes; then :
+if test "x$ac_cv_func__sqrtl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SQRTL 1
 _ACEOF
@@ -26387,7 +28144,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
 $as_echo_n "checking for sincosl declaration... " >&6; }
   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
+    if ${glibcxx_cv_func_sincosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -26432,7 +28189,7 @@ $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
     for ac_func in sincosl
 do :
   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
-if test "x$ac_cv_func_sincosl" = x""yes; then :
+if test "x$ac_cv_func_sincosl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SINCOSL 1
 _ACEOF
@@ -26445,7 +28202,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
 $as_echo_n "checking for _sincosl declaration... " >&6; }
   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
+    if ${glibcxx_cv_func__sincosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -26490,7 +28247,7 @@ $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
       for ac_func in _sincosl
 do :
   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
-if test "x$ac_cv_func__sincosl" = x""yes; then :
+if test "x$ac_cv_func__sincosl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SINCOSL 1
 _ACEOF
@@ -26508,7 +28265,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
 $as_echo_n "checking for finitel declaration... " >&6; }
   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
+    if ${glibcxx_cv_func_finitel_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -26557,7 +28314,7 @@ $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
     for ac_func in finitel
 do :
   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
-if test "x$ac_cv_func_finitel" = x""yes; then :
+if test "x$ac_cv_func_finitel" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FINITEL 1
 _ACEOF
@@ -26570,7 +28327,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
 $as_echo_n "checking for _finitel declaration... " >&6; }
   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
+    if ${glibcxx_cv_func__finitel_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -26619,7 +28376,7 @@ $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
       for ac_func in _finitel
 do :
   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
-if test "x$ac_cv_func__finitel" = x""yes; then :
+if test "x$ac_cv_func__finitel" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FINITEL 1
 _ACEOF
@@ -26645,7 +28402,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
+    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -26689,7 +28446,7 @@ $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
     for ac_func in at_quick_exit
 do :
   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
-if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
+if test "x$ac_cv_func_at_quick_exit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_AT_QUICK_EXIT 1
 _ACEOF
@@ -26703,7 +28460,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
 $as_echo_n "checking for quick_exit declaration... " >&6; }
   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
+    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -26747,7 +28504,7 @@ $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
     for ac_func in quick_exit
 do :
   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
-if test "x$ac_cv_func_quick_exit" = x""yes; then :
+if test "x$ac_cv_func_quick_exit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_QUICK_EXIT 1
 _ACEOF
@@ -26761,7 +28518,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
 $as_echo_n "checking for strtold declaration... " >&6; }
   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
+    if ${glibcxx_cv_func_strtold_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -26805,7 +28562,7 @@ $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
     for ac_func in strtold
 do :
   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
-if test "x$ac_cv_func_strtold" = x""yes; then :
+if test "x$ac_cv_func_strtold" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_STRTOLD 1
 _ACEOF
@@ -26821,7 +28578,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
 $as_echo_n "checking for strtof declaration... " >&6; }
   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
+    if ${glibcxx_cv_func_strtof_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -26865,7 +28622,7 @@ $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
     for ac_func in strtof
 do :
   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
-if test "x$ac_cv_func_strtof" = x""yes; then :
+if test "x$ac_cv_func_strtof" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_STRTOF 1
 _ACEOF
@@ -26881,32 +28638,35 @@ done
   CXXFLAGS="$ac_save_CXXFLAGS"
 
 
-  # For /dev/random and /dev/urandom for TR1.
+  # For /dev/random and /dev/urandom for std::random_device.
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
-$as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
-  if test "${glibcxx_cv_random_tr1+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
+$as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
+  if ${glibcxx_cv_dev_random+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
     if test -r /dev/random && test -r /dev/urandom; then
-  ## For MSys environment the test above is detect as false-positive
-  ## on mingw-targets.  So disable it explicit for them.
+  ## For MSys environment the test above is detected as false-positive
+  ## on mingw-targets.  So disable it explicitly for them.
       case ${target_os} in
-       *mingw*) glibcxx_cv_random_tr1=no ;;
-       *) glibcxx_cv_random_tr1=yes ;;
+       *mingw*) glibcxx_cv_dev_random=no ;;
+       *) glibcxx_cv_dev_random=yes ;;
       esac
     else
-      glibcxx_cv_random_tr1=no;
+      glibcxx_cv_dev_random=no;
     fi
 
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
-$as_echo "$glibcxx_cv_random_tr1" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
+$as_echo "$glibcxx_cv_dev_random" >&6; }
+
+  if test x"$glibcxx_cv_dev_random" = x"yes"; then
+
+$as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
 
-  if test x"$glibcxx_cv_random_tr1" = x"yes"; then
 
 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
 
@@ -26922,7 +28682,7 @@ if test "${enable_tls+set}" = set; then :
   enableval=$enable_tls;
       case "$enableval" in
        yes|no) ;;
-       *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
+       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
       esac
 
 else
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
-if test "${gcc_cv_have_tls+set}" = set; then :
+if ${gcc_cv_have_tls+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
     if test "$cross_compiling" = yes; then :
                 if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -26947,14 +28707,14 @@ _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
   chktls_save_LDFLAGS="$LDFLAGS"
                          case $host in
-           *-*-linux*)
+           *-*-linux* | -*-uclinuxfdpic*)
              LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
              ;;
          esac
          chktls_save_CFLAGS="$CFLAGS"
          CFLAGS="-fPIC $CFLAGS"
                  if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -26962,7 +28722,7 @@ int f() { return 0; }
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -26998,7 +28758,7 @@ if ac_fn_c_try_run "$LINENO"; then :
                       chktls_save_LDFLAGS="$LDFLAGS"
       LDFLAGS="-static $LDFLAGS"
       if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -27008,8 +28768,8 @@ if ac_fn_c_try_link "$LINENO"; then :
   if test "$cross_compiling" = yes; then :
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot run test program while cross compiling
-See \`config.log' for more details." "$LINENO" 5; }
+as_fn_error $? "cannot run test program while cross compiling
+See \`config.log' for more details" "$LINENO" 5; }
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -27036,7 +28796,7 @@ rm -f core conftest.err conftest.$ac_objext \
        for flag in '' '-pthread' '-lpthread'; do
          CFLAGS="$flag $chktls_save_CFLAGS"
          if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -27065,8 +28825,8 @@ rm -f core conftest.err conftest.$ac_objext \
                                                  if test "$cross_compiling" = yes; then :
   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot run test program while cross compiling
-See \`config.log' for more details." "$LINENO" 5; }
+as_fn_error $? "cannot run test program while cross compiling
+See \`config.log' for more details" "$LINENO" 5; }
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -27124,12 +28884,62 @@ $as_echo "#define HAVE_TLS 1" >>confdefs.h
 
   fi
 
-  for ac_func in __cxa_thread_atexit_impl
+  for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
 do :
-  ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
-if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE___CXA_THREAD_ATEXIT_IMPL 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+  for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
+do :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+  for ac_func in _wfopen
+do :
+  ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
+if test "x$ac_cv_func__wfopen" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE__WFOPEN 1
+_ACEOF
+
+fi
+done
+
+
+  # C11 functions for C++17 library
+  for ac_func in timespec_get
+do :
+  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
+if test "x$ac_cv_func_timespec_get" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_TIMESPEC_GET 1
+_ACEOF
+
+fi
+done
+
+
+  # For Networking TS.
+  for ac_func in sockatmark
+do :
+  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
+if test "x$ac_cv_func_sockatmark" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_SOCKATMARK 1
 _ACEOF
 
 fi
@@ -27213,7 +29023,7 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
 $as_echo_n "checking for non-GNU ld... " >&6; }
 fi
-if test "${acl_cv_path_LD+set}" = set; then :
+if ${acl_cv_path_LD+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$LD"; then
@@ -27246,10 +29056,10 @@ else
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 $as_echo "no" >&6; }
 fi
-test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
+test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
-if test "${acl_cv_prog_gnu_ld+set}" = set; then :
+if ${acl_cv_prog_gnu_ld+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
@@ -27267,7 +29077,7 @@ with_gnu_ld=$acl_cv_prog_gnu_ld
 
                                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
 $as_echo_n "checking for shared library run path origin... " >&6; }
-if test "${acl_cv_rpath+set}" = set; then :
+if ${acl_cv_rpath+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -27685,7 +29495,7 @@ fi
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
 $as_echo_n "checking for iconv... " >&6; }
-if test "${am_cv_func_iconv+set}" = set; then :
+if ${am_cv_func_iconv+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -27694,7 +29504,7 @@ else
                     am_save_CPPFLAGS="$CPPFLAGS"
     CPPFLAGS="$CPPFLAGS $INCICONV"
     if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -27724,7 +29534,7 @@ rm -f core conftest.err conftest.$ac_objext \
         CPPFLAGS="$CPPFLAGS -I../libiconv/include"
         LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
         if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -27760,10 +29570,10 @@ rm -f core conftest.err conftest.$ac_objext \
     if test "$am_cv_func_iconv" != yes; then
       am_save_CPPFLAGS="$CPPFLAGS"
       am_save_LIBS="$LIBS"
-      CPPFLAGS="$LIBS $INCICONV"
+      CPPFLAGS="$CPPFLAGS $INCICONV"
       LIBS="$LIBS $LIBICONV"
       if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -27835,7 +29645,7 @@ $as_echo "$LIBICONV" >&6; }
   if test "$am_cv_func_iconv" = yes; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
 $as_echo_n "checking for iconv declaration... " >&6; }
-    if test "${am_cv_proto_iconv+set}" = set; then :
+    if ${am_cv_proto_iconv+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -27972,6 +29782,8 @@ else
 
     $as_echo "#define HAVE_ICONV 1" >>confdefs.h
 
+    $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
+
   else
 
 # Base decisions on target environment.
@@ -27980,6 +29792,55 @@ case "${host}" in
     # This is a freestanding configuration; there is nothing to do here.
     ;;
 
+  avr*-*-*)
+    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
+
+    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_COSF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
+
+    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_POWF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_SINF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_TANF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
+
+    ;;
+
   mips*-sde-elf*)
     # These definitions are for the SDE C library rather than newlib.
     SECTION_FLAGS='-ffunction-sections -fdata-sections'
@@ -27998,13 +29859,6 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   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
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
@@ -28047,7 +29901,6 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
 
-
   # 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...
@@ -28082,7 +29935,7 @@ $as_echo_n "checking for ld version... " >&6; }
       glibcxx_ld_is_gold=yes
     fi
     ldver=`$LD --version 2>/dev/null |
-          sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
+          sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
 
     glibcxx_gnu_ld_version=`echo $ldver | \
           $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
@@ -28116,7 +29969,7 @@ $as_echo "$glibcxx_gnu_ld_version" >&6; }
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
     if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -28193,13 +30046,13 @@ $as_echo "$ac_ld_relro" >&6; }
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
 $as_echo_n "checking for sin in -lm... " >&6; }
-if test "${ac_cv_lib_m_sin+set}" = set; then :
+if ${ac_cv_lib_m_sin+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lm  $LIBS"
 if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -28230,7 +30083,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
 $as_echo "$ac_cv_lib_m_sin" >&6; }
-if test "x$ac_cv_lib_m_sin" = x""yes; then :
+if test "x$ac_cv_lib_m_sin" = xyes; then :
   libm="-lm"
 fi
 
@@ -28242,7 +30095,7 @@ fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
 $as_echo_n "checking for isinf declaration... " >&6; }
   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
+    if ${glibcxx_cv_func_isinf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -28291,7 +30144,7 @@ $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
     for ac_func in isinf
 do :
   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
-if test "x$ac_cv_func_isinf" = x""yes; then :
+if test "x$ac_cv_func_isinf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISINF 1
 _ACEOF
@@ -28304,7 +30157,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
 $as_echo_n "checking for _isinf declaration... " >&6; }
   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
+    if ${glibcxx_cv_func__isinf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -28353,7 +30206,7 @@ $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
       for ac_func in _isinf
 do :
   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
-if test "x$ac_cv_func__isinf" = x""yes; then :
+if test "x$ac_cv_func__isinf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISINF 1
 _ACEOF
@@ -28371,7 +30224,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
 $as_echo_n "checking for isnan declaration... " >&6; }
   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
+    if ${glibcxx_cv_func_isnan_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -28420,7 +30273,7 @@ $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
     for ac_func in isnan
 do :
   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
-if test "x$ac_cv_func_isnan" = x""yes; then :
+if test "x$ac_cv_func_isnan" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISNAN 1
 _ACEOF
@@ -28433,7 +30286,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
 $as_echo_n "checking for _isnan declaration... " >&6; }
   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
+    if ${glibcxx_cv_func__isnan_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -28482,7 +30335,7 @@ $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
       for ac_func in _isnan
 do :
   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
-if test "x$ac_cv_func__isnan" = x""yes; then :
+if test "x$ac_cv_func__isnan" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISNAN 1
 _ACEOF
@@ -28500,7 +30353,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
 $as_echo_n "checking for finite declaration... " >&6; }
   if test x${glibcxx_cv_func_finite_use+set} != xset; then
-    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
+    if ${glibcxx_cv_func_finite_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -28549,7 +30402,7 @@ $as_echo "$glibcxx_cv_func_finite_use" >&6; }
     for ac_func in finite
 do :
   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
-if test "x$ac_cv_func_finite" = x""yes; then :
+if test "x$ac_cv_func_finite" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FINITE 1
 _ACEOF
@@ -28562,7 +30415,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
 $as_echo_n "checking for _finite declaration... " >&6; }
   if test x${glibcxx_cv_func__finite_use+set} != xset; then
-    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
+    if ${glibcxx_cv_func__finite_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -28611,7 +30464,7 @@ $as_echo "$glibcxx_cv_func__finite_use" >&6; }
       for ac_func in _finite
 do :
   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
-if test "x$ac_cv_func__finite" = x""yes; then :
+if test "x$ac_cv_func__finite" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FINITE 1
 _ACEOF
@@ -28629,7 +30482,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
 $as_echo_n "checking for sincos declaration... " >&6; }
   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
+    if ${glibcxx_cv_func_sincos_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -28674,7 +30527,7 @@ $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
     for ac_func in sincos
 do :
   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
-if test "x$ac_cv_func_sincos" = x""yes; then :
+if test "x$ac_cv_func_sincos" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SINCOS 1
 _ACEOF
@@ -28687,7 +30540,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
 $as_echo_n "checking for _sincos declaration... " >&6; }
   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
+    if ${glibcxx_cv_func__sincos_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -28732,7 +30585,7 @@ $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
       for ac_func in _sincos
 do :
   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
-if test "x$ac_cv_func__sincos" = x""yes; then :
+if test "x$ac_cv_func__sincos" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SINCOS 1
 _ACEOF
@@ -28750,7 +30603,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
 $as_echo_n "checking for fpclass declaration... " >&6; }
   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
+    if ${glibcxx_cv_func_fpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -28799,7 +30652,7 @@ $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
     for ac_func in fpclass
 do :
   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
-if test "x$ac_cv_func_fpclass" = x""yes; then :
+if test "x$ac_cv_func_fpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FPCLASS 1
 _ACEOF
@@ -28812,7 +30665,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
 $as_echo_n "checking for _fpclass declaration... " >&6; }
   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
+    if ${glibcxx_cv_func__fpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -28861,7 +30714,7 @@ $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
       for ac_func in _fpclass
 do :
   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
-if test "x$ac_cv_func__fpclass" = x""yes; then :
+if test "x$ac_cv_func__fpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FPCLASS 1
 _ACEOF
@@ -28879,7 +30732,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
 $as_echo_n "checking for qfpclass declaration... " >&6; }
   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
+    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -28928,7 +30781,7 @@ $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
     for ac_func in qfpclass
 do :
   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
-if test "x$ac_cv_func_qfpclass" = x""yes; then :
+if test "x$ac_cv_func_qfpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_QFPCLASS 1
 _ACEOF
@@ -28941,7 +30794,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
 $as_echo_n "checking for _qfpclass declaration... " >&6; }
   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
+    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -28990,7 +30843,7 @@ $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
       for ac_func in _qfpclass
 do :
   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
-if test "x$ac_cv_func__qfpclass" = x""yes; then :
+if test "x$ac_cv_func__qfpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__QFPCLASS 1
 _ACEOF
@@ -29008,7 +30861,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
 $as_echo_n "checking for hypot declaration... " >&6; }
   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
+    if ${glibcxx_cv_func_hypot_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -29053,7 +30906,7 @@ $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
     for ac_func in hypot
 do :
   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
-if test "x$ac_cv_func_hypot" = x""yes; then :
+if test "x$ac_cv_func_hypot" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_HYPOT 1
 _ACEOF
@@ -29066,7 +30919,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
 $as_echo_n "checking for _hypot declaration... " >&6; }
   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
+    if ${glibcxx_cv_func__hypot_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -29111,7 +30964,7 @@ $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
       for ac_func in _hypot
 do :
   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
-if test "x$ac_cv_func__hypot" = x""yes; then :
+if test "x$ac_cv_func__hypot" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__HYPOT 1
 _ACEOF
@@ -29128,7 +30981,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
 $as_echo_n "checking for float trig functions... " >&6; }
-  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
+  if ${glibcxx_cv_func_float_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -29171,8 +31024,7 @@ $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -29183,7 +31035,7 @@ done
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
 $as_echo_n "checking for _float trig functions... " >&6; }
-    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
+    if ${glibcxx_cv_func__float_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -29226,8 +31078,7 @@ $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -29244,7 +31095,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
 $as_echo_n "checking for float round functions... " >&6; }
-  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
+  if ${glibcxx_cv_func_float_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -29287,8 +31138,7 @@ $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -29299,7 +31149,7 @@ done
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
 $as_echo_n "checking for _float round functions... " >&6; }
-    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
+    if ${glibcxx_cv_func__float_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -29342,8 +31192,7 @@ $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -29362,7 +31211,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
 $as_echo_n "checking for expf declaration... " >&6; }
   if test x${glibcxx_cv_func_expf_use+set} != xset; then
-    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
+    if ${glibcxx_cv_func_expf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -29411,7 +31260,7 @@ $as_echo "$glibcxx_cv_func_expf_use" >&6; }
     for ac_func in expf
 do :
   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
-if test "x$ac_cv_func_expf" = x""yes; then :
+if test "x$ac_cv_func_expf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_EXPF 1
 _ACEOF
@@ -29424,7 +31273,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
 $as_echo_n "checking for _expf declaration... " >&6; }
   if test x${glibcxx_cv_func__expf_use+set} != xset; then
-    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
+    if ${glibcxx_cv_func__expf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -29473,7 +31322,7 @@ $as_echo "$glibcxx_cv_func__expf_use" >&6; }
       for ac_func in _expf
 do :
   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
-if test "x$ac_cv_func__expf" = x""yes; then :
+if test "x$ac_cv_func__expf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__EXPF 1
 _ACEOF
@@ -29491,7 +31340,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
 $as_echo_n "checking for isnanf declaration... " >&6; }
   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
+    if ${glibcxx_cv_func_isnanf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -29540,7 +31389,7 @@ $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
     for ac_func in isnanf
 do :
   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
-if test "x$ac_cv_func_isnanf" = x""yes; then :
+if test "x$ac_cv_func_isnanf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISNANF 1
 _ACEOF
@@ -29553,7 +31402,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
 $as_echo_n "checking for _isnanf declaration... " >&6; }
   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
+    if ${glibcxx_cv_func__isnanf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -29602,7 +31451,7 @@ $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
       for ac_func in _isnanf
 do :
   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
-if test "x$ac_cv_func__isnanf" = x""yes; then :
+if test "x$ac_cv_func__isnanf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISNANF 1
 _ACEOF
@@ -29620,7 +31469,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
 $as_echo_n "checking for isinff declaration... " >&6; }
   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
+    if ${glibcxx_cv_func_isinff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -29669,7 +31518,7 @@ $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
     for ac_func in isinff
 do :
   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
-if test "x$ac_cv_func_isinff" = x""yes; then :
+if test "x$ac_cv_func_isinff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISINFF 1
 _ACEOF
@@ -29682,7 +31531,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
 $as_echo_n "checking for _isinff declaration... " >&6; }
   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
+    if ${glibcxx_cv_func__isinff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -29731,7 +31580,7 @@ $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
       for ac_func in _isinff
 do :
   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
-if test "x$ac_cv_func__isinff" = x""yes; then :
+if test "x$ac_cv_func__isinff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISINFF 1
 _ACEOF
@@ -29749,7 +31598,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
 $as_echo_n "checking for atan2f declaration... " >&6; }
   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
+    if ${glibcxx_cv_func_atan2f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -29794,7 +31643,7 @@ $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
     for ac_func in atan2f
 do :
   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
-if test "x$ac_cv_func_atan2f" = x""yes; then :
+if test "x$ac_cv_func_atan2f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ATAN2F 1
 _ACEOF
@@ -29807,7 +31656,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
 $as_echo_n "checking for _atan2f declaration... " >&6; }
   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
+    if ${glibcxx_cv_func__atan2f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -29852,7 +31701,7 @@ $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
       for ac_func in _atan2f
 do :
   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
-if test "x$ac_cv_func__atan2f" = x""yes; then :
+if test "x$ac_cv_func__atan2f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ATAN2F 1
 _ACEOF
@@ -29870,7 +31719,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
 $as_echo_n "checking for fabsf declaration... " >&6; }
   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
+    if ${glibcxx_cv_func_fabsf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -29919,7 +31768,7 @@ $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
     for ac_func in fabsf
 do :
   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
-if test "x$ac_cv_func_fabsf" = x""yes; then :
+if test "x$ac_cv_func_fabsf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FABSF 1
 _ACEOF
@@ -29932,7 +31781,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
 $as_echo_n "checking for _fabsf declaration... " >&6; }
   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
+    if ${glibcxx_cv_func__fabsf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -29981,7 +31830,7 @@ $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
       for ac_func in _fabsf
 do :
   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
-if test "x$ac_cv_func__fabsf" = x""yes; then :
+if test "x$ac_cv_func__fabsf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FABSF 1
 _ACEOF
@@ -29999,7 +31848,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
 $as_echo_n "checking for fmodf declaration... " >&6; }
   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
+    if ${glibcxx_cv_func_fmodf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -30044,7 +31893,7 @@ $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
     for ac_func in fmodf
 do :
   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
-if test "x$ac_cv_func_fmodf" = x""yes; then :
+if test "x$ac_cv_func_fmodf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FMODF 1
 _ACEOF
@@ -30057,7 +31906,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
 $as_echo_n "checking for _fmodf declaration... " >&6; }
   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
+    if ${glibcxx_cv_func__fmodf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -30102,7 +31951,7 @@ $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
       for ac_func in _fmodf
 do :
   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
-if test "x$ac_cv_func__fmodf" = x""yes; then :
+if test "x$ac_cv_func__fmodf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FMODF 1
 _ACEOF
@@ -30120,7 +31969,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
 $as_echo_n "checking for frexpf declaration... " >&6; }
   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
+    if ${glibcxx_cv_func_frexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -30165,7 +32014,7 @@ $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
     for ac_func in frexpf
 do :
   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
-if test "x$ac_cv_func_frexpf" = x""yes; then :
+if test "x$ac_cv_func_frexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FREXPF 1
 _ACEOF
@@ -30178,7 +32027,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
 $as_echo_n "checking for _frexpf declaration... " >&6; }
   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
+    if ${glibcxx_cv_func__frexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -30223,7 +32072,7 @@ $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
       for ac_func in _frexpf
 do :
   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
-if test "x$ac_cv_func__frexpf" = x""yes; then :
+if test "x$ac_cv_func__frexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FREXPF 1
 _ACEOF
@@ -30241,7 +32090,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
 $as_echo_n "checking for hypotf declaration... " >&6; }
   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
+    if ${glibcxx_cv_func_hypotf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -30286,7 +32135,7 @@ $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
     for ac_func in hypotf
 do :
   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
-if test "x$ac_cv_func_hypotf" = x""yes; then :
+if test "x$ac_cv_func_hypotf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_HYPOTF 1
 _ACEOF
@@ -30299,7 +32148,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
 $as_echo_n "checking for _hypotf declaration... " >&6; }
   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
+    if ${glibcxx_cv_func__hypotf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -30344,7 +32193,7 @@ $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
       for ac_func in _hypotf
 do :
   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
-if test "x$ac_cv_func__hypotf" = x""yes; then :
+if test "x$ac_cv_func__hypotf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__HYPOTF 1
 _ACEOF
@@ -30362,7 +32211,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
 $as_echo_n "checking for ldexpf declaration... " >&6; }
   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
+    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -30407,7 +32256,7 @@ $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
     for ac_func in ldexpf
 do :
   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
-if test "x$ac_cv_func_ldexpf" = x""yes; then :
+if test "x$ac_cv_func_ldexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LDEXPF 1
 _ACEOF
@@ -30420,7 +32269,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
 $as_echo_n "checking for _ldexpf declaration... " >&6; }
   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
+    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -30465,7 +32314,7 @@ $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
       for ac_func in _ldexpf
 do :
   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
-if test "x$ac_cv_func__ldexpf" = x""yes; then :
+if test "x$ac_cv_func__ldexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LDEXPF 1
 _ACEOF
@@ -30483,7 +32332,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
 $as_echo_n "checking for logf declaration... " >&6; }
   if test x${glibcxx_cv_func_logf_use+set} != xset; then
-    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
+    if ${glibcxx_cv_func_logf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -30532,7 +32381,7 @@ $as_echo "$glibcxx_cv_func_logf_use" >&6; }
     for ac_func in logf
 do :
   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
-if test "x$ac_cv_func_logf" = x""yes; then :
+if test "x$ac_cv_func_logf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOGF 1
 _ACEOF
@@ -30545,7 +32394,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
 $as_echo_n "checking for _logf declaration... " >&6; }
   if test x${glibcxx_cv_func__logf_use+set} != xset; then
-    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
+    if ${glibcxx_cv_func__logf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -30594,7 +32443,7 @@ $as_echo "$glibcxx_cv_func__logf_use" >&6; }
       for ac_func in _logf
 do :
   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
-if test "x$ac_cv_func__logf" = x""yes; then :
+if test "x$ac_cv_func__logf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LOGF 1
 _ACEOF
@@ -30612,7 +32461,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
 $as_echo_n "checking for log10f declaration... " >&6; }
   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
+    if ${glibcxx_cv_func_log10f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -30661,7 +32510,7 @@ $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
     for ac_func in log10f
 do :
   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
-if test "x$ac_cv_func_log10f" = x""yes; then :
+if test "x$ac_cv_func_log10f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOG10F 1
 _ACEOF
@@ -30674,7 +32523,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
 $as_echo_n "checking for _log10f declaration... " >&6; }
   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
+    if ${glibcxx_cv_func__log10f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -30723,7 +32572,7 @@ $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
       for ac_func in _log10f
 do :
   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
-if test "x$ac_cv_func__log10f" = x""yes; then :
+if test "x$ac_cv_func__log10f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LOG10F 1
 _ACEOF
@@ -30741,7 +32590,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
 $as_echo_n "checking for modff declaration... " >&6; }
   if test x${glibcxx_cv_func_modff_use+set} != xset; then
-    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
+    if ${glibcxx_cv_func_modff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -30786,7 +32635,7 @@ $as_echo "$glibcxx_cv_func_modff_use" >&6; }
     for ac_func in modff
 do :
   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
-if test "x$ac_cv_func_modff" = x""yes; then :
+if test "x$ac_cv_func_modff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_MODFF 1
 _ACEOF
@@ -30799,7 +32648,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
 $as_echo_n "checking for _modff declaration... " >&6; }
   if test x${glibcxx_cv_func__modff_use+set} != xset; then
-    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
+    if ${glibcxx_cv_func__modff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -30844,7 +32693,7 @@ $as_echo "$glibcxx_cv_func__modff_use" >&6; }
       for ac_func in _modff
 do :
   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
-if test "x$ac_cv_func__modff" = x""yes; then :
+if test "x$ac_cv_func__modff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__MODFF 1
 _ACEOF
@@ -30862,7 +32711,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
 $as_echo_n "checking for modf declaration... " >&6; }
   if test x${glibcxx_cv_func_modf_use+set} != xset; then
-    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
+    if ${glibcxx_cv_func_modf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -30907,7 +32756,7 @@ $as_echo "$glibcxx_cv_func_modf_use" >&6; }
     for ac_func in modf
 do :
   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
-if test "x$ac_cv_func_modf" = x""yes; then :
+if test "x$ac_cv_func_modf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_MODF 1
 _ACEOF
@@ -30920,7 +32769,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
 $as_echo_n "checking for _modf declaration... " >&6; }
   if test x${glibcxx_cv_func__modf_use+set} != xset; then
-    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
+    if ${glibcxx_cv_func__modf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -30965,7 +32814,7 @@ $as_echo "$glibcxx_cv_func__modf_use" >&6; }
       for ac_func in _modf
 do :
   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
-if test "x$ac_cv_func__modf" = x""yes; then :
+if test "x$ac_cv_func__modf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__MODF 1
 _ACEOF
@@ -30983,7 +32832,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
 $as_echo_n "checking for powf declaration... " >&6; }
   if test x${glibcxx_cv_func_powf_use+set} != xset; then
-    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
+    if ${glibcxx_cv_func_powf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -31028,7 +32877,7 @@ $as_echo "$glibcxx_cv_func_powf_use" >&6; }
     for ac_func in powf
 do :
   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
-if test "x$ac_cv_func_powf" = x""yes; then :
+if test "x$ac_cv_func_powf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_POWF 1
 _ACEOF
@@ -31041,7 +32890,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
 $as_echo_n "checking for _powf declaration... " >&6; }
   if test x${glibcxx_cv_func__powf_use+set} != xset; then
-    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
+    if ${glibcxx_cv_func__powf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -31086,7 +32935,7 @@ $as_echo "$glibcxx_cv_func__powf_use" >&6; }
       for ac_func in _powf
 do :
   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
-if test "x$ac_cv_func__powf" = x""yes; then :
+if test "x$ac_cv_func__powf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__POWF 1
 _ACEOF
@@ -31104,7 +32953,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
 $as_echo_n "checking for sqrtf declaration... " >&6; }
   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
+    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -31153,7 +33002,7 @@ $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
     for ac_func in sqrtf
 do :
   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
-if test "x$ac_cv_func_sqrtf" = x""yes; then :
+if test "x$ac_cv_func_sqrtf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SQRTF 1
 _ACEOF
@@ -31166,7 +33015,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
 $as_echo_n "checking for _sqrtf declaration... " >&6; }
   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
+    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -31215,7 +33064,7 @@ $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
       for ac_func in _sqrtf
 do :
   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
-if test "x$ac_cv_func__sqrtf" = x""yes; then :
+if test "x$ac_cv_func__sqrtf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SQRTF 1
 _ACEOF
@@ -31233,7 +33082,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
 $as_echo_n "checking for sincosf declaration... " >&6; }
   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
+    if ${glibcxx_cv_func_sincosf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -31278,7 +33127,7 @@ $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
     for ac_func in sincosf
 do :
   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
-if test "x$ac_cv_func_sincosf" = x""yes; then :
+if test "x$ac_cv_func_sincosf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SINCOSF 1
 _ACEOF
@@ -31291,7 +33140,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
 $as_echo_n "checking for _sincosf declaration... " >&6; }
   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
+    if ${glibcxx_cv_func__sincosf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -31336,7 +33185,7 @@ $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
       for ac_func in _sincosf
 do :
   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
-if test "x$ac_cv_func__sincosf" = x""yes; then :
+if test "x$ac_cv_func__sincosf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SINCOSF 1
 _ACEOF
@@ -31354,7 +33203,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
 $as_echo_n "checking for finitef declaration... " >&6; }
   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
+    if ${glibcxx_cv_func_finitef_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -31403,7 +33252,7 @@ $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
     for ac_func in finitef
 do :
   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
-if test "x$ac_cv_func_finitef" = x""yes; then :
+if test "x$ac_cv_func_finitef" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FINITEF 1
 _ACEOF
@@ -31416,7 +33265,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
 $as_echo_n "checking for _finitef declaration... " >&6; }
   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
+    if ${glibcxx_cv_func__finitef_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -31465,7 +33314,7 @@ $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
       for ac_func in _finitef
 do :
   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
-if test "x$ac_cv_func__finitef" = x""yes; then :
+if test "x$ac_cv_func__finitef" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FINITEF 1
 _ACEOF
@@ -31482,7 +33331,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
 $as_echo_n "checking for long double trig functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
+  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -31525,8 +33374,7 @@ $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -31537,7 +33385,7 @@ done
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
 $as_echo_n "checking for _long double trig functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
+    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -31580,8 +33428,7 @@ $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -31598,7 +33445,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
 $as_echo_n "checking for long double round functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
+  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -31641,8 +33488,7 @@ $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -31653,7 +33499,7 @@ done
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
 $as_echo_n "checking for _long double round functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
+    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -31696,8 +33542,7 @@ $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -31716,7 +33561,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
 $as_echo_n "checking for isnanl declaration... " >&6; }
   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
+    if ${glibcxx_cv_func_isnanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -31765,7 +33610,7 @@ $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
     for ac_func in isnanl
 do :
   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
-if test "x$ac_cv_func_isnanl" = x""yes; then :
+if test "x$ac_cv_func_isnanl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISNANL 1
 _ACEOF
@@ -31778,7 +33623,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
 $as_echo_n "checking for _isnanl declaration... " >&6; }
   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
+    if ${glibcxx_cv_func__isnanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -31827,7 +33672,7 @@ $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
       for ac_func in _isnanl
 do :
   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
-if test "x$ac_cv_func__isnanl" = x""yes; then :
+if test "x$ac_cv_func__isnanl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISNANL 1
 _ACEOF
@@ -31845,7 +33690,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
 $as_echo_n "checking for isinfl declaration... " >&6; }
   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
+    if ${glibcxx_cv_func_isinfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -31894,7 +33739,7 @@ $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
     for ac_func in isinfl
 do :
   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
-if test "x$ac_cv_func_isinfl" = x""yes; then :
+if test "x$ac_cv_func_isinfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISINFL 1
 _ACEOF
@@ -31907,7 +33752,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
 $as_echo_n "checking for _isinfl declaration... " >&6; }
   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
+    if ${glibcxx_cv_func__isinfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -31956,7 +33801,7 @@ $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
       for ac_func in _isinfl
 do :
   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
-if test "x$ac_cv_func__isinfl" = x""yes; then :
+if test "x$ac_cv_func__isinfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISINFL 1
 _ACEOF
@@ -31974,7 +33819,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
 $as_echo_n "checking for atan2l declaration... " >&6; }
   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
+    if ${glibcxx_cv_func_atan2l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -32019,7 +33864,7 @@ $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
     for ac_func in atan2l
 do :
   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
-if test "x$ac_cv_func_atan2l" = x""yes; then :
+if test "x$ac_cv_func_atan2l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ATAN2L 1
 _ACEOF
@@ -32032,7 +33877,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
 $as_echo_n "checking for _atan2l declaration... " >&6; }
   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
+    if ${glibcxx_cv_func__atan2l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -32077,7 +33922,7 @@ $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
       for ac_func in _atan2l
 do :
   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
-if test "x$ac_cv_func__atan2l" = x""yes; then :
+if test "x$ac_cv_func__atan2l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ATAN2L 1
 _ACEOF
@@ -32095,7 +33940,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
 $as_echo_n "checking for expl declaration... " >&6; }
   if test x${glibcxx_cv_func_expl_use+set} != xset; then
-    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
+    if ${glibcxx_cv_func_expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -32144,7 +33989,7 @@ $as_echo "$glibcxx_cv_func_expl_use" >&6; }
     for ac_func in expl
 do :
   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
-if test "x$ac_cv_func_expl" = x""yes; then :
+if test "x$ac_cv_func_expl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_EXPL 1
 _ACEOF
@@ -32157,7 +34002,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
 $as_echo_n "checking for _expl declaration... " >&6; }
   if test x${glibcxx_cv_func__expl_use+set} != xset; then
-    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
+    if ${glibcxx_cv_func__expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -32206,7 +34051,7 @@ $as_echo "$glibcxx_cv_func__expl_use" >&6; }
       for ac_func in _expl
 do :
   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
-if test "x$ac_cv_func__expl" = x""yes; then :
+if test "x$ac_cv_func__expl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__EXPL 1
 _ACEOF
@@ -32224,7 +34069,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
 $as_echo_n "checking for fabsl declaration... " >&6; }
   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
+    if ${glibcxx_cv_func_fabsl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -32273,7 +34118,7 @@ $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
     for ac_func in fabsl
 do :
   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
-if test "x$ac_cv_func_fabsl" = x""yes; then :
+if test "x$ac_cv_func_fabsl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FABSL 1
 _ACEOF
@@ -32286,7 +34131,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
 $as_echo_n "checking for _fabsl declaration... " >&6; }
   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
+    if ${glibcxx_cv_func__fabsl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -32335,7 +34180,7 @@ $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
       for ac_func in _fabsl
 do :
   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
-if test "x$ac_cv_func__fabsl" = x""yes; then :
+if test "x$ac_cv_func__fabsl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FABSL 1
 _ACEOF
@@ -32353,7 +34198,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
 $as_echo_n "checking for fmodl declaration... " >&6; }
   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
+    if ${glibcxx_cv_func_fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -32398,7 +34243,7 @@ $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
     for ac_func in fmodl
 do :
   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
-if test "x$ac_cv_func_fmodl" = x""yes; then :
+if test "x$ac_cv_func_fmodl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FMODL 1
 _ACEOF
@@ -32411,7 +34256,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
 $as_echo_n "checking for _fmodl declaration... " >&6; }
   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
+    if ${glibcxx_cv_func__fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -32456,7 +34301,7 @@ $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
       for ac_func in _fmodl
 do :
   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
-if test "x$ac_cv_func__fmodl" = x""yes; then :
+if test "x$ac_cv_func__fmodl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FMODL 1
 _ACEOF
@@ -32474,7 +34319,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
 $as_echo_n "checking for frexpl declaration... " >&6; }
   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
+    if ${glibcxx_cv_func_frexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -32519,7 +34364,7 @@ $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
     for ac_func in frexpl
 do :
   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
-if test "x$ac_cv_func_frexpl" = x""yes; then :
+if test "x$ac_cv_func_frexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FREXPL 1
 _ACEOF
@@ -32532,7 +34377,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
 $as_echo_n "checking for _frexpl declaration... " >&6; }
   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
+    if ${glibcxx_cv_func__frexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -32577,7 +34422,7 @@ $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
       for ac_func in _frexpl
 do :
   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
-if test "x$ac_cv_func__frexpl" = x""yes; then :
+if test "x$ac_cv_func__frexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FREXPL 1
 _ACEOF
@@ -32595,7 +34440,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
 $as_echo_n "checking for hypotl declaration... " >&6; }
   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
+    if ${glibcxx_cv_func_hypotl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -32640,7 +34485,7 @@ $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
     for ac_func in hypotl
 do :
   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
-if test "x$ac_cv_func_hypotl" = x""yes; then :
+if test "x$ac_cv_func_hypotl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_HYPOTL 1
 _ACEOF
@@ -32653,7 +34498,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
 $as_echo_n "checking for _hypotl declaration... " >&6; }
   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
+    if ${glibcxx_cv_func__hypotl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -32698,7 +34543,7 @@ $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
       for ac_func in _hypotl
 do :
   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
-if test "x$ac_cv_func__hypotl" = x""yes; then :
+if test "x$ac_cv_func__hypotl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__HYPOTL 1
 _ACEOF
@@ -32716,7 +34561,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
 $as_echo_n "checking for ldexpl declaration... " >&6; }
   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
+    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -32761,7 +34606,7 @@ $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
     for ac_func in ldexpl
 do :
   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
-if test "x$ac_cv_func_ldexpl" = x""yes; then :
+if test "x$ac_cv_func_ldexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LDEXPL 1
 _ACEOF
@@ -32774,7 +34619,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
 $as_echo_n "checking for _ldexpl declaration... " >&6; }
   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
+    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -32819,7 +34664,7 @@ $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
       for ac_func in _ldexpl
 do :
   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
-if test "x$ac_cv_func__ldexpl" = x""yes; then :
+if test "x$ac_cv_func__ldexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LDEXPL 1
 _ACEOF
@@ -32837,7 +34682,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
 $as_echo_n "checking for logl declaration... " >&6; }
   if test x${glibcxx_cv_func_logl_use+set} != xset; then
-    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
+    if ${glibcxx_cv_func_logl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -32886,7 +34731,7 @@ $as_echo "$glibcxx_cv_func_logl_use" >&6; }
     for ac_func in logl
 do :
   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
-if test "x$ac_cv_func_logl" = x""yes; then :
+if test "x$ac_cv_func_logl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOGL 1
 _ACEOF
@@ -32899,7 +34744,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
 $as_echo_n "checking for _logl declaration... " >&6; }
   if test x${glibcxx_cv_func__logl_use+set} != xset; then
-    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
+    if ${glibcxx_cv_func__logl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -32948,7 +34793,7 @@ $as_echo "$glibcxx_cv_func__logl_use" >&6; }
       for ac_func in _logl
 do :
   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
-if test "x$ac_cv_func__logl" = x""yes; then :
+if test "x$ac_cv_func__logl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LOGL 1
 _ACEOF
@@ -32966,7 +34811,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
 $as_echo_n "checking for log10l declaration... " >&6; }
   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
+    if ${glibcxx_cv_func_log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -33015,7 +34860,7 @@ $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
     for ac_func in log10l
 do :
   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
-if test "x$ac_cv_func_log10l" = x""yes; then :
+if test "x$ac_cv_func_log10l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOG10L 1
 _ACEOF
@@ -33028,7 +34873,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
 $as_echo_n "checking for _log10l declaration... " >&6; }
   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
+    if ${glibcxx_cv_func__log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -33077,7 +34922,7 @@ $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
       for ac_func in _log10l
 do :
   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
-if test "x$ac_cv_func__log10l" = x""yes; then :
+if test "x$ac_cv_func__log10l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LOG10L 1
 _ACEOF
@@ -33095,7 +34940,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
 $as_echo_n "checking for modfl declaration... " >&6; }
   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
+    if ${glibcxx_cv_func_modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -33140,7 +34985,7 @@ $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
     for ac_func in modfl
 do :
   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
-if test "x$ac_cv_func_modfl" = x""yes; then :
+if test "x$ac_cv_func_modfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_MODFL 1
 _ACEOF
@@ -33153,7 +34998,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
 $as_echo_n "checking for _modfl declaration... " >&6; }
   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
+    if ${glibcxx_cv_func__modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -33198,7 +35043,7 @@ $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
       for ac_func in _modfl
 do :
   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
-if test "x$ac_cv_func__modfl" = x""yes; then :
+if test "x$ac_cv_func__modfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__MODFL 1
 _ACEOF
@@ -33216,7 +35061,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
 $as_echo_n "checking for powl declaration... " >&6; }
   if test x${glibcxx_cv_func_powl_use+set} != xset; then
-    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
+    if ${glibcxx_cv_func_powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -33261,7 +35106,7 @@ $as_echo "$glibcxx_cv_func_powl_use" >&6; }
     for ac_func in powl
 do :
   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
-if test "x$ac_cv_func_powl" = x""yes; then :
+if test "x$ac_cv_func_powl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_POWL 1
 _ACEOF
@@ -33274,7 +35119,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
 $as_echo_n "checking for _powl declaration... " >&6; }
   if test x${glibcxx_cv_func__powl_use+set} != xset; then
-    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
+    if ${glibcxx_cv_func__powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -33319,7 +35164,7 @@ $as_echo "$glibcxx_cv_func__powl_use" >&6; }
       for ac_func in _powl
 do :
   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
-if test "x$ac_cv_func__powl" = x""yes; then :
+if test "x$ac_cv_func__powl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__POWL 1
 _ACEOF
@@ -33337,7 +35182,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
 $as_echo_n "checking for sqrtl declaration... " >&6; }
   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
+    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -33386,7 +35231,7 @@ $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
     for ac_func in sqrtl
 do :
   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
-if test "x$ac_cv_func_sqrtl" = x""yes; then :
+if test "x$ac_cv_func_sqrtl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SQRTL 1
 _ACEOF
@@ -33399,7 +35244,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
 $as_echo_n "checking for _sqrtl declaration... " >&6; }
   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
+    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -33448,7 +35293,7 @@ $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
       for ac_func in _sqrtl
 do :
   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
-if test "x$ac_cv_func__sqrtl" = x""yes; then :
+if test "x$ac_cv_func__sqrtl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SQRTL 1
 _ACEOF
@@ -33466,7 +35311,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
 $as_echo_n "checking for sincosl declaration... " >&6; }
   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
+    if ${glibcxx_cv_func_sincosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -33511,7 +35356,7 @@ $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
     for ac_func in sincosl
 do :
   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
-if test "x$ac_cv_func_sincosl" = x""yes; then :
+if test "x$ac_cv_func_sincosl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SINCOSL 1
 _ACEOF
@@ -33524,7 +35369,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
 $as_echo_n "checking for _sincosl declaration... " >&6; }
   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
+    if ${glibcxx_cv_func__sincosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -33569,7 +35414,7 @@ $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
       for ac_func in _sincosl
 do :
   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
-if test "x$ac_cv_func__sincosl" = x""yes; then :
+if test "x$ac_cv_func__sincosl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SINCOSL 1
 _ACEOF
@@ -33587,7 +35432,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
 $as_echo_n "checking for finitel declaration... " >&6; }
   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
+    if ${glibcxx_cv_func_finitel_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -33636,7 +35481,7 @@ $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
     for ac_func in finitel
 do :
   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
-if test "x$ac_cv_func_finitel" = x""yes; then :
+if test "x$ac_cv_func_finitel" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FINITEL 1
 _ACEOF
@@ -33649,7 +35494,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
 $as_echo_n "checking for _finitel declaration... " >&6; }
   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
+    if ${glibcxx_cv_func__finitel_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -33698,7 +35543,7 @@ $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
       for ac_func in _finitel
 do :
   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
-if test "x$ac_cv_func__finitel" = x""yes; then :
+if test "x$ac_cv_func__finitel" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FINITEL 1
 _ACEOF
@@ -33724,7 +35569,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
+    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -33768,7 +35613,7 @@ $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
     for ac_func in at_quick_exit
 do :
   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
-if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
+if test "x$ac_cv_func_at_quick_exit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_AT_QUICK_EXIT 1
 _ACEOF
@@ -33782,7 +35627,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
 $as_echo_n "checking for quick_exit declaration... " >&6; }
   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
+    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -33826,7 +35671,7 @@ $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
     for ac_func in quick_exit
 do :
   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
-if test "x$ac_cv_func_quick_exit" = x""yes; then :
+if test "x$ac_cv_func_quick_exit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_QUICK_EXIT 1
 _ACEOF
@@ -33840,7 +35685,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
 $as_echo_n "checking for strtold declaration... " >&6; }
   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
+    if ${glibcxx_cv_func_strtold_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -33884,7 +35729,7 @@ $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
     for ac_func in strtold
 do :
   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
-if test "x$ac_cv_func_strtold" = x""yes; then :
+if test "x$ac_cv_func_strtold" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_STRTOLD 1
 _ACEOF
@@ -33900,7 +35745,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
 $as_echo_n "checking for strtof declaration... " >&6; }
   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
+    if ${glibcxx_cv_func_strtof_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -33944,7 +35789,7 @@ $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
     for ac_func in strtof
 do :
   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
-if test "x$ac_cv_func_strtof" = x""yes; then :
+if test "x$ac_cv_func_strtof" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_STRTOF 1
 _ACEOF
@@ -33977,70 +35822,7 @@ done
 
     ;;
 
-  spu-*-elf*)
-
-  # 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 GLIBCXX_CONFIGURE.
-
-  ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-  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
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
-$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
-  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int foo; void bar() { };
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_fdsections=yes
-else
-  ac_fdsections=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-  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"; then
-    SECTION_FLAGS='-ffunction-sections -fdata-sections'
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
-$as_echo "$ac_fdsections" >&6; }
-
-  ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-
-
+  *-aix*)
 
   # 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
@@ -34076,7 +35858,7 @@ $as_echo_n "checking for ld version... " >&6; }
       glibcxx_ld_is_gold=yes
     fi
     ldver=`$LD --version 2>/dev/null |
-          sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
+          sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
 
     glibcxx_gnu_ld_version=`echo $ldver | \
           $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
@@ -34110,7 +35892,7 @@ $as_echo "$glibcxx_gnu_ld_version" >&6; }
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
     if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -34187,13 +35969,13 @@ $as_echo "$ac_ld_relro" >&6; }
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
 $as_echo_n "checking for sin in -lm... " >&6; }
-if test "${ac_cv_lib_m_sin+set}" = set; then :
+if ${ac_cv_lib_m_sin+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lm  $LIBS"
 if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -34224,7 +36006,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
 $as_echo "$ac_cv_lib_m_sin" >&6; }
-if test "x$ac_cv_lib_m_sin" = x""yes; then :
+if test "x$ac_cv_lib_m_sin" = xyes; then :
   libm="-lm"
 fi
 
@@ -34236,7 +36018,7 @@ fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
 $as_echo_n "checking for isinf declaration... " >&6; }
   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
+    if ${glibcxx_cv_func_isinf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -34285,7 +36067,7 @@ $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
     for ac_func in isinf
 do :
   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
-if test "x$ac_cv_func_isinf" = x""yes; then :
+if test "x$ac_cv_func_isinf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISINF 1
 _ACEOF
@@ -34298,7 +36080,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
 $as_echo_n "checking for _isinf declaration... " >&6; }
   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
+    if ${glibcxx_cv_func__isinf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -34347,7 +36129,7 @@ $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
       for ac_func in _isinf
 do :
   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
-if test "x$ac_cv_func__isinf" = x""yes; then :
+if test "x$ac_cv_func__isinf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISINF 1
 _ACEOF
@@ -34365,7 +36147,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
 $as_echo_n "checking for isnan declaration... " >&6; }
   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
+    if ${glibcxx_cv_func_isnan_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -34414,7 +36196,7 @@ $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
     for ac_func in isnan
 do :
   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
-if test "x$ac_cv_func_isnan" = x""yes; then :
+if test "x$ac_cv_func_isnan" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISNAN 1
 _ACEOF
@@ -34427,7 +36209,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
 $as_echo_n "checking for _isnan declaration... " >&6; }
   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
+    if ${glibcxx_cv_func__isnan_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -34476,7 +36258,7 @@ $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
       for ac_func in _isnan
 do :
   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
-if test "x$ac_cv_func__isnan" = x""yes; then :
+if test "x$ac_cv_func__isnan" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISNAN 1
 _ACEOF
@@ -34494,7 +36276,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
 $as_echo_n "checking for finite declaration... " >&6; }
   if test x${glibcxx_cv_func_finite_use+set} != xset; then
-    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
+    if ${glibcxx_cv_func_finite_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -34543,7 +36325,7 @@ $as_echo "$glibcxx_cv_func_finite_use" >&6; }
     for ac_func in finite
 do :
   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
-if test "x$ac_cv_func_finite" = x""yes; then :
+if test "x$ac_cv_func_finite" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FINITE 1
 _ACEOF
@@ -34556,7 +36338,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
 $as_echo_n "checking for _finite declaration... " >&6; }
   if test x${glibcxx_cv_func__finite_use+set} != xset; then
-    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
+    if ${glibcxx_cv_func__finite_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -34605,7 +36387,7 @@ $as_echo "$glibcxx_cv_func__finite_use" >&6; }
       for ac_func in _finite
 do :
   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
-if test "x$ac_cv_func__finite" = x""yes; then :
+if test "x$ac_cv_func__finite" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FINITE 1
 _ACEOF
@@ -34623,7 +36405,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
 $as_echo_n "checking for sincos declaration... " >&6; }
   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
+    if ${glibcxx_cv_func_sincos_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -34668,7 +36450,7 @@ $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
     for ac_func in sincos
 do :
   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
-if test "x$ac_cv_func_sincos" = x""yes; then :
+if test "x$ac_cv_func_sincos" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SINCOS 1
 _ACEOF
@@ -34681,7 +36463,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
 $as_echo_n "checking for _sincos declaration... " >&6; }
   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
+    if ${glibcxx_cv_func__sincos_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -34726,7 +36508,7 @@ $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
       for ac_func in _sincos
 do :
   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
-if test "x$ac_cv_func__sincos" = x""yes; then :
+if test "x$ac_cv_func__sincos" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SINCOS 1
 _ACEOF
@@ -34744,7 +36526,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
 $as_echo_n "checking for fpclass declaration... " >&6; }
   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
+    if ${glibcxx_cv_func_fpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -34793,7 +36575,7 @@ $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
     for ac_func in fpclass
 do :
   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
-if test "x$ac_cv_func_fpclass" = x""yes; then :
+if test "x$ac_cv_func_fpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FPCLASS 1
 _ACEOF
@@ -34806,7 +36588,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
 $as_echo_n "checking for _fpclass declaration... " >&6; }
   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
+    if ${glibcxx_cv_func__fpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -34855,7 +36637,7 @@ $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
       for ac_func in _fpclass
 do :
   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
-if test "x$ac_cv_func__fpclass" = x""yes; then :
+if test "x$ac_cv_func__fpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FPCLASS 1
 _ACEOF
@@ -34873,7 +36655,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
 $as_echo_n "checking for qfpclass declaration... " >&6; }
   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
+    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -34922,7 +36704,7 @@ $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
     for ac_func in qfpclass
 do :
   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
-if test "x$ac_cv_func_qfpclass" = x""yes; then :
+if test "x$ac_cv_func_qfpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_QFPCLASS 1
 _ACEOF
@@ -34935,7 +36717,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
 $as_echo_n "checking for _qfpclass declaration... " >&6; }
   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
+    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -34984,7 +36766,7 @@ $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
       for ac_func in _qfpclass
 do :
   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
-if test "x$ac_cv_func__qfpclass" = x""yes; then :
+if test "x$ac_cv_func__qfpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__QFPCLASS 1
 _ACEOF
@@ -35002,7 +36784,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
 $as_echo_n "checking for hypot declaration... " >&6; }
   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
+    if ${glibcxx_cv_func_hypot_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -35047,7 +36829,7 @@ $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
     for ac_func in hypot
 do :
   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
-if test "x$ac_cv_func_hypot" = x""yes; then :
+if test "x$ac_cv_func_hypot" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_HYPOT 1
 _ACEOF
@@ -35060,7 +36842,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
 $as_echo_n "checking for _hypot declaration... " >&6; }
   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
+    if ${glibcxx_cv_func__hypot_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -35105,7 +36887,7 @@ $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
       for ac_func in _hypot
 do :
   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
-if test "x$ac_cv_func__hypot" = x""yes; then :
+if test "x$ac_cv_func__hypot" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__HYPOT 1
 _ACEOF
@@ -35122,7 +36904,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
 $as_echo_n "checking for float trig functions... " >&6; }
-  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
+  if ${glibcxx_cv_func_float_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -35165,8 +36947,7 @@ $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -35177,7 +36958,7 @@ done
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
 $as_echo_n "checking for _float trig functions... " >&6; }
-    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
+    if ${glibcxx_cv_func__float_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -35220,8 +37001,7 @@ $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -35238,7 +37018,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
 $as_echo_n "checking for float round functions... " >&6; }
-  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
+  if ${glibcxx_cv_func_float_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -35281,8 +37061,7 @@ $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -35293,7 +37072,7 @@ done
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
 $as_echo_n "checking for _float round functions... " >&6; }
-    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
+    if ${glibcxx_cv_func__float_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -35336,8 +37115,7 @@ $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -35356,7 +37134,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
 $as_echo_n "checking for expf declaration... " >&6; }
   if test x${glibcxx_cv_func_expf_use+set} != xset; then
-    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
+    if ${glibcxx_cv_func_expf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -35405,7 +37183,7 @@ $as_echo "$glibcxx_cv_func_expf_use" >&6; }
     for ac_func in expf
 do :
   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
-if test "x$ac_cv_func_expf" = x""yes; then :
+if test "x$ac_cv_func_expf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_EXPF 1
 _ACEOF
@@ -35418,7 +37196,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
 $as_echo_n "checking for _expf declaration... " >&6; }
   if test x${glibcxx_cv_func__expf_use+set} != xset; then
-    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
+    if ${glibcxx_cv_func__expf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -35467,7 +37245,7 @@ $as_echo "$glibcxx_cv_func__expf_use" >&6; }
       for ac_func in _expf
 do :
   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
-if test "x$ac_cv_func__expf" = x""yes; then :
+if test "x$ac_cv_func__expf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__EXPF 1
 _ACEOF
@@ -35485,7 +37263,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
 $as_echo_n "checking for isnanf declaration... " >&6; }
   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
+    if ${glibcxx_cv_func_isnanf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -35534,7 +37312,7 @@ $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
     for ac_func in isnanf
 do :
   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
-if test "x$ac_cv_func_isnanf" = x""yes; then :
+if test "x$ac_cv_func_isnanf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISNANF 1
 _ACEOF
@@ -35547,7 +37325,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
 $as_echo_n "checking for _isnanf declaration... " >&6; }
   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
+    if ${glibcxx_cv_func__isnanf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -35596,7 +37374,7 @@ $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
       for ac_func in _isnanf
 do :
   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
-if test "x$ac_cv_func__isnanf" = x""yes; then :
+if test "x$ac_cv_func__isnanf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISNANF 1
 _ACEOF
@@ -35614,7 +37392,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
 $as_echo_n "checking for isinff declaration... " >&6; }
   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
+    if ${glibcxx_cv_func_isinff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -35663,7 +37441,7 @@ $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
     for ac_func in isinff
 do :
   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
-if test "x$ac_cv_func_isinff" = x""yes; then :
+if test "x$ac_cv_func_isinff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISINFF 1
 _ACEOF
@@ -35676,7 +37454,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
 $as_echo_n "checking for _isinff declaration... " >&6; }
   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
+    if ${glibcxx_cv_func__isinff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -35725,7 +37503,7 @@ $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
       for ac_func in _isinff
 do :
   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
-if test "x$ac_cv_func__isinff" = x""yes; then :
+if test "x$ac_cv_func__isinff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISINFF 1
 _ACEOF
@@ -35743,7 +37521,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
 $as_echo_n "checking for atan2f declaration... " >&6; }
   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
+    if ${glibcxx_cv_func_atan2f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -35788,7 +37566,7 @@ $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
     for ac_func in atan2f
 do :
   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
-if test "x$ac_cv_func_atan2f" = x""yes; then :
+if test "x$ac_cv_func_atan2f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ATAN2F 1
 _ACEOF
@@ -35801,7 +37579,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
 $as_echo_n "checking for _atan2f declaration... " >&6; }
   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
+    if ${glibcxx_cv_func__atan2f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -35846,7 +37624,7 @@ $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
       for ac_func in _atan2f
 do :
   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
-if test "x$ac_cv_func__atan2f" = x""yes; then :
+if test "x$ac_cv_func__atan2f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ATAN2F 1
 _ACEOF
@@ -35864,7 +37642,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
 $as_echo_n "checking for fabsf declaration... " >&6; }
   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
+    if ${glibcxx_cv_func_fabsf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -35913,7 +37691,7 @@ $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
     for ac_func in fabsf
 do :
   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
-if test "x$ac_cv_func_fabsf" = x""yes; then :
+if test "x$ac_cv_func_fabsf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FABSF 1
 _ACEOF
@@ -35926,7 +37704,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
 $as_echo_n "checking for _fabsf declaration... " >&6; }
   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
+    if ${glibcxx_cv_func__fabsf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -35975,7 +37753,7 @@ $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
       for ac_func in _fabsf
 do :
   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
-if test "x$ac_cv_func__fabsf" = x""yes; then :
+if test "x$ac_cv_func__fabsf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FABSF 1
 _ACEOF
@@ -35993,7 +37771,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
 $as_echo_n "checking for fmodf declaration... " >&6; }
   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
+    if ${glibcxx_cv_func_fmodf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -36038,7 +37816,7 @@ $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
     for ac_func in fmodf
 do :
   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
-if test "x$ac_cv_func_fmodf" = x""yes; then :
+if test "x$ac_cv_func_fmodf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FMODF 1
 _ACEOF
@@ -36051,7 +37829,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
 $as_echo_n "checking for _fmodf declaration... " >&6; }
   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
+    if ${glibcxx_cv_func__fmodf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -36096,7 +37874,7 @@ $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
       for ac_func in _fmodf
 do :
   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
-if test "x$ac_cv_func__fmodf" = x""yes; then :
+if test "x$ac_cv_func__fmodf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FMODF 1
 _ACEOF
@@ -36114,7 +37892,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
 $as_echo_n "checking for frexpf declaration... " >&6; }
   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
+    if ${glibcxx_cv_func_frexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -36159,7 +37937,7 @@ $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
     for ac_func in frexpf
 do :
   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
-if test "x$ac_cv_func_frexpf" = x""yes; then :
+if test "x$ac_cv_func_frexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FREXPF 1
 _ACEOF
@@ -36172,7 +37950,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
 $as_echo_n "checking for _frexpf declaration... " >&6; }
   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
+    if ${glibcxx_cv_func__frexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -36217,7 +37995,7 @@ $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
       for ac_func in _frexpf
 do :
   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
-if test "x$ac_cv_func__frexpf" = x""yes; then :
+if test "x$ac_cv_func__frexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FREXPF 1
 _ACEOF
@@ -36235,7 +38013,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
 $as_echo_n "checking for hypotf declaration... " >&6; }
   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
+    if ${glibcxx_cv_func_hypotf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -36280,7 +38058,7 @@ $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
     for ac_func in hypotf
 do :
   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
-if test "x$ac_cv_func_hypotf" = x""yes; then :
+if test "x$ac_cv_func_hypotf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_HYPOTF 1
 _ACEOF
@@ -36293,7 +38071,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
 $as_echo_n "checking for _hypotf declaration... " >&6; }
   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
+    if ${glibcxx_cv_func__hypotf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -36338,7 +38116,7 @@ $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
       for ac_func in _hypotf
 do :
   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
-if test "x$ac_cv_func__hypotf" = x""yes; then :
+if test "x$ac_cv_func__hypotf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__HYPOTF 1
 _ACEOF
@@ -36356,7 +38134,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
 $as_echo_n "checking for ldexpf declaration... " >&6; }
   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
+    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -36401,7 +38179,7 @@ $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
     for ac_func in ldexpf
 do :
   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
-if test "x$ac_cv_func_ldexpf" = x""yes; then :
+if test "x$ac_cv_func_ldexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LDEXPF 1
 _ACEOF
@@ -36414,7 +38192,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
 $as_echo_n "checking for _ldexpf declaration... " >&6; }
   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
+    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -36459,7 +38237,7 @@ $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
       for ac_func in _ldexpf
 do :
   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
-if test "x$ac_cv_func__ldexpf" = x""yes; then :
+if test "x$ac_cv_func__ldexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LDEXPF 1
 _ACEOF
@@ -36477,7 +38255,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
 $as_echo_n "checking for logf declaration... " >&6; }
   if test x${glibcxx_cv_func_logf_use+set} != xset; then
-    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
+    if ${glibcxx_cv_func_logf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -36526,7 +38304,7 @@ $as_echo "$glibcxx_cv_func_logf_use" >&6; }
     for ac_func in logf
 do :
   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
-if test "x$ac_cv_func_logf" = x""yes; then :
+if test "x$ac_cv_func_logf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOGF 1
 _ACEOF
@@ -36539,7 +38317,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
 $as_echo_n "checking for _logf declaration... " >&6; }
   if test x${glibcxx_cv_func__logf_use+set} != xset; then
-    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
+    if ${glibcxx_cv_func__logf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -36588,7 +38366,7 @@ $as_echo "$glibcxx_cv_func__logf_use" >&6; }
       for ac_func in _logf
 do :
   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
-if test "x$ac_cv_func__logf" = x""yes; then :
+if test "x$ac_cv_func__logf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LOGF 1
 _ACEOF
@@ -36606,7 +38384,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
 $as_echo_n "checking for log10f declaration... " >&6; }
   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
+    if ${glibcxx_cv_func_log10f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -36655,7 +38433,7 @@ $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
     for ac_func in log10f
 do :
   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
-if test "x$ac_cv_func_log10f" = x""yes; then :
+if test "x$ac_cv_func_log10f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOG10F 1
 _ACEOF
@@ -36668,7 +38446,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
 $as_echo_n "checking for _log10f declaration... " >&6; }
   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
+    if ${glibcxx_cv_func__log10f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -36717,7 +38495,7 @@ $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
       for ac_func in _log10f
 do :
   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
-if test "x$ac_cv_func__log10f" = x""yes; then :
+if test "x$ac_cv_func__log10f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LOG10F 1
 _ACEOF
@@ -36735,7 +38513,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
 $as_echo_n "checking for modff declaration... " >&6; }
   if test x${glibcxx_cv_func_modff_use+set} != xset; then
-    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
+    if ${glibcxx_cv_func_modff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -36780,7 +38558,7 @@ $as_echo "$glibcxx_cv_func_modff_use" >&6; }
     for ac_func in modff
 do :
   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
-if test "x$ac_cv_func_modff" = x""yes; then :
+if test "x$ac_cv_func_modff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_MODFF 1
 _ACEOF
@@ -36793,7 +38571,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
 $as_echo_n "checking for _modff declaration... " >&6; }
   if test x${glibcxx_cv_func__modff_use+set} != xset; then
-    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
+    if ${glibcxx_cv_func__modff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -36838,7 +38616,7 @@ $as_echo "$glibcxx_cv_func__modff_use" >&6; }
       for ac_func in _modff
 do :
   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
-if test "x$ac_cv_func__modff" = x""yes; then :
+if test "x$ac_cv_func__modff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__MODFF 1
 _ACEOF
@@ -36856,7 +38634,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
 $as_echo_n "checking for modf declaration... " >&6; }
   if test x${glibcxx_cv_func_modf_use+set} != xset; then
-    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
+    if ${glibcxx_cv_func_modf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -36901,7 +38679,7 @@ $as_echo "$glibcxx_cv_func_modf_use" >&6; }
     for ac_func in modf
 do :
   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
-if test "x$ac_cv_func_modf" = x""yes; then :
+if test "x$ac_cv_func_modf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_MODF 1
 _ACEOF
@@ -36914,7 +38692,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
 $as_echo_n "checking for _modf declaration... " >&6; }
   if test x${glibcxx_cv_func__modf_use+set} != xset; then
-    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
+    if ${glibcxx_cv_func__modf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -36959,7 +38737,7 @@ $as_echo "$glibcxx_cv_func__modf_use" >&6; }
       for ac_func in _modf
 do :
   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
-if test "x$ac_cv_func__modf" = x""yes; then :
+if test "x$ac_cv_func__modf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__MODF 1
 _ACEOF
@@ -36977,7 +38755,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
 $as_echo_n "checking for powf declaration... " >&6; }
   if test x${glibcxx_cv_func_powf_use+set} != xset; then
-    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
+    if ${glibcxx_cv_func_powf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -37022,7 +38800,7 @@ $as_echo "$glibcxx_cv_func_powf_use" >&6; }
     for ac_func in powf
 do :
   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
-if test "x$ac_cv_func_powf" = x""yes; then :
+if test "x$ac_cv_func_powf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_POWF 1
 _ACEOF
@@ -37035,7 +38813,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
 $as_echo_n "checking for _powf declaration... " >&6; }
   if test x${glibcxx_cv_func__powf_use+set} != xset; then
-    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
+    if ${glibcxx_cv_func__powf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -37080,7 +38858,7 @@ $as_echo "$glibcxx_cv_func__powf_use" >&6; }
       for ac_func in _powf
 do :
   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
-if test "x$ac_cv_func__powf" = x""yes; then :
+if test "x$ac_cv_func__powf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__POWF 1
 _ACEOF
@@ -37098,7 +38876,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
 $as_echo_n "checking for sqrtf declaration... " >&6; }
   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
+    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -37147,7 +38925,7 @@ $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
     for ac_func in sqrtf
 do :
   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
-if test "x$ac_cv_func_sqrtf" = x""yes; then :
+if test "x$ac_cv_func_sqrtf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SQRTF 1
 _ACEOF
@@ -37160,7 +38938,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
 $as_echo_n "checking for _sqrtf declaration... " >&6; }
   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
+    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -37209,7 +38987,7 @@ $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
       for ac_func in _sqrtf
 do :
   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
-if test "x$ac_cv_func__sqrtf" = x""yes; then :
+if test "x$ac_cv_func__sqrtf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SQRTF 1
 _ACEOF
@@ -37227,7 +39005,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
 $as_echo_n "checking for sincosf declaration... " >&6; }
   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
+    if ${glibcxx_cv_func_sincosf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -37272,7 +39050,7 @@ $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
     for ac_func in sincosf
 do :
   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
-if test "x$ac_cv_func_sincosf" = x""yes; then :
+if test "x$ac_cv_func_sincosf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SINCOSF 1
 _ACEOF
@@ -37285,7 +39063,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
 $as_echo_n "checking for _sincosf declaration... " >&6; }
   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
+    if ${glibcxx_cv_func__sincosf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -37330,7 +39108,7 @@ $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
       for ac_func in _sincosf
 do :
   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
-if test "x$ac_cv_func__sincosf" = x""yes; then :
+if test "x$ac_cv_func__sincosf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SINCOSF 1
 _ACEOF
@@ -37348,7 +39126,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
 $as_echo_n "checking for finitef declaration... " >&6; }
   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
+    if ${glibcxx_cv_func_finitef_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -37397,7 +39175,7 @@ $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
     for ac_func in finitef
 do :
   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
-if test "x$ac_cv_func_finitef" = x""yes; then :
+if test "x$ac_cv_func_finitef" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FINITEF 1
 _ACEOF
@@ -37410,7 +39188,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
 $as_echo_n "checking for _finitef declaration... " >&6; }
   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
+    if ${glibcxx_cv_func__finitef_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -37459,7 +39237,7 @@ $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
       for ac_func in _finitef
 do :
   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
-if test "x$ac_cv_func__finitef" = x""yes; then :
+if test "x$ac_cv_func__finitef" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FINITEF 1
 _ACEOF
@@ -37476,7 +39254,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
 $as_echo_n "checking for long double trig functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
+  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -37519,8 +39297,7 @@ $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -37531,7 +39308,7 @@ done
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
 $as_echo_n "checking for _long double trig functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
+    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -37574,8 +39351,7 @@ $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -37592,7 +39368,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
 $as_echo_n "checking for long double round functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
+  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -37635,8 +39411,7 @@ $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -37647,7 +39422,7 @@ done
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
 $as_echo_n "checking for _long double round functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
+    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -37690,8 +39465,7 @@ $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -37710,7 +39484,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
 $as_echo_n "checking for isnanl declaration... " >&6; }
   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
+    if ${glibcxx_cv_func_isnanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -37759,7 +39533,7 @@ $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
     for ac_func in isnanl
 do :
   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
-if test "x$ac_cv_func_isnanl" = x""yes; then :
+if test "x$ac_cv_func_isnanl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISNANL 1
 _ACEOF
@@ -37772,7 +39546,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
 $as_echo_n "checking for _isnanl declaration... " >&6; }
   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
+    if ${glibcxx_cv_func__isnanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -37821,7 +39595,7 @@ $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
       for ac_func in _isnanl
 do :
   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
-if test "x$ac_cv_func__isnanl" = x""yes; then :
+if test "x$ac_cv_func__isnanl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISNANL 1
 _ACEOF
@@ -37839,7 +39613,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
 $as_echo_n "checking for isinfl declaration... " >&6; }
   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
+    if ${glibcxx_cv_func_isinfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -37888,7 +39662,7 @@ $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
     for ac_func in isinfl
 do :
   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
-if test "x$ac_cv_func_isinfl" = x""yes; then :
+if test "x$ac_cv_func_isinfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISINFL 1
 _ACEOF
@@ -37901,7 +39675,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
 $as_echo_n "checking for _isinfl declaration... " >&6; }
   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
+    if ${glibcxx_cv_func__isinfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -37950,7 +39724,7 @@ $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
       for ac_func in _isinfl
 do :
   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
-if test "x$ac_cv_func__isinfl" = x""yes; then :
+if test "x$ac_cv_func__isinfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISINFL 1
 _ACEOF
@@ -37968,7 +39742,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
 $as_echo_n "checking for atan2l declaration... " >&6; }
   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
+    if ${glibcxx_cv_func_atan2l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -38013,7 +39787,7 @@ $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
     for ac_func in atan2l
 do :
   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
-if test "x$ac_cv_func_atan2l" = x""yes; then :
+if test "x$ac_cv_func_atan2l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ATAN2L 1
 _ACEOF
@@ -38026,7 +39800,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
 $as_echo_n "checking for _atan2l declaration... " >&6; }
   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
+    if ${glibcxx_cv_func__atan2l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -38071,7 +39845,7 @@ $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
       for ac_func in _atan2l
 do :
   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
-if test "x$ac_cv_func__atan2l" = x""yes; then :
+if test "x$ac_cv_func__atan2l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ATAN2L 1
 _ACEOF
@@ -38089,7 +39863,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
 $as_echo_n "checking for expl declaration... " >&6; }
   if test x${glibcxx_cv_func_expl_use+set} != xset; then
-    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
+    if ${glibcxx_cv_func_expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -38138,7 +39912,7 @@ $as_echo "$glibcxx_cv_func_expl_use" >&6; }
     for ac_func in expl
 do :
   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
-if test "x$ac_cv_func_expl" = x""yes; then :
+if test "x$ac_cv_func_expl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_EXPL 1
 _ACEOF
@@ -38151,7 +39925,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
 $as_echo_n "checking for _expl declaration... " >&6; }
   if test x${glibcxx_cv_func__expl_use+set} != xset; then
-    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
+    if ${glibcxx_cv_func__expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -38200,7 +39974,7 @@ $as_echo "$glibcxx_cv_func__expl_use" >&6; }
       for ac_func in _expl
 do :
   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
-if test "x$ac_cv_func__expl" = x""yes; then :
+if test "x$ac_cv_func__expl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__EXPL 1
 _ACEOF
@@ -38218,7 +39992,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
 $as_echo_n "checking for fabsl declaration... " >&6; }
   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
+    if ${glibcxx_cv_func_fabsl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -38267,7 +40041,7 @@ $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
     for ac_func in fabsl
 do :
   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
-if test "x$ac_cv_func_fabsl" = x""yes; then :
+if test "x$ac_cv_func_fabsl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FABSL 1
 _ACEOF
@@ -38280,7 +40054,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
 $as_echo_n "checking for _fabsl declaration... " >&6; }
   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
+    if ${glibcxx_cv_func__fabsl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -38329,7 +40103,7 @@ $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
       for ac_func in _fabsl
 do :
   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
-if test "x$ac_cv_func__fabsl" = x""yes; then :
+if test "x$ac_cv_func__fabsl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FABSL 1
 _ACEOF
@@ -38347,7 +40121,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
 $as_echo_n "checking for fmodl declaration... " >&6; }
   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
+    if ${glibcxx_cv_func_fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -38392,7 +40166,7 @@ $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
     for ac_func in fmodl
 do :
   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
-if test "x$ac_cv_func_fmodl" = x""yes; then :
+if test "x$ac_cv_func_fmodl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FMODL 1
 _ACEOF
@@ -38405,7 +40179,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
 $as_echo_n "checking for _fmodl declaration... " >&6; }
   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
+    if ${glibcxx_cv_func__fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -38450,7 +40224,7 @@ $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
       for ac_func in _fmodl
 do :
   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
-if test "x$ac_cv_func__fmodl" = x""yes; then :
+if test "x$ac_cv_func__fmodl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FMODL 1
 _ACEOF
@@ -38468,7 +40242,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
 $as_echo_n "checking for frexpl declaration... " >&6; }
   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
+    if ${glibcxx_cv_func_frexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -38513,7 +40287,7 @@ $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
     for ac_func in frexpl
 do :
   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
-if test "x$ac_cv_func_frexpl" = x""yes; then :
+if test "x$ac_cv_func_frexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FREXPL 1
 _ACEOF
@@ -38526,7 +40300,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
 $as_echo_n "checking for _frexpl declaration... " >&6; }
   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
+    if ${glibcxx_cv_func__frexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -38571,7 +40345,7 @@ $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
       for ac_func in _frexpl
 do :
   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
-if test "x$ac_cv_func__frexpl" = x""yes; then :
+if test "x$ac_cv_func__frexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FREXPL 1
 _ACEOF
@@ -38589,7 +40363,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
 $as_echo_n "checking for hypotl declaration... " >&6; }
   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
+    if ${glibcxx_cv_func_hypotl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -38634,7 +40408,7 @@ $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
     for ac_func in hypotl
 do :
   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
-if test "x$ac_cv_func_hypotl" = x""yes; then :
+if test "x$ac_cv_func_hypotl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_HYPOTL 1
 _ACEOF
@@ -38647,7 +40421,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
 $as_echo_n "checking for _hypotl declaration... " >&6; }
   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
+    if ${glibcxx_cv_func__hypotl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -38692,7 +40466,7 @@ $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
       for ac_func in _hypotl
 do :
   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
-if test "x$ac_cv_func__hypotl" = x""yes; then :
+if test "x$ac_cv_func__hypotl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__HYPOTL 1
 _ACEOF
@@ -38710,7 +40484,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
 $as_echo_n "checking for ldexpl declaration... " >&6; }
   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
+    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -38755,7 +40529,7 @@ $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
     for ac_func in ldexpl
 do :
   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
-if test "x$ac_cv_func_ldexpl" = x""yes; then :
+if test "x$ac_cv_func_ldexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LDEXPL 1
 _ACEOF
@@ -38768,7 +40542,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
 $as_echo_n "checking for _ldexpl declaration... " >&6; }
   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
+    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -38813,7 +40587,7 @@ $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
       for ac_func in _ldexpl
 do :
   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
-if test "x$ac_cv_func__ldexpl" = x""yes; then :
+if test "x$ac_cv_func__ldexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LDEXPL 1
 _ACEOF
@@ -38831,7 +40605,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
 $as_echo_n "checking for logl declaration... " >&6; }
   if test x${glibcxx_cv_func_logl_use+set} != xset; then
-    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
+    if ${glibcxx_cv_func_logl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -38880,7 +40654,7 @@ $as_echo "$glibcxx_cv_func_logl_use" >&6; }
     for ac_func in logl
 do :
   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
-if test "x$ac_cv_func_logl" = x""yes; then :
+if test "x$ac_cv_func_logl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOGL 1
 _ACEOF
@@ -38893,7 +40667,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
 $as_echo_n "checking for _logl declaration... " >&6; }
   if test x${glibcxx_cv_func__logl_use+set} != xset; then
-    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
+    if ${glibcxx_cv_func__logl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -38942,7 +40716,7 @@ $as_echo "$glibcxx_cv_func__logl_use" >&6; }
       for ac_func in _logl
 do :
   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
-if test "x$ac_cv_func__logl" = x""yes; then :
+if test "x$ac_cv_func__logl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LOGL 1
 _ACEOF
@@ -38960,7 +40734,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
 $as_echo_n "checking for log10l declaration... " >&6; }
   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
+    if ${glibcxx_cv_func_log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39009,7 +40783,7 @@ $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
     for ac_func in log10l
 do :
   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
-if test "x$ac_cv_func_log10l" = x""yes; then :
+if test "x$ac_cv_func_log10l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOG10L 1
 _ACEOF
@@ -39022,7 +40796,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
 $as_echo_n "checking for _log10l declaration... " >&6; }
   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
+    if ${glibcxx_cv_func__log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39071,7 +40845,7 @@ $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
       for ac_func in _log10l
 do :
   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
-if test "x$ac_cv_func__log10l" = x""yes; then :
+if test "x$ac_cv_func__log10l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LOG10L 1
 _ACEOF
@@ -39089,7 +40863,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
 $as_echo_n "checking for modfl declaration... " >&6; }
   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
+    if ${glibcxx_cv_func_modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39134,7 +40908,7 @@ $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
     for ac_func in modfl
 do :
   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
-if test "x$ac_cv_func_modfl" = x""yes; then :
+if test "x$ac_cv_func_modfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_MODFL 1
 _ACEOF
@@ -39147,7 +40921,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
 $as_echo_n "checking for _modfl declaration... " >&6; }
   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
+    if ${glibcxx_cv_func__modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39192,7 +40966,7 @@ $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
       for ac_func in _modfl
 do :
   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
-if test "x$ac_cv_func__modfl" = x""yes; then :
+if test "x$ac_cv_func__modfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__MODFL 1
 _ACEOF
@@ -39210,7 +40984,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
 $as_echo_n "checking for powl declaration... " >&6; }
   if test x${glibcxx_cv_func_powl_use+set} != xset; then
-    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
+    if ${glibcxx_cv_func_powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39255,7 +41029,7 @@ $as_echo "$glibcxx_cv_func_powl_use" >&6; }
     for ac_func in powl
 do :
   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
-if test "x$ac_cv_func_powl" = x""yes; then :
+if test "x$ac_cv_func_powl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_POWL 1
 _ACEOF
@@ -39268,7 +41042,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
 $as_echo_n "checking for _powl declaration... " >&6; }
   if test x${glibcxx_cv_func__powl_use+set} != xset; then
-    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
+    if ${glibcxx_cv_func__powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39313,7 +41087,7 @@ $as_echo "$glibcxx_cv_func__powl_use" >&6; }
       for ac_func in _powl
 do :
   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
-if test "x$ac_cv_func__powl" = x""yes; then :
+if test "x$ac_cv_func__powl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__POWL 1
 _ACEOF
@@ -39331,7 +41105,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
 $as_echo_n "checking for sqrtl declaration... " >&6; }
   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
+    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39380,7 +41154,7 @@ $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
     for ac_func in sqrtl
 do :
   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
-if test "x$ac_cv_func_sqrtl" = x""yes; then :
+if test "x$ac_cv_func_sqrtl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SQRTL 1
 _ACEOF
@@ -39393,7 +41167,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
 $as_echo_n "checking for _sqrtl declaration... " >&6; }
   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
+    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39442,7 +41216,7 @@ $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
       for ac_func in _sqrtl
 do :
   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
-if test "x$ac_cv_func__sqrtl" = x""yes; then :
+if test "x$ac_cv_func__sqrtl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SQRTL 1
 _ACEOF
@@ -39460,7 +41234,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
 $as_echo_n "checking for sincosl declaration... " >&6; }
   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
+    if ${glibcxx_cv_func_sincosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39505,7 +41279,7 @@ $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
     for ac_func in sincosl
 do :
   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
-if test "x$ac_cv_func_sincosl" = x""yes; then :
+if test "x$ac_cv_func_sincosl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SINCOSL 1
 _ACEOF
@@ -39518,7 +41292,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
 $as_echo_n "checking for _sincosl declaration... " >&6; }
   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
+    if ${glibcxx_cv_func__sincosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39563,7 +41337,7 @@ $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
       for ac_func in _sincosl
 do :
   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
-if test "x$ac_cv_func__sincosl" = x""yes; then :
+if test "x$ac_cv_func__sincosl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SINCOSL 1
 _ACEOF
@@ -39581,7 +41355,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
 $as_echo_n "checking for finitel declaration... " >&6; }
   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
+    if ${glibcxx_cv_func_finitel_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39630,7 +41404,7 @@ $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
     for ac_func in finitel
 do :
   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
-if test "x$ac_cv_func_finitel" = x""yes; then :
+if test "x$ac_cv_func_finitel" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FINITEL 1
 _ACEOF
@@ -39643,7 +41417,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
 $as_echo_n "checking for _finitel declaration... " >&6; }
   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
+    if ${glibcxx_cv_func__finitel_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39692,7 +41466,7 @@ $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
       for ac_func in _finitel
 do :
   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
-if test "x$ac_cv_func__finitel" = x""yes; then :
+if test "x$ac_cv_func__finitel" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FINITEL 1
 _ACEOF
@@ -39718,7 +41492,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
+    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39762,7 +41536,7 @@ $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
     for ac_func in at_quick_exit
 do :
   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
-if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
+if test "x$ac_cv_func_at_quick_exit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_AT_QUICK_EXIT 1
 _ACEOF
@@ -39776,7 +41550,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
 $as_echo_n "checking for quick_exit declaration... " >&6; }
   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
+    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39820,7 +41594,7 @@ $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
     for ac_func in quick_exit
 do :
   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
-if test "x$ac_cv_func_quick_exit" = x""yes; then :
+if test "x$ac_cv_func_quick_exit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_QUICK_EXIT 1
 _ACEOF
@@ -39834,7 +41608,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
 $as_echo_n "checking for strtold declaration... " >&6; }
   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
+    if ${glibcxx_cv_func_strtold_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39878,7 +41652,7 @@ $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
     for ac_func in strtold
 do :
   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
-if test "x$ac_cv_func_strtold" = x""yes; then :
+if test "x$ac_cv_func_strtold" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_STRTOLD 1
 _ACEOF
@@ -39894,7 +41668,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
 $as_echo_n "checking for strtof declaration... " >&6; }
   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
+    if ${glibcxx_cv_func_strtof_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39938,7 +41712,7 @@ $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
     for ac_func in strtof
 do :
   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
-if test "x$ac_cv_func_strtof" = x""yes; then :
+if test "x$ac_cv_func_strtof" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_STRTOF 1
 _ACEOF
@@ -39953,6 +41727,12 @@ done
 
   CXXFLAGS="$ac_save_CXXFLAGS"
 
+    $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
+
+    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
+
+    # We don't yet support AIX's TLS ABI.
+    #GCC_CHECK_TLS
 
 
 
@@ -39960,7 +41740,7 @@ done
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
 $as_echo_n "checking for iconv... " >&6; }
-if test "${am_cv_func_iconv+set}" = set; then :
+if ${am_cv_func_iconv+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -39969,7 +41749,7 @@ else
                     am_save_CPPFLAGS="$CPPFLAGS"
     CPPFLAGS="$CPPFLAGS $INCICONV"
     if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -39999,7 +41779,7 @@ rm -f core conftest.err conftest.$ac_objext \
         CPPFLAGS="$CPPFLAGS -I../libiconv/include"
         LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
         if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -40035,10 +41815,10 @@ rm -f core conftest.err conftest.$ac_objext \
     if test "$am_cv_func_iconv" != yes; then
       am_save_CPPFLAGS="$CPPFLAGS"
       am_save_LIBS="$LIBS"
-      CPPFLAGS="$LIBS $INCICONV"
+      CPPFLAGS="$CPPFLAGS $INCICONV"
       LIBS="$LIBS $LIBICONV"
       if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -40110,7 +41890,7 @@ $as_echo "$LIBICONV" >&6; }
   if test "$am_cv_func_iconv" = yes; then
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
 $as_echo_n "checking for iconv declaration... " >&6; }
-    if test "${am_cv_proto_iconv+set}" = set; then :
+    if ${am_cv_proto_iconv+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -40160,146 +41940,12 @@ _ACEOF
 
     ;;
 
-  *-aix*)
-
-  # 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...
-  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
-  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
-
-
-
-  # The name set by libtool depends on the version of libtool.  Shame on us
-  # for depending on an impl detail, but c'est la vie.  Older versions used
-  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
-  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
-  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
-  # set (hence we're using an older libtool), then set it.
-  if test x${with_gnu_ld+set} != xset; then
-    if test x${ac_cv_prog_gnu_ld+set} != xset; then
-      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
-      with_gnu_ld=no
-    else
-      with_gnu_ld=$ac_cv_prog_gnu_ld
-    fi
-  fi
-
-  # Start by getting the version number.  I think the libtool test already
-  # does some of this, but throws away the result.
-  glibcxx_ld_is_gold=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
-$as_echo_n "checking for ld version... " >&6; }
-
-    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
-      glibcxx_ld_is_gold=yes
-    fi
-    ldver=`$LD --version 2>/dev/null |
-          sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
-
-    glibcxx_gnu_ld_version=`echo $ldver | \
-          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
-$as_echo "$glibcxx_gnu_ld_version" >&6; }
-  fi
-
-  # Set --gc-sections.
-  glibcxx_have_gc_sections=no
-  if test "$glibcxx_ld_is_gold" = "yes"; then
-    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
-      glibcxx_have_gc_sections=yes
-    fi
-  else
-    glibcxx_gcsections_min_ld=21602
-    if test x"$with_gnu_ld" = x"yes" &&
-       test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
-      glibcxx_have_gc_sections=yes
-    fi
-  fi
-  if test "$glibcxx_have_gc_sections" = "yes"; then
-    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
-    # NB: This flag only works reliably after 2.16.1. Configure tests
-    # for this are difficult, so hard wire a value that should work.
-
-    ac_test_CFLAGS="${CFLAGS+set}"
-    ac_save_CFLAGS="$CFLAGS"
-    CFLAGS='-Wl,--gc-sections'
-
-    # Check for -Wl,--gc-sections
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
-$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
-    if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
- int one(void) { return 1; }
-     int two(void) { return 2; }
-
-int
-main ()
-{
- two();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_gcsections=yes
-else
-  ac_gcsections=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-    if test "$ac_gcsections" = "yes"; then
-      rm -f conftest.c
-      touch conftest.c
-      if $CC -c conftest.c; then
-       if $LD --gc-sections -o conftest conftest.o 2>&1 | \
-          grep "Warning: gc-sections option ignored" > /dev/null; then
-         ac_gcsections=no
-       fi
-      fi
-      rm -f conftest.c conftest.o conftest
-    fi
-    if test "$ac_gcsections" = "yes"; then
-      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
-$as_echo "$ac_gcsections" >&6; }
-
-    if test "$ac_test_CFLAGS" = set; then
-      CFLAGS="$ac_save_CFLAGS"
-    else
-      # this is the suspicious part
-      CFLAGS=''
-    fi
-  fi
-
-  # Set -z,relro.
-  # Note this is only for shared objects.
-  ac_ld_relro=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
-$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
-    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
-    if test -n "$cxx_z_relo"; then
-      OPT_LDFLAGS="-Wl,-z,relro"
-      ac_ld_relro=yes
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
-$as_echo "$ac_ld_relro" >&6; }
-  fi
-
-  # Set linker optimization flags.
-  if test x"$with_gnu_ld" = x"yes"; then
-    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
-  fi
-
-
-
+  *-darwin*)
+    # Darwin versions vary, but the linker should work in a cross environment,
+    # so we just check for all the features here.
+    # Check for available headers.
 
+    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
 
   ac_test_CXXFLAGS="${CXXFLAGS+set}"
   ac_save_CXXFLAGS="$CXXFLAGS"
@@ -40307,13 +41953,13 @@ $as_echo "$ac_ld_relro" >&6; }
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
 $as_echo_n "checking for sin in -lm... " >&6; }
-if test "${ac_cv_lib_m_sin+set}" = set; then :
+if ${ac_cv_lib_m_sin+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
 LIBS="-lm  $LIBS"
 if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -40344,7 +41990,7 @@ LIBS=$ac_check_lib_save_LIBS
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
 $as_echo "$ac_cv_lib_m_sin" >&6; }
-if test "x$ac_cv_lib_m_sin" = x""yes; then :
+if test "x$ac_cv_lib_m_sin" = xyes; then :
   libm="-lm"
 fi
 
@@ -40356,7 +42002,7 @@ fi
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
 $as_echo_n "checking for isinf declaration... " >&6; }
   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
+    if ${glibcxx_cv_func_isinf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -40405,7 +42051,7 @@ $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
     for ac_func in isinf
 do :
   ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
-if test "x$ac_cv_func_isinf" = x""yes; then :
+if test "x$ac_cv_func_isinf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISINF 1
 _ACEOF
@@ -40418,7 +42064,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
 $as_echo_n "checking for _isinf declaration... " >&6; }
   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
+    if ${glibcxx_cv_func__isinf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -40467,7 +42113,7 @@ $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
       for ac_func in _isinf
 do :
   ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
-if test "x$ac_cv_func__isinf" = x""yes; then :
+if test "x$ac_cv_func__isinf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISINF 1
 _ACEOF
@@ -40485,7 +42131,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
 $as_echo_n "checking for isnan declaration... " >&6; }
   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
+    if ${glibcxx_cv_func_isnan_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -40534,7 +42180,7 @@ $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
     for ac_func in isnan
 do :
   ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
-if test "x$ac_cv_func_isnan" = x""yes; then :
+if test "x$ac_cv_func_isnan" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISNAN 1
 _ACEOF
@@ -40547,7 +42193,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
 $as_echo_n "checking for _isnan declaration... " >&6; }
   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
+    if ${glibcxx_cv_func__isnan_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -40596,7 +42242,7 @@ $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
       for ac_func in _isnan
 do :
   ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
-if test "x$ac_cv_func__isnan" = x""yes; then :
+if test "x$ac_cv_func__isnan" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISNAN 1
 _ACEOF
@@ -40614,7 +42260,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
 $as_echo_n "checking for finite declaration... " >&6; }
   if test x${glibcxx_cv_func_finite_use+set} != xset; then
-    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
+    if ${glibcxx_cv_func_finite_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -40663,7 +42309,7 @@ $as_echo "$glibcxx_cv_func_finite_use" >&6; }
     for ac_func in finite
 do :
   ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
-if test "x$ac_cv_func_finite" = x""yes; then :
+if test "x$ac_cv_func_finite" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FINITE 1
 _ACEOF
@@ -40676,7 +42322,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
 $as_echo_n "checking for _finite declaration... " >&6; }
   if test x${glibcxx_cv_func__finite_use+set} != xset; then
-    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
+    if ${glibcxx_cv_func__finite_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -40725,7 +42371,7 @@ $as_echo "$glibcxx_cv_func__finite_use" >&6; }
       for ac_func in _finite
 do :
   ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
-if test "x$ac_cv_func__finite" = x""yes; then :
+if test "x$ac_cv_func__finite" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FINITE 1
 _ACEOF
@@ -40743,7 +42389,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
 $as_echo_n "checking for sincos declaration... " >&6; }
   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
+    if ${glibcxx_cv_func_sincos_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -40788,7 +42434,7 @@ $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
     for ac_func in sincos
 do :
   ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
-if test "x$ac_cv_func_sincos" = x""yes; then :
+if test "x$ac_cv_func_sincos" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SINCOS 1
 _ACEOF
@@ -40801,7 +42447,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
 $as_echo_n "checking for _sincos declaration... " >&6; }
   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
+    if ${glibcxx_cv_func__sincos_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -40846,7 +42492,7 @@ $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
       for ac_func in _sincos
 do :
   ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
-if test "x$ac_cv_func__sincos" = x""yes; then :
+if test "x$ac_cv_func__sincos" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SINCOS 1
 _ACEOF
@@ -40864,7 +42510,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
 $as_echo_n "checking for fpclass declaration... " >&6; }
   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
+    if ${glibcxx_cv_func_fpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -40913,7 +42559,7 @@ $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
     for ac_func in fpclass
 do :
   ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
-if test "x$ac_cv_func_fpclass" = x""yes; then :
+if test "x$ac_cv_func_fpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FPCLASS 1
 _ACEOF
@@ -40926,7 +42572,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
 $as_echo_n "checking for _fpclass declaration... " >&6; }
   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
+    if ${glibcxx_cv_func__fpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -40975,7 +42621,7 @@ $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
       for ac_func in _fpclass
 do :
   ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
-if test "x$ac_cv_func__fpclass" = x""yes; then :
+if test "x$ac_cv_func__fpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FPCLASS 1
 _ACEOF
@@ -40993,7 +42639,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
 $as_echo_n "checking for qfpclass declaration... " >&6; }
   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
+    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -41042,7 +42688,7 @@ $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
     for ac_func in qfpclass
 do :
   ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
-if test "x$ac_cv_func_qfpclass" = x""yes; then :
+if test "x$ac_cv_func_qfpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_QFPCLASS 1
 _ACEOF
@@ -41055,7 +42701,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
 $as_echo_n "checking for _qfpclass declaration... " >&6; }
   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
+    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -41104,7 +42750,7 @@ $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
       for ac_func in _qfpclass
 do :
   ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
-if test "x$ac_cv_func__qfpclass" = x""yes; then :
+if test "x$ac_cv_func__qfpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__QFPCLASS 1
 _ACEOF
@@ -41122,7 +42768,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
 $as_echo_n "checking for hypot declaration... " >&6; }
   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
+    if ${glibcxx_cv_func_hypot_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -41167,7 +42813,7 @@ $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
     for ac_func in hypot
 do :
   ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
-if test "x$ac_cv_func_hypot" = x""yes; then :
+if test "x$ac_cv_func_hypot" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_HYPOT 1
 _ACEOF
@@ -41180,7 +42826,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
 $as_echo_n "checking for _hypot declaration... " >&6; }
   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
+    if ${glibcxx_cv_func__hypot_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -41225,7 +42871,7 @@ $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
       for ac_func in _hypot
 do :
   ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
-if test "x$ac_cv_func__hypot" = x""yes; then :
+if test "x$ac_cv_func__hypot" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__HYPOT 1
 _ACEOF
@@ -41242,7 +42888,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
 $as_echo_n "checking for float trig functions... " >&6; }
-  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
+  if ${glibcxx_cv_func_float_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -41285,8 +42931,7 @@ $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -41297,7 +42942,7 @@ done
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
 $as_echo_n "checking for _float trig functions... " >&6; }
-    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
+    if ${glibcxx_cv_func__float_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -41340,8 +42985,7 @@ $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -41358,7 +43002,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
 $as_echo_n "checking for float round functions... " >&6; }
-  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
+  if ${glibcxx_cv_func_float_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -41401,8 +43045,7 @@ $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -41413,7 +43056,7 @@ done
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
 $as_echo_n "checking for _float round functions... " >&6; }
-    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
+    if ${glibcxx_cv_func__float_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -41456,8 +43099,7 @@ $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -41476,7 +43118,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
 $as_echo_n "checking for expf declaration... " >&6; }
   if test x${glibcxx_cv_func_expf_use+set} != xset; then
-    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
+    if ${glibcxx_cv_func_expf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -41525,7 +43167,7 @@ $as_echo "$glibcxx_cv_func_expf_use" >&6; }
     for ac_func in expf
 do :
   ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
-if test "x$ac_cv_func_expf" = x""yes; then :
+if test "x$ac_cv_func_expf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_EXPF 1
 _ACEOF
@@ -41538,7 +43180,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
 $as_echo_n "checking for _expf declaration... " >&6; }
   if test x${glibcxx_cv_func__expf_use+set} != xset; then
-    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
+    if ${glibcxx_cv_func__expf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -41587,7 +43229,7 @@ $as_echo "$glibcxx_cv_func__expf_use" >&6; }
       for ac_func in _expf
 do :
   ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
-if test "x$ac_cv_func__expf" = x""yes; then :
+if test "x$ac_cv_func__expf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__EXPF 1
 _ACEOF
@@ -41605,7 +43247,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
 $as_echo_n "checking for isnanf declaration... " >&6; }
   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
+    if ${glibcxx_cv_func_isnanf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -41654,7 +43296,7 @@ $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
     for ac_func in isnanf
 do :
   ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
-if test "x$ac_cv_func_isnanf" = x""yes; then :
+if test "x$ac_cv_func_isnanf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISNANF 1
 _ACEOF
@@ -41667,7 +43309,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
 $as_echo_n "checking for _isnanf declaration... " >&6; }
   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
+    if ${glibcxx_cv_func__isnanf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -41716,7 +43358,7 @@ $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
       for ac_func in _isnanf
 do :
   ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
-if test "x$ac_cv_func__isnanf" = x""yes; then :
+if test "x$ac_cv_func__isnanf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISNANF 1
 _ACEOF
@@ -41734,7 +43376,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
 $as_echo_n "checking for isinff declaration... " >&6; }
   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
+    if ${glibcxx_cv_func_isinff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -41783,7 +43425,7 @@ $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
     for ac_func in isinff
 do :
   ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
-if test "x$ac_cv_func_isinff" = x""yes; then :
+if test "x$ac_cv_func_isinff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISINFF 1
 _ACEOF
@@ -41796,7 +43438,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
 $as_echo_n "checking for _isinff declaration... " >&6; }
   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
+    if ${glibcxx_cv_func__isinff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -41845,7 +43487,7 @@ $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
       for ac_func in _isinff
 do :
   ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
-if test "x$ac_cv_func__isinff" = x""yes; then :
+if test "x$ac_cv_func__isinff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISINFF 1
 _ACEOF
@@ -41863,7 +43505,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
 $as_echo_n "checking for atan2f declaration... " >&6; }
   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
+    if ${glibcxx_cv_func_atan2f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -41908,7 +43550,7 @@ $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
     for ac_func in atan2f
 do :
   ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
-if test "x$ac_cv_func_atan2f" = x""yes; then :
+if test "x$ac_cv_func_atan2f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ATAN2F 1
 _ACEOF
@@ -41921,7 +43563,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
 $as_echo_n "checking for _atan2f declaration... " >&6; }
   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
+    if ${glibcxx_cv_func__atan2f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -41966,7 +43608,7 @@ $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
       for ac_func in _atan2f
 do :
   ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
-if test "x$ac_cv_func__atan2f" = x""yes; then :
+if test "x$ac_cv_func__atan2f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ATAN2F 1
 _ACEOF
@@ -41984,7 +43626,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
 $as_echo_n "checking for fabsf declaration... " >&6; }
   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
+    if ${glibcxx_cv_func_fabsf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -42033,7 +43675,7 @@ $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
     for ac_func in fabsf
 do :
   ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
-if test "x$ac_cv_func_fabsf" = x""yes; then :
+if test "x$ac_cv_func_fabsf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FABSF 1
 _ACEOF
@@ -42046,7 +43688,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
 $as_echo_n "checking for _fabsf declaration... " >&6; }
   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
+    if ${glibcxx_cv_func__fabsf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -42095,7 +43737,7 @@ $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
       for ac_func in _fabsf
 do :
   ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
-if test "x$ac_cv_func__fabsf" = x""yes; then :
+if test "x$ac_cv_func__fabsf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FABSF 1
 _ACEOF
@@ -42113,7 +43755,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
 $as_echo_n "checking for fmodf declaration... " >&6; }
   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
+    if ${glibcxx_cv_func_fmodf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -42158,7 +43800,7 @@ $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
     for ac_func in fmodf
 do :
   ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
-if test "x$ac_cv_func_fmodf" = x""yes; then :
+if test "x$ac_cv_func_fmodf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FMODF 1
 _ACEOF
@@ -42171,7 +43813,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
 $as_echo_n "checking for _fmodf declaration... " >&6; }
   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
+    if ${glibcxx_cv_func__fmodf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -42216,7 +43858,7 @@ $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
       for ac_func in _fmodf
 do :
   ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
-if test "x$ac_cv_func__fmodf" = x""yes; then :
+if test "x$ac_cv_func__fmodf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FMODF 1
 _ACEOF
@@ -42234,7 +43876,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
 $as_echo_n "checking for frexpf declaration... " >&6; }
   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
+    if ${glibcxx_cv_func_frexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -42279,7 +43921,7 @@ $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
     for ac_func in frexpf
 do :
   ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
-if test "x$ac_cv_func_frexpf" = x""yes; then :
+if test "x$ac_cv_func_frexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FREXPF 1
 _ACEOF
@@ -42292,7 +43934,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
 $as_echo_n "checking for _frexpf declaration... " >&6; }
   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
+    if ${glibcxx_cv_func__frexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -42337,7 +43979,7 @@ $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
       for ac_func in _frexpf
 do :
   ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
-if test "x$ac_cv_func__frexpf" = x""yes; then :
+if test "x$ac_cv_func__frexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FREXPF 1
 _ACEOF
@@ -42355,7 +43997,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
 $as_echo_n "checking for hypotf declaration... " >&6; }
   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
+    if ${glibcxx_cv_func_hypotf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -42400,7 +44042,7 @@ $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
     for ac_func in hypotf
 do :
   ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
-if test "x$ac_cv_func_hypotf" = x""yes; then :
+if test "x$ac_cv_func_hypotf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_HYPOTF 1
 _ACEOF
@@ -42413,7 +44055,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
 $as_echo_n "checking for _hypotf declaration... " >&6; }
   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
+    if ${glibcxx_cv_func__hypotf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -42458,7 +44100,7 @@ $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
       for ac_func in _hypotf
 do :
   ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
-if test "x$ac_cv_func__hypotf" = x""yes; then :
+if test "x$ac_cv_func__hypotf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__HYPOTF 1
 _ACEOF
@@ -42476,7 +44118,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
 $as_echo_n "checking for ldexpf declaration... " >&6; }
   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
+    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -42521,7 +44163,7 @@ $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
     for ac_func in ldexpf
 do :
   ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
-if test "x$ac_cv_func_ldexpf" = x""yes; then :
+if test "x$ac_cv_func_ldexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LDEXPF 1
 _ACEOF
@@ -42534,7 +44176,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
 $as_echo_n "checking for _ldexpf declaration... " >&6; }
   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
+    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -42579,7 +44221,7 @@ $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
       for ac_func in _ldexpf
 do :
   ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
-if test "x$ac_cv_func__ldexpf" = x""yes; then :
+if test "x$ac_cv_func__ldexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LDEXPF 1
 _ACEOF
@@ -42597,7 +44239,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
 $as_echo_n "checking for logf declaration... " >&6; }
   if test x${glibcxx_cv_func_logf_use+set} != xset; then
-    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
+    if ${glibcxx_cv_func_logf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -42646,7 +44288,7 @@ $as_echo "$glibcxx_cv_func_logf_use" >&6; }
     for ac_func in logf
 do :
   ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
-if test "x$ac_cv_func_logf" = x""yes; then :
+if test "x$ac_cv_func_logf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOGF 1
 _ACEOF
@@ -42659,7 +44301,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
 $as_echo_n "checking for _logf declaration... " >&6; }
   if test x${glibcxx_cv_func__logf_use+set} != xset; then
-    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
+    if ${glibcxx_cv_func__logf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -42708,7 +44350,7 @@ $as_echo "$glibcxx_cv_func__logf_use" >&6; }
       for ac_func in _logf
 do :
   ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
-if test "x$ac_cv_func__logf" = x""yes; then :
+if test "x$ac_cv_func__logf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LOGF 1
 _ACEOF
@@ -42726,7 +44368,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
 $as_echo_n "checking for log10f declaration... " >&6; }
   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
+    if ${glibcxx_cv_func_log10f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -42775,7 +44417,7 @@ $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
     for ac_func in log10f
 do :
   ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
-if test "x$ac_cv_func_log10f" = x""yes; then :
+if test "x$ac_cv_func_log10f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOG10F 1
 _ACEOF
@@ -42788,7 +44430,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
 $as_echo_n "checking for _log10f declaration... " >&6; }
   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
+    if ${glibcxx_cv_func__log10f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -42837,7 +44479,7 @@ $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
       for ac_func in _log10f
 do :
   ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
-if test "x$ac_cv_func__log10f" = x""yes; then :
+if test "x$ac_cv_func__log10f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LOG10F 1
 _ACEOF
@@ -42855,7 +44497,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
 $as_echo_n "checking for modff declaration... " >&6; }
   if test x${glibcxx_cv_func_modff_use+set} != xset; then
-    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
+    if ${glibcxx_cv_func_modff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -42900,7 +44542,7 @@ $as_echo "$glibcxx_cv_func_modff_use" >&6; }
     for ac_func in modff
 do :
   ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
-if test "x$ac_cv_func_modff" = x""yes; then :
+if test "x$ac_cv_func_modff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_MODFF 1
 _ACEOF
@@ -42913,7 +44555,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
 $as_echo_n "checking for _modff declaration... " >&6; }
   if test x${glibcxx_cv_func__modff_use+set} != xset; then
-    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
+    if ${glibcxx_cv_func__modff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -42958,7 +44600,7 @@ $as_echo "$glibcxx_cv_func__modff_use" >&6; }
       for ac_func in _modff
 do :
   ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
-if test "x$ac_cv_func__modff" = x""yes; then :
+if test "x$ac_cv_func__modff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__MODFF 1
 _ACEOF
@@ -42976,7 +44618,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
 $as_echo_n "checking for modf declaration... " >&6; }
   if test x${glibcxx_cv_func_modf_use+set} != xset; then
-    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
+    if ${glibcxx_cv_func_modf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -43021,7 +44663,7 @@ $as_echo "$glibcxx_cv_func_modf_use" >&6; }
     for ac_func in modf
 do :
   ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
-if test "x$ac_cv_func_modf" = x""yes; then :
+if test "x$ac_cv_func_modf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_MODF 1
 _ACEOF
@@ -43034,7 +44676,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
 $as_echo_n "checking for _modf declaration... " >&6; }
   if test x${glibcxx_cv_func__modf_use+set} != xset; then
-    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
+    if ${glibcxx_cv_func__modf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -43079,7 +44721,7 @@ $as_echo "$glibcxx_cv_func__modf_use" >&6; }
       for ac_func in _modf
 do :
   ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
-if test "x$ac_cv_func__modf" = x""yes; then :
+if test "x$ac_cv_func__modf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__MODF 1
 _ACEOF
@@ -43097,7 +44739,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
 $as_echo_n "checking for powf declaration... " >&6; }
   if test x${glibcxx_cv_func_powf_use+set} != xset; then
-    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
+    if ${glibcxx_cv_func_powf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -43142,7 +44784,7 @@ $as_echo "$glibcxx_cv_func_powf_use" >&6; }
     for ac_func in powf
 do :
   ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
-if test "x$ac_cv_func_powf" = x""yes; then :
+if test "x$ac_cv_func_powf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_POWF 1
 _ACEOF
@@ -43155,7 +44797,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
 $as_echo_n "checking for _powf declaration... " >&6; }
   if test x${glibcxx_cv_func__powf_use+set} != xset; then
-    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
+    if ${glibcxx_cv_func__powf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -43200,7 +44842,7 @@ $as_echo "$glibcxx_cv_func__powf_use" >&6; }
       for ac_func in _powf
 do :
   ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
-if test "x$ac_cv_func__powf" = x""yes; then :
+if test "x$ac_cv_func__powf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__POWF 1
 _ACEOF
@@ -43218,7 +44860,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
 $as_echo_n "checking for sqrtf declaration... " >&6; }
   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
+    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -43267,7 +44909,7 @@ $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
     for ac_func in sqrtf
 do :
   ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
-if test "x$ac_cv_func_sqrtf" = x""yes; then :
+if test "x$ac_cv_func_sqrtf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SQRTF 1
 _ACEOF
@@ -43280,7 +44922,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
 $as_echo_n "checking for _sqrtf declaration... " >&6; }
   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
+    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -43329,7 +44971,7 @@ $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
       for ac_func in _sqrtf
 do :
   ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
-if test "x$ac_cv_func__sqrtf" = x""yes; then :
+if test "x$ac_cv_func__sqrtf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SQRTF 1
 _ACEOF
@@ -43347,7 +44989,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
 $as_echo_n "checking for sincosf declaration... " >&6; }
   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
+    if ${glibcxx_cv_func_sincosf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -43392,7 +45034,7 @@ $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
     for ac_func in sincosf
 do :
   ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
-if test "x$ac_cv_func_sincosf" = x""yes; then :
+if test "x$ac_cv_func_sincosf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SINCOSF 1
 _ACEOF
@@ -43405,7 +45047,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
 $as_echo_n "checking for _sincosf declaration... " >&6; }
   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
+    if ${glibcxx_cv_func__sincosf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -43450,7 +45092,7 @@ $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
       for ac_func in _sincosf
 do :
   ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
-if test "x$ac_cv_func__sincosf" = x""yes; then :
+if test "x$ac_cv_func__sincosf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SINCOSF 1
 _ACEOF
@@ -43468,7 +45110,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
 $as_echo_n "checking for finitef declaration... " >&6; }
   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
+    if ${glibcxx_cv_func_finitef_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -43517,7 +45159,7 @@ $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
     for ac_func in finitef
 do :
   ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
-if test "x$ac_cv_func_finitef" = x""yes; then :
+if test "x$ac_cv_func_finitef" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FINITEF 1
 _ACEOF
@@ -43530,7 +45172,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
 $as_echo_n "checking for _finitef declaration... " >&6; }
   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
+    if ${glibcxx_cv_func__finitef_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -43579,7 +45221,7 @@ $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
       for ac_func in _finitef
 do :
   ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
-if test "x$ac_cv_func__finitef" = x""yes; then :
+if test "x$ac_cv_func__finitef" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FINITEF 1
 _ACEOF
@@ -43596,7 +45238,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
 $as_echo_n "checking for long double trig functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
+  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -43639,8 +45281,7 @@ $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -43651,7 +45292,7 @@ done
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
 $as_echo_n "checking for _long double trig functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
+    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -43694,8 +45335,7 @@ $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -43712,7 +45352,7 @@ done
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
 $as_echo_n "checking for long double round functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
+  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -43755,8 +45395,7 @@ $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -43767,7 +45406,7 @@ done
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
 $as_echo_n "checking for _long double round functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
+    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -43810,8 +45449,7 @@ $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
 do :
   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
@@ -43830,7 +45468,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
 $as_echo_n "checking for isnanl declaration... " >&6; }
   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
+    if ${glibcxx_cv_func_isnanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -43879,7 +45517,7 @@ $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
     for ac_func in isnanl
 do :
   ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
-if test "x$ac_cv_func_isnanl" = x""yes; then :
+if test "x$ac_cv_func_isnanl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISNANL 1
 _ACEOF
@@ -43892,7 +45530,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
 $as_echo_n "checking for _isnanl declaration... " >&6; }
   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
+    if ${glibcxx_cv_func__isnanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -43941,7 +45579,7 @@ $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
       for ac_func in _isnanl
 do :
   ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
-if test "x$ac_cv_func__isnanl" = x""yes; then :
+if test "x$ac_cv_func__isnanl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISNANL 1
 _ACEOF
@@ -43959,7 +45597,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
 $as_echo_n "checking for isinfl declaration... " >&6; }
   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
+    if ${glibcxx_cv_func_isinfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -44008,7 +45646,7 @@ $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
     for ac_func in isinfl
 do :
   ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
-if test "x$ac_cv_func_isinfl" = x""yes; then :
+if test "x$ac_cv_func_isinfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ISINFL 1
 _ACEOF
@@ -44021,7 +45659,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
 $as_echo_n "checking for _isinfl declaration... " >&6; }
   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
+    if ${glibcxx_cv_func__isinfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -44070,7 +45708,7 @@ $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
       for ac_func in _isinfl
 do :
   ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
-if test "x$ac_cv_func__isinfl" = x""yes; then :
+if test "x$ac_cv_func__isinfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ISINFL 1
 _ACEOF
@@ -44088,7 +45726,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
 $as_echo_n "checking for atan2l declaration... " >&6; }
   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
+    if ${glibcxx_cv_func_atan2l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -44133,7 +45771,7 @@ $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
     for ac_func in atan2l
 do :
   ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
-if test "x$ac_cv_func_atan2l" = x""yes; then :
+if test "x$ac_cv_func_atan2l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_ATAN2L 1
 _ACEOF
@@ -44146,7 +45784,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
 $as_echo_n "checking for _atan2l declaration... " >&6; }
   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
+    if ${glibcxx_cv_func__atan2l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -44191,7 +45829,7 @@ $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
       for ac_func in _atan2l
 do :
   ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
-if test "x$ac_cv_func__atan2l" = x""yes; then :
+if test "x$ac_cv_func__atan2l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__ATAN2L 1
 _ACEOF
@@ -44209,7 +45847,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
 $as_echo_n "checking for expl declaration... " >&6; }
   if test x${glibcxx_cv_func_expl_use+set} != xset; then
-    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
+    if ${glibcxx_cv_func_expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -44258,7 +45896,7 @@ $as_echo "$glibcxx_cv_func_expl_use" >&6; }
     for ac_func in expl
 do :
   ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
-if test "x$ac_cv_func_expl" = x""yes; then :
+if test "x$ac_cv_func_expl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_EXPL 1
 _ACEOF
@@ -44271,7 +45909,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
 $as_echo_n "checking for _expl declaration... " >&6; }
   if test x${glibcxx_cv_func__expl_use+set} != xset; then
-    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
+    if ${glibcxx_cv_func__expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -44320,7 +45958,7 @@ $as_echo "$glibcxx_cv_func__expl_use" >&6; }
       for ac_func in _expl
 do :
   ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
-if test "x$ac_cv_func__expl" = x""yes; then :
+if test "x$ac_cv_func__expl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__EXPL 1
 _ACEOF
@@ -44338,7 +45976,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
 $as_echo_n "checking for fabsl declaration... " >&6; }
   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
+    if ${glibcxx_cv_func_fabsl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -44387,7 +46025,7 @@ $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
     for ac_func in fabsl
 do :
   ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
-if test "x$ac_cv_func_fabsl" = x""yes; then :
+if test "x$ac_cv_func_fabsl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FABSL 1
 _ACEOF
@@ -44400,7 +46038,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
 $as_echo_n "checking for _fabsl declaration... " >&6; }
   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
+    if ${glibcxx_cv_func__fabsl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -44449,7 +46087,7 @@ $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
       for ac_func in _fabsl
 do :
   ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
-if test "x$ac_cv_func__fabsl" = x""yes; then :
+if test "x$ac_cv_func__fabsl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FABSL 1
 _ACEOF
@@ -44467,7 +46105,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
 $as_echo_n "checking for fmodl declaration... " >&6; }
   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
+    if ${glibcxx_cv_func_fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -44512,7 +46150,7 @@ $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
     for ac_func in fmodl
 do :
   ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
-if test "x$ac_cv_func_fmodl" = x""yes; then :
+if test "x$ac_cv_func_fmodl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FMODL 1
 _ACEOF
@@ -44525,7 +46163,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
 $as_echo_n "checking for _fmodl declaration... " >&6; }
   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
+    if ${glibcxx_cv_func__fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -44570,7 +46208,7 @@ $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
       for ac_func in _fmodl
 do :
   ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
-if test "x$ac_cv_func__fmodl" = x""yes; then :
+if test "x$ac_cv_func__fmodl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FMODL 1
 _ACEOF
@@ -44588,7 +46226,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
 $as_echo_n "checking for frexpl declaration... " >&6; }
   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
+    if ${glibcxx_cv_func_frexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -44633,7 +46271,7 @@ $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
     for ac_func in frexpl
 do :
   ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
-if test "x$ac_cv_func_frexpl" = x""yes; then :
+if test "x$ac_cv_func_frexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FREXPL 1
 _ACEOF
@@ -44646,7 +46284,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
 $as_echo_n "checking for _frexpl declaration... " >&6; }
   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
+    if ${glibcxx_cv_func__frexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -44691,7 +46329,7 @@ $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
       for ac_func in _frexpl
 do :
   ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
-if test "x$ac_cv_func__frexpl" = x""yes; then :
+if test "x$ac_cv_func__frexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FREXPL 1
 _ACEOF
@@ -44709,7 +46347,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
 $as_echo_n "checking for hypotl declaration... " >&6; }
   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
+    if ${glibcxx_cv_func_hypotl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -44754,7 +46392,7 @@ $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
     for ac_func in hypotl
 do :
   ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
-if test "x$ac_cv_func_hypotl" = x""yes; then :
+if test "x$ac_cv_func_hypotl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_HYPOTL 1
 _ACEOF
@@ -44767,7 +46405,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
 $as_echo_n "checking for _hypotl declaration... " >&6; }
   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
+    if ${glibcxx_cv_func__hypotl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -44812,7 +46450,7 @@ $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
       for ac_func in _hypotl
 do :
   ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
-if test "x$ac_cv_func__hypotl" = x""yes; then :
+if test "x$ac_cv_func__hypotl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__HYPOTL 1
 _ACEOF
@@ -44830,7 +46468,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
 $as_echo_n "checking for ldexpl declaration... " >&6; }
   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
+    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -44875,7 +46513,7 @@ $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
     for ac_func in ldexpl
 do :
   ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
-if test "x$ac_cv_func_ldexpl" = x""yes; then :
+if test "x$ac_cv_func_ldexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LDEXPL 1
 _ACEOF
@@ -44888,7 +46526,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
 $as_echo_n "checking for _ldexpl declaration... " >&6; }
   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
+    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -44933,7 +46571,7 @@ $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
       for ac_func in _ldexpl
 do :
   ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
-if test "x$ac_cv_func__ldexpl" = x""yes; then :
+if test "x$ac_cv_func__ldexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LDEXPL 1
 _ACEOF
@@ -44951,7 +46589,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
 $as_echo_n "checking for logl declaration... " >&6; }
   if test x${glibcxx_cv_func_logl_use+set} != xset; then
-    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
+    if ${glibcxx_cv_func_logl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45000,7 +46638,7 @@ $as_echo "$glibcxx_cv_func_logl_use" >&6; }
     for ac_func in logl
 do :
   ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
-if test "x$ac_cv_func_logl" = x""yes; then :
+if test "x$ac_cv_func_logl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOGL 1
 _ACEOF
@@ -45013,7 +46651,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
 $as_echo_n "checking for _logl declaration... " >&6; }
   if test x${glibcxx_cv_func__logl_use+set} != xset; then
-    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
+    if ${glibcxx_cv_func__logl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45062,7 +46700,7 @@ $as_echo "$glibcxx_cv_func__logl_use" >&6; }
       for ac_func in _logl
 do :
   ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
-if test "x$ac_cv_func__logl" = x""yes; then :
+if test "x$ac_cv_func__logl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LOGL 1
 _ACEOF
@@ -45080,7 +46718,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
 $as_echo_n "checking for log10l declaration... " >&6; }
   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
+    if ${glibcxx_cv_func_log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45129,7 +46767,7 @@ $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
     for ac_func in log10l
 do :
   ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
-if test "x$ac_cv_func_log10l" = x""yes; then :
+if test "x$ac_cv_func_log10l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_LOG10L 1
 _ACEOF
@@ -45142,7 +46780,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
 $as_echo_n "checking for _log10l declaration... " >&6; }
   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
+    if ${glibcxx_cv_func__log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45191,7 +46829,7 @@ $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
       for ac_func in _log10l
 do :
   ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
-if test "x$ac_cv_func__log10l" = x""yes; then :
+if test "x$ac_cv_func__log10l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__LOG10L 1
 _ACEOF
@@ -45209,7 +46847,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
 $as_echo_n "checking for modfl declaration... " >&6; }
   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
+    if ${glibcxx_cv_func_modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45254,7 +46892,7 @@ $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
     for ac_func in modfl
 do :
   ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
-if test "x$ac_cv_func_modfl" = x""yes; then :
+if test "x$ac_cv_func_modfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_MODFL 1
 _ACEOF
@@ -45267,7 +46905,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
 $as_echo_n "checking for _modfl declaration... " >&6; }
   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
+    if ${glibcxx_cv_func__modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45312,7 +46950,7 @@ $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
       for ac_func in _modfl
 do :
   ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
-if test "x$ac_cv_func__modfl" = x""yes; then :
+if test "x$ac_cv_func__modfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__MODFL 1
 _ACEOF
@@ -45330,7 +46968,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
 $as_echo_n "checking for powl declaration... " >&6; }
   if test x${glibcxx_cv_func_powl_use+set} != xset; then
-    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
+    if ${glibcxx_cv_func_powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45375,7 +47013,7 @@ $as_echo "$glibcxx_cv_func_powl_use" >&6; }
     for ac_func in powl
 do :
   ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
-if test "x$ac_cv_func_powl" = x""yes; then :
+if test "x$ac_cv_func_powl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_POWL 1
 _ACEOF
@@ -45388,7 +47026,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
 $as_echo_n "checking for _powl declaration... " >&6; }
   if test x${glibcxx_cv_func__powl_use+set} != xset; then
-    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
+    if ${glibcxx_cv_func__powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45433,7 +47071,7 @@ $as_echo "$glibcxx_cv_func__powl_use" >&6; }
       for ac_func in _powl
 do :
   ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
-if test "x$ac_cv_func__powl" = x""yes; then :
+if test "x$ac_cv_func__powl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__POWL 1
 _ACEOF
@@ -45451,7 +47089,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
 $as_echo_n "checking for sqrtl declaration... " >&6; }
   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
+    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45500,7 +47138,7 @@ $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
     for ac_func in sqrtl
 do :
   ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
-if test "x$ac_cv_func_sqrtl" = x""yes; then :
+if test "x$ac_cv_func_sqrtl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SQRTL 1
 _ACEOF
@@ -45513,7 +47151,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
 $as_echo_n "checking for _sqrtl declaration... " >&6; }
   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
+    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45562,7 +47200,7 @@ $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
       for ac_func in _sqrtl
 do :
   ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
-if test "x$ac_cv_func__sqrtl" = x""yes; then :
+if test "x$ac_cv_func__sqrtl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SQRTL 1
 _ACEOF
@@ -45580,7 +47218,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
 $as_echo_n "checking for sincosl declaration... " >&6; }
   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
+    if ${glibcxx_cv_func_sincosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45625,7 +47263,7 @@ $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
     for ac_func in sincosl
 do :
   ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
-if test "x$ac_cv_func_sincosl" = x""yes; then :
+if test "x$ac_cv_func_sincosl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SINCOSL 1
 _ACEOF
@@ -45638,7 +47276,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
 $as_echo_n "checking for _sincosl declaration... " >&6; }
   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
+    if ${glibcxx_cv_func__sincosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45683,7 +47321,7 @@ $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
       for ac_func in _sincosl
 do :
   ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
-if test "x$ac_cv_func__sincosl" = x""yes; then :
+if test "x$ac_cv_func__sincosl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__SINCOSL 1
 _ACEOF
@@ -45701,7 +47339,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
 $as_echo_n "checking for finitel declaration... " >&6; }
   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
+    if ${glibcxx_cv_func_finitel_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45750,7 +47388,7 @@ $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
     for ac_func in finitel
 do :
   ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
-if test "x$ac_cv_func_finitel" = x""yes; then :
+if test "x$ac_cv_func_finitel" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_FINITEL 1
 _ACEOF
@@ -45763,7 +47401,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
 $as_echo_n "checking for _finitel declaration... " >&6; }
   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
+    if ${glibcxx_cv_func__finitel_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45812,7 +47450,7 @@ $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
       for ac_func in _finitel
 do :
   ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
-if test "x$ac_cv_func__finitel" = x""yes; then :
+if test "x$ac_cv_func__finitel" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE__FINITEL 1
 _ACEOF
@@ -45838,7 +47476,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
   if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
+    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45882,7 +47520,7 @@ $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
     for ac_func in at_quick_exit
 do :
   ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
-if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
+if test "x$ac_cv_func_at_quick_exit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_AT_QUICK_EXIT 1
 _ACEOF
@@ -45896,7 +47534,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
 $as_echo_n "checking for quick_exit declaration... " >&6; }
   if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
+    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45940,7 +47578,7 @@ $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
     for ac_func in quick_exit
 do :
   ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
-if test "x$ac_cv_func_quick_exit" = x""yes; then :
+if test "x$ac_cv_func_quick_exit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_QUICK_EXIT 1
 _ACEOF
@@ -45954,7 +47592,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
 $as_echo_n "checking for strtold declaration... " >&6; }
   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
+    if ${glibcxx_cv_func_strtold_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -45998,7 +47636,7 @@ $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
     for ac_func in strtold
 do :
   ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
-if test "x$ac_cv_func_strtold" = x""yes; then :
+if test "x$ac_cv_func_strtold" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_STRTOLD 1
 _ACEOF
@@ -46014,7 +47652,7 @@ done
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
 $as_echo_n "checking for strtof declaration... " >&6; }
   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
+    if ${glibcxx_cv_func_strtof_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -46058,7 +47696,7 @@ $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
     for ac_func in strtof
 do :
   ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
-if test "x$ac_cv_func_strtof" = x""yes; then :
+if test "x$ac_cv_func_strtof" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_STRTOF 1
 _ACEOF
 
   CXXFLAGS="$ac_save_CXXFLAGS"
 
-    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
+    ;;
 
-    # We don't yet support AIX's TLS ABI.
-    #GCC_CHECK_TLS
+  *djgpp)
+    # GLIBCXX_CHECK_MATH_SUPPORT
+    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
 
+    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
 
+    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
 
+    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
 
+    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
-$as_echo_n "checking for iconv... " >&6; }
-if test "${am_cv_func_iconv+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
+    ;;
 
-    am_cv_func_iconv="no, consider installing GNU libiconv"
-    am_cv_lib_iconv=no
-                    am_save_CPPFLAGS="$CPPFLAGS"
-    CPPFLAGS="$CPPFLAGS $INCICONV"
-    if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdlib.h>
-#include <iconv.h>
-int
-main ()
-{
-iconv_t cd = iconv_open("","");
-       iconv(cd,NULL,NULL,NULL,NULL);
-       iconv_close(cd);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  am_cv_func_iconv=yes
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-    CPPFLAGS="$am_save_CPPFLAGS"
+  *-freebsd*)
+    SECTION_FLAGS='-ffunction-sections -fdata-sections'
 
-    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
-      for _libs in .libs _libs; do
-        am_save_CPPFLAGS="$CPPFLAGS"
-        am_save_LIBS="$LIBS"
-        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
-        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
-        if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdlib.h>
-#include <iconv.h>
-int
-main ()
-{
-iconv_t cd = iconv_open("","");
-           iconv(cd,NULL,NULL,NULL,NULL);
-           iconv_close(cd);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  INCICONV="-I../libiconv/include"
-          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
-          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
-          am_cv_lib_iconv=yes
-          am_cv_func_iconv=yes
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-        CPPFLAGS="$am_save_CPPFLAGS"
-        LIBS="$am_save_LIBS"
-        if test "$am_cv_func_iconv" = "yes"; then
-          break
-        fi
-      done
-    fi
 
-    if test "$am_cv_func_iconv" != yes; then
-      am_save_CPPFLAGS="$CPPFLAGS"
-      am_save_LIBS="$LIBS"
-      CPPFLAGS="$LIBS $INCICONV"
-      LIBS="$LIBS $LIBICONV"
-      if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdlib.h>
-#include <iconv.h>
-int
-main ()
-{
-iconv_t cd = iconv_open("","");
-         iconv(cd,NULL,NULL,NULL,NULL);
-         iconv_close(cd);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  am_cv_lib_iconv=yes
-        am_cv_func_iconv=yes
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-      CPPFLAGS="$am_save_CPPFLAGS"
-      LIBS="$am_save_LIBS"
-    fi
+  # 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...
+  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
+  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
-$as_echo "$am_cv_func_iconv" >&6; }
-  if test "$am_cv_func_iconv" = yes; then
 
-$as_echo "#define HAVE_ICONV 1" >>confdefs.h
 
+  # The name set by libtool depends on the version of libtool.  Shame on us
+  # for depending on an impl detail, but c'est la vie.  Older versions used
+  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
+  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
+  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
+  # set (hence we're using an older libtool), then set it.
+  if test x${with_gnu_ld+set} != xset; then
+    if test x${ac_cv_prog_gnu_ld+set} != xset; then
+      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
+      with_gnu_ld=no
+    else
+      with_gnu_ld=$ac_cv_prog_gnu_ld
+    fi
   fi
-  if test "$am_cv_lib_iconv" = yes; then
-
-  for element in $INCICONV; do
-    haveit=
-    for x in $CPPFLAGS; do
 
-  acl_save_prefix="$prefix"
-  prefix="$acl_final_prefix"
-  acl_save_exec_prefix="$exec_prefix"
-  exec_prefix="$acl_final_exec_prefix"
-  eval x=\"$x\"
-  exec_prefix="$acl_save_exec_prefix"
-  prefix="$acl_save_prefix"
+  # Start by getting the version number.  I think the libtool test already
+  # does some of this, but throws away the result.
+  glibcxx_ld_is_gold=no
+  if test x"$with_gnu_ld" = x"yes"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
+$as_echo_n "checking for ld version... " >&6; }
 
-      if test "X$x" = "X$element"; then
-        haveit=yes
-        break
-      fi
-    done
-    if test -z "$haveit"; then
-      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
+    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
+      glibcxx_ld_is_gold=yes
     fi
-  done
+    ldver=`$LD --version 2>/dev/null |
+          sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
-$as_echo_n "checking how to link with libiconv... " >&6; }
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
-$as_echo "$LIBICONV" >&6; }
-  else
-    LIBICONV=
-    LTLIBICONV=
+    glibcxx_gnu_ld_version=`echo $ldver | \
+          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
+$as_echo "$glibcxx_gnu_ld_version" >&6; }
   fi
 
-
-
-  if test "$am_cv_func_iconv" = yes; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
-$as_echo_n "checking for iconv declaration... " >&6; }
-    if test "${am_cv_proto_iconv+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-
-#include <stdlib.h>
-#include <iconv.h>
-extern
-#ifdef __cplusplus
-"C"
-#endif
-#if defined(__STDC__) || defined(__cplusplus)
-size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
-#else
-size_t iconv();
-#endif
-
-int
-main ()
-{
-
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  am_cv_proto_iconv_arg1=""
-else
-  am_cv_proto_iconv_arg1="const"
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
-fi
-
-    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
-         }$am_cv_proto_iconv" >&5
-$as_echo "${ac_t:-
-         }$am_cv_proto_iconv" >&6; }
-
-cat >>confdefs.h <<_ACEOF
-#define ICONV_CONST $am_cv_proto_iconv_arg1
-_ACEOF
-
+  # Set --gc-sections.
+  glibcxx_have_gc_sections=no
+  if test "$glibcxx_ld_is_gold" = "yes"; then
+    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
+      glibcxx_have_gc_sections=yes
+    fi
+  else
+    glibcxx_gcsections_min_ld=21602
+    if test x"$with_gnu_ld" = x"yes" &&
+       test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
+      glibcxx_have_gc_sections=yes
+    fi
   fi
+  if test "$glibcxx_have_gc_sections" = "yes"; then
+    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
+    # NB: This flag only works reliably after 2.16.1. Configure tests
+    # for this are difficult, so hard wire a value that should work.
 
-    ;;
-
-  *-darwin*)
-    # Darwin versions vary, but the linker should work in a cross environment,
-    # so we just check for all the features here.
-    # Check for available headers.
-
-    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
-
-  ac_test_CXXFLAGS="${CXXFLAGS+set}"
-  ac_save_CXXFLAGS="$CXXFLAGS"
-  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
+    ac_test_CFLAGS="${CFLAGS+set}"
+    ac_save_CFLAGS="$CFLAGS"
+    CFLAGS='-Wl,--gc-sections'
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
-$as_echo_n "checking for sin in -lm... " >&6; }
-if test "${ac_cv_lib_m_sin+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lm  $LIBS"
-if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+    # Check for -Wl,--gc-sections
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
+$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
+    if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+ int one(void) { return 1; }
+     int two(void) { return 2; }
 
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char sin ();
 int
 main ()
 {
-return sin ();
+ two();
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_m_sin=yes
+  ac_gcsections=yes
 else
-  ac_cv_lib_m_sin=no
+  ac_gcsections=no
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
-$as_echo "$ac_cv_lib_m_sin" >&6; }
-if test "x$ac_cv_lib_m_sin" = x""yes; then :
-  libm="-lm"
-fi
-
-  ac_save_LIBS="$LIBS"
-  LIBS="$LIBS $libm"
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
-$as_echo_n "checking for isinf declaration... " >&6; }
-  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- isinf(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isinf_use=yes
-else
-  glibcxx_cv_func_isinf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
+    if test "$ac_gcsections" = "yes"; then
+      rm -f conftest.c
+      touch conftest.c
+      if $CC -c conftest.c; then
+       if $LD --gc-sections -o conftest conftest.o 2>&1 | \
+          grep "Warning: gc-sections option ignored" > /dev/null; then
+         ac_gcsections=no
+       fi
+      fi
+      rm -f conftest.c conftest.o conftest
+    fi
+    if test "$ac_gcsections" = "yes"; then
+      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
+$as_echo "$ac_gcsections" >&6; }
 
+    if test "$ac_test_CFLAGS" = set; then
+      CFLAGS="$ac_save_CFLAGS"
+    else
+      # this is the suspicious part
+      CFLAGS=''
+    fi
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
-$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
-
-  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
-    for ac_func in isinf
-do :
-  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
-if test "x$ac_cv_func_isinf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_ISINF 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
-$as_echo_n "checking for _isinf declaration... " >&6; }
-  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
 
+  # Set -z,relro.
+  # Note this is only for shared objects.
+  ac_ld_relro=no
+  if test x"$with_gnu_ld" = x"yes"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
+$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
+    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
+    if test -n "$cxx_z_relo"; then
+      OPT_LDFLAGS="-Wl,-z,relro"
+      ac_ld_relro=yes
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
+$as_echo "$ac_ld_relro" >&6; }
+  fi
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+  # Set linker optimization flags.
+  if test x"$with_gnu_ld" = x"yes"; then
+    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
+  fi
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
 
-int
-main ()
-{
- _isinf(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isinf_use=yes
-else
-  glibcxx_cv_func__isinf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-fi
+    $as_echo "#define HAVE_SETENV 1" >>confdefs.h
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
-$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
+    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
 
-    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
-      for ac_func in _isinf
-do :
-  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
-if test "x$ac_cv_func__isinf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__ISINF 1
-_ACEOF
+    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
 
-fi
-done
+    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
 
-    fi
-  fi
+    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
 
+    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
 
+    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
 
+    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
 
+    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
-$as_echo_n "checking for isnan declaration... " >&6; }
-  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
 
+    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
+    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
 
-int
-main ()
-{
- isnan(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isnan_use=yes
-else
-  glibcxx_cv_func_isnan_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
 
+    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
 
-fi
+    $as_echo "#define HAVE_COSF 1" >>confdefs.h
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
-$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
+    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
 
-  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
-    for ac_func in isnan
-do :
-  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
-if test "x$ac_cv_func_isnan" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_ISNAN 1
-_ACEOF
+    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
 
-fi
-done
+    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
 
-  else
+    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
-$as_echo_n "checking for _isnan declaration... " >&6; }
-  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _isnan(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isnan_use=yes
-else
-  glibcxx_cv_func__isnan_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
-$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
-
-    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
-      for ac_func in _isnan
-do :
-  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
-if test "x$ac_cv_func__isnan" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__ISNAN 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
-$as_echo_n "checking for finite declaration... " >&6; }
-  if test x${glibcxx_cv_func_finite_use+set} != xset; then
-    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- finite(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_finite_use=yes
-else
-  glibcxx_cv_func_finite_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
-$as_echo "$glibcxx_cv_func_finite_use" >&6; }
-
-  if test x$glibcxx_cv_func_finite_use = x"yes"; then
-    for ac_func in finite
-do :
-  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
-if test "x$ac_cv_func_finite" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_FINITE 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
-$as_echo_n "checking for _finite declaration... " >&6; }
-  if test x${glibcxx_cv_func__finite_use+set} != xset; then
-    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _finite(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__finite_use=yes
-else
-  glibcxx_cv_func__finite_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
-$as_echo "$glibcxx_cv_func__finite_use" >&6; }
-
-    if test x$glibcxx_cv_func__finite_use = x"yes"; then
-      for ac_func in _finite
-do :
-  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
-if test "x$ac_cv_func__finite" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__FINITE 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
-$as_echo_n "checking for sincos declaration... " >&6; }
-  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- sincos(0, 0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sincos_use=yes
-else
-  glibcxx_cv_func_sincos_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
-$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
-
-  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
-    for ac_func in sincos
-do :
-  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
-if test "x$ac_cv_func_sincos" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_SINCOS 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
-$as_echo_n "checking for _sincos declaration... " >&6; }
-  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _sincos(0, 0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sincos_use=yes
-else
-  glibcxx_cv_func__sincos_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
-$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
-
-    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
-      for ac_func in _sincos
-do :
-  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
-if test "x$ac_cv_func__sincos" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__SINCOS 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
-$as_echo_n "checking for fpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- fpclass(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fpclass_use=yes
-else
-  glibcxx_cv_func_fpclass_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
-$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
-
-  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
-    for ac_func in fpclass
-do :
-  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
-if test "x$ac_cv_func_fpclass" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_FPCLASS 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
-$as_echo_n "checking for _fpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _fpclass(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fpclass_use=yes
-else
-  glibcxx_cv_func__fpclass_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
-$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
-
-    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
-      for ac_func in _fpclass
-do :
-  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
-if test "x$ac_cv_func__fpclass" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__FPCLASS 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
-$as_echo_n "checking for qfpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- qfpclass(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_qfpclass_use=yes
-else
-  glibcxx_cv_func_qfpclass_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
-$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
-
-  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
-    for ac_func in qfpclass
-do :
-  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
-if test "x$ac_cv_func_qfpclass" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_QFPCLASS 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
-$as_echo_n "checking for _qfpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _qfpclass(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__qfpclass_use=yes
-else
-  glibcxx_cv_func__qfpclass_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
-$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
-
-    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
-      for ac_func in _qfpclass
-do :
-  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
-if test "x$ac_cv_func__qfpclass" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__QFPCLASS 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
-$as_echo_n "checking for hypot declaration... " >&6; }
-  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- hypot(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_hypot_use=yes
-else
-  glibcxx_cv_func_hypot_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
-$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
-
-  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
-    for ac_func in hypot
-do :
-  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
-if test "x$ac_cv_func_hypot" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_HYPOT 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
-$as_echo_n "checking for _hypot declaration... " >&6; }
-  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _hypot(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__hypot_use=yes
-else
-  glibcxx_cv_func__hypot_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
-$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
-
-    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
-      for ac_func in _hypot
-do :
-  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
-if test "x$ac_cv_func__hypot" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__HYPOT 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
-$as_echo_n "checking for float trig functions... " >&6; }
-  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-    ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
-acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_float_trig_use=yes
-else
-  glibcxx_cv_func_float_trig_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-fi
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
-$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
-  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
-    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
-
-  else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
-$as_echo_n "checking for _float trig functions... " >&6; }
-    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
-_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__float_trig_use=yes
-else
-  glibcxx_cv_func__float_trig_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-fi
-
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
-$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
-    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
-      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
-$as_echo_n "checking for float round functions... " >&6; }
-  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-    ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
-ceilf (0); floorf (0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_float_round_use=yes
-else
-  glibcxx_cv_func_float_round_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-fi
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
-$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
-  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
-    for ac_func in ceilf floorf
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
-
-  else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
-$as_echo_n "checking for _float round functions... " >&6; }
-    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
-_ceilf (0); _floorf (0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__float_round_use=yes
-else
-  glibcxx_cv_func__float_round_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-fi
-
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
-$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
-    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
-      for ac_func in _ceilf _floorf
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
-$as_echo_n "checking for expf declaration... " >&6; }
-  if test x${glibcxx_cv_func_expf_use+set} != xset; then
-    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- expf(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_expf_use=yes
-else
-  glibcxx_cv_func_expf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
-$as_echo "$glibcxx_cv_func_expf_use" >&6; }
-
-  if test x$glibcxx_cv_func_expf_use = x"yes"; then
-    for ac_func in expf
-do :
-  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
-if test "x$ac_cv_func_expf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_EXPF 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
-$as_echo_n "checking for _expf declaration... " >&6; }
-  if test x${glibcxx_cv_func__expf_use+set} != xset; then
-    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _expf(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__expf_use=yes
-else
-  glibcxx_cv_func__expf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
-$as_echo "$glibcxx_cv_func__expf_use" >&6; }
-
-    if test x$glibcxx_cv_func__expf_use = x"yes"; then
-      for ac_func in _expf
-do :
-  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
-if test "x$ac_cv_func__expf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__EXPF 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
-$as_echo_n "checking for isnanf declaration... " >&6; }
-  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- isnanf(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isnanf_use=yes
-else
-  glibcxx_cv_func_isnanf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
-$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
-
-  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
-    for ac_func in isnanf
-do :
-  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
-if test "x$ac_cv_func_isnanf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_ISNANF 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
-$as_echo_n "checking for _isnanf declaration... " >&6; }
-  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _isnanf(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isnanf_use=yes
-else
-  glibcxx_cv_func__isnanf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
-$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
-
-    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
-      for ac_func in _isnanf
-do :
-  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
-if test "x$ac_cv_func__isnanf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__ISNANF 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
-$as_echo_n "checking for isinff declaration... " >&6; }
-  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- isinff(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isinff_use=yes
-else
-  glibcxx_cv_func_isinff_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
-$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
-
-  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
-    for ac_func in isinff
-do :
-  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
-if test "x$ac_cv_func_isinff" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_ISINFF 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
-$as_echo_n "checking for _isinff declaration... " >&6; }
-  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _isinff(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isinff_use=yes
-else
-  glibcxx_cv_func__isinff_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
-$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
-
-    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
-      for ac_func in _isinff
-do :
-  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
-if test "x$ac_cv_func__isinff" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__ISINFF 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
-$as_echo_n "checking for atan2f declaration... " >&6; }
-  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- atan2f(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_atan2f_use=yes
-else
-  glibcxx_cv_func_atan2f_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
-$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
-
-  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
-    for ac_func in atan2f
-do :
-  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
-if test "x$ac_cv_func_atan2f" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_ATAN2F 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
-$as_echo_n "checking for _atan2f declaration... " >&6; }
-  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _atan2f(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__atan2f_use=yes
-else
-  glibcxx_cv_func__atan2f_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
-$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
-
-    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
-      for ac_func in _atan2f
-do :
-  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
-if test "x$ac_cv_func__atan2f" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__ATAN2F 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
-$as_echo_n "checking for fabsf declaration... " >&6; }
-  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- fabsf(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fabsf_use=yes
-else
-  glibcxx_cv_func_fabsf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
-$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
-
-  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
-    for ac_func in fabsf
-do :
-  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
-if test "x$ac_cv_func_fabsf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_FABSF 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
-$as_echo_n "checking for _fabsf declaration... " >&6; }
-  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _fabsf(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fabsf_use=yes
-else
-  glibcxx_cv_func__fabsf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
-$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
-
-    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
-      for ac_func in _fabsf
-do :
-  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
-if test "x$ac_cv_func__fabsf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__FABSF 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
-$as_echo_n "checking for fmodf declaration... " >&6; }
-  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- fmodf(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fmodf_use=yes
-else
-  glibcxx_cv_func_fmodf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
-$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
-
-  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
-    for ac_func in fmodf
-do :
-  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
-if test "x$ac_cv_func_fmodf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_FMODF 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
-$as_echo_n "checking for _fmodf declaration... " >&6; }
-  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _fmodf(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fmodf_use=yes
-else
-  glibcxx_cv_func__fmodf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
-$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
-
-    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
-      for ac_func in _fmodf
-do :
-  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
-if test "x$ac_cv_func__fmodf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__FMODF 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
-$as_echo_n "checking for frexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- frexpf(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_frexpf_use=yes
-else
-  glibcxx_cv_func_frexpf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
-$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
-
-  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
-    for ac_func in frexpf
-do :
-  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
-if test "x$ac_cv_func_frexpf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_FREXPF 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
-$as_echo_n "checking for _frexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _frexpf(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__frexpf_use=yes
-else
-  glibcxx_cv_func__frexpf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
-$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
-
-    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
-      for ac_func in _frexpf
-do :
-  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
-if test "x$ac_cv_func__frexpf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__FREXPF 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
-$as_echo_n "checking for hypotf declaration... " >&6; }
-  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- hypotf(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_hypotf_use=yes
-else
-  glibcxx_cv_func_hypotf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
-$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
-
-  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
-    for ac_func in hypotf
-do :
-  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
-if test "x$ac_cv_func_hypotf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_HYPOTF 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
-$as_echo_n "checking for _hypotf declaration... " >&6; }
-  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _hypotf(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__hypotf_use=yes
-else
-  glibcxx_cv_func__hypotf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
-$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
-
-    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
-      for ac_func in _hypotf
-do :
-  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
-if test "x$ac_cv_func__hypotf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__HYPOTF 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
-$as_echo_n "checking for ldexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- ldexpf(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_ldexpf_use=yes
-else
-  glibcxx_cv_func_ldexpf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
-$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
-
-  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
-    for ac_func in ldexpf
-do :
-  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
-if test "x$ac_cv_func_ldexpf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LDEXPF 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
-$as_echo_n "checking for _ldexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _ldexpf(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__ldexpf_use=yes
-else
-  glibcxx_cv_func__ldexpf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
-$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
-
-    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
-      for ac_func in _ldexpf
-do :
-  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
-if test "x$ac_cv_func__ldexpf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__LDEXPF 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
-$as_echo_n "checking for logf declaration... " >&6; }
-  if test x${glibcxx_cv_func_logf_use+set} != xset; then
-    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- logf(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_logf_use=yes
-else
-  glibcxx_cv_func_logf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
-$as_echo "$glibcxx_cv_func_logf_use" >&6; }
-
-  if test x$glibcxx_cv_func_logf_use = x"yes"; then
-    for ac_func in logf
-do :
-  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
-if test "x$ac_cv_func_logf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LOGF 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
-$as_echo_n "checking for _logf declaration... " >&6; }
-  if test x${glibcxx_cv_func__logf_use+set} != xset; then
-    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _logf(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__logf_use=yes
-else
-  glibcxx_cv_func__logf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
-$as_echo "$glibcxx_cv_func__logf_use" >&6; }
-
-    if test x$glibcxx_cv_func__logf_use = x"yes"; then
-      for ac_func in _logf
-do :
-  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
-if test "x$ac_cv_func__logf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__LOGF 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
-$as_echo_n "checking for log10f declaration... " >&6; }
-  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- log10f(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_log10f_use=yes
-else
-  glibcxx_cv_func_log10f_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
-$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
-
-  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
-    for ac_func in log10f
-do :
-  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
-if test "x$ac_cv_func_log10f" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LOG10F 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
-$as_echo_n "checking for _log10f declaration... " >&6; }
-  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _log10f(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__log10f_use=yes
-else
-  glibcxx_cv_func__log10f_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
-$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
-
-    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
-      for ac_func in _log10f
-do :
-  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
-if test "x$ac_cv_func__log10f" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__LOG10F 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
-$as_echo_n "checking for modff declaration... " >&6; }
-  if test x${glibcxx_cv_func_modff_use+set} != xset; then
-    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- modff(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_modff_use=yes
-else
-  glibcxx_cv_func_modff_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
-$as_echo "$glibcxx_cv_func_modff_use" >&6; }
-
-  if test x$glibcxx_cv_func_modff_use = x"yes"; then
-    for ac_func in modff
-do :
-  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
-if test "x$ac_cv_func_modff" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_MODFF 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
-$as_echo_n "checking for _modff declaration... " >&6; }
-  if test x${glibcxx_cv_func__modff_use+set} != xset; then
-    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _modff(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__modff_use=yes
-else
-  glibcxx_cv_func__modff_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
-$as_echo "$glibcxx_cv_func__modff_use" >&6; }
-
-    if test x$glibcxx_cv_func__modff_use = x"yes"; then
-      for ac_func in _modff
-do :
-  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
-if test "x$ac_cv_func__modff" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__MODFF 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
-$as_echo_n "checking for modf declaration... " >&6; }
-  if test x${glibcxx_cv_func_modf_use+set} != xset; then
-    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- modf(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_modf_use=yes
-else
-  glibcxx_cv_func_modf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
-$as_echo "$glibcxx_cv_func_modf_use" >&6; }
-
-  if test x$glibcxx_cv_func_modf_use = x"yes"; then
-    for ac_func in modf
-do :
-  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
-if test "x$ac_cv_func_modf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_MODF 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
-$as_echo_n "checking for _modf declaration... " >&6; }
-  if test x${glibcxx_cv_func__modf_use+set} != xset; then
-    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _modf(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__modf_use=yes
-else
-  glibcxx_cv_func__modf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
-$as_echo "$glibcxx_cv_func__modf_use" >&6; }
-
-    if test x$glibcxx_cv_func__modf_use = x"yes"; then
-      for ac_func in _modf
-do :
-  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
-if test "x$ac_cv_func__modf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__MODF 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
-$as_echo_n "checking for powf declaration... " >&6; }
-  if test x${glibcxx_cv_func_powf_use+set} != xset; then
-    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- powf(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_powf_use=yes
-else
-  glibcxx_cv_func_powf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
-$as_echo "$glibcxx_cv_func_powf_use" >&6; }
-
-  if test x$glibcxx_cv_func_powf_use = x"yes"; then
-    for ac_func in powf
-do :
-  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
-if test "x$ac_cv_func_powf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_POWF 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
-$as_echo_n "checking for _powf declaration... " >&6; }
-  if test x${glibcxx_cv_func__powf_use+set} != xset; then
-    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _powf(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__powf_use=yes
-else
-  glibcxx_cv_func__powf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
-$as_echo "$glibcxx_cv_func__powf_use" >&6; }
-
-    if test x$glibcxx_cv_func__powf_use = x"yes"; then
-      for ac_func in _powf
-do :
-  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
-if test "x$ac_cv_func__powf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__POWF 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
-$as_echo_n "checking for sqrtf declaration... " >&6; }
-  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- sqrtf(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sqrtf_use=yes
-else
-  glibcxx_cv_func_sqrtf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
-$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
-
-  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
-    for ac_func in sqrtf
-do :
-  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
-if test "x$ac_cv_func_sqrtf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_SQRTF 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
-$as_echo_n "checking for _sqrtf declaration... " >&6; }
-  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _sqrtf(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sqrtf_use=yes
-else
-  glibcxx_cv_func__sqrtf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
-$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
-
-    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
-      for ac_func in _sqrtf
-do :
-  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
-if test "x$ac_cv_func__sqrtf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__SQRTF 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
-$as_echo_n "checking for sincosf declaration... " >&6; }
-  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- sincosf(0, 0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sincosf_use=yes
-else
-  glibcxx_cv_func_sincosf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
-$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
-
-  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
-    for ac_func in sincosf
-do :
-  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
-if test "x$ac_cv_func_sincosf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_SINCOSF 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
-$as_echo_n "checking for _sincosf declaration... " >&6; }
-  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _sincosf(0, 0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sincosf_use=yes
-else
-  glibcxx_cv_func__sincosf_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
-$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
-
-    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
-      for ac_func in _sincosf
-do :
-  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
-if test "x$ac_cv_func__sincosf" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__SINCOSF 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
-$as_echo_n "checking for finitef declaration... " >&6; }
-  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- finitef(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_finitef_use=yes
-else
-  glibcxx_cv_func_finitef_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
-$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
-
-  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
-    for ac_func in finitef
-do :
-  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
-if test "x$ac_cv_func_finitef" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_FINITEF 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
-$as_echo_n "checking for _finitef declaration... " >&6; }
-  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _finitef(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__finitef_use=yes
-else
-  glibcxx_cv_func__finitef_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
-$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
-
-    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
-      for ac_func in _finitef
-do :
-  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
-if test "x$ac_cv_func__finitef" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__FINITEF 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
-$as_echo_n "checking for long double trig functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-    ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
-acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_long_double_trig_use=yes
-else
-  glibcxx_cv_func_long_double_trig_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-fi
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
-$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
-  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
-    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
-
-  else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
-$as_echo_n "checking for _long double trig functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
-_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__long_double_trig_use=yes
-else
-  glibcxx_cv_func__long_double_trig_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-fi
-
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
-$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
-    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
-      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
-$as_echo_n "checking for long double round functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-    ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
-ceill (0); floorl (0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_long_double_round_use=yes
-else
-  glibcxx_cv_func_long_double_round_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-fi
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
-$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
-  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
-    for ac_func in ceill floorl
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
-
-  else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
-$as_echo_n "checking for _long double round functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
-_ceill (0); _floorl (0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__long_double_round_use=yes
-else
-  glibcxx_cv_func__long_double_round_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-fi
-
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
-$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
-    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
-      for ac_func in _ceill _floorl
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
-$as_echo_n "checking for isnanl declaration... " >&6; }
-  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- isnanl(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isnanl_use=yes
-else
-  glibcxx_cv_func_isnanl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
-$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
-
-  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
-    for ac_func in isnanl
-do :
-  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
-if test "x$ac_cv_func_isnanl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_ISNANL 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
-$as_echo_n "checking for _isnanl declaration... " >&6; }
-  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _isnanl(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isnanl_use=yes
-else
-  glibcxx_cv_func__isnanl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
-$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
-
-    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
-      for ac_func in _isnanl
-do :
-  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
-if test "x$ac_cv_func__isnanl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__ISNANL 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
-$as_echo_n "checking for isinfl declaration... " >&6; }
-  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- isinfl(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isinfl_use=yes
-else
-  glibcxx_cv_func_isinfl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
-$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
-
-  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
-    for ac_func in isinfl
-do :
-  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
-if test "x$ac_cv_func_isinfl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_ISINFL 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
-$as_echo_n "checking for _isinfl declaration... " >&6; }
-  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _isinfl(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isinfl_use=yes
-else
-  glibcxx_cv_func__isinfl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
-$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
-
-    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
-      for ac_func in _isinfl
-do :
-  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
-if test "x$ac_cv_func__isinfl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__ISINFL 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
-$as_echo_n "checking for atan2l declaration... " >&6; }
-  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- atan2l(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_atan2l_use=yes
-else
-  glibcxx_cv_func_atan2l_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
-$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
-
-  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
-    for ac_func in atan2l
-do :
-  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
-if test "x$ac_cv_func_atan2l" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_ATAN2L 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
-$as_echo_n "checking for _atan2l declaration... " >&6; }
-  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _atan2l(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__atan2l_use=yes
-else
-  glibcxx_cv_func__atan2l_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
-$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
-
-    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
-      for ac_func in _atan2l
-do :
-  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
-if test "x$ac_cv_func__atan2l" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__ATAN2L 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
-$as_echo_n "checking for expl declaration... " >&6; }
-  if test x${glibcxx_cv_func_expl_use+set} != xset; then
-    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- expl(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_expl_use=yes
-else
-  glibcxx_cv_func_expl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
-$as_echo "$glibcxx_cv_func_expl_use" >&6; }
-
-  if test x$glibcxx_cv_func_expl_use = x"yes"; then
-    for ac_func in expl
-do :
-  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
-if test "x$ac_cv_func_expl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_EXPL 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
-$as_echo_n "checking for _expl declaration... " >&6; }
-  if test x${glibcxx_cv_func__expl_use+set} != xset; then
-    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _expl(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__expl_use=yes
-else
-  glibcxx_cv_func__expl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
-$as_echo "$glibcxx_cv_func__expl_use" >&6; }
-
-    if test x$glibcxx_cv_func__expl_use = x"yes"; then
-      for ac_func in _expl
-do :
-  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
-if test "x$ac_cv_func__expl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__EXPL 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
-$as_echo_n "checking for fabsl declaration... " >&6; }
-  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- fabsl(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fabsl_use=yes
-else
-  glibcxx_cv_func_fabsl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
-$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
-
-  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
-    for ac_func in fabsl
-do :
-  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
-if test "x$ac_cv_func_fabsl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_FABSL 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
-$as_echo_n "checking for _fabsl declaration... " >&6; }
-  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _fabsl(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fabsl_use=yes
-else
-  glibcxx_cv_func__fabsl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
-$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
-
-    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
-      for ac_func in _fabsl
-do :
-  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
-if test "x$ac_cv_func__fabsl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__FABSL 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
-$as_echo_n "checking for fmodl declaration... " >&6; }
-  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- fmodl(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fmodl_use=yes
-else
-  glibcxx_cv_func_fmodl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
-$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
-
-  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
-    for ac_func in fmodl
-do :
-  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
-if test "x$ac_cv_func_fmodl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_FMODL 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
-$as_echo_n "checking for _fmodl declaration... " >&6; }
-  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _fmodl(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fmodl_use=yes
-else
-  glibcxx_cv_func__fmodl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
-$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
-
-    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
-      for ac_func in _fmodl
-do :
-  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
-if test "x$ac_cv_func__fmodl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__FMODL 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
-$as_echo_n "checking for frexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- frexpl(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_frexpl_use=yes
-else
-  glibcxx_cv_func_frexpl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
-$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
-
-  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
-    for ac_func in frexpl
-do :
-  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
-if test "x$ac_cv_func_frexpl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_FREXPL 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
-$as_echo_n "checking for _frexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _frexpl(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__frexpl_use=yes
-else
-  glibcxx_cv_func__frexpl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
-$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
-
-    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
-      for ac_func in _frexpl
-do :
-  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
-if test "x$ac_cv_func__frexpl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__FREXPL 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
-$as_echo_n "checking for hypotl declaration... " >&6; }
-  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- hypotl(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_hypotl_use=yes
-else
-  glibcxx_cv_func_hypotl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
-$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
-
-  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
-    for ac_func in hypotl
-do :
-  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
-if test "x$ac_cv_func_hypotl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_HYPOTL 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
-$as_echo_n "checking for _hypotl declaration... " >&6; }
-  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _hypotl(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__hypotl_use=yes
-else
-  glibcxx_cv_func__hypotl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
-$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
-
-    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
-      for ac_func in _hypotl
-do :
-  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
-if test "x$ac_cv_func__hypotl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__HYPOTL 1
-_ACEOF
-
-fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
-$as_echo_n "checking for ldexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- ldexpl(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_ldexpl_use=yes
-else
-  glibcxx_cv_func_ldexpl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
-$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
-
-  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
-    for ac_func in ldexpl
-do :
-  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
-if test "x$ac_cv_func_ldexpl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LDEXPL 1
-_ACEOF
-
-fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
-$as_echo_n "checking for _ldexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _ldexpl(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__ldexpl_use=yes
-else
-  glibcxx_cv_func__ldexpl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
-$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
-
-    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
-      for ac_func in _ldexpl
-do :
-  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
-if test "x$ac_cv_func__ldexpl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__LDEXPL 1
-_ACEOF
-
-fi
-done
+    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
 
-    fi
-  fi
+    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
 
+    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
 
+    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
 
+    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
 
+    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
-$as_echo_n "checking for logl declaration... " >&6; }
-  if test x${glibcxx_cv_func_logl_use+set} != xset; then
-    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
+    $as_echo "#define HAVE_POWF 1" >>confdefs.h
 
+    $as_echo "#define HAVE_SINF 1" >>confdefs.h
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
+    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
 
-int
-main ()
-{
- logl(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_logl_use=yes
-else
-  glibcxx_cv_func_logl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+    $as_echo "#define HAVE_TANF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
 
+    if test x"long_double_math_on_this_cpu" = x"yes"; then
+      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
 
-fi
+      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
-$as_echo "$glibcxx_cv_func_logl_use" >&6; }
+      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
 
-  if test x$glibcxx_cv_func_logl_use = x"yes"; then
-    for ac_func in logl
+    fi
+    for ac_func in __cxa_thread_atexit
 do :
-  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
-if test "x$ac_cv_func_logl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
+if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOGL 1
+#define HAVE___CXA_THREAD_ATEXIT 1
 _ACEOF
 
 fi
 done
 
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
-$as_echo_n "checking for _logl declaration... " >&6; }
-  if test x${glibcxx_cv_func__logl_use+set} != xset; then
-    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _logl(0);
-  ;
-  return 0;
-}
+    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
+do :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__logl_use=yes
-else
-  glibcxx_cv_func__logl_use=no
+
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+done
 
+    for ac_func in timespec_get
+do :
+  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
+if test "x$ac_cv_func_timespec_get" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_TIMESPEC_GET 1
+_ACEOF
 
 fi
+done
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
-$as_echo "$glibcxx_cv_func__logl_use" >&6; }
-
-    if test x$glibcxx_cv_func__logl_use = x"yes"; then
-      for ac_func in _logl
+    for ac_func in sockatmark
 do :
-  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
-if test "x$ac_cv_func__logl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
+if test "x$ac_cv_func_sockatmark" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOGL 1
+#define HAVE_SOCKATMARK 1
 _ACEOF
 
 fi
 done
 
-    fi
-  fi
-
+    ;;
 
+  *-fuchsia*)
+    SECTION_FLAGS='-ffunction-sections -fdata-sections'
 
+    ;;
 
+  *-hpux*)
+    SECTION_FLAGS='-ffunction-sections -fdata-sections'
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
-$as_echo_n "checking for log10l declaration... " >&6; }
-  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
 
+  # 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...
+  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
+  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
 
-int
-main ()
-{
- log10l(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_log10l_use=yes
-else
-  glibcxx_cv_func_log10l_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+  # The name set by libtool depends on the version of libtool.  Shame on us
+  # for depending on an impl detail, but c'est la vie.  Older versions used
+  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
+  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
+  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
+  # set (hence we're using an older libtool), then set it.
+  if test x${with_gnu_ld+set} != xset; then
+    if test x${ac_cv_prog_gnu_ld+set} != xset; then
+      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
+      with_gnu_ld=no
+    else
+      with_gnu_ld=$ac_cv_prog_gnu_ld
+    fi
+  fi
 
+  # Start by getting the version number.  I think the libtool test already
+  # does some of this, but throws away the result.
+  glibcxx_ld_is_gold=no
+  if test x"$with_gnu_ld" = x"yes"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
+$as_echo_n "checking for ld version... " >&6; }
 
-fi
+    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
+      glibcxx_ld_is_gold=yes
+    fi
+    ldver=`$LD --version 2>/dev/null |
+          sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
 
+    glibcxx_gnu_ld_version=`echo $ldver | \
+          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
+$as_echo "$glibcxx_gnu_ld_version" >&6; }
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
-$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
-
-  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
-    for ac_func in log10l
-do :
-  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
-if test "x$ac_cv_func_log10l" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_LOG10L 1
-_ACEOF
-
-fi
-done
 
+  # Set --gc-sections.
+  glibcxx_have_gc_sections=no
+  if test "$glibcxx_ld_is_gold" = "yes"; then
+    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
+      glibcxx_have_gc_sections=yes
+    fi
   else
+    glibcxx_gcsections_min_ld=21602
+    if test x"$with_gnu_ld" = x"yes" &&
+       test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
+      glibcxx_have_gc_sections=yes
+    fi
+  fi
+  if test "$glibcxx_have_gc_sections" = "yes"; then
+    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
+    # NB: This flag only works reliably after 2.16.1. Configure tests
+    # for this are difficult, so hard wire a value that should work.
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
-$as_echo_n "checking for _log10l declaration... " >&6; }
-  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+    ac_test_CFLAGS="${CFLAGS+set}"
+    ac_save_CFLAGS="$CFLAGS"
+    CFLAGS='-Wl,--gc-sections'
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    # Check for -Wl,--gc-sections
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
+$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
+    if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
+ int one(void) { return 1; }
+     int two(void) { return 2; }
 
 int
 main ()
 {
_log10l(0);
two();
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__log10l_use=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_gcsections=yes
 else
-  glibcxx_cv_func__log10l_use=no
+  ac_gcsections=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+    if test "$ac_gcsections" = "yes"; then
+      rm -f conftest.c
+      touch conftest.c
+      if $CC -c conftest.c; then
+       if $LD --gc-sections -o conftest conftest.o 2>&1 | \
+          grep "Warning: gc-sections option ignored" > /dev/null; then
+         ac_gcsections=no
+       fi
+      fi
+      rm -f conftest.c conftest.o conftest
+    fi
+    if test "$ac_gcsections" = "yes"; then
+      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
+$as_echo "$ac_gcsections" >&6; }
 
+    if test "$ac_test_CFLAGS" = set; then
+      CFLAGS="$ac_save_CFLAGS"
+    else
+      # this is the suspicious part
+      CFLAGS=''
+    fi
+  fi
 
-fi
+  # Set -z,relro.
+  # Note this is only for shared objects.
+  ac_ld_relro=no
+  if test x"$with_gnu_ld" = x"yes"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
+$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
+    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
+    if test -n "$cxx_z_relo"; then
+      OPT_LDFLAGS="-Wl,-z,relro"
+      ac_ld_relro=yes
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
+$as_echo "$ac_ld_relro" >&6; }
+  fi
 
+  # Set linker optimization flags.
+  if test x"$with_gnu_ld" = x"yes"; then
+    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
-$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
 
-    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
-      for ac_func in _log10l
-do :
-  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
-if test "x$ac_cv_func__log10l" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__LOG10L 1
-_ACEOF
 
-fi
-done
 
-    fi
-  fi
 
 
+    # GLIBCXX_CHECK_MATH_SUPPORT
+    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
 
+    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
 
+    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
-$as_echo_n "checking for modfl declaration... " >&6; }
-  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
+    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
 
+    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+    $as_echo "#define HAVE_COSF 1" >>confdefs.h
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- modfl(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_modfl_use=yes
-else
-  glibcxx_cv_func_modfl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
 
+    $as_echo "#define HAVE_SINF 1" >>confdefs.h
 
-fi
+    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
-$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
+    $as_echo "#define HAVE_TANF 1" >>confdefs.h
 
-  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
-    for ac_func in modfl
-do :
-  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
-if test "x$ac_cv_func_modfl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_MODFL 1
-_ACEOF
+    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
 
-fi
-done
+    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
 
-  else
+    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
-$as_echo_n "checking for _modfl declaration... " >&6; }
-  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
+    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
 
+    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- _modfl(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__modfl_use=yes
-else
-  glibcxx_cv_func__modfl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
 
+    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
 
-fi
+    $as_echo "#define HAVE_MODF 1" >>confdefs.h
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
-$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
+    $as_echo "#define HAVE_POWF 1" >>confdefs.h
 
-    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
-      for ac_func in _modfl
-do :
-  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
-if test "x$ac_cv_func__modfl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__MODFL 1
-_ACEOF
+    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
 
-fi
-done
 
-    fi
-  fi
+    # GLIBCXX_CHECK_STDLIB_SUPPORT
+    $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
 
 
 
 
+   # Check whether --enable-tls was given.
+if test "${enable_tls+set}" = set; then :
+  enableval=$enable_tls;
+      case "$enableval" in
+       yes|no) ;;
+       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
+      esac
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
-$as_echo_n "checking for powl declaration... " >&6; }
-  if test x${glibcxx_cv_func_powl_use+set} != xset; then
-    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
 else
+  enable_tls=yes
+fi
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
+$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
+if ${gcc_cv_have_tls+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    if test "$cross_compiling" = yes; then :
+                if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- powl(0, 0);
-  ;
-  return 0;
-}
+__thread int a; int b; int main() { return a = b; }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_powl_use=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  chktls_save_LDFLAGS="$LDFLAGS"
+                         case $host in
+           *-*-linux* | -*-uclinuxfdpic*)
+             LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
+             ;;
+         esac
+         chktls_save_CFLAGS="$CFLAGS"
+         CFLAGS="-fPIC $CFLAGS"
+                 if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+int f() { return 0; }
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+__thread int a; int b; int f() { return a = b; }
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gcc_cv_have_tls=yes
+else
+  gcc_cv_have_tls=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+else
+  gcc_cv_have_tls=yes
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+         CFLAGS="$chktls_save_CFLAGS"
+         LDFLAGS="$chktls_save_LDFLAGS"
 else
-  glibcxx_cv_func_powl_use=no
+  gcc_cv_have_tls=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 
 
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+__thread int a; int b; int main() { return a = b; }
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+                      chktls_save_LDFLAGS="$LDFLAGS"
+      LDFLAGS="-static $LDFLAGS"
+      if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
-$as_echo "$glibcxx_cv_func_powl_use" >&6; }
-
-  if test x$glibcxx_cv_func_powl_use = x"yes"; then
-    for ac_func in powl
-do :
-  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
-if test "x$ac_cv_func_powl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_POWL 1
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+int main() { return 0; }
 _ACEOF
-
+if ac_fn_c_try_link "$LINENO"; then :
+  if test "$cross_compiling" = yes; then :
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run test program while cross compiling
+See \`config.log' for more details" "$LINENO" 5; }
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+__thread int a; int b; int main() { return a = b; }
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+  gcc_cv_have_tls=yes
+else
+  gcc_cv_have_tls=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
-done
-
-  else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
-$as_echo_n "checking for _powl declaration... " >&6; }
-  if test x${glibcxx_cv_func__powl_use+set} != xset; then
-    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
 else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  gcc_cv_have_tls=yes
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+      LDFLAGS="$chktls_save_LDFLAGS"
+      if test $gcc_cv_have_tls = yes; then
+                                               chktls_save_CFLAGS="$CFLAGS"
+       thread_CFLAGS=failed
+       for flag in '' '-pthread' '-lpthread'; do
+         CFLAGS="$flag $chktls_save_CFLAGS"
+         if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
+#include <pthread.h>
+               void *g(void *d) { return NULL; }
 int
 main ()
 {
- _powl(0, 0);
+pthread_t t; pthread_create(&t,NULL,g,NULL);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__powl_use=yes
-else
-  glibcxx_cv_func__powl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
-$as_echo "$glibcxx_cv_func__powl_use" >&6; }
-
-    if test x$glibcxx_cv_func__powl_use = x"yes"; then
-      for ac_func in _powl
-do :
-  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
-if test "x$ac_cv_func__powl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__POWL 1
-_ACEOF
-
+if ac_fn_c_try_link "$LINENO"; then :
+  thread_CFLAGS="$flag"
 fi
-done
-
-    fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
-$as_echo_n "checking for sqrtl declaration... " >&6; }
-  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+         if test "X$thread_CFLAGS" != Xfailed; then
+           break
+         fi
+       done
+       CFLAGS="$chktls_save_CFLAGS"
+       if test "X$thread_CFLAGS" != Xfailed; then
+         CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
+                                                 if test "$cross_compiling" = yes; then :
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run test program while cross compiling
+See \`config.log' for more details" "$LINENO" 5; }
 else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
+#include <pthread.h>
+               __thread int a;
+               static int *volatile a_in_other_thread;
+               static void *
+               thread_func (void *arg)
+               {
+                 a_in_other_thread = &a;
+                 return (void *)0;
+               }
 int
 main ()
 {
- sqrtl(0);
+pthread_t thread;
+               void *thread_retval;
+               int *volatile a_in_main_thread;
+               a_in_main_thread = &a;
+               if (pthread_create (&thread, (pthread_attr_t *)0,
+                                   thread_func, (void *)0))
+                 return 0;
+               if (pthread_join (thread, &thread_retval))
+                 return 0;
+               return (a_in_other_thread == a_in_main_thread);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sqrtl_use=yes
+if ac_fn_c_try_run "$LINENO"; then :
+  gcc_cv_have_tls=yes
 else
-  glibcxx_cv_func_sqrtl_use=no
+  gcc_cv_have_tls=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+         CFLAGS="$chktls_save_CFLAGS"
+       fi
+      fi
+else
+  gcc_cv_have_tls=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
 
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
+$as_echo "$gcc_cv_have_tls" >&6; }
+  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
+
+$as_echo "#define HAVE_TLS 1" >>confdefs.h
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
-$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
+    case "$target" in
+      *-hpux10*)
+       $as_echo "#define HAVE_ISINF 1" >>confdefs.h
 
-  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
-    for ac_func in sqrtl
-do :
-  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
-if test "x$ac_cv_func_sqrtl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_SQRTL 1
-_ACEOF
+       $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
 
-fi
-done
+       $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
 
-  else
+       $as_echo "#define HAVE_FINITE 1" >>confdefs.h
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
-$as_echo_n "checking for _sqrtl declaration... " >&6; }
-  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
+       $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
 
+       ;;
+    esac
+    ;;
+  *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
 
-      ac_ext=cpp
+  # 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 GLIBCXX_CONFIGURE.
+
+  ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
+  ac_test_CXXFLAGS="${CXXFLAGS+set}"
+  ac_save_CXXFLAGS="$CXXFLAGS"
 
+  # Check for -ffunction-sections -fdata-sections
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
+$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
+  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+int foo; void bar() { };
 int
 main ()
 {
- _sqrtl(0);
+
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sqrtl_use=yes
+  ac_fdsections=yes
 else
-  glibcxx_cv_func__sqrtl_use=no
+  ac_fdsections=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+  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"; then
+    SECTION_FLAGS='-ffunction-sections -fdata-sections'
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
+$as_echo "$ac_fdsections" >&6; }
+
+  ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
-$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
 
-    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
-      for ac_func in _sqrtl
-do :
-  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
-if test "x$ac_cv_func__sqrtl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__SQRTL 1
-_ACEOF
+  # 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...
+  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
+  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
+
 
-fi
-done
 
+  # The name set by libtool depends on the version of libtool.  Shame on us
+  # for depending on an impl detail, but c'est la vie.  Older versions used
+  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
+  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
+  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
+  # set (hence we're using an older libtool), then set it.
+  if test x${with_gnu_ld+set} != xset; then
+    if test x${ac_cv_prog_gnu_ld+set} != xset; then
+      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
+      with_gnu_ld=no
+    else
+      with_gnu_ld=$ac_cv_prog_gnu_ld
     fi
   fi
 
+  # Start by getting the version number.  I think the libtool test already
+  # does some of this, but throws away the result.
+  glibcxx_ld_is_gold=no
+  if test x"$with_gnu_ld" = x"yes"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
+$as_echo_n "checking for ld version... " >&6; }
 
+    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
+      glibcxx_ld_is_gold=yes
+    fi
+    ldver=`$LD --version 2>/dev/null |
+          sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
 
+    glibcxx_gnu_ld_version=`echo $ldver | \
+          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
+$as_echo "$glibcxx_gnu_ld_version" >&6; }
+  fi
 
+  # Set --gc-sections.
+  glibcxx_have_gc_sections=no
+  if test "$glibcxx_ld_is_gold" = "yes"; then
+    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
+      glibcxx_have_gc_sections=yes
+    fi
+  else
+    glibcxx_gcsections_min_ld=21602
+    if test x"$with_gnu_ld" = x"yes" &&
+       test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
+      glibcxx_have_gc_sections=yes
+    fi
+  fi
+  if test "$glibcxx_have_gc_sections" = "yes"; then
+    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
+    # NB: This flag only works reliably after 2.16.1. Configure tests
+    # for this are difficult, so hard wire a value that should work.
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
-$as_echo_n "checking for sincosl declaration... " >&6; }
-  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+    ac_test_CFLAGS="${CFLAGS+set}"
+    ac_save_CFLAGS="$CFLAGS"
+    CFLAGS='-Wl,--gc-sections'
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    # Check for -Wl,--gc-sections
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
+$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
+    if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
+ int one(void) { return 1; }
+     int two(void) { return 2; }
+
 int
 main ()
 {
sincosl(0, 0, 0);
two();
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sincosl_use=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_gcsections=yes
 else
-  glibcxx_cv_func_sincosl_use=no
+  ac_gcsections=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+    if test "$ac_gcsections" = "yes"; then
+      rm -f conftest.c
+      touch conftest.c
+      if $CC -c conftest.c; then
+       if $LD --gc-sections -o conftest conftest.o 2>&1 | \
+          grep "Warning: gc-sections option ignored" > /dev/null; then
+         ac_gcsections=no
+       fi
+      fi
+      rm -f conftest.c conftest.o conftest
+    fi
+    if test "$ac_gcsections" = "yes"; then
+      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
+$as_echo "$ac_gcsections" >&6; }
 
-fi
+    if test "$ac_test_CFLAGS" = set; then
+      CFLAGS="$ac_save_CFLAGS"
+    else
+      # this is the suspicious part
+      CFLAGS=''
+    fi
+  fi
 
+  # Set -z,relro.
+  # Note this is only for shared objects.
+  ac_ld_relro=no
+  if test x"$with_gnu_ld" = x"yes"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
+$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
+    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
+    if test -n "$cxx_z_relo"; then
+      OPT_LDFLAGS="-Wl,-z,relro"
+      ac_ld_relro=yes
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
+$as_echo "$ac_ld_relro" >&6; }
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
-$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
 
-  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
-    for ac_func in sincosl
-do :
-  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
-if test "x$ac_cv_func_sincosl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_SINCOSL 1
-_ACEOF
+  # Set linker optimization flags.
+  if test x"$with_gnu_ld" = x"yes"; then
+    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
+  fi
 
-fi
-done
 
-  else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
-$as_echo_n "checking for _sincosl declaration... " >&6; }
-  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+  ac_test_CXXFLAGS="${CXXFLAGS+set}"
+  ac_save_CXXFLAGS="$CXXFLAGS"
+  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
+$as_echo_n "checking for sin in -lm... " >&6; }
+if ${ac_cv_lib_m_sin+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm  $LIBS"
+if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char sin ();
 int
 main ()
 {
- _sincosl(0, 0, 0);
+return sin ();
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sincosl_use=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_m_sin=yes
 else
-  glibcxx_cv_func__sincosl_use=no
+  ac_cv_lib_m_sin=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
-$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
-
-    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
-      for ac_func in _sincosl
-do :
-  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
-if test "x$ac_cv_func__sincosl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__SINCOSL 1
-_ACEOF
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
+$as_echo "$ac_cv_lib_m_sin" >&6; }
+if test "x$ac_cv_lib_m_sin" = xyes; then :
+  libm="-lm"
 fi
-done
-
-    fi
-  fi
-
 
+  ac_save_LIBS="$LIBS"
+  LIBS="$LIBS $libm"
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
-$as_echo_n "checking for finitel declaration... " >&6; }
-  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
+$as_echo_n "checking for isinf declaration... " >&6; }
+  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
+    if ${glibcxx_cv_func_isinf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -51712,15 +48678,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
finitel(0);
isinf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_finitel_use=yes
+  glibcxx_cv_func_isinf_use=yes
 else
-  glibcxx_cv_func_finitel_use=no
+  glibcxx_cv_func_isinf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -51733,16 +48699,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
-$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
+$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
 
-  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
-    for ac_func in finitel
+  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
+    for ac_func in isinf
 do :
-  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
-if test "x$ac_cv_func_finitel" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
+if test "x$ac_cv_func_isinf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FINITEL 1
+#define HAVE_ISINF 1
 _ACEOF
 
 fi
@@ -51750,10 +48716,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
-$as_echo_n "checking for _finitel declaration... " >&6; }
-  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
+$as_echo_n "checking for _isinf declaration... " >&6; }
+  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
+    if ${glibcxx_cv_func__isinf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -51774,15 +48740,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _finitel(0);
+ _isinf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__finitel_use=yes
+  glibcxx_cv_func__isinf_use=yes
 else
-  glibcxx_cv_func__finitel_use=no
+  glibcxx_cv_func__isinf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -51795,16 +48761,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
-$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
+$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
 
-    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
-      for ac_func in _finitel
+    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
+      for ac_func in _isinf
 do :
-  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
-if test "x$ac_cv_func__finitel" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
+if test "x$ac_cv_func__isinf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FINITEL 1
+#define HAVE__ISINF 1
 _ACEOF
 
 fi
@@ -51816,19 +48782,11 @@ done
 
 
 
-  LIBS="$ac_save_LIBS"
-  CXXFLAGS="$ac_save_CXXFLAGS"
-
-
-  ac_test_CXXFLAGS="${CXXFLAGS+set}"
-  ac_save_CXXFLAGS="$CXXFLAGS"
-  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
-
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
-$as_echo_n "checking for at_quick_exit declaration... " >&6; }
-  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
+$as_echo_n "checking for isnan declaration... " >&6; }
+  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
+    if ${glibcxx_cv_func_isnan_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -51841,19 +48799,23 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
at_quick_exit(0);
isnan(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_at_quick_exit_use=yes
+  glibcxx_cv_func_isnan_use=yes
 else
-  glibcxx_cv_func_at_quick_exit_use=no
+  glibcxx_cv_func_isnan_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -51866,27 +48828,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
-$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
-  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
-    for ac_func in at_quick_exit
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
+$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
+
+  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
+    for ac_func in isnan
 do :
-  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
-if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
+if test "x$ac_cv_func_isnan" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_AT_QUICK_EXIT 1
+#define HAVE_ISNAN 1
 _ACEOF
 
 fi
 done
 
-  fi
-
+  else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
-$as_echo_n "checking for quick_exit declaration... " >&6; }
-  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
+$as_echo_n "checking for _isnan declaration... " >&6; }
+  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
+    if ${glibcxx_cv_func__isnan_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -51899,19 +48861,23 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
quick_exit(0);
_isnan(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_quick_exit_use=yes
+  glibcxx_cv_func__isnan_use=yes
 else
-  glibcxx_cv_func_quick_exit_use=no
+  glibcxx_cv_func__isnan_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -51924,27 +48890,32 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
-$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
-  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
-    for ac_func in quick_exit
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
+$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
+
+    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
+      for ac_func in _isnan
 do :
-  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
-if test "x$ac_cv_func_quick_exit" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
+if test "x$ac_cv_func__isnan" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_QUICK_EXIT 1
+#define HAVE__ISNAN 1
 _ACEOF
 
 fi
 done
 
+    fi
   fi
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
-$as_echo_n "checking for strtold declaration... " >&6; }
-  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
+$as_echo_n "checking for finite declaration... " >&6; }
+  if test x${glibcxx_cv_func_finite_use+set} != xset; then
+    if ${glibcxx_cv_func_finite_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -51957,19 +48928,23 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
strtold(0, 0);
finite(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_strtold_use=yes
+  glibcxx_cv_func_finite_use=yes
 else
-  glibcxx_cv_func_strtold_use=no
+  glibcxx_cv_func_finite_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -51982,29 +48957,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
-$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
-  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
-    for ac_func in strtold
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
+$as_echo "$glibcxx_cv_func_finite_use" >&6; }
+
+  if test x$glibcxx_cv_func_finite_use = x"yes"; then
+    for ac_func in finite
 do :
-  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
-if test "x$ac_cv_func_strtold" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
+if test "x$ac_cv_func_finite" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_STRTOLD 1
+#define HAVE_FINITE 1
 _ACEOF
 
 fi
 done
 
-  fi
-
-
-
+  else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
-$as_echo_n "checking for strtof declaration... " >&6; }
-  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
+$as_echo_n "checking for _finite declaration... " >&6; }
+  if test x${glibcxx_cv_func__finite_use+set} != xset; then
+    if ${glibcxx_cv_func__finite_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -52017,19 +48990,23 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
strtof(0, 0);
_finite(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_strtof_use=yes
+  glibcxx_cv_func__finite_use=yes
 else
-  glibcxx_cv_func_strtof_use=no
+  glibcxx_cv_func__finite_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -52042,993 +49019,699 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
-$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
-  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
-    for ac_func in strtof
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
+$as_echo "$glibcxx_cv_func__finite_use" >&6; }
+
+    if test x$glibcxx_cv_func__finite_use = x"yes"; then
+      for ac_func in _finite
 do :
-  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
-if test "x$ac_cv_func_strtof" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
+if test "x$ac_cv_func__finite" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_STRTOF 1
+#define HAVE__FINITE 1
 _ACEOF
 
 fi
 done
 
+    fi
   fi
 
 
 
 
-  CXXFLAGS="$ac_save_CXXFLAGS"
-
-    ;;
-
-  *djgpp)
-    # GLIBCXX_CHECK_MATH_SUPPORT
-    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
-
-    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
-
-    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
-
-    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
-
-    ;;
-
-  *-freebsd*)
-    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...
-  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
-  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
-
-
-
-  # The name set by libtool depends on the version of libtool.  Shame on us
-  # for depending on an impl detail, but c'est la vie.  Older versions used
-  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
-  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
-  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
-  # set (hence we're using an older libtool), then set it.
-  if test x${with_gnu_ld+set} != xset; then
-    if test x${ac_cv_prog_gnu_ld+set} != xset; then
-      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
-      with_gnu_ld=no
-    else
-      with_gnu_ld=$ac_cv_prog_gnu_ld
-    fi
-  fi
-
-  # Start by getting the version number.  I think the libtool test already
-  # does some of this, but throws away the result.
-  glibcxx_ld_is_gold=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
-$as_echo_n "checking for ld version... " >&6; }
-
-    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
-      glibcxx_ld_is_gold=yes
-    fi
-    ldver=`$LD --version 2>/dev/null |
-          sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
 
-    glibcxx_gnu_ld_version=`echo $ldver | \
-          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
-$as_echo "$glibcxx_gnu_ld_version" >&6; }
-  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
+$as_echo_n "checking for sincos declaration... " >&6; }
+  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
+    if ${glibcxx_cv_func_sincos_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
-  # Set --gc-sections.
-  glibcxx_have_gc_sections=no
-  if test "$glibcxx_ld_is_gold" = "yes"; then
-    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
-      glibcxx_have_gc_sections=yes
-    fi
-  else
-    glibcxx_gcsections_min_ld=21602
-    if test x"$with_gnu_ld" = x"yes" &&
-       test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
-      glibcxx_have_gc_sections=yes
-    fi
-  fi
-  if test "$glibcxx_have_gc_sections" = "yes"; then
-    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
-    # NB: This flag only works reliably after 2.16.1. Configure tests
-    # for this are difficult, so hard wire a value that should work.
 
-    ac_test_CFLAGS="${CFLAGS+set}"
-    ac_save_CFLAGS="$CFLAGS"
-    CFLAGS='-Wl,--gc-sections'
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    # Check for -Wl,--gc-sections
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
-$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
-    if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
- int one(void) { return 1; }
-     int two(void) { return 2; }
-
+#include <math.h>
 int
 main ()
 {
two();
sincos(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_gcsections=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func_sincos_use=yes
 else
-  ac_gcsections=no
+  glibcxx_cv_func_sincos_use=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-    if test "$ac_gcsections" = "yes"; then
-      rm -f conftest.c
-      touch conftest.c
-      if $CC -c conftest.c; then
-       if $LD --gc-sections -o conftest conftest.o 2>&1 | \
-          grep "Warning: gc-sections option ignored" > /dev/null; then
-         ac_gcsections=no
-       fi
-      fi
-      rm -f conftest.c conftest.o conftest
-    fi
-    if test "$ac_gcsections" = "yes"; then
-      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
-$as_echo "$ac_gcsections" >&6; }
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-    if test "$ac_test_CFLAGS" = set; then
-      CFLAGS="$ac_save_CFLAGS"
-    else
-      # this is the suspicious part
-      CFLAGS=''
-    fi
-  fi
 
-  # Set -z,relro.
-  # Note this is only for shared objects.
-  ac_ld_relro=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
-$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
-    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
-    if test -n "$cxx_z_relo"; then
-      OPT_LDFLAGS="-Wl,-z,relro"
-      ac_ld_relro=yes
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
-$as_echo "$ac_ld_relro" >&6; }
-  fi
+fi
 
-  # Set linker optimization flags.
-  if test x"$with_gnu_ld" = x"yes"; then
-    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
   fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
+$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
 
+  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
+    for ac_func in sincos
+do :
+  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
+if test "x$ac_cv_func_sincos" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_SINCOS 1
+_ACEOF
 
+fi
+done
 
+  else
 
-    $as_echo "#define HAVE_SETENV 1" >>confdefs.h
-
-    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
-
-    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
-
-    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
-
-    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
-
-
-    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
-
-    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_COSF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
-
-    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_POWF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_SINF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_TANF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
-
-    if test x"long_double_math_on_this_cpu" = x"yes"; then
-      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
-
-      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
-
-      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
-
-    fi
-    ;;
-  *-hpux*)
-    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...
-  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
-  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
-
-
-
-  # The name set by libtool depends on the version of libtool.  Shame on us
-  # for depending on an impl detail, but c'est la vie.  Older versions used
-  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
-  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
-  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
-  # set (hence we're using an older libtool), then set it.
-  if test x${with_gnu_ld+set} != xset; then
-    if test x${ac_cv_prog_gnu_ld+set} != xset; then
-      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
-      with_gnu_ld=no
-    else
-      with_gnu_ld=$ac_cv_prog_gnu_ld
-    fi
-  fi
-
-  # Start by getting the version number.  I think the libtool test already
-  # does some of this, but throws away the result.
-  glibcxx_ld_is_gold=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
-$as_echo_n "checking for ld version... " >&6; }
-
-    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
-      glibcxx_ld_is_gold=yes
-    fi
-    ldver=`$LD --version 2>/dev/null |
-          sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
-
-    glibcxx_gnu_ld_version=`echo $ldver | \
-          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
-$as_echo "$glibcxx_gnu_ld_version" >&6; }
-  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
+$as_echo_n "checking for _sincos declaration... " >&6; }
+  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
+    if ${glibcxx_cv_func__sincos_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
-  # Set --gc-sections.
-  glibcxx_have_gc_sections=no
-  if test "$glibcxx_ld_is_gold" = "yes"; then
-    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
-      glibcxx_have_gc_sections=yes
-    fi
-  else
-    glibcxx_gcsections_min_ld=21602
-    if test x"$with_gnu_ld" = x"yes" &&
-       test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
-      glibcxx_have_gc_sections=yes
-    fi
-  fi
-  if test "$glibcxx_have_gc_sections" = "yes"; then
-    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
-    # NB: This flag only works reliably after 2.16.1. Configure tests
-    # for this are difficult, so hard wire a value that should work.
 
-    ac_test_CFLAGS="${CFLAGS+set}"
-    ac_save_CFLAGS="$CFLAGS"
-    CFLAGS='-Wl,--gc-sections'
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    # Check for -Wl,--gc-sections
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
-$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
-    if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
- int one(void) { return 1; }
-     int two(void) { return 2; }
-
+#include <math.h>
 int
 main ()
 {
two();
_sincos(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_gcsections=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func__sincos_use=yes
 else
-  ac_gcsections=no
+  glibcxx_cv_func__sincos_use=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-    if test "$ac_gcsections" = "yes"; then
-      rm -f conftest.c
-      touch conftest.c
-      if $CC -c conftest.c; then
-       if $LD --gc-sections -o conftest conftest.o 2>&1 | \
-          grep "Warning: gc-sections option ignored" > /dev/null; then
-         ac_gcsections=no
-       fi
-      fi
-      rm -f conftest.c conftest.o conftest
-    fi
-    if test "$ac_gcsections" = "yes"; then
-      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
-$as_echo "$ac_gcsections" >&6; }
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-    if test "$ac_test_CFLAGS" = set; then
-      CFLAGS="$ac_save_CFLAGS"
-    else
-      # this is the suspicious part
-      CFLAGS=''
-    fi
-  fi
 
-  # Set -z,relro.
-  # Note this is only for shared objects.
-  ac_ld_relro=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
-$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
-    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
-    if test -n "$cxx_z_relo"; then
-      OPT_LDFLAGS="-Wl,-z,relro"
-      ac_ld_relro=yes
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
-$as_echo "$ac_ld_relro" >&6; }
-  fi
+fi
 
-  # Set linker optimization flags.
-  if test x"$with_gnu_ld" = x"yes"; then
-    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
   fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
+$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
 
+    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
+      for ac_func in _sincos
+do :
+  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
+if test "x$ac_cv_func__sincos" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE__SINCOS 1
+_ACEOF
 
+fi
+done
 
+    fi
+  fi
 
 
-    # GLIBCXX_CHECK_MATH_SUPPORT
-    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
 
-    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
 
-    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
 
-    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
+$as_echo_n "checking for fpclass declaration... " >&6; }
+  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
+    if ${glibcxx_cv_func_fpclass_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
-    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
 
-    $as_echo "#define HAVE_COSF 1" >>confdefs.h
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
 
-    $as_echo "#define HAVE_SINF 1" >>confdefs.h
+int
+main ()
+{
+ fpclass(0);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func_fpclass_use=yes
+else
+  glibcxx_cv_func_fpclass_use=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
 
-    $as_echo "#define HAVE_TANF 1" >>confdefs.h
+fi
 
-    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
+$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
 
-    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
+  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
+    for ac_func in fpclass
+do :
+  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
+if test "x$ac_cv_func_fpclass" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_FPCLASS 1
+_ACEOF
 
-    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
+fi
+done
 
-    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
+  else
 
-    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
+$as_echo_n "checking for _fpclass declaration... " >&6; }
+  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
+    if ${glibcxx_cv_func__fpclass_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
-    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
 
-    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
 
-    $as_echo "#define HAVE_MODF 1" >>confdefs.h
+int
+main ()
+{
+ _fpclass(0);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func__fpclass_use=yes
+else
+  glibcxx_cv_func__fpclass_use=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-    $as_echo "#define HAVE_POWF 1" >>confdefs.h
 
-    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
+fi
 
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
+$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
 
-    # GLIBCXX_CHECK_STDLIB_SUPPORT
-    $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
+    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
+      for ac_func in _fpclass
+do :
+  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
+if test "x$ac_cv_func__fpclass" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE__FPCLASS 1
+_ACEOF
 
+fi
+done
 
+    fi
+  fi
 
 
-   # Check whether --enable-tls was given.
-if test "${enable_tls+set}" = set; then :
-  enableval=$enable_tls;
-      case "$enableval" in
-       yes|no) ;;
-       *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
-      esac
 
-else
-  enable_tls=yes
-fi
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
-$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
-if test "${gcc_cv_have_tls+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
+$as_echo_n "checking for qfpclass declaration... " >&6; }
+  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
+    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-    if test "$cross_compiling" = yes; then :
-                if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__thread int a; int b; int main() { return a = b; }
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  chktls_save_LDFLAGS="$LDFLAGS"
-                         case $host in
-           *-*-linux*)
-             LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
-             ;;
-         esac
-         chktls_save_CFLAGS="$CFLAGS"
-         CFLAGS="-fPIC $CFLAGS"
-                 if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int f() { return 0; }
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__thread int a; int b; int f() { return a = b; }
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gcc_cv_have_tls=yes
-else
-  gcc_cv_have_tls=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-else
-  gcc_cv_have_tls=yes
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-         CFLAGS="$chktls_save_CFLAGS"
-         LDFLAGS="$chktls_save_LDFLAGS"
-else
-  gcc_cv_have_tls=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
 
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__thread int a; int b; int main() { return a = b; }
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-                      chktls_save_LDFLAGS="$LDFLAGS"
-      LDFLAGS="-static $LDFLAGS"
-      if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int main() { return 0; }
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  if test "$cross_compiling" = yes; then :
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot run test program while cross compiling
-See \`config.log' for more details." "$LINENO" 5; }
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-__thread int a; int b; int main() { return a = b; }
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  gcc_cv_have_tls=yes
-else
-  gcc_cv_have_tls=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
 
-else
-  gcc_cv_have_tls=yes
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-      LDFLAGS="$chktls_save_LDFLAGS"
-      if test $gcc_cv_have_tls = yes; then
-                                               chktls_save_CFLAGS="$CFLAGS"
-       thread_CFLAGS=failed
-       for flag in '' '-pthread' '-lpthread'; do
-         CFLAGS="$flag $chktls_save_CFLAGS"
-         if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <pthread.h>
-               void *g(void *d) { return NULL; }
 int
 main ()
 {
-pthread_t t; pthread_create(&t,NULL,g,NULL);
+ qfpclass(0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  thread_CFLAGS="$flag"
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func_qfpclass_use=yes
+else
+  glibcxx_cv_func_qfpclass_use=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-         if test "X$thread_CFLAGS" != Xfailed; then
-           break
-         fi
-       done
-       CFLAGS="$chktls_save_CFLAGS"
-       if test "X$thread_CFLAGS" != Xfailed; then
-         CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
-                                                 if test "$cross_compiling" = yes; then :
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot run test program while cross compiling
-See \`config.log' for more details." "$LINENO" 5; }
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
+
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
+$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
+
+  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
+    for ac_func in qfpclass
+do :
+  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
+if test "x$ac_cv_func_qfpclass" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_QFPCLASS 1
+_ACEOF
+
+fi
+done
+
+  else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
+$as_echo_n "checking for _qfpclass declaration... " >&6; }
+  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
+    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <pthread.h>
-               __thread int a;
-               static int *volatile a_in_other_thread;
-               static void *
-               thread_func (void *arg)
-               {
-                 a_in_other_thread = &a;
-                 return (void *)0;
-               }
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
-pthread_t thread;
-               void *thread_retval;
-               int *volatile a_in_main_thread;
-               a_in_main_thread = &a;
-               if (pthread_create (&thread, (pthread_attr_t *)0,
-                                   thread_func, (void *)0))
-                 return 0;
-               if (pthread_join (thread, &thread_retval))
-                 return 0;
-               return (a_in_other_thread == a_in_main_thread);
+ _qfpclass(0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  gcc_cv_have_tls=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func__qfpclass_use=yes
 else
-  gcc_cv_have_tls=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
+  glibcxx_cv_func__qfpclass_use=no
 fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-         CFLAGS="$chktls_save_CFLAGS"
-       fi
-      fi
-else
-  gcc_cv_have_tls=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
-$as_echo "$gcc_cv_have_tls" >&6; }
-  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
 
-$as_echo "#define HAVE_TLS 1" >>confdefs.h
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
+$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
+
+    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
+      for ac_func in _qfpclass
+do :
+  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
+if test "x$ac_cv_func__qfpclass" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE__QFPCLASS 1
+_ACEOF
+
+fi
+done
 
+    fi
   fi
-    case "$target" in
-      *-hpux10*)
-       $as_echo "#define HAVE_ISINF 1" >>confdefs.h
 
-       $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
 
-       $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
 
-       $as_echo "#define HAVE_FINITE 1" >>confdefs.h
 
-       $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
 
-       ;;
-    esac
-    ;;
-  *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
+$as_echo_n "checking for hypot declaration... " >&6; }
+  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
+    if ${glibcxx_cv_func_hypot_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
-  # 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 GLIBCXX_CONFIGURE.
 
-  ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-  ac_test_CXXFLAGS="${CXXFLAGS+set}"
-  ac_save_CXXFLAGS="$CXXFLAGS"
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <math.h>
+int
+main ()
+{
+ hypot(0, 0);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func_hypot_use=yes
+else
+  glibcxx_cv_func_hypot_use=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
+fi
 
-  # Check for maintainer-mode bits.
-  if test x"$USE_MAINTAINER_MODE" = xno; then
-    WERROR=''
-  else
-    WERROR='-Werror'
   fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
+$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
+
+  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
+    for ac_func in hypot
+do :
+  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
+if test "x$ac_cv_func_hypot" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_HYPOT 1
+_ACEOF
+
+fi
+done
+
+  else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
+$as_echo_n "checking for _hypot declaration... " >&6; }
+  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
+    if ${glibcxx_cv_func__hypot_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-  # Check for -ffunction-sections -fdata-sections
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
-$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
-  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-int foo; void bar() { };
+#include <math.h>
 int
 main ()
 {
-
+ _hypot(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_fdsections=yes
+  glibcxx_cv_func__hypot_use=yes
 else
-  ac_fdsections=no
+  glibcxx_cv_func__hypot_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-  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"; then
-    SECTION_FLAGS='-ffunction-sections -fdata-sections'
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
-$as_echo "$ac_fdsections" >&6; }
-
-  ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
+fi
 
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
+$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
 
+    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
+      for ac_func in _hypot
+do :
+  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
+if test "x$ac_cv_func__hypot" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE__HYPOT 1
+_ACEOF
 
-  # 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...
-  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
-  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
-
-
+fi
+done
 
-  # The name set by libtool depends on the version of libtool.  Shame on us
-  # for depending on an impl detail, but c'est la vie.  Older versions used
-  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
-  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
-  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
-  # set (hence we're using an older libtool), then set it.
-  if test x${with_gnu_ld+set} != xset; then
-    if test x${ac_cv_prog_gnu_ld+set} != xset; then
-      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
-      with_gnu_ld=no
-    else
-      with_gnu_ld=$ac_cv_prog_gnu_ld
     fi
   fi
 
-  # Start by getting the version number.  I think the libtool test already
-  # does some of this, but throws away the result.
-  glibcxx_ld_is_gold=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
-$as_echo_n "checking for ld version... " >&6; }
 
-    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
-      glibcxx_ld_is_gold=yes
-    fi
-    ldver=`$LD --version 2>/dev/null |
-          sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
 
-    glibcxx_gnu_ld_version=`echo $ldver | \
-          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
-$as_echo "$glibcxx_gnu_ld_version" >&6; }
-  fi
 
-  # Set --gc-sections.
-  glibcxx_have_gc_sections=no
-  if test "$glibcxx_ld_is_gold" = "yes"; then
-    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
-      glibcxx_have_gc_sections=yes
-    fi
-  else
-    glibcxx_gcsections_min_ld=21602
-    if test x"$with_gnu_ld" = x"yes" &&
-       test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
-      glibcxx_have_gc_sections=yes
-    fi
-  fi
-  if test "$glibcxx_have_gc_sections" = "yes"; then
-    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
-    # NB: This flag only works reliably after 2.16.1. Configure tests
-    # for this are difficult, so hard wire a value that should work.
 
-    ac_test_CFLAGS="${CFLAGS+set}"
-    ac_save_CFLAGS="$CFLAGS"
-    CFLAGS='-Wl,--gc-sections'
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
+$as_echo_n "checking for float trig functions... " >&6; }
+  if ${glibcxx_cv_func_float_trig_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
-    # Check for -Wl,--gc-sections
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
-$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
-    if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
- int one(void) { return 1; }
-     int two(void) { return 2; }
 
+    ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <math.h>
 int
 main ()
 {
- two();
+acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_gcsections=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func_float_trig_use=yes
 else
-  ac_gcsections=no
+  glibcxx_cv_func_float_trig_use=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-    if test "$ac_gcsections" = "yes"; then
-      rm -f conftest.c
-      touch conftest.c
-      if $CC -c conftest.c; then
-       if $LD --gc-sections -o conftest conftest.o 2>&1 | \
-          grep "Warning: gc-sections option ignored" > /dev/null; then
-         ac_gcsections=no
-       fi
-      fi
-      rm -f conftest.c conftest.o conftest
-    fi
-    if test "$ac_gcsections" = "yes"; then
-      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
-$as_echo "$ac_gcsections" >&6; }
-
-    if test "$ac_test_CFLAGS" = set; then
-      CFLAGS="$ac_save_CFLAGS"
-    else
-      # this is the suspicious part
-      CFLAGS=''
-    fi
-  fi
-
-  # Set -z,relro.
-  # Note this is only for shared objects.
-  ac_ld_relro=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
-$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
-    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
-    if test -n "$cxx_z_relo"; then
-      OPT_LDFLAGS="-Wl,-z,relro"
-      ac_ld_relro=yes
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
-$as_echo "$ac_ld_relro" >&6; }
-  fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+    ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-  # Set linker optimization flags.
-  if test x"$with_gnu_ld" = x"yes"; then
-    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
-  fi
+fi
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
+$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
+  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
+    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
+do :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
 
+fi
+done
 
+  else
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
+$as_echo_n "checking for _float trig functions... " >&6; }
+    if ${glibcxx_cv_func__float_trig_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
 
-  ac_test_CXXFLAGS="${CXXFLAGS+set}"
-  ac_save_CXXFLAGS="$CXXFLAGS"
-  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
-$as_echo_n "checking for sin in -lm... " >&6; }
-if test "${ac_cv_lib_m_sin+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lm  $LIBS"
-if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char sin ();
+#include <math.h>
 int
 main ()
 {
-return sin ();
+_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_m_sin=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func__float_trig_use=yes
 else
-  ac_cv_lib_m_sin=no
+  glibcxx_cv_func__float_trig_use=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
-$as_echo "$ac_cv_lib_m_sin" >&6; }
-if test "x$ac_cv_lib_m_sin" = x""yes; then :
-  libm="-lm"
+
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
+$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
+    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
+      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
+do :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
 fi
+done
 
-  ac_save_LIBS="$LIBS"
-  LIBS="$LIBS $libm"
+    fi
+  fi
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
-$as_echo_n "checking for isinf declaration... " >&6; }
-  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
+
+
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
+$as_echo_n "checking for float round functions... " >&6; }
+  if ${glibcxx_cv_func_float_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- isinf(0);
+ceilf (0); floorf (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isinf_use=yes
+  glibcxx_cv_func_float_round_use=yes
 else
-  glibcxx_cv_func_isinf_use=no
+  glibcxx_cv_func_float_round_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
-$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
-
-  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
-    for ac_func in isinf
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
+$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
+  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
+    for ac_func in ceilf floorf
 do :
-  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
-if test "x$ac_cv_func_isinf" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISINF 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 done
 
   else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
-$as_echo_n "checking for _isinf declaration... " >&6; }
-  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
+$as_echo_n "checking for _float round functions... " >&6; }
+    if ${glibcxx_cv_func__float_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -53042,22 +49725,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isinf(0);
+_ceilf (0); _floorf (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isinf_use=yes
+  glibcxx_cv_func__float_round_use=yes
 else
-  glibcxx_cv_func__isinf_use=no
+  glibcxx_cv_func__float_round_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -53066,20 +49745,18 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
-$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
-
-    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
-      for ac_func in _isinf
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
+$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
+    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
+      for ac_func in _ceilf _floorf
 do :
-  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
-if test "x$ac_cv_func__isinf" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISINF 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -53092,10 +49769,11 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
-$as_echo_n "checking for isnan declaration... " >&6; }
-  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
+$as_echo_n "checking for expf declaration... " >&6; }
+  if test x${glibcxx_cv_func_expf_use+set} != xset; then
+    if ${glibcxx_cv_func_expf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -53116,15 +49794,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
isnan(0);
expf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isnan_use=yes
+  glibcxx_cv_func_expf_use=yes
 else
-  glibcxx_cv_func_isnan_use=no
+  glibcxx_cv_func_expf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -53137,16 +49815,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
-$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
+$as_echo "$glibcxx_cv_func_expf_use" >&6; }
 
-  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
-    for ac_func in isnan
+  if test x$glibcxx_cv_func_expf_use = x"yes"; then
+    for ac_func in expf
 do :
-  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
-if test "x$ac_cv_func_isnan" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
+if test "x$ac_cv_func_expf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISNAN 1
+#define HAVE_EXPF 1
 _ACEOF
 
 fi
@@ -53154,10 +49832,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
-$as_echo_n "checking for _isnan declaration... " >&6; }
-  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
+$as_echo_n "checking for _expf declaration... " >&6; }
+  if test x${glibcxx_cv_func__expf_use+set} != xset; then
+    if ${glibcxx_cv_func__expf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -53178,15 +49856,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _isnan(0);
+ _expf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isnan_use=yes
+  glibcxx_cv_func__expf_use=yes
 else
-  glibcxx_cv_func__isnan_use=no
+  glibcxx_cv_func__expf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -53199,16 +49877,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
-$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
+$as_echo "$glibcxx_cv_func__expf_use" >&6; }
 
-    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
-      for ac_func in _isnan
+    if test x$glibcxx_cv_func__expf_use = x"yes"; then
+      for ac_func in _expf
 do :
-  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
-if test "x$ac_cv_func__isnan" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
+if test "x$ac_cv_func__expf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISNAN 1
+#define HAVE__EXPF 1
 _ACEOF
 
 fi
@@ -53221,10 +49899,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
-$as_echo_n "checking for finite declaration... " >&6; }
-  if test x${glibcxx_cv_func_finite_use+set} != xset; then
-    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
+$as_echo_n "checking for isnanf declaration... " >&6; }
+  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
+    if ${glibcxx_cv_func_isnanf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -53245,15 +49923,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
finite(0);
isnanf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_finite_use=yes
+  glibcxx_cv_func_isnanf_use=yes
 else
-  glibcxx_cv_func_finite_use=no
+  glibcxx_cv_func_isnanf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -53266,16 +49944,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
-$as_echo "$glibcxx_cv_func_finite_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
+$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
 
-  if test x$glibcxx_cv_func_finite_use = x"yes"; then
-    for ac_func in finite
+  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
+    for ac_func in isnanf
 do :
-  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
-if test "x$ac_cv_func_finite" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
+if test "x$ac_cv_func_isnanf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FINITE 1
+#define HAVE_ISNANF 1
 _ACEOF
 
 fi
@@ -53283,10 +49961,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
-$as_echo_n "checking for _finite declaration... " >&6; }
-  if test x${glibcxx_cv_func__finite_use+set} != xset; then
-    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
+$as_echo_n "checking for _isnanf declaration... " >&6; }
+  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
+    if ${glibcxx_cv_func__isnanf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -53307,15 +49985,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _finite(0);
+ _isnanf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__finite_use=yes
+  glibcxx_cv_func__isnanf_use=yes
 else
-  glibcxx_cv_func__finite_use=no
+  glibcxx_cv_func__isnanf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -53328,16 +50006,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
-$as_echo "$glibcxx_cv_func__finite_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
+$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
 
-    if test x$glibcxx_cv_func__finite_use = x"yes"; then
-      for ac_func in _finite
+    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
+      for ac_func in _isnanf
 do :
-  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
-if test "x$ac_cv_func__finite" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
+if test "x$ac_cv_func__isnanf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FINITE 1
+#define HAVE__ISNANF 1
 _ACEOF
 
 fi
@@ -53350,10 +50028,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
-$as_echo_n "checking for sincos declaration... " >&6; }
-  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
+$as_echo_n "checking for isinff declaration... " >&6; }
+  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
+    if ${glibcxx_cv_func_isinff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -53367,18 +50045,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
sincos(0, 0, 0);
isinff(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sincos_use=yes
+  glibcxx_cv_func_isinff_use=yes
 else
-  glibcxx_cv_func_sincos_use=no
+  glibcxx_cv_func_isinff_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -53391,16 +50073,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
-$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
+$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
 
-  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
-    for ac_func in sincos
+  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
+    for ac_func in isinff
 do :
-  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
-if test "x$ac_cv_func_sincos" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
+if test "x$ac_cv_func_isinff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SINCOS 1
+#define HAVE_ISINFF 1
 _ACEOF
 
 fi
@@ -53408,10 +50090,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
-$as_echo_n "checking for _sincos declaration... " >&6; }
-  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
+$as_echo_n "checking for _isinff declaration... " >&6; }
+  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
+    if ${glibcxx_cv_func__isinff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -53425,18 +50107,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _sincos(0, 0, 0);
+ _isinff(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sincos_use=yes
+  glibcxx_cv_func__isinff_use=yes
 else
-  glibcxx_cv_func__sincos_use=no
+  glibcxx_cv_func__isinff_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -53449,16 +50135,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
-$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
+$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
 
-    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
-      for ac_func in _sincos
+    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
+      for ac_func in _isinff
 do :
-  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
-if test "x$ac_cv_func__sincos" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
+if test "x$ac_cv_func__isinff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__SINCOS 1
+#define HAVE__ISINFF 1
 _ACEOF
 
 fi
@@ -53471,10 +50157,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
-$as_echo_n "checking for fpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
+$as_echo_n "checking for atan2f declaration... " >&6; }
+  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
+    if ${glibcxx_cv_func_atan2f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -53488,22 +50174,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
fpclass(0);
atan2f(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fpclass_use=yes
+  glibcxx_cv_func_atan2f_use=yes
 else
-  glibcxx_cv_func_fpclass_use=no
+  glibcxx_cv_func_atan2f_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -53516,16 +50198,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
-$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
+$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
 
-  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
-    for ac_func in fpclass
+  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
+    for ac_func in atan2f
 do :
-  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
-if test "x$ac_cv_func_fpclass" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
+if test "x$ac_cv_func_atan2f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FPCLASS 1
+#define HAVE_ATAN2F 1
 _ACEOF
 
 fi
@@ -53533,10 +50215,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
-$as_echo_n "checking for _fpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
+$as_echo_n "checking for _atan2f declaration... " >&6; }
+  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
+    if ${glibcxx_cv_func__atan2f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -53550,22 +50232,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _fpclass(0);
+ _atan2f(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fpclass_use=yes
+  glibcxx_cv_func__atan2f_use=yes
 else
-  glibcxx_cv_func__fpclass_use=no
+  glibcxx_cv_func__atan2f_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -53578,16 +50256,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
-$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
+$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
 
-    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
-      for ac_func in _fpclass
+    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
+      for ac_func in _atan2f
 do :
-  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
-if test "x$ac_cv_func__fpclass" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
+if test "x$ac_cv_func__atan2f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FPCLASS 1
+#define HAVE__ATAN2F 1
 _ACEOF
 
 fi
@@ -53600,10 +50278,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
-$as_echo_n "checking for qfpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
+$as_echo_n "checking for fabsf declaration... " >&6; }
+  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
+    if ${glibcxx_cv_func_fabsf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -53624,15 +50302,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
qfpclass(0);
fabsf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_qfpclass_use=yes
+  glibcxx_cv_func_fabsf_use=yes
 else
-  glibcxx_cv_func_qfpclass_use=no
+  glibcxx_cv_func_fabsf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -53645,16 +50323,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
-$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
+$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
 
-  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
-    for ac_func in qfpclass
+  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
+    for ac_func in fabsf
 do :
-  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
-if test "x$ac_cv_func_qfpclass" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
+if test "x$ac_cv_func_fabsf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_QFPCLASS 1
+#define HAVE_FABSF 1
 _ACEOF
 
 fi
@@ -53662,10 +50340,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
-$as_echo_n "checking for _qfpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
+$as_echo_n "checking for _fabsf declaration... " >&6; }
+  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
+    if ${glibcxx_cv_func__fabsf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -53686,15 +50364,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _qfpclass(0);
+ _fabsf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__qfpclass_use=yes
+  glibcxx_cv_func__fabsf_use=yes
 else
-  glibcxx_cv_func__qfpclass_use=no
+  glibcxx_cv_func__fabsf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -53707,16 +50385,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
-$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
+$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
 
-    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
-      for ac_func in _qfpclass
+    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
+      for ac_func in _fabsf
 do :
-  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
-if test "x$ac_cv_func__qfpclass" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
+if test "x$ac_cv_func__fabsf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__QFPCLASS 1
+#define HAVE__FABSF 1
 _ACEOF
 
 fi
@@ -53729,10 +50407,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
-$as_echo_n "checking for hypot declaration... " >&6; }
-  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
+$as_echo_n "checking for fmodf declaration... " >&6; }
+  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
+    if ${glibcxx_cv_func_fmodf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -53749,15 +50427,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
hypot(0, 0);
fmodf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_hypot_use=yes
+  glibcxx_cv_func_fmodf_use=yes
 else
-  glibcxx_cv_func_hypot_use=no
+  glibcxx_cv_func_fmodf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -53770,16 +50448,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
-$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
+$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
 
-  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
-    for ac_func in hypot
+  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
+    for ac_func in fmodf
 do :
-  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
-if test "x$ac_cv_func_hypot" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
+if test "x$ac_cv_func_fmodf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_HYPOT 1
+#define HAVE_FMODF 1
 _ACEOF
 
 fi
@@ -53787,10 +50465,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
-$as_echo_n "checking for _hypot declaration... " >&6; }
-  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
+$as_echo_n "checking for _fmodf declaration... " >&6; }
+  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
+    if ${glibcxx_cv_func__fmodf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -53807,15 +50485,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _hypot(0, 0);
+ _fmodf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__hypot_use=yes
+  glibcxx_cv_func__fmodf_use=yes
 else
-  glibcxx_cv_func__hypot_use=no
+  glibcxx_cv_func__fmodf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -53828,16 +50506,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
-$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
+$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
 
-    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
-      for ac_func in _hypot
+    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
+      for ac_func in _fmodf
 do :
-  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
-if test "x$ac_cv_func__hypot" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
+if test "x$ac_cv_func__fmodf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__HYPOT 1
+#define HAVE__FMODF 1
 _ACEOF
 
 fi
@@ -53850,64 +50528,68 @@ done
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
-$as_echo_n "checking for float trig functions... " >&6; }
-  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
+$as_echo_n "checking for frexpf declaration... " >&6; }
+  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
+    if ${glibcxx_cv_func_frexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-    ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
-acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
+ frexpf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_float_trig_use=yes
+  glibcxx_cv_func_frexpf_use=yes
 else
-  glibcxx_cv_func_float_trig_use=no
+  glibcxx_cv_func_frexpf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
-$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
-  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
-    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
+$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
+
+  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
+    for ac_func in frexpf
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
+if test "x$ac_cv_func_frexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_FREXPF 1
 _ACEOF
 
 fi
 done
 
   else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
-$as_echo_n "checking for _float trig functions... " >&6; }
-    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
+$as_echo_n "checking for _frexpf declaration... " >&6; }
+  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
+    if ${glibcxx_cv_func__frexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -53924,15 +50606,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
-_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
+ _frexpf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__float_trig_use=yes
+  glibcxx_cv_func__frexpf_use=yes
 else
-  glibcxx_cv_func__float_trig_use=no
+  glibcxx_cv_func__frexpf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -53941,19 +50623,20 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
-$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
-    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
-      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
+$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
+
+    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
+      for ac_func in _frexpf
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
+if test "x$ac_cv_func__frexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE__FREXPF 1
 _ACEOF
 
 fi
@@ -53966,64 +50649,68 @@ done
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
-$as_echo_n "checking for float round functions... " >&6; }
-  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
+$as_echo_n "checking for hypotf declaration... " >&6; }
+  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
+    if ${glibcxx_cv_func_hypotf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-    ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
-ceilf (0); floorf (0);
+ hypotf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_float_round_use=yes
+  glibcxx_cv_func_hypotf_use=yes
 else
-  glibcxx_cv_func_float_round_use=no
+  glibcxx_cv_func_hypotf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
-$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
-  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
-    for ac_func in ceilf floorf
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
+$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
+
+  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
+    for ac_func in hypotf
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
+if test "x$ac_cv_func_hypotf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_HYPOTF 1
 _ACEOF
 
 fi
 done
 
   else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
-$as_echo_n "checking for _float round functions... " >&6; }
-    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
+$as_echo_n "checking for _hypotf declaration... " >&6; }
+  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
+    if ${glibcxx_cv_func__hypotf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -54040,15 +50727,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
-_ceilf (0); _floorf (0);
+ _hypotf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__float_round_use=yes
+  glibcxx_cv_func__hypotf_use=yes
 else
-  glibcxx_cv_func__float_round_use=no
+  glibcxx_cv_func__hypotf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -54057,19 +50744,20 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
-$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
-    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
-      for ac_func in _ceilf _floorf
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
+$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
+
+    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
+      for ac_func in _hypotf
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
+if test "x$ac_cv_func__hypotf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE__HYPOTF 1
 _ACEOF
 
 fi
@@ -54082,11 +50770,10 @@ done
 
 
 
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
-$as_echo_n "checking for expf declaration... " >&6; }
-  if test x${glibcxx_cv_func_expf_use+set} != xset; then
-    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
+$as_echo_n "checking for ldexpf declaration... " >&6; }
+  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
+    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -54100,22 +50787,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
expf(0);
ldexpf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_expf_use=yes
+  glibcxx_cv_func_ldexpf_use=yes
 else
-  glibcxx_cv_func_expf_use=no
+  glibcxx_cv_func_ldexpf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -54128,16 +50811,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
-$as_echo "$glibcxx_cv_func_expf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
+$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
 
-  if test x$glibcxx_cv_func_expf_use = x"yes"; then
-    for ac_func in expf
+  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
+    for ac_func in ldexpf
 do :
-  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
-if test "x$ac_cv_func_expf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
+if test "x$ac_cv_func_ldexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_EXPF 1
+#define HAVE_LDEXPF 1
 _ACEOF
 
 fi
@@ -54145,10 +50828,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
-$as_echo_n "checking for _expf declaration... " >&6; }
-  if test x${glibcxx_cv_func__expf_use+set} != xset; then
-    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
+$as_echo_n "checking for _ldexpf declaration... " >&6; }
+  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
+    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -54162,22 +50845,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _expf(0);
+ _ldexpf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__expf_use=yes
+  glibcxx_cv_func__ldexpf_use=yes
 else
-  glibcxx_cv_func__expf_use=no
+  glibcxx_cv_func__ldexpf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -54190,16 +50869,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
-$as_echo "$glibcxx_cv_func__expf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
+$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
 
-    if test x$glibcxx_cv_func__expf_use = x"yes"; then
-      for ac_func in _expf
+    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
+      for ac_func in _ldexpf
 do :
-  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
-if test "x$ac_cv_func__expf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
+if test "x$ac_cv_func__ldexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__EXPF 1
+#define HAVE__LDEXPF 1
 _ACEOF
 
 fi
@@ -54212,10 +50891,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
-$as_echo_n "checking for isnanf declaration... " >&6; }
-  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
+$as_echo_n "checking for logf declaration... " >&6; }
+  if test x${glibcxx_cv_func_logf_use+set} != xset; then
+    if ${glibcxx_cv_func_logf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -54236,15 +50915,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
isnanf(0);
logf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isnanf_use=yes
+  glibcxx_cv_func_logf_use=yes
 else
-  glibcxx_cv_func_isnanf_use=no
+  glibcxx_cv_func_logf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -54257,16 +50936,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
-$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
+$as_echo "$glibcxx_cv_func_logf_use" >&6; }
 
-  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
-    for ac_func in isnanf
+  if test x$glibcxx_cv_func_logf_use = x"yes"; then
+    for ac_func in logf
 do :
-  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
-if test "x$ac_cv_func_isnanf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
+if test "x$ac_cv_func_logf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISNANF 1
+#define HAVE_LOGF 1
 _ACEOF
 
 fi
@@ -54274,10 +50953,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
-$as_echo_n "checking for _isnanf declaration... " >&6; }
-  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
+$as_echo_n "checking for _logf declaration... " >&6; }
+  if test x${glibcxx_cv_func__logf_use+set} != xset; then
+    if ${glibcxx_cv_func__logf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -54298,15 +50977,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _isnanf(0);
+ _logf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isnanf_use=yes
+  glibcxx_cv_func__logf_use=yes
 else
-  glibcxx_cv_func__isnanf_use=no
+  glibcxx_cv_func__logf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -54319,16 +50998,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
-$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
+$as_echo "$glibcxx_cv_func__logf_use" >&6; }
 
-    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
-      for ac_func in _isnanf
+    if test x$glibcxx_cv_func__logf_use = x"yes"; then
+      for ac_func in _logf
 do :
-  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
-if test "x$ac_cv_func__isnanf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
+if test "x$ac_cv_func__logf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISNANF 1
+#define HAVE__LOGF 1
 _ACEOF
 
 fi
@@ -54341,10 +51020,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
-$as_echo_n "checking for isinff declaration... " >&6; }
-  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
+$as_echo_n "checking for log10f declaration... " >&6; }
+  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
+    if ${glibcxx_cv_func_log10f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -54365,15 +51044,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
isinff(0);
log10f(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isinff_use=yes
+  glibcxx_cv_func_log10f_use=yes
 else
-  glibcxx_cv_func_isinff_use=no
+  glibcxx_cv_func_log10f_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -54386,16 +51065,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
-$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
+$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
 
-  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
-    for ac_func in isinff
+  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
+    for ac_func in log10f
 do :
-  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
-if test "x$ac_cv_func_isinff" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
+if test "x$ac_cv_func_log10f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISINFF 1
+#define HAVE_LOG10F 1
 _ACEOF
 
 fi
@@ -54403,10 +51082,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
-$as_echo_n "checking for _isinff declaration... " >&6; }
-  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
+$as_echo_n "checking for _log10f declaration... " >&6; }
+  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
+    if ${glibcxx_cv_func__log10f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -54427,15 +51106,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _isinff(0);
+ _log10f(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isinff_use=yes
+  glibcxx_cv_func__log10f_use=yes
 else
-  glibcxx_cv_func__isinff_use=no
+  glibcxx_cv_func__log10f_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -54448,16 +51127,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
-$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
+$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
 
-    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
-      for ac_func in _isinff
+    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
+      for ac_func in _log10f
 do :
-  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
-if test "x$ac_cv_func__isinff" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
+if test "x$ac_cv_func__log10f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISINFF 1
+#define HAVE__LOG10F 1
 _ACEOF
 
 fi
@@ -54470,10 +51149,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
-$as_echo_n "checking for atan2f declaration... " >&6; }
-  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
+$as_echo_n "checking for modff declaration... " >&6; }
+  if test x${glibcxx_cv_func_modff_use+set} != xset; then
+    if ${glibcxx_cv_func_modff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -54490,15 +51169,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
atan2f(0, 0);
modff(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_atan2f_use=yes
+  glibcxx_cv_func_modff_use=yes
 else
-  glibcxx_cv_func_atan2f_use=no
+  glibcxx_cv_func_modff_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -54511,16 +51190,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
-$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
+$as_echo "$glibcxx_cv_func_modff_use" >&6; }
 
-  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
-    for ac_func in atan2f
+  if test x$glibcxx_cv_func_modff_use = x"yes"; then
+    for ac_func in modff
 do :
-  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
-if test "x$ac_cv_func_atan2f" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
+if test "x$ac_cv_func_modff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ATAN2F 1
+#define HAVE_MODFF 1
 _ACEOF
 
 fi
@@ -54528,10 +51207,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
-$as_echo_n "checking for _atan2f declaration... " >&6; }
-  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
+$as_echo_n "checking for _modff declaration... " >&6; }
+  if test x${glibcxx_cv_func__modff_use+set} != xset; then
+    if ${glibcxx_cv_func__modff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -54548,15 +51227,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _atan2f(0, 0);
+ _modff(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__atan2f_use=yes
+  glibcxx_cv_func__modff_use=yes
 else
-  glibcxx_cv_func__atan2f_use=no
+  glibcxx_cv_func__modff_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -54569,16 +51248,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
-$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
+$as_echo "$glibcxx_cv_func__modff_use" >&6; }
 
-    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
-      for ac_func in _atan2f
+    if test x$glibcxx_cv_func__modff_use = x"yes"; then
+      for ac_func in _modff
 do :
-  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
-if test "x$ac_cv_func__atan2f" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
+if test "x$ac_cv_func__modff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ATAN2F 1
+#define HAVE__MODFF 1
 _ACEOF
 
 fi
@@ -54591,10 +51270,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
-$as_echo_n "checking for fabsf declaration... " >&6; }
-  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
+$as_echo_n "checking for modf declaration... " >&6; }
+  if test x${glibcxx_cv_func_modf_use+set} != xset; then
+    if ${glibcxx_cv_func_modf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -54608,22 +51287,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
fabsf(0);
modf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fabsf_use=yes
+  glibcxx_cv_func_modf_use=yes
 else
-  glibcxx_cv_func_fabsf_use=no
+  glibcxx_cv_func_modf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -54636,16 +51311,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
-$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
+$as_echo "$glibcxx_cv_func_modf_use" >&6; }
 
-  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
-    for ac_func in fabsf
+  if test x$glibcxx_cv_func_modf_use = x"yes"; then
+    for ac_func in modf
 do :
-  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
-if test "x$ac_cv_func_fabsf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
+if test "x$ac_cv_func_modf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FABSF 1
+#define HAVE_MODF 1
 _ACEOF
 
 fi
@@ -54653,10 +51328,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
-$as_echo_n "checking for _fabsf declaration... " >&6; }
-  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
+$as_echo_n "checking for _modf declaration... " >&6; }
+  if test x${glibcxx_cv_func__modf_use+set} != xset; then
+    if ${glibcxx_cv_func__modf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -54670,22 +51345,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _fabsf(0);
+ _modf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fabsf_use=yes
+  glibcxx_cv_func__modf_use=yes
 else
-  glibcxx_cv_func__fabsf_use=no
+  glibcxx_cv_func__modf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -54698,16 +51369,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
-$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
+$as_echo "$glibcxx_cv_func__modf_use" >&6; }
 
-    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
-      for ac_func in _fabsf
+    if test x$glibcxx_cv_func__modf_use = x"yes"; then
+      for ac_func in _modf
 do :
-  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
-if test "x$ac_cv_func__fabsf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
+if test "x$ac_cv_func__modf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FABSF 1
+#define HAVE__MODF 1
 _ACEOF
 
 fi
@@ -54720,10 +51391,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
-$as_echo_n "checking for fmodf declaration... " >&6; }
-  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
+$as_echo_n "checking for powf declaration... " >&6; }
+  if test x${glibcxx_cv_func_powf_use+set} != xset; then
+    if ${glibcxx_cv_func_powf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -54740,15 +51411,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
fmodf(0, 0);
powf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fmodf_use=yes
+  glibcxx_cv_func_powf_use=yes
 else
-  glibcxx_cv_func_fmodf_use=no
+  glibcxx_cv_func_powf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -54761,16 +51432,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
-$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
+$as_echo "$glibcxx_cv_func_powf_use" >&6; }
 
-  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
-    for ac_func in fmodf
+  if test x$glibcxx_cv_func_powf_use = x"yes"; then
+    for ac_func in powf
 do :
-  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
-if test "x$ac_cv_func_fmodf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
+if test "x$ac_cv_func_powf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FMODF 1
+#define HAVE_POWF 1
 _ACEOF
 
 fi
@@ -54778,10 +51449,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
-$as_echo_n "checking for _fmodf declaration... " >&6; }
-  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
+$as_echo_n "checking for _powf declaration... " >&6; }
+  if test x${glibcxx_cv_func__powf_use+set} != xset; then
+    if ${glibcxx_cv_func__powf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -54798,15 +51469,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _fmodf(0, 0);
+ _powf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fmodf_use=yes
+  glibcxx_cv_func__powf_use=yes
 else
-  glibcxx_cv_func__fmodf_use=no
+  glibcxx_cv_func__powf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -54819,16 +51490,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
-$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
+$as_echo "$glibcxx_cv_func__powf_use" >&6; }
 
-    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
-      for ac_func in _fmodf
+    if test x$glibcxx_cv_func__powf_use = x"yes"; then
+      for ac_func in _powf
 do :
-  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
-if test "x$ac_cv_func__fmodf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
+if test "x$ac_cv_func__powf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FMODF 1
+#define HAVE__POWF 1
 _ACEOF
 
 fi
@@ -54841,10 +51512,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
-$as_echo_n "checking for frexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
+$as_echo_n "checking for sqrtf declaration... " >&6; }
+  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
+    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -54858,18 +51529,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
frexpf(0, 0);
sqrtf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_frexpf_use=yes
+  glibcxx_cv_func_sqrtf_use=yes
 else
-  glibcxx_cv_func_frexpf_use=no
+  glibcxx_cv_func_sqrtf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -54882,16 +51557,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
-$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
+$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
 
-  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
-    for ac_func in frexpf
+  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
+    for ac_func in sqrtf
 do :
-  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
-if test "x$ac_cv_func_frexpf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
+if test "x$ac_cv_func_sqrtf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FREXPF 1
+#define HAVE_SQRTF 1
 _ACEOF
 
 fi
@@ -54899,10 +51574,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
-$as_echo_n "checking for _frexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
+$as_echo_n "checking for _sqrtf declaration... " >&6; }
+  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
+    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -54916,18 +51591,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _frexpf(0, 0);
+ _sqrtf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__frexpf_use=yes
+  glibcxx_cv_func__sqrtf_use=yes
 else
-  glibcxx_cv_func__frexpf_use=no
+  glibcxx_cv_func__sqrtf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -54940,16 +51619,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
-$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
+$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
 
-    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
-      for ac_func in _frexpf
+    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
+      for ac_func in _sqrtf
 do :
-  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
-if test "x$ac_cv_func__frexpf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
+if test "x$ac_cv_func__sqrtf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FREXPF 1
+#define HAVE__SQRTF 1
 _ACEOF
 
 fi
@@ -54962,10 +51641,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
-$as_echo_n "checking for hypotf declaration... " >&6; }
-  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
+$as_echo_n "checking for sincosf declaration... " >&6; }
+  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
+    if ${glibcxx_cv_func_sincosf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -54982,15 +51661,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
hypotf(0, 0);
sincosf(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_hypotf_use=yes
+  glibcxx_cv_func_sincosf_use=yes
 else
-  glibcxx_cv_func_hypotf_use=no
+  glibcxx_cv_func_sincosf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -55003,16 +51682,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
-$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
+$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
 
-  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
-    for ac_func in hypotf
+  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
+    for ac_func in sincosf
 do :
-  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
-if test "x$ac_cv_func_hypotf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
+if test "x$ac_cv_func_sincosf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_HYPOTF 1
+#define HAVE_SINCOSF 1
 _ACEOF
 
 fi
@@ -55020,10 +51699,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
-$as_echo_n "checking for _hypotf declaration... " >&6; }
-  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
+$as_echo_n "checking for _sincosf declaration... " >&6; }
+  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
+    if ${glibcxx_cv_func__sincosf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -55040,15 +51719,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _hypotf(0, 0);
+ _sincosf(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__hypotf_use=yes
+  glibcxx_cv_func__sincosf_use=yes
 else
-  glibcxx_cv_func__hypotf_use=no
+  glibcxx_cv_func__sincosf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -55061,16 +51740,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
-$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
+$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
 
-    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
-      for ac_func in _hypotf
+    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
+      for ac_func in _sincosf
 do :
-  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
-if test "x$ac_cv_func__hypotf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
+if test "x$ac_cv_func__sincosf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__HYPOTF 1
+#define HAVE__SINCOSF 1
 _ACEOF
 
 fi
@@ -55083,10 +51762,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
-$as_echo_n "checking for ldexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
+$as_echo_n "checking for finitef declaration... " >&6; }
+  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
+    if ${glibcxx_cv_func_finitef_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -55100,18 +51779,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
ldexpf(0, 0);
finitef(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_ldexpf_use=yes
+  glibcxx_cv_func_finitef_use=yes
 else
-  glibcxx_cv_func_ldexpf_use=no
+  glibcxx_cv_func_finitef_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -55124,16 +51807,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
-$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
+$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
 
-  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
-    for ac_func in ldexpf
+  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
+    for ac_func in finitef
 do :
-  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
-if test "x$ac_cv_func_ldexpf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
+if test "x$ac_cv_func_finitef" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LDEXPF 1
+#define HAVE_FINITEF 1
 _ACEOF
 
 fi
@@ -55141,10 +51824,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
-$as_echo_n "checking for _ldexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
+$as_echo_n "checking for _finitef declaration... " >&6; }
+  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
+    if ${glibcxx_cv_func__finitef_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -55158,18 +51841,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _ldexpf(0, 0);
+ _finitef(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__ldexpf_use=yes
+  glibcxx_cv_func__finitef_use=yes
 else
-  glibcxx_cv_func__ldexpf_use=no
+  glibcxx_cv_func__finitef_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -55182,16 +51869,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
-$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
+$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
 
-    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
-      for ac_func in _ldexpf
+    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
+      for ac_func in _finitef
 do :
-  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
-if test "x$ac_cv_func__ldexpf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
+if test "x$ac_cv_func__finitef" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LDEXPF 1
+#define HAVE__FINITEF 1
 _ACEOF
 
 fi
@@ -55204,72 +51891,63 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
-$as_echo_n "checking for logf declaration... " >&6; }
-  if test x${glibcxx_cv_func_logf_use+set} != xset; then
-    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
+$as_echo_n "checking for long double trig functions... " >&6; }
+  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- logf(0);
+acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_logf_use=yes
+  glibcxx_cv_func_long_double_trig_use=yes
 else
-  glibcxx_cv_func_logf_use=no
+  glibcxx_cv_func_long_double_trig_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
-$as_echo "$glibcxx_cv_func_logf_use" >&6; }
-
-  if test x$glibcxx_cv_func_logf_use = x"yes"; then
-    for ac_func in logf
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
+$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
+  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
+    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
 do :
-  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
-if test "x$ac_cv_func_logf" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOGF 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 done
 
   else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
-$as_echo_n "checking for _logf declaration... " >&6; }
-  if test x${glibcxx_cv_func__logf_use+set} != xset; then
-    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
+$as_echo_n "checking for _long double trig functions... " >&6; }
+    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -55283,22 +51961,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _logf(0);
+_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__logf_use=yes
+  glibcxx_cv_func__long_double_trig_use=yes
 else
-  glibcxx_cv_func__logf_use=no
+  glibcxx_cv_func__long_double_trig_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -55307,20 +51981,18 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
-$as_echo "$glibcxx_cv_func__logf_use" >&6; }
-
-    if test x$glibcxx_cv_func__logf_use = x"yes"; then
-      for ac_func in _logf
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
+$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
+    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
+      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
 do :
-  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
-if test "x$ac_cv_func__logf" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOGF 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -55333,72 +52005,63 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
-$as_echo_n "checking for log10f declaration... " >&6; }
-  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
+$as_echo_n "checking for long double round functions... " >&6; }
+  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- log10f(0);
+ceill (0); floorl (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_log10f_use=yes
+  glibcxx_cv_func_long_double_round_use=yes
 else
-  glibcxx_cv_func_log10f_use=no
+  glibcxx_cv_func_long_double_round_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
-$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
-
-  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
-    for ac_func in log10f
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
+$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
+  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
+    for ac_func in ceill floorl
 do :
-  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
-if test "x$ac_cv_func_log10f" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOG10F 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 done
 
   else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
-$as_echo_n "checking for _log10f declaration... " >&6; }
-  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
+$as_echo_n "checking for _long double round functions... " >&6; }
+    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -55412,22 +52075,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _log10f(0);
+_ceill (0); _floorl (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__log10f_use=yes
+  glibcxx_cv_func__long_double_round_use=yes
 else
-  glibcxx_cv_func__log10f_use=no
+  glibcxx_cv_func__long_double_round_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -55436,20 +52095,18 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
-$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
-
-    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
-      for ac_func in _log10f
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
+$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
+    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
+      for ac_func in _ceill _floorl
 do :
-  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
-if test "x$ac_cv_func__log10f" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOG10F 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -55462,10 +52119,11 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
-$as_echo_n "checking for modff declaration... " >&6; }
-  if test x${glibcxx_cv_func_modff_use+set} != xset; then
-    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
+$as_echo_n "checking for isnanl declaration... " >&6; }
+  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
+    if ${glibcxx_cv_func_isnanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -55479,18 +52137,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
modff(0, 0);
isnanl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_modff_use=yes
+  glibcxx_cv_func_isnanl_use=yes
 else
-  glibcxx_cv_func_modff_use=no
+  glibcxx_cv_func_isnanl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -55503,16 +52165,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
-$as_echo "$glibcxx_cv_func_modff_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
+$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
 
-  if test x$glibcxx_cv_func_modff_use = x"yes"; then
-    for ac_func in modff
+  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
+    for ac_func in isnanl
 do :
-  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
-if test "x$ac_cv_func_modff" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
+if test "x$ac_cv_func_isnanl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_MODFF 1
+#define HAVE_ISNANL 1
 _ACEOF
 
 fi
@@ -55520,10 +52182,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
-$as_echo_n "checking for _modff declaration... " >&6; }
-  if test x${glibcxx_cv_func__modff_use+set} != xset; then
-    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
+$as_echo_n "checking for _isnanl declaration... " >&6; }
+  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
+    if ${glibcxx_cv_func__isnanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -55537,18 +52199,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _modff(0, 0);
+ _isnanl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__modff_use=yes
+  glibcxx_cv_func__isnanl_use=yes
 else
-  glibcxx_cv_func__modff_use=no
+  glibcxx_cv_func__isnanl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -55561,16 +52227,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
-$as_echo "$glibcxx_cv_func__modff_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
+$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
 
-    if test x$glibcxx_cv_func__modff_use = x"yes"; then
-      for ac_func in _modff
+    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
+      for ac_func in _isnanl
 do :
-  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
-if test "x$ac_cv_func__modff" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
+if test "x$ac_cv_func__isnanl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__MODFF 1
+#define HAVE__ISNANL 1
 _ACEOF
 
 fi
@@ -55583,10 +52249,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
-$as_echo_n "checking for modf declaration... " >&6; }
-  if test x${glibcxx_cv_func_modf_use+set} != xset; then
-    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
+$as_echo_n "checking for isinfl declaration... " >&6; }
+  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
+    if ${glibcxx_cv_func_isinfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -55600,18 +52266,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
modf(0, 0);
isinfl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_modf_use=yes
+  glibcxx_cv_func_isinfl_use=yes
 else
-  glibcxx_cv_func_modf_use=no
+  glibcxx_cv_func_isinfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -55624,16 +52294,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
-$as_echo "$glibcxx_cv_func_modf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
+$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
 
-  if test x$glibcxx_cv_func_modf_use = x"yes"; then
-    for ac_func in modf
+  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
+    for ac_func in isinfl
 do :
-  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
-if test "x$ac_cv_func_modf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
+if test "x$ac_cv_func_isinfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_MODF 1
+#define HAVE_ISINFL 1
 _ACEOF
 
 fi
@@ -55641,10 +52311,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
-$as_echo_n "checking for _modf declaration... " >&6; }
-  if test x${glibcxx_cv_func__modf_use+set} != xset; then
-    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
+$as_echo_n "checking for _isinfl declaration... " >&6; }
+  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
+    if ${glibcxx_cv_func__isinfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -55658,18 +52328,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _modf(0, 0);
+ _isinfl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__modf_use=yes
+  glibcxx_cv_func__isinfl_use=yes
 else
-  glibcxx_cv_func__modf_use=no
+  glibcxx_cv_func__isinfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -55682,16 +52356,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
-$as_echo "$glibcxx_cv_func__modf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
+$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
 
-    if test x$glibcxx_cv_func__modf_use = x"yes"; then
-      for ac_func in _modf
+    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
+      for ac_func in _isinfl
 do :
-  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
-if test "x$ac_cv_func__modf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
+if test "x$ac_cv_func__isinfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__MODF 1
+#define HAVE__ISINFL 1
 _ACEOF
 
 fi
@@ -55704,10 +52378,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
-$as_echo_n "checking for powf declaration... " >&6; }
-  if test x${glibcxx_cv_func_powf_use+set} != xset; then
-    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
+$as_echo_n "checking for atan2l declaration... " >&6; }
+  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
+    if ${glibcxx_cv_func_atan2l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -55724,15 +52398,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
powf(0, 0);
atan2l(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_powf_use=yes
+  glibcxx_cv_func_atan2l_use=yes
 else
-  glibcxx_cv_func_powf_use=no
+  glibcxx_cv_func_atan2l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -55745,16 +52419,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
-$as_echo "$glibcxx_cv_func_powf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
+$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
 
-  if test x$glibcxx_cv_func_powf_use = x"yes"; then
-    for ac_func in powf
+  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
+    for ac_func in atan2l
 do :
-  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
-if test "x$ac_cv_func_powf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
+if test "x$ac_cv_func_atan2l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_POWF 1
+#define HAVE_ATAN2L 1
 _ACEOF
 
 fi
@@ -55762,10 +52436,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
-$as_echo_n "checking for _powf declaration... " >&6; }
-  if test x${glibcxx_cv_func__powf_use+set} != xset; then
-    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
+$as_echo_n "checking for _atan2l declaration... " >&6; }
+  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
+    if ${glibcxx_cv_func__atan2l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -55782,15 +52456,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _powf(0, 0);
+ _atan2l(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__powf_use=yes
+  glibcxx_cv_func__atan2l_use=yes
 else
-  glibcxx_cv_func__powf_use=no
+  glibcxx_cv_func__atan2l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -55803,16 +52477,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
-$as_echo "$glibcxx_cv_func__powf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
+$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
 
-    if test x$glibcxx_cv_func__powf_use = x"yes"; then
-      for ac_func in _powf
+    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
+      for ac_func in _atan2l
 do :
-  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
-if test "x$ac_cv_func__powf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
+if test "x$ac_cv_func__atan2l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__POWF 1
+#define HAVE__ATAN2L 1
 _ACEOF
 
 fi
@@ -55825,10 +52499,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
-$as_echo_n "checking for sqrtf declaration... " >&6; }
-  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
+$as_echo_n "checking for expl declaration... " >&6; }
+  if test x${glibcxx_cv_func_expl_use+set} != xset; then
+    if ${glibcxx_cv_func_expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -55849,15 +52523,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
sqrtf(0);
expl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sqrtf_use=yes
+  glibcxx_cv_func_expl_use=yes
 else
-  glibcxx_cv_func_sqrtf_use=no
+  glibcxx_cv_func_expl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -55870,16 +52544,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
-$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
+$as_echo "$glibcxx_cv_func_expl_use" >&6; }
 
-  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
-    for ac_func in sqrtf
+  if test x$glibcxx_cv_func_expl_use = x"yes"; then
+    for ac_func in expl
 do :
-  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
-if test "x$ac_cv_func_sqrtf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
+if test "x$ac_cv_func_expl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SQRTF 1
+#define HAVE_EXPL 1
 _ACEOF
 
 fi
@@ -55887,10 +52561,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
-$as_echo_n "checking for _sqrtf declaration... " >&6; }
-  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
+$as_echo_n "checking for _expl declaration... " >&6; }
+  if test x${glibcxx_cv_func__expl_use+set} != xset; then
+    if ${glibcxx_cv_func__expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -55911,15 +52585,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _sqrtf(0);
+ _expl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sqrtf_use=yes
+  glibcxx_cv_func__expl_use=yes
 else
-  glibcxx_cv_func__sqrtf_use=no
+  glibcxx_cv_func__expl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -55932,16 +52606,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
-$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
+$as_echo "$glibcxx_cv_func__expl_use" >&6; }
 
-    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
-      for ac_func in _sqrtf
+    if test x$glibcxx_cv_func__expl_use = x"yes"; then
+      for ac_func in _expl
 do :
-  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
-if test "x$ac_cv_func__sqrtf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
+if test "x$ac_cv_func__expl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__SQRTF 1
+#define HAVE__EXPL 1
 _ACEOF
 
 fi
@@ -55954,10 +52628,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
-$as_echo_n "checking for sincosf declaration... " >&6; }
-  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
+$as_echo_n "checking for fabsl declaration... " >&6; }
+  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
+    if ${glibcxx_cv_func_fabsl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -55971,18 +52645,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
sincosf(0, 0, 0);
fabsl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sincosf_use=yes
+  glibcxx_cv_func_fabsl_use=yes
 else
-  glibcxx_cv_func_sincosf_use=no
+  glibcxx_cv_func_fabsl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -55995,16 +52673,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
-$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
+$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
 
-  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
-    for ac_func in sincosf
+  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
+    for ac_func in fabsl
 do :
-  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
-if test "x$ac_cv_func_sincosf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
+if test "x$ac_cv_func_fabsl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SINCOSF 1
+#define HAVE_FABSL 1
 _ACEOF
 
 fi
@@ -56012,10 +52690,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
-$as_echo_n "checking for _sincosf declaration... " >&6; }
-  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
+$as_echo_n "checking for _fabsl declaration... " >&6; }
+  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
+    if ${glibcxx_cv_func__fabsl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -56029,18 +52707,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _sincosf(0, 0, 0);
+ _fabsl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sincosf_use=yes
+  glibcxx_cv_func__fabsl_use=yes
 else
-  glibcxx_cv_func__sincosf_use=no
+  glibcxx_cv_func__fabsl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -56053,16 +52735,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
-$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
+$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
 
-    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
-      for ac_func in _sincosf
+    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
+      for ac_func in _fabsl
 do :
-  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
-if test "x$ac_cv_func__sincosf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
+if test "x$ac_cv_func__fabsl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__SINCOSF 1
+#define HAVE__FABSL 1
 _ACEOF
 
 fi
@@ -56075,10 +52757,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
-$as_echo_n "checking for finitef declaration... " >&6; }
-  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
+$as_echo_n "checking for fmodl declaration... " >&6; }
+  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
+    if ${glibcxx_cv_func_fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -56092,22 +52774,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- finitef(0);
+ fmodl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_finitef_use=yes
+  glibcxx_cv_func_fmodl_use=yes
 else
-  glibcxx_cv_func_finitef_use=no
+  glibcxx_cv_func_fmodl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -56120,16 +52798,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
-$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
+$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
 
-  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
-    for ac_func in finitef
+  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
+    for ac_func in fmodl
 do :
-  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
-if test "x$ac_cv_func_finitef" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
+if test "x$ac_cv_func_fmodl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FINITEF 1
+#define HAVE_FMODL 1
 _ACEOF
 
 fi
@@ -56137,10 +52815,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
-$as_echo_n "checking for _finitef declaration... " >&6; }
-  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
+$as_echo_n "checking for _fmodl declaration... " >&6; }
+  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
+    if ${glibcxx_cv_func__fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -56154,22 +52832,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _finitef(0);
+ _fmodl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__finitef_use=yes
+  glibcxx_cv_func__fmodl_use=yes
 else
-  glibcxx_cv_func__finitef_use=no
+  glibcxx_cv_func__fmodl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -56182,16 +52856,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
-$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
+$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
 
-    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
-      for ac_func in _finitef
+    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
+      for ac_func in _fmodl
 do :
-  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
-if test "x$ac_cv_func__finitef" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
+if test "x$ac_cv_func__fmodl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FINITEF 1
+#define HAVE__FMODL 1
 _ACEOF
 
 fi
@@ -56204,64 +52878,68 @@ done
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
-$as_echo_n "checking for long double trig functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
+$as_echo_n "checking for frexpl declaration... " >&6; }
+  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
+    if ${glibcxx_cv_func_frexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-    ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
-acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
+ frexpl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_long_double_trig_use=yes
+  glibcxx_cv_func_frexpl_use=yes
 else
-  glibcxx_cv_func_long_double_trig_use=no
+  glibcxx_cv_func_frexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
-$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
-  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
-    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
+$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
+
+  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
+    for ac_func in frexpl
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
+if test "x$ac_cv_func_frexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_FREXPL 1
 _ACEOF
 
 fi
 done
 
   else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
-$as_echo_n "checking for _long double trig functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
+$as_echo_n "checking for _frexpl declaration... " >&6; }
+  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
+    if ${glibcxx_cv_func__frexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -56278,15 +52956,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
-_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
+ _frexpl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__long_double_trig_use=yes
+  glibcxx_cv_func__frexpl_use=yes
 else
-  glibcxx_cv_func__long_double_trig_use=no
+  glibcxx_cv_func__frexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -56295,19 +52973,20 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
-$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
-    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
-      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
+$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
+
+    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
+      for ac_func in _frexpl
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
+if test "x$ac_cv_func__frexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE__FREXPL 1
 _ACEOF
 
 fi
@@ -56320,64 +52999,68 @@ done
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
-$as_echo_n "checking for long double round functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
+$as_echo_n "checking for hypotl declaration... " >&6; }
+  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
+    if ${glibcxx_cv_func_hypotl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-    ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
-ceill (0); floorl (0);
+ hypotl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_long_double_round_use=yes
+  glibcxx_cv_func_hypotl_use=yes
 else
-  glibcxx_cv_func_long_double_round_use=no
+  glibcxx_cv_func_hypotl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
-$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
-  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
-    for ac_func in ceill floorl
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
+$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
+
+  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
+    for ac_func in hypotl
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
+if test "x$ac_cv_func_hypotl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_HYPOTL 1
 _ACEOF
 
 fi
 done
 
   else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
-$as_echo_n "checking for _long double round functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
+$as_echo_n "checking for _hypotl declaration... " >&6; }
+  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
+    if ${glibcxx_cv_func__hypotl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -56394,15 +53077,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
-_ceill (0); _floorl (0);
+ _hypotl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__long_double_round_use=yes
+  glibcxx_cv_func__hypotl_use=yes
 else
-  glibcxx_cv_func__long_double_round_use=no
+  glibcxx_cv_func__hypotl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -56411,19 +53094,20 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
-$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
-    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
-      for ac_func in _ceill _floorl
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
+$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
+
+    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
+      for ac_func in _hypotl
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
+if test "x$ac_cv_func__hypotl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE__HYPOTL 1
 _ACEOF
 
 fi
@@ -56436,11 +53120,10 @@ done
 
 
 
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
-$as_echo_n "checking for isnanl declaration... " >&6; }
-  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
+$as_echo_n "checking for ldexpl declaration... " >&6; }
+  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
+    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -56454,22 +53137,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
isnanl(0);
ldexpl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isnanl_use=yes
+  glibcxx_cv_func_ldexpl_use=yes
 else
-  glibcxx_cv_func_isnanl_use=no
+  glibcxx_cv_func_ldexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -56482,16 +53161,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
-$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
+$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
 
-  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
-    for ac_func in isnanl
+  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
+    for ac_func in ldexpl
 do :
-  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
-if test "x$ac_cv_func_isnanl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
+if test "x$ac_cv_func_ldexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISNANL 1
+#define HAVE_LDEXPL 1
 _ACEOF
 
 fi
@@ -56499,10 +53178,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
-$as_echo_n "checking for _isnanl declaration... " >&6; }
-  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
+$as_echo_n "checking for _ldexpl declaration... " >&6; }
+  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
+    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -56516,22 +53195,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isnanl(0);
+ _ldexpl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isnanl_use=yes
+  glibcxx_cv_func__ldexpl_use=yes
 else
-  glibcxx_cv_func__isnanl_use=no
+  glibcxx_cv_func__ldexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -56544,16 +53219,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
-$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
+$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
 
-    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
-      for ac_func in _isnanl
+    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
+      for ac_func in _ldexpl
 do :
-  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
-if test "x$ac_cv_func__isnanl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
+if test "x$ac_cv_func__ldexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISNANL 1
+#define HAVE__LDEXPL 1
 _ACEOF
 
 fi
@@ -56566,10 +53241,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
-$as_echo_n "checking for isinfl declaration... " >&6; }
-  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
+$as_echo_n "checking for logl declaration... " >&6; }
+  if test x${glibcxx_cv_func_logl_use+set} != xset; then
+    if ${glibcxx_cv_func_logl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -56590,15 +53265,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
isinfl(0);
logl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isinfl_use=yes
+  glibcxx_cv_func_logl_use=yes
 else
-  glibcxx_cv_func_isinfl_use=no
+  glibcxx_cv_func_logl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -56611,16 +53286,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
-$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
+$as_echo "$glibcxx_cv_func_logl_use" >&6; }
 
-  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
-    for ac_func in isinfl
+  if test x$glibcxx_cv_func_logl_use = x"yes"; then
+    for ac_func in logl
 do :
-  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
-if test "x$ac_cv_func_isinfl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
+if test "x$ac_cv_func_logl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISINFL 1
+#define HAVE_LOGL 1
 _ACEOF
 
 fi
@@ -56628,10 +53303,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
-$as_echo_n "checking for _isinfl declaration... " >&6; }
-  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
+$as_echo_n "checking for _logl declaration... " >&6; }
+  if test x${glibcxx_cv_func__logl_use+set} != xset; then
+    if ${glibcxx_cv_func__logl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -56652,15 +53327,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _isinfl(0);
+ _logl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isinfl_use=yes
+  glibcxx_cv_func__logl_use=yes
 else
-  glibcxx_cv_func__isinfl_use=no
+  glibcxx_cv_func__logl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -56673,16 +53348,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
-$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
+$as_echo "$glibcxx_cv_func__logl_use" >&6; }
 
-    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
-      for ac_func in _isinfl
+    if test x$glibcxx_cv_func__logl_use = x"yes"; then
+      for ac_func in _logl
 do :
-  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
-if test "x$ac_cv_func__isinfl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
+if test "x$ac_cv_func__logl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISINFL 1
+#define HAVE__LOGL 1
 _ACEOF
 
 fi
@@ -56695,10 +53370,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
-$as_echo_n "checking for atan2l declaration... " >&6; }
-  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
+$as_echo_n "checking for log10l declaration... " >&6; }
+  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
+    if ${glibcxx_cv_func_log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -56712,18 +53387,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
atan2l(0, 0);
log10l(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_atan2l_use=yes
+  glibcxx_cv_func_log10l_use=yes
 else
-  glibcxx_cv_func_atan2l_use=no
+  glibcxx_cv_func_log10l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -56736,16 +53415,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
-$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
+$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
 
-  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
-    for ac_func in atan2l
+  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
+    for ac_func in log10l
 do :
-  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
-if test "x$ac_cv_func_atan2l" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
+if test "x$ac_cv_func_log10l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ATAN2L 1
+#define HAVE_LOG10L 1
 _ACEOF
 
 fi
@@ -56753,10 +53432,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
-$as_echo_n "checking for _atan2l declaration... " >&6; }
-  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
+$as_echo_n "checking for _log10l declaration... " >&6; }
+  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
+    if ${glibcxx_cv_func__log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -56770,18 +53449,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _atan2l(0, 0);
+ _log10l(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__atan2l_use=yes
+  glibcxx_cv_func__log10l_use=yes
 else
-  glibcxx_cv_func__atan2l_use=no
+  glibcxx_cv_func__log10l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -56794,16 +53477,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
-$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
+$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
 
-    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
-      for ac_func in _atan2l
+    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
+      for ac_func in _log10l
 do :
-  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
-if test "x$ac_cv_func__atan2l" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
+if test "x$ac_cv_func__log10l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ATAN2L 1
+#define HAVE__LOG10L 1
 _ACEOF
 
 fi
@@ -56816,10 +53499,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
-$as_echo_n "checking for expl declaration... " >&6; }
-  if test x${glibcxx_cv_func_expl_use+set} != xset; then
-    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
+$as_echo_n "checking for modfl declaration... " >&6; }
+  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
+    if ${glibcxx_cv_func_modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -56833,22 +53516,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
expl(0);
modfl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_expl_use=yes
+  glibcxx_cv_func_modfl_use=yes
 else
-  glibcxx_cv_func_expl_use=no
+  glibcxx_cv_func_modfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -56861,16 +53540,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
-$as_echo "$glibcxx_cv_func_expl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
+$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
 
-  if test x$glibcxx_cv_func_expl_use = x"yes"; then
-    for ac_func in expl
+  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
+    for ac_func in modfl
 do :
-  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
-if test "x$ac_cv_func_expl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
+if test "x$ac_cv_func_modfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_EXPL 1
+#define HAVE_MODFL 1
 _ACEOF
 
 fi
@@ -56878,10 +53557,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
-$as_echo_n "checking for _expl declaration... " >&6; }
-  if test x${glibcxx_cv_func__expl_use+set} != xset; then
-    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
+$as_echo_n "checking for _modfl declaration... " >&6; }
+  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
+    if ${glibcxx_cv_func__modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -56895,22 +53574,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _expl(0);
+ _modfl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__expl_use=yes
+  glibcxx_cv_func__modfl_use=yes
 else
-  glibcxx_cv_func__expl_use=no
+  glibcxx_cv_func__modfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -56923,16 +53598,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
-$as_echo "$glibcxx_cv_func__expl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
+$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
 
-    if test x$glibcxx_cv_func__expl_use = x"yes"; then
-      for ac_func in _expl
+    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
+      for ac_func in _modfl
 do :
-  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
-if test "x$ac_cv_func__expl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
+if test "x$ac_cv_func__modfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__EXPL 1
+#define HAVE__MODFL 1
 _ACEOF
 
 fi
@@ -56945,10 +53620,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
-$as_echo_n "checking for fabsl declaration... " >&6; }
-  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
+$as_echo_n "checking for powl declaration... " >&6; }
+  if test x${glibcxx_cv_func_powl_use+set} != xset; then
+    if ${glibcxx_cv_func_powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -56962,22 +53637,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
fabsl(0);
powl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fabsl_use=yes
+  glibcxx_cv_func_powl_use=yes
 else
-  glibcxx_cv_func_fabsl_use=no
+  glibcxx_cv_func_powl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -56990,16 +53661,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
-$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
-
-  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
-    for ac_func in fabsl
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
+$as_echo "$glibcxx_cv_func_powl_use" >&6; }
+
+  if test x$glibcxx_cv_func_powl_use = x"yes"; then
+    for ac_func in powl
 do :
-  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
-if test "x$ac_cv_func_fabsl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
+if test "x$ac_cv_func_powl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FABSL 1
+#define HAVE_POWL 1
 _ACEOF
 
 fi
@@ -57007,10 +53678,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
-$as_echo_n "checking for _fabsl declaration... " >&6; }
-  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
+$as_echo_n "checking for _powl declaration... " >&6; }
+  if test x${glibcxx_cv_func__powl_use+set} != xset; then
+    if ${glibcxx_cv_func__powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -57024,22 +53695,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _fabsl(0);
+ _powl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fabsl_use=yes
+  glibcxx_cv_func__powl_use=yes
 else
-  glibcxx_cv_func__fabsl_use=no
+  glibcxx_cv_func__powl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -57052,16 +53719,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
-$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
+$as_echo "$glibcxx_cv_func__powl_use" >&6; }
 
-    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
-      for ac_func in _fabsl
+    if test x$glibcxx_cv_func__powl_use = x"yes"; then
+      for ac_func in _powl
 do :
-  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
-if test "x$ac_cv_func__fabsl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
+if test "x$ac_cv_func__powl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FABSL 1
+#define HAVE__POWL 1
 _ACEOF
 
 fi
@@ -57074,10 +53741,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
-$as_echo_n "checking for fmodl declaration... " >&6; }
-  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
+$as_echo_n "checking for sqrtl declaration... " >&6; }
+  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
+    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -57091,18 +53758,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
fmodl(0, 0);
sqrtl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fmodl_use=yes
+  glibcxx_cv_func_sqrtl_use=yes
 else
-  glibcxx_cv_func_fmodl_use=no
+  glibcxx_cv_func_sqrtl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -57115,16 +53786,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
-$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
+$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
 
-  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
-    for ac_func in fmodl
+  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
+    for ac_func in sqrtl
 do :
-  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
-if test "x$ac_cv_func_fmodl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
+if test "x$ac_cv_func_sqrtl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FMODL 1
+#define HAVE_SQRTL 1
 _ACEOF
 
 fi
@@ -57132,10 +53803,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
-$as_echo_n "checking for _fmodl declaration... " >&6; }
-  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
+$as_echo_n "checking for _sqrtl declaration... " >&6; }
+  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
+    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -57149,18 +53820,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _fmodl(0, 0);
+ _sqrtl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fmodl_use=yes
+  glibcxx_cv_func__sqrtl_use=yes
 else
-  glibcxx_cv_func__fmodl_use=no
+  glibcxx_cv_func__sqrtl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -57173,16 +53848,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
-$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
+$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
 
-    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
-      for ac_func in _fmodl
+    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
+      for ac_func in _sqrtl
 do :
-  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
-if test "x$ac_cv_func__fmodl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
+if test "x$ac_cv_func__sqrtl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FMODL 1
+#define HAVE__SQRTL 1
 _ACEOF
 
 fi
@@ -57195,10 +53870,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
-$as_echo_n "checking for frexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
+$as_echo_n "checking for sincosl declaration... " >&6; }
+  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
+    if ${glibcxx_cv_func_sincosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -57215,15 +53890,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
frexpl(0, 0);
sincosl(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_frexpl_use=yes
+  glibcxx_cv_func_sincosl_use=yes
 else
-  glibcxx_cv_func_frexpl_use=no
+  glibcxx_cv_func_sincosl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -57236,16 +53911,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
-$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
+$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
 
-  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
-    for ac_func in frexpl
+  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
+    for ac_func in sincosl
 do :
-  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
-if test "x$ac_cv_func_frexpl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
+if test "x$ac_cv_func_sincosl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FREXPL 1
+#define HAVE_SINCOSL 1
 _ACEOF
 
 fi
@@ -57253,10 +53928,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
-$as_echo_n "checking for _frexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
+$as_echo_n "checking for _sincosl declaration... " >&6; }
+  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
+    if ${glibcxx_cv_func__sincosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -57273,15 +53948,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _frexpl(0, 0);
+ _sincosl(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__frexpl_use=yes
+  glibcxx_cv_func__sincosl_use=yes
 else
-  glibcxx_cv_func__frexpl_use=no
+  glibcxx_cv_func__sincosl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -57294,16 +53969,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
-$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
+$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
 
-    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
-      for ac_func in _frexpl
+    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
+      for ac_func in _sincosl
 do :
-  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
-if test "x$ac_cv_func__frexpl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
+if test "x$ac_cv_func__sincosl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FREXPL 1
+#define HAVE__SINCOSL 1
 _ACEOF
 
 fi
@@ -57316,10 +53991,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
-$as_echo_n "checking for hypotl declaration... " >&6; }
-  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
+$as_echo_n "checking for finitel declaration... " >&6; }
+  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
+    if ${glibcxx_cv_func_finitel_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -57333,18 +54008,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
hypotl(0, 0);
finitel(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_hypotl_use=yes
+  glibcxx_cv_func_finitel_use=yes
 else
-  glibcxx_cv_func_hypotl_use=no
+  glibcxx_cv_func_finitel_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -57357,16 +54036,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
-$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
+$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
 
-  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
-    for ac_func in hypotl
+  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
+    for ac_func in finitel
 do :
-  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
-if test "x$ac_cv_func_hypotl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
+if test "x$ac_cv_func_finitel" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_HYPOTL 1
+#define HAVE_FINITEL 1
 _ACEOF
 
 fi
@@ -57374,10 +54053,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
-$as_echo_n "checking for _hypotl declaration... " >&6; }
-  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
+$as_echo_n "checking for _finitel declaration... " >&6; }
+  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
+    if ${glibcxx_cv_func__finitel_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -57391,18 +54070,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _hypotl(0, 0);
+ _finitel(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__hypotl_use=yes
+  glibcxx_cv_func__finitel_use=yes
 else
-  glibcxx_cv_func__hypotl_use=no
+  glibcxx_cv_func__finitel_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -57415,16 +54098,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
-$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
+$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
 
-    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
-      for ac_func in _hypotl
+    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
+      for ac_func in _finitel
 do :
-  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
-if test "x$ac_cv_func__hypotl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
+if test "x$ac_cv_func__finitel" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__HYPOTL 1
+#define HAVE__FINITEL 1
 _ACEOF
 
 fi
@@ -57436,11 +54119,19 @@ done
 
 
 
+  LIBS="$ac_save_LIBS"
+  CXXFLAGS="$ac_save_CXXFLAGS"
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
-$as_echo_n "checking for ldexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
+
+  ac_test_CXXFLAGS="${CXXFLAGS+set}"
+  ac_save_CXXFLAGS="$CXXFLAGS"
+  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
+$as_echo_n "checking for at_quick_exit declaration... " >&6; }
+  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
+    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -57453,19 +54144,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
+#include <stdlib.h>
 int
 main ()
 {
ldexpl(0, 0);
at_quick_exit(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_ldexpl_use=yes
+  glibcxx_cv_func_at_quick_exit_use=yes
 else
-  glibcxx_cv_func_ldexpl_use=no
+  glibcxx_cv_func_at_quick_exit_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -57478,27 +54169,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
-$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
-
-  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
-    for ac_func in ldexpl
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
+$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
+  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
+    for ac_func in at_quick_exit
 do :
-  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
-if test "x$ac_cv_func_ldexpl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
+if test "x$ac_cv_func_at_quick_exit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LDEXPL 1
+#define HAVE_AT_QUICK_EXIT 1
 _ACEOF
 
 fi
 done
 
-  else
+  fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
-$as_echo_n "checking for _ldexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
+$as_echo_n "checking for quick_exit declaration... " >&6; }
+  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
+    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -57511,19 +54202,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
+#include <stdlib.h>
 int
 main ()
 {
_ldexpl(0, 0);
quick_exit(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__ldexpl_use=yes
+  glibcxx_cv_func_quick_exit_use=yes
 else
-  glibcxx_cv_func__ldexpl_use=no
+  glibcxx_cv_func_quick_exit_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -57536,32 +54227,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
-$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
-
-    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
-      for ac_func in _ldexpl
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
+$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
+  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
+    for ac_func in quick_exit
 do :
-  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
-if test "x$ac_cv_func__ldexpl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
+if test "x$ac_cv_func_quick_exit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LDEXPL 1
+#define HAVE_QUICK_EXIT 1
 _ACEOF
 
 fi
 done
 
-    fi
   fi
 
 
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
-$as_echo_n "checking for logl declaration... " >&6; }
-  if test x${glibcxx_cv_func_logl_use+set} != xset; then
-    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
+$as_echo_n "checking for strtold declaration... " >&6; }
+  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
+    if ${glibcxx_cv_func_strtold_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -57574,23 +54260,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
+#include <stdlib.h>
 int
 main ()
 {
logl(0);
strtold(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_logl_use=yes
+  glibcxx_cv_func_strtold_use=yes
 else
-  glibcxx_cv_func_logl_use=no
+  glibcxx_cv_func_strtold_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -57603,27 +54285,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
-$as_echo "$glibcxx_cv_func_logl_use" >&6; }
-
-  if test x$glibcxx_cv_func_logl_use = x"yes"; then
-    for ac_func in logl
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
+$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
+  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
+    for ac_func in strtold
 do :
-  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
-if test "x$ac_cv_func_logl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
+if test "x$ac_cv_func_strtold" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOGL 1
+#define HAVE_STRTOLD 1
 _ACEOF
 
 fi
 done
 
-  else
+  fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
-$as_echo_n "checking for _logl declaration... " >&6; }
-  if test x${glibcxx_cv_func__logl_use+set} != xset; then
-    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
+$as_echo_n "checking for strtof declaration... " >&6; }
+  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
+    if ${glibcxx_cv_func_strtof_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -57636,23 +54320,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
+#include <stdlib.h>
 int
 main ()
 {
_logl(0);
strtof(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__logl_use=yes
+  glibcxx_cv_func_strtof_use=yes
 else
-  glibcxx_cv_func__logl_use=no
+  glibcxx_cv_func_strtof_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -57665,532 +54345,687 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
-$as_echo "$glibcxx_cv_func__logl_use" >&6; }
-
-    if test x$glibcxx_cv_func__logl_use = x"yes"; then
-      for ac_func in _logl
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
+$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
+  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
+    for ac_func in strtof
 do :
-  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
-if test "x$ac_cv_func__logl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
+if test "x$ac_cv_func_strtof" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOGL 1
+#define HAVE_STRTOF 1
 _ACEOF
 
 fi
 done
 
-    fi
   fi
 
 
 
 
+  CXXFLAGS="$ac_save_CXXFLAGS"
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
-$as_echo_n "checking for log10l declaration... " >&6; }
-  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
+    $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
+
+    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
+
+
+
+   # Check whether --enable-tls was given.
+if test "${enable_tls+set}" = set; then :
+  enableval=$enable_tls;
+      case "$enableval" in
+       yes|no) ;;
+       *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
+      esac
+
+else
+  enable_tls=yes
+fi
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
+$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
+if ${gcc_cv_have_tls+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
+    if test "$cross_compiling" = yes; then :
+                if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+__thread int a; int b; int main() { return a = b; }
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  chktls_save_LDFLAGS="$LDFLAGS"
+                         case $host in
+           *-*-linux* | -*-uclinuxfdpic*)
+             LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
+             ;;
+         esac
+         chktls_save_CFLAGS="$CFLAGS"
+         CFLAGS="-fPIC $CFLAGS"
+                 if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+int f() { return 0; }
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+__thread int a; int b; int f() { return a = b; }
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  gcc_cv_have_tls=yes
+else
+  gcc_cv_have_tls=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+else
+  gcc_cv_have_tls=yes
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+         CFLAGS="$chktls_save_CFLAGS"
+         LDFLAGS="$chktls_save_LDFLAGS"
+else
+  gcc_cv_have_tls=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
+__thread int a; int b; int main() { return a = b; }
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+                      chktls_save_LDFLAGS="$LDFLAGS"
+      LDFLAGS="-static $LDFLAGS"
+      if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+int main() { return 0; }
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+  if test "$cross_compiling" = yes; then :
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run test program while cross compiling
+See \`config.log' for more details" "$LINENO" 5; }
+else
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+__thread int a; int b; int main() { return a = b; }
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+  gcc_cv_have_tls=yes
+else
+  gcc_cv_have_tls=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
 
+else
+  gcc_cv_have_tls=yes
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+      LDFLAGS="$chktls_save_LDFLAGS"
+      if test $gcc_cv_have_tls = yes; then
+                                               chktls_save_CFLAGS="$CFLAGS"
+       thread_CFLAGS=failed
+       for flag in '' '-pthread' '-lpthread'; do
+         CFLAGS="$flag $chktls_save_CFLAGS"
+         if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <pthread.h>
+               void *g(void *d) { return NULL; }
 int
 main ()
 {
- log10l(0);
+pthread_t t; pthread_create(&t,NULL,g,NULL);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_log10l_use=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  thread_CFLAGS="$flag"
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+         if test "X$thread_CFLAGS" != Xfailed; then
+           break
+         fi
+       done
+       CFLAGS="$chktls_save_CFLAGS"
+       if test "X$thread_CFLAGS" != Xfailed; then
+         CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
+                                                 if test "$cross_compiling" = yes; then :
+  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
+$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
+as_fn_error $? "cannot run test program while cross compiling
+See \`config.log' for more details" "$LINENO" 5; }
 else
-  glibcxx_cv_func_log10l_use=no
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <pthread.h>
+               __thread int a;
+               static int *volatile a_in_other_thread;
+               static void *
+               thread_func (void *arg)
+               {
+                 a_in_other_thread = &a;
+                 return (void *)0;
+               }
+int
+main ()
+{
+pthread_t thread;
+               void *thread_retval;
+               int *volatile a_in_main_thread;
+               a_in_main_thread = &a;
+               if (pthread_create (&thread, (pthread_attr_t *)0,
+                                   thread_func, (void *)0))
+                 return 0;
+               if (pthread_join (thread, &thread_retval))
+                 return 0;
+               return (a_in_other_thread == a_in_main_thread);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_run "$LINENO"; then :
+  gcc_cv_have_tls=yes
+else
+  gcc_cv_have_tls=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+         CFLAGS="$chktls_save_CFLAGS"
+       fi
+      fi
+else
+  gcc_cv_have_tls=no
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
+  conftest.$ac_objext conftest.beam conftest.$ac_ext
+fi
 
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
+$as_echo "$gcc_cv_have_tls" >&6; }
+  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
-$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
+$as_echo "#define HAVE_TLS 1" >>confdefs.h
 
-  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
-    for ac_func in log10l
+  fi
+    for ac_func in __cxa_thread_atexit_impl
 do :
-  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
-if test "x$ac_cv_func_log10l" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
+if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOG10L 1
+#define HAVE___CXA_THREAD_ATEXIT_IMPL 1
 _ACEOF
 
 fi
 done
 
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
-$as_echo_n "checking for _log10l declaration... " >&6; }
-  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
-int
-main ()
-{
- _log10l(0);
-  ;
-  return 0;
-}
+    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
+do :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__log10l_use=yes
-else
-  glibcxx_cv_func__log10l_use=no
+
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+done
 
+    for ac_func in timespec_get
+do :
+  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
+if test "x$ac_cv_func_timespec_get" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_TIMESPEC_GET 1
+_ACEOF
 
 fi
+done
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
-$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
-
-    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
-      for ac_func in _log10l
+    for ac_func in sockatmark
 do :
-  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
-if test "x$ac_cv_func__log10l" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
+if test "x$ac_cv_func_sockatmark" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOG10L 1
+#define HAVE_SOCKATMARK 1
 _ACEOF
 
 fi
 done
 
-    fi
-  fi
 
 
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
-$as_echo_n "checking for modfl declaration... " >&6; }
-  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
+$as_echo_n "checking for iconv... " >&6; }
+if ${am_cv_func_iconv+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    am_cv_func_iconv="no, consider installing GNU libiconv"
+    am_cv_lib_iconv=no
+                    am_save_CPPFLAGS="$CPPFLAGS"
+    CPPFLAGS="$CPPFLAGS $INCICONV"
+    if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
+#include <stdlib.h>
+#include <iconv.h>
 int
 main ()
 {
- modfl(0, 0);
+iconv_t cd = iconv_open("","");
+       iconv(cd,NULL,NULL,NULL,NULL);
+       iconv_close(cd);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_modfl_use=yes
-else
-  glibcxx_cv_func_modfl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
+if ac_fn_c_try_link "$LINENO"; then :
+  am_cv_func_iconv=yes
 fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+    CPPFLAGS="$am_save_CPPFLAGS"
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
-$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
-
-  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
-    for ac_func in modfl
-do :
-  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
-if test "x$ac_cv_func_modfl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_MODFL 1
-_ACEOF
-
+    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
+      for _libs in .libs _libs; do
+        am_save_CPPFLAGS="$CPPFLAGS"
+        am_save_LIBS="$LIBS"
+        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
+        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
+        if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
-done
-
-  else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
-$as_echo_n "checking for _modfl declaration... " >&6; }
-  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
+#include <stdlib.h>
+#include <iconv.h>
 int
 main ()
 {
- _modfl(0, 0);
+iconv_t cd = iconv_open("","");
+           iconv(cd,NULL,NULL,NULL,NULL);
+           iconv_close(cd);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__modfl_use=yes
-else
-  glibcxx_cv_func__modfl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
-$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
-
-    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
-      for ac_func in _modfl
-do :
-  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
-if test "x$ac_cv_func__modfl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__MODFL 1
-_ACEOF
-
+if ac_fn_c_try_link "$LINENO"; then :
+  INCICONV="-I../libiconv/include"
+          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
+          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
+          am_cv_lib_iconv=yes
+          am_cv_func_iconv=yes
 fi
-done
-
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+        CPPFLAGS="$am_save_CPPFLAGS"
+        LIBS="$am_save_LIBS"
+        if test "$am_cv_func_iconv" = "yes"; then
+          break
+        fi
+      done
     fi
-  fi
-
-
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
-$as_echo_n "checking for powl declaration... " >&6; }
-  if test x${glibcxx_cv_func_powl_use+set} != xset; then
-    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    if test "$am_cv_func_iconv" != yes; then
+      am_save_CPPFLAGS="$CPPFLAGS"
+      am_save_LIBS="$LIBS"
+      CPPFLAGS="$CPPFLAGS $INCICONV"
+      LIBS="$LIBS $LIBICONV"
+      if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
+#include <stdlib.h>
+#include <iconv.h>
 int
 main ()
 {
- powl(0, 0);
+iconv_t cd = iconv_open("","");
+         iconv(cd,NULL,NULL,NULL,NULL);
+         iconv_close(cd);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_powl_use=yes
-else
-  glibcxx_cv_func_powl_use=no
+if ac_fn_c_try_link "$LINENO"; then :
+  am_cv_lib_iconv=yes
+        am_cv_func_iconv=yes
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+      CPPFLAGS="$am_save_CPPFLAGS"
+      LIBS="$am_save_LIBS"
+    fi
 
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
+$as_echo "$am_cv_func_iconv" >&6; }
+  if test "$am_cv_func_iconv" = yes; then
+
+$as_echo "#define HAVE_ICONV 1" >>confdefs.h
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
-$as_echo "$glibcxx_cv_func_powl_use" >&6; }
+  if test "$am_cv_lib_iconv" = yes; then
 
-  if test x$glibcxx_cv_func_powl_use = x"yes"; then
-    for ac_func in powl
-do :
-  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
-if test "x$ac_cv_func_powl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_POWL 1
-_ACEOF
+  for element in $INCICONV; do
+    haveit=
+    for x in $CPPFLAGS; do
 
-fi
-done
+  acl_save_prefix="$prefix"
+  prefix="$acl_final_prefix"
+  acl_save_exec_prefix="$exec_prefix"
+  exec_prefix="$acl_final_exec_prefix"
+  eval x=\"$x\"
+  exec_prefix="$acl_save_exec_prefix"
+  prefix="$acl_save_prefix"
+
+      if test "X$x" = "X$element"; then
+        haveit=yes
+        break
+      fi
+    done
+    if test -z "$haveit"; then
+      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
+    fi
+  done
 
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
+$as_echo_n "checking how to link with libiconv... " >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
+$as_echo "$LIBICONV" >&6; }
   else
+    LIBICONV=
+    LTLIBICONV=
+  fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
-$as_echo_n "checking for _powl declaration... " >&6; }
-  if test x${glibcxx_cv_func__powl_use+set} != xset; then
-    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+  if test "$am_cv_func_iconv" = yes; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
+$as_echo_n "checking for iconv declaration... " >&6; }
+    if ${am_cv_proto_iconv+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
+
+#include <stdlib.h>
+#include <iconv.h>
+extern
+#ifdef __cplusplus
+"C"
+#endif
+#if defined(__STDC__) || defined(__cplusplus)
+size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
+#else
+size_t iconv();
+#endif
+
 int
 main ()
 {
- _powl(0, 0);
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__powl_use=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  am_cv_proto_iconv_arg1=""
 else
-  glibcxx_cv_func__powl_use=no
+  am_cv_proto_iconv_arg1="const"
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
+fi
 
+    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
+         }$am_cv_proto_iconv" >&5
+$as_echo "${ac_t:-
+         }$am_cv_proto_iconv" >&6; }
 
-fi
+cat >>confdefs.h <<_ACEOF
+#define ICONV_CONST $am_cv_proto_iconv_arg1
+_ACEOF
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
-$as_echo "$glibcxx_cv_func__powl_use" >&6; }
 
-    if test x$glibcxx_cv_func__powl_use = x"yes"; then
-      for ac_func in _powl
-do :
-  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
-if test "x$ac_cv_func__powl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__POWL 1
-_ACEOF
+    ;;
+  *-mingw32*)
 
-fi
-done
+  # 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...
+  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
+  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
 
-    fi
-  fi
 
 
+  # The name set by libtool depends on the version of libtool.  Shame on us
+  # for depending on an impl detail, but c'est la vie.  Older versions used
+  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
+  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
+  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
+  # set (hence we're using an older libtool), then set it.
+  if test x${with_gnu_ld+set} != xset; then
+    if test x${ac_cv_prog_gnu_ld+set} != xset; then
+      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
+      with_gnu_ld=no
+    else
+      with_gnu_ld=$ac_cv_prog_gnu_ld
+    fi
+  fi
 
+  # Start by getting the version number.  I think the libtool test already
+  # does some of this, but throws away the result.
+  glibcxx_ld_is_gold=no
+  if test x"$with_gnu_ld" = x"yes"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
+$as_echo_n "checking for ld version... " >&6; }
 
+    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
+      glibcxx_ld_is_gold=yes
+    fi
+    ldver=`$LD --version 2>/dev/null |
+          sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
-$as_echo_n "checking for sqrtl declaration... " >&6; }
-  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
+    glibcxx_gnu_ld_version=`echo $ldver | \
+          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
+$as_echo "$glibcxx_gnu_ld_version" >&6; }
+  fi
 
+  # Set --gc-sections.
+  glibcxx_have_gc_sections=no
+  if test "$glibcxx_ld_is_gold" = "yes"; then
+    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
+      glibcxx_have_gc_sections=yes
+    fi
+  else
+    glibcxx_gcsections_min_ld=21602
+    if test x"$with_gnu_ld" = x"yes" &&
+       test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
+      glibcxx_have_gc_sections=yes
+    fi
+  fi
+  if test "$glibcxx_have_gc_sections" = "yes"; then
+    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
+    # NB: This flag only works reliably after 2.16.1. Configure tests
+    # for this are difficult, so hard wire a value that should work.
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+    ac_test_CFLAGS="${CFLAGS+set}"
+    ac_save_CFLAGS="$CFLAGS"
+    CFLAGS='-Wl,--gc-sections'
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    # Check for -Wl,--gc-sections
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
+$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
+    if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
+ int one(void) { return 1; }
+     int two(void) { return 2; }
 
 int
 main ()
 {
sqrtl(0);
two();
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sqrtl_use=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_gcsections=yes
 else
-  glibcxx_cv_func_sqrtl_use=no
+  ac_gcsections=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+    if test "$ac_gcsections" = "yes"; then
+      rm -f conftest.c
+      touch conftest.c
+      if $CC -c conftest.c; then
+       if $LD --gc-sections -o conftest conftest.o 2>&1 | \
+          grep "Warning: gc-sections option ignored" > /dev/null; then
+         ac_gcsections=no
+       fi
+      fi
+      rm -f conftest.c conftest.o conftest
+    fi
+    if test "$ac_gcsections" = "yes"; then
+      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
+$as_echo "$ac_gcsections" >&6; }
+
+    if test "$ac_test_CFLAGS" = set; then
+      CFLAGS="$ac_save_CFLAGS"
+    else
+      # this is the suspicious part
+      CFLAGS=''
+    fi
+  fi
+
+  # Set -z,relro.
+  # Note this is only for shared objects.
+  ac_ld_relro=no
+  if test x"$with_gnu_ld" = x"yes"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
+$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
+    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
+    if test -n "$cxx_z_relo"; then
+      OPT_LDFLAGS="-Wl,-z,relro"
+      ac_ld_relro=yes
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
+$as_echo "$ac_ld_relro" >&6; }
+  fi
 
+  # Set linker optimization flags.
+  if test x"$with_gnu_ld" = x"yes"; then
+    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
+  fi
 
-fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
-$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
 
-  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
-    for ac_func in sqrtl
-do :
-  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
-if test "x$ac_cv_func_sqrtl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_SQRTL 1
-_ACEOF
 
-fi
-done
 
-  else
+  ac_test_CXXFLAGS="${CXXFLAGS+set}"
+  ac_save_CXXFLAGS="$CXXFLAGS"
+  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
-$as_echo_n "checking for _sqrtl declaration... " >&6; }
-  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
+$as_echo_n "checking for sin in -lm... " >&6; }
+if ${ac_cv_lib_m_sin+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm  $LIBS"
+if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
 
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char sin ();
 int
 main ()
 {
- _sqrtl(0);
+return sin ();
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sqrtl_use=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_m_sin=yes
 else
-  glibcxx_cv_func__sqrtl_use=no
+  ac_cv_lib_m_sin=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
-$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
-
-    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
-      for ac_func in _sqrtl
-do :
-  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
-if test "x$ac_cv_func__sqrtl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__SQRTL 1
-_ACEOF
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
+$as_echo "$ac_cv_lib_m_sin" >&6; }
+if test "x$ac_cv_lib_m_sin" = xyes; then :
+  libm="-lm"
 fi
-done
-
-    fi
-  fi
-
 
+  ac_save_LIBS="$LIBS"
+  LIBS="$LIBS $libm"
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
-$as_echo_n "checking for sincosl declaration... " >&6; }
-  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
+$as_echo_n "checking for isinf declaration... " >&6; }
+  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
+    if ${glibcxx_cv_func_isinf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -58204,18 +55039,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
sincosl(0, 0, 0);
isinf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sincosl_use=yes
+  glibcxx_cv_func_isinf_use=yes
 else
-  glibcxx_cv_func_sincosl_use=no
+  glibcxx_cv_func_isinf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -58228,16 +55067,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
-$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
+$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
 
-  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
-    for ac_func in sincosl
+  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
+    for ac_func in isinf
 do :
-  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
-if test "x$ac_cv_func_sincosl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
+if test "x$ac_cv_func_isinf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SINCOSL 1
+#define HAVE_ISINF 1
 _ACEOF
 
 fi
@@ -58245,10 +55084,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
-$as_echo_n "checking for _sincosl declaration... " >&6; }
-  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
+$as_echo_n "checking for _isinf declaration... " >&6; }
+  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
+    if ${glibcxx_cv_func__isinf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -58262,18 +55101,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _sincosl(0, 0, 0);
+ _isinf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sincosl_use=yes
+  glibcxx_cv_func__isinf_use=yes
 else
-  glibcxx_cv_func__sincosl_use=no
+  glibcxx_cv_func__isinf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -58286,16 +55129,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
-$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
+$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
 
-    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
-      for ac_func in _sincosl
+    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
+      for ac_func in _isinf
 do :
-  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
-if test "x$ac_cv_func__sincosl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
+if test "x$ac_cv_func__isinf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__SINCOSL 1
+#define HAVE__ISINF 1
 _ACEOF
 
 fi
@@ -58308,10 +55151,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
-$as_echo_n "checking for finitel declaration... " >&6; }
-  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
+$as_echo_n "checking for isnan declaration... " >&6; }
+  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
+    if ${glibcxx_cv_func_isnan_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -58332,15 +55175,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
finitel(0);
isnan(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_finitel_use=yes
+  glibcxx_cv_func_isnan_use=yes
 else
-  glibcxx_cv_func_finitel_use=no
+  glibcxx_cv_func_isnan_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -58353,16 +55196,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
-$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
+$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
 
-  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
-    for ac_func in finitel
+  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
+    for ac_func in isnan
 do :
-  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
-if test "x$ac_cv_func_finitel" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
+if test "x$ac_cv_func_isnan" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FINITEL 1
+#define HAVE_ISNAN 1
 _ACEOF
 
 fi
@@ -58370,10 +55213,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
-$as_echo_n "checking for _finitel declaration... " >&6; }
-  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
+$as_echo_n "checking for _isnan declaration... " >&6; }
+  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
+    if ${glibcxx_cv_func__isnan_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -58394,15 +55237,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _finitel(0);
+ _isnan(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__finitel_use=yes
+  glibcxx_cv_func__isnan_use=yes
 else
-  glibcxx_cv_func__finitel_use=no
+  glibcxx_cv_func__isnan_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -58415,16 +55258,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
-$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
+$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
 
-    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
-      for ac_func in _finitel
+    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
+      for ac_func in _isnan
 do :
-  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
-if test "x$ac_cv_func__finitel" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
+if test "x$ac_cv_func__isnan" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FINITEL 1
+#define HAVE__ISNAN 1
 _ACEOF
 
 fi
@@ -58436,19 +55279,11 @@ done
 
 
 
-  LIBS="$ac_save_LIBS"
-  CXXFLAGS="$ac_save_CXXFLAGS"
-
-
-  ac_test_CXXFLAGS="${CXXFLAGS+set}"
-  ac_save_CXXFLAGS="$CXXFLAGS"
-  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
-
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
-$as_echo_n "checking for at_quick_exit declaration... " >&6; }
-  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
+$as_echo_n "checking for finite declaration... " >&6; }
+  if test x${glibcxx_cv_func_finite_use+set} != xset; then
+    if ${glibcxx_cv_func_finite_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -58461,77 +55296,23 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
-int
-main ()
-{
- at_quick_exit(0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_at_quick_exit_use=yes
-else
-  glibcxx_cv_func_at_quick_exit_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
-fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
-$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
-  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
-    for ac_func in at_quick_exit
-do :
-  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
-if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_AT_QUICK_EXIT 1
-_ACEOF
-
-fi
-done
-
-  fi
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
-$as_echo_n "checking for quick_exit declaration... " >&6; }
-  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <stdlib.h>
 int
 main ()
 {
quick_exit(0);
finite(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_quick_exit_use=yes
+  glibcxx_cv_func_finite_use=yes
 else
-  glibcxx_cv_func_quick_exit_use=no
+  glibcxx_cv_func_finite_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -58544,27 +55325,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
-$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
-  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
-    for ac_func in quick_exit
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
+$as_echo "$glibcxx_cv_func_finite_use" >&6; }
+
+  if test x$glibcxx_cv_func_finite_use = x"yes"; then
+    for ac_func in finite
 do :
-  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
-if test "x$ac_cv_func_quick_exit" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
+if test "x$ac_cv_func_finite" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_QUICK_EXIT 1
+#define HAVE_FINITE 1
 _ACEOF
 
 fi
 done
 
-  fi
-
+  else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
-$as_echo_n "checking for strtold declaration... " >&6; }
-  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
+$as_echo_n "checking for _finite declaration... " >&6; }
+  if test x${glibcxx_cv_func__finite_use+set} != xset; then
+    if ${glibcxx_cv_func__finite_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -58577,19 +55358,23 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
strtold(0, 0);
_finite(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_strtold_use=yes
+  glibcxx_cv_func__finite_use=yes
 else
-  glibcxx_cv_func_strtold_use=no
+  glibcxx_cv_func__finite_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -58602,29 +55387,32 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
-$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
-  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
-    for ac_func in strtold
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
+$as_echo "$glibcxx_cv_func__finite_use" >&6; }
+
+    if test x$glibcxx_cv_func__finite_use = x"yes"; then
+      for ac_func in _finite
 do :
-  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
-if test "x$ac_cv_func_strtold" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
+if test "x$ac_cv_func__finite" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_STRTOLD 1
+#define HAVE__FINITE 1
 _ACEOF
 
 fi
 done
 
+    fi
   fi
 
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
-$as_echo_n "checking for strtof declaration... " >&6; }
-  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
+$as_echo_n "checking for sincos declaration... " >&6; }
+  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
+    if ${glibcxx_cv_func_sincos_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -58637,19 +55425,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+#include <math.h>
 int
 main ()
 {
- strtof(0, 0);
+ sincos(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_strtof_use=yes
+  glibcxx_cv_func_sincos_use=yes
 else
-  glibcxx_cv_func_strtof_use=no
+  glibcxx_cv_func_sincos_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -58662,702 +55450,522 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
-$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
-  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
-    for ac_func in strtof
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
+$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
+
+  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
+    for ac_func in sincos
 do :
-  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
-if test "x$ac_cv_func_strtof" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
+if test "x$ac_cv_func_sincos" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_STRTOF 1
+#define HAVE_SINCOS 1
 _ACEOF
 
 fi
 done
 
-  fi
-
-
-
-
-  CXXFLAGS="$ac_save_CXXFLAGS"
-
-    $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
-
-
-
-   # Check whether --enable-tls was given.
-if test "${enable_tls+set}" = set; then :
-  enableval=$enable_tls;
-      case "$enableval" in
-       yes|no) ;;
-       *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
-      esac
-
-else
-  enable_tls=yes
-fi
-
+  else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
-$as_echo_n "checking whether the target supports thread-local storage... " >&6; }
-if test "${gcc_cv_have_tls+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
+$as_echo_n "checking for _sincos declaration... " >&6; }
+  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
+    if ${glibcxx_cv_func__sincos_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-    if test "$cross_compiling" = yes; then :
-                if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__thread int a; int b; int main() { return a = b; }
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  chktls_save_LDFLAGS="$LDFLAGS"
-                         case $host in
-           *-*-linux*)
-             LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
-             ;;
-         esac
-         chktls_save_CFLAGS="$CFLAGS"
-         CFLAGS="-fPIC $CFLAGS"
-                 if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int f() { return 0; }
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__thread int a; int b; int f() { return a = b; }
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  gcc_cv_have_tls=yes
-else
-  gcc_cv_have_tls=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-else
-  gcc_cv_have_tls=yes
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-         CFLAGS="$chktls_save_CFLAGS"
-         LDFLAGS="$chktls_save_LDFLAGS"
-else
-  gcc_cv_have_tls=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-
-
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__thread int a; int b; int main() { return a = b; }
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-                      chktls_save_LDFLAGS="$LDFLAGS"
-      LDFLAGS="-static $LDFLAGS"
-      if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-int main() { return 0; }
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  if test "$cross_compiling" = yes; then :
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot run test program while cross compiling
-See \`config.log' for more details." "$LINENO" 5; }
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-__thread int a; int b; int main() { return a = b; }
-_ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  gcc_cv_have_tls=yes
-else
-  gcc_cv_have_tls=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
-
-else
-  gcc_cv_have_tls=yes
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-      LDFLAGS="$chktls_save_LDFLAGS"
-      if test $gcc_cv_have_tls = yes; then
-                                               chktls_save_CFLAGS="$CFLAGS"
-       thread_CFLAGS=failed
-       for flag in '' '-pthread' '-lpthread'; do
-         CFLAGS="$flag $chktls_save_CFLAGS"
-         if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <pthread.h>
-               void *g(void *d) { return NULL; }
-int
-main ()
-{
-pthread_t t; pthread_create(&t,NULL,g,NULL);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  thread_CFLAGS="$flag"
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-         if test "X$thread_CFLAGS" != Xfailed; then
-           break
-         fi
-       done
-       CFLAGS="$chktls_save_CFLAGS"
-       if test "X$thread_CFLAGS" != Xfailed; then
-         CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
-                                                 if test "$cross_compiling" = yes; then :
-  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error "cannot run test program while cross compiling
-See \`config.log' for more details." "$LINENO" 5; }
-else
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <pthread.h>
-               __thread int a;
-               static int *volatile a_in_other_thread;
-               static void *
-               thread_func (void *arg)
-               {
-                 a_in_other_thread = &a;
-                 return (void *)0;
-               }
+#include <math.h>
 int
 main ()
 {
-pthread_t thread;
-               void *thread_retval;
-               int *volatile a_in_main_thread;
-               a_in_main_thread = &a;
-               if (pthread_create (&thread, (pthread_attr_t *)0,
-                                   thread_func, (void *)0))
-                 return 0;
-               if (pthread_join (thread, &thread_retval))
-                 return 0;
-               return (a_in_other_thread == a_in_main_thread);
+ _sincos(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_run "$LINENO"; then :
-  gcc_cv_have_tls=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func__sincos_use=yes
 else
-  gcc_cv_have_tls=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
+  glibcxx_cv_func__sincos_use=no
 fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-         CFLAGS="$chktls_save_CFLAGS"
-       fi
-      fi
-else
-  gcc_cv_have_tls=no
-fi
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
-  conftest.$ac_objext conftest.beam conftest.$ac_ext
-fi
 
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
-$as_echo "$gcc_cv_have_tls" >&6; }
-  if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
 
-$as_echo "#define HAVE_TLS 1" >>confdefs.h
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
+$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
+
+    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
+      for ac_func in _sincos
+do :
+  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
+if test "x$ac_cv_func__sincos" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE__SINCOS 1
+_ACEOF
 
+fi
+done
+
+    fi
   fi
 
 
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
-$as_echo_n "checking for iconv... " >&6; }
-if test "${am_cv_func_iconv+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
+$as_echo_n "checking for fpclass declaration... " >&6; }
+  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
+    if ${glibcxx_cv_func_fpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
-    am_cv_func_iconv="no, consider installing GNU libiconv"
-    am_cv_lib_iconv=no
-                    am_save_CPPFLAGS="$CPPFLAGS"
-    CPPFLAGS="$CPPFLAGS $INCICONV"
-    if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
-#include <iconv.h>
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
-iconv_t cd = iconv_open("","");
-       iconv(cd,NULL,NULL,NULL,NULL);
-       iconv_close(cd);
+ fpclass(0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  am_cv_func_iconv=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func_fpclass_use=yes
+else
+  glibcxx_cv_func_fpclass_use=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-    CPPFLAGS="$am_save_CPPFLAGS"
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
 
-    if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
-      for _libs in .libs _libs; do
-        am_save_CPPFLAGS="$CPPFLAGS"
-        am_save_LIBS="$LIBS"
-        CPPFLAGS="$CPPFLAGS -I../libiconv/include"
-        LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
-        if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
+$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
+
+  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
+    for ac_func in fpclass
+do :
+  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
+if test "x$ac_cv_func_fpclass" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_FPCLASS 1
+_ACEOF
+
+fi
+done
+
+  else
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
+$as_echo_n "checking for _fpclass declaration... " >&6; }
+  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
+    if ${glibcxx_cv_func__fpclass_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
-#include <iconv.h>
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
-iconv_t cd = iconv_open("","");
-           iconv(cd,NULL,NULL,NULL,NULL);
-           iconv_close(cd);
+ _fpclass(0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  INCICONV="-I../libiconv/include"
-          LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
-          LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
-          am_cv_lib_iconv=yes
-          am_cv_func_iconv=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func__fpclass_use=yes
+else
+  glibcxx_cv_func__fpclass_use=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-        CPPFLAGS="$am_save_CPPFLAGS"
-        LIBS="$am_save_LIBS"
-        if test "$am_cv_func_iconv" = "yes"; then
-          break
-        fi
-      done
-    fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
 
-    if test "$am_cv_func_iconv" != yes; then
-      am_save_CPPFLAGS="$CPPFLAGS"
-      am_save_LIBS="$LIBS"
-      CPPFLAGS="$LIBS $INCICONV"
-      LIBS="$LIBS $LIBICONV"
-      if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
+$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
+
+    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
+      for ac_func in _fpclass
+do :
+  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
+if test "x$ac_cv_func__fpclass" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE__FPCLASS 1
+_ACEOF
+
+fi
+done
+
+    fi
+  fi
+
+
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
+$as_echo_n "checking for qfpclass declaration... " >&6; }
+  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
+    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
-#include <iconv.h>
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
-iconv_t cd = iconv_open("","");
-         iconv(cd,NULL,NULL,NULL,NULL);
-         iconv_close(cd);
+ qfpclass(0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  am_cv_lib_iconv=yes
-        am_cv_func_iconv=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func_qfpclass_use=yes
+else
+  glibcxx_cv_func_qfpclass_use=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-      CPPFLAGS="$am_save_CPPFLAGS"
-      LIBS="$am_save_LIBS"
-    fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
-$as_echo "$am_cv_func_iconv" >&6; }
-  if test "$am_cv_func_iconv" = yes; then
 
-$as_echo "#define HAVE_ICONV 1" >>confdefs.h
+fi
 
   fi
-  if test "$am_cv_lib_iconv" = yes; then
-
-  for element in $INCICONV; do
-    haveit=
-    for x in $CPPFLAGS; do
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
+$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
 
-  acl_save_prefix="$prefix"
-  prefix="$acl_final_prefix"
-  acl_save_exec_prefix="$exec_prefix"
-  exec_prefix="$acl_final_exec_prefix"
-  eval x=\"$x\"
-  exec_prefix="$acl_save_exec_prefix"
-  prefix="$acl_save_prefix"
+  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
+    for ac_func in qfpclass
+do :
+  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
+if test "x$ac_cv_func_qfpclass" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_QFPCLASS 1
+_ACEOF
 
-      if test "X$x" = "X$element"; then
-        haveit=yes
-        break
-      fi
-    done
-    if test -z "$haveit"; then
-      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
-    fi
-  done
+fi
+done
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
-$as_echo_n "checking how to link with libiconv... " >&6; }
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
-$as_echo "$LIBICONV" >&6; }
   else
-    LIBICONV=
-    LTLIBICONV=
-  fi
-
 
-
-  if test "$am_cv_func_iconv" = yes; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
-$as_echo_n "checking for iconv declaration... " >&6; }
-    if test "${am_cv_proto_iconv+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
+$as_echo_n "checking for _qfpclass declaration... " >&6; }
+  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
+    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
+
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-
-#include <stdlib.h>
-#include <iconv.h>
-extern
-#ifdef __cplusplus
-"C"
-#endif
-#if defined(__STDC__) || defined(__cplusplus)
-size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
-#else
-size_t iconv();
-#endif
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
 
 int
 main ()
 {
-
+ _qfpclass(0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
-  am_cv_proto_iconv_arg1=""
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func__qfpclass_use=yes
 else
-  am_cv_proto_iconv_arg1="const"
+  glibcxx_cv_func__qfpclass_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
-fi
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
-         }$am_cv_proto_iconv" >&5
-$as_echo "${ac_t:-
-         }$am_cv_proto_iconv" >&6; }
 
-cat >>confdefs.h <<_ACEOF
-#define ICONV_CONST $am_cv_proto_iconv_arg1
-_ACEOF
+fi
 
   fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
+$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
 
-    ;;
-  *-mingw32*)
-
-  # 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...
-  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
-  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
-
+    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
+      for ac_func in _qfpclass
+do :
+  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
+if test "x$ac_cv_func__qfpclass" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE__QFPCLASS 1
+_ACEOF
 
+fi
+done
 
-  # The name set by libtool depends on the version of libtool.  Shame on us
-  # for depending on an impl detail, but c'est la vie.  Older versions used
-  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
-  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
-  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
-  # set (hence we're using an older libtool), then set it.
-  if test x${with_gnu_ld+set} != xset; then
-    if test x${ac_cv_prog_gnu_ld+set} != xset; then
-      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
-      with_gnu_ld=no
-    else
-      with_gnu_ld=$ac_cv_prog_gnu_ld
     fi
   fi
 
-  # Start by getting the version number.  I think the libtool test already
-  # does some of this, but throws away the result.
-  glibcxx_ld_is_gold=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
-$as_echo_n "checking for ld version... " >&6; }
 
-    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
-      glibcxx_ld_is_gold=yes
-    fi
-    ldver=`$LD --version 2>/dev/null |
-          sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
 
-    glibcxx_gnu_ld_version=`echo $ldver | \
-          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
-$as_echo "$glibcxx_gnu_ld_version" >&6; }
-  fi
 
-  # Set --gc-sections.
-  glibcxx_have_gc_sections=no
-  if test "$glibcxx_ld_is_gold" = "yes"; then
-    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
-      glibcxx_have_gc_sections=yes
-    fi
-  else
-    glibcxx_gcsections_min_ld=21602
-    if test x"$with_gnu_ld" = x"yes" &&
-       test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
-      glibcxx_have_gc_sections=yes
-    fi
-  fi
-  if test "$glibcxx_have_gc_sections" = "yes"; then
-    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
-    # NB: This flag only works reliably after 2.16.1. Configure tests
-    # for this are difficult, so hard wire a value that should work.
 
-    ac_test_CFLAGS="${CFLAGS+set}"
-    ac_save_CFLAGS="$CFLAGS"
-    CFLAGS='-Wl,--gc-sections'
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
+$as_echo_n "checking for hypot declaration... " >&6; }
+  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
+    if ${glibcxx_cv_func_hypot_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
-    # Check for -Wl,--gc-sections
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
-$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
-    if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
- int one(void) { return 1; }
-     int two(void) { return 2; }
 
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <math.h>
 int
 main ()
 {
two();
hypot(0, 0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_gcsections=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func_hypot_use=yes
 else
-  ac_gcsections=no
+  glibcxx_cv_func_hypot_use=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-    if test "$ac_gcsections" = "yes"; then
-      rm -f conftest.c
-      touch conftest.c
-      if $CC -c conftest.c; then
-       if $LD --gc-sections -o conftest conftest.o 2>&1 | \
-          grep "Warning: gc-sections option ignored" > /dev/null; then
-         ac_gcsections=no
-       fi
-      fi
-      rm -f conftest.c conftest.o conftest
-    fi
-    if test "$ac_gcsections" = "yes"; then
-      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
-$as_echo "$ac_gcsections" >&6; }
-
-    if test "$ac_test_CFLAGS" = set; then
-      CFLAGS="$ac_save_CFLAGS"
-    else
-      # this is the suspicious part
-      CFLAGS=''
-    fi
-  fi
-
-  # Set -z,relro.
-  # Note this is only for shared objects.
-  ac_ld_relro=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
-$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
-    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
-    if test -n "$cxx_z_relo"; then
-      OPT_LDFLAGS="-Wl,-z,relro"
-      ac_ld_relro=yes
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
-$as_echo "$ac_ld_relro" >&6; }
-  fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-  # Set linker optimization flags.
-  if test x"$with_gnu_ld" = x"yes"; then
-    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
-  fi
 
+fi
 
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
+$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
 
+  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
+    for ac_func in hypot
+do :
+  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
+if test "x$ac_cv_func_hypot" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_HYPOT 1
+_ACEOF
 
+fi
+done
 
-  ac_test_CXXFLAGS="${CXXFLAGS+set}"
-  ac_save_CXXFLAGS="$CXXFLAGS"
-  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
+  else
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
-$as_echo_n "checking for sin in -lm... " >&6; }
-if test "${ac_cv_lib_m_sin+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
+$as_echo_n "checking for _hypot declaration... " >&6; }
+  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
+    if ${glibcxx_cv_func__hypot_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lm  $LIBS"
-if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
 
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char sin ();
+
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <math.h>
 int
 main ()
 {
-return sin ();
+ _hypot(0, 0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_m_sin=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func__hypot_use=yes
 else
-  ac_cv_lib_m_sin=no
+  glibcxx_cv_func__hypot_use=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
-$as_echo "$ac_cv_lib_m_sin" >&6; }
-if test "x$ac_cv_lib_m_sin" = x""yes; then :
-  libm="-lm"
+
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
+$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
+
+    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
+      for ac_func in _hypot
+do :
+  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
+if test "x$ac_cv_func__hypot" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE__HYPOT 1
+_ACEOF
+
 fi
+done
 
-  ac_save_LIBS="$LIBS"
-  LIBS="$LIBS $libm"
+    fi
+  fi
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
-$as_echo_n "checking for isinf declaration... " >&6; }
-  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
+
+
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
+$as_echo_n "checking for float trig functions... " >&6; }
+  if ${glibcxx_cv_func_float_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- isinf(0);
+acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isinf_use=yes
+  glibcxx_cv_func_float_trig_use=yes
 else
-  glibcxx_cv_func_isinf_use=no
+  glibcxx_cv_func_float_trig_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
-$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
-
-  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
-    for ac_func in isinf
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
+$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
+  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
+    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
 do :
-  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
-if test "x$ac_cv_func_isinf" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISINF 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 done
 
   else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
-$as_echo_n "checking for _isinf declaration... " >&6; }
-  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
+$as_echo_n "checking for _float trig functions... " >&6; }
+    if ${glibcxx_cv_func__float_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -59371,22 +55979,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isinf(0);
+_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isinf_use=yes
+  glibcxx_cv_func__float_trig_use=yes
 else
-  glibcxx_cv_func__isinf_use=no
+  glibcxx_cv_func__float_trig_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -59395,20 +55999,18 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
-$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
-
-    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
-      for ac_func in _isinf
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
+$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
+    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
+      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
 do :
-  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
-if test "x$ac_cv_func__isinf" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISINF 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -59421,72 +56023,63 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
-$as_echo_n "checking for isnan declaration... " >&6; }
-  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
+$as_echo_n "checking for float round functions... " >&6; }
+  if ${glibcxx_cv_func_float_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- isnan(0);
+ceilf (0); floorf (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isnan_use=yes
+  glibcxx_cv_func_float_round_use=yes
 else
-  glibcxx_cv_func_isnan_use=no
+  glibcxx_cv_func_float_round_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
-$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
-
-  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
-    for ac_func in isnan
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
+$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
+  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
+    for ac_func in ceilf floorf
 do :
-  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
-if test "x$ac_cv_func_isnan" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISNAN 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 done
 
   else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
-$as_echo_n "checking for _isnan declaration... " >&6; }
-  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
+$as_echo_n "checking for _float round functions... " >&6; }
+    if ${glibcxx_cv_func__float_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -59500,22 +56093,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isnan(0);
+_ceilf (0); _floorf (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isnan_use=yes
+  glibcxx_cv_func__float_round_use=yes
 else
-  glibcxx_cv_func__isnan_use=no
+  glibcxx_cv_func__float_round_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -59524,20 +56113,18 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
-$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
-
-    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
-      for ac_func in _isnan
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
+$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
+    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
+      for ac_func in _ceilf _floorf
 do :
-  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
-if test "x$ac_cv_func__isnan" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISNAN 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -59550,10 +56137,11 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
-$as_echo_n "checking for finite declaration... " >&6; }
-  if test x${glibcxx_cv_func_finite_use+set} != xset; then
-    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
+$as_echo_n "checking for expf declaration... " >&6; }
+  if test x${glibcxx_cv_func_expf_use+set} != xset; then
+    if ${glibcxx_cv_func_expf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -59574,15 +56162,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
finite(0);
expf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_finite_use=yes
+  glibcxx_cv_func_expf_use=yes
 else
-  glibcxx_cv_func_finite_use=no
+  glibcxx_cv_func_expf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -59595,16 +56183,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
-$as_echo "$glibcxx_cv_func_finite_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
+$as_echo "$glibcxx_cv_func_expf_use" >&6; }
 
-  if test x$glibcxx_cv_func_finite_use = x"yes"; then
-    for ac_func in finite
+  if test x$glibcxx_cv_func_expf_use = x"yes"; then
+    for ac_func in expf
 do :
-  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
-if test "x$ac_cv_func_finite" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
+if test "x$ac_cv_func_expf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FINITE 1
+#define HAVE_EXPF 1
 _ACEOF
 
 fi
@@ -59612,10 +56200,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
-$as_echo_n "checking for _finite declaration... " >&6; }
-  if test x${glibcxx_cv_func__finite_use+set} != xset; then
-    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
+$as_echo_n "checking for _expf declaration... " >&6; }
+  if test x${glibcxx_cv_func__expf_use+set} != xset; then
+    if ${glibcxx_cv_func__expf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -59636,15 +56224,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _finite(0);
+ _expf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__finite_use=yes
+  glibcxx_cv_func__expf_use=yes
 else
-  glibcxx_cv_func__finite_use=no
+  glibcxx_cv_func__expf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -59657,16 +56245,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
-$as_echo "$glibcxx_cv_func__finite_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
+$as_echo "$glibcxx_cv_func__expf_use" >&6; }
 
-    if test x$glibcxx_cv_func__finite_use = x"yes"; then
-      for ac_func in _finite
+    if test x$glibcxx_cv_func__expf_use = x"yes"; then
+      for ac_func in _expf
 do :
-  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
-if test "x$ac_cv_func__finite" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
+if test "x$ac_cv_func__expf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FINITE 1
+#define HAVE__EXPF 1
 _ACEOF
 
 fi
@@ -59679,10 +56267,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
-$as_echo_n "checking for sincos declaration... " >&6; }
-  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
+$as_echo_n "checking for isnanf declaration... " >&6; }
+  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
+    if ${glibcxx_cv_func_isnanf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -59696,18 +56284,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
sincos(0, 0, 0);
isnanf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sincos_use=yes
+  glibcxx_cv_func_isnanf_use=yes
 else
-  glibcxx_cv_func_sincos_use=no
+  glibcxx_cv_func_isnanf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -59720,16 +56312,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
-$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
+$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
 
-  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
-    for ac_func in sincos
+  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
+    for ac_func in isnanf
 do :
-  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
-if test "x$ac_cv_func_sincos" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
+if test "x$ac_cv_func_isnanf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SINCOS 1
+#define HAVE_ISNANF 1
 _ACEOF
 
 fi
@@ -59737,10 +56329,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
-$as_echo_n "checking for _sincos declaration... " >&6; }
-  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
+$as_echo_n "checking for _isnanf declaration... " >&6; }
+  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
+    if ${glibcxx_cv_func__isnanf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -59754,18 +56346,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _sincos(0, 0, 0);
+ _isnanf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sincos_use=yes
+  glibcxx_cv_func__isnanf_use=yes
 else
-  glibcxx_cv_func__sincos_use=no
+  glibcxx_cv_func__isnanf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -59778,16 +56374,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
-$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
+$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
 
-    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
-      for ac_func in _sincos
+    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
+      for ac_func in _isnanf
 do :
-  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
-if test "x$ac_cv_func__sincos" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
+if test "x$ac_cv_func__isnanf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__SINCOS 1
+#define HAVE__ISNANF 1
 _ACEOF
 
 fi
@@ -59800,10 +56396,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
-$as_echo_n "checking for fpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
+$as_echo_n "checking for isinff declaration... " >&6; }
+  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
+    if ${glibcxx_cv_func_isinff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -59824,15 +56420,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
fpclass(0);
isinff(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fpclass_use=yes
+  glibcxx_cv_func_isinff_use=yes
 else
-  glibcxx_cv_func_fpclass_use=no
+  glibcxx_cv_func_isinff_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -59845,16 +56441,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
-$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
+$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
 
-  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
-    for ac_func in fpclass
+  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
+    for ac_func in isinff
 do :
-  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
-if test "x$ac_cv_func_fpclass" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
+if test "x$ac_cv_func_isinff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FPCLASS 1
+#define HAVE_ISINFF 1
 _ACEOF
 
 fi
@@ -59862,10 +56458,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
-$as_echo_n "checking for _fpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
+$as_echo_n "checking for _isinff declaration... " >&6; }
+  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
+    if ${glibcxx_cv_func__isinff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -59886,15 +56482,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _fpclass(0);
+ _isinff(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fpclass_use=yes
+  glibcxx_cv_func__isinff_use=yes
 else
-  glibcxx_cv_func__fpclass_use=no
+  glibcxx_cv_func__isinff_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -59907,16 +56503,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
-$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
+$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
 
-    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
-      for ac_func in _fpclass
+    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
+      for ac_func in _isinff
 do :
-  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
-if test "x$ac_cv_func__fpclass" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
+if test "x$ac_cv_func__isinff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FPCLASS 1
+#define HAVE__ISINFF 1
 _ACEOF
 
 fi
@@ -59929,10 +56525,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
-$as_echo_n "checking for qfpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
+$as_echo_n "checking for atan2f declaration... " >&6; }
+  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
+    if ${glibcxx_cv_func_atan2f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -59946,22 +56542,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
qfpclass(0);
atan2f(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_qfpclass_use=yes
+  glibcxx_cv_func_atan2f_use=yes
 else
-  glibcxx_cv_func_qfpclass_use=no
+  glibcxx_cv_func_atan2f_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -59974,16 +56566,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
-$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
+$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
 
-  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
-    for ac_func in qfpclass
+  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
+    for ac_func in atan2f
 do :
-  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
-if test "x$ac_cv_func_qfpclass" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
+if test "x$ac_cv_func_atan2f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_QFPCLASS 1
+#define HAVE_ATAN2F 1
 _ACEOF
 
 fi
@@ -59991,10 +56583,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
-$as_echo_n "checking for _qfpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
+$as_echo_n "checking for _atan2f declaration... " >&6; }
+  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
+    if ${glibcxx_cv_func__atan2f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -60008,22 +56600,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _qfpclass(0);
+ _atan2f(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__qfpclass_use=yes
+  glibcxx_cv_func__atan2f_use=yes
 else
-  glibcxx_cv_func__qfpclass_use=no
+  glibcxx_cv_func__atan2f_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -60036,16 +56624,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
-$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
+$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
 
-    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
-      for ac_func in _qfpclass
+    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
+      for ac_func in _atan2f
 do :
-  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
-if test "x$ac_cv_func__qfpclass" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
+if test "x$ac_cv_func__atan2f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__QFPCLASS 1
+#define HAVE__ATAN2F 1
 _ACEOF
 
 fi
@@ -60058,10 +56646,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
-$as_echo_n "checking for hypot declaration... " >&6; }
-  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
+$as_echo_n "checking for fabsf declaration... " >&6; }
+  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
+    if ${glibcxx_cv_func_fabsf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -60075,18 +56663,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
hypot(0, 0);
fabsf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_hypot_use=yes
+  glibcxx_cv_func_fabsf_use=yes
 else
-  glibcxx_cv_func_hypot_use=no
+  glibcxx_cv_func_fabsf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -60099,16 +56691,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
-$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
+$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
 
-  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
-    for ac_func in hypot
+  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
+    for ac_func in fabsf
 do :
-  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
-if test "x$ac_cv_func_hypot" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
+if test "x$ac_cv_func_fabsf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_HYPOT 1
+#define HAVE_FABSF 1
 _ACEOF
 
 fi
@@ -60116,10 +56708,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
-$as_echo_n "checking for _hypot declaration... " >&6; }
-  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
+$as_echo_n "checking for _fabsf declaration... " >&6; }
+  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
+    if ${glibcxx_cv_func__fabsf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -60133,18 +56725,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _hypot(0, 0);
+ _fabsf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__hypot_use=yes
+  glibcxx_cv_func__fabsf_use=yes
 else
-  glibcxx_cv_func__hypot_use=no
+  glibcxx_cv_func__fabsf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -60157,16 +56753,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
-$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
+$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
 
-    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
-      for ac_func in _hypot
+    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
+      for ac_func in _fabsf
 do :
-  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
-if test "x$ac_cv_func__hypot" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
+if test "x$ac_cv_func__fabsf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__HYPOT 1
+#define HAVE__FABSF 1
 _ACEOF
 
 fi
@@ -60179,64 +56775,68 @@ done
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
-$as_echo_n "checking for float trig functions... " >&6; }
-  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
+$as_echo_n "checking for fmodf declaration... " >&6; }
+  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
+    if ${glibcxx_cv_func_fmodf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-    ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
-acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
+ fmodf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_float_trig_use=yes
+  glibcxx_cv_func_fmodf_use=yes
 else
-  glibcxx_cv_func_float_trig_use=no
+  glibcxx_cv_func_fmodf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
-$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
-  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
-    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
+$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
+
+  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
+    for ac_func in fmodf
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
+if test "x$ac_cv_func_fmodf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_FMODF 1
 _ACEOF
 
 fi
 done
 
   else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
-$as_echo_n "checking for _float trig functions... " >&6; }
-    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
+$as_echo_n "checking for _fmodf declaration... " >&6; }
+  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
+    if ${glibcxx_cv_func__fmodf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -60253,15 +56853,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
-_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
+ _fmodf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__float_trig_use=yes
+  glibcxx_cv_func__fmodf_use=yes
 else
-  glibcxx_cv_func__float_trig_use=no
+  glibcxx_cv_func__fmodf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -60270,19 +56870,20 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
-$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
-    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
-      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
+$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
+
+    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
+      for ac_func in _fmodf
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
+if test "x$ac_cv_func__fmodf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE__FMODF 1
 _ACEOF
 
 fi
@@ -60295,64 +56896,68 @@ done
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
-$as_echo_n "checking for float round functions... " >&6; }
-  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
+$as_echo_n "checking for frexpf declaration... " >&6; }
+  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
+    if ${glibcxx_cv_func_frexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-    ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
-ceilf (0); floorf (0);
+ frexpf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_float_round_use=yes
+  glibcxx_cv_func_frexpf_use=yes
 else
-  glibcxx_cv_func_float_round_use=no
+  glibcxx_cv_func_frexpf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
-$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
-  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
-    for ac_func in ceilf floorf
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
+$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
+
+  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
+    for ac_func in frexpf
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
+if test "x$ac_cv_func_frexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_FREXPF 1
 _ACEOF
 
 fi
 done
 
   else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
-$as_echo_n "checking for _float round functions... " >&6; }
-    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
+$as_echo_n "checking for _frexpf declaration... " >&6; }
+  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
+    if ${glibcxx_cv_func__frexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -60369,15 +56974,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
-_ceilf (0); _floorf (0);
+ _frexpf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__float_round_use=yes
+  glibcxx_cv_func__frexpf_use=yes
 else
-  glibcxx_cv_func__float_round_use=no
+  glibcxx_cv_func__frexpf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -60386,19 +56991,20 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
-$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
-    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
-      for ac_func in _ceilf _floorf
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
+$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
+
+    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
+      for ac_func in _frexpf
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
+if test "x$ac_cv_func__frexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE__FREXPF 1
 _ACEOF
 
 fi
@@ -60411,11 +57017,10 @@ done
 
 
 
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
-$as_echo_n "checking for expf declaration... " >&6; }
-  if test x${glibcxx_cv_func_expf_use+set} != xset; then
-    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
+$as_echo_n "checking for hypotf declaration... " >&6; }
+  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
+    if ${glibcxx_cv_func_hypotf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -60429,22 +57034,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
expf(0);
hypotf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_expf_use=yes
+  glibcxx_cv_func_hypotf_use=yes
 else
-  glibcxx_cv_func_expf_use=no
+  glibcxx_cv_func_hypotf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -60457,16 +57058,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
-$as_echo "$glibcxx_cv_func_expf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
+$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
 
-  if test x$glibcxx_cv_func_expf_use = x"yes"; then
-    for ac_func in expf
+  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
+    for ac_func in hypotf
 do :
-  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
-if test "x$ac_cv_func_expf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
+if test "x$ac_cv_func_hypotf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_EXPF 1
+#define HAVE_HYPOTF 1
 _ACEOF
 
 fi
@@ -60474,10 +57075,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
-$as_echo_n "checking for _expf declaration... " >&6; }
-  if test x${glibcxx_cv_func__expf_use+set} != xset; then
-    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
+$as_echo_n "checking for _hypotf declaration... " >&6; }
+  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
+    if ${glibcxx_cv_func__hypotf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -60491,22 +57092,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _expf(0);
+ _hypotf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__expf_use=yes
+  glibcxx_cv_func__hypotf_use=yes
 else
-  glibcxx_cv_func__expf_use=no
+  glibcxx_cv_func__hypotf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -60519,16 +57116,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
-$as_echo "$glibcxx_cv_func__expf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
+$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
 
-    if test x$glibcxx_cv_func__expf_use = x"yes"; then
-      for ac_func in _expf
+    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
+      for ac_func in _hypotf
 do :
-  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
-if test "x$ac_cv_func__expf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
+if test "x$ac_cv_func__hypotf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__EXPF 1
+#define HAVE__HYPOTF 1
 _ACEOF
 
 fi
@@ -60541,10 +57138,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
-$as_echo_n "checking for isnanf declaration... " >&6; }
-  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
+$as_echo_n "checking for ldexpf declaration... " >&6; }
+  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
+    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -60558,22 +57155,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
isnanf(0);
ldexpf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isnanf_use=yes
+  glibcxx_cv_func_ldexpf_use=yes
 else
-  glibcxx_cv_func_isnanf_use=no
+  glibcxx_cv_func_ldexpf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -60586,16 +57179,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
-$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
+$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
 
-  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
-    for ac_func in isnanf
+  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
+    for ac_func in ldexpf
 do :
-  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
-if test "x$ac_cv_func_isnanf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
+if test "x$ac_cv_func_ldexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISNANF 1
+#define HAVE_LDEXPF 1
 _ACEOF
 
 fi
@@ -60603,10 +57196,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
-$as_echo_n "checking for _isnanf declaration... " >&6; }
-  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
+$as_echo_n "checking for _ldexpf declaration... " >&6; }
+  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
+    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -60620,22 +57213,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isnanf(0);
+ _ldexpf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isnanf_use=yes
+  glibcxx_cv_func__ldexpf_use=yes
 else
-  glibcxx_cv_func__isnanf_use=no
+  glibcxx_cv_func__ldexpf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -60648,16 +57237,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
-$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
+$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
 
-    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
-      for ac_func in _isnanf
+    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
+      for ac_func in _ldexpf
 do :
-  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
-if test "x$ac_cv_func__isnanf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
+if test "x$ac_cv_func__ldexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISNANF 1
+#define HAVE__LDEXPF 1
 _ACEOF
 
 fi
@@ -60670,10 +57259,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
-$as_echo_n "checking for isinff declaration... " >&6; }
-  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
+$as_echo_n "checking for logf declaration... " >&6; }
+  if test x${glibcxx_cv_func_logf_use+set} != xset; then
+    if ${glibcxx_cv_func_logf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -60694,15 +57283,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
isinff(0);
logf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isinff_use=yes
+  glibcxx_cv_func_logf_use=yes
 else
-  glibcxx_cv_func_isinff_use=no
+  glibcxx_cv_func_logf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -60715,16 +57304,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
-$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
+$as_echo "$glibcxx_cv_func_logf_use" >&6; }
 
-  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
-    for ac_func in isinff
+  if test x$glibcxx_cv_func_logf_use = x"yes"; then
+    for ac_func in logf
 do :
-  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
-if test "x$ac_cv_func_isinff" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
+if test "x$ac_cv_func_logf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISINFF 1
+#define HAVE_LOGF 1
 _ACEOF
 
 fi
@@ -60732,10 +57321,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
-$as_echo_n "checking for _isinff declaration... " >&6; }
-  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
+$as_echo_n "checking for _logf declaration... " >&6; }
+  if test x${glibcxx_cv_func__logf_use+set} != xset; then
+    if ${glibcxx_cv_func__logf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -60756,15 +57345,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _isinff(0);
+ _logf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isinff_use=yes
+  glibcxx_cv_func__logf_use=yes
 else
-  glibcxx_cv_func__isinff_use=no
+  glibcxx_cv_func__logf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -60777,16 +57366,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
-$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
+$as_echo "$glibcxx_cv_func__logf_use" >&6; }
 
-    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
-      for ac_func in _isinff
+    if test x$glibcxx_cv_func__logf_use = x"yes"; then
+      for ac_func in _logf
 do :
-  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
-if test "x$ac_cv_func__isinff" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
+if test "x$ac_cv_func__logf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISINFF 1
+#define HAVE__LOGF 1
 _ACEOF
 
 fi
@@ -60799,10 +57388,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
-$as_echo_n "checking for atan2f declaration... " >&6; }
-  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
+$as_echo_n "checking for log10f declaration... " >&6; }
+  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
+    if ${glibcxx_cv_func_log10f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -60816,18 +57405,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
atan2f(0, 0);
log10f(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_atan2f_use=yes
+  glibcxx_cv_func_log10f_use=yes
 else
-  glibcxx_cv_func_atan2f_use=no
+  glibcxx_cv_func_log10f_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -60840,16 +57433,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
-$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
+$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
 
-  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
-    for ac_func in atan2f
+  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
+    for ac_func in log10f
 do :
-  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
-if test "x$ac_cv_func_atan2f" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
+if test "x$ac_cv_func_log10f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ATAN2F 1
+#define HAVE_LOG10F 1
 _ACEOF
 
 fi
@@ -60857,10 +57450,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
-$as_echo_n "checking for _atan2f declaration... " >&6; }
-  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
+$as_echo_n "checking for _log10f declaration... " >&6; }
+  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
+    if ${glibcxx_cv_func__log10f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -60874,18 +57467,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _atan2f(0, 0);
+ _log10f(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__atan2f_use=yes
+  glibcxx_cv_func__log10f_use=yes
 else
-  glibcxx_cv_func__atan2f_use=no
+  glibcxx_cv_func__log10f_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -60898,16 +57495,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
-$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
+$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
 
-    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
-      for ac_func in _atan2f
+    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
+      for ac_func in _log10f
 do :
-  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
-if test "x$ac_cv_func__atan2f" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
+if test "x$ac_cv_func__log10f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ATAN2F 1
+#define HAVE__LOG10F 1
 _ACEOF
 
 fi
@@ -60920,10 +57517,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
-$as_echo_n "checking for fabsf declaration... " >&6; }
-  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
+$as_echo_n "checking for modff declaration... " >&6; }
+  if test x${glibcxx_cv_func_modff_use+set} != xset; then
+    if ${glibcxx_cv_func_modff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -60937,22 +57534,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
fabsf(0);
modff(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fabsf_use=yes
+  glibcxx_cv_func_modff_use=yes
 else
-  glibcxx_cv_func_fabsf_use=no
+  glibcxx_cv_func_modff_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -60965,16 +57558,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
-$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
+$as_echo "$glibcxx_cv_func_modff_use" >&6; }
 
-  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
-    for ac_func in fabsf
+  if test x$glibcxx_cv_func_modff_use = x"yes"; then
+    for ac_func in modff
 do :
-  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
-if test "x$ac_cv_func_fabsf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
+if test "x$ac_cv_func_modff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FABSF 1
+#define HAVE_MODFF 1
 _ACEOF
 
 fi
@@ -60982,10 +57575,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
-$as_echo_n "checking for _fabsf declaration... " >&6; }
-  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
+$as_echo_n "checking for _modff declaration... " >&6; }
+  if test x${glibcxx_cv_func__modff_use+set} != xset; then
+    if ${glibcxx_cv_func__modff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -60999,22 +57592,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _fabsf(0);
+ _modff(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fabsf_use=yes
+  glibcxx_cv_func__modff_use=yes
 else
-  glibcxx_cv_func__fabsf_use=no
+  glibcxx_cv_func__modff_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -61027,16 +57616,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
-$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
+$as_echo "$glibcxx_cv_func__modff_use" >&6; }
 
-    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
-      for ac_func in _fabsf
+    if test x$glibcxx_cv_func__modff_use = x"yes"; then
+      for ac_func in _modff
 do :
-  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
-if test "x$ac_cv_func__fabsf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
+if test "x$ac_cv_func__modff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FABSF 1
+#define HAVE__MODFF 1
 _ACEOF
 
 fi
@@ -61049,10 +57638,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
-$as_echo_n "checking for fmodf declaration... " >&6; }
-  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
+$as_echo_n "checking for modf declaration... " >&6; }
+  if test x${glibcxx_cv_func_modf_use+set} != xset; then
+    if ${glibcxx_cv_func_modf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -61069,15 +57658,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
fmodf(0, 0);
+ modf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fmodf_use=yes
+  glibcxx_cv_func_modf_use=yes
 else
-  glibcxx_cv_func_fmodf_use=no
+  glibcxx_cv_func_modf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -61090,16 +57679,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
-$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
+$as_echo "$glibcxx_cv_func_modf_use" >&6; }
 
-  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
-    for ac_func in fmodf
+  if test x$glibcxx_cv_func_modf_use = x"yes"; then
+    for ac_func in modf
 do :
-  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
-if test "x$ac_cv_func_fmodf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
+if test "x$ac_cv_func_modf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FMODF 1
+#define HAVE_MODF 1
 _ACEOF
 
 fi
@@ -61107,10 +57696,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
-$as_echo_n "checking for _fmodf declaration... " >&6; }
-  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
+$as_echo_n "checking for _modf declaration... " >&6; }
+  if test x${glibcxx_cv_func__modf_use+set} != xset; then
+    if ${glibcxx_cv_func__modf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -61127,15 +57716,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _fmodf(0, 0);
+ _modf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fmodf_use=yes
+  glibcxx_cv_func__modf_use=yes
 else
-  glibcxx_cv_func__fmodf_use=no
+  glibcxx_cv_func__modf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -61148,16 +57737,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
-$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
+$as_echo "$glibcxx_cv_func__modf_use" >&6; }
 
-    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
-      for ac_func in _fmodf
+    if test x$glibcxx_cv_func__modf_use = x"yes"; then
+      for ac_func in _modf
 do :
-  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
-if test "x$ac_cv_func__fmodf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
+if test "x$ac_cv_func__modf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FMODF 1
+#define HAVE__MODF 1
 _ACEOF
 
 fi
@@ -61170,10 +57759,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
-$as_echo_n "checking for frexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
+$as_echo_n "checking for powf declaration... " >&6; }
+  if test x${glibcxx_cv_func_powf_use+set} != xset; then
+    if ${glibcxx_cv_func_powf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -61190,15 +57779,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
frexpf(0, 0);
powf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_frexpf_use=yes
+  glibcxx_cv_func_powf_use=yes
 else
-  glibcxx_cv_func_frexpf_use=no
+  glibcxx_cv_func_powf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -61211,16 +57800,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
-$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
+$as_echo "$glibcxx_cv_func_powf_use" >&6; }
 
-  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
-    for ac_func in frexpf
+  if test x$glibcxx_cv_func_powf_use = x"yes"; then
+    for ac_func in powf
 do :
-  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
-if test "x$ac_cv_func_frexpf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
+if test "x$ac_cv_func_powf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FREXPF 1
+#define HAVE_POWF 1
 _ACEOF
 
 fi
@@ -61228,10 +57817,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
-$as_echo_n "checking for _frexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
+$as_echo_n "checking for _powf declaration... " >&6; }
+  if test x${glibcxx_cv_func__powf_use+set} != xset; then
+    if ${glibcxx_cv_func__powf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -61248,15 +57837,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _frexpf(0, 0);
+ _powf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__frexpf_use=yes
+  glibcxx_cv_func__powf_use=yes
 else
-  glibcxx_cv_func__frexpf_use=no
+  glibcxx_cv_func__powf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -61269,16 +57858,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
-$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
+$as_echo "$glibcxx_cv_func__powf_use" >&6; }
 
-    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
-      for ac_func in _frexpf
+    if test x$glibcxx_cv_func__powf_use = x"yes"; then
+      for ac_func in _powf
 do :
-  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
-if test "x$ac_cv_func__frexpf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
+if test "x$ac_cv_func__powf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FREXPF 1
+#define HAVE__POWF 1
 _ACEOF
 
 fi
@@ -61291,10 +57880,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
-$as_echo_n "checking for hypotf declaration... " >&6; }
-  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
+$as_echo_n "checking for sqrtf declaration... " >&6; }
+  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
+    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -61308,18 +57897,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
hypotf(0, 0);
sqrtf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_hypotf_use=yes
+  glibcxx_cv_func_sqrtf_use=yes
 else
-  glibcxx_cv_func_hypotf_use=no
+  glibcxx_cv_func_sqrtf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -61332,16 +57925,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
-$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
+$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
 
-  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
-    for ac_func in hypotf
+  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
+    for ac_func in sqrtf
 do :
-  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
-if test "x$ac_cv_func_hypotf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
+if test "x$ac_cv_func_sqrtf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_HYPOTF 1
+#define HAVE_SQRTF 1
 _ACEOF
 
 fi
@@ -61349,10 +57942,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
-$as_echo_n "checking for _hypotf declaration... " >&6; }
-  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
+$as_echo_n "checking for _sqrtf declaration... " >&6; }
+  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
+    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -61366,18 +57959,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _hypotf(0, 0);
+ _sqrtf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__hypotf_use=yes
+  glibcxx_cv_func__sqrtf_use=yes
 else
-  glibcxx_cv_func__hypotf_use=no
+  glibcxx_cv_func__sqrtf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -61390,16 +57987,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
-$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
+$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
 
-    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
-      for ac_func in _hypotf
+    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
+      for ac_func in _sqrtf
 do :
-  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
-if test "x$ac_cv_func__hypotf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
+if test "x$ac_cv_func__sqrtf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__HYPOTF 1
+#define HAVE__SQRTF 1
 _ACEOF
 
 fi
@@ -61412,10 +58009,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
-$as_echo_n "checking for ldexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
+$as_echo_n "checking for sincosf declaration... " >&6; }
+  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
+    if ${glibcxx_cv_func_sincosf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -61432,15 +58029,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
ldexpf(0, 0);
sincosf(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_ldexpf_use=yes
+  glibcxx_cv_func_sincosf_use=yes
 else
-  glibcxx_cv_func_ldexpf_use=no
+  glibcxx_cv_func_sincosf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -61453,16 +58050,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
-$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
+$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
 
-  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
-    for ac_func in ldexpf
+  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
+    for ac_func in sincosf
 do :
-  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
-if test "x$ac_cv_func_ldexpf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
+if test "x$ac_cv_func_sincosf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LDEXPF 1
+#define HAVE_SINCOSF 1
 _ACEOF
 
 fi
@@ -61470,10 +58067,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
-$as_echo_n "checking for _ldexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
+$as_echo_n "checking for _sincosf declaration... " >&6; }
+  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
+    if ${glibcxx_cv_func__sincosf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -61490,15 +58087,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _ldexpf(0, 0);
+ _sincosf(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__ldexpf_use=yes
+  glibcxx_cv_func__sincosf_use=yes
 else
-  glibcxx_cv_func__ldexpf_use=no
+  glibcxx_cv_func__sincosf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -61511,16 +58108,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
-$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
+$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
 
-    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
-      for ac_func in _ldexpf
+    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
+      for ac_func in _sincosf
 do :
-  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
-if test "x$ac_cv_func__ldexpf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
+if test "x$ac_cv_func__sincosf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LDEXPF 1
+#define HAVE__SINCOSF 1
 _ACEOF
 
 fi
@@ -61533,10 +58130,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
-$as_echo_n "checking for logf declaration... " >&6; }
-  if test x${glibcxx_cv_func_logf_use+set} != xset; then
-    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
+$as_echo_n "checking for finitef declaration... " >&6; }
+  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
+    if ${glibcxx_cv_func_finitef_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -61557,15 +58154,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
logf(0);
finitef(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_logf_use=yes
+  glibcxx_cv_func_finitef_use=yes
 else
-  glibcxx_cv_func_logf_use=no
+  glibcxx_cv_func_finitef_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -61578,16 +58175,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
-$as_echo "$glibcxx_cv_func_logf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
+$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
 
-  if test x$glibcxx_cv_func_logf_use = x"yes"; then
-    for ac_func in logf
+  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
+    for ac_func in finitef
 do :
-  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
-if test "x$ac_cv_func_logf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
+if test "x$ac_cv_func_finitef" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOGF 1
+#define HAVE_FINITEF 1
 _ACEOF
 
 fi
@@ -61595,10 +58192,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
-$as_echo_n "checking for _logf declaration... " >&6; }
-  if test x${glibcxx_cv_func__logf_use+set} != xset; then
-    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
+$as_echo_n "checking for _finitef declaration... " >&6; }
+  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
+    if ${glibcxx_cv_func__finitef_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -61619,15 +58216,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _logf(0);
+ _finitef(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__logf_use=yes
+  glibcxx_cv_func__finitef_use=yes
 else
-  glibcxx_cv_func__logf_use=no
+  glibcxx_cv_func__finitef_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -61640,16 +58237,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
-$as_echo "$glibcxx_cv_func__logf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
+$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
 
-    if test x$glibcxx_cv_func__logf_use = x"yes"; then
-      for ac_func in _logf
+    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
+      for ac_func in _finitef
 do :
-  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
-if test "x$ac_cv_func__logf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
+if test "x$ac_cv_func__finitef" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOGF 1
+#define HAVE__FINITEF 1
 _ACEOF
 
 fi
@@ -61662,72 +58259,63 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
-$as_echo_n "checking for log10f declaration... " >&6; }
-  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
+$as_echo_n "checking for long double trig functions... " >&6; }
+  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- log10f(0);
+acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_log10f_use=yes
+  glibcxx_cv_func_long_double_trig_use=yes
 else
-  glibcxx_cv_func_log10f_use=no
+  glibcxx_cv_func_long_double_trig_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
-$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
-
-  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
-    for ac_func in log10f
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
+$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
+  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
+    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
 do :
-  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
-if test "x$ac_cv_func_log10f" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOG10F 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 done
 
   else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
-$as_echo_n "checking for _log10f declaration... " >&6; }
-  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
+$as_echo_n "checking for _long double trig functions... " >&6; }
+    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -61741,22 +58329,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _log10f(0);
+_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__log10f_use=yes
+  glibcxx_cv_func__long_double_trig_use=yes
 else
-  glibcxx_cv_func__log10f_use=no
+  glibcxx_cv_func__long_double_trig_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -61765,20 +58349,18 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
-$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
-
-    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
-      for ac_func in _log10f
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
+$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
+    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
+      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
 do :
-  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
-if test "x$ac_cv_func__log10f" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOG10F 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -61791,68 +58373,63 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
-$as_echo_n "checking for modff declaration... " >&6; }
-  if test x${glibcxx_cv_func_modff_use+set} != xset; then
-    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
+$as_echo_n "checking for long double round functions... " >&6; }
+  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
- modff(0, 0);
+ceill (0); floorl (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_modff_use=yes
+  glibcxx_cv_func_long_double_round_use=yes
 else
-  glibcxx_cv_func_modff_use=no
+  glibcxx_cv_func_long_double_round_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
-$as_echo "$glibcxx_cv_func_modff_use" >&6; }
-
-  if test x$glibcxx_cv_func_modff_use = x"yes"; then
-    for ac_func in modff
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
+$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
+  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
+    for ac_func in ceill floorl
 do :
-  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
-if test "x$ac_cv_func_modff" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_MODFF 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 done
 
   else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
-$as_echo_n "checking for _modff declaration... " >&6; }
-  if test x${glibcxx_cv_func__modff_use+set} != xset; then
-    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
+$as_echo_n "checking for _long double round functions... " >&6; }
+    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -61869,15 +58446,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _modff(0, 0);
+_ceill (0); _floorl (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__modff_use=yes
+  glibcxx_cv_func__long_double_round_use=yes
 else
-  glibcxx_cv_func__modff_use=no
+  glibcxx_cv_func__long_double_round_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -61886,20 +58463,18 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
-$as_echo "$glibcxx_cv_func__modff_use" >&6; }
-
-    if test x$glibcxx_cv_func__modff_use = x"yes"; then
-      for ac_func in _modff
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
+$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
+    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
+      for ac_func in _ceill _floorl
 do :
-  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
-if test "x$ac_cv_func__modff" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__MODFF 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -61912,10 +58487,11 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
-$as_echo_n "checking for modf declaration... " >&6; }
-  if test x${glibcxx_cv_func_modf_use+set} != xset; then
-    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
+$as_echo_n "checking for isnanl declaration... " >&6; }
+  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
+    if ${glibcxx_cv_func_isnanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -61929,18 +58505,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
modf(0, 0);
isnanl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_modf_use=yes
+  glibcxx_cv_func_isnanl_use=yes
 else
-  glibcxx_cv_func_modf_use=no
+  glibcxx_cv_func_isnanl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -61953,16 +58533,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
-$as_echo "$glibcxx_cv_func_modf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
+$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
 
-  if test x$glibcxx_cv_func_modf_use = x"yes"; then
-    for ac_func in modf
+  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
+    for ac_func in isnanl
 do :
-  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
-if test "x$ac_cv_func_modf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
+if test "x$ac_cv_func_isnanl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_MODF 1
+#define HAVE_ISNANL 1
 _ACEOF
 
 fi
@@ -61970,10 +58550,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
-$as_echo_n "checking for _modf declaration... " >&6; }
-  if test x${glibcxx_cv_func__modf_use+set} != xset; then
-    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
+$as_echo_n "checking for _isnanl declaration... " >&6; }
+  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
+    if ${glibcxx_cv_func__isnanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -61987,18 +58567,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _modf(0, 0);
+ _isnanl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__modf_use=yes
+  glibcxx_cv_func__isnanl_use=yes
 else
-  glibcxx_cv_func__modf_use=no
+  glibcxx_cv_func__isnanl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -62011,16 +58595,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
-$as_echo "$glibcxx_cv_func__modf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
+$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
 
-    if test x$glibcxx_cv_func__modf_use = x"yes"; then
-      for ac_func in _modf
+    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
+      for ac_func in _isnanl
 do :
-  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
-if test "x$ac_cv_func__modf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
+if test "x$ac_cv_func__isnanl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__MODF 1
+#define HAVE__ISNANL 1
 _ACEOF
 
 fi
@@ -62033,10 +58617,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
-$as_echo_n "checking for powf declaration... " >&6; }
-  if test x${glibcxx_cv_func_powf_use+set} != xset; then
-    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
+$as_echo_n "checking for isinfl declaration... " >&6; }
+  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
+    if ${glibcxx_cv_func_isinfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -62050,18 +58634,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
powf(0, 0);
isinfl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_powf_use=yes
+  glibcxx_cv_func_isinfl_use=yes
 else
-  glibcxx_cv_func_powf_use=no
+  glibcxx_cv_func_isinfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -62074,16 +58662,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
-$as_echo "$glibcxx_cv_func_powf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
+$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
 
-  if test x$glibcxx_cv_func_powf_use = x"yes"; then
-    for ac_func in powf
+  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
+    for ac_func in isinfl
 do :
-  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
-if test "x$ac_cv_func_powf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
+if test "x$ac_cv_func_isinfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_POWF 1
+#define HAVE_ISINFL 1
 _ACEOF
 
 fi
@@ -62091,10 +58679,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
-$as_echo_n "checking for _powf declaration... " >&6; }
-  if test x${glibcxx_cv_func__powf_use+set} != xset; then
-    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
+$as_echo_n "checking for _isinfl declaration... " >&6; }
+  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
+    if ${glibcxx_cv_func__isinfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -62108,18 +58696,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _powf(0, 0);
+ _isinfl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__powf_use=yes
+  glibcxx_cv_func__isinfl_use=yes
 else
-  glibcxx_cv_func__powf_use=no
+  glibcxx_cv_func__isinfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -62132,16 +58724,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
-$as_echo "$glibcxx_cv_func__powf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
+$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
 
-    if test x$glibcxx_cv_func__powf_use = x"yes"; then
-      for ac_func in _powf
+    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
+      for ac_func in _isinfl
 do :
-  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
-if test "x$ac_cv_func__powf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
+if test "x$ac_cv_func__isinfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__POWF 1
+#define HAVE__ISINFL 1
 _ACEOF
 
 fi
@@ -62154,10 +58746,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
-$as_echo_n "checking for sqrtf declaration... " >&6; }
-  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
+$as_echo_n "checking for atan2l declaration... " >&6; }
+  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
+    if ${glibcxx_cv_func_atan2l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -62171,22 +58763,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
sqrtf(0);
atan2l(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sqrtf_use=yes
+  glibcxx_cv_func_atan2l_use=yes
 else
-  glibcxx_cv_func_sqrtf_use=no
+  glibcxx_cv_func_atan2l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -62199,16 +58787,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
-$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
+$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
 
-  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
-    for ac_func in sqrtf
+  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
+    for ac_func in atan2l
 do :
-  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
-if test "x$ac_cv_func_sqrtf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
+if test "x$ac_cv_func_atan2l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SQRTF 1
+#define HAVE_ATAN2L 1
 _ACEOF
 
 fi
@@ -62216,10 +58804,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
-$as_echo_n "checking for _sqrtf declaration... " >&6; }
-  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
+$as_echo_n "checking for _atan2l declaration... " >&6; }
+  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
+    if ${glibcxx_cv_func__atan2l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -62233,22 +58821,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _sqrtf(0);
+ _atan2l(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sqrtf_use=yes
+  glibcxx_cv_func__atan2l_use=yes
 else
-  glibcxx_cv_func__sqrtf_use=no
+  glibcxx_cv_func__atan2l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -62261,16 +58845,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
-$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
+$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
 
-    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
-      for ac_func in _sqrtf
+    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
+      for ac_func in _atan2l
 do :
-  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
-if test "x$ac_cv_func__sqrtf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
+if test "x$ac_cv_func__atan2l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__SQRTF 1
+#define HAVE__ATAN2L 1
 _ACEOF
 
 fi
@@ -62283,10 +58867,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
-$as_echo_n "checking for sincosf declaration... " >&6; }
-  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
+$as_echo_n "checking for expl declaration... " >&6; }
+  if test x${glibcxx_cv_func_expl_use+set} != xset; then
+    if ${glibcxx_cv_func_expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -62300,18 +58884,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
sincosf(0, 0, 0);
expl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sincosf_use=yes
+  glibcxx_cv_func_expl_use=yes
 else
-  glibcxx_cv_func_sincosf_use=no
+  glibcxx_cv_func_expl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -62324,16 +58912,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
-$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
+$as_echo "$glibcxx_cv_func_expl_use" >&6; }
 
-  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
-    for ac_func in sincosf
+  if test x$glibcxx_cv_func_expl_use = x"yes"; then
+    for ac_func in expl
 do :
-  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
-if test "x$ac_cv_func_sincosf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
+if test "x$ac_cv_func_expl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SINCOSF 1
+#define HAVE_EXPL 1
 _ACEOF
 
 fi
@@ -62341,10 +58929,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
-$as_echo_n "checking for _sincosf declaration... " >&6; }
-  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
+$as_echo_n "checking for _expl declaration... " >&6; }
+  if test x${glibcxx_cv_func__expl_use+set} != xset; then
+    if ${glibcxx_cv_func__expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -62358,18 +58946,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _sincosf(0, 0, 0);
+ _expl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sincosf_use=yes
+  glibcxx_cv_func__expl_use=yes
 else
-  glibcxx_cv_func__sincosf_use=no
+  glibcxx_cv_func__expl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -62382,16 +58974,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
-$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
+$as_echo "$glibcxx_cv_func__expl_use" >&6; }
 
-    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
-      for ac_func in _sincosf
+    if test x$glibcxx_cv_func__expl_use = x"yes"; then
+      for ac_func in _expl
 do :
-  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
-if test "x$ac_cv_func__sincosf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
+if test "x$ac_cv_func__expl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__SINCOSF 1
+#define HAVE__EXPL 1
 _ACEOF
 
 fi
@@ -62404,10 +58996,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
-$as_echo_n "checking for finitef declaration... " >&6; }
-  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
+$as_echo_n "checking for fabsl declaration... " >&6; }
+  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
+    if ${glibcxx_cv_func_fabsl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -62428,15 +59020,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- finitef(0);
+ fabsl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_finitef_use=yes
+  glibcxx_cv_func_fabsl_use=yes
 else
-  glibcxx_cv_func_finitef_use=no
+  glibcxx_cv_func_fabsl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -62449,16 +59041,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
-$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
+$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
 
-  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
-    for ac_func in finitef
+  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
+    for ac_func in fabsl
 do :
-  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
-if test "x$ac_cv_func_finitef" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
+if test "x$ac_cv_func_fabsl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FINITEF 1
+#define HAVE_FABSL 1
 _ACEOF
 
 fi
@@ -62466,10 +59058,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
-$as_echo_n "checking for _finitef declaration... " >&6; }
-  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
+$as_echo_n "checking for _fabsl declaration... " >&6; }
+  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
+    if ${glibcxx_cv_func__fabsl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -62490,15 +59082,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _finitef(0);
+ _fabsl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__finitef_use=yes
+  glibcxx_cv_func__fabsl_use=yes
 else
-  glibcxx_cv_func__finitef_use=no
+  glibcxx_cv_func__fabsl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -62511,16 +59103,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
-$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
-
-    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
-      for ac_func in _finitef
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
+$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
+
+    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
+      for ac_func in _fabsl
 do :
-  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
-if test "x$ac_cv_func__finitef" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
+if test "x$ac_cv_func__fabsl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FINITEF 1
+#define HAVE__FABSL 1
 _ACEOF
 
 fi
@@ -62533,64 +59125,68 @@ done
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
-$as_echo_n "checking for long double trig functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
+$as_echo_n "checking for fmodl declaration... " >&6; }
+  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
+    if ${glibcxx_cv_func_fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-    ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
-acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
+ fmodl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_long_double_trig_use=yes
+  glibcxx_cv_func_fmodl_use=yes
 else
-  glibcxx_cv_func_long_double_trig_use=no
+  glibcxx_cv_func_fmodl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
-$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
-  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
-    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
+$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
+
+  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
+    for ac_func in fmodl
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
+if test "x$ac_cv_func_fmodl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_FMODL 1
 _ACEOF
 
 fi
 done
 
   else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
-$as_echo_n "checking for _long double trig functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
+$as_echo_n "checking for _fmodl declaration... " >&6; }
+  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
+    if ${glibcxx_cv_func__fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -62607,15 +59203,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
-_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
+ _fmodl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__long_double_trig_use=yes
+  glibcxx_cv_func__fmodl_use=yes
 else
-  glibcxx_cv_func__long_double_trig_use=no
+  glibcxx_cv_func__fmodl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -62624,19 +59220,20 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
-$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
-    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
-      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
+$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
+
+    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
+      for ac_func in _fmodl
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
+if test "x$ac_cv_func__fmodl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE__FMODL 1
 _ACEOF
 
 fi
@@ -62649,64 +59246,68 @@ done
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
-$as_echo_n "checking for long double round functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
+$as_echo_n "checking for frexpl declaration... " >&6; }
+  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
+    if ${glibcxx_cv_func_frexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-    ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
-ceill (0); floorl (0);
+ frexpl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_long_double_round_use=yes
+  glibcxx_cv_func_frexpl_use=yes
 else
-  glibcxx_cv_func_long_double_round_use=no
+  glibcxx_cv_func_frexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
-$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
-  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
-    for ac_func in ceill floorl
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
+$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
+
+  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
+    for ac_func in frexpl
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
+if test "x$ac_cv_func_frexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_FREXPL 1
 _ACEOF
 
 fi
 done
 
   else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
-$as_echo_n "checking for _long double round functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
+$as_echo_n "checking for _frexpl declaration... " >&6; }
+  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
+    if ${glibcxx_cv_func__frexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -62723,15 +59324,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
-_ceill (0); _floorl (0);
+ _frexpl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__long_double_round_use=yes
+  glibcxx_cv_func__frexpl_use=yes
 else
-  glibcxx_cv_func__long_double_round_use=no
+  glibcxx_cv_func__frexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -62740,19 +59341,20 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
-$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
-    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
-      for ac_func in _ceill _floorl
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
+$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
+
+    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
+      for ac_func in _frexpl
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
+if test "x$ac_cv_func__frexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE__FREXPL 1
 _ACEOF
 
 fi
@@ -62765,11 +59367,10 @@ done
 
 
 
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
-$as_echo_n "checking for isnanl declaration... " >&6; }
-  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
+$as_echo_n "checking for hypotl declaration... " >&6; }
+  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
+    if ${glibcxx_cv_func_hypotl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -62783,22 +59384,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
isnanl(0);
hypotl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isnanl_use=yes
+  glibcxx_cv_func_hypotl_use=yes
 else
-  glibcxx_cv_func_isnanl_use=no
+  glibcxx_cv_func_hypotl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -62811,16 +59408,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
-$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
+$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
 
-  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
-    for ac_func in isnanl
+  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
+    for ac_func in hypotl
 do :
-  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
-if test "x$ac_cv_func_isnanl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
+if test "x$ac_cv_func_hypotl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISNANL 1
+#define HAVE_HYPOTL 1
 _ACEOF
 
 fi
@@ -62828,10 +59425,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
-$as_echo_n "checking for _isnanl declaration... " >&6; }
-  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
+$as_echo_n "checking for _hypotl declaration... " >&6; }
+  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
+    if ${glibcxx_cv_func__hypotl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -62845,22 +59442,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isnanl(0);
+ _hypotl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isnanl_use=yes
+  glibcxx_cv_func__hypotl_use=yes
 else
-  glibcxx_cv_func__isnanl_use=no
+  glibcxx_cv_func__hypotl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -62873,16 +59466,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
-$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
+$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
 
-    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
-      for ac_func in _isnanl
+    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
+      for ac_func in _hypotl
 do :
-  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
-if test "x$ac_cv_func__isnanl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
+if test "x$ac_cv_func__hypotl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISNANL 1
+#define HAVE__HYPOTL 1
 _ACEOF
 
 fi
@@ -62895,10 +59488,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
-$as_echo_n "checking for isinfl declaration... " >&6; }
-  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
+$as_echo_n "checking for ldexpl declaration... " >&6; }
+  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
+    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -62912,22 +59505,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
isinfl(0);
ldexpl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isinfl_use=yes
+  glibcxx_cv_func_ldexpl_use=yes
 else
-  glibcxx_cv_func_isinfl_use=no
+  glibcxx_cv_func_ldexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -62940,16 +59529,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
-$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
+$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
 
-  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
-    for ac_func in isinfl
+  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
+    for ac_func in ldexpl
 do :
-  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
-if test "x$ac_cv_func_isinfl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
+if test "x$ac_cv_func_ldexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISINFL 1
+#define HAVE_LDEXPL 1
 _ACEOF
 
 fi
@@ -62957,10 +59546,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
-$as_echo_n "checking for _isinfl declaration... " >&6; }
-  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
+$as_echo_n "checking for _ldexpl declaration... " >&6; }
+  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
+    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -62974,22 +59563,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isinfl(0);
+ _ldexpl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isinfl_use=yes
+  glibcxx_cv_func__ldexpl_use=yes
 else
-  glibcxx_cv_func__isinfl_use=no
+  glibcxx_cv_func__ldexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63002,16 +59587,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
-$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
+$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
 
-    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
-      for ac_func in _isinfl
+    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
+      for ac_func in _ldexpl
 do :
-  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
-if test "x$ac_cv_func__isinfl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
+if test "x$ac_cv_func__ldexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISINFL 1
+#define HAVE__LDEXPL 1
 _ACEOF
 
 fi
@@ -63024,10 +59609,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
-$as_echo_n "checking for atan2l declaration... " >&6; }
-  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
+$as_echo_n "checking for logl declaration... " >&6; }
+  if test x${glibcxx_cv_func_logl_use+set} != xset; then
+    if ${glibcxx_cv_func_logl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -63041,18 +59626,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
atan2l(0, 0);
logl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_atan2l_use=yes
+  glibcxx_cv_func_logl_use=yes
 else
-  glibcxx_cv_func_atan2l_use=no
+  glibcxx_cv_func_logl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63065,16 +59654,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
-$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
+$as_echo "$glibcxx_cv_func_logl_use" >&6; }
 
-  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
-    for ac_func in atan2l
+  if test x$glibcxx_cv_func_logl_use = x"yes"; then
+    for ac_func in logl
 do :
-  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
-if test "x$ac_cv_func_atan2l" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
+if test "x$ac_cv_func_logl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ATAN2L 1
+#define HAVE_LOGL 1
 _ACEOF
 
 fi
@@ -63082,10 +59671,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
-$as_echo_n "checking for _atan2l declaration... " >&6; }
-  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
+$as_echo_n "checking for _logl declaration... " >&6; }
+  if test x${glibcxx_cv_func__logl_use+set} != xset; then
+    if ${glibcxx_cv_func__logl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -63099,18 +59688,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _atan2l(0, 0);
+ _logl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__atan2l_use=yes
+  glibcxx_cv_func__logl_use=yes
 else
-  glibcxx_cv_func__atan2l_use=no
+  glibcxx_cv_func__logl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63123,16 +59716,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
-$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
+$as_echo "$glibcxx_cv_func__logl_use" >&6; }
 
-    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
-      for ac_func in _atan2l
+    if test x$glibcxx_cv_func__logl_use = x"yes"; then
+      for ac_func in _logl
 do :
-  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
-if test "x$ac_cv_func__atan2l" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
+if test "x$ac_cv_func__logl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ATAN2L 1
+#define HAVE__LOGL 1
 _ACEOF
 
 fi
@@ -63145,10 +59738,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
-$as_echo_n "checking for expl declaration... " >&6; }
-  if test x${glibcxx_cv_func_expl_use+set} != xset; then
-    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
+$as_echo_n "checking for log10l declaration... " >&6; }
+  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
+    if ${glibcxx_cv_func_log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -63169,15 +59762,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
expl(0);
log10l(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_expl_use=yes
+  glibcxx_cv_func_log10l_use=yes
 else
-  glibcxx_cv_func_expl_use=no
+  glibcxx_cv_func_log10l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63190,16 +59783,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
-$as_echo "$glibcxx_cv_func_expl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
+$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
 
-  if test x$glibcxx_cv_func_expl_use = x"yes"; then
-    for ac_func in expl
+  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
+    for ac_func in log10l
 do :
-  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
-if test "x$ac_cv_func_expl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
+if test "x$ac_cv_func_log10l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_EXPL 1
+#define HAVE_LOG10L 1
 _ACEOF
 
 fi
@@ -63207,10 +59800,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
-$as_echo_n "checking for _expl declaration... " >&6; }
-  if test x${glibcxx_cv_func__expl_use+set} != xset; then
-    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
+$as_echo_n "checking for _log10l declaration... " >&6; }
+  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
+    if ${glibcxx_cv_func__log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -63231,15 +59824,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _expl(0);
+ _log10l(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__expl_use=yes
+  glibcxx_cv_func__log10l_use=yes
 else
-  glibcxx_cv_func__expl_use=no
+  glibcxx_cv_func__log10l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63252,16 +59845,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
-$as_echo "$glibcxx_cv_func__expl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
+$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
 
-    if test x$glibcxx_cv_func__expl_use = x"yes"; then
-      for ac_func in _expl
+    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
+      for ac_func in _log10l
 do :
-  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
-if test "x$ac_cv_func__expl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
+if test "x$ac_cv_func__log10l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__EXPL 1
+#define HAVE__LOG10L 1
 _ACEOF
 
 fi
@@ -63274,10 +59867,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
-$as_echo_n "checking for fabsl declaration... " >&6; }
-  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
+$as_echo_n "checking for modfl declaration... " >&6; }
+  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
+    if ${glibcxx_cv_func_modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -63291,22 +59884,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
fabsl(0);
modfl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fabsl_use=yes
+  glibcxx_cv_func_modfl_use=yes
 else
-  glibcxx_cv_func_fabsl_use=no
+  glibcxx_cv_func_modfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63319,16 +59908,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
-$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
+$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
 
-  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
-    for ac_func in fabsl
+  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
+    for ac_func in modfl
 do :
-  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
-if test "x$ac_cv_func_fabsl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
+if test "x$ac_cv_func_modfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FABSL 1
+#define HAVE_MODFL 1
 _ACEOF
 
 fi
@@ -63336,10 +59925,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
-$as_echo_n "checking for _fabsl declaration... " >&6; }
-  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
+$as_echo_n "checking for _modfl declaration... " >&6; }
+  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
+    if ${glibcxx_cv_func__modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -63353,22 +59942,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _fabsl(0);
+ _modfl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fabsl_use=yes
+  glibcxx_cv_func__modfl_use=yes
 else
-  glibcxx_cv_func__fabsl_use=no
+  glibcxx_cv_func__modfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63381,16 +59966,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
-$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
+$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
 
-    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
-      for ac_func in _fabsl
+    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
+      for ac_func in _modfl
 do :
-  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
-if test "x$ac_cv_func__fabsl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
+if test "x$ac_cv_func__modfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FABSL 1
+#define HAVE__MODFL 1
 _ACEOF
 
 fi
@@ -63403,10 +59988,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
-$as_echo_n "checking for fmodl declaration... " >&6; }
-  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
+$as_echo_n "checking for powl declaration... " >&6; }
+  if test x${glibcxx_cv_func_powl_use+set} != xset; then
+    if ${glibcxx_cv_func_powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -63423,15 +60008,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
fmodl(0, 0);
powl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fmodl_use=yes
+  glibcxx_cv_func_powl_use=yes
 else
-  glibcxx_cv_func_fmodl_use=no
+  glibcxx_cv_func_powl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63444,16 +60029,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
-$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
+$as_echo "$glibcxx_cv_func_powl_use" >&6; }
 
-  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
-    for ac_func in fmodl
+  if test x$glibcxx_cv_func_powl_use = x"yes"; then
+    for ac_func in powl
 do :
-  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
-if test "x$ac_cv_func_fmodl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
+if test "x$ac_cv_func_powl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FMODL 1
+#define HAVE_POWL 1
 _ACEOF
 
 fi
@@ -63461,10 +60046,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
-$as_echo_n "checking for _fmodl declaration... " >&6; }
-  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
+$as_echo_n "checking for _powl declaration... " >&6; }
+  if test x${glibcxx_cv_func__powl_use+set} != xset; then
+    if ${glibcxx_cv_func__powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -63481,15 +60066,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _fmodl(0, 0);
+ _powl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fmodl_use=yes
+  glibcxx_cv_func__powl_use=yes
 else
-  glibcxx_cv_func__fmodl_use=no
+  glibcxx_cv_func__powl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63502,16 +60087,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
-$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
+$as_echo "$glibcxx_cv_func__powl_use" >&6; }
 
-    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
-      for ac_func in _fmodl
+    if test x$glibcxx_cv_func__powl_use = x"yes"; then
+      for ac_func in _powl
 do :
-  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
-if test "x$ac_cv_func__fmodl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
+if test "x$ac_cv_func__powl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FMODL 1
+#define HAVE__POWL 1
 _ACEOF
 
 fi
@@ -63524,10 +60109,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
-$as_echo_n "checking for frexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
+$as_echo_n "checking for sqrtl declaration... " >&6; }
+  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
+    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -63541,18 +60126,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
frexpl(0, 0);
sqrtl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_frexpl_use=yes
+  glibcxx_cv_func_sqrtl_use=yes
 else
-  glibcxx_cv_func_frexpl_use=no
+  glibcxx_cv_func_sqrtl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63565,16 +60154,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
-$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
+$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
 
-  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
-    for ac_func in frexpl
+  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
+    for ac_func in sqrtl
 do :
-  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
-if test "x$ac_cv_func_frexpl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
+if test "x$ac_cv_func_sqrtl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FREXPL 1
+#define HAVE_SQRTL 1
 _ACEOF
 
 fi
@@ -63582,10 +60171,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
-$as_echo_n "checking for _frexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
+$as_echo_n "checking for _sqrtl declaration... " >&6; }
+  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
+    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -63599,18 +60188,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _frexpl(0, 0);
+ _sqrtl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__frexpl_use=yes
+  glibcxx_cv_func__sqrtl_use=yes
 else
-  glibcxx_cv_func__frexpl_use=no
+  glibcxx_cv_func__sqrtl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63623,16 +60216,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
-$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
+$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
 
-    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
-      for ac_func in _frexpl
+    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
+      for ac_func in _sqrtl
 do :
-  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
-if test "x$ac_cv_func__frexpl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
+if test "x$ac_cv_func__sqrtl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FREXPL 1
+#define HAVE__SQRTL 1
 _ACEOF
 
 fi
@@ -63645,10 +60238,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
-$as_echo_n "checking for hypotl declaration... " >&6; }
-  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
+$as_echo_n "checking for sincosl declaration... " >&6; }
+  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
+    if ${glibcxx_cv_func_sincosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -63665,15 +60258,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
hypotl(0, 0);
sincosl(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_hypotl_use=yes
+  glibcxx_cv_func_sincosl_use=yes
 else
-  glibcxx_cv_func_hypotl_use=no
+  glibcxx_cv_func_sincosl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63686,16 +60279,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
-$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
+$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
 
-  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
-    for ac_func in hypotl
+  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
+    for ac_func in sincosl
 do :
-  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
-if test "x$ac_cv_func_hypotl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
+if test "x$ac_cv_func_sincosl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_HYPOTL 1
+#define HAVE_SINCOSL 1
 _ACEOF
 
 fi
@@ -63703,10 +60296,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
-$as_echo_n "checking for _hypotl declaration... " >&6; }
-  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
+$as_echo_n "checking for _sincosl declaration... " >&6; }
+  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
+    if ${glibcxx_cv_func__sincosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -63723,15 +60316,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _hypotl(0, 0);
+ _sincosl(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__hypotl_use=yes
+  glibcxx_cv_func__sincosl_use=yes
 else
-  glibcxx_cv_func__hypotl_use=no
+  glibcxx_cv_func__sincosl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63744,16 +60337,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
-$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
+$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
 
-    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
-      for ac_func in _hypotl
+    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
+      for ac_func in _sincosl
 do :
-  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
-if test "x$ac_cv_func__hypotl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
+if test "x$ac_cv_func__sincosl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__HYPOTL 1
+#define HAVE__SINCOSL 1
 _ACEOF
 
 fi
@@ -63766,10 +60359,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
-$as_echo_n "checking for ldexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
+$as_echo_n "checking for finitel declaration... " >&6; }
+  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
+    if ${glibcxx_cv_func_finitel_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -63783,18 +60376,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
ldexpl(0, 0);
finitel(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_ldexpl_use=yes
+  glibcxx_cv_func_finitel_use=yes
 else
-  glibcxx_cv_func_ldexpl_use=no
+  glibcxx_cv_func_finitel_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63807,16 +60404,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
-$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
+$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
 
-  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
-    for ac_func in ldexpl
+  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
+    for ac_func in finitel
 do :
-  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
-if test "x$ac_cv_func_ldexpl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
+if test "x$ac_cv_func_finitel" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LDEXPL 1
+#define HAVE_FINITEL 1
 _ACEOF
 
 fi
@@ -63824,10 +60421,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
-$as_echo_n "checking for _ldexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
+$as_echo_n "checking for _finitel declaration... " >&6; }
+  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
+    if ${glibcxx_cv_func__finitel_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -63841,18 +60438,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _ldexpl(0, 0);
+ _finitel(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__ldexpl_use=yes
+  glibcxx_cv_func__finitel_use=yes
 else
-  glibcxx_cv_func__ldexpl_use=no
+  glibcxx_cv_func__finitel_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63865,16 +60466,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
-$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
+$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
 
-    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
-      for ac_func in _ldexpl
+    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
+      for ac_func in _finitel
 do :
-  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
-if test "x$ac_cv_func__ldexpl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
+if test "x$ac_cv_func__finitel" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LDEXPL 1
+#define HAVE__FINITEL 1
 _ACEOF
 
 fi
@@ -63886,11 +60487,19 @@ done
 
 
 
+  LIBS="$ac_save_LIBS"
+  CXXFLAGS="$ac_save_CXXFLAGS"
+
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
-$as_echo_n "checking for logl declaration... " >&6; }
-  if test x${glibcxx_cv_func_logl_use+set} != xset; then
-    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
+  ac_test_CXXFLAGS="${CXXFLAGS+set}"
+  ac_save_CXXFLAGS="$CXXFLAGS"
+  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
+$as_echo_n "checking for at_quick_exit declaration... " >&6; }
+  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
+    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -63903,23 +60512,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
+#include <stdlib.h>
 int
 main ()
 {
logl(0);
at_quick_exit(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_logl_use=yes
+  glibcxx_cv_func_at_quick_exit_use=yes
 else
-  glibcxx_cv_func_logl_use=no
+  glibcxx_cv_func_at_quick_exit_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63932,27 +60537,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
-$as_echo "$glibcxx_cv_func_logl_use" >&6; }
-
-  if test x$glibcxx_cv_func_logl_use = x"yes"; then
-    for ac_func in logl
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
+$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
+  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
+    for ac_func in at_quick_exit
 do :
-  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
-if test "x$ac_cv_func_logl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
+if test "x$ac_cv_func_at_quick_exit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOGL 1
+#define HAVE_AT_QUICK_EXIT 1
 _ACEOF
 
 fi
 done
 
-  else
+  fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
-$as_echo_n "checking for _logl declaration... " >&6; }
-  if test x${glibcxx_cv_func__logl_use+set} != xset; then
-    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
+$as_echo_n "checking for quick_exit declaration... " >&6; }
+  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
+    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -63965,23 +60570,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
+#include <stdlib.h>
 int
 main ()
 {
_logl(0);
quick_exit(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__logl_use=yes
+  glibcxx_cv_func_quick_exit_use=yes
 else
-  glibcxx_cv_func__logl_use=no
+  glibcxx_cv_func_quick_exit_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -63994,32 +60595,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
-$as_echo "$glibcxx_cv_func__logl_use" >&6; }
-
-    if test x$glibcxx_cv_func__logl_use = x"yes"; then
-      for ac_func in _logl
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
+$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
+  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
+    for ac_func in quick_exit
 do :
-  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
-if test "x$ac_cv_func__logl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
+if test "x$ac_cv_func_quick_exit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOGL 1
+#define HAVE_QUICK_EXIT 1
 _ACEOF
 
 fi
 done
 
-    fi
   fi
 
 
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
-$as_echo_n "checking for log10l declaration... " >&6; }
-  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
+$as_echo_n "checking for strtold declaration... " >&6; }
+  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
+    if ${glibcxx_cv_func_strtold_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -64032,23 +60628,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
+#include <stdlib.h>
 int
 main ()
 {
log10l(0);
strtold(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_log10l_use=yes
+  glibcxx_cv_func_strtold_use=yes
 else
-  glibcxx_cv_func_log10l_use=no
+  glibcxx_cv_func_strtold_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -64061,27 +60653,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
-$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
-
-  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
-    for ac_func in log10l
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
+$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
+  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
+    for ac_func in strtold
 do :
-  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
-if test "x$ac_cv_func_log10l" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
+if test "x$ac_cv_func_strtold" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOG10L 1
+#define HAVE_STRTOLD 1
 _ACEOF
 
 fi
 done
 
-  else
+  fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
-$as_echo_n "checking for _log10l declaration... " >&6; }
-  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
+$as_echo_n "checking for strtof declaration... " >&6; }
+  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
+    if ${glibcxx_cv_func_strtof_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -64094,23 +60688,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
+#include <stdlib.h>
 int
 main ()
 {
_log10l(0);
strtof(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__log10l_use=yes
+  glibcxx_cv_func_strtof_use=yes
 else
-  glibcxx_cv_func__log10l_use=no
+  glibcxx_cv_func_strtof_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -64123,403 +60713,671 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
-$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
-
-    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
-      for ac_func in _log10l
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
+$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
+  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
+    for ac_func in strtof
 do :
-  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
-if test "x$ac_cv_func__log10l" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
+if test "x$ac_cv_func_strtof" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOG10L 1
+#define HAVE_STRTOF 1
 _ACEOF
 
 fi
 done
 
-    fi
   fi
 
 
 
 
+  CXXFLAGS="$ac_save_CXXFLAGS"
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
-$as_echo_n "checking for modfl declaration... " >&6; }
-  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
+    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
+do :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
 
+    for ac_func in _wfopen
+do :
+  ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
+if test "x$ac_cv_func__wfopen" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE__WFOPEN 1
+_ACEOF
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+fi
+done
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    ;;
+  *-netbsd* | *-openbsd*)
+    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...
+  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
+  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
+
+
+
+  # The name set by libtool depends on the version of libtool.  Shame on us
+  # for depending on an impl detail, but c'est la vie.  Older versions used
+  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
+  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
+  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
+  # set (hence we're using an older libtool), then set it.
+  if test x${with_gnu_ld+set} != xset; then
+    if test x${ac_cv_prog_gnu_ld+set} != xset; then
+      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
+      with_gnu_ld=no
+    else
+      with_gnu_ld=$ac_cv_prog_gnu_ld
+    fi
+  fi
+
+  # Start by getting the version number.  I think the libtool test already
+  # does some of this, but throws away the result.
+  glibcxx_ld_is_gold=no
+  if test x"$with_gnu_ld" = x"yes"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
+$as_echo_n "checking for ld version... " >&6; }
+
+    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
+      glibcxx_ld_is_gold=yes
+    fi
+    ldver=`$LD --version 2>/dev/null |
+          sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
+
+    glibcxx_gnu_ld_version=`echo $ldver | \
+          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
+$as_echo "$glibcxx_gnu_ld_version" >&6; }
+  fi
+
+  # Set --gc-sections.
+  glibcxx_have_gc_sections=no
+  if test "$glibcxx_ld_is_gold" = "yes"; then
+    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
+      glibcxx_have_gc_sections=yes
+    fi
+  else
+    glibcxx_gcsections_min_ld=21602
+    if test x"$with_gnu_ld" = x"yes" &&
+       test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
+      glibcxx_have_gc_sections=yes
+    fi
+  fi
+  if test "$glibcxx_have_gc_sections" = "yes"; then
+    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
+    # NB: This flag only works reliably after 2.16.1. Configure tests
+    # for this are difficult, so hard wire a value that should work.
+
+    ac_test_CFLAGS="${CFLAGS+set}"
+    ac_save_CFLAGS="$CFLAGS"
+    CFLAGS='-Wl,--gc-sections'
+
+    # Check for -Wl,--gc-sections
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
+$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
+    if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
+ int one(void) { return 1; }
+     int two(void) { return 2; }
+
 int
 main ()
 {
modfl(0, 0);
two();
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_modfl_use=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_gcsections=yes
 else
-  glibcxx_cv_func_modfl_use=no
+  ac_gcsections=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+    if test "$ac_gcsections" = "yes"; then
+      rm -f conftest.c
+      touch conftest.c
+      if $CC -c conftest.c; then
+       if $LD --gc-sections -o conftest conftest.o 2>&1 | \
+          grep "Warning: gc-sections option ignored" > /dev/null; then
+         ac_gcsections=no
+       fi
+      fi
+      rm -f conftest.c conftest.o conftest
+    fi
+    if test "$ac_gcsections" = "yes"; then
+      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
+$as_echo "$ac_gcsections" >&6; }
+
+    if test "$ac_test_CFLAGS" = set; then
+      CFLAGS="$ac_save_CFLAGS"
+    else
+      # this is the suspicious part
+      CFLAGS=''
+    fi
+  fi
+
+  # Set -z,relro.
+  # Note this is only for shared objects.
+  ac_ld_relro=no
+  if test x"$with_gnu_ld" = x"yes"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
+$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
+    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
+    if test -n "$cxx_z_relo"; then
+      OPT_LDFLAGS="-Wl,-z,relro"
+      ac_ld_relro=yes
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
+$as_echo "$ac_ld_relro" >&6; }
+  fi
+
+  # Set linker optimization flags.
+  if test x"$with_gnu_ld" = x"yes"; then
+    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
+  fi
+
+
+
+
+    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
+
+    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
+
+    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
+
+    if test x"long_double_math_on_this_cpu" = x"yes"; then
+      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
+
+      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
+
+      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
 
+    fi
+    for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
+do :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
 
 fi
+done
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
-$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
+    for ac_func in timespec_get
+do :
+  ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
+if test "x$ac_cv_func_timespec_get" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_TIMESPEC_GET 1
+_ACEOF
 
-  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
-    for ac_func in modfl
+fi
+done
+
+    for ac_func in sockatmark
 do :
-  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
-if test "x$ac_cv_func_modfl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
+if test "x$ac_cv_func_sockatmark" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_MODFL 1
+#define HAVE_SOCKATMARK 1
 _ACEOF
 
 fi
 done
 
-  else
+    ;;
+  *-qnx6.1* | *-qnx6.2*)
+    SECTION_FLAGS='-ffunction-sections -fdata-sections'
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
-$as_echo_n "checking for _modfl declaration... " >&6; }
-  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
 
+  # 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...
+  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
+  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
+
+
+
+  # The name set by libtool depends on the version of libtool.  Shame on us
+  # for depending on an impl detail, but c'est la vie.  Older versions used
+  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
+  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
+  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
+  # set (hence we're using an older libtool), then set it.
+  if test x${with_gnu_ld+set} != xset; then
+    if test x${ac_cv_prog_gnu_ld+set} != xset; then
+      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
+      with_gnu_ld=no
+    else
+      with_gnu_ld=$ac_cv_prog_gnu_ld
+    fi
+  fi
+
+  # Start by getting the version number.  I think the libtool test already
+  # does some of this, but throws away the result.
+  glibcxx_ld_is_gold=no
+  if test x"$with_gnu_ld" = x"yes"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
+$as_echo_n "checking for ld version... " >&6; }
+
+    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
+      glibcxx_ld_is_gold=yes
+    fi
+    ldver=`$LD --version 2>/dev/null |
+          sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
+
+    glibcxx_gnu_ld_version=`echo $ldver | \
+          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
+$as_echo "$glibcxx_gnu_ld_version" >&6; }
+  fi
+
+  # Set --gc-sections.
+  glibcxx_have_gc_sections=no
+  if test "$glibcxx_ld_is_gold" = "yes"; then
+    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
+      glibcxx_have_gc_sections=yes
+    fi
+  else
+    glibcxx_gcsections_min_ld=21602
+    if test x"$with_gnu_ld" = x"yes" &&
+       test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
+      glibcxx_have_gc_sections=yes
+    fi
+  fi
+  if test "$glibcxx_have_gc_sections" = "yes"; then
+    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
+    # NB: This flag only works reliably after 2.16.1. Configure tests
+    # for this are difficult, so hard wire a value that should work.
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+    ac_test_CFLAGS="${CFLAGS+set}"
+    ac_save_CFLAGS="$CFLAGS"
+    CFLAGS='-Wl,--gc-sections'
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    # Check for -Wl,--gc-sections
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
+$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
+    if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
+ int one(void) { return 1; }
+     int two(void) { return 2; }
+
 int
 main ()
 {
_modfl(0, 0);
two();
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__modfl_use=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_gcsections=yes
 else
-  glibcxx_cv_func__modfl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
+  ac_gcsections=no
 fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+    if test "$ac_gcsections" = "yes"; then
+      rm -f conftest.c
+      touch conftest.c
+      if $CC -c conftest.c; then
+       if $LD --gc-sections -o conftest conftest.o 2>&1 | \
+          grep "Warning: gc-sections option ignored" > /dev/null; then
+         ac_gcsections=no
+       fi
+      fi
+      rm -f conftest.c conftest.o conftest
+    fi
+    if test "$ac_gcsections" = "yes"; then
+      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
+$as_echo "$ac_gcsections" >&6; }
 
+    if test "$ac_test_CFLAGS" = set; then
+      CFLAGS="$ac_save_CFLAGS"
+    else
+      # this is the suspicious part
+      CFLAGS=''
+    fi
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
-$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
-
-    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
-      for ac_func in _modfl
-do :
-  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
-if test "x$ac_cv_func__modfl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__MODFL 1
-_ACEOF
-
-fi
-done
 
+  # Set -z,relro.
+  # Note this is only for shared objects.
+  ac_ld_relro=no
+  if test x"$with_gnu_ld" = x"yes"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
+$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
+    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
+    if test -n "$cxx_z_relo"; then
+      OPT_LDFLAGS="-Wl,-z,relro"
+      ac_ld_relro=yes
     fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
+$as_echo "$ac_ld_relro" >&6; }
   fi
 
+  # Set linker optimization flags.
+  if test x"$with_gnu_ld" = x"yes"; then
+    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
+  fi
 
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
-$as_echo_n "checking for powl declaration... " >&6; }
-  if test x${glibcxx_cv_func_powl_use+set} != xset; then
-    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
+    $as_echo "#define HAVE_COSF 1" >>confdefs.h
 
+    $as_echo "#define HAVE_COSL 1" >>confdefs.h
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- powl(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_powl_use=yes
-else
-  glibcxx_cv_func_powl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+    $as_echo "#define HAVE_COSHL 1" >>confdefs.h
 
+    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
 
-fi
+    $as_echo "#define HAVE_LOGL 1" >>confdefs.h
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
-$as_echo "$glibcxx_cv_func_powl_use" >&6; }
+    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
 
-  if test x$glibcxx_cv_func_powl_use = x"yes"; then
-    for ac_func in powl
-do :
-  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
-if test "x$ac_cv_func_powl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_POWL 1
-_ACEOF
+    $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
 
-fi
-done
+    $as_echo "#define HAVE_SINF 1" >>confdefs.h
 
-  else
+    $as_echo "#define HAVE_SINL 1" >>confdefs.h
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
-$as_echo_n "checking for _powl declaration... " >&6; }
-  if test x${glibcxx_cv_func__powl_use+set} != xset; then
-    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
+    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_SINHL 1" >>confdefs.h
 
+    ;;
+  *-rtems*)
 
-      ac_ext=cpp
+  # 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 GLIBCXX_CONFIGURE.
+
+  ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  ac_test_CXXFLAGS="${CXXFLAGS+set}"
+  ac_save_CXXFLAGS="$CXXFLAGS"
+
+  # Check for -ffunction-sections -fdata-sections
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
+$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
+  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
+int foo; void bar() { };
 int
 main ()
 {
- _powl(0, 0);
+
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__powl_use=yes
+  ac_fdsections=yes
 else
-  glibcxx_cv_func__powl_use=no
+  ac_fdsections=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+  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"; then
+    SECTION_FLAGS='-ffunction-sections -fdata-sections'
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
+$as_echo "$ac_fdsections" >&6; }
+
+  ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
-$as_echo "$glibcxx_cv_func__powl_use" >&6; }
 
-    if test x$glibcxx_cv_func__powl_use = x"yes"; then
-      for ac_func in _powl
-do :
-  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
-if test "x$ac_cv_func__powl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__POWL 1
-_ACEOF
+  # 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...
+  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
+  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
 
-fi
-done
 
+
+  # The name set by libtool depends on the version of libtool.  Shame on us
+  # for depending on an impl detail, but c'est la vie.  Older versions used
+  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
+  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
+  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
+  # set (hence we're using an older libtool), then set it.
+  if test x${with_gnu_ld+set} != xset; then
+    if test x${ac_cv_prog_gnu_ld+set} != xset; then
+      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
+      with_gnu_ld=no
+    else
+      with_gnu_ld=$ac_cv_prog_gnu_ld
     fi
   fi
 
+  # Start by getting the version number.  I think the libtool test already
+  # does some of this, but throws away the result.
+  glibcxx_ld_is_gold=no
+  if test x"$with_gnu_ld" = x"yes"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
+$as_echo_n "checking for ld version... " >&6; }
 
+    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
+      glibcxx_ld_is_gold=yes
+    fi
+    ldver=`$LD --version 2>/dev/null |
+          sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
 
+    glibcxx_gnu_ld_version=`echo $ldver | \
+          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
+$as_echo "$glibcxx_gnu_ld_version" >&6; }
+  fi
 
+  # Set --gc-sections.
+  glibcxx_have_gc_sections=no
+  if test "$glibcxx_ld_is_gold" = "yes"; then
+    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
+      glibcxx_have_gc_sections=yes
+    fi
+  else
+    glibcxx_gcsections_min_ld=21602
+    if test x"$with_gnu_ld" = x"yes" &&
+       test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
+      glibcxx_have_gc_sections=yes
+    fi
+  fi
+  if test "$glibcxx_have_gc_sections" = "yes"; then
+    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
+    # NB: This flag only works reliably after 2.16.1. Configure tests
+    # for this are difficult, so hard wire a value that should work.
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
-$as_echo_n "checking for sqrtl declaration... " >&6; }
-  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+    ac_test_CFLAGS="${CFLAGS+set}"
+    ac_save_CFLAGS="$CFLAGS"
+    CFLAGS='-Wl,--gc-sections'
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    # Check for -Wl,--gc-sections
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
+$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
+    if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
+ int one(void) { return 1; }
+     int two(void) { return 2; }
 
 int
 main ()
 {
sqrtl(0);
two();
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sqrtl_use=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_gcsections=yes
 else
-  glibcxx_cv_func_sqrtl_use=no
+  ac_gcsections=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+    if test "$ac_gcsections" = "yes"; then
+      rm -f conftest.c
+      touch conftest.c
+      if $CC -c conftest.c; then
+       if $LD --gc-sections -o conftest conftest.o 2>&1 | \
+          grep "Warning: gc-sections option ignored" > /dev/null; then
+         ac_gcsections=no
+       fi
+      fi
+      rm -f conftest.c conftest.o conftest
+    fi
+    if test "$ac_gcsections" = "yes"; then
+      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
+$as_echo "$ac_gcsections" >&6; }
 
-fi
+    if test "$ac_test_CFLAGS" = set; then
+      CFLAGS="$ac_save_CFLAGS"
+    else
+      # this is the suspicious part
+      CFLAGS=''
+    fi
+  fi
 
+  # Set -z,relro.
+  # Note this is only for shared objects.
+  ac_ld_relro=no
+  if test x"$with_gnu_ld" = x"yes"; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
+$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
+    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
+    if test -n "$cxx_z_relo"; then
+      OPT_LDFLAGS="-Wl,-z,relro"
+      ac_ld_relro=yes
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
+$as_echo "$ac_ld_relro" >&6; }
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
-$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
 
-  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
-    for ac_func in sqrtl
-do :
-  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
-if test "x$ac_cv_func_sqrtl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_SQRTL 1
-_ACEOF
+  # Set linker optimization flags.
+  if test x"$with_gnu_ld" = x"yes"; then
+    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
+  fi
 
-fi
-done
 
-  else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
-$as_echo_n "checking for _sqrtl declaration... " >&6; }
-  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+  ac_test_CXXFLAGS="${CXXFLAGS+set}"
+  ac_save_CXXFLAGS="$CXXFLAGS"
+  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
+$as_echo_n "checking for sin in -lm... " >&6; }
+if ${ac_cv_lib_m_sin+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm  $LIBS"
+if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
 
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char sin ();
 int
 main ()
 {
- _sqrtl(0);
+return sin ();
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sqrtl_use=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_m_sin=yes
 else
-  glibcxx_cv_func__sqrtl_use=no
+  ac_cv_lib_m_sin=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
-$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
-
-    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
-      for ac_func in _sqrtl
-do :
-  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
-if test "x$ac_cv_func__sqrtl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__SQRTL 1
-_ACEOF
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
+$as_echo "$ac_cv_lib_m_sin" >&6; }
+if test "x$ac_cv_lib_m_sin" = xyes; then :
+  libm="-lm"
 fi
-done
-
-    fi
-  fi
-
 
+  ac_save_LIBS="$LIBS"
+  LIBS="$LIBS $libm"
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
-$as_echo_n "checking for sincosl declaration... " >&6; }
-  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
+$as_echo_n "checking for isinf declaration... " >&6; }
+  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
+    if ${glibcxx_cv_func_isinf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -64533,18 +61391,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
sincosl(0, 0, 0);
isinf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sincosl_use=yes
+  glibcxx_cv_func_isinf_use=yes
 else
-  glibcxx_cv_func_sincosl_use=no
+  glibcxx_cv_func_isinf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -64557,16 +61419,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
-$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
+$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
 
-  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
-    for ac_func in sincosl
+  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
+    for ac_func in isinf
 do :
-  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
-if test "x$ac_cv_func_sincosl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
+if test "x$ac_cv_func_isinf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SINCOSL 1
+#define HAVE_ISINF 1
 _ACEOF
 
 fi
@@ -64574,10 +61436,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
-$as_echo_n "checking for _sincosl declaration... " >&6; }
-  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
+$as_echo_n "checking for _isinf declaration... " >&6; }
+  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
+    if ${glibcxx_cv_func__isinf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -64591,18 +61453,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _sincosl(0, 0, 0);
+ _isinf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sincosl_use=yes
+  glibcxx_cv_func__isinf_use=yes
 else
-  glibcxx_cv_func__sincosl_use=no
+  glibcxx_cv_func__isinf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -64615,16 +61481,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
-$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
+$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
 
-    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
-      for ac_func in _sincosl
+    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
+      for ac_func in _isinf
 do :
-  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
-if test "x$ac_cv_func__sincosl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
+if test "x$ac_cv_func__isinf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__SINCOSL 1
+#define HAVE__ISINF 1
 _ACEOF
 
 fi
@@ -64637,10 +61503,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
-$as_echo_n "checking for finitel declaration... " >&6; }
-  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
+$as_echo_n "checking for isnan declaration... " >&6; }
+  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
+    if ${glibcxx_cv_func_isnan_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -64661,15 +61527,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
finitel(0);
isnan(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_finitel_use=yes
+  glibcxx_cv_func_isnan_use=yes
 else
-  glibcxx_cv_func_finitel_use=no
+  glibcxx_cv_func_isnan_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -64682,16 +61548,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
-$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
-
-  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
-    for ac_func in finitel
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
+$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
+
+  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
+    for ac_func in isnan
 do :
-  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
-if test "x$ac_cv_func_finitel" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
+if test "x$ac_cv_func_isnan" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FINITEL 1
+#define HAVE_ISNAN 1
 _ACEOF
 
 fi
@@ -64699,10 +61565,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
-$as_echo_n "checking for _finitel declaration... " >&6; }
-  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
+$as_echo_n "checking for _isnan declaration... " >&6; }
+  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
+    if ${glibcxx_cv_func__isnan_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -64723,15 +61589,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _finitel(0);
+ _isnan(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__finitel_use=yes
+  glibcxx_cv_func__isnan_use=yes
 else
-  glibcxx_cv_func__finitel_use=no
+  glibcxx_cv_func__isnan_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -64744,16 +61610,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
-$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
+$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
 
-    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
-      for ac_func in _finitel
+    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
+      for ac_func in _isnan
 do :
-  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
-if test "x$ac_cv_func__finitel" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
+if test "x$ac_cv_func__isnan" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FINITEL 1
+#define HAVE__ISNAN 1
 _ACEOF
 
 fi
@@ -64765,19 +61631,11 @@ done
 
 
 
-  LIBS="$ac_save_LIBS"
-  CXXFLAGS="$ac_save_CXXFLAGS"
-
-
-  ac_test_CXXFLAGS="${CXXFLAGS+set}"
-  ac_save_CXXFLAGS="$CXXFLAGS"
-  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
-
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
-$as_echo_n "checking for at_quick_exit declaration... " >&6; }
-  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
+$as_echo_n "checking for finite declaration... " >&6; }
+  if test x${glibcxx_cv_func_finite_use+set} != xset; then
+    if ${glibcxx_cv_func_finite_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -64790,19 +61648,23 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
at_quick_exit(0);
finite(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_at_quick_exit_use=yes
+  glibcxx_cv_func_finite_use=yes
 else
-  glibcxx_cv_func_at_quick_exit_use=no
+  glibcxx_cv_func_finite_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -64815,27 +61677,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
-$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
-  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
-    for ac_func in at_quick_exit
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
+$as_echo "$glibcxx_cv_func_finite_use" >&6; }
+
+  if test x$glibcxx_cv_func_finite_use = x"yes"; then
+    for ac_func in finite
 do :
-  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
-if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
+if test "x$ac_cv_func_finite" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_AT_QUICK_EXIT 1
+#define HAVE_FINITE 1
 _ACEOF
 
 fi
 done
 
-  fi
-
+  else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
-$as_echo_n "checking for quick_exit declaration... " >&6; }
-  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
+$as_echo_n "checking for _finite declaration... " >&6; }
+  if test x${glibcxx_cv_func__finite_use+set} != xset; then
+    if ${glibcxx_cv_func__finite_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -64848,19 +61710,23 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
quick_exit(0);
_finite(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_quick_exit_use=yes
+  glibcxx_cv_func__finite_use=yes
 else
-  glibcxx_cv_func_quick_exit_use=no
+  glibcxx_cv_func__finite_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -64873,27 +61739,32 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
-$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
-  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
-    for ac_func in quick_exit
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
+$as_echo "$glibcxx_cv_func__finite_use" >&6; }
+
+    if test x$glibcxx_cv_func__finite_use = x"yes"; then
+      for ac_func in _finite
 do :
-  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
-if test "x$ac_cv_func_quick_exit" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
+if test "x$ac_cv_func__finite" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_QUICK_EXIT 1
+#define HAVE__FINITE 1
 _ACEOF
 
 fi
 done
 
+    fi
   fi
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
-$as_echo_n "checking for strtold declaration... " >&6; }
-  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
+$as_echo_n "checking for sincos declaration... " >&6; }
+  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
+    if ${glibcxx_cv_func_sincos_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -64906,19 +61777,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+#include <math.h>
 int
 main ()
 {
- strtold(0, 0);
+ sincos(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_strtold_use=yes
+  glibcxx_cv_func_sincos_use=yes
 else
-  glibcxx_cv_func_strtold_use=no
+  glibcxx_cv_func_sincos_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -64931,29 +61802,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
-$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
-  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
-    for ac_func in strtold
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
+$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
+
+  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
+    for ac_func in sincos
 do :
-  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
-if test "x$ac_cv_func_strtold" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
+if test "x$ac_cv_func_sincos" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_STRTOLD 1
+#define HAVE_SINCOS 1
 _ACEOF
 
 fi
 done
 
-  fi
-
-
-
+  else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
-$as_echo_n "checking for strtof declaration... " >&6; }
-  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
+$as_echo_n "checking for _sincos declaration... " >&6; }
+  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
+    if ${glibcxx_cv_func__sincos_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -64966,19 +61835,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+#include <math.h>
 int
 main ()
 {
strtof(0, 0);
_sincos(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_strtof_use=yes
+  glibcxx_cv_func__sincos_use=yes
 else
-  glibcxx_cv_func_strtof_use=no
+  glibcxx_cv_func__sincos_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -64991,622 +61860,290 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
-$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
-  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
-    for ac_func in strtof
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
+$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
+
+    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
+      for ac_func in _sincos
 do :
-  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
-if test "x$ac_cv_func_strtof" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
+if test "x$ac_cv_func__sincos" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_STRTOF 1
+#define HAVE__SINCOS 1
 _ACEOF
 
 fi
 done
 
-  fi
-
-
-
-
-  CXXFLAGS="$ac_save_CXXFLAGS"
-
-    ;;
-  *-netbsd*)
-    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...
-  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
-  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
-
-
-
-  # The name set by libtool depends on the version of libtool.  Shame on us
-  # for depending on an impl detail, but c'est la vie.  Older versions used
-  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
-  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
-  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
-  # set (hence we're using an older libtool), then set it.
-  if test x${with_gnu_ld+set} != xset; then
-    if test x${ac_cv_prog_gnu_ld+set} != xset; then
-      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
-      with_gnu_ld=no
-    else
-      with_gnu_ld=$ac_cv_prog_gnu_ld
     fi
   fi
 
-  # Start by getting the version number.  I think the libtool test already
-  # does some of this, but throws away the result.
-  glibcxx_ld_is_gold=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
-$as_echo_n "checking for ld version... " >&6; }
-
-    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
-      glibcxx_ld_is_gold=yes
-    fi
-    ldver=`$LD --version 2>/dev/null |
-          sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
-
-    glibcxx_gnu_ld_version=`echo $ldver | \
-          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
-$as_echo "$glibcxx_gnu_ld_version" >&6; }
-  fi
 
-  # Set --gc-sections.
-  glibcxx_have_gc_sections=no
-  if test "$glibcxx_ld_is_gold" = "yes"; then
-    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
-      glibcxx_have_gc_sections=yes
-    fi
-  else
-    glibcxx_gcsections_min_ld=21602
-    if test x"$with_gnu_ld" = x"yes" &&
-       test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
-      glibcxx_have_gc_sections=yes
-    fi
-  fi
-  if test "$glibcxx_have_gc_sections" = "yes"; then
-    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
-    # NB: This flag only works reliably after 2.16.1. Configure tests
-    # for this are difficult, so hard wire a value that should work.
 
-    ac_test_CFLAGS="${CFLAGS+set}"
-    ac_save_CFLAGS="$CFLAGS"
-    CFLAGS='-Wl,--gc-sections'
 
-    # Check for -Wl,--gc-sections
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
-$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
-    if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
- int one(void) { return 1; }
-     int two(void) { return 2; }
 
-int
-main ()
-{
- two();
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_gcsections=yes
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
+$as_echo_n "checking for fpclass declaration... " >&6; }
+  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
+    if ${glibcxx_cv_func_fpclass_use+:} false; then :
+  $as_echo_n "(cached) " >&6
 else
-  ac_gcsections=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-    if test "$ac_gcsections" = "yes"; then
-      rm -f conftest.c
-      touch conftest.c
-      if $CC -c conftest.c; then
-       if $LD --gc-sections -o conftest conftest.o 2>&1 | \
-          grep "Warning: gc-sections option ignored" > /dev/null; then
-         ac_gcsections=no
-       fi
-      fi
-      rm -f conftest.c conftest.o conftest
-    fi
-    if test "$ac_gcsections" = "yes"; then
-      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
-$as_echo "$ac_gcsections" >&6; }
-
-    if test "$ac_test_CFLAGS" = set; then
-      CFLAGS="$ac_save_CFLAGS"
-    else
-      # this is the suspicious part
-      CFLAGS=''
-    fi
-  fi
-
-  # Set -z,relro.
-  # Note this is only for shared objects.
-  ac_ld_relro=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
-$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
-    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
-    if test -n "$cxx_z_relo"; then
-      OPT_LDFLAGS="-Wl,-z,relro"
-      ac_ld_relro=yes
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
-$as_echo "$ac_ld_relro" >&6; }
-  fi
-
-  # Set linker optimization flags.
-  if test x"$with_gnu_ld" = x"yes"; then
-    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
-  fi
-
-
-
-
-    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
-
-    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
-
-    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
-
-    if test x"long_double_math_on_this_cpu" = x"yes"; then
-      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
-
-      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
-
-      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
-
-    fi
-    ;;
-  *-qnx6.1* | *-qnx6.2*)
-    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...
-  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
-  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
-
-
-
-  # The name set by libtool depends on the version of libtool.  Shame on us
-  # for depending on an impl detail, but c'est la vie.  Older versions used
-  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
-  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
-  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
-  # set (hence we're using an older libtool), then set it.
-  if test x${with_gnu_ld+set} != xset; then
-    if test x${ac_cv_prog_gnu_ld+set} != xset; then
-      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
-      with_gnu_ld=no
-    else
-      with_gnu_ld=$ac_cv_prog_gnu_ld
-    fi
-  fi
-
-  # Start by getting the version number.  I think the libtool test already
-  # does some of this, but throws away the result.
-  glibcxx_ld_is_gold=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
-$as_echo_n "checking for ld version... " >&6; }
 
-    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
-      glibcxx_ld_is_gold=yes
-    fi
-    ldver=`$LD --version 2>/dev/null |
-          sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
-
-    glibcxx_gnu_ld_version=`echo $ldver | \
-          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
-$as_echo "$glibcxx_gnu_ld_version" >&6; }
-  fi
-
-  # Set --gc-sections.
-  glibcxx_have_gc_sections=no
-  if test "$glibcxx_ld_is_gold" = "yes"; then
-    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
-      glibcxx_have_gc_sections=yes
-    fi
-  else
-    glibcxx_gcsections_min_ld=21602
-    if test x"$with_gnu_ld" = x"yes" &&
-       test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
-      glibcxx_have_gc_sections=yes
-    fi
-  fi
-  if test "$glibcxx_have_gc_sections" = "yes"; then
-    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
-    # NB: This flag only works reliably after 2.16.1. Configure tests
-    # for this are difficult, so hard wire a value that should work.
 
-    ac_test_CFLAGS="${CFLAGS+set}"
-    ac_save_CFLAGS="$CFLAGS"
-    CFLAGS='-Wl,--gc-sections'
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    # Check for -Wl,--gc-sections
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
-$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
-    if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
- int one(void) { return 1; }
-     int two(void) { return 2; }
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
 
 int
 main ()
 {
two();
fpclass(0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_gcsections=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func_fpclass_use=yes
 else
-  ac_gcsections=no
+  glibcxx_cv_func_fpclass_use=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-    if test "$ac_gcsections" = "yes"; then
-      rm -f conftest.c
-      touch conftest.c
-      if $CC -c conftest.c; then
-       if $LD --gc-sections -o conftest conftest.o 2>&1 | \
-          grep "Warning: gc-sections option ignored" > /dev/null; then
-         ac_gcsections=no
-       fi
-      fi
-      rm -f conftest.c conftest.o conftest
-    fi
-    if test "$ac_gcsections" = "yes"; then
-      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
-$as_echo "$ac_gcsections" >&6; }
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-    if test "$ac_test_CFLAGS" = set; then
-      CFLAGS="$ac_save_CFLAGS"
-    else
-      # this is the suspicious part
-      CFLAGS=''
-    fi
-  fi
 
-  # Set -z,relro.
-  # Note this is only for shared objects.
-  ac_ld_relro=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
-$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
-    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
-    if test -n "$cxx_z_relo"; then
-      OPT_LDFLAGS="-Wl,-z,relro"
-      ac_ld_relro=yes
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
-$as_echo "$ac_ld_relro" >&6; }
-  fi
+fi
 
-  # Set linker optimization flags.
-  if test x"$with_gnu_ld" = x"yes"; then
-    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
   fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
+$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
 
+  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
+    for ac_func in fpclass
+do :
+  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
+if test "x$ac_cv_func_fpclass" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_FPCLASS 1
+_ACEOF
 
+fi
+done
 
+  else
 
-    $as_echo "#define HAVE_COSF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_COSL 1" >>confdefs.h
-
-    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_COSHL 1" >>confdefs.h
-
-    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_LOGL 1" >>confdefs.h
-
-    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
-
-    $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
-
-    $as_echo "#define HAVE_SINF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_SINL 1" >>confdefs.h
-
-    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
-
-    $as_echo "#define HAVE_SINHL 1" >>confdefs.h
-
-    ;;
-  *-rtems*)
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
+$as_echo_n "checking for _fpclass declaration... " >&6; }
+  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
+    if ${glibcxx_cv_func__fpclass_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
-  # 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 GLIBCXX_CONFIGURE.
 
-  ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-  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
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
-$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
-  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
-  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-int foo; void bar() { };
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
-
+ _fpclass(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  ac_fdsections=yes
+  glibcxx_cv_func__fpclass_use=yes
 else
-  ac_fdsections=no
+  glibcxx_cv_func__fpclass_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-  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"; then
-    SECTION_FLAGS='-ffunction-sections -fdata-sections'
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
-$as_echo "$ac_fdsections" >&6; }
-
-  ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
+fi
 
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
+$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
 
+    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
+      for ac_func in _fpclass
+do :
+  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
+if test "x$ac_cv_func__fpclass" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE__FPCLASS 1
+_ACEOF
 
-  # 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...
-  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
-  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
-
-
+fi
+done
 
-  # The name set by libtool depends on the version of libtool.  Shame on us
-  # for depending on an impl detail, but c'est la vie.  Older versions used
-  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
-  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
-  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
-  # set (hence we're using an older libtool), then set it.
-  if test x${with_gnu_ld+set} != xset; then
-    if test x${ac_cv_prog_gnu_ld+set} != xset; then
-      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
-      with_gnu_ld=no
-    else
-      with_gnu_ld=$ac_cv_prog_gnu_ld
     fi
   fi
 
-  # Start by getting the version number.  I think the libtool test already
-  # does some of this, but throws away the result.
-  glibcxx_ld_is_gold=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
-$as_echo_n "checking for ld version... " >&6; }
 
-    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
-      glibcxx_ld_is_gold=yes
-    fi
-    ldver=`$LD --version 2>/dev/null |
-          sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
 
-    glibcxx_gnu_ld_version=`echo $ldver | \
-          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
-$as_echo "$glibcxx_gnu_ld_version" >&6; }
-  fi
 
-  # Set --gc-sections.
-  glibcxx_have_gc_sections=no
-  if test "$glibcxx_ld_is_gold" = "yes"; then
-    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
-      glibcxx_have_gc_sections=yes
-    fi
-  else
-    glibcxx_gcsections_min_ld=21602
-    if test x"$with_gnu_ld" = x"yes" &&
-       test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
-      glibcxx_have_gc_sections=yes
-    fi
-  fi
-  if test "$glibcxx_have_gc_sections" = "yes"; then
-    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
-    # NB: This flag only works reliably after 2.16.1. Configure tests
-    # for this are difficult, so hard wire a value that should work.
 
-    ac_test_CFLAGS="${CFLAGS+set}"
-    ac_save_CFLAGS="$CFLAGS"
-    CFLAGS='-Wl,--gc-sections'
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
+$as_echo_n "checking for qfpclass declaration... " >&6; }
+  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
+    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
-    # Check for -Wl,--gc-sections
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
-$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
-    if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
- int one(void) { return 1; }
-     int two(void) { return 2; }
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
 
 int
 main ()
 {
two();
qfpclass(0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_gcsections=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func_qfpclass_use=yes
 else
-  ac_gcsections=no
+  glibcxx_cv_func_qfpclass_use=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-    if test "$ac_gcsections" = "yes"; then
-      rm -f conftest.c
-      touch conftest.c
-      if $CC -c conftest.c; then
-       if $LD --gc-sections -o conftest conftest.o 2>&1 | \
-          grep "Warning: gc-sections option ignored" > /dev/null; then
-         ac_gcsections=no
-       fi
-      fi
-      rm -f conftest.c conftest.o conftest
-    fi
-    if test "$ac_gcsections" = "yes"; then
-      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
-$as_echo "$ac_gcsections" >&6; }
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-    if test "$ac_test_CFLAGS" = set; then
-      CFLAGS="$ac_save_CFLAGS"
-    else
-      # this is the suspicious part
-      CFLAGS=''
-    fi
-  fi
 
-  # Set -z,relro.
-  # Note this is only for shared objects.
-  ac_ld_relro=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
-$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
-    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
-    if test -n "$cxx_z_relo"; then
-      OPT_LDFLAGS="-Wl,-z,relro"
-      ac_ld_relro=yes
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
-$as_echo "$ac_ld_relro" >&6; }
-  fi
+fi
 
-  # Set linker optimization flags.
-  if test x"$with_gnu_ld" = x"yes"; then
-    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
   fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
+$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
 
+  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
+    for ac_func in qfpclass
+do :
+  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
+if test "x$ac_cv_func_qfpclass" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_QFPCLASS 1
+_ACEOF
 
+fi
+done
 
+  else
 
-
-  ac_test_CXXFLAGS="${CXXFLAGS+set}"
-  ac_save_CXXFLAGS="$CXXFLAGS"
-  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
-
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
-$as_echo_n "checking for sin in -lm... " >&6; }
-if test "${ac_cv_lib_m_sin+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
+$as_echo_n "checking for _qfpclass declaration... " >&6; }
+  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
+    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lm  $LIBS"
-if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+
+
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
 
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char sin ();
 int
 main ()
 {
-return sin ();
+ _qfpclass(0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_m_sin=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func__qfpclass_use=yes
 else
-  ac_cv_lib_m_sin=no
+  glibcxx_cv_func__qfpclass_use=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
-$as_echo "$ac_cv_lib_m_sin" >&6; }
-if test "x$ac_cv_lib_m_sin" = x""yes; then :
-  libm="-lm"
+
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
+$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
+
+    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
+      for ac_func in _qfpclass
+do :
+  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
+if test "x$ac_cv_func__qfpclass" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE__QFPCLASS 1
+_ACEOF
+
 fi
+done
 
-  ac_save_LIBS="$LIBS"
-  LIBS="$LIBS $libm"
+    fi
+  fi
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
-$as_echo_n "checking for isinf declaration... " >&6; }
-  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
+$as_echo_n "checking for hypot declaration... " >&6; }
+  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
+    if ${glibcxx_cv_func_hypot_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -65620,22 +62157,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
isinf(0);
hypot(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isinf_use=yes
+  glibcxx_cv_func_hypot_use=yes
 else
-  glibcxx_cv_func_isinf_use=no
+  glibcxx_cv_func_hypot_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -65648,16 +62181,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
-$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
+$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
 
-  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
-    for ac_func in isinf
+  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
+    for ac_func in hypot
 do :
-  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
-if test "x$ac_cv_func_isinf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
+if test "x$ac_cv_func_hypot" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISINF 1
+#define HAVE_HYPOT 1
 _ACEOF
 
 fi
@@ -65665,10 +62198,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
-$as_echo_n "checking for _isinf declaration... " >&6; }
-  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
+$as_echo_n "checking for _hypot declaration... " >&6; }
+  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
+    if ${glibcxx_cv_func__hypot_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -65682,22 +62215,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isinf(0);
+ _hypot(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isinf_use=yes
+  glibcxx_cv_func__hypot_use=yes
 else
-  glibcxx_cv_func__isinf_use=no
+  glibcxx_cv_func__hypot_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -65710,16 +62239,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
-$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
+$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
 
-    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
-      for ac_func in _isinf
+    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
+      for ac_func in _hypot
 do :
-  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
-if test "x$ac_cv_func__isinf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
+if test "x$ac_cv_func__hypot" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISINF 1
+#define HAVE__HYPOT 1
 _ACEOF
 
 fi
@@ -65732,72 +62261,63 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
-$as_echo_n "checking for isnan declaration... " >&6; }
-  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
+$as_echo_n "checking for float trig functions... " >&6; }
+  if ${glibcxx_cv_func_float_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- isnan(0);
+acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isnan_use=yes
+  glibcxx_cv_func_float_trig_use=yes
 else
-  glibcxx_cv_func_isnan_use=no
+  glibcxx_cv_func_float_trig_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
-$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
-
-  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
-    for ac_func in isnan
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
+$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
+  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
+    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
 do :
-  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
-if test "x$ac_cv_func_isnan" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISNAN 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 done
 
   else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
-$as_echo_n "checking for _isnan declaration... " >&6; }
-  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
+$as_echo_n "checking for _float trig functions... " >&6; }
+    if ${glibcxx_cv_func__float_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -65811,22 +62331,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isnan(0);
+_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isnan_use=yes
+  glibcxx_cv_func__float_trig_use=yes
 else
-  glibcxx_cv_func__isnan_use=no
+  glibcxx_cv_func__float_trig_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -65835,20 +62351,18 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
-$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
-
-    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
-      for ac_func in _isnan
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
+$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
+    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
+      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
 do :
-  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
-if test "x$ac_cv_func__isnan" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISNAN 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -65861,72 +62375,63 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
-$as_echo_n "checking for finite declaration... " >&6; }
-  if test x${glibcxx_cv_func_finite_use+set} != xset; then
-    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
+$as_echo_n "checking for float round functions... " >&6; }
+  if ${glibcxx_cv_func_float_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- finite(0);
+ceilf (0); floorf (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_finite_use=yes
+  glibcxx_cv_func_float_round_use=yes
 else
-  glibcxx_cv_func_finite_use=no
+  glibcxx_cv_func_float_round_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
-$as_echo "$glibcxx_cv_func_finite_use" >&6; }
-
-  if test x$glibcxx_cv_func_finite_use = x"yes"; then
-    for ac_func in finite
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
+$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
+  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
+    for ac_func in ceilf floorf
 do :
-  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
-if test "x$ac_cv_func_finite" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FINITE 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 done
 
   else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
-$as_echo_n "checking for _finite declaration... " >&6; }
-  if test x${glibcxx_cv_func__finite_use+set} != xset; then
-    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
+$as_echo_n "checking for _float round functions... " >&6; }
+    if ${glibcxx_cv_func__float_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -65940,22 +62445,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _finite(0);
+_ceilf (0); _floorf (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__finite_use=yes
+  glibcxx_cv_func__float_round_use=yes
 else
-  glibcxx_cv_func__finite_use=no
+  glibcxx_cv_func__float_round_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -65964,20 +62465,18 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
-$as_echo "$glibcxx_cv_func__finite_use" >&6; }
-
-    if test x$glibcxx_cv_func__finite_use = x"yes"; then
-      for ac_func in _finite
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
+$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
+    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
+      for ac_func in _ceilf _floorf
 do :
-  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
-if test "x$ac_cv_func__finite" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FINITE 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -65990,10 +62489,11 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
-$as_echo_n "checking for sincos declaration... " >&6; }
-  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
+$as_echo_n "checking for expf declaration... " >&6; }
+  if test x${glibcxx_cv_func_expf_use+set} != xset; then
+    if ${glibcxx_cv_func_expf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -66007,18 +62507,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
sincos(0, 0, 0);
expf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sincos_use=yes
+  glibcxx_cv_func_expf_use=yes
 else
-  glibcxx_cv_func_sincos_use=no
+  glibcxx_cv_func_expf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -66031,16 +62535,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
-$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
+$as_echo "$glibcxx_cv_func_expf_use" >&6; }
 
-  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
-    for ac_func in sincos
+  if test x$glibcxx_cv_func_expf_use = x"yes"; then
+    for ac_func in expf
 do :
-  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
-if test "x$ac_cv_func_sincos" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
+if test "x$ac_cv_func_expf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SINCOS 1
+#define HAVE_EXPF 1
 _ACEOF
 
 fi
@@ -66048,10 +62552,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
-$as_echo_n "checking for _sincos declaration... " >&6; }
-  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
+$as_echo_n "checking for _expf declaration... " >&6; }
+  if test x${glibcxx_cv_func__expf_use+set} != xset; then
+    if ${glibcxx_cv_func__expf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -66065,18 +62569,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _sincos(0, 0, 0);
+ _expf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sincos_use=yes
+  glibcxx_cv_func__expf_use=yes
 else
-  glibcxx_cv_func__sincos_use=no
+  glibcxx_cv_func__expf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -66089,16 +62597,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
-$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
+$as_echo "$glibcxx_cv_func__expf_use" >&6; }
 
-    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
-      for ac_func in _sincos
+    if test x$glibcxx_cv_func__expf_use = x"yes"; then
+      for ac_func in _expf
 do :
-  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
-if test "x$ac_cv_func__sincos" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
+if test "x$ac_cv_func__expf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__SINCOS 1
+#define HAVE__EXPF 1
 _ACEOF
 
 fi
@@ -66111,10 +62619,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
-$as_echo_n "checking for fpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
+$as_echo_n "checking for isnanf declaration... " >&6; }
+  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
+    if ${glibcxx_cv_func_isnanf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -66135,15 +62643,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
fpclass(0);
isnanf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fpclass_use=yes
+  glibcxx_cv_func_isnanf_use=yes
 else
-  glibcxx_cv_func_fpclass_use=no
+  glibcxx_cv_func_isnanf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -66156,16 +62664,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
-$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
+$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
 
-  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
-    for ac_func in fpclass
+  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
+    for ac_func in isnanf
 do :
-  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
-if test "x$ac_cv_func_fpclass" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
+if test "x$ac_cv_func_isnanf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FPCLASS 1
+#define HAVE_ISNANF 1
 _ACEOF
 
 fi
@@ -66173,10 +62681,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
-$as_echo_n "checking for _fpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
+$as_echo_n "checking for _isnanf declaration... " >&6; }
+  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
+    if ${glibcxx_cv_func__isnanf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -66197,15 +62705,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _fpclass(0);
+ _isnanf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fpclass_use=yes
+  glibcxx_cv_func__isnanf_use=yes
 else
-  glibcxx_cv_func__fpclass_use=no
+  glibcxx_cv_func__isnanf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -66218,16 +62726,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
-$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
+$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
 
-    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
-      for ac_func in _fpclass
+    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
+      for ac_func in _isnanf
 do :
-  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
-if test "x$ac_cv_func__fpclass" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
+if test "x$ac_cv_func__isnanf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FPCLASS 1
+#define HAVE__ISNANF 1
 _ACEOF
 
 fi
@@ -66240,10 +62748,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
-$as_echo_n "checking for qfpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
+$as_echo_n "checking for isinff declaration... " >&6; }
+  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
+    if ${glibcxx_cv_func_isinff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -66264,15 +62772,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
qfpclass(0);
isinff(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_qfpclass_use=yes
+  glibcxx_cv_func_isinff_use=yes
 else
-  glibcxx_cv_func_qfpclass_use=no
+  glibcxx_cv_func_isinff_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -66285,16 +62793,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
-$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
+$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
 
-  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
-    for ac_func in qfpclass
+  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
+    for ac_func in isinff
 do :
-  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
-if test "x$ac_cv_func_qfpclass" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
+if test "x$ac_cv_func_isinff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_QFPCLASS 1
+#define HAVE_ISINFF 1
 _ACEOF
 
 fi
@@ -66302,10 +62810,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
-$as_echo_n "checking for _qfpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
+$as_echo_n "checking for _isinff declaration... " >&6; }
+  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
+    if ${glibcxx_cv_func__isinff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -66326,15 +62834,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _qfpclass(0);
+ _isinff(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__qfpclass_use=yes
+  glibcxx_cv_func__isinff_use=yes
 else
-  glibcxx_cv_func__qfpclass_use=no
+  glibcxx_cv_func__isinff_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -66347,16 +62855,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
-$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
+$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
 
-    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
-      for ac_func in _qfpclass
+    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
+      for ac_func in _isinff
 do :
-  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
-if test "x$ac_cv_func__qfpclass" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
+if test "x$ac_cv_func__isinff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__QFPCLASS 1
+#define HAVE__ISINFF 1
 _ACEOF
 
 fi
@@ -66369,10 +62877,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
-$as_echo_n "checking for hypot declaration... " >&6; }
-  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
+$as_echo_n "checking for atan2f declaration... " >&6; }
+  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
+    if ${glibcxx_cv_func_atan2f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -66389,15 +62897,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
hypot(0, 0);
atan2f(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_hypot_use=yes
+  glibcxx_cv_func_atan2f_use=yes
 else
-  glibcxx_cv_func_hypot_use=no
+  glibcxx_cv_func_atan2f_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -66410,16 +62918,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
-$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
+$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
 
-  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
-    for ac_func in hypot
+  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
+    for ac_func in atan2f
 do :
-  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
-if test "x$ac_cv_func_hypot" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
+if test "x$ac_cv_func_atan2f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_HYPOT 1
+#define HAVE_ATAN2F 1
 _ACEOF
 
 fi
@@ -66427,10 +62935,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
-$as_echo_n "checking for _hypot declaration... " >&6; }
-  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
+$as_echo_n "checking for _atan2f declaration... " >&6; }
+  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
+    if ${glibcxx_cv_func__atan2f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -66447,15 +62955,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _hypot(0, 0);
+ _atan2f(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__hypot_use=yes
+  glibcxx_cv_func__atan2f_use=yes
 else
-  glibcxx_cv_func__hypot_use=no
+  glibcxx_cv_func__atan2f_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -66468,16 +62976,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
-$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
+$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
 
-    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
-      for ac_func in _hypot
+    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
+      for ac_func in _atan2f
 do :
-  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
-if test "x$ac_cv_func__hypot" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
+if test "x$ac_cv_func__atan2f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__HYPOT 1
+#define HAVE__ATAN2F 1
 _ACEOF
 
 fi
@@ -66490,64 +62998,72 @@ done
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
-$as_echo_n "checking for float trig functions... " >&6; }
-  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
+$as_echo_n "checking for fabsf declaration... " >&6; }
+  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
+    if ${glibcxx_cv_func_fabsf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-    ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
-acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
+ fabsf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_float_trig_use=yes
+  glibcxx_cv_func_fabsf_use=yes
 else
-  glibcxx_cv_func_float_trig_use=no
+  glibcxx_cv_func_fabsf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
-$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
-  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
-    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
+$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
+
+  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
+    for ac_func in fabsf
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
+if test "x$ac_cv_func_fabsf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_FABSF 1
 _ACEOF
 
 fi
 done
 
   else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
-$as_echo_n "checking for _float trig functions... " >&6; }
-    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
+$as_echo_n "checking for _fabsf declaration... " >&6; }
+  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
+    if ${glibcxx_cv_func__fabsf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -66561,18 +63077,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
-_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
+ _fabsf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__float_trig_use=yes
+  glibcxx_cv_func__fabsf_use=yes
 else
-  glibcxx_cv_func__float_trig_use=no
+  glibcxx_cv_func__fabsf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -66581,19 +63101,20 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
-$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
-    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
-      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
+$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
+
+    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
+      for ac_func in _fabsf
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
+if test "x$ac_cv_func__fabsf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE__FABSF 1
 _ACEOF
 
 fi
@@ -66606,64 +63127,68 @@ done
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
-$as_echo_n "checking for float round functions... " >&6; }
-  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
+$as_echo_n "checking for fmodf declaration... " >&6; }
+  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
+    if ${glibcxx_cv_func_fmodf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-    ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
-ceilf (0); floorf (0);
+ fmodf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_float_round_use=yes
+  glibcxx_cv_func_fmodf_use=yes
 else
-  glibcxx_cv_func_float_round_use=no
+  glibcxx_cv_func_fmodf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
-$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
-  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
-    for ac_func in ceilf floorf
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
+$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
+
+  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
+    for ac_func in fmodf
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
+if test "x$ac_cv_func_fmodf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_FMODF 1
 _ACEOF
 
 fi
 done
 
   else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
-$as_echo_n "checking for _float round functions... " >&6; }
-    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
+$as_echo_n "checking for _fmodf declaration... " >&6; }
+  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
+    if ${glibcxx_cv_func__fmodf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -66680,15 +63205,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
-_ceilf (0); _floorf (0);
+ _fmodf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__float_round_use=yes
+  glibcxx_cv_func__fmodf_use=yes
 else
-  glibcxx_cv_func__float_round_use=no
+  glibcxx_cv_func__fmodf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -66697,19 +63222,20 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
-$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
-    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
-      for ac_func in _ceilf _floorf
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
+$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
+
+    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
+      for ac_func in _fmodf
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
+if test "x$ac_cv_func__fmodf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE__FMODF 1
 _ACEOF
 
 fi
@@ -66722,11 +63248,10 @@ done
 
 
 
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
-$as_echo_n "checking for expf declaration... " >&6; }
-  if test x${glibcxx_cv_func_expf_use+set} != xset; then
-    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
+$as_echo_n "checking for frexpf declaration... " >&6; }
+  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
+    if ${glibcxx_cv_func_frexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -66740,22 +63265,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
expf(0);
frexpf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_expf_use=yes
+  glibcxx_cv_func_frexpf_use=yes
 else
-  glibcxx_cv_func_expf_use=no
+  glibcxx_cv_func_frexpf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -66768,16 +63289,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
-$as_echo "$glibcxx_cv_func_expf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
+$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
 
-  if test x$glibcxx_cv_func_expf_use = x"yes"; then
-    for ac_func in expf
+  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
+    for ac_func in frexpf
 do :
-  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
-if test "x$ac_cv_func_expf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
+if test "x$ac_cv_func_frexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_EXPF 1
+#define HAVE_FREXPF 1
 _ACEOF
 
 fi
@@ -66785,10 +63306,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
-$as_echo_n "checking for _expf declaration... " >&6; }
-  if test x${glibcxx_cv_func__expf_use+set} != xset; then
-    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
+$as_echo_n "checking for _frexpf declaration... " >&6; }
+  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
+    if ${glibcxx_cv_func__frexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -66802,22 +63323,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _expf(0);
+ _frexpf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__expf_use=yes
+  glibcxx_cv_func__frexpf_use=yes
 else
-  glibcxx_cv_func__expf_use=no
+  glibcxx_cv_func__frexpf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -66830,16 +63347,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
-$as_echo "$glibcxx_cv_func__expf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
+$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
 
-    if test x$glibcxx_cv_func__expf_use = x"yes"; then
-      for ac_func in _expf
+    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
+      for ac_func in _frexpf
 do :
-  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
-if test "x$ac_cv_func__expf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
+if test "x$ac_cv_func__frexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__EXPF 1
+#define HAVE__FREXPF 1
 _ACEOF
 
 fi
@@ -66852,10 +63369,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
-$as_echo_n "checking for isnanf declaration... " >&6; }
-  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
+$as_echo_n "checking for hypotf declaration... " >&6; }
+  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
+    if ${glibcxx_cv_func_hypotf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -66869,22 +63386,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
isnanf(0);
hypotf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isnanf_use=yes
+  glibcxx_cv_func_hypotf_use=yes
 else
-  glibcxx_cv_func_isnanf_use=no
+  glibcxx_cv_func_hypotf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -66897,16 +63410,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
-$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
+$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
 
-  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
-    for ac_func in isnanf
+  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
+    for ac_func in hypotf
 do :
-  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
-if test "x$ac_cv_func_isnanf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
+if test "x$ac_cv_func_hypotf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISNANF 1
+#define HAVE_HYPOTF 1
 _ACEOF
 
 fi
@@ -66914,10 +63427,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
-$as_echo_n "checking for _isnanf declaration... " >&6; }
-  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
+$as_echo_n "checking for _hypotf declaration... " >&6; }
+  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
+    if ${glibcxx_cv_func__hypotf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -66931,22 +63444,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isnanf(0);
+ _hypotf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isnanf_use=yes
+  glibcxx_cv_func__hypotf_use=yes
 else
-  glibcxx_cv_func__isnanf_use=no
+  glibcxx_cv_func__hypotf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -66959,16 +63468,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
-$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
+$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
 
-    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
-      for ac_func in _isnanf
+    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
+      for ac_func in _hypotf
 do :
-  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
-if test "x$ac_cv_func__isnanf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
+if test "x$ac_cv_func__hypotf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISNANF 1
+#define HAVE__HYPOTF 1
 _ACEOF
 
 fi
@@ -66981,10 +63490,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
-$as_echo_n "checking for isinff declaration... " >&6; }
-  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
+$as_echo_n "checking for ldexpf declaration... " >&6; }
+  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
+    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -66998,22 +63507,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
isinff(0);
ldexpf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isinff_use=yes
+  glibcxx_cv_func_ldexpf_use=yes
 else
-  glibcxx_cv_func_isinff_use=no
+  glibcxx_cv_func_ldexpf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -67026,16 +63531,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
-$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
+$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
 
-  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
-    for ac_func in isinff
+  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
+    for ac_func in ldexpf
 do :
-  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
-if test "x$ac_cv_func_isinff" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
+if test "x$ac_cv_func_ldexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISINFF 1
+#define HAVE_LDEXPF 1
 _ACEOF
 
 fi
@@ -67043,10 +63548,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
-$as_echo_n "checking for _isinff declaration... " >&6; }
-  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
+$as_echo_n "checking for _ldexpf declaration... " >&6; }
+  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
+    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -67060,22 +63565,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isinff(0);
+ _ldexpf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isinff_use=yes
+  glibcxx_cv_func__ldexpf_use=yes
 else
-  glibcxx_cv_func__isinff_use=no
+  glibcxx_cv_func__ldexpf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -67088,16 +63589,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
-$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
+$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
 
-    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
-      for ac_func in _isinff
+    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
+      for ac_func in _ldexpf
 do :
-  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
-if test "x$ac_cv_func__isinff" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
+if test "x$ac_cv_func__ldexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISINFF 1
+#define HAVE__LDEXPF 1
 _ACEOF
 
 fi
@@ -67110,10 +63611,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
-$as_echo_n "checking for atan2f declaration... " >&6; }
-  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
+$as_echo_n "checking for logf declaration... " >&6; }
+  if test x${glibcxx_cv_func_logf_use+set} != xset; then
+    if ${glibcxx_cv_func_logf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -67127,18 +63628,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
atan2f(0, 0);
logf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_atan2f_use=yes
+  glibcxx_cv_func_logf_use=yes
 else
-  glibcxx_cv_func_atan2f_use=no
+  glibcxx_cv_func_logf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -67151,16 +63656,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
-$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
+$as_echo "$glibcxx_cv_func_logf_use" >&6; }
 
-  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
-    for ac_func in atan2f
+  if test x$glibcxx_cv_func_logf_use = x"yes"; then
+    for ac_func in logf
 do :
-  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
-if test "x$ac_cv_func_atan2f" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
+if test "x$ac_cv_func_logf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ATAN2F 1
+#define HAVE_LOGF 1
 _ACEOF
 
 fi
@@ -67168,10 +63673,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
-$as_echo_n "checking for _atan2f declaration... " >&6; }
-  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
+$as_echo_n "checking for _logf declaration... " >&6; }
+  if test x${glibcxx_cv_func__logf_use+set} != xset; then
+    if ${glibcxx_cv_func__logf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -67185,18 +63690,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _atan2f(0, 0);
+ _logf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__atan2f_use=yes
+  glibcxx_cv_func__logf_use=yes
 else
-  glibcxx_cv_func__atan2f_use=no
+  glibcxx_cv_func__logf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -67209,16 +63718,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
-$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
+$as_echo "$glibcxx_cv_func__logf_use" >&6; }
 
-    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
-      for ac_func in _atan2f
+    if test x$glibcxx_cv_func__logf_use = x"yes"; then
+      for ac_func in _logf
 do :
-  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
-if test "x$ac_cv_func__atan2f" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
+if test "x$ac_cv_func__logf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ATAN2F 1
+#define HAVE__LOGF 1
 _ACEOF
 
 fi
@@ -67231,10 +63740,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
-$as_echo_n "checking for fabsf declaration... " >&6; }
-  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
+$as_echo_n "checking for log10f declaration... " >&6; }
+  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
+    if ${glibcxx_cv_func_log10f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -67255,15 +63764,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
fabsf(0);
log10f(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fabsf_use=yes
+  glibcxx_cv_func_log10f_use=yes
 else
-  glibcxx_cv_func_fabsf_use=no
+  glibcxx_cv_func_log10f_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -67276,16 +63785,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
-$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
+$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
 
-  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
-    for ac_func in fabsf
+  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
+    for ac_func in log10f
 do :
-  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
-if test "x$ac_cv_func_fabsf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
+if test "x$ac_cv_func_log10f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FABSF 1
+#define HAVE_LOG10F 1
 _ACEOF
 
 fi
@@ -67293,10 +63802,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
-$as_echo_n "checking for _fabsf declaration... " >&6; }
-  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
+$as_echo_n "checking for _log10f declaration... " >&6; }
+  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
+    if ${glibcxx_cv_func__log10f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -67317,15 +63826,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _fabsf(0);
+ _log10f(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fabsf_use=yes
+  glibcxx_cv_func__log10f_use=yes
 else
-  glibcxx_cv_func__fabsf_use=no
+  glibcxx_cv_func__log10f_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -67338,16 +63847,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
-$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
+$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
 
-    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
-      for ac_func in _fabsf
+    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
+      for ac_func in _log10f
 do :
-  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
-if test "x$ac_cv_func__fabsf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
+if test "x$ac_cv_func__log10f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FABSF 1
+#define HAVE__LOG10F 1
 _ACEOF
 
 fi
@@ -67360,10 +63869,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
-$as_echo_n "checking for fmodf declaration... " >&6; }
-  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
+$as_echo_n "checking for modff declaration... " >&6; }
+  if test x${glibcxx_cv_func_modff_use+set} != xset; then
+    if ${glibcxx_cv_func_modff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -67380,15 +63889,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
fmodf(0, 0);
modff(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fmodf_use=yes
+  glibcxx_cv_func_modff_use=yes
 else
-  glibcxx_cv_func_fmodf_use=no
+  glibcxx_cv_func_modff_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -67401,16 +63910,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
-$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
+$as_echo "$glibcxx_cv_func_modff_use" >&6; }
 
-  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
-    for ac_func in fmodf
+  if test x$glibcxx_cv_func_modff_use = x"yes"; then
+    for ac_func in modff
 do :
-  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
-if test "x$ac_cv_func_fmodf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
+if test "x$ac_cv_func_modff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FMODF 1
+#define HAVE_MODFF 1
 _ACEOF
 
 fi
@@ -67418,10 +63927,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
-$as_echo_n "checking for _fmodf declaration... " >&6; }
-  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
+$as_echo_n "checking for _modff declaration... " >&6; }
+  if test x${glibcxx_cv_func__modff_use+set} != xset; then
+    if ${glibcxx_cv_func__modff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -67438,15 +63947,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _fmodf(0, 0);
+ _modff(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fmodf_use=yes
+  glibcxx_cv_func__modff_use=yes
 else
-  glibcxx_cv_func__fmodf_use=no
+  glibcxx_cv_func__modff_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -67459,16 +63968,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
-$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
+$as_echo "$glibcxx_cv_func__modff_use" >&6; }
 
-    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
-      for ac_func in _fmodf
+    if test x$glibcxx_cv_func__modff_use = x"yes"; then
+      for ac_func in _modff
 do :
-  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
-if test "x$ac_cv_func__fmodf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
+if test "x$ac_cv_func__modff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FMODF 1
+#define HAVE__MODFF 1
 _ACEOF
 
 fi
@@ -67481,10 +63990,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
-$as_echo_n "checking for frexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
+$as_echo_n "checking for modf declaration... " >&6; }
+  if test x${glibcxx_cv_func_modf_use+set} != xset; then
+    if ${glibcxx_cv_func_modf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -67501,15 +64010,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
frexpf(0, 0);
modf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_frexpf_use=yes
+  glibcxx_cv_func_modf_use=yes
 else
-  glibcxx_cv_func_frexpf_use=no
+  glibcxx_cv_func_modf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -67522,16 +64031,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
-$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
+$as_echo "$glibcxx_cv_func_modf_use" >&6; }
 
-  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
-    for ac_func in frexpf
+  if test x$glibcxx_cv_func_modf_use = x"yes"; then
+    for ac_func in modf
 do :
-  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
-if test "x$ac_cv_func_frexpf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
+if test "x$ac_cv_func_modf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FREXPF 1
+#define HAVE_MODF 1
 _ACEOF
 
 fi
@@ -67539,10 +64048,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
-$as_echo_n "checking for _frexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
+$as_echo_n "checking for _modf declaration... " >&6; }
+  if test x${glibcxx_cv_func__modf_use+set} != xset; then
+    if ${glibcxx_cv_func__modf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -67559,15 +64068,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _frexpf(0, 0);
+ _modf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__frexpf_use=yes
+  glibcxx_cv_func__modf_use=yes
 else
-  glibcxx_cv_func__frexpf_use=no
+  glibcxx_cv_func__modf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -67580,16 +64089,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
-$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
+$as_echo "$glibcxx_cv_func__modf_use" >&6; }
 
-    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
-      for ac_func in _frexpf
+    if test x$glibcxx_cv_func__modf_use = x"yes"; then
+      for ac_func in _modf
 do :
-  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
-if test "x$ac_cv_func__frexpf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
+if test "x$ac_cv_func__modf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FREXPF 1
+#define HAVE__MODF 1
 _ACEOF
 
 fi
@@ -67602,10 +64111,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
-$as_echo_n "checking for hypotf declaration... " >&6; }
-  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
+$as_echo_n "checking for powf declaration... " >&6; }
+  if test x${glibcxx_cv_func_powf_use+set} != xset; then
+    if ${glibcxx_cv_func_powf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -67622,15 +64131,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
hypotf(0, 0);
powf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_hypotf_use=yes
+  glibcxx_cv_func_powf_use=yes
 else
-  glibcxx_cv_func_hypotf_use=no
+  glibcxx_cv_func_powf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -67643,16 +64152,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
-$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
+$as_echo "$glibcxx_cv_func_powf_use" >&6; }
 
-  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
-    for ac_func in hypotf
+  if test x$glibcxx_cv_func_powf_use = x"yes"; then
+    for ac_func in powf
 do :
-  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
-if test "x$ac_cv_func_hypotf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
+if test "x$ac_cv_func_powf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_HYPOTF 1
+#define HAVE_POWF 1
 _ACEOF
 
 fi
@@ -67660,10 +64169,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
-$as_echo_n "checking for _hypotf declaration... " >&6; }
-  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
+$as_echo_n "checking for _powf declaration... " >&6; }
+  if test x${glibcxx_cv_func__powf_use+set} != xset; then
+    if ${glibcxx_cv_func__powf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -67680,15 +64189,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _hypotf(0, 0);
+ _powf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__hypotf_use=yes
+  glibcxx_cv_func__powf_use=yes
 else
-  glibcxx_cv_func__hypotf_use=no
+  glibcxx_cv_func__powf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -67701,16 +64210,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
-$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
+$as_echo "$glibcxx_cv_func__powf_use" >&6; }
 
-    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
-      for ac_func in _hypotf
+    if test x$glibcxx_cv_func__powf_use = x"yes"; then
+      for ac_func in _powf
 do :
-  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
-if test "x$ac_cv_func__hypotf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
+if test "x$ac_cv_func__powf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__HYPOTF 1
+#define HAVE__POWF 1
 _ACEOF
 
 fi
@@ -67723,10 +64232,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
-$as_echo_n "checking for ldexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
+$as_echo_n "checking for sqrtf declaration... " >&6; }
+  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
+    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -67740,18 +64249,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
ldexpf(0, 0);
sqrtf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_ldexpf_use=yes
+  glibcxx_cv_func_sqrtf_use=yes
 else
-  glibcxx_cv_func_ldexpf_use=no
+  glibcxx_cv_func_sqrtf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -67764,16 +64277,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
-$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
+$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
 
-  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
-    for ac_func in ldexpf
+  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
+    for ac_func in sqrtf
 do :
-  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
-if test "x$ac_cv_func_ldexpf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
+if test "x$ac_cv_func_sqrtf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LDEXPF 1
+#define HAVE_SQRTF 1
 _ACEOF
 
 fi
@@ -67781,10 +64294,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
-$as_echo_n "checking for _ldexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
+$as_echo_n "checking for _sqrtf declaration... " >&6; }
+  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
+    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -67798,18 +64311,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _ldexpf(0, 0);
+ _sqrtf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__ldexpf_use=yes
+  glibcxx_cv_func__sqrtf_use=yes
 else
-  glibcxx_cv_func__ldexpf_use=no
+  glibcxx_cv_func__sqrtf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -67822,16 +64339,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
-$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
+$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
 
-    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
-      for ac_func in _ldexpf
+    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
+      for ac_func in _sqrtf
 do :
-  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
-if test "x$ac_cv_func__ldexpf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
+if test "x$ac_cv_func__sqrtf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LDEXPF 1
+#define HAVE__SQRTF 1
 _ACEOF
 
 fi
@@ -67844,10 +64361,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
-$as_echo_n "checking for logf declaration... " >&6; }
-  if test x${glibcxx_cv_func_logf_use+set} != xset; then
-    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
+$as_echo_n "checking for sincosf declaration... " >&6; }
+  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
+    if ${glibcxx_cv_func_sincosf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -67861,22 +64378,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
logf(0);
sincosf(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_logf_use=yes
+  glibcxx_cv_func_sincosf_use=yes
 else
-  glibcxx_cv_func_logf_use=no
+  glibcxx_cv_func_sincosf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -67889,16 +64402,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
-$as_echo "$glibcxx_cv_func_logf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
+$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
 
-  if test x$glibcxx_cv_func_logf_use = x"yes"; then
-    for ac_func in logf
+  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
+    for ac_func in sincosf
 do :
-  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
-if test "x$ac_cv_func_logf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
+if test "x$ac_cv_func_sincosf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOGF 1
+#define HAVE_SINCOSF 1
 _ACEOF
 
 fi
@@ -67906,10 +64419,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
-$as_echo_n "checking for _logf declaration... " >&6; }
-  if test x${glibcxx_cv_func__logf_use+set} != xset; then
-    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
+$as_echo_n "checking for _sincosf declaration... " >&6; }
+  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
+    if ${glibcxx_cv_func__sincosf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -67923,22 +64436,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _logf(0);
+ _sincosf(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__logf_use=yes
+  glibcxx_cv_func__sincosf_use=yes
 else
-  glibcxx_cv_func__logf_use=no
+  glibcxx_cv_func__sincosf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -67951,16 +64460,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
-$as_echo "$glibcxx_cv_func__logf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
+$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
 
-    if test x$glibcxx_cv_func__logf_use = x"yes"; then
-      for ac_func in _logf
+    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
+      for ac_func in _sincosf
 do :
-  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
-if test "x$ac_cv_func__logf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
+if test "x$ac_cv_func__sincosf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOGF 1
+#define HAVE__SINCOSF 1
 _ACEOF
 
 fi
@@ -67973,10 +64482,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
-$as_echo_n "checking for log10f declaration... " >&6; }
-  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
+$as_echo_n "checking for finitef declaration... " >&6; }
+  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
+    if ${glibcxx_cv_func_finitef_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -67997,15 +64506,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
log10f(0);
finitef(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_log10f_use=yes
+  glibcxx_cv_func_finitef_use=yes
 else
-  glibcxx_cv_func_log10f_use=no
+  glibcxx_cv_func_finitef_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -68018,16 +64527,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
-$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
+$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
 
-  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
-    for ac_func in log10f
+  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
+    for ac_func in finitef
 do :
-  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
-if test "x$ac_cv_func_log10f" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
+if test "x$ac_cv_func_finitef" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOG10F 1
+#define HAVE_FINITEF 1
 _ACEOF
 
 fi
@@ -68035,10 +64544,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
-$as_echo_n "checking for _log10f declaration... " >&6; }
-  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
+$as_echo_n "checking for _finitef declaration... " >&6; }
+  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
+    if ${glibcxx_cv_func__finitef_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -68059,15 +64568,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _log10f(0);
+ _finitef(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__log10f_use=yes
+  glibcxx_cv_func__finitef_use=yes
 else
-  glibcxx_cv_func__log10f_use=no
+  glibcxx_cv_func__finitef_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -68080,16 +64589,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
-$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
+$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
 
-    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
-      for ac_func in _log10f
+    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
+      for ac_func in _finitef
 do :
-  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
-if test "x$ac_cv_func__log10f" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
+if test "x$ac_cv_func__finitef" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOG10F 1
+#define HAVE__FINITEF 1
 _ACEOF
 
 fi
@@ -68102,68 +64611,63 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
-$as_echo_n "checking for modff declaration... " >&6; }
-  if test x${glibcxx_cv_func_modff_use+set} != xset; then
-    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
+$as_echo_n "checking for long double trig functions... " >&6; }
+  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
- modff(0, 0);
+acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_modff_use=yes
+  glibcxx_cv_func_long_double_trig_use=yes
 else
-  glibcxx_cv_func_modff_use=no
+  glibcxx_cv_func_long_double_trig_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
-$as_echo "$glibcxx_cv_func_modff_use" >&6; }
-
-  if test x$glibcxx_cv_func_modff_use = x"yes"; then
-    for ac_func in modff
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
+$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
+  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
+    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
 do :
-  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
-if test "x$ac_cv_func_modff" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_MODFF 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 done
 
   else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
-$as_echo_n "checking for _modff declaration... " >&6; }
-  if test x${glibcxx_cv_func__modff_use+set} != xset; then
-    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
+$as_echo_n "checking for _long double trig functions... " >&6; }
+    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -68180,15 +64684,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _modff(0, 0);
+_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__modff_use=yes
+  glibcxx_cv_func__long_double_trig_use=yes
 else
-  glibcxx_cv_func__modff_use=no
+  glibcxx_cv_func__long_double_trig_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -68197,20 +64701,18 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
-$as_echo "$glibcxx_cv_func__modff_use" >&6; }
-
-    if test x$glibcxx_cv_func__modff_use = x"yes"; then
-      for ac_func in _modff
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
+$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
+    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
+      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
 do :
-  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
-if test "x$ac_cv_func__modff" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__MODFF 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -68223,68 +64725,63 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
-$as_echo_n "checking for modf declaration... " >&6; }
-  if test x${glibcxx_cv_func_modf_use+set} != xset; then
-    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
+$as_echo_n "checking for long double round functions... " >&6; }
+  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
- modf(0, 0);
+ceill (0); floorl (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_modf_use=yes
+  glibcxx_cv_func_long_double_round_use=yes
 else
-  glibcxx_cv_func_modf_use=no
+  glibcxx_cv_func_long_double_round_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
-$as_echo "$glibcxx_cv_func_modf_use" >&6; }
-
-  if test x$glibcxx_cv_func_modf_use = x"yes"; then
-    for ac_func in modf
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
+$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
+  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
+    for ac_func in ceill floorl
 do :
-  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
-if test "x$ac_cv_func_modf" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_MODF 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 done
 
   else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
-$as_echo_n "checking for _modf declaration... " >&6; }
-  if test x${glibcxx_cv_func__modf_use+set} != xset; then
-    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
+$as_echo_n "checking for _long double round functions... " >&6; }
+    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -68301,15 +64798,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _modf(0, 0);
+_ceill (0); _floorl (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__modf_use=yes
+  glibcxx_cv_func__long_double_round_use=yes
 else
-  glibcxx_cv_func__modf_use=no
+  glibcxx_cv_func__long_double_round_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -68318,20 +64815,18 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
-$as_echo "$glibcxx_cv_func__modf_use" >&6; }
-
-    if test x$glibcxx_cv_func__modf_use = x"yes"; then
-      for ac_func in _modf
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
+$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
+    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
+      for ac_func in _ceill _floorl
 do :
-  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
-if test "x$ac_cv_func__modf" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__MODF 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -68344,10 +64839,11 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
-$as_echo_n "checking for powf declaration... " >&6; }
-  if test x${glibcxx_cv_func_powf_use+set} != xset; then
-    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
+$as_echo_n "checking for isnanl declaration... " >&6; }
+  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
+    if ${glibcxx_cv_func_isnanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -68361,18 +64857,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
powf(0, 0);
isnanl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_powf_use=yes
+  glibcxx_cv_func_isnanl_use=yes
 else
-  glibcxx_cv_func_powf_use=no
+  glibcxx_cv_func_isnanl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -68385,16 +64885,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
-$as_echo "$glibcxx_cv_func_powf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
+$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
 
-  if test x$glibcxx_cv_func_powf_use = x"yes"; then
-    for ac_func in powf
+  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
+    for ac_func in isnanl
 do :
-  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
-if test "x$ac_cv_func_powf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
+if test "x$ac_cv_func_isnanl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_POWF 1
+#define HAVE_ISNANL 1
 _ACEOF
 
 fi
@@ -68402,10 +64902,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
-$as_echo_n "checking for _powf declaration... " >&6; }
-  if test x${glibcxx_cv_func__powf_use+set} != xset; then
-    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
+$as_echo_n "checking for _isnanl declaration... " >&6; }
+  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
+    if ${glibcxx_cv_func__isnanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -68419,18 +64919,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _powf(0, 0);
+ _isnanl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__powf_use=yes
+  glibcxx_cv_func__isnanl_use=yes
 else
-  glibcxx_cv_func__powf_use=no
+  glibcxx_cv_func__isnanl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -68443,16 +64947,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
-$as_echo "$glibcxx_cv_func__powf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
+$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
 
-    if test x$glibcxx_cv_func__powf_use = x"yes"; then
-      for ac_func in _powf
+    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
+      for ac_func in _isnanl
 do :
-  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
-if test "x$ac_cv_func__powf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
+if test "x$ac_cv_func__isnanl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__POWF 1
+#define HAVE__ISNANL 1
 _ACEOF
 
 fi
@@ -68465,10 +64969,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
-$as_echo_n "checking for sqrtf declaration... " >&6; }
-  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
+$as_echo_n "checking for isinfl declaration... " >&6; }
+  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
+    if ${glibcxx_cv_func_isinfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -68489,15 +64993,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
sqrtf(0);
isinfl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sqrtf_use=yes
+  glibcxx_cv_func_isinfl_use=yes
 else
-  glibcxx_cv_func_sqrtf_use=no
+  glibcxx_cv_func_isinfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -68510,16 +65014,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
-$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
+$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
 
-  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
-    for ac_func in sqrtf
+  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
+    for ac_func in isinfl
 do :
-  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
-if test "x$ac_cv_func_sqrtf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
+if test "x$ac_cv_func_isinfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SQRTF 1
+#define HAVE_ISINFL 1
 _ACEOF
 
 fi
@@ -68527,10 +65031,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
-$as_echo_n "checking for _sqrtf declaration... " >&6; }
-  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
+$as_echo_n "checking for _isinfl declaration... " >&6; }
+  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
+    if ${glibcxx_cv_func__isinfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -68551,15 +65055,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _sqrtf(0);
+ _isinfl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sqrtf_use=yes
+  glibcxx_cv_func__isinfl_use=yes
 else
-  glibcxx_cv_func__sqrtf_use=no
+  glibcxx_cv_func__isinfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -68572,16 +65076,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
-$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
+$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
 
-    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
-      for ac_func in _sqrtf
+    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
+      for ac_func in _isinfl
 do :
-  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
-if test "x$ac_cv_func__sqrtf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
+if test "x$ac_cv_func__isinfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__SQRTF 1
+#define HAVE__ISINFL 1
 _ACEOF
 
 fi
@@ -68594,10 +65098,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
-$as_echo_n "checking for sincosf declaration... " >&6; }
-  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
+$as_echo_n "checking for atan2l declaration... " >&6; }
+  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
+    if ${glibcxx_cv_func_atan2l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -68614,15 +65118,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
sincosf(0, 0, 0);
atan2l(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sincosf_use=yes
+  glibcxx_cv_func_atan2l_use=yes
 else
-  glibcxx_cv_func_sincosf_use=no
+  glibcxx_cv_func_atan2l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -68635,16 +65139,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
-$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
+$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
 
-  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
-    for ac_func in sincosf
+  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
+    for ac_func in atan2l
 do :
-  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
-if test "x$ac_cv_func_sincosf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
+if test "x$ac_cv_func_atan2l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SINCOSF 1
+#define HAVE_ATAN2L 1
 _ACEOF
 
 fi
@@ -68652,10 +65156,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
-$as_echo_n "checking for _sincosf declaration... " >&6; }
-  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
+$as_echo_n "checking for _atan2l declaration... " >&6; }
+  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
+    if ${glibcxx_cv_func__atan2l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -68672,15 +65176,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _sincosf(0, 0, 0);
+ _atan2l(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sincosf_use=yes
+  glibcxx_cv_func__atan2l_use=yes
 else
-  glibcxx_cv_func__sincosf_use=no
+  glibcxx_cv_func__atan2l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -68693,16 +65197,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
-$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
+$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
 
-    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
-      for ac_func in _sincosf
+    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
+      for ac_func in _atan2l
 do :
-  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
-if test "x$ac_cv_func__sincosf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
+if test "x$ac_cv_func__atan2l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__SINCOSF 1
+#define HAVE__ATAN2L 1
 _ACEOF
 
 fi
@@ -68715,10 +65219,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
-$as_echo_n "checking for finitef declaration... " >&6; }
-  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
+$as_echo_n "checking for expl declaration... " >&6; }
+  if test x${glibcxx_cv_func_expl_use+set} != xset; then
+    if ${glibcxx_cv_func_expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -68739,15 +65243,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
finitef(0);
expl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_finitef_use=yes
+  glibcxx_cv_func_expl_use=yes
 else
-  glibcxx_cv_func_finitef_use=no
+  glibcxx_cv_func_expl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -68760,16 +65264,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
-$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
+$as_echo "$glibcxx_cv_func_expl_use" >&6; }
 
-  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
-    for ac_func in finitef
+  if test x$glibcxx_cv_func_expl_use = x"yes"; then
+    for ac_func in expl
 do :
-  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
-if test "x$ac_cv_func_finitef" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
+if test "x$ac_cv_func_expl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FINITEF 1
+#define HAVE_EXPL 1
 _ACEOF
 
 fi
@@ -68777,10 +65281,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
-$as_echo_n "checking for _finitef declaration... " >&6; }
-  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
+$as_echo_n "checking for _expl declaration... " >&6; }
+  if test x${glibcxx_cv_func__expl_use+set} != xset; then
+    if ${glibcxx_cv_func__expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -68801,15 +65305,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _finitef(0);
+ _expl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__finitef_use=yes
+  glibcxx_cv_func__expl_use=yes
 else
-  glibcxx_cv_func__finitef_use=no
+  glibcxx_cv_func__expl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -68822,16 +65326,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
-$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
+$as_echo "$glibcxx_cv_func__expl_use" >&6; }
 
-    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
-      for ac_func in _finitef
+    if test x$glibcxx_cv_func__expl_use = x"yes"; then
+      for ac_func in _expl
 do :
-  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
-if test "x$ac_cv_func__finitef" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
+if test "x$ac_cv_func__expl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FINITEF 1
+#define HAVE__EXPL 1
 _ACEOF
 
 fi
@@ -68844,64 +65348,72 @@ done
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
-$as_echo_n "checking for long double trig functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
+$as_echo_n "checking for fabsl declaration... " >&6; }
+  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
+    if ${glibcxx_cv_func_fabsl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-    ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
-acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
+ fabsl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_long_double_trig_use=yes
+  glibcxx_cv_func_fabsl_use=yes
 else
-  glibcxx_cv_func_long_double_trig_use=no
+  glibcxx_cv_func_fabsl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
-$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
-  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
-    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
+$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
+
+  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
+    for ac_func in fabsl
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
+if test "x$ac_cv_func_fabsl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_FABSL 1
 _ACEOF
 
 fi
 done
 
   else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
-$as_echo_n "checking for _long double trig functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
+$as_echo_n "checking for _fabsl declaration... " >&6; }
+  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
+    if ${glibcxx_cv_func__fabsl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -68915,18 +65427,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
-_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
+ _fabsl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__long_double_trig_use=yes
+  glibcxx_cv_func__fabsl_use=yes
 else
-  glibcxx_cv_func__long_double_trig_use=no
+  glibcxx_cv_func__fabsl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -68935,19 +65451,20 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
-$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
-    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
-      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
+$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
+
+    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
+      for ac_func in _fabsl
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
+if test "x$ac_cv_func__fabsl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE__FABSL 1
 _ACEOF
 
 fi
@@ -68960,64 +65477,68 @@ done
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
-$as_echo_n "checking for long double round functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
+$as_echo_n "checking for fmodl declaration... " >&6; }
+  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
+    if ${glibcxx_cv_func_fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-    ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
-ceill (0); floorl (0);
+ fmodl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_long_double_round_use=yes
+  glibcxx_cv_func_fmodl_use=yes
 else
-  glibcxx_cv_func_long_double_round_use=no
+  glibcxx_cv_func_fmodl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
-$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
-  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
-    for ac_func in ceill floorl
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
+$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
+
+  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
+    for ac_func in fmodl
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
+if test "x$ac_cv_func_fmodl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_FMODL 1
 _ACEOF
 
 fi
 done
 
   else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
-$as_echo_n "checking for _long double round functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
+$as_echo_n "checking for _fmodl declaration... " >&6; }
+  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
+    if ${glibcxx_cv_func__fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -69034,15 +65555,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
-_ceill (0); _floorl (0);
+ _fmodl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__long_double_round_use=yes
+  glibcxx_cv_func__fmodl_use=yes
 else
-  glibcxx_cv_func__long_double_round_use=no
+  glibcxx_cv_func__fmodl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -69051,19 +65572,20 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
-$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
-    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
-      for ac_func in _ceill _floorl
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
+$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
+
+    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
+      for ac_func in _fmodl
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
+if test "x$ac_cv_func__fmodl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE__FMODL 1
 _ACEOF
 
 fi
@@ -69076,11 +65598,10 @@ done
 
 
 
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
-$as_echo_n "checking for isnanl declaration... " >&6; }
-  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
+$as_echo_n "checking for frexpl declaration... " >&6; }
+  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
+    if ${glibcxx_cv_func_frexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -69094,22 +65615,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
isnanl(0);
frexpl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isnanl_use=yes
+  glibcxx_cv_func_frexpl_use=yes
 else
-  glibcxx_cv_func_isnanl_use=no
+  glibcxx_cv_func_frexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -69122,16 +65639,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
-$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
+$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
 
-  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
-    for ac_func in isnanl
+  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
+    for ac_func in frexpl
 do :
-  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
-if test "x$ac_cv_func_isnanl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
+if test "x$ac_cv_func_frexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISNANL 1
+#define HAVE_FREXPL 1
 _ACEOF
 
 fi
@@ -69139,10 +65656,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
-$as_echo_n "checking for _isnanl declaration... " >&6; }
-  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
+$as_echo_n "checking for _frexpl declaration... " >&6; }
+  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
+    if ${glibcxx_cv_func__frexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -69156,22 +65673,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isnanl(0);
+ _frexpl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isnanl_use=yes
+  glibcxx_cv_func__frexpl_use=yes
 else
-  glibcxx_cv_func__isnanl_use=no
+  glibcxx_cv_func__frexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -69184,16 +65697,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
-$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
+$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
 
-    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
-      for ac_func in _isnanl
+    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
+      for ac_func in _frexpl
 do :
-  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
-if test "x$ac_cv_func__isnanl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
+if test "x$ac_cv_func__frexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISNANL 1
+#define HAVE__FREXPL 1
 _ACEOF
 
 fi
@@ -69206,10 +65719,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
-$as_echo_n "checking for isinfl declaration... " >&6; }
-  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
+$as_echo_n "checking for hypotl declaration... " >&6; }
+  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
+    if ${glibcxx_cv_func_hypotl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -69223,22 +65736,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
isinfl(0);
hypotl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isinfl_use=yes
+  glibcxx_cv_func_hypotl_use=yes
 else
-  glibcxx_cv_func_isinfl_use=no
+  glibcxx_cv_func_hypotl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -69251,16 +65760,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
-$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
+$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
 
-  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
-    for ac_func in isinfl
+  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
+    for ac_func in hypotl
 do :
-  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
-if test "x$ac_cv_func_isinfl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
+if test "x$ac_cv_func_hypotl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISINFL 1
+#define HAVE_HYPOTL 1
 _ACEOF
 
 fi
@@ -69268,10 +65777,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
-$as_echo_n "checking for _isinfl declaration... " >&6; }
-  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
+$as_echo_n "checking for _hypotl declaration... " >&6; }
+  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
+    if ${glibcxx_cv_func__hypotl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -69285,22 +65794,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isinfl(0);
+ _hypotl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isinfl_use=yes
+  glibcxx_cv_func__hypotl_use=yes
 else
-  glibcxx_cv_func__isinfl_use=no
+  glibcxx_cv_func__hypotl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -69313,16 +65818,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
-$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
+$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
 
-    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
-      for ac_func in _isinfl
+    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
+      for ac_func in _hypotl
 do :
-  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
-if test "x$ac_cv_func__isinfl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
+if test "x$ac_cv_func__hypotl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISINFL 1
+#define HAVE__HYPOTL 1
 _ACEOF
 
 fi
@@ -69335,10 +65840,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
-$as_echo_n "checking for atan2l declaration... " >&6; }
-  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
+$as_echo_n "checking for ldexpl declaration... " >&6; }
+  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
+    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -69355,15 +65860,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
atan2l(0, 0);
ldexpl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_atan2l_use=yes
+  glibcxx_cv_func_ldexpl_use=yes
 else
-  glibcxx_cv_func_atan2l_use=no
+  glibcxx_cv_func_ldexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -69376,16 +65881,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
-$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
+$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
 
-  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
-    for ac_func in atan2l
+  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
+    for ac_func in ldexpl
 do :
-  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
-if test "x$ac_cv_func_atan2l" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
+if test "x$ac_cv_func_ldexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ATAN2L 1
+#define HAVE_LDEXPL 1
 _ACEOF
 
 fi
@@ -69393,10 +65898,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
-$as_echo_n "checking for _atan2l declaration... " >&6; }
-  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
+$as_echo_n "checking for _ldexpl declaration... " >&6; }
+  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
+    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -69413,15 +65918,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _atan2l(0, 0);
+ _ldexpl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__atan2l_use=yes
+  glibcxx_cv_func__ldexpl_use=yes
 else
-  glibcxx_cv_func__atan2l_use=no
+  glibcxx_cv_func__ldexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -69434,16 +65939,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
-$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
+$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
 
-    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
-      for ac_func in _atan2l
+    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
+      for ac_func in _ldexpl
 do :
-  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
-if test "x$ac_cv_func__atan2l" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
+if test "x$ac_cv_func__ldexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ATAN2L 1
+#define HAVE__LDEXPL 1
 _ACEOF
 
 fi
@@ -69456,10 +65961,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
-$as_echo_n "checking for expl declaration... " >&6; }
-  if test x${glibcxx_cv_func_expl_use+set} != xset; then
-    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
+$as_echo_n "checking for logl declaration... " >&6; }
+  if test x${glibcxx_cv_func_logl_use+set} != xset; then
+    if ${glibcxx_cv_func_logl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -69480,15 +65985,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
expl(0);
logl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_expl_use=yes
+  glibcxx_cv_func_logl_use=yes
 else
-  glibcxx_cv_func_expl_use=no
+  glibcxx_cv_func_logl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -69501,16 +66006,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
-$as_echo "$glibcxx_cv_func_expl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
+$as_echo "$glibcxx_cv_func_logl_use" >&6; }
 
-  if test x$glibcxx_cv_func_expl_use = x"yes"; then
-    for ac_func in expl
+  if test x$glibcxx_cv_func_logl_use = x"yes"; then
+    for ac_func in logl
 do :
-  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
-if test "x$ac_cv_func_expl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
+if test "x$ac_cv_func_logl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_EXPL 1
+#define HAVE_LOGL 1
 _ACEOF
 
 fi
@@ -69518,10 +66023,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
-$as_echo_n "checking for _expl declaration... " >&6; }
-  if test x${glibcxx_cv_func__expl_use+set} != xset; then
-    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
+$as_echo_n "checking for _logl declaration... " >&6; }
+  if test x${glibcxx_cv_func__logl_use+set} != xset; then
+    if ${glibcxx_cv_func__logl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -69542,15 +66047,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _expl(0);
+ _logl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__expl_use=yes
+  glibcxx_cv_func__logl_use=yes
 else
-  glibcxx_cv_func__expl_use=no
+  glibcxx_cv_func__logl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -69563,16 +66068,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
-$as_echo "$glibcxx_cv_func__expl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
+$as_echo "$glibcxx_cv_func__logl_use" >&6; }
 
-    if test x$glibcxx_cv_func__expl_use = x"yes"; then
-      for ac_func in _expl
+    if test x$glibcxx_cv_func__logl_use = x"yes"; then
+      for ac_func in _logl
 do :
-  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
-if test "x$ac_cv_func__expl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
+if test "x$ac_cv_func__logl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__EXPL 1
+#define HAVE__LOGL 1
 _ACEOF
 
 fi
@@ -69585,10 +66090,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
-$as_echo_n "checking for fabsl declaration... " >&6; }
-  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
+$as_echo_n "checking for log10l declaration... " >&6; }
+  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
+    if ${glibcxx_cv_func_log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -69609,15 +66114,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
fabsl(0);
log10l(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fabsl_use=yes
+  glibcxx_cv_func_log10l_use=yes
 else
-  glibcxx_cv_func_fabsl_use=no
+  glibcxx_cv_func_log10l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -69630,16 +66135,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
-$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
+$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
 
-  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
-    for ac_func in fabsl
+  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
+    for ac_func in log10l
 do :
-  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
-if test "x$ac_cv_func_fabsl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
+if test "x$ac_cv_func_log10l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FABSL 1
+#define HAVE_LOG10L 1
 _ACEOF
 
 fi
@@ -69647,10 +66152,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
-$as_echo_n "checking for _fabsl declaration... " >&6; }
-  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
+$as_echo_n "checking for _log10l declaration... " >&6; }
+  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
+    if ${glibcxx_cv_func__log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -69671,15 +66176,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _fabsl(0);
+ _log10l(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fabsl_use=yes
+  glibcxx_cv_func__log10l_use=yes
 else
-  glibcxx_cv_func__fabsl_use=no
+  glibcxx_cv_func__log10l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -69692,16 +66197,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
-$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
+$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
 
-    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
-      for ac_func in _fabsl
+    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
+      for ac_func in _log10l
 do :
-  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
-if test "x$ac_cv_func__fabsl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
+if test "x$ac_cv_func__log10l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FABSL 1
+#define HAVE__LOG10L 1
 _ACEOF
 
 fi
@@ -69714,10 +66219,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
-$as_echo_n "checking for fmodl declaration... " >&6; }
-  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
+$as_echo_n "checking for modfl declaration... " >&6; }
+  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
+    if ${glibcxx_cv_func_modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -69734,15 +66239,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
fmodl(0, 0);
modfl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fmodl_use=yes
+  glibcxx_cv_func_modfl_use=yes
 else
-  glibcxx_cv_func_fmodl_use=no
+  glibcxx_cv_func_modfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -69755,16 +66260,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
-$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
+$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
 
-  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
-    for ac_func in fmodl
+  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
+    for ac_func in modfl
 do :
-  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
-if test "x$ac_cv_func_fmodl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
+if test "x$ac_cv_func_modfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FMODL 1
+#define HAVE_MODFL 1
 _ACEOF
 
 fi
@@ -69772,10 +66277,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
-$as_echo_n "checking for _fmodl declaration... " >&6; }
-  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
+$as_echo_n "checking for _modfl declaration... " >&6; }
+  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
+    if ${glibcxx_cv_func__modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -69792,15 +66297,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _fmodl(0, 0);
+ _modfl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fmodl_use=yes
+  glibcxx_cv_func__modfl_use=yes
 else
-  glibcxx_cv_func__fmodl_use=no
+  glibcxx_cv_func__modfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -69813,16 +66318,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
-$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
+$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
 
-    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
-      for ac_func in _fmodl
+    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
+      for ac_func in _modfl
 do :
-  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
-if test "x$ac_cv_func__fmodl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
+if test "x$ac_cv_func__modfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FMODL 1
+#define HAVE__MODFL 1
 _ACEOF
 
 fi
@@ -69835,10 +66340,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
-$as_echo_n "checking for frexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
+$as_echo_n "checking for powl declaration... " >&6; }
+  if test x${glibcxx_cv_func_powl_use+set} != xset; then
+    if ${glibcxx_cv_func_powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -69855,15 +66360,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
frexpl(0, 0);
powl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_frexpl_use=yes
+  glibcxx_cv_func_powl_use=yes
 else
-  glibcxx_cv_func_frexpl_use=no
+  glibcxx_cv_func_powl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -69876,16 +66381,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
-$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
+$as_echo "$glibcxx_cv_func_powl_use" >&6; }
 
-  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
-    for ac_func in frexpl
+  if test x$glibcxx_cv_func_powl_use = x"yes"; then
+    for ac_func in powl
 do :
-  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
-if test "x$ac_cv_func_frexpl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
+if test "x$ac_cv_func_powl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FREXPL 1
+#define HAVE_POWL 1
 _ACEOF
 
 fi
@@ -69893,10 +66398,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
-$as_echo_n "checking for _frexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
+$as_echo_n "checking for _powl declaration... " >&6; }
+  if test x${glibcxx_cv_func__powl_use+set} != xset; then
+    if ${glibcxx_cv_func__powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -69913,15 +66418,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _frexpl(0, 0);
+ _powl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__frexpl_use=yes
+  glibcxx_cv_func__powl_use=yes
 else
-  glibcxx_cv_func__frexpl_use=no
+  glibcxx_cv_func__powl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -69934,16 +66439,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
-$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
+$as_echo "$glibcxx_cv_func__powl_use" >&6; }
 
-    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
-      for ac_func in _frexpl
+    if test x$glibcxx_cv_func__powl_use = x"yes"; then
+      for ac_func in _powl
 do :
-  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
-if test "x$ac_cv_func__frexpl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
+if test "x$ac_cv_func__powl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FREXPL 1
+#define HAVE__POWL 1
 _ACEOF
 
 fi
@@ -69956,10 +66461,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
-$as_echo_n "checking for hypotl declaration... " >&6; }
-  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
+$as_echo_n "checking for sqrtl declaration... " >&6; }
+  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
+    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -69973,18 +66478,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
hypotl(0, 0);
sqrtl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_hypotl_use=yes
+  glibcxx_cv_func_sqrtl_use=yes
 else
-  glibcxx_cv_func_hypotl_use=no
+  glibcxx_cv_func_sqrtl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -69997,16 +66506,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
-$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
+$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
 
-  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
-    for ac_func in hypotl
+  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
+    for ac_func in sqrtl
 do :
-  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
-if test "x$ac_cv_func_hypotl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
+if test "x$ac_cv_func_sqrtl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_HYPOTL 1
+#define HAVE_SQRTL 1
 _ACEOF
 
 fi
@@ -70014,10 +66523,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
-$as_echo_n "checking for _hypotl declaration... " >&6; }
-  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
+$as_echo_n "checking for _sqrtl declaration... " >&6; }
+  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
+    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -70031,18 +66540,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _hypotl(0, 0);
+ _sqrtl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__hypotl_use=yes
+  glibcxx_cv_func__sqrtl_use=yes
 else
-  glibcxx_cv_func__hypotl_use=no
+  glibcxx_cv_func__sqrtl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -70055,16 +66568,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
-$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
+$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
 
-    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
-      for ac_func in _hypotl
+    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
+      for ac_func in _sqrtl
 do :
-  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
-if test "x$ac_cv_func__hypotl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
+if test "x$ac_cv_func__sqrtl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__HYPOTL 1
+#define HAVE__SQRTL 1
 _ACEOF
 
 fi
@@ -70077,10 +66590,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
-$as_echo_n "checking for ldexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
+$as_echo_n "checking for sincosl declaration... " >&6; }
+  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
+    if ${glibcxx_cv_func_sincosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -70097,15 +66610,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
ldexpl(0, 0);
sincosl(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_ldexpl_use=yes
+  glibcxx_cv_func_sincosl_use=yes
 else
-  glibcxx_cv_func_ldexpl_use=no
+  glibcxx_cv_func_sincosl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -70118,16 +66631,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
-$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
+$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
 
-  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
-    for ac_func in ldexpl
+  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
+    for ac_func in sincosl
 do :
-  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
-if test "x$ac_cv_func_ldexpl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
+if test "x$ac_cv_func_sincosl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LDEXPL 1
+#define HAVE_SINCOSL 1
 _ACEOF
 
 fi
@@ -70135,10 +66648,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
-$as_echo_n "checking for _ldexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
+$as_echo_n "checking for _sincosl declaration... " >&6; }
+  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
+    if ${glibcxx_cv_func__sincosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -70155,15 +66668,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _ldexpl(0, 0);
+ _sincosl(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__ldexpl_use=yes
+  glibcxx_cv_func__sincosl_use=yes
 else
-  glibcxx_cv_func__ldexpl_use=no
+  glibcxx_cv_func__sincosl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -70176,16 +66689,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
-$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
+$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
 
-    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
-      for ac_func in _ldexpl
+    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
+      for ac_func in _sincosl
 do :
-  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
-if test "x$ac_cv_func__ldexpl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
+if test "x$ac_cv_func__sincosl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LDEXPL 1
+#define HAVE__SINCOSL 1
 _ACEOF
 
 fi
@@ -70198,10 +66711,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
-$as_echo_n "checking for logl declaration... " >&6; }
-  if test x${glibcxx_cv_func_logl_use+set} != xset; then
-    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
+$as_echo_n "checking for finitel declaration... " >&6; }
+  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
+    if ${glibcxx_cv_func_finitel_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -70222,15 +66735,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
logl(0);
finitel(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_logl_use=yes
+  glibcxx_cv_func_finitel_use=yes
 else
-  glibcxx_cv_func_logl_use=no
+  glibcxx_cv_func_finitel_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -70243,16 +66756,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
-$as_echo "$glibcxx_cv_func_logl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
+$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
 
-  if test x$glibcxx_cv_func_logl_use = x"yes"; then
-    for ac_func in logl
+  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
+    for ac_func in finitel
 do :
-  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
-if test "x$ac_cv_func_logl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
+if test "x$ac_cv_func_finitel" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOGL 1
+#define HAVE_FINITEL 1
 _ACEOF
 
 fi
@@ -70260,10 +66773,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
-$as_echo_n "checking for _logl declaration... " >&6; }
-  if test x${glibcxx_cv_func__logl_use+set} != xset; then
-    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
+$as_echo_n "checking for _finitel declaration... " >&6; }
+  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
+    if ${glibcxx_cv_func__finitel_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -70284,15 +66797,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _logl(0);
+ _finitel(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__logl_use=yes
+  glibcxx_cv_func__finitel_use=yes
 else
-  glibcxx_cv_func__logl_use=no
+  glibcxx_cv_func__finitel_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -70305,16 +66818,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
-$as_echo "$glibcxx_cv_func__logl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
+$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
 
-    if test x$glibcxx_cv_func__logl_use = x"yes"; then
-      for ac_func in _logl
+    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
+      for ac_func in _finitel
 do :
-  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
-if test "x$ac_cv_func__logl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
+if test "x$ac_cv_func__finitel" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOGL 1
+#define HAVE__FINITEL 1
 _ACEOF
 
 fi
@@ -70326,11 +66839,19 @@ done
 
 
 
+  LIBS="$ac_save_LIBS"
+  CXXFLAGS="$ac_save_CXXFLAGS"
+
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
-$as_echo_n "checking for log10l declaration... " >&6; }
-  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
+  ac_test_CXXFLAGS="${CXXFLAGS+set}"
+  ac_save_CXXFLAGS="$CXXFLAGS"
+  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
+$as_echo_n "checking for at_quick_exit declaration... " >&6; }
+  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
+    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -70343,23 +66864,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
+#include <stdlib.h>
 int
 main ()
 {
log10l(0);
at_quick_exit(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_log10l_use=yes
+  glibcxx_cv_func_at_quick_exit_use=yes
 else
-  glibcxx_cv_func_log10l_use=no
+  glibcxx_cv_func_at_quick_exit_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -70372,27 +66889,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
-$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
-
-  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
-    for ac_func in log10l
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
+$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
+  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
+    for ac_func in at_quick_exit
 do :
-  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
-if test "x$ac_cv_func_log10l" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
+if test "x$ac_cv_func_at_quick_exit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOG10L 1
+#define HAVE_AT_QUICK_EXIT 1
 _ACEOF
 
 fi
 done
 
-  else
+  fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
-$as_echo_n "checking for _log10l declaration... " >&6; }
-  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
+$as_echo_n "checking for quick_exit declaration... " >&6; }
+  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
+    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -70405,23 +66922,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
+#include <stdlib.h>
 int
 main ()
 {
_log10l(0);
quick_exit(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__log10l_use=yes
+  glibcxx_cv_func_quick_exit_use=yes
 else
-  glibcxx_cv_func__log10l_use=no
+  glibcxx_cv_func_quick_exit_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -70434,32 +66947,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
-$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
-
-    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
-      for ac_func in _log10l
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
+$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
+  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
+    for ac_func in quick_exit
 do :
-  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
-if test "x$ac_cv_func__log10l" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
+if test "x$ac_cv_func_quick_exit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOG10L 1
+#define HAVE_QUICK_EXIT 1
 _ACEOF
 
 fi
 done
 
-    fi
   fi
 
 
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
-$as_echo_n "checking for modfl declaration... " >&6; }
-  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
+$as_echo_n "checking for strtold declaration... " >&6; }
+  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
+    if ${glibcxx_cv_func_strtold_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -70472,19 +66980,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
+#include <stdlib.h>
 int
 main ()
 {
modfl(0, 0);
strtold(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_modfl_use=yes
+  glibcxx_cv_func_strtold_use=yes
 else
-  glibcxx_cv_func_modfl_use=no
+  glibcxx_cv_func_strtold_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -70497,27 +67005,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
-$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
-
-  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
-    for ac_func in modfl
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
+$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
+  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
+    for ac_func in strtold
 do :
-  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
-if test "x$ac_cv_func_modfl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
+if test "x$ac_cv_func_strtold" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_MODFL 1
+#define HAVE_STRTOLD 1
 _ACEOF
 
 fi
 done
 
-  else
+  fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
-$as_echo_n "checking for _modfl declaration... " >&6; }
-  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
+$as_echo_n "checking for strtof declaration... " >&6; }
+  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
+    if ${glibcxx_cv_func_strtof_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -70530,19 +67040,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
+#include <stdlib.h>
 int
 main ()
 {
_modfl(0, 0);
strtof(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__modfl_use=yes
+  glibcxx_cv_func_strtof_use=yes
 else
-  glibcxx_cv_func__modfl_use=no
+  glibcxx_cv_func_strtof_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -70555,153 +67065,123 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
-$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
-
-    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
-      for ac_func in _modfl
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
+$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
+  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
+    for ac_func in strtof
 do :
-  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
-if test "x$ac_cv_func__modfl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
+if test "x$ac_cv_func_strtof" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__MODFL 1
+#define HAVE_STRTOF 1
 _ACEOF
 
 fi
 done
 
-    fi
   fi
 
 
 
 
+  CXXFLAGS="$ac_save_CXXFLAGS"
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
-$as_echo_n "checking for powl declaration... " >&6; }
-  if test x${glibcxx_cv_func_powl_use+set} != xset; then
-    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
+    ;;
+  *-tpf)
+    SECTION_FLAGS='-ffunction-sections -fdata-sections'
+    SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
 
+    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h.  */
-#include <math.h>
-int
-main ()
-{
- powl(0, 0);
-  ;
-  return 0;
-}
-_ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_powl_use=yes
-else
-  glibcxx_cv_func_powl_use=no
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
+    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
 
+    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
 
-fi
+    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
-$as_echo "$glibcxx_cv_func_powl_use" >&6; }
+    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
 
-  if test x$glibcxx_cv_func_powl_use = x"yes"; then
-    for ac_func in powl
-do :
-  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
-if test "x$ac_cv_func_powl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_POWL 1
-_ACEOF
+    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
 
-fi
-done
+    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
+
+    $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
+
+    if test x"long_double_math_on_this_cpu" = x"yes"; then
+      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
+
+      $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
+
+      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
+
+      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
+
+    fi
+    ;;
+  *-*vms*)
+    # Check for available headers.
+    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
 
-  else
+  ac_test_CXXFLAGS="${CXXFLAGS+set}"
+  ac_save_CXXFLAGS="$CXXFLAGS"
+  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
-$as_echo_n "checking for _powl declaration... " >&6; }
-  if test x${glibcxx_cv_func__powl_use+set} != xset; then
-    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
+$as_echo_n "checking for sin in -lm... " >&6; }
+if ${ac_cv_lib_m_sin+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-
-
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
-
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+  ac_check_lib_save_LIBS=$LIBS
+LIBS="-lm  $LIBS"
+if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
+
+/* Override any GCC internal prototype to avoid an error.
+   Use char because int might match the return type of a GCC
+   builtin and then its argument prototype would still apply.  */
+#ifdef __cplusplus
+extern "C"
+#endif
+char sin ();
 int
 main ()
 {
- _powl(0, 0);
+return sin ();
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__powl_use=yes
+if ac_fn_c_try_link "$LINENO"; then :
+  ac_cv_lib_m_sin=yes
 else
-  glibcxx_cv_func__powl_use=no
+  ac_cv_lib_m_sin=no
 fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
 fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
-$as_echo "$glibcxx_cv_func__powl_use" >&6; }
-
-    if test x$glibcxx_cv_func__powl_use = x"yes"; then
-      for ac_func in _powl
-do :
-  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
-if test "x$ac_cv_func__powl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__POWL 1
-_ACEOF
-
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
+$as_echo "$ac_cv_lib_m_sin" >&6; }
+if test "x$ac_cv_lib_m_sin" = xyes; then :
+  libm="-lm"
 fi
-done
-
-    fi
-  fi
-
 
+  ac_save_LIBS="$LIBS"
+  LIBS="$LIBS $libm"
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
-$as_echo_n "checking for sqrtl declaration... " >&6; }
-  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
+$as_echo_n "checking for isinf declaration... " >&6; }
+  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
+    if ${glibcxx_cv_func_isinf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -70722,15 +67202,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
sqrtl(0);
isinf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sqrtl_use=yes
+  glibcxx_cv_func_isinf_use=yes
 else
-  glibcxx_cv_func_sqrtl_use=no
+  glibcxx_cv_func_isinf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -70743,16 +67223,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
-$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
+$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
 
-  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
-    for ac_func in sqrtl
+  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
+    for ac_func in isinf
 do :
-  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
-if test "x$ac_cv_func_sqrtl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
+if test "x$ac_cv_func_isinf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SQRTL 1
+#define HAVE_ISINF 1
 _ACEOF
 
 fi
@@ -70760,10 +67240,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
-$as_echo_n "checking for _sqrtl declaration... " >&6; }
-  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
+$as_echo_n "checking for _isinf declaration... " >&6; }
+  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
+    if ${glibcxx_cv_func__isinf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -70784,15 +67264,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _sqrtl(0);
+ _isinf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sqrtl_use=yes
+  glibcxx_cv_func__isinf_use=yes
 else
-  glibcxx_cv_func__sqrtl_use=no
+  glibcxx_cv_func__isinf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -70805,16 +67285,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
-$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
+$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
 
-    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
-      for ac_func in _sqrtl
+    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
+      for ac_func in _isinf
 do :
-  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
-if test "x$ac_cv_func__sqrtl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
+if test "x$ac_cv_func__isinf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__SQRTL 1
+#define HAVE__ISINF 1
 _ACEOF
 
 fi
@@ -70827,10 +67307,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
-$as_echo_n "checking for sincosl declaration... " >&6; }
-  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
+$as_echo_n "checking for isnan declaration... " >&6; }
+  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
+    if ${glibcxx_cv_func_isnan_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -70844,18 +67324,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
sincosl(0, 0, 0);
isnan(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sincosl_use=yes
+  glibcxx_cv_func_isnan_use=yes
 else
-  glibcxx_cv_func_sincosl_use=no
+  glibcxx_cv_func_isnan_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -70868,16 +67352,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
-$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
+$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
 
-  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
-    for ac_func in sincosl
+  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
+    for ac_func in isnan
 do :
-  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
-if test "x$ac_cv_func_sincosl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
+if test "x$ac_cv_func_isnan" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SINCOSL 1
+#define HAVE_ISNAN 1
 _ACEOF
 
 fi
@@ -70885,10 +67369,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
-$as_echo_n "checking for _sincosl declaration... " >&6; }
-  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
+$as_echo_n "checking for _isnan declaration... " >&6; }
+  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
+    if ${glibcxx_cv_func__isnan_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -70902,18 +67386,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _sincosl(0, 0, 0);
+ _isnan(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sincosl_use=yes
+  glibcxx_cv_func__isnan_use=yes
 else
-  glibcxx_cv_func__sincosl_use=no
+  glibcxx_cv_func__isnan_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -70926,16 +67414,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
-$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
+$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
 
-    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
-      for ac_func in _sincosl
+    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
+      for ac_func in _isnan
 do :
-  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
-if test "x$ac_cv_func__sincosl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
+if test "x$ac_cv_func__isnan" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__SINCOSL 1
+#define HAVE__ISNAN 1
 _ACEOF
 
 fi
@@ -70948,10 +67436,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
-$as_echo_n "checking for finitel declaration... " >&6; }
-  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
+$as_echo_n "checking for finite declaration... " >&6; }
+  if test x${glibcxx_cv_func_finite_use+set} != xset; then
+    if ${glibcxx_cv_func_finite_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -70972,15 +67460,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- finitel(0);
+ finite(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_finitel_use=yes
+  glibcxx_cv_func_finite_use=yes
 else
-  glibcxx_cv_func_finitel_use=no
+  glibcxx_cv_func_finite_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -70993,16 +67481,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
-$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
+$as_echo "$glibcxx_cv_func_finite_use" >&6; }
 
-  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
-    for ac_func in finitel
+  if test x$glibcxx_cv_func_finite_use = x"yes"; then
+    for ac_func in finite
 do :
-  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
-if test "x$ac_cv_func_finitel" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
+if test "x$ac_cv_func_finite" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FINITEL 1
+#define HAVE_FINITE 1
 _ACEOF
 
 fi
@@ -71010,10 +67498,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
-$as_echo_n "checking for _finitel declaration... " >&6; }
-  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
+$as_echo_n "checking for _finite declaration... " >&6; }
+  if test x${glibcxx_cv_func__finite_use+set} != xset; then
+    if ${glibcxx_cv_func__finite_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -71034,15 +67522,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _finitel(0);
+ _finite(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__finitel_use=yes
+  glibcxx_cv_func__finite_use=yes
 else
-  glibcxx_cv_func__finitel_use=no
+  glibcxx_cv_func__finite_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -71055,16 +67543,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
-$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
+$as_echo "$glibcxx_cv_func__finite_use" >&6; }
 
-    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
-      for ac_func in _finitel
+    if test x$glibcxx_cv_func__finite_use = x"yes"; then
+      for ac_func in _finite
 do :
-  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
-if test "x$ac_cv_func__finitel" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
+if test "x$ac_cv_func__finite" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FINITEL 1
+#define HAVE__FINITE 1
 _ACEOF
 
 fi
@@ -71076,19 +67564,11 @@ done
 
 
 
-  LIBS="$ac_save_LIBS"
-  CXXFLAGS="$ac_save_CXXFLAGS"
-
-
-  ac_test_CXXFLAGS="${CXXFLAGS+set}"
-  ac_save_CXXFLAGS="$CXXFLAGS"
-  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
-
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
-$as_echo_n "checking for at_quick_exit declaration... " >&6; }
-  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
+$as_echo_n "checking for sincos declaration... " >&6; }
+  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
+    if ${glibcxx_cv_func_sincos_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -71101,19 +67581,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+#include <math.h>
 int
 main ()
 {
at_quick_exit(0);
sincos(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_at_quick_exit_use=yes
+  glibcxx_cv_func_sincos_use=yes
 else
-  glibcxx_cv_func_at_quick_exit_use=no
+  glibcxx_cv_func_sincos_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -71126,27 +67606,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
-$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
-  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
-    for ac_func in at_quick_exit
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
+$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
+
+  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
+    for ac_func in sincos
 do :
-  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
-if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
+if test "x$ac_cv_func_sincos" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_AT_QUICK_EXIT 1
+#define HAVE_SINCOS 1
 _ACEOF
 
 fi
 done
 
-  fi
-
+  else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
-$as_echo_n "checking for quick_exit declaration... " >&6; }
-  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
+$as_echo_n "checking for _sincos declaration... " >&6; }
+  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
+    if ${glibcxx_cv_func__sincos_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -71159,19 +67639,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+#include <math.h>
 int
 main ()
 {
quick_exit(0);
_sincos(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_quick_exit_use=yes
+  glibcxx_cv_func__sincos_use=yes
 else
-  glibcxx_cv_func_quick_exit_use=no
+  glibcxx_cv_func__sincos_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -71184,27 +67664,32 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
-$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
-  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
-    for ac_func in quick_exit
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
+$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
+
+    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
+      for ac_func in _sincos
 do :
-  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
-if test "x$ac_cv_func_quick_exit" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
+if test "x$ac_cv_func__sincos" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_QUICK_EXIT 1
+#define HAVE__SINCOS 1
 _ACEOF
 
 fi
 done
 
+    fi
   fi
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
-$as_echo_n "checking for strtold declaration... " >&6; }
-  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
+$as_echo_n "checking for fpclass declaration... " >&6; }
+  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
+    if ${glibcxx_cv_func_fpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -71217,19 +67702,23 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
strtold(0, 0);
fpclass(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_strtold_use=yes
+  glibcxx_cv_func_fpclass_use=yes
 else
-  glibcxx_cv_func_strtold_use=no
+  glibcxx_cv_func_fpclass_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -71242,29 +67731,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
-$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
-  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
-    for ac_func in strtold
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
+$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
+
+  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
+    for ac_func in fpclass
 do :
-  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
-if test "x$ac_cv_func_strtold" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
+if test "x$ac_cv_func_fpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_STRTOLD 1
+#define HAVE_FPCLASS 1
 _ACEOF
 
 fi
 done
 
-  fi
-
-
-
+  else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
-$as_echo_n "checking for strtof declaration... " >&6; }
-  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
+$as_echo_n "checking for _fpclass declaration... " >&6; }
+  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
+    if ${glibcxx_cv_func__fpclass_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -71277,19 +67764,23 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
strtof(0, 0);
_fpclass(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_strtof_use=yes
+  glibcxx_cv_func__fpclass_use=yes
 else
-  glibcxx_cv_func_strtof_use=no
+  glibcxx_cv_func__fpclass_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -71302,349 +67793,335 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
-$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
-  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
-    for ac_func in strtof
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
+$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
+
+    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
+      for ac_func in _fpclass
 do :
-  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
-if test "x$ac_cv_func_strtof" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
+if test "x$ac_cv_func__fpclass" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_STRTOF 1
+#define HAVE__FPCLASS 1
 _ACEOF
 
 fi
 done
 
+    fi
   fi
 
 
 
 
-  CXXFLAGS="$ac_save_CXXFLAGS"
-
-    ;;
-  *-solaris*)
-
-  # 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...
-  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
-  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
-
-
-
-  # The name set by libtool depends on the version of libtool.  Shame on us
-  # for depending on an impl detail, but c'est la vie.  Older versions used
-  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
-  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
-  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
-  # set (hence we're using an older libtool), then set it.
-  if test x${with_gnu_ld+set} != xset; then
-    if test x${ac_cv_prog_gnu_ld+set} != xset; then
-      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
-      with_gnu_ld=no
-    else
-      with_gnu_ld=$ac_cv_prog_gnu_ld
-    fi
-  fi
-
-  # Start by getting the version number.  I think the libtool test already
-  # does some of this, but throws away the result.
-  glibcxx_ld_is_gold=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
-$as_echo_n "checking for ld version... " >&6; }
-
-    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
-      glibcxx_ld_is_gold=yes
-    fi
-    ldver=`$LD --version 2>/dev/null |
-          sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
 
-    glibcxx_gnu_ld_version=`echo $ldver | \
-          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
-$as_echo "$glibcxx_gnu_ld_version" >&6; }
-  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
+$as_echo_n "checking for qfpclass declaration... " >&6; }
+  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
+    if ${glibcxx_cv_func_qfpclass_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
-  # Set --gc-sections.
-  glibcxx_have_gc_sections=no
-  if test "$glibcxx_ld_is_gold" = "yes"; then
-    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
-      glibcxx_have_gc_sections=yes
-    fi
-  else
-    glibcxx_gcsections_min_ld=21602
-    if test x"$with_gnu_ld" = x"yes" &&
-       test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
-      glibcxx_have_gc_sections=yes
-    fi
-  fi
-  if test "$glibcxx_have_gc_sections" = "yes"; then
-    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
-    # NB: This flag only works reliably after 2.16.1. Configure tests
-    # for this are difficult, so hard wire a value that should work.
 
-    ac_test_CFLAGS="${CFLAGS+set}"
-    ac_save_CFLAGS="$CFLAGS"
-    CFLAGS='-Wl,--gc-sections'
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    # Check for -Wl,--gc-sections
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
-$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
-    if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
- int one(void) { return 1; }
-     int two(void) { return 2; }
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
 
 int
 main ()
 {
two();
qfpclass(0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_gcsections=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func_qfpclass_use=yes
 else
-  ac_gcsections=no
+  glibcxx_cv_func_qfpclass_use=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-    if test "$ac_gcsections" = "yes"; then
-      rm -f conftest.c
-      touch conftest.c
-      if $CC -c conftest.c; then
-       if $LD --gc-sections -o conftest conftest.o 2>&1 | \
-          grep "Warning: gc-sections option ignored" > /dev/null; then
-         ac_gcsections=no
-       fi
-      fi
-      rm -f conftest.c conftest.o conftest
-    fi
-    if test "$ac_gcsections" = "yes"; then
-      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
-$as_echo "$ac_gcsections" >&6; }
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-    if test "$ac_test_CFLAGS" = set; then
-      CFLAGS="$ac_save_CFLAGS"
-    else
-      # this is the suspicious part
-      CFLAGS=''
-    fi
-  fi
 
-  # Set -z,relro.
-  # Note this is only for shared objects.
-  ac_ld_relro=no
-  if test x"$with_gnu_ld" = x"yes"; then
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
-$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
-    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
-    if test -n "$cxx_z_relo"; then
-      OPT_LDFLAGS="-Wl,-z,relro"
-      ac_ld_relro=yes
-    fi
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
-$as_echo "$ac_ld_relro" >&6; }
-  fi
+fi
 
-  # Set linker optimization flags.
-  if test x"$with_gnu_ld" = x"yes"; then
-    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
   fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
+$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
+
+  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
+    for ac_func in qfpclass
+do :
+  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
+if test "x$ac_cv_func_qfpclass" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_QFPCLASS 1
+_ACEOF
 
+fi
+done
 
+  else
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
+$as_echo_n "checking for _qfpclass declaration... " >&6; }
+  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
+    if ${glibcxx_cv_func__qfpclass_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
-    $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
 
-    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
 
-    # All of the dependencies for wide character support are here, so
-    # turn it on.
-    $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
+int
+main ()
+{
+ _qfpclass(0);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func__qfpclass_use=yes
+else
+  glibcxx_cv_func__qfpclass_use=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-    # These two C99 functions are present only in Solaris >= 10
-    $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
 
-    $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
+fi
 
-    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
+$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
 
-    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
+    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
+      for ac_func in _qfpclass
+do :
+  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
+if test "x$ac_cv_func__qfpclass" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE__QFPCLASS 1
+_ACEOF
 
-    $as_echo "#define HAVE_MODFF 1" >>confdefs.h
+fi
+done
 
-    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
+    fi
+  fi
 
-    ;;
-  *-tpf)
-    SECTION_FLAGS='-ffunction-sections -fdata-sections'
-    SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
 
-    $as_echo "#define HAVE_FINITE 1" >>confdefs.h
 
-    $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
 
-    $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
 
-    $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
+$as_echo_n "checking for hypot declaration... " >&6; }
+  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
+    if ${glibcxx_cv_func_hypot_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
-    $as_echo "#define HAVE_ISINF 1" >>confdefs.h
 
-    $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <math.h>
+int
+main ()
+{
+ hypot(0, 0);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func_hypot_use=yes
+else
+  glibcxx_cv_func_hypot_use=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-    $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
 
-    $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
+fi
 
-    $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
+$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
 
-    if test x"long_double_math_on_this_cpu" = x"yes"; then
-      $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
+  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
+    for ac_func in hypot
+do :
+  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
+if test "x$ac_cv_func_hypot" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE_HYPOT 1
+_ACEOF
 
-      $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
+fi
+done
 
-      $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
+  else
 
-      $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
+$as_echo_n "checking for _hypot declaration... " >&6; }
+  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
+    if ${glibcxx_cv_func__hypot_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
-    fi
-    ;;
-  *-*vms*)
-    # Check for available headers.
-    # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
 
-  ac_test_CXXFLAGS="${CXXFLAGS+set}"
-  ac_save_CXXFLAGS="$CXXFLAGS"
-  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
+      ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
-$as_echo_n "checking for sin in -lm... " >&6; }
-if test "${ac_cv_lib_m_sin+set}" = set; then :
-  $as_echo_n "(cached) " >&6
-else
-  ac_check_lib_save_LIBS=$LIBS
-LIBS="-lm  $LIBS"
-if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
-fi
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-
-/* Override any GCC internal prototype to avoid an error.
-   Use char because int might match the return type of a GCC
-   builtin and then its argument prototype would still apply.  */
-#ifdef __cplusplus
-extern "C"
-#endif
-char sin ();
+#include <math.h>
 int
 main ()
 {
-return sin ();
+ _hypot(0, 0);
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
-  ac_cv_lib_m_sin=yes
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_func__hypot_use=yes
 else
-  ac_cv_lib_m_sin=no
+  glibcxx_cv_func__hypot_use=no
 fi
-rm -f core conftest.err conftest.$ac_objext \
-    conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+
 fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
-$as_echo "$ac_cv_lib_m_sin" >&6; }
-if test "x$ac_cv_lib_m_sin" = x""yes; then :
-  libm="-lm"
+
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
+$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
+
+    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
+      for ac_func in _hypot
+do :
+  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
+if test "x$ac_cv_func__hypot" = xyes; then :
+  cat >>confdefs.h <<_ACEOF
+#define HAVE__HYPOT 1
+_ACEOF
+
 fi
+done
 
-  ac_save_LIBS="$LIBS"
-  LIBS="$LIBS $libm"
+    fi
+  fi
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
-$as_echo_n "checking for isinf declaration... " >&6; }
-  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
+
+
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
+$as_echo_n "checking for float trig functions... " >&6; }
+  if ${glibcxx_cv_func_float_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- isinf(0);
+acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isinf_use=yes
+  glibcxx_cv_func_float_trig_use=yes
 else
-  glibcxx_cv_func_isinf_use=no
+  glibcxx_cv_func_float_trig_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
-$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
-
-  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
-    for ac_func in isinf
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
+$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
+  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
+    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
 do :
-  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
-if test "x$ac_cv_func_isinf" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISINF 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 done
 
   else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
-$as_echo_n "checking for _isinf declaration... " >&6; }
-  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
+$as_echo_n "checking for _float trig functions... " >&6; }
+    if ${glibcxx_cv_func__float_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -71658,22 +68135,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isinf(0);
+_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isinf_use=yes
+  glibcxx_cv_func__float_trig_use=yes
 else
-  glibcxx_cv_func__isinf_use=no
+  glibcxx_cv_func__float_trig_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -71682,20 +68155,18 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
-$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
-
-    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
-      for ac_func in _isinf
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
+$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
+    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
+      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
 do :
-  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
-if test "x$ac_cv_func__isinf" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISINF 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -71708,72 +68179,63 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
-$as_echo_n "checking for isnan declaration... " >&6; }
-  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
+$as_echo_n "checking for float round functions... " >&6; }
+  if ${glibcxx_cv_func_float_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- isnan(0);
+ceilf (0); floorf (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isnan_use=yes
+  glibcxx_cv_func_float_round_use=yes
 else
-  glibcxx_cv_func_isnan_use=no
+  glibcxx_cv_func_float_round_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
-$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
-
-  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
-    for ac_func in isnan
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
+$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
+  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
+    for ac_func in ceilf floorf
 do :
-  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
-if test "x$ac_cv_func_isnan" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISNAN 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 done
 
   else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
-$as_echo_n "checking for _isnan declaration... " >&6; }
-  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
+$as_echo_n "checking for _float round functions... " >&6; }
+    if ${glibcxx_cv_func__float_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -71787,22 +68249,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isnan(0);
+_ceilf (0); _floorf (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isnan_use=yes
+  glibcxx_cv_func__float_round_use=yes
 else
-  glibcxx_cv_func__isnan_use=no
+  glibcxx_cv_func__float_round_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -71811,20 +68269,18 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
-$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
-
-    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
-      for ac_func in _isnan
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
+$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
+    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
+      for ac_func in _ceilf _floorf
 do :
-  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
-if test "x$ac_cv_func__isnan" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISNAN 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -71837,10 +68293,11 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
-$as_echo_n "checking for finite declaration... " >&6; }
-  if test x${glibcxx_cv_func_finite_use+set} != xset; then
-    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
+$as_echo_n "checking for expf declaration... " >&6; }
+  if test x${glibcxx_cv_func_expf_use+set} != xset; then
+    if ${glibcxx_cv_func_expf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -71861,15 +68318,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
finite(0);
expf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_finite_use=yes
+  glibcxx_cv_func_expf_use=yes
 else
-  glibcxx_cv_func_finite_use=no
+  glibcxx_cv_func_expf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -71882,16 +68339,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
-$as_echo "$glibcxx_cv_func_finite_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
+$as_echo "$glibcxx_cv_func_expf_use" >&6; }
 
-  if test x$glibcxx_cv_func_finite_use = x"yes"; then
-    for ac_func in finite
+  if test x$glibcxx_cv_func_expf_use = x"yes"; then
+    for ac_func in expf
 do :
-  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
-if test "x$ac_cv_func_finite" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
+if test "x$ac_cv_func_expf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FINITE 1
+#define HAVE_EXPF 1
 _ACEOF
 
 fi
@@ -71899,10 +68356,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
-$as_echo_n "checking for _finite declaration... " >&6; }
-  if test x${glibcxx_cv_func__finite_use+set} != xset; then
-    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
+$as_echo_n "checking for _expf declaration... " >&6; }
+  if test x${glibcxx_cv_func__expf_use+set} != xset; then
+    if ${glibcxx_cv_func__expf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -71923,15 +68380,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _finite(0);
+ _expf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__finite_use=yes
+  glibcxx_cv_func__expf_use=yes
 else
-  glibcxx_cv_func__finite_use=no
+  glibcxx_cv_func__expf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -71944,16 +68401,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
-$as_echo "$glibcxx_cv_func__finite_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
+$as_echo "$glibcxx_cv_func__expf_use" >&6; }
 
-    if test x$glibcxx_cv_func__finite_use = x"yes"; then
-      for ac_func in _finite
+    if test x$glibcxx_cv_func__expf_use = x"yes"; then
+      for ac_func in _expf
 do :
-  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
-if test "x$ac_cv_func__finite" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
+if test "x$ac_cv_func__expf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FINITE 1
+#define HAVE__EXPF 1
 _ACEOF
 
 fi
@@ -71966,10 +68423,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
-$as_echo_n "checking for sincos declaration... " >&6; }
-  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
+$as_echo_n "checking for isnanf declaration... " >&6; }
+  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
+    if ${glibcxx_cv_func_isnanf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -71983,18 +68440,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
sincos(0, 0, 0);
isnanf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sincos_use=yes
+  glibcxx_cv_func_isnanf_use=yes
 else
-  glibcxx_cv_func_sincos_use=no
+  glibcxx_cv_func_isnanf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -72007,16 +68468,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
-$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
+$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
 
-  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
-    for ac_func in sincos
+  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
+    for ac_func in isnanf
 do :
-  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
-if test "x$ac_cv_func_sincos" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
+if test "x$ac_cv_func_isnanf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SINCOS 1
+#define HAVE_ISNANF 1
 _ACEOF
 
 fi
@@ -72024,10 +68485,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
-$as_echo_n "checking for _sincos declaration... " >&6; }
-  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
+$as_echo_n "checking for _isnanf declaration... " >&6; }
+  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
+    if ${glibcxx_cv_func__isnanf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -72041,18 +68502,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _sincos(0, 0, 0);
+ _isnanf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sincos_use=yes
+  glibcxx_cv_func__isnanf_use=yes
 else
-  glibcxx_cv_func__sincos_use=no
+  glibcxx_cv_func__isnanf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -72065,16 +68530,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
-$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
+$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
 
-    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
-      for ac_func in _sincos
+    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
+      for ac_func in _isnanf
 do :
-  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
-if test "x$ac_cv_func__sincos" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
+if test "x$ac_cv_func__isnanf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__SINCOS 1
+#define HAVE__ISNANF 1
 _ACEOF
 
 fi
@@ -72087,10 +68552,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
-$as_echo_n "checking for fpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
+$as_echo_n "checking for isinff declaration... " >&6; }
+  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
+    if ${glibcxx_cv_func_isinff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -72111,15 +68576,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
fpclass(0);
isinff(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fpclass_use=yes
+  glibcxx_cv_func_isinff_use=yes
 else
-  glibcxx_cv_func_fpclass_use=no
+  glibcxx_cv_func_isinff_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -72132,16 +68597,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
-$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
+$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
 
-  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
-    for ac_func in fpclass
+  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
+    for ac_func in isinff
 do :
-  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
-if test "x$ac_cv_func_fpclass" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
+if test "x$ac_cv_func_isinff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FPCLASS 1
+#define HAVE_ISINFF 1
 _ACEOF
 
 fi
@@ -72149,10 +68614,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
-$as_echo_n "checking for _fpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
+$as_echo_n "checking for _isinff declaration... " >&6; }
+  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
+    if ${glibcxx_cv_func__isinff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -72173,15 +68638,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _fpclass(0);
+ _isinff(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fpclass_use=yes
+  glibcxx_cv_func__isinff_use=yes
 else
-  glibcxx_cv_func__fpclass_use=no
+  glibcxx_cv_func__isinff_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -72194,16 +68659,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
-$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
+$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
 
-    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
-      for ac_func in _fpclass
+    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
+      for ac_func in _isinff
 do :
-  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
-if test "x$ac_cv_func__fpclass" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
+if test "x$ac_cv_func__isinff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FPCLASS 1
+#define HAVE__ISINFF 1
 _ACEOF
 
 fi
@@ -72216,10 +68681,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
-$as_echo_n "checking for qfpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
+$as_echo_n "checking for atan2f declaration... " >&6; }
+  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
+    if ${glibcxx_cv_func_atan2f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -72233,22 +68698,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
qfpclass(0);
atan2f(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_qfpclass_use=yes
+  glibcxx_cv_func_atan2f_use=yes
 else
-  glibcxx_cv_func_qfpclass_use=no
+  glibcxx_cv_func_atan2f_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -72261,16 +68722,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
-$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
+$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
 
-  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
-    for ac_func in qfpclass
+  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
+    for ac_func in atan2f
 do :
-  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
-if test "x$ac_cv_func_qfpclass" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
+if test "x$ac_cv_func_atan2f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_QFPCLASS 1
+#define HAVE_ATAN2F 1
 _ACEOF
 
 fi
@@ -72278,10 +68739,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
-$as_echo_n "checking for _qfpclass declaration... " >&6; }
-  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
-    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
+$as_echo_n "checking for _atan2f declaration... " >&6; }
+  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
+    if ${glibcxx_cv_func__atan2f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -72295,22 +68756,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _qfpclass(0);
+ _atan2f(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__qfpclass_use=yes
+  glibcxx_cv_func__atan2f_use=yes
 else
-  glibcxx_cv_func__qfpclass_use=no
+  glibcxx_cv_func__atan2f_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -72323,16 +68780,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
-$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
+$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
 
-    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
-      for ac_func in _qfpclass
+    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
+      for ac_func in _atan2f
 do :
-  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
-if test "x$ac_cv_func__qfpclass" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
+if test "x$ac_cv_func__atan2f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__QFPCLASS 1
+#define HAVE__ATAN2F 1
 _ACEOF
 
 fi
@@ -72345,10 +68802,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
-$as_echo_n "checking for hypot declaration... " >&6; }
-  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
+$as_echo_n "checking for fabsf declaration... " >&6; }
+  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
+    if ${glibcxx_cv_func_fabsf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -72362,18 +68819,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
hypot(0, 0);
fabsf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_hypot_use=yes
+  glibcxx_cv_func_fabsf_use=yes
 else
-  glibcxx_cv_func_hypot_use=no
+  glibcxx_cv_func_fabsf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -72386,16 +68847,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
-$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
+$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
 
-  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
-    for ac_func in hypot
+  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
+    for ac_func in fabsf
 do :
-  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
-if test "x$ac_cv_func_hypot" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
+if test "x$ac_cv_func_fabsf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_HYPOT 1
+#define HAVE_FABSF 1
 _ACEOF
 
 fi
@@ -72403,10 +68864,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
-$as_echo_n "checking for _hypot declaration... " >&6; }
-  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
+$as_echo_n "checking for _fabsf declaration... " >&6; }
+  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
+    if ${glibcxx_cv_func__fabsf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -72420,18 +68881,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _hypot(0, 0);
+ _fabsf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__hypot_use=yes
+  glibcxx_cv_func__fabsf_use=yes
 else
-  glibcxx_cv_func__hypot_use=no
+  glibcxx_cv_func__fabsf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -72444,16 +68909,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
-$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
+$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
 
-    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
-      for ac_func in _hypot
+    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
+      for ac_func in _fabsf
 do :
-  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
-if test "x$ac_cv_func__hypot" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
+if test "x$ac_cv_func__fabsf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__HYPOT 1
+#define HAVE__FABSF 1
 _ACEOF
 
 fi
@@ -72466,64 +68931,68 @@ done
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
-$as_echo_n "checking for float trig functions... " >&6; }
-  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
+$as_echo_n "checking for fmodf declaration... " >&6; }
+  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
+    if ${glibcxx_cv_func_fmodf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-    ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
-acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
+ fmodf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_float_trig_use=yes
+  glibcxx_cv_func_fmodf_use=yes
 else
-  glibcxx_cv_func_float_trig_use=no
+  glibcxx_cv_func_fmodf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
-$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
-  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
-    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
+$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
+
+  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
+    for ac_func in fmodf
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
+if test "x$ac_cv_func_fmodf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_FMODF 1
 _ACEOF
 
 fi
 done
 
   else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
-$as_echo_n "checking for _float trig functions... " >&6; }
-    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
+$as_echo_n "checking for _fmodf declaration... " >&6; }
+  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
+    if ${glibcxx_cv_func__fmodf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -72540,15 +69009,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
-_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
+ _fmodf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__float_trig_use=yes
+  glibcxx_cv_func__fmodf_use=yes
 else
-  glibcxx_cv_func__float_trig_use=no
+  glibcxx_cv_func__fmodf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -72557,19 +69026,20 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
-$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
-    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
-      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
+$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
+
+    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
+      for ac_func in _fmodf
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
+if test "x$ac_cv_func__fmodf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE__FMODF 1
 _ACEOF
 
 fi
@@ -72582,64 +69052,68 @@ done
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
-$as_echo_n "checking for float round functions... " >&6; }
-  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
+$as_echo_n "checking for frexpf declaration... " >&6; }
+  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
+    if ${glibcxx_cv_func_frexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-    ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
-ceilf (0); floorf (0);
+ frexpf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_float_round_use=yes
+  glibcxx_cv_func_frexpf_use=yes
 else
-  glibcxx_cv_func_float_round_use=no
+  glibcxx_cv_func_frexpf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
-$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
-  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
-    for ac_func in ceilf floorf
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
+$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
+
+  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
+    for ac_func in frexpf
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
+if test "x$ac_cv_func_frexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_FREXPF 1
 _ACEOF
 
 fi
 done
 
   else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
-$as_echo_n "checking for _float round functions... " >&6; }
-    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
+$as_echo_n "checking for _frexpf declaration... " >&6; }
+  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
+    if ${glibcxx_cv_func__frexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -72656,15 +69130,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
-_ceilf (0); _floorf (0);
+ _frexpf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__float_round_use=yes
+  glibcxx_cv_func__frexpf_use=yes
 else
-  glibcxx_cv_func__float_round_use=no
+  glibcxx_cv_func__frexpf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -72673,19 +69147,20 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
-$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
-    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
-      for ac_func in _ceilf _floorf
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
+$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
+
+    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
+      for ac_func in _frexpf
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
+if test "x$ac_cv_func__frexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE__FREXPF 1
 _ACEOF
 
 fi
@@ -72698,11 +69173,10 @@ done
 
 
 
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
-$as_echo_n "checking for expf declaration... " >&6; }
-  if test x${glibcxx_cv_func_expf_use+set} != xset; then
-    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
+$as_echo_n "checking for hypotf declaration... " >&6; }
+  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
+    if ${glibcxx_cv_func_hypotf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -72716,22 +69190,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
expf(0);
hypotf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_expf_use=yes
+  glibcxx_cv_func_hypotf_use=yes
 else
-  glibcxx_cv_func_expf_use=no
+  glibcxx_cv_func_hypotf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -72744,16 +69214,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
-$as_echo "$glibcxx_cv_func_expf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
+$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
 
-  if test x$glibcxx_cv_func_expf_use = x"yes"; then
-    for ac_func in expf
+  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
+    for ac_func in hypotf
 do :
-  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
-if test "x$ac_cv_func_expf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
+if test "x$ac_cv_func_hypotf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_EXPF 1
+#define HAVE_HYPOTF 1
 _ACEOF
 
 fi
@@ -72761,10 +69231,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
-$as_echo_n "checking for _expf declaration... " >&6; }
-  if test x${glibcxx_cv_func__expf_use+set} != xset; then
-    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
+$as_echo_n "checking for _hypotf declaration... " >&6; }
+  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
+    if ${glibcxx_cv_func__hypotf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -72778,22 +69248,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _expf(0);
+ _hypotf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__expf_use=yes
+  glibcxx_cv_func__hypotf_use=yes
 else
-  glibcxx_cv_func__expf_use=no
+  glibcxx_cv_func__hypotf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -72806,16 +69272,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
-$as_echo "$glibcxx_cv_func__expf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
+$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
 
-    if test x$glibcxx_cv_func__expf_use = x"yes"; then
-      for ac_func in _expf
+    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
+      for ac_func in _hypotf
 do :
-  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
-if test "x$ac_cv_func__expf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
+if test "x$ac_cv_func__hypotf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__EXPF 1
+#define HAVE__HYPOTF 1
 _ACEOF
 
 fi
@@ -72828,10 +69294,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
-$as_echo_n "checking for isnanf declaration... " >&6; }
-  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
+$as_echo_n "checking for ldexpf declaration... " >&6; }
+  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
+    if ${glibcxx_cv_func_ldexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -72845,22 +69311,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
isnanf(0);
ldexpf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isnanf_use=yes
+  glibcxx_cv_func_ldexpf_use=yes
 else
-  glibcxx_cv_func_isnanf_use=no
+  glibcxx_cv_func_ldexpf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -72873,16 +69335,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
-$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
+$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
 
-  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
-    for ac_func in isnanf
+  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
+    for ac_func in ldexpf
 do :
-  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
-if test "x$ac_cv_func_isnanf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
+if test "x$ac_cv_func_ldexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISNANF 1
+#define HAVE_LDEXPF 1
 _ACEOF
 
 fi
@@ -72890,10 +69352,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
-$as_echo_n "checking for _isnanf declaration... " >&6; }
-  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
+$as_echo_n "checking for _ldexpf declaration... " >&6; }
+  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
+    if ${glibcxx_cv_func__ldexpf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -72907,22 +69369,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isnanf(0);
+ _ldexpf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isnanf_use=yes
+  glibcxx_cv_func__ldexpf_use=yes
 else
-  glibcxx_cv_func__isnanf_use=no
+  glibcxx_cv_func__ldexpf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -72935,16 +69393,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
-$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
+$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
 
-    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
-      for ac_func in _isnanf
+    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
+      for ac_func in _ldexpf
 do :
-  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
-if test "x$ac_cv_func__isnanf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
+if test "x$ac_cv_func__ldexpf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISNANF 1
+#define HAVE__LDEXPF 1
 _ACEOF
 
 fi
@@ -72957,10 +69415,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
-$as_echo_n "checking for isinff declaration... " >&6; }
-  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
+$as_echo_n "checking for logf declaration... " >&6; }
+  if test x${glibcxx_cv_func_logf_use+set} != xset; then
+    if ${glibcxx_cv_func_logf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -72981,15 +69439,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
isinff(0);
logf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isinff_use=yes
+  glibcxx_cv_func_logf_use=yes
 else
-  glibcxx_cv_func_isinff_use=no
+  glibcxx_cv_func_logf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -73002,16 +69460,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
-$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
+$as_echo "$glibcxx_cv_func_logf_use" >&6; }
 
-  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
-    for ac_func in isinff
+  if test x$glibcxx_cv_func_logf_use = x"yes"; then
+    for ac_func in logf
 do :
-  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
-if test "x$ac_cv_func_isinff" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
+if test "x$ac_cv_func_logf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISINFF 1
+#define HAVE_LOGF 1
 _ACEOF
 
 fi
@@ -73019,10 +69477,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
-$as_echo_n "checking for _isinff declaration... " >&6; }
-  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
+$as_echo_n "checking for _logf declaration... " >&6; }
+  if test x${glibcxx_cv_func__logf_use+set} != xset; then
+    if ${glibcxx_cv_func__logf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -73043,15 +69501,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _isinff(0);
+ _logf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isinff_use=yes
+  glibcxx_cv_func__logf_use=yes
 else
-  glibcxx_cv_func__isinff_use=no
+  glibcxx_cv_func__logf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -73064,16 +69522,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
-$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
+$as_echo "$glibcxx_cv_func__logf_use" >&6; }
 
-    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
-      for ac_func in _isinff
+    if test x$glibcxx_cv_func__logf_use = x"yes"; then
+      for ac_func in _logf
 do :
-  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
-if test "x$ac_cv_func__isinff" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
+if test "x$ac_cv_func__logf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISINFF 1
+#define HAVE__LOGF 1
 _ACEOF
 
 fi
@@ -73086,10 +69544,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
-$as_echo_n "checking for atan2f declaration... " >&6; }
-  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
+$as_echo_n "checking for log10f declaration... " >&6; }
+  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
+    if ${glibcxx_cv_func_log10f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -73103,18 +69561,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
atan2f(0, 0);
log10f(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_atan2f_use=yes
+  glibcxx_cv_func_log10f_use=yes
 else
-  glibcxx_cv_func_atan2f_use=no
+  glibcxx_cv_func_log10f_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -73127,16 +69589,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
-$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
+$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
 
-  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
-    for ac_func in atan2f
+  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
+    for ac_func in log10f
 do :
-  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
-if test "x$ac_cv_func_atan2f" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
+if test "x$ac_cv_func_log10f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ATAN2F 1
+#define HAVE_LOG10F 1
 _ACEOF
 
 fi
@@ -73144,10 +69606,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
-$as_echo_n "checking for _atan2f declaration... " >&6; }
-  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
+$as_echo_n "checking for _log10f declaration... " >&6; }
+  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
+    if ${glibcxx_cv_func__log10f_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -73161,18 +69623,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _atan2f(0, 0);
+ _log10f(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__atan2f_use=yes
+  glibcxx_cv_func__log10f_use=yes
 else
-  glibcxx_cv_func__atan2f_use=no
+  glibcxx_cv_func__log10f_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -73185,16 +69651,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
-$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
+$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
 
-    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
-      for ac_func in _atan2f
+    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
+      for ac_func in _log10f
 do :
-  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
-if test "x$ac_cv_func__atan2f" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
+if test "x$ac_cv_func__log10f" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ATAN2F 1
+#define HAVE__LOG10F 1
 _ACEOF
 
 fi
@@ -73207,10 +69673,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
-$as_echo_n "checking for fabsf declaration... " >&6; }
-  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
+$as_echo_n "checking for modff declaration... " >&6; }
+  if test x${glibcxx_cv_func_modff_use+set} != xset; then
+    if ${glibcxx_cv_func_modff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -73224,22 +69690,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
fabsf(0);
modff(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fabsf_use=yes
+  glibcxx_cv_func_modff_use=yes
 else
-  glibcxx_cv_func_fabsf_use=no
+  glibcxx_cv_func_modff_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -73252,16 +69714,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
-$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
+$as_echo "$glibcxx_cv_func_modff_use" >&6; }
 
-  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
-    for ac_func in fabsf
+  if test x$glibcxx_cv_func_modff_use = x"yes"; then
+    for ac_func in modff
 do :
-  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
-if test "x$ac_cv_func_fabsf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
+if test "x$ac_cv_func_modff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FABSF 1
+#define HAVE_MODFF 1
 _ACEOF
 
 fi
@@ -73269,10 +69731,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
-$as_echo_n "checking for _fabsf declaration... " >&6; }
-  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
+$as_echo_n "checking for _modff declaration... " >&6; }
+  if test x${glibcxx_cv_func__modff_use+set} != xset; then
+    if ${glibcxx_cv_func__modff_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -73286,22 +69748,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _fabsf(0);
+ _modff(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fabsf_use=yes
+  glibcxx_cv_func__modff_use=yes
 else
-  glibcxx_cv_func__fabsf_use=no
+  glibcxx_cv_func__modff_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -73314,16 +69772,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
-$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
+$as_echo "$glibcxx_cv_func__modff_use" >&6; }
 
-    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
-      for ac_func in _fabsf
+    if test x$glibcxx_cv_func__modff_use = x"yes"; then
+      for ac_func in _modff
 do :
-  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
-if test "x$ac_cv_func__fabsf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
+if test "x$ac_cv_func__modff" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FABSF 1
+#define HAVE__MODFF 1
 _ACEOF
 
 fi
@@ -73336,10 +69794,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
-$as_echo_n "checking for fmodf declaration... " >&6; }
-  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
+$as_echo_n "checking for modf declaration... " >&6; }
+  if test x${glibcxx_cv_func_modf_use+set} != xset; then
+    if ${glibcxx_cv_func_modf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -73356,15 +69814,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
fmodf(0, 0);
+ modf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fmodf_use=yes
+  glibcxx_cv_func_modf_use=yes
 else
-  glibcxx_cv_func_fmodf_use=no
+  glibcxx_cv_func_modf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -73377,16 +69835,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
-$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
+$as_echo "$glibcxx_cv_func_modf_use" >&6; }
 
-  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
-    for ac_func in fmodf
+  if test x$glibcxx_cv_func_modf_use = x"yes"; then
+    for ac_func in modf
 do :
-  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
-if test "x$ac_cv_func_fmodf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
+if test "x$ac_cv_func_modf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FMODF 1
+#define HAVE_MODF 1
 _ACEOF
 
 fi
@@ -73394,10 +69852,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
-$as_echo_n "checking for _fmodf declaration... " >&6; }
-  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
+$as_echo_n "checking for _modf declaration... " >&6; }
+  if test x${glibcxx_cv_func__modf_use+set} != xset; then
+    if ${glibcxx_cv_func__modf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -73414,15 +69872,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _fmodf(0, 0);
+ _modf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fmodf_use=yes
+  glibcxx_cv_func__modf_use=yes
 else
-  glibcxx_cv_func__fmodf_use=no
+  glibcxx_cv_func__modf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -73435,16 +69893,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
-$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
+$as_echo "$glibcxx_cv_func__modf_use" >&6; }
 
-    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
-      for ac_func in _fmodf
+    if test x$glibcxx_cv_func__modf_use = x"yes"; then
+      for ac_func in _modf
 do :
-  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
-if test "x$ac_cv_func__fmodf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
+if test "x$ac_cv_func__modf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FMODF 1
+#define HAVE__MODF 1
 _ACEOF
 
 fi
@@ -73457,10 +69915,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
-$as_echo_n "checking for frexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
+$as_echo_n "checking for powf declaration... " >&6; }
+  if test x${glibcxx_cv_func_powf_use+set} != xset; then
+    if ${glibcxx_cv_func_powf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -73477,15 +69935,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
frexpf(0, 0);
powf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_frexpf_use=yes
+  glibcxx_cv_func_powf_use=yes
 else
-  glibcxx_cv_func_frexpf_use=no
+  glibcxx_cv_func_powf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -73498,16 +69956,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
-$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
+$as_echo "$glibcxx_cv_func_powf_use" >&6; }
 
-  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
-    for ac_func in frexpf
+  if test x$glibcxx_cv_func_powf_use = x"yes"; then
+    for ac_func in powf
 do :
-  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
-if test "x$ac_cv_func_frexpf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
+if test "x$ac_cv_func_powf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FREXPF 1
+#define HAVE_POWF 1
 _ACEOF
 
 fi
@@ -73515,10 +69973,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
-$as_echo_n "checking for _frexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
+$as_echo_n "checking for _powf declaration... " >&6; }
+  if test x${glibcxx_cv_func__powf_use+set} != xset; then
+    if ${glibcxx_cv_func__powf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -73535,15 +69993,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _frexpf(0, 0);
+ _powf(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__frexpf_use=yes
+  glibcxx_cv_func__powf_use=yes
 else
-  glibcxx_cv_func__frexpf_use=no
+  glibcxx_cv_func__powf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -73556,16 +70014,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
-$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
+$as_echo "$glibcxx_cv_func__powf_use" >&6; }
 
-    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
-      for ac_func in _frexpf
+    if test x$glibcxx_cv_func__powf_use = x"yes"; then
+      for ac_func in _powf
 do :
-  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
-if test "x$ac_cv_func__frexpf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
+if test "x$ac_cv_func__powf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FREXPF 1
+#define HAVE__POWF 1
 _ACEOF
 
 fi
@@ -73578,10 +70036,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
-$as_echo_n "checking for hypotf declaration... " >&6; }
-  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
+$as_echo_n "checking for sqrtf declaration... " >&6; }
+  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
+    if ${glibcxx_cv_func_sqrtf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -73595,18 +70053,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
hypotf(0, 0);
sqrtf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_hypotf_use=yes
+  glibcxx_cv_func_sqrtf_use=yes
 else
-  glibcxx_cv_func_hypotf_use=no
+  glibcxx_cv_func_sqrtf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -73619,16 +70081,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
-$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
+$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
 
-  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
-    for ac_func in hypotf
+  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
+    for ac_func in sqrtf
 do :
-  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
-if test "x$ac_cv_func_hypotf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
+if test "x$ac_cv_func_sqrtf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_HYPOTF 1
+#define HAVE_SQRTF 1
 _ACEOF
 
 fi
@@ -73636,10 +70098,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
-$as_echo_n "checking for _hypotf declaration... " >&6; }
-  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
+$as_echo_n "checking for _sqrtf declaration... " >&6; }
+  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
+    if ${glibcxx_cv_func__sqrtf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -73653,18 +70115,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _hypotf(0, 0);
+ _sqrtf(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__hypotf_use=yes
+  glibcxx_cv_func__sqrtf_use=yes
 else
-  glibcxx_cv_func__hypotf_use=no
+  glibcxx_cv_func__sqrtf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -73677,16 +70143,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
-$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
+$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
 
-    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
-      for ac_func in _hypotf
+    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
+      for ac_func in _sqrtf
 do :
-  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
-if test "x$ac_cv_func__hypotf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
+if test "x$ac_cv_func__sqrtf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__HYPOTF 1
+#define HAVE__SQRTF 1
 _ACEOF
 
 fi
@@ -73699,10 +70165,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
-$as_echo_n "checking for ldexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
+$as_echo_n "checking for sincosf declaration... " >&6; }
+  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
+    if ${glibcxx_cv_func_sincosf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -73719,15 +70185,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
ldexpf(0, 0);
sincosf(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_ldexpf_use=yes
+  glibcxx_cv_func_sincosf_use=yes
 else
-  glibcxx_cv_func_ldexpf_use=no
+  glibcxx_cv_func_sincosf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -73740,16 +70206,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
-$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
+$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
 
-  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
-    for ac_func in ldexpf
+  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
+    for ac_func in sincosf
 do :
-  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
-if test "x$ac_cv_func_ldexpf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
+if test "x$ac_cv_func_sincosf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LDEXPF 1
+#define HAVE_SINCOSF 1
 _ACEOF
 
 fi
@@ -73757,10 +70223,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
-$as_echo_n "checking for _ldexpf declaration... " >&6; }
-  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
+$as_echo_n "checking for _sincosf declaration... " >&6; }
+  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
+    if ${glibcxx_cv_func__sincosf_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -73777,15 +70243,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _ldexpf(0, 0);
+ _sincosf(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__ldexpf_use=yes
+  glibcxx_cv_func__sincosf_use=yes
 else
-  glibcxx_cv_func__ldexpf_use=no
+  glibcxx_cv_func__sincosf_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -73798,16 +70264,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
-$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
+$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
 
-    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
-      for ac_func in _ldexpf
+    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
+      for ac_func in _sincosf
 do :
-  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
-if test "x$ac_cv_func__ldexpf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
+if test "x$ac_cv_func__sincosf" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LDEXPF 1
+#define HAVE__SINCOSF 1
 _ACEOF
 
 fi
@@ -73820,10 +70286,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
-$as_echo_n "checking for logf declaration... " >&6; }
-  if test x${glibcxx_cv_func_logf_use+set} != xset; then
-    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
+$as_echo_n "checking for finitef declaration... " >&6; }
+  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
+    if ${glibcxx_cv_func_finitef_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -73844,15 +70310,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
logf(0);
finitef(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_logf_use=yes
+  glibcxx_cv_func_finitef_use=yes
 else
-  glibcxx_cv_func_logf_use=no
+  glibcxx_cv_func_finitef_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -73865,16 +70331,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
-$as_echo "$glibcxx_cv_func_logf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
+$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
 
-  if test x$glibcxx_cv_func_logf_use = x"yes"; then
-    for ac_func in logf
+  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
+    for ac_func in finitef
 do :
-  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
-if test "x$ac_cv_func_logf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
+if test "x$ac_cv_func_finitef" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOGF 1
+#define HAVE_FINITEF 1
 _ACEOF
 
 fi
@@ -73882,10 +70348,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
-$as_echo_n "checking for _logf declaration... " >&6; }
-  if test x${glibcxx_cv_func__logf_use+set} != xset; then
-    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
+$as_echo_n "checking for _finitef declaration... " >&6; }
+  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
+    if ${glibcxx_cv_func__finitef_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -73906,15 +70372,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _logf(0);
+ _finitef(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__logf_use=yes
+  glibcxx_cv_func__finitef_use=yes
 else
-  glibcxx_cv_func__logf_use=no
+  glibcxx_cv_func__finitef_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -73927,16 +70393,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
-$as_echo "$glibcxx_cv_func__logf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
+$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
 
-    if test x$glibcxx_cv_func__logf_use = x"yes"; then
-      for ac_func in _logf
+    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
+      for ac_func in _finitef
 do :
-  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
-if test "x$ac_cv_func__logf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
+if test "x$ac_cv_func__finitef" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOGF 1
+#define HAVE__FINITEF 1
 _ACEOF
 
 fi
@@ -73949,72 +70415,63 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
-$as_echo_n "checking for log10f declaration... " >&6; }
-  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
+$as_echo_n "checking for long double trig functions... " >&6; }
+  if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- log10f(0);
+acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_log10f_use=yes
+  glibcxx_cv_func_long_double_trig_use=yes
 else
-  glibcxx_cv_func_log10f_use=no
+  glibcxx_cv_func_long_double_trig_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
-$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
-
-  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
-    for ac_func in log10f
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
+$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
+  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
+    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
 do :
-  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
-if test "x$ac_cv_func_log10f" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOG10F 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 done
 
   else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
-$as_echo_n "checking for _log10f declaration... " >&6; }
-  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
+$as_echo_n "checking for _long double trig functions... " >&6; }
+    if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -74028,22 +70485,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _log10f(0);
+_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__log10f_use=yes
+  glibcxx_cv_func__long_double_trig_use=yes
 else
-  glibcxx_cv_func__log10f_use=no
+  glibcxx_cv_func__long_double_trig_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -74052,20 +70505,18 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
-$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
-
-    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
-      for ac_func in _log10f
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
+$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
+    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
+      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
 do :
-  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
-if test "x$ac_cv_func__log10f" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOG10F 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -74078,68 +70529,63 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
-$as_echo_n "checking for modff declaration... " >&6; }
-  if test x${glibcxx_cv_func_modff_use+set} != xset; then
-    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
+$as_echo_n "checking for long double round functions... " >&6; }
+  if ${glibcxx_cv_func_long_double_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
- modff(0, 0);
+ceill (0); floorl (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_modff_use=yes
+  glibcxx_cv_func_long_double_round_use=yes
 else
-  glibcxx_cv_func_modff_use=no
+  glibcxx_cv_func_long_double_round_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
-$as_echo "$glibcxx_cv_func_modff_use" >&6; }
-
-  if test x$glibcxx_cv_func_modff_use = x"yes"; then
-    for ac_func in modff
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
+$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
+  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
+    for ac_func in ceill floorl
 do :
-  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
-if test "x$ac_cv_func_modff" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_MODFF 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
 done
 
   else
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
-$as_echo_n "checking for _modff declaration... " >&6; }
-  if test x${glibcxx_cv_func__modff_use+set} != xset; then
-    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
+$as_echo_n "checking for _long double round functions... " >&6; }
+    if ${glibcxx_cv_func__long_double_round_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -74156,15 +70602,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _modff(0, 0);
+_ceill (0); _floorl (0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__modff_use=yes
+  glibcxx_cv_func__long_double_round_use=yes
 else
-  glibcxx_cv_func__modff_use=no
+  glibcxx_cv_func__long_double_round_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -74173,20 +70619,18 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-
 fi
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
-$as_echo "$glibcxx_cv_func__modff_use" >&6; }
-
-    if test x$glibcxx_cv_func__modff_use = x"yes"; then
-      for ac_func in _modff
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
+$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
+    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
+      for ac_func in _ceill _floorl
 do :
-  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
-if test "x$ac_cv_func__modff" = x""yes; then :
+  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
+ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
+if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__MODFF 1
+#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 _ACEOF
 
 fi
@@ -74199,10 +70643,11 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
-$as_echo_n "checking for modf declaration... " >&6; }
-  if test x${glibcxx_cv_func_modf_use+set} != xset; then
-    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
+$as_echo_n "checking for isnanl declaration... " >&6; }
+  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
+    if ${glibcxx_cv_func_isnanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -74216,18 +70661,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
modf(0, 0);
isnanl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_modf_use=yes
+  glibcxx_cv_func_isnanl_use=yes
 else
-  glibcxx_cv_func_modf_use=no
+  glibcxx_cv_func_isnanl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -74240,16 +70689,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
-$as_echo "$glibcxx_cv_func_modf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
+$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
 
-  if test x$glibcxx_cv_func_modf_use = x"yes"; then
-    for ac_func in modf
+  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
+    for ac_func in isnanl
 do :
-  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
-if test "x$ac_cv_func_modf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
+if test "x$ac_cv_func_isnanl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_MODF 1
+#define HAVE_ISNANL 1
 _ACEOF
 
 fi
@@ -74257,10 +70706,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
-$as_echo_n "checking for _modf declaration... " >&6; }
-  if test x${glibcxx_cv_func__modf_use+set} != xset; then
-    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
+$as_echo_n "checking for _isnanl declaration... " >&6; }
+  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
+    if ${glibcxx_cv_func__isnanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -74274,18 +70723,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _modf(0, 0);
+ _isnanl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__modf_use=yes
+  glibcxx_cv_func__isnanl_use=yes
 else
-  glibcxx_cv_func__modf_use=no
+  glibcxx_cv_func__isnanl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -74298,16 +70751,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
-$as_echo "$glibcxx_cv_func__modf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
+$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
 
-    if test x$glibcxx_cv_func__modf_use = x"yes"; then
-      for ac_func in _modf
+    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
+      for ac_func in _isnanl
 do :
-  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
-if test "x$ac_cv_func__modf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
+if test "x$ac_cv_func__isnanl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__MODF 1
+#define HAVE__ISNANL 1
 _ACEOF
 
 fi
@@ -74320,10 +70773,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
-$as_echo_n "checking for powf declaration... " >&6; }
-  if test x${glibcxx_cv_func_powf_use+set} != xset; then
-    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
+$as_echo_n "checking for isinfl declaration... " >&6; }
+  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
+    if ${glibcxx_cv_func_isinfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -74337,18 +70790,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
powf(0, 0);
isinfl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_powf_use=yes
+  glibcxx_cv_func_isinfl_use=yes
 else
-  glibcxx_cv_func_powf_use=no
+  glibcxx_cv_func_isinfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -74361,16 +70818,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
-$as_echo "$glibcxx_cv_func_powf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
+$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
 
-  if test x$glibcxx_cv_func_powf_use = x"yes"; then
-    for ac_func in powf
+  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
+    for ac_func in isinfl
 do :
-  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
-if test "x$ac_cv_func_powf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
+if test "x$ac_cv_func_isinfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_POWF 1
+#define HAVE_ISINFL 1
 _ACEOF
 
 fi
@@ -74378,10 +70835,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
-$as_echo_n "checking for _powf declaration... " >&6; }
-  if test x${glibcxx_cv_func__powf_use+set} != xset; then
-    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
+$as_echo_n "checking for _isinfl declaration... " >&6; }
+  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
+    if ${glibcxx_cv_func__isinfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -74395,18 +70852,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _powf(0, 0);
+ _isinfl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__powf_use=yes
+  glibcxx_cv_func__isinfl_use=yes
 else
-  glibcxx_cv_func__powf_use=no
+  glibcxx_cv_func__isinfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -74419,16 +70880,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
-$as_echo "$glibcxx_cv_func__powf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
+$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
 
-    if test x$glibcxx_cv_func__powf_use = x"yes"; then
-      for ac_func in _powf
+    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
+      for ac_func in _isinfl
 do :
-  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
-if test "x$ac_cv_func__powf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
+if test "x$ac_cv_func__isinfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__POWF 1
+#define HAVE__ISINFL 1
 _ACEOF
 
 fi
@@ -74441,10 +70902,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
-$as_echo_n "checking for sqrtf declaration... " >&6; }
-  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
+$as_echo_n "checking for atan2l declaration... " >&6; }
+  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
+    if ${glibcxx_cv_func_atan2l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -74458,22 +70919,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
sqrtf(0);
atan2l(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sqrtf_use=yes
+  glibcxx_cv_func_atan2l_use=yes
 else
-  glibcxx_cv_func_sqrtf_use=no
+  glibcxx_cv_func_atan2l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -74486,16 +70943,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
-$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
+$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
 
-  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
-    for ac_func in sqrtf
+  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
+    for ac_func in atan2l
 do :
-  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
-if test "x$ac_cv_func_sqrtf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
+if test "x$ac_cv_func_atan2l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SQRTF 1
+#define HAVE_ATAN2L 1
 _ACEOF
 
 fi
@@ -74503,10 +70960,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
-$as_echo_n "checking for _sqrtf declaration... " >&6; }
-  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
+$as_echo_n "checking for _atan2l declaration... " >&6; }
+  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
+    if ${glibcxx_cv_func__atan2l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -74519,23 +70976,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
+#include <math.h>
 int
 main ()
 {
- _sqrtf(0);
+ _atan2l(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sqrtf_use=yes
+  glibcxx_cv_func__atan2l_use=yes
 else
-  glibcxx_cv_func__sqrtf_use=no
+  glibcxx_cv_func__atan2l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -74548,16 +71001,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
-$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
+$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
 
-    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
-      for ac_func in _sqrtf
+    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
+      for ac_func in _atan2l
 do :
-  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
-if test "x$ac_cv_func__sqrtf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
+if test "x$ac_cv_func__atan2l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__SQRTF 1
+#define HAVE__ATAN2L 1
 _ACEOF
 
 fi
@@ -74570,10 +71023,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
-$as_echo_n "checking for sincosf declaration... " >&6; }
-  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
+$as_echo_n "checking for expl declaration... " >&6; }
+  if test x${glibcxx_cv_func_expl_use+set} != xset; then
+    if ${glibcxx_cv_func_expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -74587,18 +71040,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
sincosf(0, 0, 0);
expl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sincosf_use=yes
+  glibcxx_cv_func_expl_use=yes
 else
-  glibcxx_cv_func_sincosf_use=no
+  glibcxx_cv_func_expl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -74611,16 +71068,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
-$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
+$as_echo "$glibcxx_cv_func_expl_use" >&6; }
 
-  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
-    for ac_func in sincosf
+  if test x$glibcxx_cv_func_expl_use = x"yes"; then
+    for ac_func in expl
 do :
-  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
-if test "x$ac_cv_func_sincosf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
+if test "x$ac_cv_func_expl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_SINCOSF 1
+#define HAVE_EXPL 1
 _ACEOF
 
 fi
@@ -74628,10 +71085,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
-$as_echo_n "checking for _sincosf declaration... " >&6; }
-  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
+$as_echo_n "checking for _expl declaration... " >&6; }
+  if test x${glibcxx_cv_func__expl_use+set} != xset; then
+    if ${glibcxx_cv_func__expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -74645,18 +71102,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _sincosf(0, 0, 0);
+ _expl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sincosf_use=yes
+  glibcxx_cv_func__expl_use=yes
 else
-  glibcxx_cv_func__sincosf_use=no
+  glibcxx_cv_func__expl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -74669,16 +71130,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
-$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
+$as_echo "$glibcxx_cv_func__expl_use" >&6; }
 
-    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
-      for ac_func in _sincosf
+    if test x$glibcxx_cv_func__expl_use = x"yes"; then
+      for ac_func in _expl
 do :
-  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
-if test "x$ac_cv_func__sincosf" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
+if test "x$ac_cv_func__expl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__SINCOSF 1
+#define HAVE__EXPL 1
 _ACEOF
 
 fi
@@ -74691,10 +71152,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
-$as_echo_n "checking for finitef declaration... " >&6; }
-  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
+$as_echo_n "checking for fabsl declaration... " >&6; }
+  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
+    if ${glibcxx_cv_func_fabsl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -74715,15 +71176,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- finitef(0);
+ fabsl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_finitef_use=yes
+  glibcxx_cv_func_fabsl_use=yes
 else
-  glibcxx_cv_func_finitef_use=no
+  glibcxx_cv_func_fabsl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -74736,16 +71197,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
-$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
+$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
 
-  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
-    for ac_func in finitef
+  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
+    for ac_func in fabsl
 do :
-  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
-if test "x$ac_cv_func_finitef" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
+if test "x$ac_cv_func_fabsl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FINITEF 1
+#define HAVE_FABSL 1
 _ACEOF
 
 fi
@@ -74753,10 +71214,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
-$as_echo_n "checking for _finitef declaration... " >&6; }
-  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
+$as_echo_n "checking for _fabsl declaration... " >&6; }
+  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
+    if ${glibcxx_cv_func__fabsl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -74777,15 +71238,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _finitef(0);
+ _fabsl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__finitef_use=yes
+  glibcxx_cv_func__fabsl_use=yes
 else
-  glibcxx_cv_func__finitef_use=no
+  glibcxx_cv_func__fabsl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -74798,16 +71259,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
-$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
+$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
 
-    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
-      for ac_func in _finitef
+    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
+      for ac_func in _fabsl
 do :
-  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
-if test "x$ac_cv_func__finitef" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
+if test "x$ac_cv_func__fabsl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FINITEF 1
+#define HAVE__FABSL 1
 _ACEOF
 
 fi
@@ -74820,64 +71281,68 @@ done
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
-$as_echo_n "checking for long double trig functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
+$as_echo_n "checking for fmodl declaration... " >&6; }
+  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
+    if ${glibcxx_cv_func_fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-    ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
-acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
+ fmodl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_long_double_trig_use=yes
+  glibcxx_cv_func_fmodl_use=yes
 else
-  glibcxx_cv_func_long_double_trig_use=no
+  glibcxx_cv_func_fmodl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
-$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
-  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
-    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
+$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
+
+  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
+    for ac_func in fmodl
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
+if test "x$ac_cv_func_fmodl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_FMODL 1
 _ACEOF
 
 fi
 done
 
   else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
-$as_echo_n "checking for _long double trig functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
+$as_echo_n "checking for _fmodl declaration... " >&6; }
+  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
+    if ${glibcxx_cv_func__fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -74894,15 +71359,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
-_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
+ _fmodl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__long_double_trig_use=yes
+  glibcxx_cv_func__fmodl_use=yes
 else
-  glibcxx_cv_func__long_double_trig_use=no
+  glibcxx_cv_func__fmodl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -74911,19 +71376,20 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
-$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
-    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
-      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
+$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
+
+    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
+      for ac_func in _fmodl
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
+if test "x$ac_cv_func__fmodl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE__FMODL 1
 _ACEOF
 
 fi
@@ -74936,64 +71402,68 @@ done
 
 
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
-$as_echo_n "checking for long double round functions... " >&6; }
-  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
+$as_echo_n "checking for frexpl declaration... " >&6; }
+  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
+    if ${glibcxx_cv_func_frexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-    ac_ext=cpp
+      ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
 int
 main ()
 {
-ceill (0); floorl (0);
+ frexpl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_long_double_round_use=yes
+  glibcxx_cv_func_frexpl_use=yes
 else
-  glibcxx_cv_func_long_double_round_use=no
+  glibcxx_cv_func_frexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-    ac_ext=c
+      ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
-$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
-  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
-    for ac_func in ceill floorl
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
+$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
+
+  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
+    for ac_func in frexpl
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
+if test "x$ac_cv_func_frexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE_FREXPL 1
 _ACEOF
 
 fi
 done
 
   else
-    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
-$as_echo_n "checking for _long double round functions... " >&6; }
-    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
+$as_echo_n "checking for _frexpl declaration... " >&6; }
+  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
+    if ${glibcxx_cv_func__frexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -75010,15 +71480,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
-_ceill (0); _floorl (0);
+ _frexpl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__long_double_round_use=yes
+  glibcxx_cv_func__frexpl_use=yes
 else
-  glibcxx_cv_func__long_double_round_use=no
+  glibcxx_cv_func__frexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -75027,19 +71497,20 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+
 fi
 
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
-$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
-    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
-      for ac_func in _ceill _floorl
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
+$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
+
+    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
+      for ac_func in _frexpl
 do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
+if test "x$ac_cv_func__frexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
+#define HAVE__FREXPL 1
 _ACEOF
 
 fi
@@ -75052,11 +71523,10 @@ done
 
 
 
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
-$as_echo_n "checking for isnanl declaration... " >&6; }
-  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
+$as_echo_n "checking for hypotl declaration... " >&6; }
+  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
+    if ${glibcxx_cv_func_hypotl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -75070,22 +71540,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
isnanl(0);
hypotl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isnanl_use=yes
+  glibcxx_cv_func_hypotl_use=yes
 else
-  glibcxx_cv_func_isnanl_use=no
+  glibcxx_cv_func_hypotl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -75098,16 +71564,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
-$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
+$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
 
-  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
-    for ac_func in isnanl
+  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
+    for ac_func in hypotl
 do :
-  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
-if test "x$ac_cv_func_isnanl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
+if test "x$ac_cv_func_hypotl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISNANL 1
+#define HAVE_HYPOTL 1
 _ACEOF
 
 fi
@@ -75115,10 +71581,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
-$as_echo_n "checking for _isnanl declaration... " >&6; }
-  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
+$as_echo_n "checking for _hypotl declaration... " >&6; }
+  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
+    if ${glibcxx_cv_func__hypotl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -75132,22 +71598,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isnanl(0);
+ _hypotl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isnanl_use=yes
+  glibcxx_cv_func__hypotl_use=yes
 else
-  glibcxx_cv_func__isnanl_use=no
+  glibcxx_cv_func__hypotl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -75160,16 +71622,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
-$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
+$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
 
-    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
-      for ac_func in _isnanl
+    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
+      for ac_func in _hypotl
 do :
-  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
-if test "x$ac_cv_func__isnanl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
+if test "x$ac_cv_func__hypotl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISNANL 1
+#define HAVE__HYPOTL 1
 _ACEOF
 
 fi
@@ -75182,10 +71644,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
-$as_echo_n "checking for isinfl declaration... " >&6; }
-  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
+$as_echo_n "checking for ldexpl declaration... " >&6; }
+  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
+    if ${glibcxx_cv_func_ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -75199,22 +71661,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
isinfl(0);
ldexpl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_isinfl_use=yes
+  glibcxx_cv_func_ldexpl_use=yes
 else
-  glibcxx_cv_func_isinfl_use=no
+  glibcxx_cv_func_ldexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -75227,16 +71685,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
-$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
+$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
 
-  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
-    for ac_func in isinfl
+  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
+    for ac_func in ldexpl
 do :
-  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
-if test "x$ac_cv_func_isinfl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
+if test "x$ac_cv_func_ldexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ISINFL 1
+#define HAVE_LDEXPL 1
 _ACEOF
 
 fi
@@ -75244,10 +71702,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
-$as_echo_n "checking for _isinfl declaration... " >&6; }
-  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
+$as_echo_n "checking for _ldexpl declaration... " >&6; }
+  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
+    if ${glibcxx_cv_func__ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -75261,22 +71719,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _isinfl(0);
+ _ldexpl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__isinfl_use=yes
+  glibcxx_cv_func__ldexpl_use=yes
 else
-  glibcxx_cv_func__isinfl_use=no
+  glibcxx_cv_func__ldexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -75289,16 +71743,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
-$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
+$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
 
-    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
-      for ac_func in _isinfl
+    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
+      for ac_func in _ldexpl
 do :
-  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
-if test "x$ac_cv_func__isinfl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
+if test "x$ac_cv_func__ldexpl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ISINFL 1
+#define HAVE__LDEXPL 1
 _ACEOF
 
 fi
@@ -75311,10 +71765,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
-$as_echo_n "checking for atan2l declaration... " >&6; }
-  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
+$as_echo_n "checking for logl declaration... " >&6; }
+  if test x${glibcxx_cv_func_logl_use+set} != xset; then
+    if ${glibcxx_cv_func_logl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -75328,18 +71782,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
atan2l(0, 0);
logl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_atan2l_use=yes
+  glibcxx_cv_func_logl_use=yes
 else
-  glibcxx_cv_func_atan2l_use=no
+  glibcxx_cv_func_logl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -75352,16 +71810,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
-$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
+$as_echo "$glibcxx_cv_func_logl_use" >&6; }
 
-  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
-    for ac_func in atan2l
+  if test x$glibcxx_cv_func_logl_use = x"yes"; then
+    for ac_func in logl
 do :
-  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
-if test "x$ac_cv_func_atan2l" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
+if test "x$ac_cv_func_logl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_ATAN2L 1
+#define HAVE_LOGL 1
 _ACEOF
 
 fi
@@ -75369,10 +71827,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
-$as_echo_n "checking for _atan2l declaration... " >&6; }
-  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
-    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
+$as_echo_n "checking for _logl declaration... " >&6; }
+  if test x${glibcxx_cv_func__logl_use+set} != xset; then
+    if ${glibcxx_cv_func__logl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -75386,18 +71844,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _atan2l(0, 0);
+ _logl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__atan2l_use=yes
+  glibcxx_cv_func__logl_use=yes
 else
-  glibcxx_cv_func__atan2l_use=no
+  glibcxx_cv_func__logl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -75410,16 +71872,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
-$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
+$as_echo "$glibcxx_cv_func__logl_use" >&6; }
 
-    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
-      for ac_func in _atan2l
+    if test x$glibcxx_cv_func__logl_use = x"yes"; then
+      for ac_func in _logl
 do :
-  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
-if test "x$ac_cv_func__atan2l" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
+if test "x$ac_cv_func__logl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__ATAN2L 1
+#define HAVE__LOGL 1
 _ACEOF
 
 fi
@@ -75432,10 +71894,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
-$as_echo_n "checking for expl declaration... " >&6; }
-  if test x${glibcxx_cv_func_expl_use+set} != xset; then
-    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
+$as_echo_n "checking for log10l declaration... " >&6; }
+  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
+    if ${glibcxx_cv_func_log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -75456,15 +71918,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
expl(0);
log10l(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_expl_use=yes
+  glibcxx_cv_func_log10l_use=yes
 else
-  glibcxx_cv_func_expl_use=no
+  glibcxx_cv_func_log10l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -75477,16 +71939,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
-$as_echo "$glibcxx_cv_func_expl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
+$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
 
-  if test x$glibcxx_cv_func_expl_use = x"yes"; then
-    for ac_func in expl
+  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
+    for ac_func in log10l
 do :
-  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
-if test "x$ac_cv_func_expl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
+if test "x$ac_cv_func_log10l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_EXPL 1
+#define HAVE_LOG10L 1
 _ACEOF
 
 fi
@@ -75494,10 +71956,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
-$as_echo_n "checking for _expl declaration... " >&6; }
-  if test x${glibcxx_cv_func__expl_use+set} != xset; then
-    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
+$as_echo_n "checking for _log10l declaration... " >&6; }
+  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
+    if ${glibcxx_cv_func__log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -75518,15 +71980,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _expl(0);
+ _log10l(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__expl_use=yes
+  glibcxx_cv_func__log10l_use=yes
 else
-  glibcxx_cv_func__expl_use=no
+  glibcxx_cv_func__log10l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -75539,16 +72001,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
-$as_echo "$glibcxx_cv_func__expl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
+$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
 
-    if test x$glibcxx_cv_func__expl_use = x"yes"; then
-      for ac_func in _expl
+    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
+      for ac_func in _log10l
 do :
-  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
-if test "x$ac_cv_func__expl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
+if test "x$ac_cv_func__log10l" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__EXPL 1
+#define HAVE__LOG10L 1
 _ACEOF
 
 fi
@@ -75561,10 +72023,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
-$as_echo_n "checking for fabsl declaration... " >&6; }
-  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
+$as_echo_n "checking for modfl declaration... " >&6; }
+  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
+    if ${glibcxx_cv_func_modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -75578,22 +72040,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
fabsl(0);
modfl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fabsl_use=yes
+  glibcxx_cv_func_modfl_use=yes
 else
-  glibcxx_cv_func_fabsl_use=no
+  glibcxx_cv_func_modfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -75606,16 +72064,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
-$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
+$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
 
-  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
-    for ac_func in fabsl
+  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
+    for ac_func in modfl
 do :
-  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
-if test "x$ac_cv_func_fabsl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
+if test "x$ac_cv_func_modfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FABSL 1
+#define HAVE_MODFL 1
 _ACEOF
 
 fi
@@ -75623,10 +72081,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
-$as_echo_n "checking for _fabsl declaration... " >&6; }
-  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
+$as_echo_n "checking for _modfl declaration... " >&6; }
+  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
+    if ${glibcxx_cv_func__modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -75640,22 +72098,18 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
 int
 main ()
 {
- _fabsl(0);
+ _modfl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fabsl_use=yes
+  glibcxx_cv_func__modfl_use=yes
 else
-  glibcxx_cv_func__fabsl_use=no
+  glibcxx_cv_func__modfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -75668,16 +72122,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
-$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
+$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
 
-    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
-      for ac_func in _fabsl
+    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
+      for ac_func in _modfl
 do :
-  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
-if test "x$ac_cv_func__fabsl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
+if test "x$ac_cv_func__modfl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FABSL 1
+#define HAVE__MODFL 1
 _ACEOF
 
 fi
@@ -75690,10 +72144,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
-$as_echo_n "checking for fmodl declaration... " >&6; }
-  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
+$as_echo_n "checking for powl declaration... " >&6; }
+  if test x${glibcxx_cv_func_powl_use+set} != xset; then
+    if ${glibcxx_cv_func_powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -75710,15 +72164,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
fmodl(0, 0);
powl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_fmodl_use=yes
+  glibcxx_cv_func_powl_use=yes
 else
-  glibcxx_cv_func_fmodl_use=no
+  glibcxx_cv_func_powl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -75731,16 +72185,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
-$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
+$as_echo "$glibcxx_cv_func_powl_use" >&6; }
 
-  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
-    for ac_func in fmodl
+  if test x$glibcxx_cv_func_powl_use = x"yes"; then
+    for ac_func in powl
 do :
-  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
-if test "x$ac_cv_func_fmodl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
+if test "x$ac_cv_func_powl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FMODL 1
+#define HAVE_POWL 1
 _ACEOF
 
 fi
@@ -75748,10 +72202,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
-$as_echo_n "checking for _fmodl declaration... " >&6; }
-  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
-    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
+$as_echo_n "checking for _powl declaration... " >&6; }
+  if test x${glibcxx_cv_func__powl_use+set} != xset; then
+    if ${glibcxx_cv_func__powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -75768,15 +72222,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _fmodl(0, 0);
+ _powl(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__fmodl_use=yes
+  glibcxx_cv_func__powl_use=yes
 else
-  glibcxx_cv_func__fmodl_use=no
+  glibcxx_cv_func__powl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -75789,16 +72243,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
-$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
+$as_echo "$glibcxx_cv_func__powl_use" >&6; }
 
-    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
-      for ac_func in _fmodl
+    if test x$glibcxx_cv_func__powl_use = x"yes"; then
+      for ac_func in _powl
 do :
-  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
-if test "x$ac_cv_func__fmodl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
+if test "x$ac_cv_func__powl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FMODL 1
+#define HAVE__POWL 1
 _ACEOF
 
 fi
@@ -75811,10 +72265,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
-$as_echo_n "checking for frexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
+$as_echo_n "checking for sqrtl declaration... " >&6; }
+  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
+    if ${glibcxx_cv_func_sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -75828,18 +72282,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
frexpl(0, 0);
sqrtl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_frexpl_use=yes
+  glibcxx_cv_func_sqrtl_use=yes
 else
-  glibcxx_cv_func_frexpl_use=no
+  glibcxx_cv_func_sqrtl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -75852,16 +72310,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
-$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
+$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
 
-  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
-    for ac_func in frexpl
+  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
+    for ac_func in sqrtl
 do :
-  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
-if test "x$ac_cv_func_frexpl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
+if test "x$ac_cv_func_sqrtl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_FREXPL 1
+#define HAVE_SQRTL 1
 _ACEOF
 
 fi
@@ -75869,10 +72327,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
-$as_echo_n "checking for _frexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
+$as_echo_n "checking for _sqrtl declaration... " >&6; }
+  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
+    if ${glibcxx_cv_func__sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -75886,18 +72344,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _frexpl(0, 0);
+ _sqrtl(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__frexpl_use=yes
+  glibcxx_cv_func__sqrtl_use=yes
 else
-  glibcxx_cv_func__frexpl_use=no
+  glibcxx_cv_func__sqrtl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -75910,16 +72372,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
-$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
+$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
 
-    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
-      for ac_func in _frexpl
+    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
+      for ac_func in _sqrtl
 do :
-  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
-if test "x$ac_cv_func__frexpl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
+if test "x$ac_cv_func__sqrtl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__FREXPL 1
+#define HAVE__SQRTL 1
 _ACEOF
 
 fi
@@ -75932,10 +72394,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
-$as_echo_n "checking for hypotl declaration... " >&6; }
-  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
+$as_echo_n "checking for sincosl declaration... " >&6; }
+  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
+    if ${glibcxx_cv_func_sincosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -75952,15 +72414,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
hypotl(0, 0);
sincosl(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_hypotl_use=yes
+  glibcxx_cv_func_sincosl_use=yes
 else
-  glibcxx_cv_func_hypotl_use=no
+  glibcxx_cv_func_sincosl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -75973,16 +72435,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
-$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
+$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
 
-  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
-    for ac_func in hypotl
+  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
+    for ac_func in sincosl
 do :
-  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
-if test "x$ac_cv_func_hypotl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
+if test "x$ac_cv_func_sincosl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_HYPOTL 1
+#define HAVE_SINCOSL 1
 _ACEOF
 
 fi
@@ -75990,10 +72452,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
-$as_echo_n "checking for _hypotl declaration... " >&6; }
-  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
-    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
+$as_echo_n "checking for _sincosl declaration... " >&6; }
+  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
+    if ${glibcxx_cv_func__sincosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -76010,15 +72472,15 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 int
 main ()
 {
- _hypotl(0, 0);
+ _sincosl(0, 0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__hypotl_use=yes
+  glibcxx_cv_func__sincosl_use=yes
 else
-  glibcxx_cv_func__hypotl_use=no
+  glibcxx_cv_func__sincosl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -76031,16 +72493,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
-$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
+$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
 
-    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
-      for ac_func in _hypotl
+    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
+      for ac_func in _sincosl
 do :
-  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
-if test "x$ac_cv_func__hypotl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
+if test "x$ac_cv_func__sincosl" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__HYPOTL 1
+#define HAVE__SINCOSL 1
 _ACEOF
 
 fi
@@ -76053,10 +72515,10 @@ done
 
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
-$as_echo_n "checking for ldexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
+$as_echo_n "checking for finitel declaration... " >&6; }
+  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
+    if ${glibcxx_cv_func_finitel_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -76070,18 +72532,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
ldexpl(0, 0);
finitel(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_ldexpl_use=yes
+  glibcxx_cv_func_finitel_use=yes
 else
-  glibcxx_cv_func_ldexpl_use=no
+  glibcxx_cv_func_finitel_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -76094,16 +72560,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
-$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
+$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
 
-  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
-    for ac_func in ldexpl
+  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
+    for ac_func in finitel
 do :
-  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
-if test "x$ac_cv_func_ldexpl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
+if test "x$ac_cv_func_finitel" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LDEXPL 1
+#define HAVE_FINITEL 1
 _ACEOF
 
 fi
@@ -76111,10 +72577,10 @@ done
 
   else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
-$as_echo_n "checking for _ldexpl declaration... " >&6; }
-  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
-    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
+$as_echo_n "checking for _finitel declaration... " >&6; }
+  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
+    if ${glibcxx_cv_func__finitel_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -76128,18 +72594,22 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <math.h>
+                     #ifdef HAVE_IEEEFP_H
+                     #include <ieeefp.h>
+                     #endif
+
 int
 main ()
 {
- _ldexpl(0, 0);
+ _finitel(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__ldexpl_use=yes
+  glibcxx_cv_func__finitel_use=yes
 else
-  glibcxx_cv_func__ldexpl_use=no
+  glibcxx_cv_func__finitel_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -76152,16 +72622,16 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
-$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
+$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
 
-    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
-      for ac_func in _ldexpl
+    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
+      for ac_func in _finitel
 do :
-  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
-if test "x$ac_cv_func__ldexpl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
+if test "x$ac_cv_func__finitel" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LDEXPL 1
+#define HAVE__FINITEL 1
 _ACEOF
 
 fi
@@ -76173,11 +72643,19 @@ done
 
 
 
+  LIBS="$ac_save_LIBS"
+  CXXFLAGS="$ac_save_CXXFLAGS"
+
+
+  ac_test_CXXFLAGS="${CXXFLAGS+set}"
+  ac_save_CXXFLAGS="$CXXFLAGS"
+  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
-$as_echo_n "checking for logl declaration... " >&6; }
-  if test x${glibcxx_cv_func_logl_use+set} != xset; then
-    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
+$as_echo_n "checking for at_quick_exit declaration... " >&6; }
+  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
+    if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -76190,23 +72668,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
+#include <stdlib.h>
 int
 main ()
 {
logl(0);
at_quick_exit(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_logl_use=yes
+  glibcxx_cv_func_at_quick_exit_use=yes
 else
-  glibcxx_cv_func_logl_use=no
+  glibcxx_cv_func_at_quick_exit_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -76219,27 +72693,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
-$as_echo "$glibcxx_cv_func_logl_use" >&6; }
-
-  if test x$glibcxx_cv_func_logl_use = x"yes"; then
-    for ac_func in logl
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
+$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
+  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
+    for ac_func in at_quick_exit
 do :
-  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
-if test "x$ac_cv_func_logl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
+if test "x$ac_cv_func_at_quick_exit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOGL 1
+#define HAVE_AT_QUICK_EXIT 1
 _ACEOF
 
 fi
 done
 
-  else
+  fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
-$as_echo_n "checking for _logl declaration... " >&6; }
-  if test x${glibcxx_cv_func__logl_use+set} != xset; then
-    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
+$as_echo_n "checking for quick_exit declaration... " >&6; }
+  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
+    if ${glibcxx_cv_func_quick_exit_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -76252,23 +72726,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
+#include <stdlib.h>
 int
 main ()
 {
_logl(0);
quick_exit(0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__logl_use=yes
+  glibcxx_cv_func_quick_exit_use=yes
 else
-  glibcxx_cv_func__logl_use=no
+  glibcxx_cv_func_quick_exit_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -76281,32 +72751,27 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
-$as_echo "$glibcxx_cv_func__logl_use" >&6; }
-
-    if test x$glibcxx_cv_func__logl_use = x"yes"; then
-      for ac_func in _logl
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
+$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
+  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
+    for ac_func in quick_exit
 do :
-  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
-if test "x$ac_cv_func__logl" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
+if test "x$ac_cv_func_quick_exit" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOGL 1
+#define HAVE_QUICK_EXIT 1
 _ACEOF
 
 fi
 done
 
-    fi
   fi
 
 
-
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
-$as_echo_n "checking for log10l declaration... " >&6; }
-  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
+$as_echo_n "checking for strtold declaration... " >&6; }
+  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
+    if ${glibcxx_cv_func_strtold_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -76319,23 +72784,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
+#include <stdlib.h>
 int
 main ()
 {
log10l(0);
strtold(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_log10l_use=yes
+  glibcxx_cv_func_strtold_use=yes
 else
-  glibcxx_cv_func_log10l_use=no
+  glibcxx_cv_func_strtold_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -76348,27 +72809,29 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
-$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
-
-  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
-    for ac_func in log10l
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
+$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
+  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
+    for ac_func in strtold
 do :
-  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
-if test "x$ac_cv_func_log10l" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
+if test "x$ac_cv_func_strtold" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE_LOG10L 1
+#define HAVE_STRTOLD 1
 _ACEOF
 
 fi
 done
 
-  else
+  fi
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
-$as_echo_n "checking for _log10l declaration... " >&6; }
-  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
-    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
+$as_echo_n "checking for strtof declaration... " >&6; }
+  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
+    if ${glibcxx_cv_func_strtof_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -76381,23 +72844,19 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
-
+#include <stdlib.h>
 int
 main ()
 {
_log10l(0);
strtof(0, 0);
   ;
   return 0;
 }
 _ACEOF
 if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__log10l_use=yes
+  glibcxx_cv_func_strtof_use=yes
 else
-  glibcxx_cv_func__log10l_use=no
+  glibcxx_cv_func_strtof_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       ac_ext=c
@@ -76410,940 +72869,1176 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 fi
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
-$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
-
-    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
-      for ac_func in _log10l
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
+$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
+  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
+    for ac_func in strtof
 do :
-  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
-if test "x$ac_cv_func__log10l" = x""yes; then :
+  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
+if test "x$ac_cv_func_strtof" = xyes; then :
   cat >>confdefs.h <<_ACEOF
-#define HAVE__LOG10L 1
+#define HAVE_STRTOF 1
 _ACEOF
 
 fi
 done
 
-    fi
   fi
 
 
 
 
+  CXXFLAGS="$ac_save_CXXFLAGS"
+
+    ;;
+  *-vxworks)
+    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
-$as_echo_n "checking for modfl declaration... " >&6; }
-  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
+    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
+
+    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_COSF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
+
+    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
+
+    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_POWF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_SINF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_TANF 1" >>confdefs.h
+
+    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
+
+
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
+$as_echo_n "checking for acosl declaration... " >&6; }
+if ${glibcxx_cv_func_acosl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+
 #include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
+
 int
 main ()
 {
- modfl(0, 0);
+
+  void (*f)(void) = (void (*)(void))acosl;
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_modfl_use=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_acosl_use=yes
+
 else
-  glibcxx_cv_func_modfl_use=no
+  glibcxx_cv_func_acosl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
+$as_echo "$glibcxx_cv_func_acosl_use" >&6; }
+  if test "x$glibcxx_cv_func_acosl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_ACOSL 1
+_ACEOF
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
-$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
-
-  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
-    for ac_func in modfl
-do :
-  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
-if test "x$ac_cv_func_modfl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_MODFL 1
-_ACEOF
 
-fi
-done
 
-  else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
-$as_echo_n "checking for _modfl declaration... " >&6; }
-  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
-    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
+$as_echo_n "checking for asinl declaration... " >&6; }
+if ${glibcxx_cv_func_asinl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+
 #include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
+
 int
 main ()
 {
- _modfl(0, 0);
+
+  void (*f)(void) = (void (*)(void))asinl;
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__modfl_use=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_asinl_use=yes
+
 else
-  glibcxx_cv_func__modfl_use=no
+  glibcxx_cv_func_asinl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
+$as_echo "$glibcxx_cv_func_asinl_use" >&6; }
+  if test "x$glibcxx_cv_func_asinl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_ASINL 1
+_ACEOF
+
+  fi
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
+$as_echo_n "checking for atan2l declaration... " >&6; }
+if ${glibcxx_cv_func_atan2l_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+
       ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
 
-fi
+#include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
-$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
+int
+main ()
+{
 
-    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
-      for ac_func in _modfl
-do :
-  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
-if test "x$ac_cv_func__modfl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__MODFL 1
+  void (*f)(void) = (void (*)(void))atan2l;
+
+  ;
+  return 0;
+}
 _ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_atan2l_use=yes
 
+else
+  glibcxx_cv_func_atan2l_use=no
 fi
-done
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
+$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
+  if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_ATAN2L 1
+_ACEOF
 
-    fi
   fi
 
 
 
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
-$as_echo_n "checking for powl declaration... " >&6; }
-  if test x${glibcxx_cv_func_powl_use+set} != xset; then
-    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
+$as_echo_n "checking for atanl declaration... " >&6; }
+if ${glibcxx_cv_func_atanl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+
 #include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
+
 int
 main ()
 {
- powl(0, 0);
+
+  void (*f)(void) = (void (*)(void))atanl;
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_powl_use=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_atanl_use=yes
+
 else
-  glibcxx_cv_func_powl_use=no
+  glibcxx_cv_func_atanl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
+$as_echo "$glibcxx_cv_func_atanl_use" >&6; }
+  if test "x$glibcxx_cv_func_atanl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_ATANL 1
+_ACEOF
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
-$as_echo "$glibcxx_cv_func_powl_use" >&6; }
-
-  if test x$glibcxx_cv_func_powl_use = x"yes"; then
-    for ac_func in powl
-do :
-  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
-if test "x$ac_cv_func_powl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_POWL 1
-_ACEOF
 
-fi
-done
 
-  else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
-$as_echo_n "checking for _powl declaration... " >&6; }
-  if test x${glibcxx_cv_func__powl_use+set} != xset; then
-    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
+$as_echo_n "checking for ceill declaration... " >&6; }
+if ${glibcxx_cv_func_ceill_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+
 #include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
+
 int
 main ()
 {
- _powl(0, 0);
+
+  void (*f)(void) = (void (*)(void))ceill;
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__powl_use=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_ceill_use=yes
+
 else
-  glibcxx_cv_func__powl_use=no
+  glibcxx_cv_func_ceill_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
+$as_echo "$glibcxx_cv_func_ceill_use" >&6; }
+  if test "x$glibcxx_cv_func_ceill_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_CEILL 1
+_ACEOF
+
+  fi
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
+$as_echo_n "checking for cosl declaration... " >&6; }
+if ${glibcxx_cv_func_cosl_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+
       ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
 
-fi
+#include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
-$as_echo "$glibcxx_cv_func__powl_use" >&6; }
+int
+main ()
+{
 
-    if test x$glibcxx_cv_func__powl_use = x"yes"; then
-      for ac_func in _powl
-do :
-  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
-if test "x$ac_cv_func__powl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__POWL 1
+  void (*f)(void) = (void (*)(void))cosl;
+
+  ;
+  return 0;
+}
 _ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_cosl_use=yes
 
+else
+  glibcxx_cv_func_cosl_use=no
 fi
-done
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
+$as_echo "$glibcxx_cv_func_cosl_use" >&6; }
+  if test "x$glibcxx_cv_func_cosl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_COSL 1
+_ACEOF
 
-    fi
   fi
 
 
 
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
-$as_echo_n "checking for sqrtl declaration... " >&6; }
-  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
+$as_echo_n "checking for coshl declaration... " >&6; }
+if ${glibcxx_cv_func_coshl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
+#ifdef HAVE_IEEEFP_H
+include <ieeefp.h>
+#endif
 
 int
 main ()
 {
- sqrtl(0);
+
+  void (*f)(void) = (void (*)(void))coshl;
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sqrtl_use=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_coshl_use=yes
+
 else
-  glibcxx_cv_func_sqrtl_use=no
+  glibcxx_cv_func_coshl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
+$as_echo "$glibcxx_cv_func_coshl_use" >&6; }
+  if test "x$glibcxx_cv_func_coshl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_COSHL 1
+_ACEOF
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
-$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
-
-  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
-    for ac_func in sqrtl
-do :
-  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
-if test "x$ac_cv_func_sqrtl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_SQRTL 1
-_ACEOF
 
-fi
-done
 
-  else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
-$as_echo_n "checking for _sqrtl declaration... " >&6; }
-  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
+$as_echo_n "checking for expl declaration... " >&6; }
+if ${glibcxx_cv_func_expl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
+#ifdef HAVE_IEEEFP_H
+include <ieeefp.h>
+#endif
 
 int
 main ()
 {
- _sqrtl(0);
+
+  void (*f)(void) = (void (*)(void))expl;
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sqrtl_use=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_expl_use=yes
+
 else
-  glibcxx_cv_func__sqrtl_use=no
+  glibcxx_cv_func_expl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
+$as_echo "$glibcxx_cv_func_expl_use" >&6; }
+  if test "x$glibcxx_cv_func_expl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_EXPL 1
+_ACEOF
+
+  fi
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
+$as_echo_n "checking for fabsl declaration... " >&6; }
+if ${glibcxx_cv_func_fabsl_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+
       ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
 
-fi
+#include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
-$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
+int
+main ()
+{
 
-    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
-      for ac_func in _sqrtl
-do :
-  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
-if test "x$ac_cv_func__sqrtl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__SQRTL 1
+  void (*f)(void) = (void (*)(void))fabsl;
+
+  ;
+  return 0;
+}
 _ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_fabsl_use=yes
 
+else
+  glibcxx_cv_func_fabsl_use=no
 fi
-done
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
+$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
+  if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_FABSL 1
+_ACEOF
 
-    fi
   fi
 
 
 
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
-$as_echo_n "checking for sincosl declaration... " >&6; }
-  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
+$as_echo_n "checking for floorl declaration... " >&6; }
+if ${glibcxx_cv_func_floorl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+
 #include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
+
 int
 main ()
 {
- sincosl(0, 0, 0);
+
+  void (*f)(void) = (void (*)(void))floorl;
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_sincosl_use=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_floorl_use=yes
+
 else
-  glibcxx_cv_func_sincosl_use=no
+  glibcxx_cv_func_floorl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
+$as_echo "$glibcxx_cv_func_floorl_use" >&6; }
+  if test "x$glibcxx_cv_func_floorl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_FLOORL 1
+_ACEOF
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
-$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
-
-  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
-    for ac_func in sincosl
-do :
-  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
-if test "x$ac_cv_func_sincosl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_SINCOSL 1
-_ACEOF
 
-fi
-done
 
-  else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
-$as_echo_n "checking for _sincosl declaration... " >&6; }
-  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
-    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
+$as_echo_n "checking for fmodl declaration... " >&6; }
+if ${glibcxx_cv_func_fmodl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+
 #include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
+
 int
 main ()
 {
- _sincosl(0, 0, 0);
+
+  void (*f)(void) = (void (*)(void))fmodl;
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__sincosl_use=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_fmodl_use=yes
+
 else
-  glibcxx_cv_func__sincosl_use=no
+  glibcxx_cv_func_fmodl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
+$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
+  if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_FMODL 1
+_ACEOF
+
+  fi
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
+$as_echo_n "checking for frexpl declaration... " >&6; }
+if ${glibcxx_cv_func_frexpl_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+
       ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+#include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
 
-fi
+int
+main ()
+{
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
-$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
+  void (*f)(void) = (void (*)(void))frexpl;
 
-    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
-      for ac_func in _sincosl
-do :
-  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
-if test "x$ac_cv_func__sincosl" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__SINCOSL 1
+  ;
+  return 0;
+}
 _ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_frexpl_use=yes
 
+else
+  glibcxx_cv_func_frexpl_use=no
 fi
-done
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
+$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
+  if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_FREXPL 1
+_ACEOF
 
-    fi
   fi
 
 
 
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
-$as_echo_n "checking for finitel declaration... " >&6; }
-  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
+$as_echo_n "checking for ldexpl declaration... " >&6; }
+if ${glibcxx_cv_func_ldexpl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
+#ifdef HAVE_IEEEFP_H
+include <ieeefp.h>
+#endif
 
 int
 main ()
 {
- finitel(0);
+
+  void (*f)(void) = (void (*)(void))ldexpl;
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_finitel_use=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_ldexpl_use=yes
+
 else
-  glibcxx_cv_func_finitel_use=no
+  glibcxx_cv_func_ldexpl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
+$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
+  if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_LDEXPL 1
+_ACEOF
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
-$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
-
-  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
-    for ac_func in finitel
-do :
-  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
-if test "x$ac_cv_func_finitel" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_FINITEL 1
-_ACEOF
 
-fi
-done
 
-  else
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
-$as_echo_n "checking for _finitel declaration... " >&6; }
-  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
-    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
+$as_echo_n "checking for log10l declaration... " >&6; }
+if ${glibcxx_cv_func_log10l_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
+
 #include <math.h>
-                     #ifdef HAVE_IEEEFP_H
-                     #include <ieeefp.h>
-                     #endif
+#ifdef HAVE_IEEEFP_H
+include <ieeefp.h>
+#endif
 
 int
 main ()
 {
- _finitel(0);
+
+  void (*f)(void) = (void (*)(void))log10l;
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func__finitel_use=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_log10l_use=yes
+
 else
-  glibcxx_cv_func__finitel_use=no
+  glibcxx_cv_func_log10l_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
+$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
+  if test "x$glibcxx_cv_func_log10l_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_LOG10L 1
+_ACEOF
+
+  fi
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
+$as_echo_n "checking for logl declaration... " >&6; }
+if ${glibcxx_cv_func_logl_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+
       ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
 
-fi
+#include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
-$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
+int
+main ()
+{
 
-    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
-      for ac_func in _finitel
-do :
-  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
-if test "x$ac_cv_func__finitel" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE__FINITEL 1
+  void (*f)(void) = (void (*)(void))logl;
+
+  ;
+  return 0;
+}
 _ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_logl_use=yes
 
+else
+  glibcxx_cv_func_logl_use=no
 fi
-done
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
+$as_echo "$glibcxx_cv_func_logl_use" >&6; }
+  if test "x$glibcxx_cv_func_logl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_LOGL 1
+_ACEOF
 
-    fi
   fi
 
 
 
-
-  LIBS="$ac_save_LIBS"
-  CXXFLAGS="$ac_save_CXXFLAGS"
-
-
-  ac_test_CXXFLAGS="${CXXFLAGS+set}"
-  ac_save_CXXFLAGS="$CXXFLAGS"
-  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
-
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
-$as_echo_n "checking for at_quick_exit declaration... " >&6; }
-  if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
+$as_echo_n "checking for modfl declaration... " >&6; }
+if ${glibcxx_cv_func_modfl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+
+#include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
+
 int
 main ()
 {
- at_quick_exit(0);
+
+  void (*f)(void) = (void (*)(void))modfl;
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_at_quick_exit_use=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_modfl_use=yes
+
 else
-  glibcxx_cv_func_at_quick_exit_use=no
+  glibcxx_cv_func_modfl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
 fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
-$as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
-  if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
-    for ac_func in at_quick_exit
-do :
-  ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
-if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_AT_QUICK_EXIT 1
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
+$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
+  if test "x$glibcxx_cv_func_modfl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_MODFL 1
 _ACEOF
 
-fi
-done
-
   fi
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
-$as_echo_n "checking for quick_exit declaration... " >&6; }
-  if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
-    if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
+$as_echo_n "checking for powl declaration... " >&6; }
+if ${glibcxx_cv_func_powl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+
+#include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
+
 int
 main ()
 {
- quick_exit(0);
+
+  void (*f)(void) = (void (*)(void))powl;
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_quick_exit_use=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_powl_use=yes
+
 else
-  glibcxx_cv_func_quick_exit_use=no
+  glibcxx_cv_func_powl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
 fi
-
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
-$as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
-  if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
-    for ac_func in quick_exit
-do :
-  ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
-if test "x$ac_cv_func_quick_exit" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_QUICK_EXIT 1
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
+$as_echo "$glibcxx_cv_func_powl_use" >&6; }
+  if test "x$glibcxx_cv_func_powl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_POWL 1
 _ACEOF
 
-fi
-done
-
   fi
 
 
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
-$as_echo_n "checking for strtold declaration... " >&6; }
-  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
+$as_echo_n "checking for sinl declaration... " >&6; }
+if ${glibcxx_cv_func_sinl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+
+#include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
+
 int
 main ()
 {
- strtold(0, 0);
+
+  void (*f)(void) = (void (*)(void))sinl;
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_strtold_use=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_sinl_use=yes
+
 else
-  glibcxx_cv_func_strtold_use=no
+  glibcxx_cv_func_sinl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
+$as_echo "$glibcxx_cv_func_sinl_use" >&6; }
+  if test "x$glibcxx_cv_func_sinl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_SINL 1
+_ACEOF
+
+  fi
+
+
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
+$as_echo_n "checking for sinhl declaration... " >&6; }
+if ${glibcxx_cv_func_sinhl_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+
       ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
 
-fi
+#include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
-$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
-  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
-    for ac_func in strtold
-do :
-  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
-if test "x$ac_cv_func_strtold" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_STRTOLD 1
+int
+main ()
+{
+
+  void (*f)(void) = (void (*)(void))sinhl;
+
+  ;
+  return 0;
+}
 _ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_sinhl_use=yes
 
+else
+  glibcxx_cv_func_sinhl_use=no
 fi
-done
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
+$as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
+  if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_SINHL 1
+_ACEOF
 
   fi
 
 
 
-
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
-$as_echo_n "checking for strtof declaration... " >&6; }
-  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
-    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
+$as_echo_n "checking for sqrtl declaration... " >&6; }
+if ${glibcxx_cv_func_sqrtl_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
 
-      ac_ext=cpp
-ac_cpp='$CXXCPP $CPPFLAGS'
-ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+
+#include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
+
 int
 main ()
 {
- strtof(0, 0);
+
+  void (*f)(void) = (void (*)(void))sqrtl;
+
   ;
   return 0;
 }
 _ACEOF
-if ac_fn_cxx_try_compile "$LINENO"; then :
-  glibcxx_cv_func_strtof_use=yes
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_sqrtl_use=yes
+
 else
-  glibcxx_cv_func_strtof_use=no
+  glibcxx_cv_func_sqrtl_use=no
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-      ac_ext=c
-ac_cpp='$CPP $CPPFLAGS'
-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
-ac_compiler_gnu=$ac_cv_c_compiler_gnu
-
-
 fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
+$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
+  if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_SQRTL 1
+_ACEOF
 
   fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
-$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
-  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
-    for ac_func in strtof
-do :
-  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
-if test "x$ac_cv_func_strtof" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_STRTOF 1
-_ACEOF
 
-fi
-done
 
-  fi
 
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
+$as_echo_n "checking for tanl declaration... " >&6; }
+if ${glibcxx_cv_func_tanl_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
 
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-  CXXFLAGS="$ac_save_CXXFLAGS"
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
 
-    ;;
-  *-vxworks)
-    $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
+#include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
 
-    $as_echo "#define HAVE_ASINF 1" >>confdefs.h
+int
+main ()
+{
 
-    $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
+  void (*f)(void) = (void (*)(void))tanl;
 
-    $as_echo "#define HAVE_ATANF 1" >>confdefs.h
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_tanl_use=yes
 
-    $as_echo "#define HAVE_CEILF 1" >>confdefs.h
+else
+  glibcxx_cv_func_tanl_use=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
+$as_echo "$glibcxx_cv_func_tanl_use" >&6; }
+  if test "x$glibcxx_cv_func_tanl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_TANL 1
+_ACEOF
 
-    $as_echo "#define HAVE_COSF 1" >>confdefs.h
+  fi
 
-    $as_echo "#define HAVE_COSHF 1" >>confdefs.h
 
-    $as_echo "#define HAVE_EXPF 1" >>confdefs.h
 
-    $as_echo "#define HAVE_FABSF 1" >>confdefs.h
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
+$as_echo_n "checking for tanhl declaration... " >&6; }
+if ${glibcxx_cv_func_tanhl_use+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
 
-    $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
 
-    $as_echo "#define HAVE_FMODF 1" >>confdefs.h
+      ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
-    $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
 
-    $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
+#include <math.h>
+#ifdef HAVE_IEEEFP_H
+# include <ieeefp.h>
+#endif
 
-    $as_echo "#define HAVE_LOGF 1" >>confdefs.h
+int
+main ()
+{
 
-    $as_echo "#define HAVE_POWF 1" >>confdefs.h
+  void (*f)(void) = (void (*)(void))tanhl;
 
-    $as_echo "#define HAVE_SINF 1" >>confdefs.h
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_func_tanhl_use=yes
 
-    $as_echo "#define HAVE_SINHF 1" >>confdefs.h
+else
+  glibcxx_cv_func_tanhl_use=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
+$as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
+  if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
+    cat >>confdefs.h <<_ACEOF
+#define HAVE_TANHL 1
+_ACEOF
 
-    $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
+  fi
 
-    $as_echo "#define HAVE_TANF 1" >>confdefs.h
 
-    $as_echo "#define HAVE_TANHF 1" >>confdefs.h
 
     ;;
   *)
-    as_fn_error "No support for this host/target combination." "$LINENO" 5
+    as_fn_error $? "No support for this host/target combination." "$LINENO" 5
    ;;
 esac
 
@@ -77445,7 +74140,7 @@ if test "${enable_linux_futex+set}" = set; then :
   enableval=$enable_linux_futex;
       case "$enableval" in
        yes|no|default) ;;
-       *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
+       *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
                           esac
 
 else
@@ -77454,7 +74149,7 @@ fi
 
 
 case "$target" in
-  *-linux*)
+  *-linux* | *-uclinux*)
     case "$enable_linux_futex" in
       default)
        # If headers don't have gettid/futex syscalls definition, then
@@ -77465,11 +74160,12 @@ case "$target" in
        # a warning.
        enable_linux_futex=no
        if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <sys/syscall.h>
+          #include <unistd.h>
           int lk;
 int
 main ()
@@ -77483,7 +74179,7 @@ if ac_fn_c_try_link "$LINENO"; then :
   save_LIBS="$LIBS"
           LIBS="-lpthread $LIBS"
           if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -77523,11 +74219,12 @@ rm -f core conftest.err conftest.$ac_objext \
        ;;
       yes)
        if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <sys/syscall.h>
+          #include <unistd.h>
           int lk;
 int
 main ()
@@ -77540,7 +74237,7 @@ _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
 
 else
-  as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
+  as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
 fi
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
@@ -77574,7 +74271,7 @@ for i in stdint.h $inttype_headers; do
   ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
 #include <$i>
 "
-if test "x$ac_cv_type_uintmax_t" = x""yes; then :
+if test "x$ac_cv_type_uintmax_t" = xyes; then :
   acx_cv_header_stdint=$i
 else
   continue
@@ -77583,7 +74280,7 @@ fi
   ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
 #include <$i>
 "
-if test "x$ac_cv_type_uintptr_t" = x""yes; then :
+if test "x$ac_cv_type_uintptr_t" = xyes; then :
 
 else
   acx_cv_header_stdint_kind="(mostly complete)"
@@ -77592,7 +74289,7 @@ fi
   ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
 #include <$i>
 "
-if test "x$ac_cv_type_int_least32_t" = x""yes; then :
+if test "x$ac_cv_type_int_least32_t" = xyes; then :
 
 else
   acx_cv_header_stdint_kind="(mostly complete)"
@@ -77601,7 +74298,7 @@ fi
   ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
 #include <$i>
 "
-if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
+if test "x$ac_cv_type_int_fast32_t" = xyes; then :
 
 else
   acx_cv_header_stdint_kind="(mostly complete)"
@@ -77610,7 +74307,7 @@ fi
   ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
 #include <$i>
 "
-if test "x$ac_cv_type_uint64_t" = x""yes; then :
+if test "x$ac_cv_type_uint64_t" = xyes; then :
 
 else
   acx_cv_header_stdint_kind="(lacks uint64_t)"
@@ -77628,7 +74325,7 @@ if test "$acx_cv_header_stdint" = stddef.h; then
     ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
 #include <$i>
 "
-if test "x$ac_cv_type_uint32_t" = x""yes; then :
+if test "x$ac_cv_type_uint32_t" = xyes; then :
   acx_cv_header_stdint=$i
 else
   continue
     ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
 #include <$i>
 "
-if test "x$ac_cv_type_uint64_t" = x""yes; then :
+if test "x$ac_cv_type_uint64_t" = xyes; then :
 
 fi
 
     ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
 #include <$i>
 "
-if test "x$ac_cv_type_uintptr_t" = x""yes; then :
+if test "x$ac_cv_type_uintptr_t" = xyes; then :
 
 fi
 
@@ -77660,7 +74357,7 @@ if test "$acx_cv_header_stdint" = stddef.h; then
     ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
 #include <$i>
 "
-if test "x$ac_cv_type_u_int32_t" = x""yes; then :
+if test "x$ac_cv_type_u_int32_t" = xyes; then :
   acx_cv_header_stdint=$i
 else
   continue
@@ -77669,7 +74366,7 @@ fi
     ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
 #include <$i>
 "
-if test "x$ac_cv_type_u_int64_t" = x""yes; then :
+if test "x$ac_cv_type_u_int64_t" = xyes; then :
 
 fi
 
@@ -77729,7 +74426,7 @@ case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
 # This bug is HP SR number 8606223364.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
 $as_echo_n "checking size of void *... " >&6; }
-if test "${ac_cv_sizeof_void_p+set}" = set; then :
+if ${ac_cv_sizeof_void_p+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
@@ -77738,9 +74435,8 @@ else
   if test "$ac_cv_type_void_p" = yes; then
      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-{ as_fn_set_status 77
-as_fn_error "cannot compute sizeof (void *)
-See \`config.log' for more details." "$LINENO" 5; }; }
+as_fn_error 77 "cannot compute sizeof (void *)
+See \`config.log' for more details" "$LINENO" 5; }
    else
      ac_cv_sizeof_void_p=0
    fi
@@ -77767,7 +74463,7 @@ case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
 # This bug is HP SR number 8606223364.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
 $as_echo_n "checking size of long... " >&6; }
-if test "${ac_cv_sizeof_long+set}" = set; then :
+if ${ac_cv_sizeof_long+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
@@ -77776,9 +74472,8 @@ else
   if test "$ac_cv_type_long" = yes; then
      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-{ as_fn_set_status 77
-as_fn_error "cannot compute sizeof (long)
-See \`config.log' for more details." "$LINENO" 5; }; }
+as_fn_error 77 "cannot compute sizeof (long)
+See \`config.log' for more details" "$LINENO" 5; }
    else
      ac_cv_sizeof_long=0
    fi
@@ -77805,7 +74500,7 @@ if test $acx_cv_header_stdint = stddef.h; then
 # This bug is HP SR number 8606223364.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
 $as_echo_n "checking size of int... " >&6; }
-if test "${ac_cv_sizeof_int+set}" = set; then :
+if ${ac_cv_sizeof_int+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
@@ -77814,9 +74509,8 @@ else
   if test "$ac_cv_type_int" = yes; then
      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-{ as_fn_set_status 77
-as_fn_error "cannot compute sizeof (int)
-See \`config.log' for more details." "$LINENO" 5; }; }
+as_fn_error 77 "cannot compute sizeof (int)
+See \`config.log' for more details" "$LINENO" 5; }
    else
      ac_cv_sizeof_int=0
    fi
@@ -77839,7 +74533,7 @@ _ACEOF
 # This bug is HP SR number 8606223364.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
 $as_echo_n "checking size of short... " >&6; }
-if test "${ac_cv_sizeof_short+set}" = set; then :
+if ${ac_cv_sizeof_short+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then :
@@ -77848,9 +74542,8 @@ else
   if test "$ac_cv_type_short" = yes; then
      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-{ as_fn_set_status 77
-as_fn_error "cannot compute sizeof (short)
-See \`config.log' for more details." "$LINENO" 5; }; }
+as_fn_error 77 "cannot compute sizeof (short)
+See \`config.log' for more details" "$LINENO" 5; }
    else
      ac_cv_sizeof_short=0
    fi
@@ -77873,7 +74566,7 @@ _ACEOF
 # This bug is HP SR number 8606223364.
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
 $as_echo_n "checking size of char... " >&6; }
-if test "${ac_cv_sizeof_char+set}" = set; then :
+if ${ac_cv_sizeof_char+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char"        "$ac_includes_default"; then :
@@ -77882,9 +74575,8 @@ else
   if test "$ac_cv_type_char" = yes; then
      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-{ as_fn_set_status 77
-as_fn_error "cannot compute sizeof (char)
-See \`config.log' for more details." "$LINENO" 5; }; }
+as_fn_error 77 "cannot compute sizeof (char)
+See \`config.log' for more details" "$LINENO" 5; }
    else
      ac_cv_sizeof_char=0
    fi
@@ -77906,7 +74598,7 @@ _ACEOF
 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
   case "$ac_cv_sizeof_char" in
     1) acx_cv_type_int8_t=char ;;
-    *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
+    *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
   esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
 $as_echo "$acx_cv_type_int8_t" >&6; }
@@ -77916,7 +74608,7 @@ $as_echo_n "checking for type equivalent to int16_t... " >&6; }
   case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
     2:*) acx_cv_type_int16_t=int ;;
     *:2) acx_cv_type_int16_t=short ;;
-    *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
+    *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
   esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
 $as_echo "$acx_cv_type_int16_t" >&6; }
@@ -77926,7 +74618,7 @@ $as_echo_n "checking for type equivalent to int32_t... " >&6; }
   case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
     4:*) acx_cv_type_int32_t=int ;;
     *:4) acx_cv_type_int32_t=long ;;
-    *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
+    *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
   esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
 $as_echo "$acx_cv_type_int32_t" >&6; }
@@ -77953,7 +74645,7 @@ $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
     2) acx_cv_type_intptr_t=int16_t ;;
     4) acx_cv_type_intptr_t=int32_t ;;
     8) acx_cv_type_intptr_t=int64_t ;;
-    *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
+    *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
   esac
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
 $as_echo "$acx_cv_type_intptr_t" >&6; }
@@ -77968,7 +74660,7 @@ ac_config_commands="$ac_config_commands include/gstdint.h"
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
 $as_echo_n "checking for GNU c++filt... " >&6; }
-if test "${ac_cv_path_CXXFILT+set}" = set; then :
+if ${ac_cv_path_CXXFILT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -z "$CXXFILT"; then
@@ -77982,7 +74674,7 @@ do
     for ac_prog in c++filt gc++filt; do
     for ac_exec_ext in '' $ac_executable_extensions; do
       ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
-      { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
+      as_fn_executable_p "$ac_path_CXXFILT" || continue
 # Check for GNU $ac_path_CXXFILT
 case `"$ac_path_CXXFILT" --version 2>&1` in
 *GNU*)
@@ -78013,7 +74705,7 @@ if test "${enable_symvers+set}" = set; then :
   enableval=$enable_symvers;
       case "$enableval" in
        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
-       *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
+       *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
                        esac
 
 else
@@ -78103,7 +74795,7 @@ $as_echo_n "checking for shared libgcc... " >&6; }
   ac_save_CFLAGS="$CFLAGS"
   CFLAGS=' -lgcc_s'
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -78136,7 +74828,7 @@ EOF
     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
       if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -78203,7 +74895,7 @@ $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
 fi
 
 # For libtool versioning info, format is CURRENT:REVISION:AGE
-libtool_VERSION=6:22:0
+libtool_VERSION=6:28:0
 
 # Everything parsed; figure out what files and settings to use.
 case $enable_symvers in
@@ -78217,7 +74909,7 @@ $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
 
     ;;
   gnu-versioned-namespace)
-    libtool_VERSION=7:0:0
+    libtool_VERSION=8:0:0
     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
 
 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
@@ -78245,7 +74937,7 @@ fi
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
-if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
+if ${glibcxx_cv_have_as_symver_directive+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -78372,7 +75064,7 @@ if test "${enable_libstdcxx_visibility+set}" = set; then :
   enableval=$enable_libstdcxx_visibility;
       case "$enableval" in
        yes|no) ;;
-       *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
+       *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
       esac
 
 else
@@ -78384,7 +75076,7 @@ fi
 if test x$enable_libstdcxx_visibility = xyes ; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
-if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
+if ${glibcxx_cv_have_attribute_visibility+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -78427,7 +75119,7 @@ if test "${enable_libstdcxx_dual_abi+set}" = set; then :
   enableval=$enable_libstdcxx_dual_abi;
       case "$enableval" in
        yes|no) ;;
-       *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
+       *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
       esac
 
 else
@@ -78456,8 +75148,8 @@ if test "${with_default_libstdcxx_abi+set}" = set; then :
   withval=$with_default_libstdcxx_abi; case "$withval" in
       gcc4-compatible)  default_libstdcxx_abi="gcc4-compatible" ;;
       new|cxx11)  default_libstdcxx_abi="new" ;;
-      c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
-      *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
+      c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
+      *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
      esac
 
 else
@@ -78479,6 +75171,7 @@ $as_echo "${default_libstdcxx_abi}" >&6; }
 
 
 ac_ldbl_compat=no
+LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
 case "$target" in
   powerpc*-*-linux* | \
   sparc*-*-linux* | \
@@ -78510,13 +75203,18 @@ rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
 
     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
+    case "$target" in
+      powerpc*-*-linux*)
+       LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
+    esac
   fi
 esac
 
 
+
 # Check if assembler supports disabling hardware capability support.
 
-  test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
+  test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
 
   # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
   # with a different meaning.
@@ -78545,7 +75243,7 @@ else
 fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
       if test "$ac_hwcap_flags" = "yes"; then
-       HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
+       HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
       fi
       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
 $as_echo "$ac_hwcap_flags" >&6; }
@@ -78561,7 +75259,7 @@ $as_echo "$ac_hwcap_flags" >&6; }
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
 $as_echo_n "checking for rdrand support in assembler... " >&6; }
-  if test "${ac_cv_x86_rdrand+set}" = set; then :
+  if ${ac_cv_x86_rdrand+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -78598,19 +75296,65 @@ $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
 $as_echo "$ac_cv_x86_rdrand" >&6; }
 
+# Check if assembler supports rdseed opcode.
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
+$as_echo_n "checking for rdseed support in assembler... " >&6; }
+  if ${ac_cv_x86_rdseed+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+  ac_cv_x86_rdseed=no
+  case "$target" in
+    i?86-*-* | \
+    x86_64-*-*)
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+asm("rdseed %eax");
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_cv_x86_rdseed=yes
+else
+  ac_cv_x86_rdseed=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+  esac
+
+fi
+
+  if test $ac_cv_x86_rdseed = yes; then
+
+$as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
+
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
+$as_echo "$ac_cv_x86_rdseed" >&6; }
+
 
 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
 
-  if $GLIBCXX_IS_NATIVE ; then
-    # Do checks for resource limit functions.
+  # Do checks for resource limit functions.
+
+
+  ac_ext=cpp
+ac_cpp='$CXXCPP $CPPFLAGS'
+ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
   setrlimit_have_headers=yes
   for ac_header in unistd.h sys/time.h sys/resource.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-eval as_val=\$$as_ac_Header
-   if test "x$as_val" = x""yes; then :
+ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
@@ -78642,7 +75386,7 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
   glibcxx_mresult=1
 else
   glibcxx_mresult=0
@@ -78674,7 +75418,7 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
   glibcxx_mresult=1
 else
   glibcxx_mresult=0
@@ -78706,7 +75450,7 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
   glibcxx_mresult=1
 else
   glibcxx_mresult=0
@@ -78738,7 +75482,7 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
   glibcxx_mresult=1
 else
   glibcxx_mresult=0
@@ -78770,7 +75514,7 @@ main ()
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
   glibcxx_mresult=1
 else
   glibcxx_mresult=0
@@ -78787,7 +75531,7 @@ $as_echo "$res" >&6; }
 
 
     # Check for rlimit, setrlimit.
-    if test "${glibcxx_cv_setrlimit+set}" = set; then :
+    if ${glibcxx_cv_setrlimit+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -78806,7 +75550,7 @@ struct rlimit r;
   return 0;
 }
 _ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+if ac_fn_cxx_try_compile "$LINENO"; then :
   glibcxx_cv_setrlimit=yes
 else
   glibcxx_cv_setrlimit=no
@@ -78827,16 +75571,23 @@ $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
   else
     ac_res_limits=no
   fi
+  ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
 $as_echo "$ac_res_limits" >&6; }
 
 
+  if $GLIBCXX_IS_NATIVE ; then
     # Look for setenv, so that extended locale tests can be performed.
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
 $as_echo_n "checking for setenv declaration... " >&6; }
   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
-    if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
+    if ${glibcxx_cv_func_setenv_use+:} false; then :
   $as_echo_n "(cached) " >&6
 else
 
@@ -78880,7 +75631,7 @@ $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
     for ac_func in setenv
 do :
   ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
-if test "x$ac_cv_func_setenv" = x""yes; then :
+if test "x$ac_cv_func_setenv" = xyes; then :
   cat >>confdefs.h <<_ACEOF
 #define HAVE_SETENV 1
 _ACEOF
@@ -78920,7 +75671,7 @@ if test "${enable_libstdcxx_threads+set}" = set; then :
   enableval=$enable_libstdcxx_threads;
       case "$enableval" in
        yes|no) ;;
-       *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
+       *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
       esac
 
 else
@@ -79025,14 +75776,41 @@ $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
 
 
     # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
-    ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
+    # but only do so if we're using pthread in the gthread library.
+    # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
+    # but the pthread library is not there by default and the gthread library
+    # does not use it.
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include "gthr.h"
+int
+main ()
+{
+
+      #if (!defined(_PTHREADS))
+      #error
+      #endif
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  ac_gthread_use_pthreads=yes
+else
+  ac_gthread_use_pthreads=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+    if test x"$ac_gthread_use_pthreads" = x"yes"; then
+      ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
 "
-if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
+if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
 
 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
 
 fi
 
+    fi
   fi
 
   CXXFLAGS="$ac_save_CXXFLAGS"
@@ -79049,8 +75827,7 @@ for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
-eval as_val=\$$as_ac_Header
-   if test "x$as_val" = x""yes; then :
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   cat >>confdefs.h <<_ACEOF
 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 _ACEOF
@@ -79065,7 +75842,7 @@ if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
   enableval=$enable_libstdcxx_filesystem_ts;
       case "$enableval" in
        yes|no|auto) ;;
-       *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
+       *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
                        esac
 
 else
@@ -79084,12 +75861,18 @@ $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
       freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
         enable_libstdcxx_filesystem_ts=yes
         ;;
-      gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
+      gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
+        enable_libstdcxx_filesystem_ts=yes
+        ;;
+      rtems*)
         enable_libstdcxx_filesystem_ts=yes
         ;;
       solaris*)
         enable_libstdcxx_filesystem_ts=yes
         ;;
+      mingw*)
+        enable_libstdcxx_filesystem_ts=yes
+        ;;
       *)
         enable_libstdcxx_filesystem_ts=no
         ;;
@@ -79099,21 +75882,22 @@ $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
 
 
+  if test $enable_libstdcxx_filesystem_ts = yes; then
 
-  ac_ext=cpp
+    ac_ext=cpp
 ac_cpp='$CXXCPP $CPPFLAGS'
 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 
-  ac_save_CXXFLAGS="$CXXFLAGS"
-  CXXFLAGS="$CXXFLAGS -fno-exceptions"
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
+    ac_save_CXXFLAGS="$CXXFLAGS"
+    CXXFLAGS="$CXXFLAGS -fno-exceptions"
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
 $as_echo_n "checking for struct dirent.d_type... " >&6; }
-  if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
+    if ${glibcxx_cv_dirent_d_type+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-      if test x$gcc_no_link = xyes; then
+        if test x$gcc_no_link = xyes; then
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <dirent.h>
@@ -79121,8 +75905,8 @@ int
 main ()
 {
 
-       struct dirent d;
-       if (sizeof d.d_type) return 0;
+         struct dirent d;
+         if (sizeof d.d_type) return 0;
 
   ;
   return 0;
@@ -79136,7 +75920,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -79145,8 +75929,8 @@ int
 main ()
 {
 
-       struct dirent d;
-       if (sizeof d.d_type) return 0;
+         struct dirent d;
+         if (sizeof d.d_type) return 0;
 
   ;
   return 0;
 
 fi
 
-  if test $glibcxx_cv_dirent_d_type = yes; then
+    if test $glibcxx_cv_dirent_d_type = yes; then
 
-$as_echo "#define _GLIBCXX_HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
+$as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
 $as_echo_n "checking for realpath... " >&6; }
-  if test "${glibcxx_cv_realpath+set}" = set; then :
+    if ${glibcxx_cv_realpath+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-      if test x$gcc_no_link = xyes; then
+        if test x$gcc_no_link = xyes; then
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+
+         #include <limits.h>
+         #include <stdlib.h>
+         #include <unistd.h>
+
 int
 main ()
 {
-char *tmp = realpath((const char*)NULL, (char*)NULL);
+
+         #if _XOPEN_VERSION < 500
+         #error
+         #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
+         char *tmp = realpath((const char*)NULL, (char*)NULL);
+         #else
+         #error
+         #endif
+
   ;
   return 0;
 }
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
-#include <stdlib.h>
+
+         #include <limits.h>
+         #include <stdlib.h>
+         #include <unistd.h>
+
 int
 main ()
 {
-char *tmp = realpath((const char*)NULL, (char*)NULL);
+
+         #if _XOPEN_VERSION < 500
+         #error
+         #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
+         char *tmp = realpath((const char*)NULL, (char*)NULL);
+         #else
+         #error
+         #endif
+
   ;
   return 0;
 }
 
 fi
 
-  if test $glibcxx_cv_realpath = yes; then
+    if test $glibcxx_cv_realpath = yes; then
 
 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
 $as_echo "$glibcxx_cv_realpath" >&6; }
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
 $as_echo_n "checking for utimensat... " >&6; }
-  if test "${glibcxx_cv_utimensat+set}" = set; then :
+    if ${glibcxx_cv_utimensat+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-      if test x$gcc_no_link = xyes; then
+        if test x$gcc_no_link = xyes; then
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
-        #include <fcntl.h>
-        #include <sys/stat.h>
+          #include <fcntl.h>
+          #include <sys/stat.h>
 
 int
 main ()
 {
 
-        struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
-        int i = utimensat(AT_FDCWD, "path", ts, 0);
+          struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
+          int i = utimensat(AT_FDCWD, "path", ts, 0);
 
   ;
   return 0;
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
-        #include <fcntl.h>
-        #include <sys/stat.h>
+          #include <fcntl.h>
+          #include <sys/stat.h>
 
 int
 main ()
 {
 
-        struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
-        int i = utimensat(AT_FDCWD, "path", ts, 0);
+          struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
+          int i = utimensat(AT_FDCWD, "path", ts, 0);
 
   ;
   return 0;
 
 fi
 
-  if test $glibcxx_cv_utimensat = yes; then
+    if test $glibcxx_cv_utimensat = yes; then
 
 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
 $as_echo "$glibcxx_cv_utimensat" >&6; }
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
+$as_echo_n "checking for utime... " >&6; }
+    if ${glibcxx_cv_utime+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+        if test x$gcc_no_link = xyes; then
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+          #include <utime.h>
+
+int
+main ()
+{
+
+          struct utimbuf t = { 1, 1 };
+          int i = utime("path", &t);
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_utime=yes
+else
+  glibcxx_cv_utime=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+  if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+          #include <utime.h>
+
+int
+main ()
+{
+
+          struct utimbuf t = { 1, 1 };
+          int i = utime("path", &t);
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+  glibcxx_cv_utime=yes
+else
+  glibcxx_cv_utime=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+fi
+
+fi
+
+    if test $glibcxx_cv_utime = yes; then
+
+$as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
+
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
+$as_echo "$glibcxx_cv_utime" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
+$as_echo_n "checking for lstat... " >&6; }
+    if ${glibcxx_cv_lstat+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+        if test x$gcc_no_link = xyes; then
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+ #include <sys/stat.h>
+int
+main ()
+{
+
+          struct stat st;
+          int i = lstat("path", &st);
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_lstat=yes
+else
+  glibcxx_cv_lstat=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+  if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+ #include <sys/stat.h>
+int
+main ()
+{
+
+          struct stat st;
+          int i = lstat("path", &st);
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+  glibcxx_cv_lstat=yes
+else
+  glibcxx_cv_lstat=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+fi
+
+fi
+
+    if test $glibcxx_cv_lstat = yes; then
+
+$as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
+
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
+$as_echo "$glibcxx_cv_lstat" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
-  if test "${glibcxx_cv_st_mtim+set}" = set; then :
+    if ${glibcxx_cv_st_mtim+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-      if test x$gcc_no_link = xyes; then
+        if test x$gcc_no_link = xyes; then
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
  #include <sys/stat.h>
@@ -79307,8 +76243,8 @@ int
 main ()
 {
 
-        struct stat st;
-        return st.st_mtim.tv_nsec;
+          struct stat st;
+          return st.st_mtim.tv_nsec;
 
   ;
   return 0;
@@ -79322,7 +76258,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -79331,8 +76267,8 @@ int
 main ()
 {
 
-        struct stat st;
-        return st.st_mtim.tv_nsec;
+          struct stat st;
+          return st.st_mtim.tv_nsec;
 
   ;
   return 0;
 
 fi
 
-  if test $glibcxx_cv_st_mtim = yes; then
+    if test $glibcxx_cv_st_mtim = yes; then
 
 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
 $as_echo "$glibcxx_cv_st_mtim" >&6; }
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
 $as_echo_n "checking for fchmod... " >&6; }
-  if test "${glibcxx_cv_fchmod+set}" = set; then :
+    if ${glibcxx_cv_fchmod+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-      if test x$gcc_no_link = xyes; then
+        if test x$gcc_no_link = xyes; then
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <sys/stat.h>
@@ -79381,7 +76317,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
 fi
 
-  if test $glibcxx_cv_fchmod = yes; then
+    if test $glibcxx_cv_fchmod = yes; then
 
 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
 $as_echo "$glibcxx_cv_fchmod" >&6; }
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
 $as_echo_n "checking for fchmodat... " >&6; }
-  if test "${glibcxx_cv_fchmodat+set}" = set; then :
+    if ${glibcxx_cv_fchmodat+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-      if test x$gcc_no_link = xyes; then
+        if test x$gcc_no_link = xyes; then
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
-        #include <fcntl.h>
-        #include <sys/stat.h>
+          #include <fcntl.h>
+          #include <sys/stat.h>
 
 int
 main ()
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 
-        #include <fcntl.h>
-        #include <sys/stat.h>
+          #include <fcntl.h>
+          #include <sys/stat.h>
 
 int
 main ()
 
 fi
 
-  if test $glibcxx_cv_fchmodat = yes; then
+    if test $glibcxx_cv_fchmodat = yes; then
 
 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
 $as_echo "$glibcxx_cv_fchmodat" >&6; }
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
 $as_echo_n "checking for sendfile that can copy files... " >&6; }
-  if test "${glibcxx_cv_sendfile+set}" = set; then :
+    if ${glibcxx_cv_sendfile+:} false; then :
   $as_echo_n "(cached) " >&6
 else
-      case "${target_os}" in
-      gnu* | linux* | solaris*)
-        if test x$gcc_no_link = xyes; then
+        case "${target_os}" in
+        gnu* | linux* | solaris* | uclinux*)
+          if test x$gcc_no_link = xyes; then
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 #include <sys/sendfile.h>
 int
 main ()
 {
-sendfile(1, 2, (off_t*)NULL, sizeof 1);
+sendfile(1, 2, (off_t*)0, sizeof 1);
   ;
   return 0;
 }
@@ -79501,7 +76437,7 @@ fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 else
   if test x$gcc_no_link = xyes; then
-  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 fi
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
@@ -79509,7 +76445,7 @@ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 int
 main ()
 {
-sendfile(1, 2, (off_t*)NULL, sizeof 1);
+sendfile(1, 2, (off_t*)0, sizeof 1);
   ;
   return 0;
 }
 rm -f core conftest.err conftest.$ac_objext \
     conftest$ac_exeext conftest.$ac_ext
 fi
-        ;;
-      *)
-        glibcxx_cv_sendfile=no
-        ;;
-    esac
+          ;;
+        *)
+          glibcxx_cv_sendfile=no
+          ;;
+      esac
 
 fi
 
-  if test $glibcxx_cv_sendfile = yes; then
+    if test $glibcxx_cv_sendfile = yes; then
 
 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
 
-  fi
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
 $as_echo "$glibcxx_cv_sendfile" >&6; }
-  CXXFLAGS="$ac_save_CXXFLAGS"
-  ac_ext=c
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
+$as_echo_n "checking for link... " >&6; }
+    if ${glibcxx_cv_link+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+        if test x$gcc_no_link = xyes; then
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <unistd.h>
+int
+main ()
+{
+link("", "");
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_link=yes
+else
+  glibcxx_cv_link=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+  if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <unistd.h>
+int
+main ()
+{
+link("", "");
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+  glibcxx_cv_link=yes
+else
+  glibcxx_cv_link=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+fi
+
+fi
+
+    if test $glibcxx_cv_link = yes; then
+
+$as_echo "#define HAVE_LINK 1" >>confdefs.h
+
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
+$as_echo "$glibcxx_cv_link" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
+$as_echo_n "checking for readlink... " >&6; }
+    if ${glibcxx_cv_readlink+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+        if test x$gcc_no_link = xyes; then
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <unistd.h>
+int
+main ()
+{
+char buf[32]; readlink("", buf, sizeof(buf));
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_readlink=yes
+else
+  glibcxx_cv_readlink=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+  if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <unistd.h>
+int
+main ()
+{
+char buf[32]; readlink("", buf, sizeof(buf));
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+  glibcxx_cv_readlink=yes
+else
+  glibcxx_cv_readlink=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+fi
+
+fi
+
+    if test $glibcxx_cv_readlink = yes; then
+
+$as_echo "#define HAVE_READLINK 1" >>confdefs.h
+
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
+$as_echo "$glibcxx_cv_readlink" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
+$as_echo_n "checking for symlink... " >&6; }
+    if ${glibcxx_cv_symlink+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+        if test x$gcc_no_link = xyes; then
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <unistd.h>
+int
+main ()
+{
+symlink("", "");
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_symlink=yes
+else
+  glibcxx_cv_symlink=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+  if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <unistd.h>
+int
+main ()
+{
+symlink("", "");
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+  glibcxx_cv_symlink=yes
+else
+  glibcxx_cv_symlink=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+fi
+
+fi
+
+    if test $glibcxx_cv_symlink = yes; then
+
+$as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
+
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
+$as_echo "$glibcxx_cv_symlink" >&6; }
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
+$as_echo_n "checking for truncate... " >&6; }
+    if ${glibcxx_cv_truncate+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+        if test x$gcc_no_link = xyes; then
+  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <unistd.h>
+int
+main ()
+{
+truncate("", 99);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_compile "$LINENO"; then :
+  glibcxx_cv_truncate=yes
+else
+  glibcxx_cv_truncate=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+else
+  if test x$gcc_no_link = xyes; then
+  as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
+fi
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+#include <unistd.h>
+int
+main ()
+{
+truncate("", 99);
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_cxx_try_link "$LINENO"; then :
+  glibcxx_cv_truncate=yes
+else
+  glibcxx_cv_truncate=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+    conftest$ac_exeext conftest.$ac_ext
+fi
+
+fi
+
+    if test $glibcxx_cv_truncate = yes; then
+
+$as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
+
+    fi
+    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
+$as_echo "$glibcxx_cv_truncate" >&6; }
+    CXXFLAGS="$ac_save_CXXFLAGS"
+    ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
+  fi
+
+
+# For Networking TS.
+for ac_header in fcntl.h sys/ioctl.h sys/socket.h sys/uio.h poll.h netdb.h arpa/inet.h netinet/in.h netinet/tcp.h
+do :
+  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
+if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
+  cat >>confdefs.h <<_ACEOF
+#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+
+done
+
+
+# For Transactional Memory TS
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
+$as_echo_n "checking how size_t is mangled... " >&6; }
+if ${glibcxx_cv_size_t_mangling+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+
+    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+extern __SIZE_TYPE__ x; extern unsigned long x;
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_size_t_mangling=m
+else
+
+      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+extern __SIZE_TYPE__ x; extern unsigned int x;
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_size_t_mangling=j
+else
+
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+extern __SIZE_TYPE__ x; extern unsigned long long x;
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_size_t_mangling=y
+else
+
+          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+extern __SIZE_TYPE__ x; extern unsigned short x;
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_size_t_mangling=t
+else
+
+            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+extern __SIZE_TYPE__ x; extern __int20 unsigned x;
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  glibcxx_cv_size_t_mangling=u6uint20
+else
+  glibcxx_cv_size_t_mangling=x
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
+$as_echo "$glibcxx_cv_size_t_mangling" >&6; }
+  if test $glibcxx_cv_size_t_mangling = x; then
+    as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
+  fi
+
+cat >>confdefs.h <<_ACEOF
+#define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
+_ACEOF
+
+
+
+# Check which release added std::exception_ptr for the target
+
+  if test $enable_symvers != no; then
+    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
+$as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
+    case ${target} in
+      aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
+      m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
+        ac_exception_ptr_since_gcc46=yes
+        ;;
+      *)
+        # If the value of this macro changes then we will need to hardcode
+        # yes/no here for additional targets based on the original value.
+        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+          #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
+          # error atomic int not always lock free
+          #endif
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  ac_exception_ptr_since_gcc46=yes
+else
+  ac_exception_ptr_since_gcc46=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+        ;;
+    esac
+    if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
+
+$as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
+
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
+$as_echo "4.6.0" >&6; }
+    else
+      { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
+$as_echo "7.1.0" >&6; }
+    fi
+  fi
 
 
 # Define documentation rules conditionally.
@@ -79555,7 +76891,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
 set dummy makeinfo; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
+if ${ac_cv_prog_MAKEINFO+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$MAKEINFO"; then
@@ -79567,7 +76903,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_MAKEINFO="makeinfo"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -79592,7 +76928,7 @@ fi
     # Found it, now check the version.
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
 $as_echo_n "checking for modern makeinfo... " >&6; }
-if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
+if ${gcc_cv_prog_makeinfo_modern+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   ac_prog_version=`eval $MAKEINFO --version 2>&1 |
@@ -79628,7 +76964,7 @@ fi
 set dummy doxygen; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
+if ${ac_cv_prog_DOXYGEN+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$DOXYGEN"; then
@@ -79640,7 +76976,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_DOXYGEN="yes"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -79666,7 +77002,7 @@ fi
 set dummy dot; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_DOT+set}" = set; then :
+if ${ac_cv_prog_DOT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$DOT"; then
@@ -79678,7 +77014,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_DOT="yes"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
 
 
 # Check for docbook
+# Extract the first word of "xmlcatalog", so it can be a program name with args.
+set dummy xmlcatalog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_XMLCATALOG+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$XMLCATALOG"; then
+  ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_XMLCATALOG="yes"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+  test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
+fi
+fi
+XMLCATALOG=$ac_cv_prog_XMLCATALOG
+if test -n "$XMLCATALOG"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
+$as_echo "$XMLCATALOG" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
 # Extract the first word of "xsltproc", so it can be a program name with args.
 set dummy xsltproc; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
+if ${ac_cv_prog_XSLTPROC+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$XSLTPROC"; then
@@ -79718,7 +77092,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_XSLTPROC="yes"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -79744,7 +77118,7 @@ fi
 set dummy xmllint; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_XMLLINT+set}" = set; then :
+if ${ac_cv_prog_XMLLINT+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$XMLLINT"; then
@@ -79756,7 +77130,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_XMLLINT="yes"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
 
 
 
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
-$as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
-glibcxx_stylesheets=no
-if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then
-  glibcxx_stylesheets=yes
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
-$as_echo "$glibcxx_stylesheets" >&6; }
+glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
 $as_echo_n "checking for local stylesheet directory... " >&6; }
 glibcxx_local_stylesheets=no
-if test x"$glibcxx_stylesheets" = x"yes"; then
-  if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
-    glibcxx_local_stylesheets=yes
-    XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
-  fi
-  if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
-    glibcxx_local_stylesheets=yes
-    XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
-  fi
-  if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
-    glibcxx_local_stylesheets=yes
-    XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
-  fi
+if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
+then
+  XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
+  glibcxx_local_stylesheets=yes
+else
+  for dir in \
+    /usr/share/sgml/docbook/xsl-ns-stylesheets \
+    /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
+    /usr/share/xml/docbook/stylesheet/nwalsh5/current \
+    /usr/share/xml/docbook/stylesheet/nwalsh/current
+  do
+    if test -d $dir; then
+      glibcxx_local_stylesheets=yes
+      XSL_STYLE_DIR=$dir
+      break
+    fi
+  done
 fi
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
 $as_echo "$glibcxx_local_stylesheets" >&6; }
@@ -79813,6 +77184,18 @@ if test x"$glibcxx_local_stylesheets" = x"yes"; then
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
+
+  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
+$as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
+  glibcxx_stylesheets=no
+  if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
+    if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
+      glibcxx_stylesheets=yes
+    fi
+  fi
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
+$as_echo "$glibcxx_stylesheets" >&6; }
+
 else
   glibcxx_stylesheets=no
 fi
@@ -79882,7 +77265,7 @@ fi
 set dummy dblatex; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_DBLATEX+set}" = set; then :
+if ${ac_cv_prog_DBLATEX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$DBLATEX"; then
@@ -79894,7 +77277,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_DBLATEX="yes"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -79920,7 +77303,7 @@ fi
 set dummy pdflatex; ac_word=$2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 $as_echo_n "checking for $ac_word... " >&6; }
-if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
+if ${ac_cv_prog_PDFLATEX+:} false; then :
   $as_echo_n "(cached) " >&6
 else
   if test -n "$PDFLATEX"; then
@@ -79932,7 +77315,7 @@ do
   IFS=$as_save_IFS
   test -z "$as_dir" && as_dir=.
     for ac_exec_ext in '' $ac_executable_extensions; do
-  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     ac_cv_prog_PDFLATEX="yes"
     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     break 2
@@ -79954,7 +77337,11 @@ $as_echo "no" >&6; }
 fi
 
 
- if test $ac_cv_prog_DBLATEX = "yes" &&
+ if test $ac_cv_prog_DOXYGEN = "yes" &&
+              test $ac_cv_prog_DOT = "yes" &&
+              test $ac_cv_prog_XSLTPROC = "yes" &&
+              test $ac_cv_prog_XMLLINT = "yes" &&
+              test $ac_cv_prog_DBLATEX = "yes" &&
               test $ac_cv_prog_PDFLATEX = "yes"; then
   BUILD_PDF_TRUE=
   BUILD_PDF_FALSE='#'
@@ -79964,6 +77351,18 @@ else
 fi
 
 
+case "$build" in
+ *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
+ * ) glibcxx_include_dir_notparallel=no ;;
+esac
+ if test $glibcxx_include_dir_notparallel = "yes"; then
+  INCLUDE_DIR_NOTPARALLEL_TRUE=
+  INCLUDE_DIR_NOTPARALLEL_FALSE='#'
+else
+  INCLUDE_DIR_NOTPARALLEL_TRUE='#'
+  INCLUDE_DIR_NOTPARALLEL_FALSE=
+fi
+
 
 # Propagate the target-specific source directories through the build chain.
 ATOMICITY_SRCDIR=config/${atomicity_dir}
@@ -79986,6 +77385,93 @@ CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
 
 
 
+# Add CET specific flags if Intel CET is enabled.
+ # Check whether --enable-cet was given.
+if test "${enable_cet+set}" = set; then :
+  enableval=$enable_cet;
+      case "$enableval" in
+       yes|no|auto) ;;
+       *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
+                          esac
+
+else
+  enable_cet=no
+fi
+
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
+$as_echo_n "checking for CET support... " >&6; }
+
+case "$host" in
+  i[34567]86-*-linux* | x86_64-*-linux*)
+    case "$enable_cet" in
+      auto)
+       # Check if target supports multi-byte NOPs
+       # and if assembler supports CET insn.
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+
+#if !defined(__SSE2__)
+#error target does not support multi-byte NOPs
+#else
+asm ("setssbsy");
+#endif
+
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+  enable_cet=yes
+else
+  enable_cet=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+       ;;
+      yes)
+       # Check if assembler supports CET.
+       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h.  */
+
+int
+main ()
+{
+asm ("setssbsy");
+  ;
+  return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+
+else
+  as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+       ;;
+    esac
+    ;;
+  *)
+    enable_cet=no
+    ;;
+esac
+if test x$enable_cet = xyes; then
+  CET_FLAGS="-fcf-protection -mshstk"
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+$as_echo "yes" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
+EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
+
+
+
 # Determine cross-compile flags and AM_CONDITIONALs.
 #AC_SUBST(GLIBCXX_IS_NATIVE)
 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
@@ -80007,6 +77493,24 @@ else
 fi
 
 
+    if test $enable_float128 = yes; then
+  ENABLE_FLOAT128_TRUE=
+  ENABLE_FLOAT128_FALSE='#'
+else
+  ENABLE_FLOAT128_TRUE='#'
+  ENABLE_FLOAT128_FALSE=
+fi
+
+
+    if test $enable_libstdcxx_allocator_flag = new; then
+  ENABLE_ALLOCATOR_NEW_TRUE=
+  ENABLE_ALLOCATOR_NEW_FALSE='#'
+else
+  ENABLE_ALLOCATOR_NEW_TRUE='#'
+  ENABLE_ALLOCATOR_NEW_FALSE=
+fi
+
+
     if test $enable_cheaders = c; then
   GLIBCXX_C_HEADERS_C_TRUE=
   GLIBCXX_C_HEADERS_C_FALSE='#'
@@ -80244,10 +77748,21 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
      :end' >>confcache
 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   if test -w "$cache_file"; then
-    test "x$cache_file" != "x/dev/null" &&
+    if test "x$cache_file" != "x/dev/null"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 $as_echo "$as_me: updating cache $cache_file" >&6;}
-    cat confcache >$cache_file
+      if test ! -f "$cache_file" || test -h "$cache_file"; then
+       cat confcache >"$cache_file"
+      else
+        case $cache_file in #(
+        */* | ?:*)
+         mv -f confcache "$cache_file"$$ &&
+         mv -f "$cache_file"$$ "$cache_file" ;; #(
+        *)
+         mv -f confcache "$cache_file" ;;
+       esac
+      fi
+    fi
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
@@ -80273,7 +77788,7 @@ $as_echo_n "checking for gxx-include-dir... " >&6; }
 # Check whether --with-gxx-include-dir was given.
 if test "${with_gxx_include_dir+set}" = set; then :
   withval=$with_gxx_include_dir; case "$withval" in
-      yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
+      yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
       no)  gxx_include_dir=no ;;
       *)   gxx_include_dir=$withval ;;
      esac
@@ -80291,7 +77806,7 @@ if test "${enable_version_specific_runtime_libs+set}" = set; then :
   enableval=$enable_version_specific_runtime_libs; case "$enableval" in
       yes) version_specific_libs=yes ;;
       no)  version_specific_libs=no ;;
-      *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
+      *)   as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
      esac
 else
   version_specific_libs=no
@@ -80382,7 +77897,22 @@ $as_echo "$gxx_include_dir" >&6; }
   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
 
 
-  WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
+  WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
+
+
+
+# Determine what GCC version number to use in filesystem paths.
+
+  get_gcc_base_ver="cat"
+
+# Check whether --with-gcc-major-version-only was given.
+if test "${with_gcc_major_version_only+set}" = set; then :
+  withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
+        get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
+      fi
+
+fi
+
 
 
 
@@ -80403,7 +77933,7 @@ ac_config_files="$ac_config_files doc/xsl/customization.xsl"
 # append it here.  Only modify Makefiles that have just been created.
 #
 # Also, get rid of this simulated-VPATH thing that automake does.
-ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
+ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
 
 
 ac_config_commands="$ac_config_commands generate-headers"
@@ -80473,10 +78003,21 @@ $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
      :end' >>confcache
 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   if test -w "$cache_file"; then
-    test "x$cache_file" != "x/dev/null" &&
+    if test "x$cache_file" != "x/dev/null"; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 $as_echo "$as_me: updating cache $cache_file" >&6;}
-    cat confcache >$cache_file
+      if test ! -f "$cache_file" || test -h "$cache_file"; then
+       cat confcache >"$cache_file"
+      else
+        case $cache_file in #(
+        */* | ?:*)
+         mv -f confcache "$cache_file"$$ &&
+         mv -f "$cache_file"$$ "$cache_file" ;; #(
+        *)
+         mv -f confcache "$cache_file" ;;
+       esac
+      fi
+    fi
   else
     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
@@ -80492,6 +78033,7 @@ DEFS=-DHAVE_CONFIG_H
 
 ac_libobjs=
 ac_ltlibobjs=
+U=
 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   # 1. Remove the extension, and $U if already installed.
   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
@@ -80506,6 +78048,14 @@ LIBOBJS=$ac_libobjs
 LTLIBOBJS=$ac_ltlibobjs
 
 
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
+$as_echo_n "checking that generated files are newer than configure... " >&6; }
+   if test -n "$am_sleep_pid"; then
+     # Hide warnings about reused PIDs.
+     wait $am_sleep_pid 2>/dev/null
+   fi
+   { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
+$as_echo "done" >&6; }
  if test -n "$EXEEXT"; then
   am__EXEEXT_TRUE=
   am__EXEEXT_FALSE='#'
 fi
 
 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
-  as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
+  as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
-  as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
+  as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
-  as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
+  as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
+  as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
+  as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
-  as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
+  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
-  as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
+  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
-  as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
+  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
-  as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
+  as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
-  as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
+  as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
-  as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
+  as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
-  as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
+  as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
-  as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
+  as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
-  as_fn_error "conditional \"BUILD_INFO\" was never defined.
+  as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
-  as_fn_error "conditional \"BUILD_EPUB\" was never defined.
+  as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
-  as_fn_error "conditional \"BUILD_XML\" was never defined.
+  as_fn_error $? "conditional \"BUILD_XML\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
-  as_fn_error "conditional \"BUILD_HTML\" was never defined.
+  as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
-  as_fn_error "conditional \"BUILD_MAN\" was never defined.
+  as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
-  as_fn_error "conditional \"BUILD_PDF\" was never defined.
+  as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
+Usually this means the macro was only invoked conditionally." "$LINENO" 5
+fi
+if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
+  as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
 Usually this means the macro was only invoked conditionally." "$LINENO" 5
 fi
 
-: ${CONFIG_STATUS=./config.status}
+: "${CONFIG_STATUS=./config.status}"
 ac_write_fail=0
 ac_clean_files_save=$ac_clean_files
 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
@@ -80732,6 +78294,7 @@ fi
 IFS=" ""       $as_nl"
 
 # Find who we are.  Look in the path if we contain no directory separator.
+as_myself=
 case $0 in #((
   *[\\/]* ) as_myself=$0 ;;
   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
@@ -80777,19 +78340,19 @@ export LANGUAGE
 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 
 
-# as_fn_error ERROR [LINENO LOG_FD]
-# ---------------------------------
+# as_fn_error STATUS ERROR [LINENO LOG_FD]
+# ----------------------------------------
 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
-# script with status $?, using 1 if that was 0.
+# script with STATUS, using 1 if that was 0.
 as_fn_error ()
 {
-  as_status=$?; test $as_status -eq 0 && as_status=1
-  if test "$3"; then
-    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
-    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
+  as_status=$1; test $as_status -eq 0 && as_status=1
+  if test "$4"; then
+    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   fi
-  $as_echo "$as_me: error: $1" >&2
+  $as_echo "$as_me: error: $2" >&2
   as_fn_exit $as_status
 } # as_fn_error
 
@@ -80927,16 +78490,16 @@ if (echo >conf$$.file) 2>/dev/null; then
     # ... but there are two gotchas:
     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
-    # In both cases, we have to default to `cp -p'.
+    # In both cases, we have to default to `cp -pR'.
     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
-      as_ln_s='cp -p'
+      as_ln_s='cp -pR'
   elif ln conf$$.file conf$$ 2>/dev/null; then
     as_ln_s=ln
   else
-    as_ln_s='cp -p'
+    as_ln_s='cp -pR'
   fi
 else
-  as_ln_s='cp -p'
+  as_ln_s='cp -pR'
 fi
 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 rmdir conf$$.dir 2>/dev/null
@@ -80985,7 +78548,7 @@ $as_echo X"$as_dir" |
       test -d "$as_dir" && break
     done
     test -z "$as_dirs" || eval "mkdir $as_dirs"
-  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
+  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
 
 
 } # as_fn_mkdir_p
@@ -80996,28 +78559,16 @@ else
   as_mkdir_p=false
 fi
 
-if test -x / >/dev/null 2>&1; then
-  as_test_x='test -x'
-else
-  if ls -dL / >/dev/null 2>&1; then
-    as_ls_L_option=L
-  else
-    as_ls_L_option=
-  fi
-  as_test_x='
-    eval sh -c '\''
-      if test -d "$1"; then
-       test -d "$1/.";
-      else
-       case $1 in #(
-       -*)set "./$1";;
-       esac;
-       case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
-       ???[sx]*):;;*)false;;esac;fi
-    '\'' sh
-  '
-fi
-as_executable_p=$as_test_x
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+  test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
 
 # Sed expression to map a string onto a valid CPP name.
 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
@@ -81039,7 +78590,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # values after options handling.
 ac_log="
 This file was extended by package-unused $as_me version-unused, which was
-generated by GNU Autoconf 2.64.  Invocation command line was
+generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
   CONFIG_HEADERS  = $CONFIG_HEADERS
@@ -81079,6 +78630,7 @@ Usage: $0 [OPTION]... [TAG]...
 
   -h, --help       print this help, then exit
   -V, --version    print version number and configuration settings, then exit
+      --config     print configuration, then exit
   -q, --quiet, --silent
                    do not print progress messages
   -d, --debug      don't remove temporary files
@@ -81101,12 +78653,13 @@ Report bugs to the package provider."
 
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
+ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
 package-unused config.status version-unused
-configured by $0, generated by GNU Autoconf 2.64,
-  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
+configured by $0, generated by GNU Autoconf 2.69,
+  with options \\"\$ac_cs_config\\"
 
-Copyright (C) 2009 Free Software Foundation, Inc.
+Copyright (C) 2012 Free Software Foundation, Inc.
 This config.status script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it."
 
@@ -81124,11 +78677,16 @@ ac_need_defaults=:
 while test $# != 0
 do
   case $1 in
-  --*=*)
+  --*=?*)
     ac_option=`expr "X$1" : 'X\([^=]*\)='`
     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     ac_shift=:
     ;;
+  --*=)
+    ac_option=`expr "X$1" : 'X\([^=]*\)='`
+    ac_optarg=
+    ac_shift=:
+    ;;
   *)
     ac_option=$1
     ac_optarg=$2
     ac_cs_recheck=: ;;
   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
     $as_echo "$ac_cs_version"; exit ;;
+  --config | --confi | --conf | --con | --co | --c )
+    $as_echo "$ac_cs_config"; exit ;;
   --debug | --debu | --deb | --de | --d | -d )
     debug=: ;;
   --file | --fil | --fi | --f )
     $ac_shift
     case $ac_optarg in
     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
+    '') as_fn_error $? "missing file argument" ;;
     esac
     as_fn_append CONFIG_FILES " '$ac_optarg'"
     ac_need_defaults=false;;
@@ -81160,7 +78721,7 @@ do
     ac_need_defaults=false;;
   --he | --h)
     # Conflict between --help and --header
-    as_fn_error "ambiguous option: \`$1'
+    as_fn_error $? "ambiguous option: \`$1'
 Try \`$0 --help' for more information.";;
   --help | --hel | -h )
     $as_echo "$ac_cs_usage"; exit ;;
@@ -81169,7 +78730,7 @@ Try \`$0 --help' for more information.";;
     ac_cs_silent=: ;;
 
   # This is an error.
-  -*) as_fn_error "unrecognized option: \`$1'
+  -*) as_fn_error $? "unrecognized option: \`$1'
 Try \`$0 --help' for more information." ;;
 
   *) as_fn_append ac_config_targets " $1"
@@ -81189,7 +78750,7 @@ fi
 _ACEOF
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 if \$ac_cs_recheck; then
-  set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   shift
   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   CONFIG_SHELL='$SHELL'
@@ -81226,7 +78787,7 @@ CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
 CC="$CC"
 CXX="$CXX"
 GFORTRAN="$GFORTRAN"
-GCJ="$GCJ"
+GDC="$GDC"
 
 
 # The HP-UX ksh and POSIX shell print the target directory to stdout
@@ -81627,6 +79188,7 @@ do
     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
     "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
     "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
+    "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
     "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
     "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
@@ -81634,7 +79196,7 @@ do
     "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
     "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
 
-  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
+  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   esac
 done
 
 # after its creation but before its name has been assigned to `$tmp'.
 $debug ||
 {
-  tmp=
+  tmp= ac_tmp=
   trap 'exit_status=$?
-  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
+  : "${ac_tmp:=$tmp}"
+  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
 ' 0
   trap 'as_fn_exit 1' 1 2 13 15
 }
@@ -81667,12 +79230,13 @@ $debug ||
 
 {
   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
-  test -n "$tmp" && test -d "$tmp"
+  test -d "$tmp"
 }  ||
 {
   tmp=./conf$$-$RANDOM
   (umask 077 && mkdir "$tmp")
-} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
+} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
+ac_tmp=$tmp
 
 # Set up the scripts for CONFIG_FILES section.
 # No need to generate them if there are no CONFIG_FILES.
@@ -81689,12 +79253,12 @@ if test "x$ac_cr" = x; then
 fi
 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
-  ac_cs_awk_cr='\r'
+  ac_cs_awk_cr='\\r'
 else
   ac_cs_awk_cr=$ac_cr
 fi
 
-echo 'BEGIN {' >"$tmp/subs1.awk" &&
+echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
 _ACEOF
 
 
@@ -81703,18 +79267,18 @@ _ACEOF
   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   echo "_ACEOF"
 } >conf$$subs.sh ||
-  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
-ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
+  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
+ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
 ac_delim='%!_!# '
 for ac_last_try in false false false false false :; do
   . ./conf$$subs.sh ||
-    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
 
   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   if test $ac_delim_n = $ac_delim_num; then
     break
   elif $ac_last_try; then
-    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
+    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   else
     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   fi
@@ -81722,7 +79286,7 @@ done
 rm -f conf$$subs.sh
 
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
-cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
+cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
 _ACEOF
 sed -n '
 h
@@ -81736,7 +79300,7 @@ s/'"$ac_delim"'$//
 t delim
 :nl
 h
-s/\(.\{148\}\).*/\1/
+s/\(.\{148\}\)..*/\1/
 t more1
 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 p
@@ -81750,7 +79314,7 @@ s/.\{148\}//
 t nl
 :delim
 h
-s/\(.\{148\}\).*/\1/
+s/\(.\{148\}\)..*/\1/
 t more2
 s/["\\]/\\&/g; s/^/"/; s/$/"/
 p
@@ -81770,7 +79334,7 @@ t delim
 rm -f conf$$subs.awk
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 _ACAWK
-cat >>"\$tmp/subs1.awk" <<_ACAWK &&
+cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   for (key in S) S_is_set[key] = 1
   FS = "\a"
 
@@ -81802,21 +79366,29 @@ if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 else
   cat
-fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
-  || as_fn_error "could not setup config files machinery" "$LINENO" 5
+fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
+  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
 _ACEOF
 
-# VPATH may cause trouble with some makes, so we remove $(srcdir),
-# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
+# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
+# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
 # trailing colons and then remove the whole line if VPATH becomes empty
 # (actually we leave an empty line to preserve line numbers).
 if test "x$srcdir" = x.; then
-  ac_vpsub='/^[         ]*VPATH[        ]*=/{
-s/:*\$(srcdir):*/:/
-s/:*\${srcdir}:*/:/
-s/:*@srcdir@:*/:/
-s/^\([^=]*=[    ]*\):*/\1/
+  ac_vpsub='/^[         ]*VPATH[        ]*=[    ]*/{
+h
+s///
+s/^/:/
+s/[     ]*$/:/
+s/:\$(srcdir):/:/g
+s/:\${srcdir}:/:/g
+s/:@srcdir@:/:/g
+s/^:*//
 s/:*$//
+x
+s/\(=[  ]*\).*/\1/
+G
+s/\n//
 s/^[^=]*=[      ]*$//
 }'
 fi
@@ -81828,7 +79400,7 @@ fi # test -n "$CONFIG_FILES"
 # No need to generate them if there are no CONFIG_HEADERS.
 # This happens for instance with `./config.status Makefile'.
 if test -n "$CONFIG_HEADERS"; then
-cat >"$tmp/defines.awk" <<\_ACAWK ||
+cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
 BEGIN {
 _ACEOF
 
@@ -81840,11 +79412,11 @@ _ACEOF
 # handling of long lines.
 ac_delim='%!_!# '
 for ac_last_try in false false :; do
-  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
-  if test -z "$ac_t"; then
+  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
+  if test -z "$ac_tt"; then
     break
   elif $ac_last_try; then
-    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
+    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   else
     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   fi
@@ -81929,7 +79501,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 _ACAWK
 _ACEOF
 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
-  as_fn_error "could not setup config headers machinery" "$LINENO" 5
+  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
 fi # test -n "$CONFIG_HEADERS"
 
 
@@ -81942,7 +79514,7 @@ do
   esac
   case $ac_mode$ac_tag in
   :[FHL]*:*);;
-  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
+  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   :[FH]-) ac_tag=-:-;;
   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   esac
@@ -81961,7 +79533,7 @@ do
     for ac_f
     do
       case $ac_f in
-      -) ac_f="$tmp/stdin";;
+      -) ac_f="$ac_tmp/stdin";;
       *) # Look for the file first in the build tree, then in the source tree
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
         # because $ac_f cannot contain `:'.
@@ -81970,7 +79542,7 @@ do
           [\\/$]*) false;;
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
           esac ||
-          as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
+          as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
       esac
       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
       as_fn_append ac_file_inputs " '$ac_f'"
@@ -81996,8 +79568,8 @@ $as_echo "$as_me: creating $ac_file" >&6;}
     esac
 
     case $ac_tag in
-    *:-:* | *:-) cat >"$tmp/stdin" \
-      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
+    *:-:* | *:-) cat >"$ac_tmp/stdin" \
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     esac
     ;;
   esac
@@ -82133,23 +79705,24 @@ s&@INSTALL@&$ac_INSTALL&;t t
 s&@MKDIR_P@&$ac_MKDIR_P&;t t
 $ac_datarootdir_hack
 "
-eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
-  || as_fn_error "could not create $ac_file" "$LINENO" 5
+eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
+  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
-  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
-  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
+  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
+  { ac_out=`sed -n '/^[         ]*datarootdir[  ]*:*=/p' \
+      "$ac_tmp/out"`; test -z "$ac_out"; } &&
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined.  Please make sure it is defined." >&5
+which seems to be undefined.  Please make sure it is defined" >&5
 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
-which seems to be undefined.  Please make sure it is defined." >&2;}
+which seems to be undefined.  Please make sure it is defined" >&2;}
 
-  rm -f "$tmp/stdin"
+  rm -f "$ac_tmp/stdin"
   case $ac_file in
-  -) cat "$tmp/out" && rm -f "$tmp/out";;
-  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
+  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
+  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   esac \
-  || as_fn_error "could not create $ac_file" "$LINENO" 5
+  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  ;;
   :H)
   #
@@ -82158,21 +79731,21 @@ which seems to be undefined.  Please make sure it is defined." >&2;}
   if test x"$ac_file" != x-; then
     {
       $as_echo "/* $configure_input  */" \
-      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
-    } >"$tmp/config.h" \
-      || as_fn_error "could not create $ac_file" "$LINENO" 5
-    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
+      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
+    } >"$ac_tmp/config.h" \
+      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
+    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 $as_echo "$as_me: $ac_file is unchanged" >&6;}
     else
       rm -f "$ac_file"
-      mv "$tmp/config.h" "$ac_file" \
-       || as_fn_error "could not create $ac_file" "$LINENO" 5
+      mv "$ac_tmp/config.h" "$ac_file" \
+       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     fi
   else
     $as_echo "/* $configure_input  */" \
-      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
-      || as_fn_error "could not create -" "$LINENO" 5
+      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
+      || as_fn_error $? "could not create -" "$LINENO" 5
   fi
 # Compute "$ac_file"'s index in $config_headers.
 _am_arg="$ac_file"
@@ -83455,6 +81028,17 @@ _EOF
  ;;
     "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
 s!`test -f '$<' || echo '$(srcdir)/'`!!
+_EOF
+   sed -f vpsed$$ $ac_file > tmp$$
+   mv tmp$$ $ac_file
+   rm vpsed$$
+   echo 'MULTISUBDIR =' >> $ac_file
+   ml_norecursion=yes
+   . ${multi_basedir}/config-ml.in
+   { ml_norecursion=; unset ml_norecursion;}
+ ;;
+    "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
+s!`test -f '$<' || echo '$(srcdir)/'`!!
 _EOF
    sed -f vpsed$$ $ac_file > tmp$$
    mv tmp$$ $ac_file
@@ -83530,7 +81114,7 @@ _ACEOF
 ac_clean_files=$ac_clean_files_save
 
 test $ac_write_fail = 0 ||
-  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
+  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
 
 
 # configure is writing to config.log, and then calls config.status.
@@ -83551,7 +81135,7 @@ if test "$no_create" != yes; then
   exec 5>>config.log
   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   # would make configure fail if this is the last instruction.
-  $ac_cs_success || as_fn_exit $?
+  $ac_cs_success || as_fn_exit 1
 fi
 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5