Attachment 'gcc-4.7.3-barrelfish.patch'

Download

   1 diff --git a/config.sub b/config.sub
   2 index 78176a4..e16a497 100755
   3 --- a/config.sub
   4 +++ b/config.sub
   5 @@ -1334,6 +1334,7 @@ case $os in
   6  	      | -sym* | -kopensolaris* \
   7  	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
   8  	      | -aos* | -aros* \
   9 +	      | -barrelfish* \
  10  	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  11  	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  12  	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  13 diff --git a/gcc/config.gcc b/gcc/config.gcc
  14 index 7282a68..3933f4d 100644
  15 --- a/gcc/config.gcc
  16 +++ b/gcc/config.gcc
  17 @@ -651,6 +651,12 @@ case ${target} in
  18        ;;
  19    esac
  20    ;;
  21 +*-*-barrelfish*)
  22 +  extra_parts="crtbegin.o crtend.o"
  23 +  gas=yes
  24 +  gnu_ld=yes
  25 +  default_use_cxa_atexit=yes
  26 +  ;;
  27  *-*-netbsd*)
  28    tmake_file="t-slibgcc"
  29    gas=yes
  30 @@ -1213,9 +1219,23 @@ x86_64-*-darwin*)
  31  i[34567]86-*-elf*)
  32  	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h"
  33  	;;
  34 +i[34567]86-pc-barrelfish*)
  35 +	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/barrelfish-x86_32.h"
  36 +	tmake_file="${tmake_file} i386/t-i386elf i386/t-crtstuff"
  37 +	use_fixproto=yes
  38 +	;;
  39 +i[34567]86-scc-barrelfish*)
  40 +	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/barrelfish-scc.h"
  41 +	tmake_file="${tmake_file} i386/t-i386elf i386/t-crtstuff"
  42 +	use_fixproto=yes
  43 +	;;
  44  x86_64-*-elf*)
  45  	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h"
  46  	;;
  47 +x86_64-*-barrelfish*)
  48 +	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h i386/barrelfish-x86_64.h"
  49 +	tmake_file="${tmake_file} i386/t-i386elf i386/t-crtstuff"
  50 +	;;
  51  i[34567]86-*-freebsd*)
  52  	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h"
  53  	;;
  54 diff --git a/gcc/config/i386/barrelfish-scc.h b/gcc/config/i386/barrelfish-scc.h
  55 new file mode 100644
  56 index 0000000..930451c
  57 --- /dev/null
  58 +++ b/gcc/config/i386/barrelfish-scc.h
  59 @@ -0,0 +1,72 @@
  60 +#define BF_SRC   "{{BF_SRC}}"
  61 +#define BF_BUILD "{{BF_BUILD}}"
  62 +
  63 +#undef TARGET_OS_CPP_BUILTINS
  64 +#define TARGET_OS_CPP_BUILTINS()                        \
  65 +  do {                                                  \
  66 +    builtin_define ("BARRELFISH");                      \
  67 +    builtin_define_std ("barrelfish");                  \
  68 +    builtin_define_std ("unix");                        \
  69 +    builtin_define_std ("scc");                         \
  70 +    builtin_define ("CONFIG_LAZY_THC");                 \
  71 +    builtin_define ("CONFIG_NEWLIB");                   \
  72 +    builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP");  \
  73 +    builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP");  \
  74 +    builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP");     \
  75 +    builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP_IPI"); \
  76 +    builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\"");   \
  77 +    builtin_define ("BF_SRC_DIR=\"" BF_SRC "\"");       \
  78 +    builtin_assert ("system=barrelfish");               \
  79 +    builtin_assert ("system=unix");                     \
  80 +  } while(0);
  81 +
  82 +#undef  CC1_SPEC
  83 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
  84 +
  85 +/* Default #includes are defined in 'hake/ArchDefaults.hs' (see 'cStdIncs'). */
  86 +#undef  CPP_SPEC
  87 +#define CPP_SPEC                                       \
  88 +  "-isystem" BF_SRC "/include "                        \
  89 +  "-isystem" BF_SRC "/include/arch/scc "               \
  90 +  "-isystem" BF_SRC "/include/arch/x86_32 "            \
  91 +  "-isystem" BF_SRC "/lib/newlib/newlib/libc/include " \
  92 +  "-isystem" BF_SRC "/include/c "                      \
  93 +  "-isystem" BF_SRC "/include/target/x86_32 "          \
  94 +  "-isystem" BF_SRC "/include/ipv4 "                   \
  95 +  "-isystem" BF_BUILD "/scc/include "                  \
  96 +  "-isystem" BF_BUILD "/scc/include/dev"
  97 +
  98 +/* Default libraries are specified in 'hake/ArchDefaults.hs' (see 'stdLibs').
  99 +   Follows the order given by 'libDeps' in '{BF_SRC}/hake/RuleDefs.hs'. */
 100 +#undef LIB_SPEC
 101 +#define LIB_SPEC                  \
 102 +  "-L" BF_BUILD "/scc/lib "       \
 103 +  "-lbarrelfish "                 \
 104 +  "-loctopus_parser "             \
 105 +  BF_BUILD "/scc/errors/errno.o " \
 106 +  "-lnewlib "                     \
 107 +  "-lposixcompat "                \
 108 +  "-lvfs "                        \
 109 +  "-lahci "                       \
 110 +  "-lnfs "                        \
 111 +  "-llwip "                       \
 112 +  "-lbarrelfish "                 \
 113 +  "-lnewlib"
 114 +
 115 +#undef  STARTFILE_SPEC
 116 +#define STARTFILE_SPEC             \
 117 +  BF_BUILD "/scc/lib/crt0.o%s "    \
 118 +  BF_BUILD "/scc/lib/crtbegin.o%s"
 119 +
 120 +#undef  ENDFILE_SPEC
 121 +#define ENDFILE_SPEC                                                \
 122 +  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \
 123 +  "%{mpc32:crtprec32.o%s} "                                         \
 124 +  "%{mpc64:crtprec64.o%s} "                                         \
 125 +  "%{mpc80:crtprec80.o%s} "                                         \
 126 +  BF_BUILD "/scc/lib/crtend.o%s "                                   \
 127 +  "-lcollections"
 128 +
 129 +/* System header files are C++ ready so don't wrap in extern "C". */
 130 +#undef  NO_IMPLICIT_EXTERN_C
 131 +#define NO_IMPLICIT_EXTERN_C  1
 132 diff --git a/gcc/config/i386/barrelfish-x86_32.h b/gcc/config/i386/barrelfish-x86_32.h
 133 new file mode 100644
 134 index 0000000..84d0bf5
 135 --- /dev/null
 136 +++ b/gcc/config/i386/barrelfish-x86_32.h
 137 @@ -0,0 +1,70 @@
 138 +#define BF_SRC   "{{BF_SRC}}"
 139 +#define BF_BUILD "{{BF_BUILD}}"
 140 +
 141 +#undef TARGET_OS_CPP_BUILTINS
 142 +#define TARGET_OS_CPP_BUILTINS()                       \
 143 +  do {                                                 \
 144 +    builtin_define ("BARRELFISH");                     \
 145 +    builtin_define_std ("barrelfish");                 \
 146 +    builtin_define_std ("unix");                       \
 147 +    builtin_define ("CONFIG_LAZY_THC");                \
 148 +    builtin_define ("CONFIG_NEWLIB");                  \
 149 +    builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
 150 +    builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
 151 +    builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP");    \
 152 +    builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP");    \
 153 +    builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\"");  \
 154 +    builtin_define ("BF_SRC_DIR=\"" BF_SRC "\"");      \
 155 +    builtin_assert ("system=barrelfish");              \
 156 +    builtin_assert ("system=unix");                    \
 157 +  } while(0);
 158 +
 159 +#undef  CC1_SPEC
 160 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
 161 +
 162 +/* Default #includes are defined in 'hake/ArchDefaults.hs' (see 'cStdIncs'). */
 163 +#undef  CPP_SPEC
 164 +#define CPP_SPEC                                       \
 165 +  "-isystem" BF_SRC "/include "                        \
 166 +  "-isystem" BF_SRC "/include/arch/x86_32 "            \
 167 +  "-isystem" BF_SRC "/lib/newlib/newlib/libc/include " \
 168 +  "-isystem" BF_SRC "/include/c "                      \
 169 +  "-isystem" BF_SRC "/include/target/x86_32 "          \
 170 +  "-isystem" BF_SRC "/include/ipv4 "                   \
 171 +  "-isystem" BF_BUILD "/x86_32/include "               \
 172 +  "-isystem" BF_BUILD "/x86_32/include/dev"
 173 +
 174 +/* Default libraries are specified in 'hake/ArchDefaults.hs' (see 'stdLibs').
 175 +   Follows the order given by 'libDeps' in '{BF_SRC}/hake/RuleDefs.hs'. */
 176 +#undef LIB_SPEC
 177 +#define LIB_SPEC                     \
 178 +  "-L" BF_BUILD "/x86_32/lib "       \
 179 +  "-lbarrelfish "                    \
 180 +  "-loctopus_parser "                \
 181 +  BF_BUILD "/x86_32/errors/errno.o " \
 182 +  "-lnewlib "                        \
 183 +  "-lposixcompat "                   \
 184 +  "-lvfs "                           \
 185 +  "-lahci "                          \
 186 +  "-lnfs "                           \
 187 +  "-llwip "                          \
 188 +  "-lbarrelfish "                    \
 189 +  "-lnewlib"
 190 +
 191 +#undef  STARTFILE_SPEC
 192 +#define STARTFILE_SPEC                \
 193 +  BF_BUILD "/x86_32/lib/crt0.o%s "    \
 194 +  BF_BUILD "/x86_32/lib/crtbegin.o%s"
 195 +
 196 +#undef  ENDFILE_SPEC
 197 +#define ENDFILE_SPEC                                                \
 198 +  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \
 199 +  "%{mpc32:crtprec32.o%s} "                                         \
 200 +  "%{mpc64:crtprec64.o%s} "                                         \
 201 +  "%{mpc80:crtprec80.o%s} "                                         \
 202 +  BF_BUILD "/x86_32/lib/crtend.o%s "                                \
 203 +  "-lcollections"
 204 +
 205 +/* System header files are C++ ready so don't wrap in extern "C". */
 206 +#undef  NO_IMPLICIT_EXTERN_C
 207 +#define NO_IMPLICIT_EXTERN_C  1
 208 diff --git a/gcc/config/i386/barrelfish-x86_64.h b/gcc/config/i386/barrelfish-x86_64.h
 209 new file mode 100644
 210 index 0000000..8608b62
 211 --- /dev/null
 212 +++ b/gcc/config/i386/barrelfish-x86_64.h
 213 @@ -0,0 +1,70 @@
 214 +#define BF_SRC   "{{BF_SRC}}"
 215 +#define BF_BUILD "{{BF_BUILD}}"
 216 +
 217 +#undef TARGET_OS_CPP_BUILTINS
 218 +#define TARGET_OS_CPP_BUILTINS()                       \
 219 +  do {                                                 \
 220 +    builtin_define ("BARRELFISH");                     \
 221 +    builtin_define_std ("barrelfish");                 \
 222 +    builtin_define_std ("unix");                       \
 223 +    builtin_define ("CONFIG_LAZY_THC");                \
 224 +    builtin_define ("CONFIG_NEWLIB");                  \
 225 +    builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP"); \
 226 +    builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP"); \
 227 +    builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP");    \
 228 +    builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP");    \
 229 +    builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\"");  \
 230 +    builtin_define ("BF_SRC_DIR=\"" BF_SRC "\"");      \
 231 +    builtin_assert ("system=barrelfish");              \
 232 +    builtin_assert ("system=unix");                    \
 233 +  } while(0);
 234 +
 235 +#undef  CC1_SPEC
 236 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
 237 +
 238 +/* Default #includes are defined in 'hake/ArchDefaults.hs' (see 'cStdIncs'). */
 239 +#undef  CPP_SPEC
 240 +#define CPP_SPEC                                       \
 241 +  "-isystem" BF_SRC "/include "                        \
 242 +  "-isystem" BF_SRC "/include/arch/x86_64 "            \
 243 +  "-isystem" BF_SRC "/lib/newlib/newlib/libc/include " \
 244 +  "-isystem" BF_SRC "/include/c "                      \
 245 +  "-isystem" BF_SRC "/include/target/x86_64 "          \
 246 +  "-isystem" BF_SRC "/include/ipv4 "                   \
 247 +  "-isystem" BF_BUILD "/x86_64/include "               \
 248 +  "-isystem" BF_BUILD "/x86_64/include/dev"
 249 +
 250 +/* Default libraries are specified in 'hake/ArchDefaults.hs' (see 'stdLibs').
 251 +   Follows the order given by 'libDeps' in '{BF_SRC}/hake/RuleDefs.hs'. */
 252 +#undef LIB_SPEC
 253 +#define LIB_SPEC                     \
 254 +  "-L" BF_BUILD "/x86_64/lib "       \
 255 +  "-lbarrelfish "                    \
 256 +  "-loctopus_parser "                \
 257 +  BF_BUILD "/x86_64/errors/errno.o " \
 258 +  "-lnewlib "                        \
 259 +  "-lposixcompat "                   \
 260 +  "-lvfs "                           \
 261 +  "-lahci "                          \
 262 +  "-lnfs "                           \
 263 +  "-llwip "                          \
 264 +  "-lbarrelfish "                    \
 265 +  "-lnewlib"
 266 +
 267 +#undef  STARTFILE_SPEC
 268 +#define STARTFILE_SPEC                \
 269 +  BF_BUILD "/x86_64/lib/crt0.o%s "    \
 270 +  BF_BUILD "/x86_64/lib/crtbegin.o%s"
 271 +
 272 +#undef  ENDFILE_SPEC
 273 +#define ENDFILE_SPEC                                                \
 274 +  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} " \
 275 +  "%{mpc32:crtprec32.o%s} "                                         \
 276 +  "%{mpc64:crtprec64.o%s} "                                         \
 277 +  "%{mpc80:crtprec80.o%s} "                                         \
 278 +  BF_BUILD "/x86_64/lib/crtend.o%s "                                \
 279 +  "-lcollections"
 280 +
 281 +/* System header files are C++ ready so don't wrap in extern "C". */
 282 +#undef  NO_IMPLICIT_EXTERN_C
 283 +#define NO_IMPLICIT_EXTERN_C  1
 284 diff --git a/gcc/ginclude/stddef.h b/gcc/ginclude/stddef.h
 285 index 8a03948..fe302bc 100644
 286 --- a/gcc/ginclude/stddef.h
 287 +++ b/gcc/ginclude/stddef.h
 288 @@ -201,7 +201,7 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t;
 289  #define _GCC_SIZE_T
 290  #define _SIZET_
 291  #if (defined (__FreeBSD__) && (__FreeBSD__ >= 5)) \
 292 -  || defined(__FreeBSD_kernel__)
 293 +  || defined(__FreeBSD_kernel__) || defined(__barrelfish__)
 294  /* __size_t is a typedef on FreeBSD 5, must not trash it. */
 295  #else
 296  #define __size_t
 297 diff --git a/gcc/testsuite/g++.dg/dg.exp b/gcc/testsuite/g++.dg/dg.exp
 298 index 0730c76..ea56210 100644
 299 --- a/gcc/testsuite/g++.dg/dg.exp
 300 +++ b/gcc/testsuite/g++.dg/dg.exp
 301 @@ -31,6 +31,7 @@ dg-init
 302  # Gather a list of all tests, with the exception of those in directories
 303  # that are handled specially.
 304  set tests [lsort [find $srcdir/$subdir *.C]]
 305 +set tests [prune $tests $srcdir/$subdir/eh/*]
 306  set tests [prune $tests $srcdir/$subdir/bprob/*]
 307  set tests [prune $tests $srcdir/$subdir/charset/*]
 308  set tests [prune $tests $srcdir/$subdir/compat/*]
 309 diff --git a/libgcc/config.host b/libgcc/config.host
 310 index 66b4724..86bb37d 100644
 311 --- a/libgcc/config.host
 312 +++ b/libgcc/config.host
 313 @@ -550,6 +550,10 @@ i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i[34567]86-*-gnu* | i[3
 314  	extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
 315  	tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
 316  	;;
 317 +i[34567]86-*-barrelfish*)
 318 +	extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
 319 +	tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
 320 +	;;
 321  x86_64-*-linux*)
 322  	extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
 323  	tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
 324 @@ -559,6 +563,10 @@ x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
 325  	extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
 326  	tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
 327  	;;
 328 +x86_64-*-barrelfish*)
 329 +	extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
 330 +	tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules"
 331 +	;;
 332  i[34567]86-pc-msdosdjgpp*)
 333  	;;
 334  i[34567]86-*-lynxos*)
 335 diff --git a/libiberty/clock.c b/libiberty/clock.c
 336 index 07d902e..4d5817a 100644
 337 --- a/libiberty/clock.c
 338 +++ b/libiberty/clock.c
 339 @@ -66,7 +66,7 @@ number of seconds used.
 340  
 341  /* FIXME: should be able to declare as clock_t. */
 342  
 343 -long
 344 +clock_t
 345  clock (void)
 346  {
 347  #ifdef HAVE_GETRUSAGE
 348 diff --git a/libiberty/gettimeofday.c b/libiberty/gettimeofday.c
 349 index fca1679..88f2f5a 100644
 350 --- a/libiberty/gettimeofday.c
 351 +++ b/libiberty/gettimeofday.c
 352 @@ -19,7 +19,7 @@ that @var{tz} be NULL.  Returns 0 on success, -1 on failure.
 353  */ 
 354  
 355  int
 356 -gettimeofday (struct timeval *tp, void *tz)
 357 +gettimeofday (struct timeval *tp, struct timezone *tz)
 358  {
 359    if (tz)
 360      abort ();
 361 diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
 362 index b642495..45e3ed3 100755
 363 --- a/libstdc++-v3/configure
 364 +++ b/libstdc++-v3/configure
 365 @@ -51752,6 +51752,5867 @@ _ACEOF
 366    fi
 367  
 368      ;;
 369 +  *-barrelfish*)
 370 +
 371 +  # All these tests are for C++; save the language and the compiler flags.
 372 +  # The CXXFLAGS thing is suspicious, but based on similar bits previously
 373 +  # found in GLIBCXX_CONFIGURE.
 374 +
 375 +  ac_ext=cpp
 376 +ac_cpp='$CXXCPP $CPPFLAGS'
 377 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 378 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 379 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 380 +
 381 +  ac_test_CXXFLAGS="${CXXFLAGS+set}"
 382 +  ac_save_CXXFLAGS="$CXXFLAGS"
 383 +
 384 +  # Check for maintainer-mode bits.
 385 +  if test x"$USE_MAINTAINER_MODE" = xno; then
 386 +    WERROR=''
 387 +  else
 388 +    WERROR='-Werror'
 389 +  fi
 390 +
 391 +  # Check for -ffunction-sections -fdata-sections
 392 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
 393 +$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
 394 +  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
 395 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 396 +/* end confdefs.h.  */
 397 +int foo; void bar() { };
 398 +int
 399 +main ()
 400 +{
 401 +
 402 +  ;
 403 +  return 0;
 404 +}
 405 +_ACEOF
 406 +if ac_fn_cxx_try_compile "$LINENO"; then :
 407 +  ac_fdsections=yes
 408 +else
 409 +  ac_fdsections=no
 410 +fi
 411 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 412 +  if test "$ac_test_CXXFLAGS" = set; then
 413 +    CXXFLAGS="$ac_save_CXXFLAGS"
 414 +  else
 415 +    # this is the suspicious part
 416 +    CXXFLAGS=''
 417 +  fi
 418 +  if test x"$ac_fdsections" = x"yes"; then
 419 +    SECTION_FLAGS='-ffunction-sections -fdata-sections'
 420 +  fi
 421 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
 422 +$as_echo "$ac_fdsections" >&6; }
 423 +
 424 +  ac_ext=c
 425 +ac_cpp='$CPP $CPPFLAGS'
 426 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 427 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 428 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 429 +
 430 +
 431 +
 432 +
 433 +
 434 +  # If we're not using GNU ld, then there's no point in even trying these
 435 +  # tests.  Check for that first.  We should have already tested for gld
 436 +  # by now (in libtool), but require it now just to be safe...
 437 +  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
 438 +  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
 439 +
 440 +
 441 +
 442 +  # The name set by libtool depends on the version of libtool.  Shame on us
 443 +  # for depending on an impl detail, but c'est la vie.  Older versions used
 444 +  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
 445 +  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
 446 +  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
 447 +  # set (hence we're using an older libtool), then set it.
 448 +  if test x${with_gnu_ld+set} != xset; then
 449 +    if test x${ac_cv_prog_gnu_ld+set} != xset; then
 450 +      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
 451 +      with_gnu_ld=no
 452 +    else
 453 +      with_gnu_ld=$ac_cv_prog_gnu_ld
 454 +    fi
 455 +  fi
 456 +
 457 +  # Start by getting the version number.  I think the libtool test already
 458 +  # does some of this, but throws away the result.
 459 +  glibcxx_ld_is_gold=no
 460 +  if test x"$with_gnu_ld" = x"yes"; then
 461 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
 462 +$as_echo_n "checking for ld version... " >&6; }
 463 +
 464 +    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
 465 +      glibcxx_ld_is_gold=yes
 466 +    fi
 467 +    ldver=`$LD --version 2>/dev/null |
 468 +	   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'`
 469 +
 470 +    glibcxx_gnu_ld_version=`echo $ldver | \
 471 +	   $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
 472 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
 473 +$as_echo "$glibcxx_gnu_ld_version" >&6; }
 474 +  fi
 475 +
 476 +  # Set --gc-sections.
 477 +  glibcxx_have_gc_sections=no
 478 +  if test "$glibcxx_ld_is_gold" = "yes"; then
 479 +    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
 480 +      glibcxx_have_gc_sections=yes
 481 +    fi
 482 +  else
 483 +    glibcxx_gcsections_min_ld=21602
 484 +    if test x"$with_gnu_ld" = x"yes" &&
 485 +	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
 486 +      glibcxx_have_gc_sections=yes
 487 +    fi
 488 +  fi
 489 +  if test "$glibcxx_have_gc_sections" = "yes"; then
 490 +    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
 491 +    # NB: This flag only works reliably after 2.16.1. Configure tests
 492 +    # for this are difficult, so hard wire a value that should work.
 493 +
 494 +    ac_test_CFLAGS="${CFLAGS+set}"
 495 +    ac_save_CFLAGS="$CFLAGS"
 496 +    CFLAGS='-Wl,--gc-sections'
 497 +
 498 +    # Check for -Wl,--gc-sections
 499 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
 500 +$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
 501 +    if test x$gcc_no_link = xyes; then
 502 +  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 503 +fi
 504 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 505 +/* end confdefs.h.  */
 506 + int one(void) { return 1; }
 507 +     int two(void) { return 2; }
 508 +
 509 +int
 510 +main ()
 511 +{
 512 + two();
 513 +  ;
 514 +  return 0;
 515 +}
 516 +_ACEOF
 517 +if ac_fn_c_try_link "$LINENO"; then :
 518 +  ac_gcsections=yes
 519 +else
 520 +  ac_gcsections=no
 521 +fi
 522 +rm -f core conftest.err conftest.$ac_objext \
 523 +    conftest$ac_exeext conftest.$ac_ext
 524 +    if test "$ac_gcsections" = "yes"; then
 525 +      rm -f conftest.c
 526 +      touch conftest.c
 527 +      if $CC -c conftest.c; then
 528 +	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
 529 +	   grep "Warning: gc-sections option ignored" > /dev/null; then
 530 +	  ac_gcsections=no
 531 +	fi
 532 +      fi
 533 +      rm -f conftest.c conftest.o conftest
 534 +    fi
 535 +    if test "$ac_gcsections" = "yes"; then
 536 +      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
 537 +    fi
 538 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
 539 +$as_echo "$ac_gcsections" >&6; }
 540 +
 541 +    if test "$ac_test_CFLAGS" = set; then
 542 +      CFLAGS="$ac_save_CFLAGS"
 543 +    else
 544 +      # this is the suspicious part
 545 +      CFLAGS=''
 546 +    fi
 547 +  fi
 548 +
 549 +  # Set -z,relro.
 550 +  # Note this is only for shared objects.
 551 +  ac_ld_relro=no
 552 +  if test x"$with_gnu_ld" = x"yes"; then
 553 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
 554 +$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
 555 +    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
 556 +    if test -n "$cxx_z_relo"; then
 557 +      OPT_LDFLAGS="-Wl,-z,relro"
 558 +      ac_ld_relro=yes
 559 +    fi
 560 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
 561 +$as_echo "$ac_ld_relro" >&6; }
 562 +  fi
 563 +
 564 +  # Set linker optimization flags.
 565 +  if test x"$with_gnu_ld" = x"yes"; then
 566 +    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
 567 +  fi
 568 +
 569 +
 570 +
 571 +
 572 +
 573 +  ac_test_CXXFLAGS="${CXXFLAGS+set}"
 574 +  ac_save_CXXFLAGS="$CXXFLAGS"
 575 +  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
 576 +
 577 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
 578 +$as_echo_n "checking for sin in -lm... " >&6; }
 579 +if test "${ac_cv_lib_m_sin+set}" = set; then :
 580 +  $as_echo_n "(cached) " >&6
 581 +else
 582 +  ac_check_lib_save_LIBS=$LIBS
 583 +LIBS="-lm  $LIBS"
 584 +if test x$gcc_no_link = xyes; then
 585 +  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 586 +fi
 587 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 588 +/* end confdefs.h.  */
 589 +
 590 +/* Override any GCC internal prototype to avoid an error.
 591 +   Use char because int might match the return type of a GCC
 592 +   builtin and then its argument prototype would still apply.  */
 593 +#ifdef __cplusplus
 594 +extern "C"
 595 +#endif
 596 +char sin ();
 597 +int
 598 +main ()
 599 +{
 600 +return sin ();
 601 +  ;
 602 +  return 0;
 603 +}
 604 +_ACEOF
 605 +if ac_fn_c_try_link "$LINENO"; then :
 606 +  ac_cv_lib_m_sin=yes
 607 +else
 608 +  ac_cv_lib_m_sin=no
 609 +fi
 610 +rm -f core conftest.err conftest.$ac_objext \
 611 +    conftest$ac_exeext conftest.$ac_ext
 612 +LIBS=$ac_check_lib_save_LIBS
 613 +fi
 614 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
 615 +$as_echo "$ac_cv_lib_m_sin" >&6; }
 616 +if test "x$ac_cv_lib_m_sin" = x""yes; then :
 617 +  libm="-lm"
 618 +fi
 619 +
 620 +  ac_save_LIBS="$LIBS"
 621 +  LIBS="$LIBS $libm"
 622 +
 623 +
 624 +
 625 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
 626 +$as_echo_n "checking for isinf declaration... " >&6; }
 627 +  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
 628 +    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
 629 +  $as_echo_n "(cached) " >&6
 630 +else
 631 +
 632 +
 633 +      ac_ext=cpp
 634 +ac_cpp='$CXXCPP $CPPFLAGS'
 635 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 636 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 637 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 638 +
 639 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 640 +/* end confdefs.h.  */
 641 +#include <math.h>
 642 +		      #ifdef HAVE_IEEEFP_H
 643 +		      #include <ieeefp.h>
 644 +		      #endif
 645 +
 646 +int
 647 +main ()
 648 +{
 649 + isinf(0);
 650 +  ;
 651 +  return 0;
 652 +}
 653 +_ACEOF
 654 +if ac_fn_cxx_try_compile "$LINENO"; then :
 655 +  glibcxx_cv_func_isinf_use=yes
 656 +else
 657 +  glibcxx_cv_func_isinf_use=no
 658 +fi
 659 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 660 +      ac_ext=c
 661 +ac_cpp='$CPP $CPPFLAGS'
 662 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 663 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 664 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 665 +
 666 +
 667 +fi
 668 +
 669 +  fi
 670 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
 671 +$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
 672 +
 673 +  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
 674 +    for ac_func in isinf
 675 +do :
 676 +  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
 677 +if test "x$ac_cv_func_isinf" = x""yes; then :
 678 +  cat >>confdefs.h <<_ACEOF
 679 +#define HAVE_ISINF 1
 680 +_ACEOF
 681 +
 682 +fi
 683 +done
 684 +
 685 +  else
 686 +
 687 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
 688 +$as_echo_n "checking for _isinf declaration... " >&6; }
 689 +  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
 690 +    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
 691 +  $as_echo_n "(cached) " >&6
 692 +else
 693 +
 694 +
 695 +      ac_ext=cpp
 696 +ac_cpp='$CXXCPP $CPPFLAGS'
 697 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 698 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 699 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 700 +
 701 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 702 +/* end confdefs.h.  */
 703 +#include <math.h>
 704 +		      #ifdef HAVE_IEEEFP_H
 705 +		      #include <ieeefp.h>
 706 +		      #endif
 707 +
 708 +int
 709 +main ()
 710 +{
 711 + _isinf(0);
 712 +  ;
 713 +  return 0;
 714 +}
 715 +_ACEOF
 716 +if ac_fn_cxx_try_compile "$LINENO"; then :
 717 +  glibcxx_cv_func__isinf_use=yes
 718 +else
 719 +  glibcxx_cv_func__isinf_use=no
 720 +fi
 721 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 722 +      ac_ext=c
 723 +ac_cpp='$CPP $CPPFLAGS'
 724 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 725 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 726 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 727 +
 728 +
 729 +fi
 730 +
 731 +  fi
 732 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
 733 +$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
 734 +
 735 +    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
 736 +      for ac_func in _isinf
 737 +do :
 738 +  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
 739 +if test "x$ac_cv_func__isinf" = x""yes; then :
 740 +  cat >>confdefs.h <<_ACEOF
 741 +#define HAVE__ISINF 1
 742 +_ACEOF
 743 +
 744 +fi
 745 +done
 746 +
 747 +    fi
 748 +  fi
 749 +
 750 +
 751 +
 752 +
 753 +
 754 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
 755 +$as_echo_n "checking for isnan declaration... " >&6; }
 756 +  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
 757 +    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
 758 +  $as_echo_n "(cached) " >&6
 759 +else
 760 +
 761 +
 762 +      ac_ext=cpp
 763 +ac_cpp='$CXXCPP $CPPFLAGS'
 764 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 765 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 766 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 767 +
 768 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 769 +/* end confdefs.h.  */
 770 +#include <math.h>
 771 +		      #ifdef HAVE_IEEEFP_H
 772 +		      #include <ieeefp.h>
 773 +		      #endif
 774 +
 775 +int
 776 +main ()
 777 +{
 778 + isnan(0);
 779 +  ;
 780 +  return 0;
 781 +}
 782 +_ACEOF
 783 +if ac_fn_cxx_try_compile "$LINENO"; then :
 784 +  glibcxx_cv_func_isnan_use=yes
 785 +else
 786 +  glibcxx_cv_func_isnan_use=no
 787 +fi
 788 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 789 +      ac_ext=c
 790 +ac_cpp='$CPP $CPPFLAGS'
 791 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 792 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 793 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 794 +
 795 +
 796 +fi
 797 +
 798 +  fi
 799 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
 800 +$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
 801 +
 802 +  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
 803 +    for ac_func in isnan
 804 +do :
 805 +  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
 806 +if test "x$ac_cv_func_isnan" = x""yes; then :
 807 +  cat >>confdefs.h <<_ACEOF
 808 +#define HAVE_ISNAN 1
 809 +_ACEOF
 810 +
 811 +fi
 812 +done
 813 +
 814 +  else
 815 +
 816 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
 817 +$as_echo_n "checking for _isnan declaration... " >&6; }
 818 +  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
 819 +    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
 820 +  $as_echo_n "(cached) " >&6
 821 +else
 822 +
 823 +
 824 +      ac_ext=cpp
 825 +ac_cpp='$CXXCPP $CPPFLAGS'
 826 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 827 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 828 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 829 +
 830 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 831 +/* end confdefs.h.  */
 832 +#include <math.h>
 833 +		      #ifdef HAVE_IEEEFP_H
 834 +		      #include <ieeefp.h>
 835 +		      #endif
 836 +
 837 +int
 838 +main ()
 839 +{
 840 + _isnan(0);
 841 +  ;
 842 +  return 0;
 843 +}
 844 +_ACEOF
 845 +if ac_fn_cxx_try_compile "$LINENO"; then :
 846 +  glibcxx_cv_func__isnan_use=yes
 847 +else
 848 +  glibcxx_cv_func__isnan_use=no
 849 +fi
 850 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 851 +      ac_ext=c
 852 +ac_cpp='$CPP $CPPFLAGS'
 853 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 854 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 855 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 856 +
 857 +
 858 +fi
 859 +
 860 +  fi
 861 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
 862 +$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
 863 +
 864 +    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
 865 +      for ac_func in _isnan
 866 +do :
 867 +  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
 868 +if test "x$ac_cv_func__isnan" = x""yes; then :
 869 +  cat >>confdefs.h <<_ACEOF
 870 +#define HAVE__ISNAN 1
 871 +_ACEOF
 872 +
 873 +fi
 874 +done
 875 +
 876 +    fi
 877 +  fi
 878 +
 879 +
 880 +
 881 +
 882 +
 883 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
 884 +$as_echo_n "checking for finite declaration... " >&6; }
 885 +  if test x${glibcxx_cv_func_finite_use+set} != xset; then
 886 +    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
 887 +  $as_echo_n "(cached) " >&6
 888 +else
 889 +
 890 +
 891 +      ac_ext=cpp
 892 +ac_cpp='$CXXCPP $CPPFLAGS'
 893 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 894 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 895 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 896 +
 897 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 898 +/* end confdefs.h.  */
 899 +#include <math.h>
 900 +		      #ifdef HAVE_IEEEFP_H
 901 +		      #include <ieeefp.h>
 902 +		      #endif
 903 +
 904 +int
 905 +main ()
 906 +{
 907 + finite(0);
 908 +  ;
 909 +  return 0;
 910 +}
 911 +_ACEOF
 912 +if ac_fn_cxx_try_compile "$LINENO"; then :
 913 +  glibcxx_cv_func_finite_use=yes
 914 +else
 915 +  glibcxx_cv_func_finite_use=no
 916 +fi
 917 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 918 +      ac_ext=c
 919 +ac_cpp='$CPP $CPPFLAGS'
 920 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 921 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 922 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 923 +
 924 +
 925 +fi
 926 +
 927 +  fi
 928 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
 929 +$as_echo "$glibcxx_cv_func_finite_use" >&6; }
 930 +
 931 +  if test x$glibcxx_cv_func_finite_use = x"yes"; then
 932 +    for ac_func in finite
 933 +do :
 934 +  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
 935 +if test "x$ac_cv_func_finite" = x""yes; then :
 936 +  cat >>confdefs.h <<_ACEOF
 937 +#define HAVE_FINITE 1
 938 +_ACEOF
 939 +
 940 +fi
 941 +done
 942 +
 943 +  else
 944 +
 945 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
 946 +$as_echo_n "checking for _finite declaration... " >&6; }
 947 +  if test x${glibcxx_cv_func__finite_use+set} != xset; then
 948 +    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
 949 +  $as_echo_n "(cached) " >&6
 950 +else
 951 +
 952 +
 953 +      ac_ext=cpp
 954 +ac_cpp='$CXXCPP $CPPFLAGS'
 955 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 956 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 957 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 958 +
 959 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 960 +/* end confdefs.h.  */
 961 +#include <math.h>
 962 +		      #ifdef HAVE_IEEEFP_H
 963 +		      #include <ieeefp.h>
 964 +		      #endif
 965 +
 966 +int
 967 +main ()
 968 +{
 969 + _finite(0);
 970 +  ;
 971 +  return 0;
 972 +}
 973 +_ACEOF
 974 +if ac_fn_cxx_try_compile "$LINENO"; then :
 975 +  glibcxx_cv_func__finite_use=yes
 976 +else
 977 +  glibcxx_cv_func__finite_use=no
 978 +fi
 979 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 980 +      ac_ext=c
 981 +ac_cpp='$CPP $CPPFLAGS'
 982 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 983 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 984 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 985 +
 986 +
 987 +fi
 988 +
 989 +  fi
 990 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
 991 +$as_echo "$glibcxx_cv_func__finite_use" >&6; }
 992 +
 993 +    if test x$glibcxx_cv_func__finite_use = x"yes"; then
 994 +      for ac_func in _finite
 995 +do :
 996 +  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
 997 +if test "x$ac_cv_func__finite" = x""yes; then :
 998 +  cat >>confdefs.h <<_ACEOF
 999 +#define HAVE__FINITE 1
1000 +_ACEOF
1001 +
1002 +fi
1003 +done
1004 +
1005 +    fi
1006 +  fi
1007 +
1008 +
1009 +
1010 +
1011 +
1012 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
1013 +$as_echo_n "checking for sincos declaration... " >&6; }
1014 +  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
1015 +    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
1016 +  $as_echo_n "(cached) " >&6
1017 +else
1018 +
1019 +
1020 +      ac_ext=cpp
1021 +ac_cpp='$CXXCPP $CPPFLAGS'
1022 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1023 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1024 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1025 +
1026 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1027 +/* end confdefs.h.  */
1028 +#include <math.h>
1029 +int
1030 +main ()
1031 +{
1032 + sincos(0, 0, 0);
1033 +  ;
1034 +  return 0;
1035 +}
1036 +_ACEOF
1037 +if ac_fn_cxx_try_compile "$LINENO"; then :
1038 +  glibcxx_cv_func_sincos_use=yes
1039 +else
1040 +  glibcxx_cv_func_sincos_use=no
1041 +fi
1042 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1043 +      ac_ext=c
1044 +ac_cpp='$CPP $CPPFLAGS'
1045 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1046 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1047 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1048 +
1049 +
1050 +fi
1051 +
1052 +  fi
1053 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
1054 +$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
1055 +
1056 +  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
1057 +    for ac_func in sincos
1058 +do :
1059 +  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
1060 +if test "x$ac_cv_func_sincos" = x""yes; then :
1061 +  cat >>confdefs.h <<_ACEOF
1062 +#define HAVE_SINCOS 1
1063 +_ACEOF
1064 +
1065 +fi
1066 +done
1067 +
1068 +  else
1069 +
1070 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
1071 +$as_echo_n "checking for _sincos declaration... " >&6; }
1072 +  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
1073 +    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
1074 +  $as_echo_n "(cached) " >&6
1075 +else
1076 +
1077 +
1078 +      ac_ext=cpp
1079 +ac_cpp='$CXXCPP $CPPFLAGS'
1080 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1081 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1082 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1083 +
1084 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1085 +/* end confdefs.h.  */
1086 +#include <math.h>
1087 +int
1088 +main ()
1089 +{
1090 + _sincos(0, 0, 0);
1091 +  ;
1092 +  return 0;
1093 +}
1094 +_ACEOF
1095 +if ac_fn_cxx_try_compile "$LINENO"; then :
1096 +  glibcxx_cv_func__sincos_use=yes
1097 +else
1098 +  glibcxx_cv_func__sincos_use=no
1099 +fi
1100 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1101 +      ac_ext=c
1102 +ac_cpp='$CPP $CPPFLAGS'
1103 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1104 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1105 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1106 +
1107 +
1108 +fi
1109 +
1110 +  fi
1111 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
1112 +$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
1113 +
1114 +    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
1115 +      for ac_func in _sincos
1116 +do :
1117 +  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
1118 +if test "x$ac_cv_func__sincos" = x""yes; then :
1119 +  cat >>confdefs.h <<_ACEOF
1120 +#define HAVE__SINCOS 1
1121 +_ACEOF
1122 +
1123 +fi
1124 +done
1125 +
1126 +    fi
1127 +  fi
1128 +
1129 +
1130 +
1131 +
1132 +
1133 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
1134 +$as_echo_n "checking for fpclass declaration... " >&6; }
1135 +  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
1136 +    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
1137 +  $as_echo_n "(cached) " >&6
1138 +else
1139 +
1140 +
1141 +      ac_ext=cpp
1142 +ac_cpp='$CXXCPP $CPPFLAGS'
1143 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1144 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1145 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1146 +
1147 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1148 +/* end confdefs.h.  */
1149 +#include <math.h>
1150 +		      #ifdef HAVE_IEEEFP_H
1151 +		      #include <ieeefp.h>
1152 +		      #endif
1153 +
1154 +int
1155 +main ()
1156 +{
1157 + fpclass(0);
1158 +  ;
1159 +  return 0;
1160 +}
1161 +_ACEOF
1162 +if ac_fn_cxx_try_compile "$LINENO"; then :
1163 +  glibcxx_cv_func_fpclass_use=yes
1164 +else
1165 +  glibcxx_cv_func_fpclass_use=no
1166 +fi
1167 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1168 +      ac_ext=c
1169 +ac_cpp='$CPP $CPPFLAGS'
1170 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1171 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1172 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1173 +
1174 +
1175 +fi
1176 +
1177 +  fi
1178 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
1179 +$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
1180 +
1181 +  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
1182 +    for ac_func in fpclass
1183 +do :
1184 +  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
1185 +if test "x$ac_cv_func_fpclass" = x""yes; then :
1186 +  cat >>confdefs.h <<_ACEOF
1187 +#define HAVE_FPCLASS 1
1188 +_ACEOF
1189 +
1190 +fi
1191 +done
1192 +
1193 +  else
1194 +
1195 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
1196 +$as_echo_n "checking for _fpclass declaration... " >&6; }
1197 +  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
1198 +    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
1199 +  $as_echo_n "(cached) " >&6
1200 +else
1201 +
1202 +
1203 +      ac_ext=cpp
1204 +ac_cpp='$CXXCPP $CPPFLAGS'
1205 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1206 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1207 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1208 +
1209 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1210 +/* end confdefs.h.  */
1211 +#include <math.h>
1212 +		      #ifdef HAVE_IEEEFP_H
1213 +		      #include <ieeefp.h>
1214 +		      #endif
1215 +
1216 +int
1217 +main ()
1218 +{
1219 + _fpclass(0);
1220 +  ;
1221 +  return 0;
1222 +}
1223 +_ACEOF
1224 +if ac_fn_cxx_try_compile "$LINENO"; then :
1225 +  glibcxx_cv_func__fpclass_use=yes
1226 +else
1227 +  glibcxx_cv_func__fpclass_use=no
1228 +fi
1229 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1230 +      ac_ext=c
1231 +ac_cpp='$CPP $CPPFLAGS'
1232 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1233 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1234 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1235 +
1236 +
1237 +fi
1238 +
1239 +  fi
1240 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
1241 +$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
1242 +
1243 +    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
1244 +      for ac_func in _fpclass
1245 +do :
1246 +  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
1247 +if test "x$ac_cv_func__fpclass" = x""yes; then :
1248 +  cat >>confdefs.h <<_ACEOF
1249 +#define HAVE__FPCLASS 1
1250 +_ACEOF
1251 +
1252 +fi
1253 +done
1254 +
1255 +    fi
1256 +  fi
1257 +
1258 +
1259 +
1260 +
1261 +
1262 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
1263 +$as_echo_n "checking for qfpclass declaration... " >&6; }
1264 +  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
1265 +    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
1266 +  $as_echo_n "(cached) " >&6
1267 +else
1268 +
1269 +
1270 +      ac_ext=cpp
1271 +ac_cpp='$CXXCPP $CPPFLAGS'
1272 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1273 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1274 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1275 +
1276 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1277 +/* end confdefs.h.  */
1278 +#include <math.h>
1279 +		      #ifdef HAVE_IEEEFP_H
1280 +		      #include <ieeefp.h>
1281 +		      #endif
1282 +
1283 +int
1284 +main ()
1285 +{
1286 + qfpclass(0);
1287 +  ;
1288 +  return 0;
1289 +}
1290 +_ACEOF
1291 +if ac_fn_cxx_try_compile "$LINENO"; then :
1292 +  glibcxx_cv_func_qfpclass_use=yes
1293 +else
1294 +  glibcxx_cv_func_qfpclass_use=no
1295 +fi
1296 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1297 +      ac_ext=c
1298 +ac_cpp='$CPP $CPPFLAGS'
1299 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1300 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1301 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1302 +
1303 +
1304 +fi
1305 +
1306 +  fi
1307 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
1308 +$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
1309 +
1310 +  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
1311 +    for ac_func in qfpclass
1312 +do :
1313 +  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
1314 +if test "x$ac_cv_func_qfpclass" = x""yes; then :
1315 +  cat >>confdefs.h <<_ACEOF
1316 +#define HAVE_QFPCLASS 1
1317 +_ACEOF
1318 +
1319 +fi
1320 +done
1321 +
1322 +  else
1323 +
1324 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
1325 +$as_echo_n "checking for _qfpclass declaration... " >&6; }
1326 +  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
1327 +    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
1328 +  $as_echo_n "(cached) " >&6
1329 +else
1330 +
1331 +
1332 +      ac_ext=cpp
1333 +ac_cpp='$CXXCPP $CPPFLAGS'
1334 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1335 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1336 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1337 +
1338 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1339 +/* end confdefs.h.  */
1340 +#include <math.h>
1341 +		      #ifdef HAVE_IEEEFP_H
1342 +		      #include <ieeefp.h>
1343 +		      #endif
1344 +
1345 +int
1346 +main ()
1347 +{
1348 + _qfpclass(0);
1349 +  ;
1350 +  return 0;
1351 +}
1352 +_ACEOF
1353 +if ac_fn_cxx_try_compile "$LINENO"; then :
1354 +  glibcxx_cv_func__qfpclass_use=yes
1355 +else
1356 +  glibcxx_cv_func__qfpclass_use=no
1357 +fi
1358 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1359 +      ac_ext=c
1360 +ac_cpp='$CPP $CPPFLAGS'
1361 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1362 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1363 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1364 +
1365 +
1366 +fi
1367 +
1368 +  fi
1369 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
1370 +$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
1371 +
1372 +    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
1373 +      for ac_func in _qfpclass
1374 +do :
1375 +  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
1376 +if test "x$ac_cv_func__qfpclass" = x""yes; then :
1377 +  cat >>confdefs.h <<_ACEOF
1378 +#define HAVE__QFPCLASS 1
1379 +_ACEOF
1380 +
1381 +fi
1382 +done
1383 +
1384 +    fi
1385 +  fi
1386 +
1387 +
1388 +
1389 +
1390 +
1391 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
1392 +$as_echo_n "checking for hypot declaration... " >&6; }
1393 +  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
1394 +    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
1395 +  $as_echo_n "(cached) " >&6
1396 +else
1397 +
1398 +
1399 +      ac_ext=cpp
1400 +ac_cpp='$CXXCPP $CPPFLAGS'
1401 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1402 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1403 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1404 +
1405 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1406 +/* end confdefs.h.  */
1407 +#include <math.h>
1408 +int
1409 +main ()
1410 +{
1411 + hypot(0, 0);
1412 +  ;
1413 +  return 0;
1414 +}
1415 +_ACEOF
1416 +if ac_fn_cxx_try_compile "$LINENO"; then :
1417 +  glibcxx_cv_func_hypot_use=yes
1418 +else
1419 +  glibcxx_cv_func_hypot_use=no
1420 +fi
1421 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1422 +      ac_ext=c
1423 +ac_cpp='$CPP $CPPFLAGS'
1424 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1425 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1426 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1427 +
1428 +
1429 +fi
1430 +
1431 +  fi
1432 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
1433 +$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
1434 +
1435 +  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
1436 +    for ac_func in hypot
1437 +do :
1438 +  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
1439 +if test "x$ac_cv_func_hypot" = x""yes; then :
1440 +  cat >>confdefs.h <<_ACEOF
1441 +#define HAVE_HYPOT 1
1442 +_ACEOF
1443 +
1444 +fi
1445 +done
1446 +
1447 +  else
1448 +
1449 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
1450 +$as_echo_n "checking for _hypot declaration... " >&6; }
1451 +  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
1452 +    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
1453 +  $as_echo_n "(cached) " >&6
1454 +else
1455 +
1456 +
1457 +      ac_ext=cpp
1458 +ac_cpp='$CXXCPP $CPPFLAGS'
1459 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1460 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1461 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1462 +
1463 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1464 +/* end confdefs.h.  */
1465 +#include <math.h>
1466 +int
1467 +main ()
1468 +{
1469 + _hypot(0, 0);
1470 +  ;
1471 +  return 0;
1472 +}
1473 +_ACEOF
1474 +if ac_fn_cxx_try_compile "$LINENO"; then :
1475 +  glibcxx_cv_func__hypot_use=yes
1476 +else
1477 +  glibcxx_cv_func__hypot_use=no
1478 +fi
1479 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1480 +      ac_ext=c
1481 +ac_cpp='$CPP $CPPFLAGS'
1482 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1483 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1484 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1485 +
1486 +
1487 +fi
1488 +
1489 +  fi
1490 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
1491 +$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
1492 +
1493 +    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
1494 +      for ac_func in _hypot
1495 +do :
1496 +  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
1497 +if test "x$ac_cv_func__hypot" = x""yes; then :
1498 +  cat >>confdefs.h <<_ACEOF
1499 +#define HAVE__HYPOT 1
1500 +_ACEOF
1501 +
1502 +fi
1503 +done
1504 +
1505 +    fi
1506 +  fi
1507 +
1508 +
1509 +
1510 +
1511 +
1512 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
1513 +$as_echo_n "checking for float trig functions... " >&6; }
1514 +  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
1515 +  $as_echo_n "(cached) " >&6
1516 +else
1517 +
1518 +
1519 +    ac_ext=cpp
1520 +ac_cpp='$CXXCPP $CPPFLAGS'
1521 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1522 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1523 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1524 +
1525 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1526 +/* end confdefs.h.  */
1527 +#include <math.h>
1528 +int
1529 +main ()
1530 +{
1531 +acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
1532 +  ;
1533 +  return 0;
1534 +}
1535 +_ACEOF
1536 +if ac_fn_cxx_try_compile "$LINENO"; then :
1537 +  glibcxx_cv_func_float_trig_use=yes
1538 +else
1539 +  glibcxx_cv_func_float_trig_use=no
1540 +fi
1541 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1542 +    ac_ext=c
1543 +ac_cpp='$CPP $CPPFLAGS'
1544 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1545 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1546 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1547 +
1548 +fi
1549 +
1550 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
1551 +$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
1552 +  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
1553 +    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
1554 +do :
1555 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1556 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1557 +eval as_val=\$$as_ac_var
1558 +   if test "x$as_val" = x""yes; then :
1559 +  cat >>confdefs.h <<_ACEOF
1560 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1561 +_ACEOF
1562 +
1563 +fi
1564 +done
1565 +
1566 +  else
1567 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
1568 +$as_echo_n "checking for _float trig functions... " >&6; }
1569 +    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
1570 +  $as_echo_n "(cached) " >&6
1571 +else
1572 +
1573 +
1574 +      ac_ext=cpp
1575 +ac_cpp='$CXXCPP $CPPFLAGS'
1576 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1577 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1578 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1579 +
1580 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1581 +/* end confdefs.h.  */
1582 +#include <math.h>
1583 +int
1584 +main ()
1585 +{
1586 +_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
1587 +  ;
1588 +  return 0;
1589 +}
1590 +_ACEOF
1591 +if ac_fn_cxx_try_compile "$LINENO"; then :
1592 +  glibcxx_cv_func__float_trig_use=yes
1593 +else
1594 +  glibcxx_cv_func__float_trig_use=no
1595 +fi
1596 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1597 +      ac_ext=c
1598 +ac_cpp='$CPP $CPPFLAGS'
1599 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1600 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1601 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1602 +
1603 +fi
1604 +
1605 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
1606 +$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
1607 +    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
1608 +      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
1609 +do :
1610 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1611 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1612 +eval as_val=\$$as_ac_var
1613 +   if test "x$as_val" = x""yes; then :
1614 +  cat >>confdefs.h <<_ACEOF
1615 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1616 +_ACEOF
1617 +
1618 +fi
1619 +done
1620 +
1621 +    fi
1622 +  fi
1623 +
1624 +
1625 +
1626 +
1627 +
1628 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
1629 +$as_echo_n "checking for float round functions... " >&6; }
1630 +  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
1631 +  $as_echo_n "(cached) " >&6
1632 +else
1633 +
1634 +
1635 +    ac_ext=cpp
1636 +ac_cpp='$CXXCPP $CPPFLAGS'
1637 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1638 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1639 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1640 +
1641 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1642 +/* end confdefs.h.  */
1643 +#include <math.h>
1644 +int
1645 +main ()
1646 +{
1647 +ceilf (0); floorf (0);
1648 +  ;
1649 +  return 0;
1650 +}
1651 +_ACEOF
1652 +if ac_fn_cxx_try_compile "$LINENO"; then :
1653 +  glibcxx_cv_func_float_round_use=yes
1654 +else
1655 +  glibcxx_cv_func_float_round_use=no
1656 +fi
1657 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1658 +    ac_ext=c
1659 +ac_cpp='$CPP $CPPFLAGS'
1660 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1663 +
1664 +fi
1665 +
1666 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
1667 +$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
1668 +  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
1669 +    for ac_func in ceilf floorf
1670 +do :
1671 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1672 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1673 +eval as_val=\$$as_ac_var
1674 +   if test "x$as_val" = x""yes; then :
1675 +  cat >>confdefs.h <<_ACEOF
1676 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1677 +_ACEOF
1678 +
1679 +fi
1680 +done
1681 +
1682 +  else
1683 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
1684 +$as_echo_n "checking for _float round functions... " >&6; }
1685 +    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
1686 +  $as_echo_n "(cached) " >&6
1687 +else
1688 +
1689 +
1690 +      ac_ext=cpp
1691 +ac_cpp='$CXXCPP $CPPFLAGS'
1692 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1693 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1694 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1695 +
1696 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697 +/* end confdefs.h.  */
1698 +#include <math.h>
1699 +int
1700 +main ()
1701 +{
1702 +_ceilf (0); _floorf (0);
1703 +  ;
1704 +  return 0;
1705 +}
1706 +_ACEOF
1707 +if ac_fn_cxx_try_compile "$LINENO"; then :
1708 +  glibcxx_cv_func__float_round_use=yes
1709 +else
1710 +  glibcxx_cv_func__float_round_use=no
1711 +fi
1712 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1713 +      ac_ext=c
1714 +ac_cpp='$CPP $CPPFLAGS'
1715 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1716 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1717 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1718 +
1719 +fi
1720 +
1721 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
1722 +$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
1723 +    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
1724 +      for ac_func in _ceilf _floorf
1725 +do :
1726 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1727 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1728 +eval as_val=\$$as_ac_var
1729 +   if test "x$as_val" = x""yes; then :
1730 +  cat >>confdefs.h <<_ACEOF
1731 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1732 +_ACEOF
1733 +
1734 +fi
1735 +done
1736 +
1737 +    fi
1738 +  fi
1739 +
1740 +
1741 +
1742 +
1743 +
1744 +
1745 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
1746 +$as_echo_n "checking for expf declaration... " >&6; }
1747 +  if test x${glibcxx_cv_func_expf_use+set} != xset; then
1748 +    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
1749 +  $as_echo_n "(cached) " >&6
1750 +else
1751 +
1752 +
1753 +      ac_ext=cpp
1754 +ac_cpp='$CXXCPP $CPPFLAGS'
1755 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1756 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1757 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1758 +
1759 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1760 +/* end confdefs.h.  */
1761 +#include <math.h>
1762 +		      #ifdef HAVE_IEEEFP_H
1763 +		      #include <ieeefp.h>
1764 +		      #endif
1765 +
1766 +int
1767 +main ()
1768 +{
1769 + expf(0);
1770 +  ;
1771 +  return 0;
1772 +}
1773 +_ACEOF
1774 +if ac_fn_cxx_try_compile "$LINENO"; then :
1775 +  glibcxx_cv_func_expf_use=yes
1776 +else
1777 +  glibcxx_cv_func_expf_use=no
1778 +fi
1779 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1780 +      ac_ext=c
1781 +ac_cpp='$CPP $CPPFLAGS'
1782 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1783 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1784 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1785 +
1786 +
1787 +fi
1788 +
1789 +  fi
1790 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
1791 +$as_echo "$glibcxx_cv_func_expf_use" >&6; }
1792 +
1793 +  if test x$glibcxx_cv_func_expf_use = x"yes"; then
1794 +    for ac_func in expf
1795 +do :
1796 +  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
1797 +if test "x$ac_cv_func_expf" = x""yes; then :
1798 +  cat >>confdefs.h <<_ACEOF
1799 +#define HAVE_EXPF 1
1800 +_ACEOF
1801 +
1802 +fi
1803 +done
1804 +
1805 +  else
1806 +
1807 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
1808 +$as_echo_n "checking for _expf declaration... " >&6; }
1809 +  if test x${glibcxx_cv_func__expf_use+set} != xset; then
1810 +    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
1811 +  $as_echo_n "(cached) " >&6
1812 +else
1813 +
1814 +
1815 +      ac_ext=cpp
1816 +ac_cpp='$CXXCPP $CPPFLAGS'
1817 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1818 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1819 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1820 +
1821 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822 +/* end confdefs.h.  */
1823 +#include <math.h>
1824 +		      #ifdef HAVE_IEEEFP_H
1825 +		      #include <ieeefp.h>
1826 +		      #endif
1827 +
1828 +int
1829 +main ()
1830 +{
1831 + _expf(0);
1832 +  ;
1833 +  return 0;
1834 +}
1835 +_ACEOF
1836 +if ac_fn_cxx_try_compile "$LINENO"; then :
1837 +  glibcxx_cv_func__expf_use=yes
1838 +else
1839 +  glibcxx_cv_func__expf_use=no
1840 +fi
1841 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1842 +      ac_ext=c
1843 +ac_cpp='$CPP $CPPFLAGS'
1844 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1845 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1846 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1847 +
1848 +
1849 +fi
1850 +
1851 +  fi
1852 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
1853 +$as_echo "$glibcxx_cv_func__expf_use" >&6; }
1854 +
1855 +    if test x$glibcxx_cv_func__expf_use = x"yes"; then
1856 +      for ac_func in _expf
1857 +do :
1858 +  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
1859 +if test "x$ac_cv_func__expf" = x""yes; then :
1860 +  cat >>confdefs.h <<_ACEOF
1861 +#define HAVE__EXPF 1
1862 +_ACEOF
1863 +
1864 +fi
1865 +done
1866 +
1867 +    fi
1868 +  fi
1869 +
1870 +
1871 +
1872 +
1873 +
1874 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
1875 +$as_echo_n "checking for isnanf declaration... " >&6; }
1876 +  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
1877 +    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
1878 +  $as_echo_n "(cached) " >&6
1879 +else
1880 +
1881 +
1882 +      ac_ext=cpp
1883 +ac_cpp='$CXXCPP $CPPFLAGS'
1884 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1885 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1886 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1887 +
1888 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1889 +/* end confdefs.h.  */
1890 +#include <math.h>
1891 +		      #ifdef HAVE_IEEEFP_H
1892 +		      #include <ieeefp.h>
1893 +		      #endif
1894 +
1895 +int
1896 +main ()
1897 +{
1898 + isnanf(0);
1899 +  ;
1900 +  return 0;
1901 +}
1902 +_ACEOF
1903 +if ac_fn_cxx_try_compile "$LINENO"; then :
1904 +  glibcxx_cv_func_isnanf_use=yes
1905 +else
1906 +  glibcxx_cv_func_isnanf_use=no
1907 +fi
1908 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1909 +      ac_ext=c
1910 +ac_cpp='$CPP $CPPFLAGS'
1911 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1912 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1913 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1914 +
1915 +
1916 +fi
1917 +
1918 +  fi
1919 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
1920 +$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
1921 +
1922 +  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
1923 +    for ac_func in isnanf
1924 +do :
1925 +  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
1926 +if test "x$ac_cv_func_isnanf" = x""yes; then :
1927 +  cat >>confdefs.h <<_ACEOF
1928 +#define HAVE_ISNANF 1
1929 +_ACEOF
1930 +
1931 +fi
1932 +done
1933 +
1934 +  else
1935 +
1936 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
1937 +$as_echo_n "checking for _isnanf declaration... " >&6; }
1938 +  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
1939 +    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
1940 +  $as_echo_n "(cached) " >&6
1941 +else
1942 +
1943 +
1944 +      ac_ext=cpp
1945 +ac_cpp='$CXXCPP $CPPFLAGS'
1946 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1947 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1948 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1949 +
1950 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1951 +/* end confdefs.h.  */
1952 +#include <math.h>
1953 +		      #ifdef HAVE_IEEEFP_H
1954 +		      #include <ieeefp.h>
1955 +		      #endif
1956 +
1957 +int
1958 +main ()
1959 +{
1960 + _isnanf(0);
1961 +  ;
1962 +  return 0;
1963 +}
1964 +_ACEOF
1965 +if ac_fn_cxx_try_compile "$LINENO"; then :
1966 +  glibcxx_cv_func__isnanf_use=yes
1967 +else
1968 +  glibcxx_cv_func__isnanf_use=no
1969 +fi
1970 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1971 +      ac_ext=c
1972 +ac_cpp='$CPP $CPPFLAGS'
1973 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1974 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1975 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1976 +
1977 +
1978 +fi
1979 +
1980 +  fi
1981 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
1982 +$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
1983 +
1984 +    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
1985 +      for ac_func in _isnanf
1986 +do :
1987 +  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
1988 +if test "x$ac_cv_func__isnanf" = x""yes; then :
1989 +  cat >>confdefs.h <<_ACEOF
1990 +#define HAVE__ISNANF 1
1991 +_ACEOF
1992 +
1993 +fi
1994 +done
1995 +
1996 +    fi
1997 +  fi
1998 +
1999 +
2000 +
2001 +
2002 +
2003 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
2004 +$as_echo_n "checking for isinff declaration... " >&6; }
2005 +  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
2006 +    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
2007 +  $as_echo_n "(cached) " >&6
2008 +else
2009 +
2010 +
2011 +      ac_ext=cpp
2012 +ac_cpp='$CXXCPP $CPPFLAGS'
2013 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2014 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2015 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2016 +
2017 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2018 +/* end confdefs.h.  */
2019 +#include <math.h>
2020 +		      #ifdef HAVE_IEEEFP_H
2021 +		      #include <ieeefp.h>
2022 +		      #endif
2023 +
2024 +int
2025 +main ()
2026 +{
2027 + isinff(0);
2028 +  ;
2029 +  return 0;
2030 +}
2031 +_ACEOF
2032 +if ac_fn_cxx_try_compile "$LINENO"; then :
2033 +  glibcxx_cv_func_isinff_use=yes
2034 +else
2035 +  glibcxx_cv_func_isinff_use=no
2036 +fi
2037 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2038 +      ac_ext=c
2039 +ac_cpp='$CPP $CPPFLAGS'
2040 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2041 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2042 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2043 +
2044 +
2045 +fi
2046 +
2047 +  fi
2048 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
2049 +$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
2050 +
2051 +  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
2052 +    for ac_func in isinff
2053 +do :
2054 +  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
2055 +if test "x$ac_cv_func_isinff" = x""yes; then :
2056 +  cat >>confdefs.h <<_ACEOF
2057 +#define HAVE_ISINFF 1
2058 +_ACEOF
2059 +
2060 +fi
2061 +done
2062 +
2063 +  else
2064 +
2065 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
2066 +$as_echo_n "checking for _isinff declaration... " >&6; }
2067 +  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
2068 +    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
2069 +  $as_echo_n "(cached) " >&6
2070 +else
2071 +
2072 +
2073 +      ac_ext=cpp
2074 +ac_cpp='$CXXCPP $CPPFLAGS'
2075 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2076 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2077 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2078 +
2079 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2080 +/* end confdefs.h.  */
2081 +#include <math.h>
2082 +		      #ifdef HAVE_IEEEFP_H
2083 +		      #include <ieeefp.h>
2084 +		      #endif
2085 +
2086 +int
2087 +main ()
2088 +{
2089 + _isinff(0);
2090 +  ;
2091 +  return 0;
2092 +}
2093 +_ACEOF
2094 +if ac_fn_cxx_try_compile "$LINENO"; then :
2095 +  glibcxx_cv_func__isinff_use=yes
2096 +else
2097 +  glibcxx_cv_func__isinff_use=no
2098 +fi
2099 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2100 +      ac_ext=c
2101 +ac_cpp='$CPP $CPPFLAGS'
2102 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2103 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2104 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2105 +
2106 +
2107 +fi
2108 +
2109 +  fi
2110 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
2111 +$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
2112 +
2113 +    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
2114 +      for ac_func in _isinff
2115 +do :
2116 +  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
2117 +if test "x$ac_cv_func__isinff" = x""yes; then :
2118 +  cat >>confdefs.h <<_ACEOF
2119 +#define HAVE__ISINFF 1
2120 +_ACEOF
2121 +
2122 +fi
2123 +done
2124 +
2125 +    fi
2126 +  fi
2127 +
2128 +
2129 +
2130 +
2131 +
2132 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
2133 +$as_echo_n "checking for atan2f declaration... " >&6; }
2134 +  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
2135 +    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
2136 +  $as_echo_n "(cached) " >&6
2137 +else
2138 +
2139 +
2140 +      ac_ext=cpp
2141 +ac_cpp='$CXXCPP $CPPFLAGS'
2142 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2143 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2144 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2145 +
2146 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2147 +/* end confdefs.h.  */
2148 +#include <math.h>
2149 +int
2150 +main ()
2151 +{
2152 + atan2f(0, 0);
2153 +  ;
2154 +  return 0;
2155 +}
2156 +_ACEOF
2157 +if ac_fn_cxx_try_compile "$LINENO"; then :
2158 +  glibcxx_cv_func_atan2f_use=yes
2159 +else
2160 +  glibcxx_cv_func_atan2f_use=no
2161 +fi
2162 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2163 +      ac_ext=c
2164 +ac_cpp='$CPP $CPPFLAGS'
2165 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2166 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2167 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2168 +
2169 +
2170 +fi
2171 +
2172 +  fi
2173 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
2174 +$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
2175 +
2176 +  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
2177 +    for ac_func in atan2f
2178 +do :
2179 +  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
2180 +if test "x$ac_cv_func_atan2f" = x""yes; then :
2181 +  cat >>confdefs.h <<_ACEOF
2182 +#define HAVE_ATAN2F 1
2183 +_ACEOF
2184 +
2185 +fi
2186 +done
2187 +
2188 +  else
2189 +
2190 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
2191 +$as_echo_n "checking for _atan2f declaration... " >&6; }
2192 +  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
2193 +    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
2194 +  $as_echo_n "(cached) " >&6
2195 +else
2196 +
2197 +
2198 +      ac_ext=cpp
2199 +ac_cpp='$CXXCPP $CPPFLAGS'
2200 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2201 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2202 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2203 +
2204 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 +/* end confdefs.h.  */
2206 +#include <math.h>
2207 +int
2208 +main ()
2209 +{
2210 + _atan2f(0, 0);
2211 +  ;
2212 +  return 0;
2213 +}
2214 +_ACEOF
2215 +if ac_fn_cxx_try_compile "$LINENO"; then :
2216 +  glibcxx_cv_func__atan2f_use=yes
2217 +else
2218 +  glibcxx_cv_func__atan2f_use=no
2219 +fi
2220 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2221 +      ac_ext=c
2222 +ac_cpp='$CPP $CPPFLAGS'
2223 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2224 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2225 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2226 +
2227 +
2228 +fi
2229 +
2230 +  fi
2231 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
2232 +$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
2233 +
2234 +    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
2235 +      for ac_func in _atan2f
2236 +do :
2237 +  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
2238 +if test "x$ac_cv_func__atan2f" = x""yes; then :
2239 +  cat >>confdefs.h <<_ACEOF
2240 +#define HAVE__ATAN2F 1
2241 +_ACEOF
2242 +
2243 +fi
2244 +done
2245 +
2246 +    fi
2247 +  fi
2248 +
2249 +
2250 +
2251 +
2252 +
2253 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
2254 +$as_echo_n "checking for fabsf declaration... " >&6; }
2255 +  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
2256 +    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
2257 +  $as_echo_n "(cached) " >&6
2258 +else
2259 +
2260 +
2261 +      ac_ext=cpp
2262 +ac_cpp='$CXXCPP $CPPFLAGS'
2263 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2264 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2265 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2266 +
2267 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 +/* end confdefs.h.  */
2269 +#include <math.h>
2270 +		      #ifdef HAVE_IEEEFP_H
2271 +		      #include <ieeefp.h>
2272 +		      #endif
2273 +
2274 +int
2275 +main ()
2276 +{
2277 + fabsf(0);
2278 +  ;
2279 +  return 0;
2280 +}
2281 +_ACEOF
2282 +if ac_fn_cxx_try_compile "$LINENO"; then :
2283 +  glibcxx_cv_func_fabsf_use=yes
2284 +else
2285 +  glibcxx_cv_func_fabsf_use=no
2286 +fi
2287 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2288 +      ac_ext=c
2289 +ac_cpp='$CPP $CPPFLAGS'
2290 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2291 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2292 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2293 +
2294 +
2295 +fi
2296 +
2297 +  fi
2298 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
2299 +$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
2300 +
2301 +  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
2302 +    for ac_func in fabsf
2303 +do :
2304 +  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
2305 +if test "x$ac_cv_func_fabsf" = x""yes; then :
2306 +  cat >>confdefs.h <<_ACEOF
2307 +#define HAVE_FABSF 1
2308 +_ACEOF
2309 +
2310 +fi
2311 +done
2312 +
2313 +  else
2314 +
2315 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
2316 +$as_echo_n "checking for _fabsf declaration... " >&6; }
2317 +  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
2318 +    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
2319 +  $as_echo_n "(cached) " >&6
2320 +else
2321 +
2322 +
2323 +      ac_ext=cpp
2324 +ac_cpp='$CXXCPP $CPPFLAGS'
2325 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2326 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2327 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2328 +
2329 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2330 +/* end confdefs.h.  */
2331 +#include <math.h>
2332 +		      #ifdef HAVE_IEEEFP_H
2333 +		      #include <ieeefp.h>
2334 +		      #endif
2335 +
2336 +int
2337 +main ()
2338 +{
2339 + _fabsf(0);
2340 +  ;
2341 +  return 0;
2342 +}
2343 +_ACEOF
2344 +if ac_fn_cxx_try_compile "$LINENO"; then :
2345 +  glibcxx_cv_func__fabsf_use=yes
2346 +else
2347 +  glibcxx_cv_func__fabsf_use=no
2348 +fi
2349 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2350 +      ac_ext=c
2351 +ac_cpp='$CPP $CPPFLAGS'
2352 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2353 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2354 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2355 +
2356 +
2357 +fi
2358 +
2359 +  fi
2360 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
2361 +$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
2362 +
2363 +    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
2364 +      for ac_func in _fabsf
2365 +do :
2366 +  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
2367 +if test "x$ac_cv_func__fabsf" = x""yes; then :
2368 +  cat >>confdefs.h <<_ACEOF
2369 +#define HAVE__FABSF 1
2370 +_ACEOF
2371 +
2372 +fi
2373 +done
2374 +
2375 +    fi
2376 +  fi
2377 +
2378 +
2379 +
2380 +
2381 +
2382 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
2383 +$as_echo_n "checking for fmodf declaration... " >&6; }
2384 +  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
2385 +    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
2386 +  $as_echo_n "(cached) " >&6
2387 +else
2388 +
2389 +
2390 +      ac_ext=cpp
2391 +ac_cpp='$CXXCPP $CPPFLAGS'
2392 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2393 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2394 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2395 +
2396 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2397 +/* end confdefs.h.  */
2398 +#include <math.h>
2399 +int
2400 +main ()
2401 +{
2402 + fmodf(0, 0);
2403 +  ;
2404 +  return 0;
2405 +}
2406 +_ACEOF
2407 +if ac_fn_cxx_try_compile "$LINENO"; then :
2408 +  glibcxx_cv_func_fmodf_use=yes
2409 +else
2410 +  glibcxx_cv_func_fmodf_use=no
2411 +fi
2412 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2413 +      ac_ext=c
2414 +ac_cpp='$CPP $CPPFLAGS'
2415 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2416 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2417 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2418 +
2419 +
2420 +fi
2421 +
2422 +  fi
2423 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
2424 +$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
2425 +
2426 +  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
2427 +    for ac_func in fmodf
2428 +do :
2429 +  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
2430 +if test "x$ac_cv_func_fmodf" = x""yes; then :
2431 +  cat >>confdefs.h <<_ACEOF
2432 +#define HAVE_FMODF 1
2433 +_ACEOF
2434 +
2435 +fi
2436 +done
2437 +
2438 +  else
2439 +
2440 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
2441 +$as_echo_n "checking for _fmodf declaration... " >&6; }
2442 +  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
2443 +    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
2444 +  $as_echo_n "(cached) " >&6
2445 +else
2446 +
2447 +
2448 +      ac_ext=cpp
2449 +ac_cpp='$CXXCPP $CPPFLAGS'
2450 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2451 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2452 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2453 +
2454 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 +/* end confdefs.h.  */
2456 +#include <math.h>
2457 +int
2458 +main ()
2459 +{
2460 + _fmodf(0, 0);
2461 +  ;
2462 +  return 0;
2463 +}
2464 +_ACEOF
2465 +if ac_fn_cxx_try_compile "$LINENO"; then :
2466 +  glibcxx_cv_func__fmodf_use=yes
2467 +else
2468 +  glibcxx_cv_func__fmodf_use=no
2469 +fi
2470 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2471 +      ac_ext=c
2472 +ac_cpp='$CPP $CPPFLAGS'
2473 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2474 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2475 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2476 +
2477 +
2478 +fi
2479 +
2480 +  fi
2481 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
2482 +$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
2483 +
2484 +    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
2485 +      for ac_func in _fmodf
2486 +do :
2487 +  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
2488 +if test "x$ac_cv_func__fmodf" = x""yes; then :
2489 +  cat >>confdefs.h <<_ACEOF
2490 +#define HAVE__FMODF 1
2491 +_ACEOF
2492 +
2493 +fi
2494 +done
2495 +
2496 +    fi
2497 +  fi
2498 +
2499 +
2500 +
2501 +
2502 +
2503 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
2504 +$as_echo_n "checking for frexpf declaration... " >&6; }
2505 +  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
2506 +    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
2507 +  $as_echo_n "(cached) " >&6
2508 +else
2509 +
2510 +
2511 +      ac_ext=cpp
2512 +ac_cpp='$CXXCPP $CPPFLAGS'
2513 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2514 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2515 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2516 +
2517 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2518 +/* end confdefs.h.  */
2519 +#include <math.h>
2520 +int
2521 +main ()
2522 +{
2523 + frexpf(0, 0);
2524 +  ;
2525 +  return 0;
2526 +}
2527 +_ACEOF
2528 +if ac_fn_cxx_try_compile "$LINENO"; then :
2529 +  glibcxx_cv_func_frexpf_use=yes
2530 +else
2531 +  glibcxx_cv_func_frexpf_use=no
2532 +fi
2533 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2534 +      ac_ext=c
2535 +ac_cpp='$CPP $CPPFLAGS'
2536 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2537 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2538 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2539 +
2540 +
2541 +fi
2542 +
2543 +  fi
2544 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
2545 +$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
2546 +
2547 +  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
2548 +    for ac_func in frexpf
2549 +do :
2550 +  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
2551 +if test "x$ac_cv_func_frexpf" = x""yes; then :
2552 +  cat >>confdefs.h <<_ACEOF
2553 +#define HAVE_FREXPF 1
2554 +_ACEOF
2555 +
2556 +fi
2557 +done
2558 +
2559 +  else
2560 +
2561 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
2562 +$as_echo_n "checking for _frexpf declaration... " >&6; }
2563 +  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
2564 +    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
2565 +  $as_echo_n "(cached) " >&6
2566 +else
2567 +
2568 +
2569 +      ac_ext=cpp
2570 +ac_cpp='$CXXCPP $CPPFLAGS'
2571 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2572 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2573 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2574 +
2575 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2576 +/* end confdefs.h.  */
2577 +#include <math.h>
2578 +int
2579 +main ()
2580 +{
2581 + _frexpf(0, 0);
2582 +  ;
2583 +  return 0;
2584 +}
2585 +_ACEOF
2586 +if ac_fn_cxx_try_compile "$LINENO"; then :
2587 +  glibcxx_cv_func__frexpf_use=yes
2588 +else
2589 +  glibcxx_cv_func__frexpf_use=no
2590 +fi
2591 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2592 +      ac_ext=c
2593 +ac_cpp='$CPP $CPPFLAGS'
2594 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2595 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2596 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2597 +
2598 +
2599 +fi
2600 +
2601 +  fi
2602 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
2603 +$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
2604 +
2605 +    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
2606 +      for ac_func in _frexpf
2607 +do :
2608 +  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
2609 +if test "x$ac_cv_func__frexpf" = x""yes; then :
2610 +  cat >>confdefs.h <<_ACEOF
2611 +#define HAVE__FREXPF 1
2612 +_ACEOF
2613 +
2614 +fi
2615 +done
2616 +
2617 +    fi
2618 +  fi
2619 +
2620 +
2621 +
2622 +
2623 +
2624 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
2625 +$as_echo_n "checking for hypotf declaration... " >&6; }
2626 +  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
2627 +    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
2628 +  $as_echo_n "(cached) " >&6
2629 +else
2630 +
2631 +
2632 +      ac_ext=cpp
2633 +ac_cpp='$CXXCPP $CPPFLAGS'
2634 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2635 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2636 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2637 +
2638 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2639 +/* end confdefs.h.  */
2640 +#include <math.h>
2641 +int
2642 +main ()
2643 +{
2644 + hypotf(0, 0);
2645 +  ;
2646 +  return 0;
2647 +}
2648 +_ACEOF
2649 +if ac_fn_cxx_try_compile "$LINENO"; then :
2650 +  glibcxx_cv_func_hypotf_use=yes
2651 +else
2652 +  glibcxx_cv_func_hypotf_use=no
2653 +fi
2654 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2655 +      ac_ext=c
2656 +ac_cpp='$CPP $CPPFLAGS'
2657 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2658 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2659 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2660 +
2661 +
2662 +fi
2663 +
2664 +  fi
2665 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
2666 +$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
2667 +
2668 +  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
2669 +    for ac_func in hypotf
2670 +do :
2671 +  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
2672 +if test "x$ac_cv_func_hypotf" = x""yes; then :
2673 +  cat >>confdefs.h <<_ACEOF
2674 +#define HAVE_HYPOTF 1
2675 +_ACEOF
2676 +
2677 +fi
2678 +done
2679 +
2680 +  else
2681 +
2682 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
2683 +$as_echo_n "checking for _hypotf declaration... " >&6; }
2684 +  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
2685 +    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
2686 +  $as_echo_n "(cached) " >&6
2687 +else
2688 +
2689 +
2690 +      ac_ext=cpp
2691 +ac_cpp='$CXXCPP $CPPFLAGS'
2692 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2693 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2694 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2695 +
2696 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2697 +/* end confdefs.h.  */
2698 +#include <math.h>
2699 +int
2700 +main ()
2701 +{
2702 + _hypotf(0, 0);
2703 +  ;
2704 +  return 0;
2705 +}
2706 +_ACEOF
2707 +if ac_fn_cxx_try_compile "$LINENO"; then :
2708 +  glibcxx_cv_func__hypotf_use=yes
2709 +else
2710 +  glibcxx_cv_func__hypotf_use=no
2711 +fi
2712 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2713 +      ac_ext=c
2714 +ac_cpp='$CPP $CPPFLAGS'
2715 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2716 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2717 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2718 +
2719 +
2720 +fi
2721 +
2722 +  fi
2723 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
2724 +$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
2725 +
2726 +    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
2727 +      for ac_func in _hypotf
2728 +do :
2729 +  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
2730 +if test "x$ac_cv_func__hypotf" = x""yes; then :
2731 +  cat >>confdefs.h <<_ACEOF
2732 +#define HAVE__HYPOTF 1
2733 +_ACEOF
2734 +
2735 +fi
2736 +done
2737 +
2738 +    fi
2739 +  fi
2740 +
2741 +
2742 +
2743 +
2744 +
2745 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
2746 +$as_echo_n "checking for ldexpf declaration... " >&6; }
2747 +  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
2748 +    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
2749 +  $as_echo_n "(cached) " >&6
2750 +else
2751 +
2752 +
2753 +      ac_ext=cpp
2754 +ac_cpp='$CXXCPP $CPPFLAGS'
2755 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2756 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2757 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2758 +
2759 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2760 +/* end confdefs.h.  */
2761 +#include <math.h>
2762 +int
2763 +main ()
2764 +{
2765 + ldexpf(0, 0);
2766 +  ;
2767 +  return 0;
2768 +}
2769 +_ACEOF
2770 +if ac_fn_cxx_try_compile "$LINENO"; then :
2771 +  glibcxx_cv_func_ldexpf_use=yes
2772 +else
2773 +  glibcxx_cv_func_ldexpf_use=no
2774 +fi
2775 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2776 +      ac_ext=c
2777 +ac_cpp='$CPP $CPPFLAGS'
2778 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2779 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2780 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2781 +
2782 +
2783 +fi
2784 +
2785 +  fi
2786 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
2787 +$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
2788 +
2789 +  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
2790 +    for ac_func in ldexpf
2791 +do :
2792 +  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
2793 +if test "x$ac_cv_func_ldexpf" = x""yes; then :
2794 +  cat >>confdefs.h <<_ACEOF
2795 +#define HAVE_LDEXPF 1
2796 +_ACEOF
2797 +
2798 +fi
2799 +done
2800 +
2801 +  else
2802 +
2803 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
2804 +$as_echo_n "checking for _ldexpf declaration... " >&6; }
2805 +  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
2806 +    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
2807 +  $as_echo_n "(cached) " >&6
2808 +else
2809 +
2810 +
2811 +      ac_ext=cpp
2812 +ac_cpp='$CXXCPP $CPPFLAGS'
2813 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2814 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2815 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2816 +
2817 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2818 +/* end confdefs.h.  */
2819 +#include <math.h>
2820 +int
2821 +main ()
2822 +{
2823 + _ldexpf(0, 0);
2824 +  ;
2825 +  return 0;
2826 +}
2827 +_ACEOF
2828 +if ac_fn_cxx_try_compile "$LINENO"; then :
2829 +  glibcxx_cv_func__ldexpf_use=yes
2830 +else
2831 +  glibcxx_cv_func__ldexpf_use=no
2832 +fi
2833 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2834 +      ac_ext=c
2835 +ac_cpp='$CPP $CPPFLAGS'
2836 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2837 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2838 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2839 +
2840 +
2841 +fi
2842 +
2843 +  fi
2844 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
2845 +$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
2846 +
2847 +    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
2848 +      for ac_func in _ldexpf
2849 +do :
2850 +  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
2851 +if test "x$ac_cv_func__ldexpf" = x""yes; then :
2852 +  cat >>confdefs.h <<_ACEOF
2853 +#define HAVE__LDEXPF 1
2854 +_ACEOF
2855 +
2856 +fi
2857 +done
2858 +
2859 +    fi
2860 +  fi
2861 +
2862 +
2863 +
2864 +
2865 +
2866 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
2867 +$as_echo_n "checking for logf declaration... " >&6; }
2868 +  if test x${glibcxx_cv_func_logf_use+set} != xset; then
2869 +    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
2870 +  $as_echo_n "(cached) " >&6
2871 +else
2872 +
2873 +
2874 +      ac_ext=cpp
2875 +ac_cpp='$CXXCPP $CPPFLAGS'
2876 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2877 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2878 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2879 +
2880 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 +/* end confdefs.h.  */
2882 +#include <math.h>
2883 +		      #ifdef HAVE_IEEEFP_H
2884 +		      #include <ieeefp.h>
2885 +		      #endif
2886 +
2887 +int
2888 +main ()
2889 +{
2890 + logf(0);
2891 +  ;
2892 +  return 0;
2893 +}
2894 +_ACEOF
2895 +if ac_fn_cxx_try_compile "$LINENO"; then :
2896 +  glibcxx_cv_func_logf_use=yes
2897 +else
2898 +  glibcxx_cv_func_logf_use=no
2899 +fi
2900 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2901 +      ac_ext=c
2902 +ac_cpp='$CPP $CPPFLAGS'
2903 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2904 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2905 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2906 +
2907 +
2908 +fi
2909 +
2910 +  fi
2911 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
2912 +$as_echo "$glibcxx_cv_func_logf_use" >&6; }
2913 +
2914 +  if test x$glibcxx_cv_func_logf_use = x"yes"; then
2915 +    for ac_func in logf
2916 +do :
2917 +  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
2918 +if test "x$ac_cv_func_logf" = x""yes; then :
2919 +  cat >>confdefs.h <<_ACEOF
2920 +#define HAVE_LOGF 1
2921 +_ACEOF
2922 +
2923 +fi
2924 +done
2925 +
2926 +  else
2927 +
2928 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
2929 +$as_echo_n "checking for _logf declaration... " >&6; }
2930 +  if test x${glibcxx_cv_func__logf_use+set} != xset; then
2931 +    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
2932 +  $as_echo_n "(cached) " >&6
2933 +else
2934 +
2935 +
2936 +      ac_ext=cpp
2937 +ac_cpp='$CXXCPP $CPPFLAGS'
2938 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2939 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2940 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2941 +
2942 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943 +/* end confdefs.h.  */
2944 +#include <math.h>
2945 +		      #ifdef HAVE_IEEEFP_H
2946 +		      #include <ieeefp.h>
2947 +		      #endif
2948 +
2949 +int
2950 +main ()
2951 +{
2952 + _logf(0);
2953 +  ;
2954 +  return 0;
2955 +}
2956 +_ACEOF
2957 +if ac_fn_cxx_try_compile "$LINENO"; then :
2958 +  glibcxx_cv_func__logf_use=yes
2959 +else
2960 +  glibcxx_cv_func__logf_use=no
2961 +fi
2962 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2963 +      ac_ext=c
2964 +ac_cpp='$CPP $CPPFLAGS'
2965 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2966 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2967 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2968 +
2969 +
2970 +fi
2971 +
2972 +  fi
2973 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
2974 +$as_echo "$glibcxx_cv_func__logf_use" >&6; }
2975 +
2976 +    if test x$glibcxx_cv_func__logf_use = x"yes"; then
2977 +      for ac_func in _logf
2978 +do :
2979 +  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
2980 +if test "x$ac_cv_func__logf" = x""yes; then :
2981 +  cat >>confdefs.h <<_ACEOF
2982 +#define HAVE__LOGF 1
2983 +_ACEOF
2984 +
2985 +fi
2986 +done
2987 +
2988 +    fi
2989 +  fi
2990 +
2991 +
2992 +
2993 +
2994 +
2995 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
2996 +$as_echo_n "checking for log10f declaration... " >&6; }
2997 +  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
2998 +    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
2999 +  $as_echo_n "(cached) " >&6
3000 +else
3001 +
3002 +
3003 +      ac_ext=cpp
3004 +ac_cpp='$CXXCPP $CPPFLAGS'
3005 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3006 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3007 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3008 +
3009 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3010 +/* end confdefs.h.  */
3011 +#include <math.h>
3012 +		      #ifdef HAVE_IEEEFP_H
3013 +		      #include <ieeefp.h>
3014 +		      #endif
3015 +
3016 +int
3017 +main ()
3018 +{
3019 + log10f(0);
3020 +  ;
3021 +  return 0;
3022 +}
3023 +_ACEOF
3024 +if ac_fn_cxx_try_compile "$LINENO"; then :
3025 +  glibcxx_cv_func_log10f_use=yes
3026 +else
3027 +  glibcxx_cv_func_log10f_use=no
3028 +fi
3029 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3030 +      ac_ext=c
3031 +ac_cpp='$CPP $CPPFLAGS'
3032 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3033 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3034 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3035 +
3036 +
3037 +fi
3038 +
3039 +  fi
3040 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
3041 +$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
3042 +
3043 +  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
3044 +    for ac_func in log10f
3045 +do :
3046 +  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
3047 +if test "x$ac_cv_func_log10f" = x""yes; then :
3048 +  cat >>confdefs.h <<_ACEOF
3049 +#define HAVE_LOG10F 1
3050 +_ACEOF
3051 +
3052 +fi
3053 +done
3054 +
3055 +  else
3056 +
3057 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
3058 +$as_echo_n "checking for _log10f declaration... " >&6; }
3059 +  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
3060 +    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
3061 +  $as_echo_n "(cached) " >&6
3062 +else
3063 +
3064 +
3065 +      ac_ext=cpp
3066 +ac_cpp='$CXXCPP $CPPFLAGS'
3067 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3068 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3069 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3070 +
3071 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3072 +/* end confdefs.h.  */
3073 +#include <math.h>
3074 +		      #ifdef HAVE_IEEEFP_H
3075 +		      #include <ieeefp.h>
3076 +		      #endif
3077 +
3078 +int
3079 +main ()
3080 +{
3081 + _log10f(0);
3082 +  ;
3083 +  return 0;
3084 +}
3085 +_ACEOF
3086 +if ac_fn_cxx_try_compile "$LINENO"; then :
3087 +  glibcxx_cv_func__log10f_use=yes
3088 +else
3089 +  glibcxx_cv_func__log10f_use=no
3090 +fi
3091 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3092 +      ac_ext=c
3093 +ac_cpp='$CPP $CPPFLAGS'
3094 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3095 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3096 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3097 +
3098 +
3099 +fi
3100 +
3101 +  fi
3102 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
3103 +$as_echo "$glibcxx_cv_func__log10f_use" >&6; }
3104 +
3105 +    if test x$glibcxx_cv_func__log10f_use = x"yes"; then
3106 +      for ac_func in _log10f
3107 +do :
3108 +  ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
3109 +if test "x$ac_cv_func__log10f" = x""yes; then :
3110 +  cat >>confdefs.h <<_ACEOF
3111 +#define HAVE__LOG10F 1
3112 +_ACEOF
3113 +
3114 +fi
3115 +done
3116 +
3117 +    fi
3118 +  fi
3119 +
3120 +
3121 +
3122 +
3123 +
3124 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
3125 +$as_echo_n "checking for modff declaration... " >&6; }
3126 +  if test x${glibcxx_cv_func_modff_use+set} != xset; then
3127 +    if test "${glibcxx_cv_func_modff_use+set}" = set; then :
3128 +  $as_echo_n "(cached) " >&6
3129 +else
3130 +
3131 +
3132 +      ac_ext=cpp
3133 +ac_cpp='$CXXCPP $CPPFLAGS'
3134 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3135 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3136 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3137 +
3138 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3139 +/* end confdefs.h.  */
3140 +#include <math.h>
3141 +int
3142 +main ()
3143 +{
3144 + modff(0, 0);
3145 +  ;
3146 +  return 0;
3147 +}
3148 +_ACEOF
3149 +if ac_fn_cxx_try_compile "$LINENO"; then :
3150 +  glibcxx_cv_func_modff_use=yes
3151 +else
3152 +  glibcxx_cv_func_modff_use=no
3153 +fi
3154 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 +      ac_ext=c
3156 +ac_cpp='$CPP $CPPFLAGS'
3157 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3158 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3159 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3160 +
3161 +
3162 +fi
3163 +
3164 +  fi
3165 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
3166 +$as_echo "$glibcxx_cv_func_modff_use" >&6; }
3167 +
3168 +  if test x$glibcxx_cv_func_modff_use = x"yes"; then
3169 +    for ac_func in modff
3170 +do :
3171 +  ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
3172 +if test "x$ac_cv_func_modff" = x""yes; then :
3173 +  cat >>confdefs.h <<_ACEOF
3174 +#define HAVE_MODFF 1
3175 +_ACEOF
3176 +
3177 +fi
3178 +done
3179 +
3180 +  else
3181 +
3182 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
3183 +$as_echo_n "checking for _modff declaration... " >&6; }
3184 +  if test x${glibcxx_cv_func__modff_use+set} != xset; then
3185 +    if test "${glibcxx_cv_func__modff_use+set}" = set; then :
3186 +  $as_echo_n "(cached) " >&6
3187 +else
3188 +
3189 +
3190 +      ac_ext=cpp
3191 +ac_cpp='$CXXCPP $CPPFLAGS'
3192 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3193 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3194 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3195 +
3196 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3197 +/* end confdefs.h.  */
3198 +#include <math.h>
3199 +int
3200 +main ()
3201 +{
3202 + _modff(0, 0);
3203 +  ;
3204 +  return 0;
3205 +}
3206 +_ACEOF
3207 +if ac_fn_cxx_try_compile "$LINENO"; then :
3208 +  glibcxx_cv_func__modff_use=yes
3209 +else
3210 +  glibcxx_cv_func__modff_use=no
3211 +fi
3212 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3213 +      ac_ext=c
3214 +ac_cpp='$CPP $CPPFLAGS'
3215 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3216 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3217 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3218 +
3219 +
3220 +fi
3221 +
3222 +  fi
3223 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
3224 +$as_echo "$glibcxx_cv_func__modff_use" >&6; }
3225 +
3226 +    if test x$glibcxx_cv_func__modff_use = x"yes"; then
3227 +      for ac_func in _modff
3228 +do :
3229 +  ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
3230 +if test "x$ac_cv_func__modff" = x""yes; then :
3231 +  cat >>confdefs.h <<_ACEOF
3232 +#define HAVE__MODFF 1
3233 +_ACEOF
3234 +
3235 +fi
3236 +done
3237 +
3238 +    fi
3239 +  fi
3240 +
3241 +
3242 +
3243 +
3244 +
3245 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
3246 +$as_echo_n "checking for modf declaration... " >&6; }
3247 +  if test x${glibcxx_cv_func_modf_use+set} != xset; then
3248 +    if test "${glibcxx_cv_func_modf_use+set}" = set; then :
3249 +  $as_echo_n "(cached) " >&6
3250 +else
3251 +
3252 +
3253 +      ac_ext=cpp
3254 +ac_cpp='$CXXCPP $CPPFLAGS'
3255 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3256 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3257 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3258 +
3259 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3260 +/* end confdefs.h.  */
3261 +#include <math.h>
3262 +int
3263 +main ()
3264 +{
3265 + modf(0, 0);
3266 +  ;
3267 +  return 0;
3268 +}
3269 +_ACEOF
3270 +if ac_fn_cxx_try_compile "$LINENO"; then :
3271 +  glibcxx_cv_func_modf_use=yes
3272 +else
3273 +  glibcxx_cv_func_modf_use=no
3274 +fi
3275 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3276 +      ac_ext=c
3277 +ac_cpp='$CPP $CPPFLAGS'
3278 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3279 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3280 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3281 +
3282 +
3283 +fi
3284 +
3285 +  fi
3286 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
3287 +$as_echo "$glibcxx_cv_func_modf_use" >&6; }
3288 +
3289 +  if test x$glibcxx_cv_func_modf_use = x"yes"; then
3290 +    for ac_func in modf
3291 +do :
3292 +  ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
3293 +if test "x$ac_cv_func_modf" = x""yes; then :
3294 +  cat >>confdefs.h <<_ACEOF
3295 +#define HAVE_MODF 1
3296 +_ACEOF
3297 +
3298 +fi
3299 +done
3300 +
3301 +  else
3302 +
3303 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
3304 +$as_echo_n "checking for _modf declaration... " >&6; }
3305 +  if test x${glibcxx_cv_func__modf_use+set} != xset; then
3306 +    if test "${glibcxx_cv_func__modf_use+set}" = set; then :
3307 +  $as_echo_n "(cached) " >&6
3308 +else
3309 +
3310 +
3311 +      ac_ext=cpp
3312 +ac_cpp='$CXXCPP $CPPFLAGS'
3313 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3314 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3315 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3316 +
3317 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 +/* end confdefs.h.  */
3319 +#include <math.h>
3320 +int
3321 +main ()
3322 +{
3323 + _modf(0, 0);
3324 +  ;
3325 +  return 0;
3326 +}
3327 +_ACEOF
3328 +if ac_fn_cxx_try_compile "$LINENO"; then :
3329 +  glibcxx_cv_func__modf_use=yes
3330 +else
3331 +  glibcxx_cv_func__modf_use=no
3332 +fi
3333 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3334 +      ac_ext=c
3335 +ac_cpp='$CPP $CPPFLAGS'
3336 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3337 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3338 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3339 +
3340 +
3341 +fi
3342 +
3343 +  fi
3344 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
3345 +$as_echo "$glibcxx_cv_func__modf_use" >&6; }
3346 +
3347 +    if test x$glibcxx_cv_func__modf_use = x"yes"; then
3348 +      for ac_func in _modf
3349 +do :
3350 +  ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
3351 +if test "x$ac_cv_func__modf" = x""yes; then :
3352 +  cat >>confdefs.h <<_ACEOF
3353 +#define HAVE__MODF 1
3354 +_ACEOF
3355 +
3356 +fi
3357 +done
3358 +
3359 +    fi
3360 +  fi
3361 +
3362 +
3363 +
3364 +
3365 +
3366 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
3367 +$as_echo_n "checking for powf declaration... " >&6; }
3368 +  if test x${glibcxx_cv_func_powf_use+set} != xset; then
3369 +    if test "${glibcxx_cv_func_powf_use+set}" = set; then :
3370 +  $as_echo_n "(cached) " >&6
3371 +else
3372 +
3373 +
3374 +      ac_ext=cpp
3375 +ac_cpp='$CXXCPP $CPPFLAGS'
3376 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3377 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3378 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3379 +
3380 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3381 +/* end confdefs.h.  */
3382 +#include <math.h>
3383 +int
3384 +main ()
3385 +{
3386 + powf(0, 0);
3387 +  ;
3388 +  return 0;
3389 +}
3390 +_ACEOF
3391 +if ac_fn_cxx_try_compile "$LINENO"; then :
3392 +  glibcxx_cv_func_powf_use=yes
3393 +else
3394 +  glibcxx_cv_func_powf_use=no
3395 +fi
3396 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3397 +      ac_ext=c
3398 +ac_cpp='$CPP $CPPFLAGS'
3399 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3400 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3401 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3402 +
3403 +
3404 +fi
3405 +
3406 +  fi
3407 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
3408 +$as_echo "$glibcxx_cv_func_powf_use" >&6; }
3409 +
3410 +  if test x$glibcxx_cv_func_powf_use = x"yes"; then
3411 +    for ac_func in powf
3412 +do :
3413 +  ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
3414 +if test "x$ac_cv_func_powf" = x""yes; then :
3415 +  cat >>confdefs.h <<_ACEOF
3416 +#define HAVE_POWF 1
3417 +_ACEOF
3418 +
3419 +fi
3420 +done
3421 +
3422 +  else
3423 +
3424 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
3425 +$as_echo_n "checking for _powf declaration... " >&6; }
3426 +  if test x${glibcxx_cv_func__powf_use+set} != xset; then
3427 +    if test "${glibcxx_cv_func__powf_use+set}" = set; then :
3428 +  $as_echo_n "(cached) " >&6
3429 +else
3430 +
3431 +
3432 +      ac_ext=cpp
3433 +ac_cpp='$CXXCPP $CPPFLAGS'
3434 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3435 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3436 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3437 +
3438 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3439 +/* end confdefs.h.  */
3440 +#include <math.h>
3441 +int
3442 +main ()
3443 +{
3444 + _powf(0, 0);
3445 +  ;
3446 +  return 0;
3447 +}
3448 +_ACEOF
3449 +if ac_fn_cxx_try_compile "$LINENO"; then :
3450 +  glibcxx_cv_func__powf_use=yes
3451 +else
3452 +  glibcxx_cv_func__powf_use=no
3453 +fi
3454 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3455 +      ac_ext=c
3456 +ac_cpp='$CPP $CPPFLAGS'
3457 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3458 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3459 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3460 +
3461 +
3462 +fi
3463 +
3464 +  fi
3465 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
3466 +$as_echo "$glibcxx_cv_func__powf_use" >&6; }
3467 +
3468 +    if test x$glibcxx_cv_func__powf_use = x"yes"; then
3469 +      for ac_func in _powf
3470 +do :
3471 +  ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
3472 +if test "x$ac_cv_func__powf" = x""yes; then :
3473 +  cat >>confdefs.h <<_ACEOF
3474 +#define HAVE__POWF 1
3475 +_ACEOF
3476 +
3477 +fi
3478 +done
3479 +
3480 +    fi
3481 +  fi
3482 +
3483 +
3484 +
3485 +
3486 +
3487 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
3488 +$as_echo_n "checking for sqrtf declaration... " >&6; }
3489 +  if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
3490 +    if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
3491 +  $as_echo_n "(cached) " >&6
3492 +else
3493 +
3494 +
3495 +      ac_ext=cpp
3496 +ac_cpp='$CXXCPP $CPPFLAGS'
3497 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3498 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3499 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3500 +
3501 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 +/* end confdefs.h.  */
3503 +#include <math.h>
3504 +		      #ifdef HAVE_IEEEFP_H
3505 +		      #include <ieeefp.h>
3506 +		      #endif
3507 +
3508 +int
3509 +main ()
3510 +{
3511 + sqrtf(0);
3512 +  ;
3513 +  return 0;
3514 +}
3515 +_ACEOF
3516 +if ac_fn_cxx_try_compile "$LINENO"; then :
3517 +  glibcxx_cv_func_sqrtf_use=yes
3518 +else
3519 +  glibcxx_cv_func_sqrtf_use=no
3520 +fi
3521 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3522 +      ac_ext=c
3523 +ac_cpp='$CPP $CPPFLAGS'
3524 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3525 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3526 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3527 +
3528 +
3529 +fi
3530 +
3531 +  fi
3532 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
3533 +$as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
3534 +
3535 +  if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
3536 +    for ac_func in sqrtf
3537 +do :
3538 +  ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
3539 +if test "x$ac_cv_func_sqrtf" = x""yes; then :
3540 +  cat >>confdefs.h <<_ACEOF
3541 +#define HAVE_SQRTF 1
3542 +_ACEOF
3543 +
3544 +fi
3545 +done
3546 +
3547 +  else
3548 +
3549 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
3550 +$as_echo_n "checking for _sqrtf declaration... " >&6; }
3551 +  if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
3552 +    if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
3553 +  $as_echo_n "(cached) " >&6
3554 +else
3555 +
3556 +
3557 +      ac_ext=cpp
3558 +ac_cpp='$CXXCPP $CPPFLAGS'
3559 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3560 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3561 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3562 +
3563 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3564 +/* end confdefs.h.  */
3565 +#include <math.h>
3566 +		      #ifdef HAVE_IEEEFP_H
3567 +		      #include <ieeefp.h>
3568 +		      #endif
3569 +
3570 +int
3571 +main ()
3572 +{
3573 + _sqrtf(0);
3574 +  ;
3575 +  return 0;
3576 +}
3577 +_ACEOF
3578 +if ac_fn_cxx_try_compile "$LINENO"; then :
3579 +  glibcxx_cv_func__sqrtf_use=yes
3580 +else
3581 +  glibcxx_cv_func__sqrtf_use=no
3582 +fi
3583 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3584 +      ac_ext=c
3585 +ac_cpp='$CPP $CPPFLAGS'
3586 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3587 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3588 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3589 +
3590 +
3591 +fi
3592 +
3593 +  fi
3594 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
3595 +$as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
3596 +
3597 +    if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
3598 +      for ac_func in _sqrtf
3599 +do :
3600 +  ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
3601 +if test "x$ac_cv_func__sqrtf" = x""yes; then :
3602 +  cat >>confdefs.h <<_ACEOF
3603 +#define HAVE__SQRTF 1
3604 +_ACEOF
3605 +
3606 +fi
3607 +done
3608 +
3609 +    fi
3610 +  fi
3611 +
3612 +
3613 +
3614 +
3615 +
3616 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
3617 +$as_echo_n "checking for sincosf declaration... " >&6; }
3618 +  if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
3619 +    if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
3620 +  $as_echo_n "(cached) " >&6
3621 +else
3622 +
3623 +
3624 +      ac_ext=cpp
3625 +ac_cpp='$CXXCPP $CPPFLAGS'
3626 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3627 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3628 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3629 +
3630 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631 +/* end confdefs.h.  */
3632 +#include <math.h>
3633 +int
3634 +main ()
3635 +{
3636 + sincosf(0, 0, 0);
3637 +  ;
3638 +  return 0;
3639 +}
3640 +_ACEOF
3641 +if ac_fn_cxx_try_compile "$LINENO"; then :
3642 +  glibcxx_cv_func_sincosf_use=yes
3643 +else
3644 +  glibcxx_cv_func_sincosf_use=no
3645 +fi
3646 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3647 +      ac_ext=c
3648 +ac_cpp='$CPP $CPPFLAGS'
3649 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3650 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3651 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3652 +
3653 +
3654 +fi
3655 +
3656 +  fi
3657 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
3658 +$as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
3659 +
3660 +  if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
3661 +    for ac_func in sincosf
3662 +do :
3663 +  ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
3664 +if test "x$ac_cv_func_sincosf" = x""yes; then :
3665 +  cat >>confdefs.h <<_ACEOF
3666 +#define HAVE_SINCOSF 1
3667 +_ACEOF
3668 +
3669 +fi
3670 +done
3671 +
3672 +  else
3673 +
3674 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
3675 +$as_echo_n "checking for _sincosf declaration... " >&6; }
3676 +  if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
3677 +    if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
3678 +  $as_echo_n "(cached) " >&6
3679 +else
3680 +
3681 +
3682 +      ac_ext=cpp
3683 +ac_cpp='$CXXCPP $CPPFLAGS'
3684 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3685 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3686 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3687 +
3688 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3689 +/* end confdefs.h.  */
3690 +#include <math.h>
3691 +int
3692 +main ()
3693 +{
3694 + _sincosf(0, 0, 0);
3695 +  ;
3696 +  return 0;
3697 +}
3698 +_ACEOF
3699 +if ac_fn_cxx_try_compile "$LINENO"; then :
3700 +  glibcxx_cv_func__sincosf_use=yes
3701 +else
3702 +  glibcxx_cv_func__sincosf_use=no
3703 +fi
3704 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3705 +      ac_ext=c
3706 +ac_cpp='$CPP $CPPFLAGS'
3707 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3708 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3709 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3710 +
3711 +
3712 +fi
3713 +
3714 +  fi
3715 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
3716 +$as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
3717 +
3718 +    if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
3719 +      for ac_func in _sincosf
3720 +do :
3721 +  ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
3722 +if test "x$ac_cv_func__sincosf" = x""yes; then :
3723 +  cat >>confdefs.h <<_ACEOF
3724 +#define HAVE__SINCOSF 1
3725 +_ACEOF
3726 +
3727 +fi
3728 +done
3729 +
3730 +    fi
3731 +  fi
3732 +
3733 +
3734 +
3735 +
3736 +
3737 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
3738 +$as_echo_n "checking for finitef declaration... " >&6; }
3739 +  if test x${glibcxx_cv_func_finitef_use+set} != xset; then
3740 +    if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
3741 +  $as_echo_n "(cached) " >&6
3742 +else
3743 +
3744 +
3745 +      ac_ext=cpp
3746 +ac_cpp='$CXXCPP $CPPFLAGS'
3747 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3748 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3749 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3750 +
3751 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3752 +/* end confdefs.h.  */
3753 +#include <math.h>
3754 +		      #ifdef HAVE_IEEEFP_H
3755 +		      #include <ieeefp.h>
3756 +		      #endif
3757 +
3758 +int
3759 +main ()
3760 +{
3761 + finitef(0);
3762 +  ;
3763 +  return 0;
3764 +}
3765 +_ACEOF
3766 +if ac_fn_cxx_try_compile "$LINENO"; then :
3767 +  glibcxx_cv_func_finitef_use=yes
3768 +else
3769 +  glibcxx_cv_func_finitef_use=no
3770 +fi
3771 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3772 +      ac_ext=c
3773 +ac_cpp='$CPP $CPPFLAGS'
3774 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3775 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3776 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3777 +
3778 +
3779 +fi
3780 +
3781 +  fi
3782 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
3783 +$as_echo "$glibcxx_cv_func_finitef_use" >&6; }
3784 +
3785 +  if test x$glibcxx_cv_func_finitef_use = x"yes"; then
3786 +    for ac_func in finitef
3787 +do :
3788 +  ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
3789 +if test "x$ac_cv_func_finitef" = x""yes; then :
3790 +  cat >>confdefs.h <<_ACEOF
3791 +#define HAVE_FINITEF 1
3792 +_ACEOF
3793 +
3794 +fi
3795 +done
3796 +
3797 +  else
3798 +
3799 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
3800 +$as_echo_n "checking for _finitef declaration... " >&6; }
3801 +  if test x${glibcxx_cv_func__finitef_use+set} != xset; then
3802 +    if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
3803 +  $as_echo_n "(cached) " >&6
3804 +else
3805 +
3806 +
3807 +      ac_ext=cpp
3808 +ac_cpp='$CXXCPP $CPPFLAGS'
3809 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3810 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3811 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3812 +
3813 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3814 +/* end confdefs.h.  */
3815 +#include <math.h>
3816 +		      #ifdef HAVE_IEEEFP_H
3817 +		      #include <ieeefp.h>
3818 +		      #endif
3819 +
3820 +int
3821 +main ()
3822 +{
3823 + _finitef(0);
3824 +  ;
3825 +  return 0;
3826 +}
3827 +_ACEOF
3828 +if ac_fn_cxx_try_compile "$LINENO"; then :
3829 +  glibcxx_cv_func__finitef_use=yes
3830 +else
3831 +  glibcxx_cv_func__finitef_use=no
3832 +fi
3833 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3834 +      ac_ext=c
3835 +ac_cpp='$CPP $CPPFLAGS'
3836 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3837 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3838 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3839 +
3840 +
3841 +fi
3842 +
3843 +  fi
3844 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
3845 +$as_echo "$glibcxx_cv_func__finitef_use" >&6; }
3846 +
3847 +    if test x$glibcxx_cv_func__finitef_use = x"yes"; then
3848 +      for ac_func in _finitef
3849 +do :
3850 +  ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
3851 +if test "x$ac_cv_func__finitef" = x""yes; then :
3852 +  cat >>confdefs.h <<_ACEOF
3853 +#define HAVE__FINITEF 1
3854 +_ACEOF
3855 +
3856 +fi
3857 +done
3858 +
3859 +    fi
3860 +  fi
3861 +
3862 +
3863 +
3864 +
3865 +
3866 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
3867 +$as_echo_n "checking for long double trig functions... " >&6; }
3868 +  if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
3869 +  $as_echo_n "(cached) " >&6
3870 +else
3871 +
3872 +
3873 +    ac_ext=cpp
3874 +ac_cpp='$CXXCPP $CPPFLAGS'
3875 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3876 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3877 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3878 +
3879 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 +/* end confdefs.h.  */
3881 +#include <math.h>
3882 +int
3883 +main ()
3884 +{
3885 +acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
3886 +  ;
3887 +  return 0;
3888 +}
3889 +_ACEOF
3890 +if ac_fn_cxx_try_compile "$LINENO"; then :
3891 +  glibcxx_cv_func_long_double_trig_use=yes
3892 +else
3893 +  glibcxx_cv_func_long_double_trig_use=no
3894 +fi
3895 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3896 +    ac_ext=c
3897 +ac_cpp='$CPP $CPPFLAGS'
3898 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3899 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3900 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3901 +
3902 +fi
3903 +
3904 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
3905 +$as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
3906 +  if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
3907 +    for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
3908 +do :
3909 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3910 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3911 +eval as_val=\$$as_ac_var
3912 +   if test "x$as_val" = x""yes; then :
3913 +  cat >>confdefs.h <<_ACEOF
3914 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3915 +_ACEOF
3916 +
3917 +fi
3918 +done
3919 +
3920 +  else
3921 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
3922 +$as_echo_n "checking for _long double trig functions... " >&6; }
3923 +    if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
3924 +  $as_echo_n "(cached) " >&6
3925 +else
3926 +
3927 +
3928 +      ac_ext=cpp
3929 +ac_cpp='$CXXCPP $CPPFLAGS'
3930 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3931 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3932 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3933 +
3934 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 +/* end confdefs.h.  */
3936 +#include <math.h>
3937 +int
3938 +main ()
3939 +{
3940 +_acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
3941 +  ;
3942 +  return 0;
3943 +}
3944 +_ACEOF
3945 +if ac_fn_cxx_try_compile "$LINENO"; then :
3946 +  glibcxx_cv_func__long_double_trig_use=yes
3947 +else
3948 +  glibcxx_cv_func__long_double_trig_use=no
3949 +fi
3950 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 +      ac_ext=c
3952 +ac_cpp='$CPP $CPPFLAGS'
3953 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3954 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3955 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
3956 +
3957 +fi
3958 +
3959 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
3960 +$as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
3961 +    if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
3962 +      for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
3963 +do :
3964 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3965 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3966 +eval as_val=\$$as_ac_var
3967 +   if test "x$as_val" = x""yes; then :
3968 +  cat >>confdefs.h <<_ACEOF
3969 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3970 +_ACEOF
3971 +
3972 +fi
3973 +done
3974 +
3975 +    fi
3976 +  fi
3977 +
3978 +
3979 +
3980 +
3981 +
3982 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
3983 +$as_echo_n "checking for long double round functions... " >&6; }
3984 +  if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
3985 +  $as_echo_n "(cached) " >&6
3986 +else
3987 +
3988 +
3989 +    ac_ext=cpp
3990 +ac_cpp='$CXXCPP $CPPFLAGS'
3991 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3992 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3993 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3994 +
3995 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3996 +/* end confdefs.h.  */
3997 +#include <math.h>
3998 +int
3999 +main ()
4000 +{
4001 +ceill (0); floorl (0);
4002 +  ;
4003 +  return 0;
4004 +}
4005 +_ACEOF
4006 +if ac_fn_cxx_try_compile "$LINENO"; then :
4007 +  glibcxx_cv_func_long_double_round_use=yes
4008 +else
4009 +  glibcxx_cv_func_long_double_round_use=no
4010 +fi
4011 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4012 +    ac_ext=c
4013 +ac_cpp='$CPP $CPPFLAGS'
4014 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4015 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4016 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4017 +
4018 +fi
4019 +
4020 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
4021 +$as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
4022 +  if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
4023 +    for ac_func in ceill floorl
4024 +do :
4025 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4026 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4027 +eval as_val=\$$as_ac_var
4028 +   if test "x$as_val" = x""yes; then :
4029 +  cat >>confdefs.h <<_ACEOF
4030 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4031 +_ACEOF
4032 +
4033 +fi
4034 +done
4035 +
4036 +  else
4037 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
4038 +$as_echo_n "checking for _long double round functions... " >&6; }
4039 +    if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
4040 +  $as_echo_n "(cached) " >&6
4041 +else
4042 +
4043 +
4044 +      ac_ext=cpp
4045 +ac_cpp='$CXXCPP $CPPFLAGS'
4046 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4047 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4048 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4049 +
4050 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4051 +/* end confdefs.h.  */
4052 +#include <math.h>
4053 +int
4054 +main ()
4055 +{
4056 +_ceill (0); _floorl (0);
4057 +  ;
4058 +  return 0;
4059 +}
4060 +_ACEOF
4061 +if ac_fn_cxx_try_compile "$LINENO"; then :
4062 +  glibcxx_cv_func__long_double_round_use=yes
4063 +else
4064 +  glibcxx_cv_func__long_double_round_use=no
4065 +fi
4066 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4067 +      ac_ext=c
4068 +ac_cpp='$CPP $CPPFLAGS'
4069 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4070 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4071 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4072 +
4073 +fi
4074 +
4075 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
4076 +$as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
4077 +    if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
4078 +      for ac_func in _ceill _floorl
4079 +do :
4080 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
4081 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
4082 +eval as_val=\$$as_ac_var
4083 +   if test "x$as_val" = x""yes; then :
4084 +  cat >>confdefs.h <<_ACEOF
4085 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
4086 +_ACEOF
4087 +
4088 +fi
4089 +done
4090 +
4091 +    fi
4092 +  fi
4093 +
4094 +
4095 +
4096 +
4097 +
4098 +
4099 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
4100 +$as_echo_n "checking for isnanl declaration... " >&6; }
4101 +  if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
4102 +    if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
4103 +  $as_echo_n "(cached) " >&6
4104 +else
4105 +
4106 +
4107 +      ac_ext=cpp
4108 +ac_cpp='$CXXCPP $CPPFLAGS'
4109 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4110 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4111 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4112 +
4113 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4114 +/* end confdefs.h.  */
4115 +#include <math.h>
4116 +		      #ifdef HAVE_IEEEFP_H
4117 +		      #include <ieeefp.h>
4118 +		      #endif
4119 +
4120 +int
4121 +main ()
4122 +{
4123 + isnanl(0);
4124 +  ;
4125 +  return 0;
4126 +}
4127 +_ACEOF
4128 +if ac_fn_cxx_try_compile "$LINENO"; then :
4129 +  glibcxx_cv_func_isnanl_use=yes
4130 +else
4131 +  glibcxx_cv_func_isnanl_use=no
4132 +fi
4133 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4134 +      ac_ext=c
4135 +ac_cpp='$CPP $CPPFLAGS'
4136 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4137 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4138 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4139 +
4140 +
4141 +fi
4142 +
4143 +  fi
4144 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
4145 +$as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
4146 +
4147 +  if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
4148 +    for ac_func in isnanl
4149 +do :
4150 +  ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
4151 +if test "x$ac_cv_func_isnanl" = x""yes; then :
4152 +  cat >>confdefs.h <<_ACEOF
4153 +#define HAVE_ISNANL 1
4154 +_ACEOF
4155 +
4156 +fi
4157 +done
4158 +
4159 +  else
4160 +
4161 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
4162 +$as_echo_n "checking for _isnanl declaration... " >&6; }
4163 +  if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
4164 +    if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
4165 +  $as_echo_n "(cached) " >&6
4166 +else
4167 +
4168 +
4169 +      ac_ext=cpp
4170 +ac_cpp='$CXXCPP $CPPFLAGS'
4171 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4172 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4173 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4174 +
4175 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4176 +/* end confdefs.h.  */
4177 +#include <math.h>
4178 +		      #ifdef HAVE_IEEEFP_H
4179 +		      #include <ieeefp.h>
4180 +		      #endif
4181 +
4182 +int
4183 +main ()
4184 +{
4185 + _isnanl(0);
4186 +  ;
4187 +  return 0;
4188 +}
4189 +_ACEOF
4190 +if ac_fn_cxx_try_compile "$LINENO"; then :
4191 +  glibcxx_cv_func__isnanl_use=yes
4192 +else
4193 +  glibcxx_cv_func__isnanl_use=no
4194 +fi
4195 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4196 +      ac_ext=c
4197 +ac_cpp='$CPP $CPPFLAGS'
4198 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4199 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4200 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4201 +
4202 +
4203 +fi
4204 +
4205 +  fi
4206 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
4207 +$as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
4208 +
4209 +    if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
4210 +      for ac_func in _isnanl
4211 +do :
4212 +  ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
4213 +if test "x$ac_cv_func__isnanl" = x""yes; then :
4214 +  cat >>confdefs.h <<_ACEOF
4215 +#define HAVE__ISNANL 1
4216 +_ACEOF
4217 +
4218 +fi
4219 +done
4220 +
4221 +    fi
4222 +  fi
4223 +
4224 +
4225 +
4226 +
4227 +
4228 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
4229 +$as_echo_n "checking for isinfl declaration... " >&6; }
4230 +  if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
4231 +    if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
4232 +  $as_echo_n "(cached) " >&6
4233 +else
4234 +
4235 +
4236 +      ac_ext=cpp
4237 +ac_cpp='$CXXCPP $CPPFLAGS'
4238 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4239 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4240 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4241 +
4242 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4243 +/* end confdefs.h.  */
4244 +#include <math.h>
4245 +		      #ifdef HAVE_IEEEFP_H
4246 +		      #include <ieeefp.h>
4247 +		      #endif
4248 +
4249 +int
4250 +main ()
4251 +{
4252 + isinfl(0);
4253 +  ;
4254 +  return 0;
4255 +}
4256 +_ACEOF
4257 +if ac_fn_cxx_try_compile "$LINENO"; then :
4258 +  glibcxx_cv_func_isinfl_use=yes
4259 +else
4260 +  glibcxx_cv_func_isinfl_use=no
4261 +fi
4262 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4263 +      ac_ext=c
4264 +ac_cpp='$CPP $CPPFLAGS'
4265 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4266 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4267 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4268 +
4269 +
4270 +fi
4271 +
4272 +  fi
4273 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
4274 +$as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
4275 +
4276 +  if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
4277 +    for ac_func in isinfl
4278 +do :
4279 +  ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
4280 +if test "x$ac_cv_func_isinfl" = x""yes; then :
4281 +  cat >>confdefs.h <<_ACEOF
4282 +#define HAVE_ISINFL 1
4283 +_ACEOF
4284 +
4285 +fi
4286 +done
4287 +
4288 +  else
4289 +
4290 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
4291 +$as_echo_n "checking for _isinfl declaration... " >&6; }
4292 +  if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
4293 +    if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
4294 +  $as_echo_n "(cached) " >&6
4295 +else
4296 +
4297 +
4298 +      ac_ext=cpp
4299 +ac_cpp='$CXXCPP $CPPFLAGS'
4300 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4301 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4302 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4303 +
4304 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 +/* end confdefs.h.  */
4306 +#include <math.h>
4307 +		      #ifdef HAVE_IEEEFP_H
4308 +		      #include <ieeefp.h>
4309 +		      #endif
4310 +
4311 +int
4312 +main ()
4313 +{
4314 + _isinfl(0);
4315 +  ;
4316 +  return 0;
4317 +}
4318 +_ACEOF
4319 +if ac_fn_cxx_try_compile "$LINENO"; then :
4320 +  glibcxx_cv_func__isinfl_use=yes
4321 +else
4322 +  glibcxx_cv_func__isinfl_use=no
4323 +fi
4324 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4325 +      ac_ext=c
4326 +ac_cpp='$CPP $CPPFLAGS'
4327 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4330 +
4331 +
4332 +fi
4333 +
4334 +  fi
4335 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
4336 +$as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
4337 +
4338 +    if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
4339 +      for ac_func in _isinfl
4340 +do :
4341 +  ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
4342 +if test "x$ac_cv_func__isinfl" = x""yes; then :
4343 +  cat >>confdefs.h <<_ACEOF
4344 +#define HAVE__ISINFL 1
4345 +_ACEOF
4346 +
4347 +fi
4348 +done
4349 +
4350 +    fi
4351 +  fi
4352 +
4353 +
4354 +
4355 +
4356 +
4357 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
4358 +$as_echo_n "checking for atan2l declaration... " >&6; }
4359 +  if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
4360 +    if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
4361 +  $as_echo_n "(cached) " >&6
4362 +else
4363 +
4364 +
4365 +      ac_ext=cpp
4366 +ac_cpp='$CXXCPP $CPPFLAGS'
4367 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4368 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4369 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4370 +
4371 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4372 +/* end confdefs.h.  */
4373 +#include <math.h>
4374 +int
4375 +main ()
4376 +{
4377 + atan2l(0, 0);
4378 +  ;
4379 +  return 0;
4380 +}
4381 +_ACEOF
4382 +if ac_fn_cxx_try_compile "$LINENO"; then :
4383 +  glibcxx_cv_func_atan2l_use=yes
4384 +else
4385 +  glibcxx_cv_func_atan2l_use=no
4386 +fi
4387 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4388 +      ac_ext=c
4389 +ac_cpp='$CPP $CPPFLAGS'
4390 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4391 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4392 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4393 +
4394 +
4395 +fi
4396 +
4397 +  fi
4398 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
4399 +$as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
4400 +
4401 +  if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
4402 +    for ac_func in atan2l
4403 +do :
4404 +  ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
4405 +if test "x$ac_cv_func_atan2l" = x""yes; then :
4406 +  cat >>confdefs.h <<_ACEOF
4407 +#define HAVE_ATAN2L 1
4408 +_ACEOF
4409 +
4410 +fi
4411 +done
4412 +
4413 +  else
4414 +
4415 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
4416 +$as_echo_n "checking for _atan2l declaration... " >&6; }
4417 +  if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
4418 +    if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
4419 +  $as_echo_n "(cached) " >&6
4420 +else
4421 +
4422 +
4423 +      ac_ext=cpp
4424 +ac_cpp='$CXXCPP $CPPFLAGS'
4425 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4426 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4427 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4428 +
4429 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4430 +/* end confdefs.h.  */
4431 +#include <math.h>
4432 +int
4433 +main ()
4434 +{
4435 + _atan2l(0, 0);
4436 +  ;
4437 +  return 0;
4438 +}
4439 +_ACEOF
4440 +if ac_fn_cxx_try_compile "$LINENO"; then :
4441 +  glibcxx_cv_func__atan2l_use=yes
4442 +else
4443 +  glibcxx_cv_func__atan2l_use=no
4444 +fi
4445 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4446 +      ac_ext=c
4447 +ac_cpp='$CPP $CPPFLAGS'
4448 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4449 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4450 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4451 +
4452 +
4453 +fi
4454 +
4455 +  fi
4456 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
4457 +$as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
4458 +
4459 +    if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
4460 +      for ac_func in _atan2l
4461 +do :
4462 +  ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
4463 +if test "x$ac_cv_func__atan2l" = x""yes; then :
4464 +  cat >>confdefs.h <<_ACEOF
4465 +#define HAVE__ATAN2L 1
4466 +_ACEOF
4467 +
4468 +fi
4469 +done
4470 +
4471 +    fi
4472 +  fi
4473 +
4474 +
4475 +
4476 +
4477 +
4478 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
4479 +$as_echo_n "checking for expl declaration... " >&6; }
4480 +  if test x${glibcxx_cv_func_expl_use+set} != xset; then
4481 +    if test "${glibcxx_cv_func_expl_use+set}" = set; then :
4482 +  $as_echo_n "(cached) " >&6
4483 +else
4484 +
4485 +
4486 +      ac_ext=cpp
4487 +ac_cpp='$CXXCPP $CPPFLAGS'
4488 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4489 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4490 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4491 +
4492 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 +/* end confdefs.h.  */
4494 +#include <math.h>
4495 +		      #ifdef HAVE_IEEEFP_H
4496 +		      #include <ieeefp.h>
4497 +		      #endif
4498 +
4499 +int
4500 +main ()
4501 +{
4502 + expl(0);
4503 +  ;
4504 +  return 0;
4505 +}
4506 +_ACEOF
4507 +if ac_fn_cxx_try_compile "$LINENO"; then :
4508 +  glibcxx_cv_func_expl_use=yes
4509 +else
4510 +  glibcxx_cv_func_expl_use=no
4511 +fi
4512 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 +      ac_ext=c
4514 +ac_cpp='$CPP $CPPFLAGS'
4515 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4516 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4517 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4518 +
4519 +
4520 +fi
4521 +
4522 +  fi
4523 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
4524 +$as_echo "$glibcxx_cv_func_expl_use" >&6; }
4525 +
4526 +  if test x$glibcxx_cv_func_expl_use = x"yes"; then
4527 +    for ac_func in expl
4528 +do :
4529 +  ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
4530 +if test "x$ac_cv_func_expl" = x""yes; then :
4531 +  cat >>confdefs.h <<_ACEOF
4532 +#define HAVE_EXPL 1
4533 +_ACEOF
4534 +
4535 +fi
4536 +done
4537 +
4538 +  else
4539 +
4540 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
4541 +$as_echo_n "checking for _expl declaration... " >&6; }
4542 +  if test x${glibcxx_cv_func__expl_use+set} != xset; then
4543 +    if test "${glibcxx_cv_func__expl_use+set}" = set; then :
4544 +  $as_echo_n "(cached) " >&6
4545 +else
4546 +
4547 +
4548 +      ac_ext=cpp
4549 +ac_cpp='$CXXCPP $CPPFLAGS'
4550 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4551 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4552 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4553 +
4554 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555 +/* end confdefs.h.  */
4556 +#include <math.h>
4557 +		      #ifdef HAVE_IEEEFP_H
4558 +		      #include <ieeefp.h>
4559 +		      #endif
4560 +
4561 +int
4562 +main ()
4563 +{
4564 + _expl(0);
4565 +  ;
4566 +  return 0;
4567 +}
4568 +_ACEOF
4569 +if ac_fn_cxx_try_compile "$LINENO"; then :
4570 +  glibcxx_cv_func__expl_use=yes
4571 +else
4572 +  glibcxx_cv_func__expl_use=no
4573 +fi
4574 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4575 +      ac_ext=c
4576 +ac_cpp='$CPP $CPPFLAGS'
4577 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4578 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4579 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4580 +
4581 +
4582 +fi
4583 +
4584 +  fi
4585 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
4586 +$as_echo "$glibcxx_cv_func__expl_use" >&6; }
4587 +
4588 +    if test x$glibcxx_cv_func__expl_use = x"yes"; then
4589 +      for ac_func in _expl
4590 +do :
4591 +  ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
4592 +if test "x$ac_cv_func__expl" = x""yes; then :
4593 +  cat >>confdefs.h <<_ACEOF
4594 +#define HAVE__EXPL 1
4595 +_ACEOF
4596 +
4597 +fi
4598 +done
4599 +
4600 +    fi
4601 +  fi
4602 +
4603 +
4604 +
4605 +
4606 +
4607 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
4608 +$as_echo_n "checking for fabsl declaration... " >&6; }
4609 +  if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
4610 +    if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
4611 +  $as_echo_n "(cached) " >&6
4612 +else
4613 +
4614 +
4615 +      ac_ext=cpp
4616 +ac_cpp='$CXXCPP $CPPFLAGS'
4617 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4618 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4619 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4620 +
4621 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4622 +/* end confdefs.h.  */
4623 +#include <math.h>
4624 +		      #ifdef HAVE_IEEEFP_H
4625 +		      #include <ieeefp.h>
4626 +		      #endif
4627 +
4628 +int
4629 +main ()
4630 +{
4631 + fabsl(0);
4632 +  ;
4633 +  return 0;
4634 +}
4635 +_ACEOF
4636 +if ac_fn_cxx_try_compile "$LINENO"; then :
4637 +  glibcxx_cv_func_fabsl_use=yes
4638 +else
4639 +  glibcxx_cv_func_fabsl_use=no
4640 +fi
4641 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 +      ac_ext=c
4643 +ac_cpp='$CPP $CPPFLAGS'
4644 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4645 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4646 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4647 +
4648 +
4649 +fi
4650 +
4651 +  fi
4652 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
4653 +$as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
4654 +
4655 +  if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
4656 +    for ac_func in fabsl
4657 +do :
4658 +  ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
4659 +if test "x$ac_cv_func_fabsl" = x""yes; then :
4660 +  cat >>confdefs.h <<_ACEOF
4661 +#define HAVE_FABSL 1
4662 +_ACEOF
4663 +
4664 +fi
4665 +done
4666 +
4667 +  else
4668 +
4669 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
4670 +$as_echo_n "checking for _fabsl declaration... " >&6; }
4671 +  if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
4672 +    if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
4673 +  $as_echo_n "(cached) " >&6
4674 +else
4675 +
4676 +
4677 +      ac_ext=cpp
4678 +ac_cpp='$CXXCPP $CPPFLAGS'
4679 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4680 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4681 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4682 +
4683 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4684 +/* end confdefs.h.  */
4685 +#include <math.h>
4686 +		      #ifdef HAVE_IEEEFP_H
4687 +		      #include <ieeefp.h>
4688 +		      #endif
4689 +
4690 +int
4691 +main ()
4692 +{
4693 + _fabsl(0);
4694 +  ;
4695 +  return 0;
4696 +}
4697 +_ACEOF
4698 +if ac_fn_cxx_try_compile "$LINENO"; then :
4699 +  glibcxx_cv_func__fabsl_use=yes
4700 +else
4701 +  glibcxx_cv_func__fabsl_use=no
4702 +fi
4703 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4704 +      ac_ext=c
4705 +ac_cpp='$CPP $CPPFLAGS'
4706 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4707 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4708 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4709 +
4710 +
4711 +fi
4712 +
4713 +  fi
4714 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
4715 +$as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
4716 +
4717 +    if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
4718 +      for ac_func in _fabsl
4719 +do :
4720 +  ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
4721 +if test "x$ac_cv_func__fabsl" = x""yes; then :
4722 +  cat >>confdefs.h <<_ACEOF
4723 +#define HAVE__FABSL 1
4724 +_ACEOF
4725 +
4726 +fi
4727 +done
4728 +
4729 +    fi
4730 +  fi
4731 +
4732 +
4733 +
4734 +
4735 +
4736 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
4737 +$as_echo_n "checking for fmodl declaration... " >&6; }
4738 +  if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
4739 +    if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
4740 +  $as_echo_n "(cached) " >&6
4741 +else
4742 +
4743 +
4744 +      ac_ext=cpp
4745 +ac_cpp='$CXXCPP $CPPFLAGS'
4746 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4747 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4748 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4749 +
4750 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4751 +/* end confdefs.h.  */
4752 +#include <math.h>
4753 +int
4754 +main ()
4755 +{
4756 + fmodl(0, 0);
4757 +  ;
4758 +  return 0;
4759 +}
4760 +_ACEOF
4761 +if ac_fn_cxx_try_compile "$LINENO"; then :
4762 +  glibcxx_cv_func_fmodl_use=yes
4763 +else
4764 +  glibcxx_cv_func_fmodl_use=no
4765 +fi
4766 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4767 +      ac_ext=c
4768 +ac_cpp='$CPP $CPPFLAGS'
4769 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4770 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4771 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4772 +
4773 +
4774 +fi
4775 +
4776 +  fi
4777 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
4778 +$as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
4779 +
4780 +  if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
4781 +    for ac_func in fmodl
4782 +do :
4783 +  ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
4784 +if test "x$ac_cv_func_fmodl" = x""yes; then :
4785 +  cat >>confdefs.h <<_ACEOF
4786 +#define HAVE_FMODL 1
4787 +_ACEOF
4788 +
4789 +fi
4790 +done
4791 +
4792 +  else
4793 +
4794 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
4795 +$as_echo_n "checking for _fmodl declaration... " >&6; }
4796 +  if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
4797 +    if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
4798 +  $as_echo_n "(cached) " >&6
4799 +else
4800 +
4801 +
4802 +      ac_ext=cpp
4803 +ac_cpp='$CXXCPP $CPPFLAGS'
4804 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4805 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4806 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4807 +
4808 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4809 +/* end confdefs.h.  */
4810 +#include <math.h>
4811 +int
4812 +main ()
4813 +{
4814 + _fmodl(0, 0);
4815 +  ;
4816 +  return 0;
4817 +}
4818 +_ACEOF
4819 +if ac_fn_cxx_try_compile "$LINENO"; then :
4820 +  glibcxx_cv_func__fmodl_use=yes
4821 +else
4822 +  glibcxx_cv_func__fmodl_use=no
4823 +fi
4824 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4825 +      ac_ext=c
4826 +ac_cpp='$CPP $CPPFLAGS'
4827 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4828 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4829 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4830 +
4831 +
4832 +fi
4833 +
4834 +  fi
4835 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
4836 +$as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
4837 +
4838 +    if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
4839 +      for ac_func in _fmodl
4840 +do :
4841 +  ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
4842 +if test "x$ac_cv_func__fmodl" = x""yes; then :
4843 +  cat >>confdefs.h <<_ACEOF
4844 +#define HAVE__FMODL 1
4845 +_ACEOF
4846 +
4847 +fi
4848 +done
4849 +
4850 +    fi
4851 +  fi
4852 +
4853 +
4854 +
4855 +
4856 +
4857 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
4858 +$as_echo_n "checking for frexpl declaration... " >&6; }
4859 +  if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
4860 +    if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
4861 +  $as_echo_n "(cached) " >&6
4862 +else
4863 +
4864 +
4865 +      ac_ext=cpp
4866 +ac_cpp='$CXXCPP $CPPFLAGS'
4867 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4868 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4869 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4870 +
4871 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4872 +/* end confdefs.h.  */
4873 +#include <math.h>
4874 +int
4875 +main ()
4876 +{
4877 + frexpl(0, 0);
4878 +  ;
4879 +  return 0;
4880 +}
4881 +_ACEOF
4882 +if ac_fn_cxx_try_compile "$LINENO"; then :
4883 +  glibcxx_cv_func_frexpl_use=yes
4884 +else
4885 +  glibcxx_cv_func_frexpl_use=no
4886 +fi
4887 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4888 +      ac_ext=c
4889 +ac_cpp='$CPP $CPPFLAGS'
4890 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4891 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4892 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4893 +
4894 +
4895 +fi
4896 +
4897 +  fi
4898 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
4899 +$as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
4900 +
4901 +  if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
4902 +    for ac_func in frexpl
4903 +do :
4904 +  ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
4905 +if test "x$ac_cv_func_frexpl" = x""yes; then :
4906 +  cat >>confdefs.h <<_ACEOF
4907 +#define HAVE_FREXPL 1
4908 +_ACEOF
4909 +
4910 +fi
4911 +done
4912 +
4913 +  else
4914 +
4915 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
4916 +$as_echo_n "checking for _frexpl declaration... " >&6; }
4917 +  if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
4918 +    if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
4919 +  $as_echo_n "(cached) " >&6
4920 +else
4921 +
4922 +
4923 +      ac_ext=cpp
4924 +ac_cpp='$CXXCPP $CPPFLAGS'
4925 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4926 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4927 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4928 +
4929 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4930 +/* end confdefs.h.  */
4931 +#include <math.h>
4932 +int
4933 +main ()
4934 +{
4935 + _frexpl(0, 0);
4936 +  ;
4937 +  return 0;
4938 +}
4939 +_ACEOF
4940 +if ac_fn_cxx_try_compile "$LINENO"; then :
4941 +  glibcxx_cv_func__frexpl_use=yes
4942 +else
4943 +  glibcxx_cv_func__frexpl_use=no
4944 +fi
4945 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4946 +      ac_ext=c
4947 +ac_cpp='$CPP $CPPFLAGS'
4948 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4949 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4950 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
4951 +
4952 +
4953 +fi
4954 +
4955 +  fi
4956 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
4957 +$as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
4958 +
4959 +    if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
4960 +      for ac_func in _frexpl
4961 +do :
4962 +  ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
4963 +if test "x$ac_cv_func__frexpl" = x""yes; then :
4964 +  cat >>confdefs.h <<_ACEOF
4965 +#define HAVE__FREXPL 1
4966 +_ACEOF
4967 +
4968 +fi
4969 +done
4970 +
4971 +    fi
4972 +  fi
4973 +
4974 +
4975 +
4976 +
4977 +
4978 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
4979 +$as_echo_n "checking for hypotl declaration... " >&6; }
4980 +  if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
4981 +    if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
4982 +  $as_echo_n "(cached) " >&6
4983 +else
4984 +
4985 +
4986 +      ac_ext=cpp
4987 +ac_cpp='$CXXCPP $CPPFLAGS'
4988 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4989 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4990 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4991 +
4992 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4993 +/* end confdefs.h.  */
4994 +#include <math.h>
4995 +int
4996 +main ()
4997 +{
4998 + hypotl(0, 0);
4999 +  ;
5000 +  return 0;
5001 +}
5002 +_ACEOF
5003 +if ac_fn_cxx_try_compile "$LINENO"; then :
5004 +  glibcxx_cv_func_hypotl_use=yes
5005 +else
5006 +  glibcxx_cv_func_hypotl_use=no
5007 +fi
5008 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5009 +      ac_ext=c
5010 +ac_cpp='$CPP $CPPFLAGS'
5011 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5012 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5013 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5014 +
5015 +
5016 +fi
5017 +
5018 +  fi
5019 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
5020 +$as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
5021 +
5022 +  if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
5023 +    for ac_func in hypotl
5024 +do :
5025 +  ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
5026 +if test "x$ac_cv_func_hypotl" = x""yes; then :
5027 +  cat >>confdefs.h <<_ACEOF
5028 +#define HAVE_HYPOTL 1
5029 +_ACEOF
5030 +
5031 +fi
5032 +done
5033 +
5034 +  else
5035 +
5036 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
5037 +$as_echo_n "checking for _hypotl declaration... " >&6; }
5038 +  if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
5039 +    if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
5040 +  $as_echo_n "(cached) " >&6
5041 +else
5042 +
5043 +
5044 +      ac_ext=cpp
5045 +ac_cpp='$CXXCPP $CPPFLAGS'
5046 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5047 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5048 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5049 +
5050 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5051 +/* end confdefs.h.  */
5052 +#include <math.h>
5053 +int
5054 +main ()
5055 +{
5056 + _hypotl(0, 0);
5057 +  ;
5058 +  return 0;
5059 +}
5060 +_ACEOF
5061 +if ac_fn_cxx_try_compile "$LINENO"; then :
5062 +  glibcxx_cv_func__hypotl_use=yes
5063 +else
5064 +  glibcxx_cv_func__hypotl_use=no
5065 +fi
5066 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5067 +      ac_ext=c
5068 +ac_cpp='$CPP $CPPFLAGS'
5069 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5070 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5071 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5072 +
5073 +
5074 +fi
5075 +
5076 +  fi
5077 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
5078 +$as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
5079 +
5080 +    if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
5081 +      for ac_func in _hypotl
5082 +do :
5083 +  ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
5084 +if test "x$ac_cv_func__hypotl" = x""yes; then :
5085 +  cat >>confdefs.h <<_ACEOF
5086 +#define HAVE__HYPOTL 1
5087 +_ACEOF
5088 +
5089 +fi
5090 +done
5091 +
5092 +    fi
5093 +  fi
5094 +
5095 +
5096 +
5097 +
5098 +
5099 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
5100 +$as_echo_n "checking for ldexpl declaration... " >&6; }
5101 +  if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
5102 +    if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
5103 +  $as_echo_n "(cached) " >&6
5104 +else
5105 +
5106 +
5107 +      ac_ext=cpp
5108 +ac_cpp='$CXXCPP $CPPFLAGS'
5109 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5112 +
5113 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5114 +/* end confdefs.h.  */
5115 +#include <math.h>
5116 +int
5117 +main ()
5118 +{
5119 + ldexpl(0, 0);
5120 +  ;
5121 +  return 0;
5122 +}
5123 +_ACEOF
5124 +if ac_fn_cxx_try_compile "$LINENO"; then :
5125 +  glibcxx_cv_func_ldexpl_use=yes
5126 +else
5127 +  glibcxx_cv_func_ldexpl_use=no
5128 +fi
5129 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5130 +      ac_ext=c
5131 +ac_cpp='$CPP $CPPFLAGS'
5132 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5133 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5134 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5135 +
5136 +
5137 +fi
5138 +
5139 +  fi
5140 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
5141 +$as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
5142 +
5143 +  if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
5144 +    for ac_func in ldexpl
5145 +do :
5146 +  ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
5147 +if test "x$ac_cv_func_ldexpl" = x""yes; then :
5148 +  cat >>confdefs.h <<_ACEOF
5149 +#define HAVE_LDEXPL 1
5150 +_ACEOF
5151 +
5152 +fi
5153 +done
5154 +
5155 +  else
5156 +
5157 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
5158 +$as_echo_n "checking for _ldexpl declaration... " >&6; }
5159 +  if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
5160 +    if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
5161 +  $as_echo_n "(cached) " >&6
5162 +else
5163 +
5164 +
5165 +      ac_ext=cpp
5166 +ac_cpp='$CXXCPP $CPPFLAGS'
5167 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5168 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5169 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5170 +
5171 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5172 +/* end confdefs.h.  */
5173 +#include <math.h>
5174 +int
5175 +main ()
5176 +{
5177 + _ldexpl(0, 0);
5178 +  ;
5179 +  return 0;
5180 +}
5181 +_ACEOF
5182 +if ac_fn_cxx_try_compile "$LINENO"; then :
5183 +  glibcxx_cv_func__ldexpl_use=yes
5184 +else
5185 +  glibcxx_cv_func__ldexpl_use=no
5186 +fi
5187 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5188 +      ac_ext=c
5189 +ac_cpp='$CPP $CPPFLAGS'
5190 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5191 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5192 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5193 +
5194 +
5195 +fi
5196 +
5197 +  fi
5198 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
5199 +$as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
5200 +
5201 +    if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
5202 +      for ac_func in _ldexpl
5203 +do :
5204 +  ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
5205 +if test "x$ac_cv_func__ldexpl" = x""yes; then :
5206 +  cat >>confdefs.h <<_ACEOF
5207 +#define HAVE__LDEXPL 1
5208 +_ACEOF
5209 +
5210 +fi
5211 +done
5212 +
5213 +    fi
5214 +  fi
5215 +
5216 +
5217 +
5218 +
5219 +
5220 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
5221 +$as_echo_n "checking for logl declaration... " >&6; }
5222 +  if test x${glibcxx_cv_func_logl_use+set} != xset; then
5223 +    if test "${glibcxx_cv_func_logl_use+set}" = set; then :
5224 +  $as_echo_n "(cached) " >&6
5225 +else
5226 +
5227 +
5228 +      ac_ext=cpp
5229 +ac_cpp='$CXXCPP $CPPFLAGS'
5230 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5231 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5232 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5233 +
5234 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5235 +/* end confdefs.h.  */
5236 +#include <math.h>
5237 +		      #ifdef HAVE_IEEEFP_H
5238 +		      #include <ieeefp.h>
5239 +		      #endif
5240 +
5241 +int
5242 +main ()
5243 +{
5244 + logl(0);
5245 +  ;
5246 +  return 0;
5247 +}
5248 +_ACEOF
5249 +if ac_fn_cxx_try_compile "$LINENO"; then :
5250 +  glibcxx_cv_func_logl_use=yes
5251 +else
5252 +  glibcxx_cv_func_logl_use=no
5253 +fi
5254 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5255 +      ac_ext=c
5256 +ac_cpp='$CPP $CPPFLAGS'
5257 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5258 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5259 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5260 +
5261 +
5262 +fi
5263 +
5264 +  fi
5265 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
5266 +$as_echo "$glibcxx_cv_func_logl_use" >&6; }
5267 +
5268 +  if test x$glibcxx_cv_func_logl_use = x"yes"; then
5269 +    for ac_func in logl
5270 +do :
5271 +  ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
5272 +if test "x$ac_cv_func_logl" = x""yes; then :
5273 +  cat >>confdefs.h <<_ACEOF
5274 +#define HAVE_LOGL 1
5275 +_ACEOF
5276 +
5277 +fi
5278 +done
5279 +
5280 +  else
5281 +
5282 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
5283 +$as_echo_n "checking for _logl declaration... " >&6; }
5284 +  if test x${glibcxx_cv_func__logl_use+set} != xset; then
5285 +    if test "${glibcxx_cv_func__logl_use+set}" = set; then :
5286 +  $as_echo_n "(cached) " >&6
5287 +else
5288 +
5289 +
5290 +      ac_ext=cpp
5291 +ac_cpp='$CXXCPP $CPPFLAGS'
5292 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5293 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5294 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5295 +
5296 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5297 +/* end confdefs.h.  */
5298 +#include <math.h>
5299 +		      #ifdef HAVE_IEEEFP_H
5300 +		      #include <ieeefp.h>
5301 +		      #endif
5302 +
5303 +int
5304 +main ()
5305 +{
5306 + _logl(0);
5307 +  ;
5308 +  return 0;
5309 +}
5310 +_ACEOF
5311 +if ac_fn_cxx_try_compile "$LINENO"; then :
5312 +  glibcxx_cv_func__logl_use=yes
5313 +else
5314 +  glibcxx_cv_func__logl_use=no
5315 +fi
5316 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5317 +      ac_ext=c
5318 +ac_cpp='$CPP $CPPFLAGS'
5319 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5320 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5321 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5322 +
5323 +
5324 +fi
5325 +
5326 +  fi
5327 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
5328 +$as_echo "$glibcxx_cv_func__logl_use" >&6; }
5329 +
5330 +    if test x$glibcxx_cv_func__logl_use = x"yes"; then
5331 +      for ac_func in _logl
5332 +do :
5333 +  ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
5334 +if test "x$ac_cv_func__logl" = x""yes; then :
5335 +  cat >>confdefs.h <<_ACEOF
5336 +#define HAVE__LOGL 1
5337 +_ACEOF
5338 +
5339 +fi
5340 +done
5341 +
5342 +    fi
5343 +  fi
5344 +
5345 +
5346 +
5347 +
5348 +
5349 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
5350 +$as_echo_n "checking for log10l declaration... " >&6; }
5351 +  if test x${glibcxx_cv_func_log10l_use+set} != xset; then
5352 +    if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
5353 +  $as_echo_n "(cached) " >&6
5354 +else
5355 +
5356 +
5357 +      ac_ext=cpp
5358 +ac_cpp='$CXXCPP $CPPFLAGS'
5359 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5360 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5361 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5362 +
5363 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5364 +/* end confdefs.h.  */
5365 +#include <math.h>
5366 +		      #ifdef HAVE_IEEEFP_H
5367 +		      #include <ieeefp.h>
5368 +		      #endif
5369 +
5370 +int
5371 +main ()
5372 +{
5373 + log10l(0);
5374 +  ;
5375 +  return 0;
5376 +}
5377 +_ACEOF
5378 +if ac_fn_cxx_try_compile "$LINENO"; then :
5379 +  glibcxx_cv_func_log10l_use=yes
5380 +else
5381 +  glibcxx_cv_func_log10l_use=no
5382 +fi
5383 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5384 +      ac_ext=c
5385 +ac_cpp='$CPP $CPPFLAGS'
5386 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5387 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5388 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5389 +
5390 +
5391 +fi
5392 +
5393 +  fi
5394 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
5395 +$as_echo "$glibcxx_cv_func_log10l_use" >&6; }
5396 +
5397 +  if test x$glibcxx_cv_func_log10l_use = x"yes"; then
5398 +    for ac_func in log10l
5399 +do :
5400 +  ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
5401 +if test "x$ac_cv_func_log10l" = x""yes; then :
5402 +  cat >>confdefs.h <<_ACEOF
5403 +#define HAVE_LOG10L 1
5404 +_ACEOF
5405 +
5406 +fi
5407 +done
5408 +
5409 +  else
5410 +
5411 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
5412 +$as_echo_n "checking for _log10l declaration... " >&6; }
5413 +  if test x${glibcxx_cv_func__log10l_use+set} != xset; then
5414 +    if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
5415 +  $as_echo_n "(cached) " >&6
5416 +else
5417 +
5418 +
5419 +      ac_ext=cpp
5420 +ac_cpp='$CXXCPP $CPPFLAGS'
5421 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5422 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5423 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5424 +
5425 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5426 +/* end confdefs.h.  */
5427 +#include <math.h>
5428 +		      #ifdef HAVE_IEEEFP_H
5429 +		      #include <ieeefp.h>
5430 +		      #endif
5431 +
5432 +int
5433 +main ()
5434 +{
5435 + _log10l(0);
5436 +  ;
5437 +  return 0;
5438 +}
5439 +_ACEOF
5440 +if ac_fn_cxx_try_compile "$LINENO"; then :
5441 +  glibcxx_cv_func__log10l_use=yes
5442 +else
5443 +  glibcxx_cv_func__log10l_use=no
5444 +fi
5445 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5446 +      ac_ext=c
5447 +ac_cpp='$CPP $CPPFLAGS'
5448 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5449 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5450 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5451 +
5452 +
5453 +fi
5454 +
5455 +  fi
5456 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
5457 +$as_echo "$glibcxx_cv_func__log10l_use" >&6; }
5458 +
5459 +    if test x$glibcxx_cv_func__log10l_use = x"yes"; then
5460 +      for ac_func in _log10l
5461 +do :
5462 +  ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
5463 +if test "x$ac_cv_func__log10l" = x""yes; then :
5464 +  cat >>confdefs.h <<_ACEOF
5465 +#define HAVE__LOG10L 1
5466 +_ACEOF
5467 +
5468 +fi
5469 +done
5470 +
5471 +    fi
5472 +  fi
5473 +
5474 +
5475 +
5476 +
5477 +
5478 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
5479 +$as_echo_n "checking for modfl declaration... " >&6; }
5480 +  if test x${glibcxx_cv_func_modfl_use+set} != xset; then
5481 +    if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
5482 +  $as_echo_n "(cached) " >&6
5483 +else
5484 +
5485 +
5486 +      ac_ext=cpp
5487 +ac_cpp='$CXXCPP $CPPFLAGS'
5488 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5489 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5490 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5491 +
5492 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5493 +/* end confdefs.h.  */
5494 +#include <math.h>
5495 +int
5496 +main ()
5497 +{
5498 + modfl(0, 0);
5499 +  ;
5500 +  return 0;
5501 +}
5502 +_ACEOF
5503 +if ac_fn_cxx_try_compile "$LINENO"; then :
5504 +  glibcxx_cv_func_modfl_use=yes
5505 +else
5506 +  glibcxx_cv_func_modfl_use=no
5507 +fi
5508 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5509 +      ac_ext=c
5510 +ac_cpp='$CPP $CPPFLAGS'
5511 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5512 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5513 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5514 +
5515 +
5516 +fi
5517 +
5518 +  fi
5519 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
5520 +$as_echo "$glibcxx_cv_func_modfl_use" >&6; }
5521 +
5522 +  if test x$glibcxx_cv_func_modfl_use = x"yes"; then
5523 +    for ac_func in modfl
5524 +do :
5525 +  ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
5526 +if test "x$ac_cv_func_modfl" = x""yes; then :
5527 +  cat >>confdefs.h <<_ACEOF
5528 +#define HAVE_MODFL 1
5529 +_ACEOF
5530 +
5531 +fi
5532 +done
5533 +
5534 +  else
5535 +
5536 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
5537 +$as_echo_n "checking for _modfl declaration... " >&6; }
5538 +  if test x${glibcxx_cv_func__modfl_use+set} != xset; then
5539 +    if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
5540 +  $as_echo_n "(cached) " >&6
5541 +else
5542 +
5543 +
5544 +      ac_ext=cpp
5545 +ac_cpp='$CXXCPP $CPPFLAGS'
5546 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5547 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5548 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5549 +
5550 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5551 +/* end confdefs.h.  */
5552 +#include <math.h>
5553 +int
5554 +main ()
5555 +{
5556 + _modfl(0, 0);
5557 +  ;
5558 +  return 0;
5559 +}
5560 +_ACEOF
5561 +if ac_fn_cxx_try_compile "$LINENO"; then :
5562 +  glibcxx_cv_func__modfl_use=yes
5563 +else
5564 +  glibcxx_cv_func__modfl_use=no
5565 +fi
5566 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5567 +      ac_ext=c
5568 +ac_cpp='$CPP $CPPFLAGS'
5569 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5570 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5571 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5572 +
5573 +
5574 +fi
5575 +
5576 +  fi
5577 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
5578 +$as_echo "$glibcxx_cv_func__modfl_use" >&6; }
5579 +
5580 +    if test x$glibcxx_cv_func__modfl_use = x"yes"; then
5581 +      for ac_func in _modfl
5582 +do :
5583 +  ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
5584 +if test "x$ac_cv_func__modfl" = x""yes; then :
5585 +  cat >>confdefs.h <<_ACEOF
5586 +#define HAVE__MODFL 1
5587 +_ACEOF
5588 +
5589 +fi
5590 +done
5591 +
5592 +    fi
5593 +  fi
5594 +
5595 +
5596 +
5597 +
5598 +
5599 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
5600 +$as_echo_n "checking for powl declaration... " >&6; }
5601 +  if test x${glibcxx_cv_func_powl_use+set} != xset; then
5602 +    if test "${glibcxx_cv_func_powl_use+set}" = set; then :
5603 +  $as_echo_n "(cached) " >&6
5604 +else
5605 +
5606 +
5607 +      ac_ext=cpp
5608 +ac_cpp='$CXXCPP $CPPFLAGS'
5609 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5610 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5611 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5612 +
5613 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5614 +/* end confdefs.h.  */
5615 +#include <math.h>
5616 +int
5617 +main ()
5618 +{
5619 + powl(0, 0);
5620 +  ;
5621 +  return 0;
5622 +}
5623 +_ACEOF
5624 +if ac_fn_cxx_try_compile "$LINENO"; then :
5625 +  glibcxx_cv_func_powl_use=yes
5626 +else
5627 +  glibcxx_cv_func_powl_use=no
5628 +fi
5629 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5630 +      ac_ext=c
5631 +ac_cpp='$CPP $CPPFLAGS'
5632 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5633 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5634 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5635 +
5636 +
5637 +fi
5638 +
5639 +  fi
5640 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
5641 +$as_echo "$glibcxx_cv_func_powl_use" >&6; }
5642 +
5643 +  if test x$glibcxx_cv_func_powl_use = x"yes"; then
5644 +    for ac_func in powl
5645 +do :
5646 +  ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
5647 +if test "x$ac_cv_func_powl" = x""yes; then :
5648 +  cat >>confdefs.h <<_ACEOF
5649 +#define HAVE_POWL 1
5650 +_ACEOF
5651 +
5652 +fi
5653 +done
5654 +
5655 +  else
5656 +
5657 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
5658 +$as_echo_n "checking for _powl declaration... " >&6; }
5659 +  if test x${glibcxx_cv_func__powl_use+set} != xset; then
5660 +    if test "${glibcxx_cv_func__powl_use+set}" = set; then :
5661 +  $as_echo_n "(cached) " >&6
5662 +else
5663 +
5664 +
5665 +      ac_ext=cpp
5666 +ac_cpp='$CXXCPP $CPPFLAGS'
5667 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5668 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5669 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5670 +
5671 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5672 +/* end confdefs.h.  */
5673 +#include <math.h>
5674 +int
5675 +main ()
5676 +{
5677 + _powl(0, 0);
5678 +  ;
5679 +  return 0;
5680 +}
5681 +_ACEOF
5682 +if ac_fn_cxx_try_compile "$LINENO"; then :
5683 +  glibcxx_cv_func__powl_use=yes
5684 +else
5685 +  glibcxx_cv_func__powl_use=no
5686 +fi
5687 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5688 +      ac_ext=c
5689 +ac_cpp='$CPP $CPPFLAGS'
5690 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5691 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5692 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5693 +
5694 +
5695 +fi
5696 +
5697 +  fi
5698 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
5699 +$as_echo "$glibcxx_cv_func__powl_use" >&6; }
5700 +
5701 +    if test x$glibcxx_cv_func__powl_use = x"yes"; then
5702 +      for ac_func in _powl
5703 +do :
5704 +  ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
5705 +if test "x$ac_cv_func__powl" = x""yes; then :
5706 +  cat >>confdefs.h <<_ACEOF
5707 +#define HAVE__POWL 1
5708 +_ACEOF
5709 +
5710 +fi
5711 +done
5712 +
5713 +    fi
5714 +  fi
5715 +
5716 +
5717 +
5718 +
5719 +
5720 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
5721 +$as_echo_n "checking for sqrtl declaration... " >&6; }
5722 +  if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
5723 +    if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
5724 +  $as_echo_n "(cached) " >&6
5725 +else
5726 +
5727 +
5728 +      ac_ext=cpp
5729 +ac_cpp='$CXXCPP $CPPFLAGS'
5730 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5731 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5732 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5733 +
5734 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5735 +/* end confdefs.h.  */
5736 +#include <math.h>
5737 +		      #ifdef HAVE_IEEEFP_H
5738 +		      #include <ieeefp.h>
5739 +		      #endif
5740 +
5741 +int
5742 +main ()
5743 +{
5744 + sqrtl(0);
5745 +  ;
5746 +  return 0;
5747 +}
5748 +_ACEOF
5749 +if ac_fn_cxx_try_compile "$LINENO"; then :
5750 +  glibcxx_cv_func_sqrtl_use=yes
5751 +else
5752 +  glibcxx_cv_func_sqrtl_use=no
5753 +fi
5754 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5755 +      ac_ext=c
5756 +ac_cpp='$CPP $CPPFLAGS'
5757 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5758 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5759 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5760 +
5761 +
5762 +fi
5763 +
5764 +  fi
5765 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
5766 +$as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
5767 +
5768 +  if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
5769 +    for ac_func in sqrtl
5770 +do :
5771 +  ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
5772 +if test "x$ac_cv_func_sqrtl" = x""yes; then :
5773 +  cat >>confdefs.h <<_ACEOF
5774 +#define HAVE_SQRTL 1
5775 +_ACEOF
5776 +
5777 +fi
5778 +done
5779 +
5780 +  else
5781 +
5782 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
5783 +$as_echo_n "checking for _sqrtl declaration... " >&6; }
5784 +  if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
5785 +    if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
5786 +  $as_echo_n "(cached) " >&6
5787 +else
5788 +
5789 +
5790 +      ac_ext=cpp
5791 +ac_cpp='$CXXCPP $CPPFLAGS'
5792 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5793 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5794 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5795 +
5796 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5797 +/* end confdefs.h.  */
5798 +#include <math.h>
5799 +		      #ifdef HAVE_IEEEFP_H
5800 +		      #include <ieeefp.h>
5801 +		      #endif
5802 +
5803 +int
5804 +main ()
5805 +{
5806 + _sqrtl(0);
5807 +  ;
5808 +  return 0;
5809 +}
5810 +_ACEOF
5811 +if ac_fn_cxx_try_compile "$LINENO"; then :
5812 +  glibcxx_cv_func__sqrtl_use=yes
5813 +else
5814 +  glibcxx_cv_func__sqrtl_use=no
5815 +fi
5816 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5817 +      ac_ext=c
5818 +ac_cpp='$CPP $CPPFLAGS'
5819 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5820 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5821 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5822 +
5823 +
5824 +fi
5825 +
5826 +  fi
5827 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
5828 +$as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
5829 +
5830 +    if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
5831 +      for ac_func in _sqrtl
5832 +do :
5833 +  ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
5834 +if test "x$ac_cv_func__sqrtl" = x""yes; then :
5835 +  cat >>confdefs.h <<_ACEOF
5836 +#define HAVE__SQRTL 1
5837 +_ACEOF
5838 +
5839 +fi
5840 +done
5841 +
5842 +    fi
5843 +  fi
5844 +
5845 +
5846 +
5847 +
5848 +
5849 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
5850 +$as_echo_n "checking for sincosl declaration... " >&6; }
5851 +  if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
5852 +    if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
5853 +  $as_echo_n "(cached) " >&6
5854 +else
5855 +
5856 +
5857 +      ac_ext=cpp
5858 +ac_cpp='$CXXCPP $CPPFLAGS'
5859 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5860 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5861 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5862 +
5863 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5864 +/* end confdefs.h.  */
5865 +#include <math.h>
5866 +int
5867 +main ()
5868 +{
5869 + sincosl(0, 0, 0);
5870 +  ;
5871 +  return 0;
5872 +}
5873 +_ACEOF
5874 +if ac_fn_cxx_try_compile "$LINENO"; then :
5875 +  glibcxx_cv_func_sincosl_use=yes
5876 +else
5877 +  glibcxx_cv_func_sincosl_use=no
5878 +fi
5879 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5880 +      ac_ext=c
5881 +ac_cpp='$CPP $CPPFLAGS'
5882 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5883 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5884 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5885 +
5886 +
5887 +fi
5888 +
5889 +  fi
5890 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
5891 +$as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
5892 +
5893 +  if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
5894 +    for ac_func in sincosl
5895 +do :
5896 +  ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
5897 +if test "x$ac_cv_func_sincosl" = x""yes; then :
5898 +  cat >>confdefs.h <<_ACEOF
5899 +#define HAVE_SINCOSL 1
5900 +_ACEOF
5901 +
5902 +fi
5903 +done
5904 +
5905 +  else
5906 +
5907 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
5908 +$as_echo_n "checking for _sincosl declaration... " >&6; }
5909 +  if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
5910 +    if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
5911 +  $as_echo_n "(cached) " >&6
5912 +else
5913 +
5914 +
5915 +      ac_ext=cpp
5916 +ac_cpp='$CXXCPP $CPPFLAGS'
5917 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5918 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5919 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5920 +
5921 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5922 +/* end confdefs.h.  */
5923 +#include <math.h>
5924 +int
5925 +main ()
5926 +{
5927 + _sincosl(0, 0, 0);
5928 +  ;
5929 +  return 0;
5930 +}
5931 +_ACEOF
5932 +if ac_fn_cxx_try_compile "$LINENO"; then :
5933 +  glibcxx_cv_func__sincosl_use=yes
5934 +else
5935 +  glibcxx_cv_func__sincosl_use=no
5936 +fi
5937 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5938 +      ac_ext=c
5939 +ac_cpp='$CPP $CPPFLAGS'
5940 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5941 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5942 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
5943 +
5944 +
5945 +fi
5946 +
5947 +  fi
5948 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
5949 +$as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
5950 +
5951 +    if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
5952 +      for ac_func in _sincosl
5953 +do :
5954 +  ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
5955 +if test "x$ac_cv_func__sincosl" = x""yes; then :
5956 +  cat >>confdefs.h <<_ACEOF
5957 +#define HAVE__SINCOSL 1
5958 +_ACEOF
5959 +
5960 +fi
5961 +done
5962 +
5963 +    fi
5964 +  fi
5965 +
5966 +
5967 +
5968 +
5969 +
5970 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
5971 +$as_echo_n "checking for finitel declaration... " >&6; }
5972 +  if test x${glibcxx_cv_func_finitel_use+set} != xset; then
5973 +    if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
5974 +  $as_echo_n "(cached) " >&6
5975 +else
5976 +
5977 +
5978 +      ac_ext=cpp
5979 +ac_cpp='$CXXCPP $CPPFLAGS'
5980 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5981 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5982 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5983 +
5984 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5985 +/* end confdefs.h.  */
5986 +#include <math.h>
5987 +		      #ifdef HAVE_IEEEFP_H
5988 +		      #include <ieeefp.h>
5989 +		      #endif
5990 +
5991 +int
5992 +main ()
5993 +{
5994 + finitel(0);
5995 +  ;
5996 +  return 0;
5997 +}
5998 +_ACEOF
5999 +if ac_fn_cxx_try_compile "$LINENO"; then :
6000 +  glibcxx_cv_func_finitel_use=yes
6001 +else
6002 +  glibcxx_cv_func_finitel_use=no
6003 +fi
6004 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6005 +      ac_ext=c
6006 +ac_cpp='$CPP $CPPFLAGS'
6007 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6008 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6009 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6010 +
6011 +
6012 +fi
6013 +
6014 +  fi
6015 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
6016 +$as_echo "$glibcxx_cv_func_finitel_use" >&6; }
6017 +
6018 +  if test x$glibcxx_cv_func_finitel_use = x"yes"; then
6019 +    for ac_func in finitel
6020 +do :
6021 +  ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
6022 +if test "x$ac_cv_func_finitel" = x""yes; then :
6023 +  cat >>confdefs.h <<_ACEOF
6024 +#define HAVE_FINITEL 1
6025 +_ACEOF
6026 +
6027 +fi
6028 +done
6029 +
6030 +  else
6031 +
6032 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
6033 +$as_echo_n "checking for _finitel declaration... " >&6; }
6034 +  if test x${glibcxx_cv_func__finitel_use+set} != xset; then
6035 +    if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
6036 +  $as_echo_n "(cached) " >&6
6037 +else
6038 +
6039 +
6040 +      ac_ext=cpp
6041 +ac_cpp='$CXXCPP $CPPFLAGS'
6042 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6043 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6044 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6045 +
6046 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6047 +/* end confdefs.h.  */
6048 +#include <math.h>
6049 +		      #ifdef HAVE_IEEEFP_H
6050 +		      #include <ieeefp.h>
6051 +		      #endif
6052 +
6053 +int
6054 +main ()
6055 +{
6056 + _finitel(0);
6057 +  ;
6058 +  return 0;
6059 +}
6060 +_ACEOF
6061 +if ac_fn_cxx_try_compile "$LINENO"; then :
6062 +  glibcxx_cv_func__finitel_use=yes
6063 +else
6064 +  glibcxx_cv_func__finitel_use=no
6065 +fi
6066 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6067 +      ac_ext=c
6068 +ac_cpp='$CPP $CPPFLAGS'
6069 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6070 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6071 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6072 +
6073 +
6074 +fi
6075 +
6076 +  fi
6077 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
6078 +$as_echo "$glibcxx_cv_func__finitel_use" >&6; }
6079 +
6080 +    if test x$glibcxx_cv_func__finitel_use = x"yes"; then
6081 +      for ac_func in _finitel
6082 +do :
6083 +  ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
6084 +if test "x$ac_cv_func__finitel" = x""yes; then :
6085 +  cat >>confdefs.h <<_ACEOF
6086 +#define HAVE__FINITEL 1
6087 +_ACEOF
6088 +
6089 +fi
6090 +done
6091 +
6092 +    fi
6093 +  fi
6094 +
6095 +
6096 +
6097 +
6098 +  LIBS="$ac_save_LIBS"
6099 +  CXXFLAGS="$ac_save_CXXFLAGS"
6100 +
6101 +
6102 +  ac_test_CXXFLAGS="${CXXFLAGS+set}"
6103 +  ac_save_CXXFLAGS="$CXXFLAGS"
6104 +  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
6105 +
6106 +
6107 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
6108 +$as_echo_n "checking for strtold declaration... " >&6; }
6109 +  if test x${glibcxx_cv_func_strtold_use+set} != xset; then
6110 +    if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
6111 +  $as_echo_n "(cached) " >&6
6112 +else
6113 +
6114 +
6115 +      ac_ext=cpp
6116 +ac_cpp='$CXXCPP $CPPFLAGS'
6117 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6118 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6119 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6120 +
6121 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6122 +/* end confdefs.h.  */
6123 +#include <stdlib.h>
6124 +int
6125 +main ()
6126 +{
6127 + strtold(0, 0);
6128 +  ;
6129 +  return 0;
6130 +}
6131 +_ACEOF
6132 +if ac_fn_cxx_try_compile "$LINENO"; then :
6133 +  glibcxx_cv_func_strtold_use=yes
6134 +else
6135 +  glibcxx_cv_func_strtold_use=no
6136 +fi
6137 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6138 +      ac_ext=c
6139 +ac_cpp='$CPP $CPPFLAGS'
6140 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6141 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6142 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6143 +
6144 +
6145 +fi
6146 +
6147 +  fi
6148 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
6149 +$as_echo "$glibcxx_cv_func_strtold_use" >&6; }
6150 +  if test x$glibcxx_cv_func_strtold_use = x"yes"; then
6151 +    for ac_func in strtold
6152 +do :
6153 +  ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
6154 +if test "x$ac_cv_func_strtold" = x""yes; then :
6155 +  cat >>confdefs.h <<_ACEOF
6156 +#define HAVE_STRTOLD 1
6157 +_ACEOF
6158 +
6159 +fi
6160 +done
6161 +
6162 +  fi
6163 +
6164 +
6165 +
6166 +
6167 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
6168 +$as_echo_n "checking for strtof declaration... " >&6; }
6169 +  if test x${glibcxx_cv_func_strtof_use+set} != xset; then
6170 +    if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
6171 +  $as_echo_n "(cached) " >&6
6172 +else
6173 +
6174 +
6175 +      ac_ext=cpp
6176 +ac_cpp='$CXXCPP $CPPFLAGS'
6177 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6178 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6179 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6180 +
6181 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6182 +/* end confdefs.h.  */
6183 +#include <stdlib.h>
6184 +int
6185 +main ()
6186 +{
6187 + strtof(0, 0);
6188 +  ;
6189 +  return 0;
6190 +}
6191 +_ACEOF
6192 +if ac_fn_cxx_try_compile "$LINENO"; then :
6193 +  glibcxx_cv_func_strtof_use=yes
6194 +else
6195 +  glibcxx_cv_func_strtof_use=no
6196 +fi
6197 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6198 +      ac_ext=c
6199 +ac_cpp='$CPP $CPPFLAGS'
6200 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6201 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6202 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
6203 +
6204 +
6205 +fi
6206 +
6207 +  fi
6208 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
6209 +$as_echo "$glibcxx_cv_func_strtof_use" >&6; }
6210 +  if test x$glibcxx_cv_func_strtof_use = x"yes"; then
6211 +    for ac_func in strtof
6212 +do :
6213 +  ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
6214 +if test "x$ac_cv_func_strtof" = x""yes; then :
6215 +  cat >>confdefs.h <<_ACEOF
6216 +#define HAVE_STRTOF 1
6217 +_ACEOF
6218 +
6219 +fi
6220 +done
6221 +
6222 +  fi
6223 +
6224 +
6225 +
6226 +
6227 +  CXXFLAGS="$ac_save_CXXFLAGS"
6228 +
6229 +    ;;
6230    *-mingw32*)
6231  
6232    # If we're not using GNU ld, then there's no point in even trying these
6233 diff --git a/libstdc++-v3/crossconfig.m4 b/libstdc++-v3/crossconfig.m4
6234 index 361ed0b..43a8bcc 100644
6235 --- a/libstdc++-v3/crossconfig.m4
6236 +++ b/libstdc++-v3/crossconfig.m4
6237 @@ -150,6 +150,12 @@ case "${host}" in
6238      GCC_CHECK_TLS
6239      AM_ICONV
6240      ;;
6241 +  *-barrelfish*)
6242 +    GLIBCXX_CHECK_COMPILER_FEATURES
6243 +    GLIBCXX_CHECK_LINKER_FEATURES
6244 +    GLIBCXX_CHECK_MATH_SUPPORT
6245 +    GLIBCXX_CHECK_STDLIB_SUPPORT
6246 +    ;;
6247    *-mingw32*)
6248      GLIBCXX_CHECK_LINKER_FEATURES
6249      GLIBCXX_CHECK_MATH_SUPPORT
6250 diff --git a/libstdc++-v3/include/c_global/csignal b/libstdc++-v3/include/c_global/csignal
6251 index 98f0d66..8a46169 100644
6252 --- a/libstdc++-v3/include/c_global/csignal
6253 +++ b/libstdc++-v3/include/c_global/csignal
6254 @@ -51,9 +51,9 @@
6255  
6256  namespace std
6257  {
6258 -  using ::sig_atomic_t;
6259 +  //using ::sig_atomic_t;
6260    using ::signal;
6261 -  using ::raise;
6262 +  //using ::raise;
6263  } // namespace std
6264  
6265  #endif

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2012-11-28 11:45:27, 32.4 KB) [[attachment:binutils-2.21-bf.patch]]
  • [get | view] (2013-03-30 20:30:57, 34.5 KB) [[attachment:binutils-2.23.2-barrelfish.patch]]
  • [get | view] (2014-01-13 15:01:01, 34.6 KB) [[attachment:binutils-2.24-barrelfish.patch]]
  • [get | view] (2014-12-04 23:29:28, 4.0 KB) [[attachment:build-toolchain.sh]]
  • [get | view] (2012-11-28 11:46:01, 161.1 KB) [[attachment:gcc-4.5.2-bf.patch]]
  • [get | view] (2013-04-24 15:01:56, 164.8 KB) [[attachment:gcc-4.7.3-barrelfish.patch]]
  • [get | view] (2014-12-04 23:29:37, 168.6 KB) [[attachment:gcc-4.8.3-barrelfish.patch]]
  • [get | view] (2014-12-04 23:29:45, 168.7 KB) [[attachment:gcc-4.9.2-barrelfish.patch]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.