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