Attachment 'gcc-4.9.2-barrelfish.patch'

Download

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