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