Attachment 'gcc-4.5.2-bf.patch'

Download

   1 diff --git a/config.sub b/config.sub
   2 index ae35431..7696a17 100755
   3 --- a/config.sub
   4 +++ b/config.sub
   5 @@ -1297,6 +1297,7 @@ case $os in
   6  	      | -sym* | -kopensolaris* \
   7  	      | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
   8  	      | -aos* | -aros* \
   9 +              | -barrelfish* \
  10  	      | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
  11  	      | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
  12  	      | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
  13 diff --git a/gcc/config.gcc b/gcc/config.gcc
  14 index 6db775e..a902f22 100644
  15 --- a/gcc/config.gcc
  16 +++ b/gcc/config.gcc
  17 @@ -534,6 +534,12 @@ case ${target} in
  18    use_gcc_tgmath=no
  19    use_gcc_stdint=wrap
  20    ;;
  21 +*-*-barrelfish*)
  22 +  extra_parts="crtbegin.o crtend.o"
  23 +  gas=yes
  24 +  gnu_ld=yes
  25 +  default_use_cxa_atexit=yes
  26 +  ;;
  27  *-*-netbsd*)
  28    tmake_file="t-slibgcc-elf-ver t-libc-ok t-netbsd t-libgcc-pic"
  29    gas=yes
  30 @@ -1106,10 +1112,24 @@ i[34567]86-*-elf*)
  31  	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h"
  32  	tmake_file="${tmake_file} i386/t-i386elf t-svr4"
  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/bf-x86_32.h"
  36 +	tmake_file="${tmake_file} i386/t-i386elf i386/t-crtstuff"
  37 +	use_fixproto=yes
  38 +	;;
  39 +i[34567]86-scc-barrelfish*)
  40 +	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/bf-scc.h"
  41 +	tmake_file="${tmake_file} i386/t-i386elf i386/t-crtstuff"
  42 +	use_fixproto=yes
  43 +	;;
  44  x86_64-*-elf*)
  45  	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h"
  46  	tmake_file="${tmake_file} i386/t-i386elf t-svr4"
  47  	;;
  48 +x86_64-*-barrelfish*)
  49 +	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/bf-x86_64.h"
  50 +	tmake_file="${tmake_file} i386/t-i386elf i386/t-crtstuff"
  51 +	;;
  52  i[34567]86-*-freebsd*)
  53  	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h"
  54  	;;
  55 diff --git a/gcc/config/i386/bf-scc.h b/gcc/config/i386/bf-scc.h
  56 new file mode 100644
  57 index 0000000..93d6d4e
  58 --- /dev/null
  59 +++ b/gcc/config/i386/bf-scc.h
  60 @@ -0,0 +1,35 @@
  61 +#define BF_SRC   "/home/zeus/arm/bf"
  62 +#define BF_BUILD "/home/zeus/arm/bf/build"
  63 +
  64 +#undef TARGET_OS_CPP_BUILTINS
  65 +#define TARGET_OS_CPP_BUILTINS()        \
  66 +  do {                                  \
  67 +    builtin_define ("BARRELFISH");      \
  68 +    builtin_define_std ("barrelfish");  \
  69 +    builtin_define_std ("unix");        \
  70 +    builtin_define_std ("scc");         \
  71 +    builtin_define ("CONFIG_LAZY_THC"); \
  72 +    builtin_define ("CONFIG_NEWLIB");   \
  73 +    builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP");      \
  74 +    builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP");      \
  75 +    builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP");         \
  76 +    builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP_IPI");     \
  77 +    builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\"");       \
  78 +    builtin_define ("BF_SRC_DIR=\"" BF_SRC "\"");           \
  79 +    builtin_assert ("system=barrelfish"); \
  80 +    builtin_assert ("system=unix");       \
  81 +  } while(0);
  82 +
  83 +#define LIB_SPEC "-L" BF_BUILD "/scc/lib -lbarrelfish -loctopus_parser " BF_BUILD "/scc/errors/errno.o -lnewlib -lposixcompat -lvfs -llwip -lbarrelfish -lnewlib -lnfs -lahci -lnewlib"
  84 +
  85 +#undef  CC1_SPEC
  86 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
  87 +
  88 +#undef  CPP_SPEC
  89 +#define CPP_SPEC "-I" BF_SRC "/include -I" BF_SRC "/include/arch/scc -I" BF_SRC "/include/arch/x86_32 -I" BF_SRC "/lib/newlib/newlib/libc/include -I" BF_SRC "/include/c -I" BF_SRC "/include/target/x86_32 -I" BF_SRC "/include/ipv4 -I" BF_BUILD "/scc/include -I" BF_BUILD "/scc/include/dev"
  90 +
  91 +#undef  STARTFILE_SPEC
  92 +#define STARTFILE_SPEC BF_BUILD "/scc/lib/crt0.o%s " BF_BUILD "/scc/lib/crtbegin.o%s"
  93 +
  94 +#undef  ENDFILE_SPEC
  95 +#define ENDFILE_SPEC BF_BUILD "/scc/lib/crtend.o%s -lcollections"
  96 diff --git a/gcc/config/i386/bf-x86_32.h b/gcc/config/i386/bf-x86_32.h
  97 new file mode 100644
  98 index 0000000..b44d494
  99 --- /dev/null
 100 +++ b/gcc/config/i386/bf-x86_32.h
 101 @@ -0,0 +1,34 @@
 102 +#define BF_SRC   "/home/zeus/arm/bf"
 103 +#define BF_BUILD "/home/zeus/arm/bf/build"
 104 +
 105 +#undef TARGET_OS_CPP_BUILTINS
 106 +#define TARGET_OS_CPP_BUILTINS()        \
 107 +  do {                                  \
 108 +    builtin_define ("BARRELFISH");      \
 109 +    builtin_define_std ("barrelfish");  \
 110 +    builtin_define_std ("unix");        \
 111 +    builtin_define ("CONFIG_LAZY_THC"); \
 112 +    builtin_define ("CONFIG_NEWLIB");   \
 113 +    builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP");      \
 114 +    builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP");      \
 115 +    builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP");         \
 116 +    builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP");         \
 117 +    builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\"");       \
 118 +    builtin_define ("BF_SRC_DIR=\"" BF_SRC "\"");           \
 119 +    builtin_assert ("system=barrelfish"); \
 120 +    builtin_assert ("system=unix");       \
 121 +  } while(0);
 122 +
 123 +#define LIB_SPEC "-L" BF_BUILD "/x86_32/lib -lbarrelfish -loctopus_parser " BF_BUILD "/x86_32/errors/errno.o -lnewlib -lposixcompat -lvfs -llwip -lbarrelfish -lnewlib -lnfs -lahci -lnewlib"
 124 +
 125 +#undef  CC1_SPEC
 126 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
 127 +
 128 +#undef  CPP_SPEC
 129 +#define CPP_SPEC "-I" BF_SRC "/include -I" BF_SRC "/include/arch/x86_32 -I" BF_SRC "/lib/newlib/newlib/libc/include -I" BF_SRC "/include/c -I" BF_SRC "/include/target/x86_32 -I" BF_SRC "/include/ipv4 -I" BF_BUILD "/x86_32/include -I" BF_BUILD "/x86_32/include/dev"
 130 +
 131 +#undef  STARTFILE_SPEC
 132 +#define STARTFILE_SPEC BF_BUILD "/x86_32/lib/crt0.o%s " BF_BUILD "/x86_32/lib/crtbegin.o%s"
 133 +
 134 +#undef  ENDFILE_SPEC
 135 +#define ENDFILE_SPEC BF_BUILD "/x86_32/lib/crtend.o%s -lcollections"
 136 diff --git a/gcc/config/i386/bf-x86_64.h b/gcc/config/i386/bf-x86_64.h
 137 new file mode 100644
 138 index 0000000..dbba6e5
 139 --- /dev/null
 140 +++ b/gcc/config/i386/bf-x86_64.h
 141 @@ -0,0 +1,34 @@
 142 +#define BF_SRC   "/home/zeus/arm/bf"
 143 +#define BF_BUILD "/home/zeus/arm/bf/build"
 144 +
 145 +#undef TARGET_OS_CPP_BUILTINS
 146 +#define TARGET_OS_CPP_BUILTINS()        \
 147 +  do {                                  \
 148 +    builtin_define ("BARRELFISH");      \
 149 +    builtin_define_std ("barrelfish");  \
 150 +    builtin_define_std ("unix");        \
 151 +    builtin_define ("CONFIG_LAZY_THC"); \
 152 +    builtin_define ("CONFIG_NEWLIB");   \
 153 +    builtin_define ("CONFIG_INTERCONNECT_DRIVER_LMP");      \
 154 +    builtin_define ("CONFIG_INTERCONNECT_DRIVER_UMP");      \
 155 +    builtin_define ("CONFIG_FLOUNDER_BACKEND_LMP");         \
 156 +    builtin_define ("CONFIG_FLOUNDER_BACKEND_UMP");         \
 157 +    builtin_define ("BF_BUILD_DIR=\"" BF_BUILD "\"");       \
 158 +    builtin_define ("BF_SRC_DIR=\"" BF_SRC "\"");           \
 159 +    builtin_assert ("system=barrelfish"); \
 160 +    builtin_assert ("system=unix");       \
 161 +  } while(0);
 162 +
 163 +#define LIB_SPEC "-L" BF_BUILD "/x86_64/lib -lbarrelfish -loctopus_parser " BF_BUILD "/x86_64/errors/errno.o -lnewlib -lposixcompat -lvfs -llwip -lbarrelfish -lnewlib -lnfs -lahci -lnewlib"
 164 +
 165 +#undef  CC1_SPEC
 166 +#define CC1_SPEC "%(cc1_cpu) -mno-red-zone"
 167 +
 168 +#undef  CPP_SPEC
 169 +#define CPP_SPEC "-I" BF_SRC "/include -I" BF_SRC "/include/arch/x86_64 -I" BF_SRC "/lib/newlib/newlib/libc/include -I" BF_SRC "/include/c -I" BF_SRC "/include/target/x86_64 -I" BF_SRC "/include/ipv4 -I" BF_BUILD "/x86_64/include -I" BF_BUILD "/x86_64/include/dev"
 170 +
 171 +#undef  STARTFILE_SPEC
 172 +#define STARTFILE_SPEC BF_BUILD "/x86_64/lib/crt0.o%s " BF_BUILD "/x86_64/lib/crtbegin.o%s"
 173 +
 174 +#undef  ENDFILE_SPEC
 175 +#define ENDFILE_SPEC BF_BUILD "/x86_64/lib/crtend.o%s -lcollections"
 176 diff --git a/gcc/testsuite/g++.dg/dg.exp b/gcc/testsuite/g++.dg/dg.exp
 177 index 2642da1..7b9fdb5 100644
 178 --- a/gcc/testsuite/g++.dg/dg.exp
 179 +++ b/gcc/testsuite/g++.dg/dg.exp
 180 @@ -31,6 +31,7 @@ dg-init
 181  # Gather a list of all tests, with the exception of those in directories
 182  # that are handled specially.
 183  set tests [lsort [find $srcdir/$subdir *.C]]
 184 +set tests [prune $tests $srcdir/$subdir/eh/*]
 185  set tests [prune $tests $srcdir/$subdir/bprob/*]
 186  set tests [prune $tests $srcdir/$subdir/charset/*]
 187  set tests [prune $tests $srcdir/$subdir/compat/*]
 188 diff --git a/gcc/unwind-dw2-fde-glibc.c b/gcc/unwind-dw2-fde-glibc.c
 189 index b8a7312..eed5fac 100644
 190 --- a/gcc/unwind-dw2-fde-glibc.c
 191 +++ b/gcc/unwind-dw2-fde-glibc.c
 192 @@ -423,7 +423,7 @@ _Unwind_Find_FDE (void *pc, struct dwarf_eh_bases *bases)
 193    data.ret = NULL;
 194    data.check_cache = 1;
 195  
 196 -  if (dl_iterate_phdr (_Unwind_IteratePhdrCallback, &data) < 0)
 197 +  //if (dl_iterate_phdr (_Unwind_IteratePhdrCallback, &data) < 0)
 198      return NULL;
 199  
 200    if (data.ret)
 201 diff --git a/libgcc/config.host b/libgcc/config.host
 202 index b84940c..6656e16 100644
 203 --- a/libgcc/config.host
 204 +++ b/libgcc/config.host
 205 @@ -296,6 +296,8 @@ i[34567]86-*-linux* | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | i
 206  	extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
 207  	tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
 208  	;;
 209 +*-barrelfish*)
 210 +	;;
 211  x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
 212  	extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
 213  	tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm"
 214 diff --git a/libiberty/clock.c b/libiberty/clock.c
 215 index 07d902e..4d5817a 100644
 216 --- a/libiberty/clock.c
 217 +++ b/libiberty/clock.c
 218 @@ -66,7 +66,7 @@ number of seconds used.
 219  
 220  /* FIXME: should be able to declare as clock_t. */
 221  
 222 -long
 223 +clock_t
 224  clock (void)
 225  {
 226  #ifdef HAVE_GETRUSAGE
 227 diff --git a/libiberty/gettimeofday.c b/libiberty/gettimeofday.c
 228 index fca1679..88f2f5a 100644
 229 --- a/libiberty/gettimeofday.c
 230 +++ b/libiberty/gettimeofday.c
 231 @@ -19,7 +19,7 @@ that @var{tz} be NULL.  Returns 0 on success, -1 on failure.
 232  */ 
 233  
 234  int
 235 -gettimeofday (struct timeval *tp, void *tz)
 236 +gettimeofday (struct timeval *tp, struct timezone *tz)
 237  {
 238    if (tz)
 239      abort ();
 240 diff --git a/libstdc++-v3/config/io/basic_file_stdio.cc b/libstdc++-v3/config/io/basic_file_stdio.cc
 241 index 472f123..bbc3389 100644
 242 --- a/libstdc++-v3/config/io/basic_file_stdio.cc
 243 +++ b/libstdc++-v3/config/io/basic_file_stdio.cc
 244 @@ -28,6 +28,9 @@
 245  //
 246  
 247  #include <bits/basic_file.h>
 248 +
 249 +extern "C" {
 250 +
 251  #include <fcntl.h>
 252  #include <errno.h>
 253  
 254 @@ -63,6 +66,7 @@
 255  #  define _GLIBCXX_ISREG(x) (((x) & S_IFMT) == S_IFREG)
 256  # endif
 257  #endif
 258 +}
 259  
 260  #include <limits> // For <off_t>::max() and min() and <streamsize>::max()
 261  
 262 diff --git a/libstdc++-v3/configure b/libstdc++-v3/configure
 263 index 69f6b5d..16e613f 100755
 264 --- a/libstdc++-v3/configure
 265 +++ b/libstdc++-v3/configure
 266 @@ -50808,6 +50808,5869 @@ _ACEOF
 267    fi
 268  
 269      ;;
 270 +  *-barrelfish*)
 271 +
 272 +  # All these tests are for C++; save the language and the compiler flags.
 273 +  # The CXXFLAGS thing is suspicious, but based on similar bits previously
 274 +  # found in GLIBCXX_CONFIGURE.
 275 +
 276 +  ac_ext=cpp
 277 +ac_cpp='$CXXCPP $CPPFLAGS'
 278 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 279 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 280 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 281 +
 282 +  ac_test_CXXFLAGS="${CXXFLAGS+set}"
 283 +  ac_save_CXXFLAGS="$CXXFLAGS"
 284 +
 285 +  # Check for maintainer-mode bits.
 286 +  if test x"$USE_MAINTAINER_MODE" = xno; then
 287 +    WERROR=''
 288 +  else
 289 +    WERROR='-Werror'
 290 +  fi
 291 +
 292 +  # Check for -ffunction-sections -fdata-sections
 293 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
 294 +$as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
 295 +  CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
 296 +  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 297 +/* end confdefs.h.  */
 298 +int foo; void bar() { };
 299 +int
 300 +main ()
 301 +{
 302 +
 303 +  ;
 304 +  return 0;
 305 +}
 306 +_ACEOF
 307 +if ac_fn_cxx_try_compile "$LINENO"; then :
 308 +  ac_fdsections=yes
 309 +else
 310 +  ac_fdsections=no
 311 +fi
 312 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 313 +  if test "$ac_test_CXXFLAGS" = set; then
 314 +    CXXFLAGS="$ac_save_CXXFLAGS"
 315 +  else
 316 +    # this is the suspicious part
 317 +    CXXFLAGS=''
 318 +  fi
 319 +  if test x"$ac_fdsections" = x"yes"; then
 320 +    SECTION_FLAGS='-ffunction-sections -fdata-sections'
 321 +  fi
 322 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
 323 +$as_echo "$ac_fdsections" >&6; }
 324 +
 325 +  ac_ext=c
 326 +ac_cpp='$CPP $CPPFLAGS'
 327 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 328 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 329 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 330 +
 331 +
 332 +
 333 +
 334 +
 335 +  # If we're not using GNU ld, then there's no point in even trying these
 336 +  # tests.  Check for that first.  We should have already tested for gld
 337 +  # by now (in libtool), but require it now just to be safe...
 338 +  test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
 339 +  test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
 340 +
 341 +
 342 +
 343 +  # The name set by libtool depends on the version of libtool.  Shame on us
 344 +  # for depending on an impl detail, but c'est la vie.  Older versions used
 345 +  # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
 346 +  # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
 347 +  # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
 348 +  # set (hence we're using an older libtool), then set it.
 349 +  if test x${with_gnu_ld+set} != xset; then
 350 +    if test x${ac_cv_prog_gnu_ld+set} != xset; then
 351 +      # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
 352 +      with_gnu_ld=no
 353 +    else
 354 +      with_gnu_ld=$ac_cv_prog_gnu_ld
 355 +    fi
 356 +  fi
 357 +
 358 +  # Start by getting the version number.  I think the libtool test already
 359 +  # does some of this, but throws away the result.
 360 +  glibcxx_ld_is_gold=no
 361 +  if test x"$with_gnu_ld" = x"yes"; then
 362 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
 363 +$as_echo_n "checking for ld version... " >&6; }
 364 +
 365 +    if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
 366 +      glibcxx_ld_is_gold=yes
 367 +    fi
 368 +    ldver=`$LD --version 2>/dev/null |
 369 +	   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'`
 370 +
 371 +    glibcxx_gnu_ld_version=`echo $ldver | \
 372 +           $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
 373 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
 374 +$as_echo "$glibcxx_gnu_ld_version" >&6; }
 375 +  fi
 376 +
 377 +  # Set --gc-sections.
 378 +  glibcxx_have_gc_sections=no
 379 +  if test "$glibcxx_ld_is_gold" = "yes"; then
 380 +    if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
 381 +      glibcxx_have_gc_sections=yes
 382 +    fi
 383 +  else
 384 +    glibcxx_gcsections_min_ld=21602
 385 +    if test x"$with_gnu_ld" = x"yes" &&
 386 +	test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
 387 +      glibcxx_have_gc_sections=yes
 388 +    fi
 389 +  fi
 390 +  if test "$glibcxx_have_gc_sections" = "yes"; then
 391 +    # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
 392 +    # NB: This flag only works reliably after 2.16.1. Configure tests
 393 +    # for this are difficult, so hard wire a value that should work.
 394 +
 395 +    ac_test_CFLAGS="${CFLAGS+set}"
 396 +    ac_save_CFLAGS="$CFLAGS"
 397 +    CFLAGS='-Wl,--gc-sections'
 398 +
 399 +    # Check for -Wl,--gc-sections
 400 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
 401 +$as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
 402 +    if test x$gcc_no_link = xyes; then
 403 +  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 404 +fi
 405 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 406 +/* end confdefs.h.  */
 407 + int one(void) { return 1; }
 408 +     int two(void) { return 2; }
 409 +
 410 +int
 411 +main ()
 412 +{
 413 + two();
 414 +  ;
 415 +  return 0;
 416 +}
 417 +_ACEOF
 418 +if ac_fn_c_try_link "$LINENO"; then :
 419 +  ac_gcsections=yes
 420 +else
 421 +  ac_gcsections=no
 422 +fi
 423 +rm -f core conftest.err conftest.$ac_objext \
 424 +    conftest$ac_exeext conftest.$ac_ext
 425 +    if test "$ac_gcsections" = "yes"; then
 426 +      rm -f conftest.c
 427 +      touch conftest.c
 428 +      if $CC -c conftest.c; then
 429 +	if $LD --gc-sections -o conftest conftest.o 2>&1 | \
 430 +	   grep "Warning: gc-sections option ignored" > /dev/null; then
 431 +	  ac_gcsections=no
 432 +	fi
 433 +      fi
 434 +      rm -f conftest.c conftest.o conftest
 435 +    fi
 436 +    if test "$ac_gcsections" = "yes"; then
 437 +      SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
 438 +    fi
 439 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
 440 +$as_echo "$ac_gcsections" >&6; }
 441 +
 442 +    if test "$ac_test_CFLAGS" = set; then
 443 +      CFLAGS="$ac_save_CFLAGS"
 444 +    else
 445 +      # this is the suspicious part
 446 +      CFLAGS=''
 447 +    fi
 448 +  fi
 449 +
 450 +  # Set -z,relro.
 451 +  # Note this is only for shared objects.
 452 +  ac_ld_relro=no
 453 +  if test x"$with_gnu_ld" = x"yes"; then
 454 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
 455 +$as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
 456 +    cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
 457 +    if test -n "$cxx_z_relo"; then
 458 +      OPT_LDFLAGS="-Wl,-z,relro"
 459 +      ac_ld_relro=yes
 460 +    fi
 461 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
 462 +$as_echo "$ac_ld_relro" >&6; }
 463 +  fi
 464 +
 465 +  # Set linker optimization flags.
 466 +  if test x"$with_gnu_ld" = x"yes"; then
 467 +    OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
 468 +  fi
 469 +
 470 +
 471 +
 472 +
 473 +
 474 +  ac_test_CXXFLAGS="${CXXFLAGS+set}"
 475 +  ac_save_CXXFLAGS="$CXXFLAGS"
 476 +  CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
 477 +
 478 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
 479 +$as_echo_n "checking for sin in -lm... " >&6; }
 480 +if test "${ac_cv_lib_m_sin+set}" = set; then :
 481 +  $as_echo_n "(cached) " >&6
 482 +else
 483 +  ac_check_lib_save_LIBS=$LIBS
 484 +LIBS="-lm  $LIBS"
 485 +if test x$gcc_no_link = xyes; then
 486 +  as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
 487 +fi
 488 +cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 489 +/* end confdefs.h.  */
 490 +
 491 +/* Override any GCC internal prototype to avoid an error.
 492 +   Use char because int might match the return type of a GCC
 493 +   builtin and then its argument prototype would still apply.  */
 494 +#ifdef __cplusplus
 495 +extern "C"
 496 +#endif
 497 +char sin ();
 498 +int
 499 +main ()
 500 +{
 501 +return sin ();
 502 +  ;
 503 +  return 0;
 504 +}
 505 +_ACEOF
 506 +if ac_fn_c_try_link "$LINENO"; then :
 507 +  ac_cv_lib_m_sin=yes
 508 +else
 509 +  ac_cv_lib_m_sin=no
 510 +fi
 511 +rm -f core conftest.err conftest.$ac_objext \
 512 +    conftest$ac_exeext conftest.$ac_ext
 513 +LIBS=$ac_check_lib_save_LIBS
 514 +fi
 515 +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
 516 +$as_echo "$ac_cv_lib_m_sin" >&6; }
 517 +if test "x$ac_cv_lib_m_sin" = x""yes; then :
 518 +  libm="-lm"
 519 +fi
 520 +
 521 +  ac_save_LIBS="$LIBS"
 522 +  LIBS="$LIBS $libm"
 523 +
 524 +
 525 +
 526 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
 527 +$as_echo_n "checking for isinf declaration... " >&6; }
 528 +  if test x${glibcxx_cv_func_isinf_use+set} != xset; then
 529 +    if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
 530 +  $as_echo_n "(cached) " >&6
 531 +else
 532 +
 533 +
 534 +      ac_ext=cpp
 535 +ac_cpp='$CXXCPP $CPPFLAGS'
 536 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 537 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 538 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 539 +
 540 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 541 +/* end confdefs.h.  */
 542 +#include <math.h>
 543 +		      #ifdef HAVE_IEEEFP_H
 544 +		      #include <ieeefp.h>
 545 +		      #endif
 546 +
 547 +int
 548 +main ()
 549 +{
 550 + isinf(0);
 551 +  ;
 552 +  return 0;
 553 +}
 554 +_ACEOF
 555 +if ac_fn_cxx_try_compile "$LINENO"; then :
 556 +  glibcxx_cv_func_isinf_use=yes
 557 +else
 558 +  glibcxx_cv_func_isinf_use=no
 559 +fi
 560 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 561 +      ac_ext=c
 562 +ac_cpp='$CPP $CPPFLAGS'
 563 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 564 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 565 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 566 +
 567 +
 568 +fi
 569 +
 570 +  fi
 571 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
 572 +$as_echo "$glibcxx_cv_func_isinf_use" >&6; }
 573 +
 574 +  if test x$glibcxx_cv_func_isinf_use = x"yes"; then
 575 +    for ac_func in isinf
 576 +do :
 577 +  ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
 578 +if test "x$ac_cv_func_isinf" = x""yes; then :
 579 +  cat >>confdefs.h <<_ACEOF
 580 +#define HAVE_ISINF 1
 581 +_ACEOF
 582 +
 583 +fi
 584 +done
 585 +
 586 +  else
 587 +
 588 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
 589 +$as_echo_n "checking for _isinf declaration... " >&6; }
 590 +  if test x${glibcxx_cv_func__isinf_use+set} != xset; then
 591 +    if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
 592 +  $as_echo_n "(cached) " >&6
 593 +else
 594 +
 595 +
 596 +      ac_ext=cpp
 597 +ac_cpp='$CXXCPP $CPPFLAGS'
 598 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 599 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 600 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 601 +
 602 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 603 +/* end confdefs.h.  */
 604 +#include <math.h>
 605 +		      #ifdef HAVE_IEEEFP_H
 606 +		      #include <ieeefp.h>
 607 +		      #endif
 608 +
 609 +int
 610 +main ()
 611 +{
 612 + _isinf(0);
 613 +  ;
 614 +  return 0;
 615 +}
 616 +_ACEOF
 617 +if ac_fn_cxx_try_compile "$LINENO"; then :
 618 +  glibcxx_cv_func__isinf_use=yes
 619 +else
 620 +  glibcxx_cv_func__isinf_use=no
 621 +fi
 622 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 623 +      ac_ext=c
 624 +ac_cpp='$CPP $CPPFLAGS'
 625 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 626 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 627 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 628 +
 629 +
 630 +fi
 631 +
 632 +  fi
 633 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
 634 +$as_echo "$glibcxx_cv_func__isinf_use" >&6; }
 635 +
 636 +    if test x$glibcxx_cv_func__isinf_use = x"yes"; then
 637 +      for ac_func in _isinf
 638 +do :
 639 +  ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
 640 +if test "x$ac_cv_func__isinf" = x""yes; then :
 641 +  cat >>confdefs.h <<_ACEOF
 642 +#define HAVE__ISINF 1
 643 +_ACEOF
 644 +
 645 +fi
 646 +done
 647 +
 648 +    fi
 649 +  fi
 650 +
 651 +
 652 +
 653 +
 654 +
 655 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
 656 +$as_echo_n "checking for isnan declaration... " >&6; }
 657 +  if test x${glibcxx_cv_func_isnan_use+set} != xset; then
 658 +    if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
 659 +  $as_echo_n "(cached) " >&6
 660 +else
 661 +
 662 +
 663 +      ac_ext=cpp
 664 +ac_cpp='$CXXCPP $CPPFLAGS'
 665 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 666 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 667 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 668 +
 669 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 670 +/* end confdefs.h.  */
 671 +#include <math.h>
 672 +		      #ifdef HAVE_IEEEFP_H
 673 +		      #include <ieeefp.h>
 674 +		      #endif
 675 +
 676 +int
 677 +main ()
 678 +{
 679 + isnan(0);
 680 +  ;
 681 +  return 0;
 682 +}
 683 +_ACEOF
 684 +if ac_fn_cxx_try_compile "$LINENO"; then :
 685 +  glibcxx_cv_func_isnan_use=yes
 686 +else
 687 +  glibcxx_cv_func_isnan_use=no
 688 +fi
 689 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 690 +      ac_ext=c
 691 +ac_cpp='$CPP $CPPFLAGS'
 692 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 693 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 694 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 695 +
 696 +
 697 +fi
 698 +
 699 +  fi
 700 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
 701 +$as_echo "$glibcxx_cv_func_isnan_use" >&6; }
 702 +
 703 +  if test x$glibcxx_cv_func_isnan_use = x"yes"; then
 704 +    for ac_func in isnan
 705 +do :
 706 +  ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
 707 +if test "x$ac_cv_func_isnan" = x""yes; then :
 708 +  cat >>confdefs.h <<_ACEOF
 709 +#define HAVE_ISNAN 1
 710 +_ACEOF
 711 +
 712 +fi
 713 +done
 714 +
 715 +  else
 716 +
 717 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
 718 +$as_echo_n "checking for _isnan declaration... " >&6; }
 719 +  if test x${glibcxx_cv_func__isnan_use+set} != xset; then
 720 +    if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
 721 +  $as_echo_n "(cached) " >&6
 722 +else
 723 +
 724 +
 725 +      ac_ext=cpp
 726 +ac_cpp='$CXXCPP $CPPFLAGS'
 727 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 728 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 729 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 730 +
 731 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 732 +/* end confdefs.h.  */
 733 +#include <math.h>
 734 +		      #ifdef HAVE_IEEEFP_H
 735 +		      #include <ieeefp.h>
 736 +		      #endif
 737 +
 738 +int
 739 +main ()
 740 +{
 741 + _isnan(0);
 742 +  ;
 743 +  return 0;
 744 +}
 745 +_ACEOF
 746 +if ac_fn_cxx_try_compile "$LINENO"; then :
 747 +  glibcxx_cv_func__isnan_use=yes
 748 +else
 749 +  glibcxx_cv_func__isnan_use=no
 750 +fi
 751 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 752 +      ac_ext=c
 753 +ac_cpp='$CPP $CPPFLAGS'
 754 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 755 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 756 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 757 +
 758 +
 759 +fi
 760 +
 761 +  fi
 762 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
 763 +$as_echo "$glibcxx_cv_func__isnan_use" >&6; }
 764 +
 765 +    if test x$glibcxx_cv_func__isnan_use = x"yes"; then
 766 +      for ac_func in _isnan
 767 +do :
 768 +  ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
 769 +if test "x$ac_cv_func__isnan" = x""yes; then :
 770 +  cat >>confdefs.h <<_ACEOF
 771 +#define HAVE__ISNAN 1
 772 +_ACEOF
 773 +
 774 +fi
 775 +done
 776 +
 777 +    fi
 778 +  fi
 779 +
 780 +
 781 +
 782 +
 783 +
 784 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
 785 +$as_echo_n "checking for finite declaration... " >&6; }
 786 +  if test x${glibcxx_cv_func_finite_use+set} != xset; then
 787 +    if test "${glibcxx_cv_func_finite_use+set}" = set; then :
 788 +  $as_echo_n "(cached) " >&6
 789 +else
 790 +
 791 +
 792 +      ac_ext=cpp
 793 +ac_cpp='$CXXCPP $CPPFLAGS'
 794 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 795 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 796 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 797 +
 798 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 799 +/* end confdefs.h.  */
 800 +#include <math.h>
 801 +		      #ifdef HAVE_IEEEFP_H
 802 +		      #include <ieeefp.h>
 803 +		      #endif
 804 +
 805 +int
 806 +main ()
 807 +{
 808 + finite(0);
 809 +  ;
 810 +  return 0;
 811 +}
 812 +_ACEOF
 813 +if ac_fn_cxx_try_compile "$LINENO"; then :
 814 +  glibcxx_cv_func_finite_use=yes
 815 +else
 816 +  glibcxx_cv_func_finite_use=no
 817 +fi
 818 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 819 +      ac_ext=c
 820 +ac_cpp='$CPP $CPPFLAGS'
 821 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 822 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 823 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 824 +
 825 +
 826 +fi
 827 +
 828 +  fi
 829 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
 830 +$as_echo "$glibcxx_cv_func_finite_use" >&6; }
 831 +
 832 +  if test x$glibcxx_cv_func_finite_use = x"yes"; then
 833 +    for ac_func in finite
 834 +do :
 835 +  ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
 836 +if test "x$ac_cv_func_finite" = x""yes; then :
 837 +  cat >>confdefs.h <<_ACEOF
 838 +#define HAVE_FINITE 1
 839 +_ACEOF
 840 +
 841 +fi
 842 +done
 843 +
 844 +  else
 845 +
 846 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
 847 +$as_echo_n "checking for _finite declaration... " >&6; }
 848 +  if test x${glibcxx_cv_func__finite_use+set} != xset; then
 849 +    if test "${glibcxx_cv_func__finite_use+set}" = set; then :
 850 +  $as_echo_n "(cached) " >&6
 851 +else
 852 +
 853 +
 854 +      ac_ext=cpp
 855 +ac_cpp='$CXXCPP $CPPFLAGS'
 856 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 857 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 858 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 859 +
 860 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 861 +/* end confdefs.h.  */
 862 +#include <math.h>
 863 +		      #ifdef HAVE_IEEEFP_H
 864 +		      #include <ieeefp.h>
 865 +		      #endif
 866 +
 867 +int
 868 +main ()
 869 +{
 870 + _finite(0);
 871 +  ;
 872 +  return 0;
 873 +}
 874 +_ACEOF
 875 +if ac_fn_cxx_try_compile "$LINENO"; then :
 876 +  glibcxx_cv_func__finite_use=yes
 877 +else
 878 +  glibcxx_cv_func__finite_use=no
 879 +fi
 880 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 881 +      ac_ext=c
 882 +ac_cpp='$CPP $CPPFLAGS'
 883 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 884 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 885 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 886 +
 887 +
 888 +fi
 889 +
 890 +  fi
 891 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
 892 +$as_echo "$glibcxx_cv_func__finite_use" >&6; }
 893 +
 894 +    if test x$glibcxx_cv_func__finite_use = x"yes"; then
 895 +      for ac_func in _finite
 896 +do :
 897 +  ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
 898 +if test "x$ac_cv_func__finite" = x""yes; then :
 899 +  cat >>confdefs.h <<_ACEOF
 900 +#define HAVE__FINITE 1
 901 +_ACEOF
 902 +
 903 +fi
 904 +done
 905 +
 906 +    fi
 907 +  fi
 908 +
 909 +
 910 +
 911 +
 912 +
 913 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
 914 +$as_echo_n "checking for sincos declaration... " >&6; }
 915 +  if test x${glibcxx_cv_func_sincos_use+set} != xset; then
 916 +    if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
 917 +  $as_echo_n "(cached) " >&6
 918 +else
 919 +
 920 +
 921 +      ac_ext=cpp
 922 +ac_cpp='$CXXCPP $CPPFLAGS'
 923 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 924 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 925 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 926 +
 927 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 928 +/* end confdefs.h.  */
 929 +#include <math.h>
 930 +int
 931 +main ()
 932 +{
 933 + sincos(0, 0, 0);
 934 +  ;
 935 +  return 0;
 936 +}
 937 +_ACEOF
 938 +if ac_fn_cxx_try_compile "$LINENO"; then :
 939 +  glibcxx_cv_func_sincos_use=yes
 940 +else
 941 +  glibcxx_cv_func_sincos_use=no
 942 +fi
 943 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 944 +      ac_ext=c
 945 +ac_cpp='$CPP $CPPFLAGS'
 946 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 947 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 948 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
 949 +
 950 +
 951 +fi
 952 +
 953 +  fi
 954 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
 955 +$as_echo "$glibcxx_cv_func_sincos_use" >&6; }
 956 +
 957 +  if test x$glibcxx_cv_func_sincos_use = x"yes"; then
 958 +    for ac_func in sincos
 959 +do :
 960 +  ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
 961 +if test "x$ac_cv_func_sincos" = x""yes; then :
 962 +  cat >>confdefs.h <<_ACEOF
 963 +#define HAVE_SINCOS 1
 964 +_ACEOF
 965 +
 966 +fi
 967 +done
 968 +
 969 +  else
 970 +
 971 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
 972 +$as_echo_n "checking for _sincos declaration... " >&6; }
 973 +  if test x${glibcxx_cv_func__sincos_use+set} != xset; then
 974 +    if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
 975 +  $as_echo_n "(cached) " >&6
 976 +else
 977 +
 978 +
 979 +      ac_ext=cpp
 980 +ac_cpp='$CXXCPP $CPPFLAGS'
 981 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 982 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 983 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 984 +
 985 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 986 +/* end confdefs.h.  */
 987 +#include <math.h>
 988 +int
 989 +main ()
 990 +{
 991 + _sincos(0, 0, 0);
 992 +  ;
 993 +  return 0;
 994 +}
 995 +_ACEOF
 996 +if ac_fn_cxx_try_compile "$LINENO"; then :
 997 +  glibcxx_cv_func__sincos_use=yes
 998 +else
 999 +  glibcxx_cv_func__sincos_use=no
1000 +fi
1001 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1002 +      ac_ext=c
1003 +ac_cpp='$CPP $CPPFLAGS'
1004 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1005 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1006 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1007 +
1008 +
1009 +fi
1010 +
1011 +  fi
1012 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
1013 +$as_echo "$glibcxx_cv_func__sincos_use" >&6; }
1014 +
1015 +    if test x$glibcxx_cv_func__sincos_use = x"yes"; then
1016 +      for ac_func in _sincos
1017 +do :
1018 +  ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
1019 +if test "x$ac_cv_func__sincos" = x""yes; then :
1020 +  cat >>confdefs.h <<_ACEOF
1021 +#define HAVE__SINCOS 1
1022 +_ACEOF
1023 +
1024 +fi
1025 +done
1026 +
1027 +    fi
1028 +  fi
1029 +
1030 +
1031 +
1032 +
1033 +
1034 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
1035 +$as_echo_n "checking for fpclass declaration... " >&6; }
1036 +  if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
1037 +    if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
1038 +  $as_echo_n "(cached) " >&6
1039 +else
1040 +
1041 +
1042 +      ac_ext=cpp
1043 +ac_cpp='$CXXCPP $CPPFLAGS'
1044 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1045 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1046 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1047 +
1048 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1049 +/* end confdefs.h.  */
1050 +#include <math.h>
1051 +		      #ifdef HAVE_IEEEFP_H
1052 +		      #include <ieeefp.h>
1053 +		      #endif
1054 +
1055 +int
1056 +main ()
1057 +{
1058 + fpclass(0);
1059 +  ;
1060 +  return 0;
1061 +}
1062 +_ACEOF
1063 +if ac_fn_cxx_try_compile "$LINENO"; then :
1064 +  glibcxx_cv_func_fpclass_use=yes
1065 +else
1066 +  glibcxx_cv_func_fpclass_use=no
1067 +fi
1068 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1069 +      ac_ext=c
1070 +ac_cpp='$CPP $CPPFLAGS'
1071 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1072 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1073 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1074 +
1075 +
1076 +fi
1077 +
1078 +  fi
1079 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
1080 +$as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
1081 +
1082 +  if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
1083 +    for ac_func in fpclass
1084 +do :
1085 +  ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
1086 +if test "x$ac_cv_func_fpclass" = x""yes; then :
1087 +  cat >>confdefs.h <<_ACEOF
1088 +#define HAVE_FPCLASS 1
1089 +_ACEOF
1090 +
1091 +fi
1092 +done
1093 +
1094 +  else
1095 +
1096 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
1097 +$as_echo_n "checking for _fpclass declaration... " >&6; }
1098 +  if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
1099 +    if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
1100 +  $as_echo_n "(cached) " >&6
1101 +else
1102 +
1103 +
1104 +      ac_ext=cpp
1105 +ac_cpp='$CXXCPP $CPPFLAGS'
1106 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1107 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1108 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1109 +
1110 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1111 +/* end confdefs.h.  */
1112 +#include <math.h>
1113 +		      #ifdef HAVE_IEEEFP_H
1114 +		      #include <ieeefp.h>
1115 +		      #endif
1116 +
1117 +int
1118 +main ()
1119 +{
1120 + _fpclass(0);
1121 +  ;
1122 +  return 0;
1123 +}
1124 +_ACEOF
1125 +if ac_fn_cxx_try_compile "$LINENO"; then :
1126 +  glibcxx_cv_func__fpclass_use=yes
1127 +else
1128 +  glibcxx_cv_func__fpclass_use=no
1129 +fi
1130 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1131 +      ac_ext=c
1132 +ac_cpp='$CPP $CPPFLAGS'
1133 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1134 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1135 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1136 +
1137 +
1138 +fi
1139 +
1140 +  fi
1141 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
1142 +$as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
1143 +
1144 +    if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
1145 +      for ac_func in _fpclass
1146 +do :
1147 +  ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
1148 +if test "x$ac_cv_func__fpclass" = x""yes; then :
1149 +  cat >>confdefs.h <<_ACEOF
1150 +#define HAVE__FPCLASS 1
1151 +_ACEOF
1152 +
1153 +fi
1154 +done
1155 +
1156 +    fi
1157 +  fi
1158 +
1159 +
1160 +
1161 +
1162 +
1163 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
1164 +$as_echo_n "checking for qfpclass declaration... " >&6; }
1165 +  if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
1166 +    if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
1167 +  $as_echo_n "(cached) " >&6
1168 +else
1169 +
1170 +
1171 +      ac_ext=cpp
1172 +ac_cpp='$CXXCPP $CPPFLAGS'
1173 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1174 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1175 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1176 +
1177 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1178 +/* end confdefs.h.  */
1179 +#include <math.h>
1180 +		      #ifdef HAVE_IEEEFP_H
1181 +		      #include <ieeefp.h>
1182 +		      #endif
1183 +
1184 +int
1185 +main ()
1186 +{
1187 + qfpclass(0);
1188 +  ;
1189 +  return 0;
1190 +}
1191 +_ACEOF
1192 +if ac_fn_cxx_try_compile "$LINENO"; then :
1193 +  glibcxx_cv_func_qfpclass_use=yes
1194 +else
1195 +  glibcxx_cv_func_qfpclass_use=no
1196 +fi
1197 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1198 +      ac_ext=c
1199 +ac_cpp='$CPP $CPPFLAGS'
1200 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1201 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1202 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1203 +
1204 +
1205 +fi
1206 +
1207 +  fi
1208 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
1209 +$as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
1210 +
1211 +  if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
1212 +    for ac_func in qfpclass
1213 +do :
1214 +  ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
1215 +if test "x$ac_cv_func_qfpclass" = x""yes; then :
1216 +  cat >>confdefs.h <<_ACEOF
1217 +#define HAVE_QFPCLASS 1
1218 +_ACEOF
1219 +
1220 +fi
1221 +done
1222 +
1223 +  else
1224 +
1225 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
1226 +$as_echo_n "checking for _qfpclass declaration... " >&6; }
1227 +  if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
1228 +    if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
1229 +  $as_echo_n "(cached) " >&6
1230 +else
1231 +
1232 +
1233 +      ac_ext=cpp
1234 +ac_cpp='$CXXCPP $CPPFLAGS'
1235 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1236 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1237 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1238 +
1239 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1240 +/* end confdefs.h.  */
1241 +#include <math.h>
1242 +		      #ifdef HAVE_IEEEFP_H
1243 +		      #include <ieeefp.h>
1244 +		      #endif
1245 +
1246 +int
1247 +main ()
1248 +{
1249 + _qfpclass(0);
1250 +  ;
1251 +  return 0;
1252 +}
1253 +_ACEOF
1254 +if ac_fn_cxx_try_compile "$LINENO"; then :
1255 +  glibcxx_cv_func__qfpclass_use=yes
1256 +else
1257 +  glibcxx_cv_func__qfpclass_use=no
1258 +fi
1259 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1260 +      ac_ext=c
1261 +ac_cpp='$CPP $CPPFLAGS'
1262 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1263 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1264 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1265 +
1266 +
1267 +fi
1268 +
1269 +  fi
1270 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
1271 +$as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
1272 +
1273 +    if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
1274 +      for ac_func in _qfpclass
1275 +do :
1276 +  ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
1277 +if test "x$ac_cv_func__qfpclass" = x""yes; then :
1278 +  cat >>confdefs.h <<_ACEOF
1279 +#define HAVE__QFPCLASS 1
1280 +_ACEOF
1281 +
1282 +fi
1283 +done
1284 +
1285 +    fi
1286 +  fi
1287 +
1288 +
1289 +
1290 +
1291 +
1292 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
1293 +$as_echo_n "checking for hypot declaration... " >&6; }
1294 +  if test x${glibcxx_cv_func_hypot_use+set} != xset; then
1295 +    if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
1296 +  $as_echo_n "(cached) " >&6
1297 +else
1298 +
1299 +
1300 +      ac_ext=cpp
1301 +ac_cpp='$CXXCPP $CPPFLAGS'
1302 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1303 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1304 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1305 +
1306 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1307 +/* end confdefs.h.  */
1308 +#include <math.h>
1309 +int
1310 +main ()
1311 +{
1312 + hypot(0, 0);
1313 +  ;
1314 +  return 0;
1315 +}
1316 +_ACEOF
1317 +if ac_fn_cxx_try_compile "$LINENO"; then :
1318 +  glibcxx_cv_func_hypot_use=yes
1319 +else
1320 +  glibcxx_cv_func_hypot_use=no
1321 +fi
1322 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1323 +      ac_ext=c
1324 +ac_cpp='$CPP $CPPFLAGS'
1325 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1326 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1327 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1328 +
1329 +
1330 +fi
1331 +
1332 +  fi
1333 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
1334 +$as_echo "$glibcxx_cv_func_hypot_use" >&6; }
1335 +
1336 +  if test x$glibcxx_cv_func_hypot_use = x"yes"; then
1337 +    for ac_func in hypot
1338 +do :
1339 +  ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
1340 +if test "x$ac_cv_func_hypot" = x""yes; then :
1341 +  cat >>confdefs.h <<_ACEOF
1342 +#define HAVE_HYPOT 1
1343 +_ACEOF
1344 +
1345 +fi
1346 +done
1347 +
1348 +  else
1349 +
1350 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
1351 +$as_echo_n "checking for _hypot declaration... " >&6; }
1352 +  if test x${glibcxx_cv_func__hypot_use+set} != xset; then
1353 +    if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
1354 +  $as_echo_n "(cached) " >&6
1355 +else
1356 +
1357 +
1358 +      ac_ext=cpp
1359 +ac_cpp='$CXXCPP $CPPFLAGS'
1360 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1361 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1362 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1363 +
1364 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1365 +/* end confdefs.h.  */
1366 +#include <math.h>
1367 +int
1368 +main ()
1369 +{
1370 + _hypot(0, 0);
1371 +  ;
1372 +  return 0;
1373 +}
1374 +_ACEOF
1375 +if ac_fn_cxx_try_compile "$LINENO"; then :
1376 +  glibcxx_cv_func__hypot_use=yes
1377 +else
1378 +  glibcxx_cv_func__hypot_use=no
1379 +fi
1380 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1381 +      ac_ext=c
1382 +ac_cpp='$CPP $CPPFLAGS'
1383 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1384 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1385 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1386 +
1387 +
1388 +fi
1389 +
1390 +  fi
1391 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
1392 +$as_echo "$glibcxx_cv_func__hypot_use" >&6; }
1393 +
1394 +    if test x$glibcxx_cv_func__hypot_use = x"yes"; then
1395 +      for ac_func in _hypot
1396 +do :
1397 +  ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
1398 +if test "x$ac_cv_func__hypot" = x""yes; then :
1399 +  cat >>confdefs.h <<_ACEOF
1400 +#define HAVE__HYPOT 1
1401 +_ACEOF
1402 +
1403 +fi
1404 +done
1405 +
1406 +    fi
1407 +  fi
1408 +
1409 +
1410 +
1411 +
1412 +
1413 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
1414 +$as_echo_n "checking for float trig functions... " >&6; }
1415 +  if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
1416 +  $as_echo_n "(cached) " >&6
1417 +else
1418 +
1419 +
1420 +    ac_ext=cpp
1421 +ac_cpp='$CXXCPP $CPPFLAGS'
1422 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1423 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1424 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1425 +
1426 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1427 +/* end confdefs.h.  */
1428 +#include <math.h>
1429 +int
1430 +main ()
1431 +{
1432 +acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
1433 +  ;
1434 +  return 0;
1435 +}
1436 +_ACEOF
1437 +if ac_fn_cxx_try_compile "$LINENO"; then :
1438 +  glibcxx_cv_func_float_trig_use=yes
1439 +else
1440 +  glibcxx_cv_func_float_trig_use=no
1441 +fi
1442 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1443 +    ac_ext=c
1444 +ac_cpp='$CPP $CPPFLAGS'
1445 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1446 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1447 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1448 +
1449 +fi
1450 +
1451 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
1452 +$as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
1453 +  if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
1454 +    for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
1455 +do :
1456 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1457 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1458 +eval as_val=\$$as_ac_var
1459 +   if test "x$as_val" = x""yes; then :
1460 +  cat >>confdefs.h <<_ACEOF
1461 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1462 +_ACEOF
1463 +
1464 +fi
1465 +done
1466 +
1467 +  else
1468 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
1469 +$as_echo_n "checking for _float trig functions... " >&6; }
1470 +    if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
1471 +  $as_echo_n "(cached) " >&6
1472 +else
1473 +
1474 +
1475 +      ac_ext=cpp
1476 +ac_cpp='$CXXCPP $CPPFLAGS'
1477 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1478 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1479 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1480 +
1481 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1482 +/* end confdefs.h.  */
1483 +#include <math.h>
1484 +int
1485 +main ()
1486 +{
1487 +_acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
1488 +  ;
1489 +  return 0;
1490 +}
1491 +_ACEOF
1492 +if ac_fn_cxx_try_compile "$LINENO"; then :
1493 +  glibcxx_cv_func__float_trig_use=yes
1494 +else
1495 +  glibcxx_cv_func__float_trig_use=no
1496 +fi
1497 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1498 +      ac_ext=c
1499 +ac_cpp='$CPP $CPPFLAGS'
1500 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1501 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1502 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1503 +
1504 +fi
1505 +
1506 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
1507 +$as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
1508 +    if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
1509 +      for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
1510 +do :
1511 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1512 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1513 +eval as_val=\$$as_ac_var
1514 +   if test "x$as_val" = x""yes; then :
1515 +  cat >>confdefs.h <<_ACEOF
1516 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1517 +_ACEOF
1518 +
1519 +fi
1520 +done
1521 +
1522 +    fi
1523 +  fi
1524 +
1525 +
1526 +
1527 +
1528 +
1529 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
1530 +$as_echo_n "checking for float round functions... " >&6; }
1531 +  if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
1532 +  $as_echo_n "(cached) " >&6
1533 +else
1534 +
1535 +
1536 +    ac_ext=cpp
1537 +ac_cpp='$CXXCPP $CPPFLAGS'
1538 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1539 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1540 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1541 +
1542 +    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1543 +/* end confdefs.h.  */
1544 +#include <math.h>
1545 +int
1546 +main ()
1547 +{
1548 +ceilf (0); floorf (0);
1549 +  ;
1550 +  return 0;
1551 +}
1552 +_ACEOF
1553 +if ac_fn_cxx_try_compile "$LINENO"; then :
1554 +  glibcxx_cv_func_float_round_use=yes
1555 +else
1556 +  glibcxx_cv_func_float_round_use=no
1557 +fi
1558 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1559 +    ac_ext=c
1560 +ac_cpp='$CPP $CPPFLAGS'
1561 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1562 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1563 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1564 +
1565 +fi
1566 +
1567 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
1568 +$as_echo "$glibcxx_cv_func_float_round_use" >&6; }
1569 +  if test x$glibcxx_cv_func_float_round_use = x"yes"; then
1570 +    for ac_func in ceilf floorf
1571 +do :
1572 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1573 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1574 +eval as_val=\$$as_ac_var
1575 +   if test "x$as_val" = x""yes; then :
1576 +  cat >>confdefs.h <<_ACEOF
1577 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1578 +_ACEOF
1579 +
1580 +fi
1581 +done
1582 +
1583 +  else
1584 +    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
1585 +$as_echo_n "checking for _float round functions... " >&6; }
1586 +    if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
1587 +  $as_echo_n "(cached) " >&6
1588 +else
1589 +
1590 +
1591 +      ac_ext=cpp
1592 +ac_cpp='$CXXCPP $CPPFLAGS'
1593 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1594 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1595 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1596 +
1597 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1598 +/* end confdefs.h.  */
1599 +#include <math.h>
1600 +int
1601 +main ()
1602 +{
1603 +_ceilf (0); _floorf (0);
1604 +  ;
1605 +  return 0;
1606 +}
1607 +_ACEOF
1608 +if ac_fn_cxx_try_compile "$LINENO"; then :
1609 +  glibcxx_cv_func__float_round_use=yes
1610 +else
1611 +  glibcxx_cv_func__float_round_use=no
1612 +fi
1613 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1614 +      ac_ext=c
1615 +ac_cpp='$CPP $CPPFLAGS'
1616 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1617 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1618 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1619 +
1620 +fi
1621 +
1622 +    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
1623 +$as_echo "$glibcxx_cv_func__float_round_use" >&6; }
1624 +    if test x$glibcxx_cv_func__float_round_use = x"yes"; then
1625 +      for ac_func in _ceilf _floorf
1626 +do :
1627 +  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
1628 +ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
1629 +eval as_val=\$$as_ac_var
1630 +   if test "x$as_val" = x""yes; then :
1631 +  cat >>confdefs.h <<_ACEOF
1632 +#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
1633 +_ACEOF
1634 +
1635 +fi
1636 +done
1637 +
1638 +    fi
1639 +  fi
1640 +
1641 +
1642 +
1643 +
1644 +
1645 +
1646 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
1647 +$as_echo_n "checking for expf declaration... " >&6; }
1648 +  if test x${glibcxx_cv_func_expf_use+set} != xset; then
1649 +    if test "${glibcxx_cv_func_expf_use+set}" = set; then :
1650 +  $as_echo_n "(cached) " >&6
1651 +else
1652 +
1653 +
1654 +      ac_ext=cpp
1655 +ac_cpp='$CXXCPP $CPPFLAGS'
1656 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1657 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1658 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1659 +
1660 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1661 +/* end confdefs.h.  */
1662 +#include <math.h>
1663 +		      #ifdef HAVE_IEEEFP_H
1664 +		      #include <ieeefp.h>
1665 +		      #endif
1666 +
1667 +int
1668 +main ()
1669 +{
1670 + expf(0);
1671 +  ;
1672 +  return 0;
1673 +}
1674 +_ACEOF
1675 +if ac_fn_cxx_try_compile "$LINENO"; then :
1676 +  glibcxx_cv_func_expf_use=yes
1677 +else
1678 +  glibcxx_cv_func_expf_use=no
1679 +fi
1680 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1681 +      ac_ext=c
1682 +ac_cpp='$CPP $CPPFLAGS'
1683 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1684 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1685 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1686 +
1687 +
1688 +fi
1689 +
1690 +  fi
1691 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
1692 +$as_echo "$glibcxx_cv_func_expf_use" >&6; }
1693 +
1694 +  if test x$glibcxx_cv_func_expf_use = x"yes"; then
1695 +    for ac_func in expf
1696 +do :
1697 +  ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
1698 +if test "x$ac_cv_func_expf" = x""yes; then :
1699 +  cat >>confdefs.h <<_ACEOF
1700 +#define HAVE_EXPF 1
1701 +_ACEOF
1702 +
1703 +fi
1704 +done
1705 +
1706 +  else
1707 +
1708 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
1709 +$as_echo_n "checking for _expf declaration... " >&6; }
1710 +  if test x${glibcxx_cv_func__expf_use+set} != xset; then
1711 +    if test "${glibcxx_cv_func__expf_use+set}" = set; then :
1712 +  $as_echo_n "(cached) " >&6
1713 +else
1714 +
1715 +
1716 +      ac_ext=cpp
1717 +ac_cpp='$CXXCPP $CPPFLAGS'
1718 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1719 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1720 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1721 +
1722 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1723 +/* end confdefs.h.  */
1724 +#include <math.h>
1725 +		      #ifdef HAVE_IEEEFP_H
1726 +		      #include <ieeefp.h>
1727 +		      #endif
1728 +
1729 +int
1730 +main ()
1731 +{
1732 + _expf(0);
1733 +  ;
1734 +  return 0;
1735 +}
1736 +_ACEOF
1737 +if ac_fn_cxx_try_compile "$LINENO"; then :
1738 +  glibcxx_cv_func__expf_use=yes
1739 +else
1740 +  glibcxx_cv_func__expf_use=no
1741 +fi
1742 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1743 +      ac_ext=c
1744 +ac_cpp='$CPP $CPPFLAGS'
1745 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1746 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1747 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1748 +
1749 +
1750 +fi
1751 +
1752 +  fi
1753 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
1754 +$as_echo "$glibcxx_cv_func__expf_use" >&6; }
1755 +
1756 +    if test x$glibcxx_cv_func__expf_use = x"yes"; then
1757 +      for ac_func in _expf
1758 +do :
1759 +  ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
1760 +if test "x$ac_cv_func__expf" = x""yes; then :
1761 +  cat >>confdefs.h <<_ACEOF
1762 +#define HAVE__EXPF 1
1763 +_ACEOF
1764 +
1765 +fi
1766 +done
1767 +
1768 +    fi
1769 +  fi
1770 +
1771 +
1772 +
1773 +
1774 +
1775 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
1776 +$as_echo_n "checking for isnanf declaration... " >&6; }
1777 +  if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
1778 +    if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
1779 +  $as_echo_n "(cached) " >&6
1780 +else
1781 +
1782 +
1783 +      ac_ext=cpp
1784 +ac_cpp='$CXXCPP $CPPFLAGS'
1785 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1786 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1787 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1788 +
1789 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 +/* end confdefs.h.  */
1791 +#include <math.h>
1792 +		      #ifdef HAVE_IEEEFP_H
1793 +		      #include <ieeefp.h>
1794 +		      #endif
1795 +
1796 +int
1797 +main ()
1798 +{
1799 + isnanf(0);
1800 +  ;
1801 +  return 0;
1802 +}
1803 +_ACEOF
1804 +if ac_fn_cxx_try_compile "$LINENO"; then :
1805 +  glibcxx_cv_func_isnanf_use=yes
1806 +else
1807 +  glibcxx_cv_func_isnanf_use=no
1808 +fi
1809 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810 +      ac_ext=c
1811 +ac_cpp='$CPP $CPPFLAGS'
1812 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1813 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1814 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1815 +
1816 +
1817 +fi
1818 +
1819 +  fi
1820 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
1821 +$as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
1822 +
1823 +  if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
1824 +    for ac_func in isnanf
1825 +do :
1826 +  ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
1827 +if test "x$ac_cv_func_isnanf" = x""yes; then :
1828 +  cat >>confdefs.h <<_ACEOF
1829 +#define HAVE_ISNANF 1
1830 +_ACEOF
1831 +
1832 +fi
1833 +done
1834 +
1835 +  else
1836 +
1837 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
1838 +$as_echo_n "checking for _isnanf declaration... " >&6; }
1839 +  if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
1840 +    if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
1841 +  $as_echo_n "(cached) " >&6
1842 +else
1843 +
1844 +
1845 +      ac_ext=cpp
1846 +ac_cpp='$CXXCPP $CPPFLAGS'
1847 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1848 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1849 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1850 +
1851 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1852 +/* end confdefs.h.  */
1853 +#include <math.h>
1854 +		      #ifdef HAVE_IEEEFP_H
1855 +		      #include <ieeefp.h>
1856 +		      #endif
1857 +
1858 +int
1859 +main ()
1860 +{
1861 + _isnanf(0);
1862 +  ;
1863 +  return 0;
1864 +}
1865 +_ACEOF
1866 +if ac_fn_cxx_try_compile "$LINENO"; then :
1867 +  glibcxx_cv_func__isnanf_use=yes
1868 +else
1869 +  glibcxx_cv_func__isnanf_use=no
1870 +fi
1871 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1872 +      ac_ext=c
1873 +ac_cpp='$CPP $CPPFLAGS'
1874 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1875 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1876 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1877 +
1878 +
1879 +fi
1880 +
1881 +  fi
1882 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
1883 +$as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
1884 +
1885 +    if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
1886 +      for ac_func in _isnanf
1887 +do :
1888 +  ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
1889 +if test "x$ac_cv_func__isnanf" = x""yes; then :
1890 +  cat >>confdefs.h <<_ACEOF
1891 +#define HAVE__ISNANF 1
1892 +_ACEOF
1893 +
1894 +fi
1895 +done
1896 +
1897 +    fi
1898 +  fi
1899 +
1900 +
1901 +
1902 +
1903 +
1904 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
1905 +$as_echo_n "checking for isinff declaration... " >&6; }
1906 +  if test x${glibcxx_cv_func_isinff_use+set} != xset; then
1907 +    if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
1908 +  $as_echo_n "(cached) " >&6
1909 +else
1910 +
1911 +
1912 +      ac_ext=cpp
1913 +ac_cpp='$CXXCPP $CPPFLAGS'
1914 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1915 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1916 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1917 +
1918 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1919 +/* end confdefs.h.  */
1920 +#include <math.h>
1921 +		      #ifdef HAVE_IEEEFP_H
1922 +		      #include <ieeefp.h>
1923 +		      #endif
1924 +
1925 +int
1926 +main ()
1927 +{
1928 + isinff(0);
1929 +  ;
1930 +  return 0;
1931 +}
1932 +_ACEOF
1933 +if ac_fn_cxx_try_compile "$LINENO"; then :
1934 +  glibcxx_cv_func_isinff_use=yes
1935 +else
1936 +  glibcxx_cv_func_isinff_use=no
1937 +fi
1938 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1939 +      ac_ext=c
1940 +ac_cpp='$CPP $CPPFLAGS'
1941 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1942 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1943 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
1944 +
1945 +
1946 +fi
1947 +
1948 +  fi
1949 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
1950 +$as_echo "$glibcxx_cv_func_isinff_use" >&6; }
1951 +
1952 +  if test x$glibcxx_cv_func_isinff_use = x"yes"; then
1953 +    for ac_func in isinff
1954 +do :
1955 +  ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
1956 +if test "x$ac_cv_func_isinff" = x""yes; then :
1957 +  cat >>confdefs.h <<_ACEOF
1958 +#define HAVE_ISINFF 1
1959 +_ACEOF
1960 +
1961 +fi
1962 +done
1963 +
1964 +  else
1965 +
1966 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
1967 +$as_echo_n "checking for _isinff declaration... " >&6; }
1968 +  if test x${glibcxx_cv_func__isinff_use+set} != xset; then
1969 +    if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
1970 +  $as_echo_n "(cached) " >&6
1971 +else
1972 +
1973 +
1974 +      ac_ext=cpp
1975 +ac_cpp='$CXXCPP $CPPFLAGS'
1976 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1977 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1978 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1979 +
1980 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 +/* end confdefs.h.  */
1982 +#include <math.h>
1983 +		      #ifdef HAVE_IEEEFP_H
1984 +		      #include <ieeefp.h>
1985 +		      #endif
1986 +
1987 +int
1988 +main ()
1989 +{
1990 + _isinff(0);
1991 +  ;
1992 +  return 0;
1993 +}
1994 +_ACEOF
1995 +if ac_fn_cxx_try_compile "$LINENO"; then :
1996 +  glibcxx_cv_func__isinff_use=yes
1997 +else
1998 +  glibcxx_cv_func__isinff_use=no
1999 +fi
2000 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2001 +      ac_ext=c
2002 +ac_cpp='$CPP $CPPFLAGS'
2003 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2004 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2005 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2006 +
2007 +
2008 +fi
2009 +
2010 +  fi
2011 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
2012 +$as_echo "$glibcxx_cv_func__isinff_use" >&6; }
2013 +
2014 +    if test x$glibcxx_cv_func__isinff_use = x"yes"; then
2015 +      for ac_func in _isinff
2016 +do :
2017 +  ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
2018 +if test "x$ac_cv_func__isinff" = x""yes; then :
2019 +  cat >>confdefs.h <<_ACEOF
2020 +#define HAVE__ISINFF 1
2021 +_ACEOF
2022 +
2023 +fi
2024 +done
2025 +
2026 +    fi
2027 +  fi
2028 +
2029 +
2030 +
2031 +
2032 +
2033 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
2034 +$as_echo_n "checking for atan2f declaration... " >&6; }
2035 +  if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
2036 +    if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
2037 +  $as_echo_n "(cached) " >&6
2038 +else
2039 +
2040 +
2041 +      ac_ext=cpp
2042 +ac_cpp='$CXXCPP $CPPFLAGS'
2043 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2044 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2045 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2046 +
2047 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2048 +/* end confdefs.h.  */
2049 +#include <math.h>
2050 +int
2051 +main ()
2052 +{
2053 + atan2f(0, 0);
2054 +  ;
2055 +  return 0;
2056 +}
2057 +_ACEOF
2058 +if ac_fn_cxx_try_compile "$LINENO"; then :
2059 +  glibcxx_cv_func_atan2f_use=yes
2060 +else
2061 +  glibcxx_cv_func_atan2f_use=no
2062 +fi
2063 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2064 +      ac_ext=c
2065 +ac_cpp='$CPP $CPPFLAGS'
2066 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2067 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2068 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2069 +
2070 +
2071 +fi
2072 +
2073 +  fi
2074 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
2075 +$as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
2076 +
2077 +  if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
2078 +    for ac_func in atan2f
2079 +do :
2080 +  ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
2081 +if test "x$ac_cv_func_atan2f" = x""yes; then :
2082 +  cat >>confdefs.h <<_ACEOF
2083 +#define HAVE_ATAN2F 1
2084 +_ACEOF
2085 +
2086 +fi
2087 +done
2088 +
2089 +  else
2090 +
2091 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
2092 +$as_echo_n "checking for _atan2f declaration... " >&6; }
2093 +  if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
2094 +    if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
2095 +  $as_echo_n "(cached) " >&6
2096 +else
2097 +
2098 +
2099 +      ac_ext=cpp
2100 +ac_cpp='$CXXCPP $CPPFLAGS'
2101 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2102 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2103 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2104 +
2105 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2106 +/* end confdefs.h.  */
2107 +#include <math.h>
2108 +int
2109 +main ()
2110 +{
2111 + _atan2f(0, 0);
2112 +  ;
2113 +  return 0;
2114 +}
2115 +_ACEOF
2116 +if ac_fn_cxx_try_compile "$LINENO"; then :
2117 +  glibcxx_cv_func__atan2f_use=yes
2118 +else
2119 +  glibcxx_cv_func__atan2f_use=no
2120 +fi
2121 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2122 +      ac_ext=c
2123 +ac_cpp='$CPP $CPPFLAGS'
2124 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2125 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2126 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2127 +
2128 +
2129 +fi
2130 +
2131 +  fi
2132 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
2133 +$as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
2134 +
2135 +    if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
2136 +      for ac_func in _atan2f
2137 +do :
2138 +  ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
2139 +if test "x$ac_cv_func__atan2f" = x""yes; then :
2140 +  cat >>confdefs.h <<_ACEOF
2141 +#define HAVE__ATAN2F 1
2142 +_ACEOF
2143 +
2144 +fi
2145 +done
2146 +
2147 +    fi
2148 +  fi
2149 +
2150 +
2151 +
2152 +
2153 +
2154 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
2155 +$as_echo_n "checking for fabsf declaration... " >&6; }
2156 +  if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
2157 +    if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
2158 +  $as_echo_n "(cached) " >&6
2159 +else
2160 +
2161 +
2162 +      ac_ext=cpp
2163 +ac_cpp='$CXXCPP $CPPFLAGS'
2164 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2165 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2166 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2167 +
2168 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2169 +/* end confdefs.h.  */
2170 +#include <math.h>
2171 +		      #ifdef HAVE_IEEEFP_H
2172 +		      #include <ieeefp.h>
2173 +		      #endif
2174 +
2175 +int
2176 +main ()
2177 +{
2178 + fabsf(0);
2179 +  ;
2180 +  return 0;
2181 +}
2182 +_ACEOF
2183 +if ac_fn_cxx_try_compile "$LINENO"; then :
2184 +  glibcxx_cv_func_fabsf_use=yes
2185 +else
2186 +  glibcxx_cv_func_fabsf_use=no
2187 +fi
2188 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2189 +      ac_ext=c
2190 +ac_cpp='$CPP $CPPFLAGS'
2191 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2192 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2193 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2194 +
2195 +
2196 +fi
2197 +
2198 +  fi
2199 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
2200 +$as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
2201 +
2202 +  if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
2203 +    for ac_func in fabsf
2204 +do :
2205 +  ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
2206 +if test "x$ac_cv_func_fabsf" = x""yes; then :
2207 +  cat >>confdefs.h <<_ACEOF
2208 +#define HAVE_FABSF 1
2209 +_ACEOF
2210 +
2211 +fi
2212 +done
2213 +
2214 +  else
2215 +
2216 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
2217 +$as_echo_n "checking for _fabsf declaration... " >&6; }
2218 +  if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
2219 +    if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
2220 +  $as_echo_n "(cached) " >&6
2221 +else
2222 +
2223 +
2224 +      ac_ext=cpp
2225 +ac_cpp='$CXXCPP $CPPFLAGS'
2226 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2227 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2228 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2229 +
2230 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2231 +/* end confdefs.h.  */
2232 +#include <math.h>
2233 +		      #ifdef HAVE_IEEEFP_H
2234 +		      #include <ieeefp.h>
2235 +		      #endif
2236 +
2237 +int
2238 +main ()
2239 +{
2240 + _fabsf(0);
2241 +  ;
2242 +  return 0;
2243 +}
2244 +_ACEOF
2245 +if ac_fn_cxx_try_compile "$LINENO"; then :
2246 +  glibcxx_cv_func__fabsf_use=yes
2247 +else
2248 +  glibcxx_cv_func__fabsf_use=no
2249 +fi
2250 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2251 +      ac_ext=c
2252 +ac_cpp='$CPP $CPPFLAGS'
2253 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2254 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2255 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2256 +
2257 +
2258 +fi
2259 +
2260 +  fi
2261 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
2262 +$as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
2263 +
2264 +    if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
2265 +      for ac_func in _fabsf
2266 +do :
2267 +  ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
2268 +if test "x$ac_cv_func__fabsf" = x""yes; then :
2269 +  cat >>confdefs.h <<_ACEOF
2270 +#define HAVE__FABSF 1
2271 +_ACEOF
2272 +
2273 +fi
2274 +done
2275 +
2276 +    fi
2277 +  fi
2278 +
2279 +
2280 +
2281 +
2282 +
2283 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
2284 +$as_echo_n "checking for fmodf declaration... " >&6; }
2285 +  if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
2286 +    if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
2287 +  $as_echo_n "(cached) " >&6
2288 +else
2289 +
2290 +
2291 +      ac_ext=cpp
2292 +ac_cpp='$CXXCPP $CPPFLAGS'
2293 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2294 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2295 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2296 +
2297 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2298 +/* end confdefs.h.  */
2299 +#include <math.h>
2300 +int
2301 +main ()
2302 +{
2303 + fmodf(0, 0);
2304 +  ;
2305 +  return 0;
2306 +}
2307 +_ACEOF
2308 +if ac_fn_cxx_try_compile "$LINENO"; then :
2309 +  glibcxx_cv_func_fmodf_use=yes
2310 +else
2311 +  glibcxx_cv_func_fmodf_use=no
2312 +fi
2313 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2314 +      ac_ext=c
2315 +ac_cpp='$CPP $CPPFLAGS'
2316 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2317 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2318 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2319 +
2320 +
2321 +fi
2322 +
2323 +  fi
2324 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
2325 +$as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
2326 +
2327 +  if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
2328 +    for ac_func in fmodf
2329 +do :
2330 +  ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
2331 +if test "x$ac_cv_func_fmodf" = x""yes; then :
2332 +  cat >>confdefs.h <<_ACEOF
2333 +#define HAVE_FMODF 1
2334 +_ACEOF
2335 +
2336 +fi
2337 +done
2338 +
2339 +  else
2340 +
2341 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
2342 +$as_echo_n "checking for _fmodf declaration... " >&6; }
2343 +  if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
2344 +    if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
2345 +  $as_echo_n "(cached) " >&6
2346 +else
2347 +
2348 +
2349 +      ac_ext=cpp
2350 +ac_cpp='$CXXCPP $CPPFLAGS'
2351 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2352 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2353 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2354 +
2355 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2356 +/* end confdefs.h.  */
2357 +#include <math.h>
2358 +int
2359 +main ()
2360 +{
2361 + _fmodf(0, 0);
2362 +  ;
2363 +  return 0;
2364 +}
2365 +_ACEOF
2366 +if ac_fn_cxx_try_compile "$LINENO"; then :
2367 +  glibcxx_cv_func__fmodf_use=yes
2368 +else
2369 +  glibcxx_cv_func__fmodf_use=no
2370 +fi
2371 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 +      ac_ext=c
2373 +ac_cpp='$CPP $CPPFLAGS'
2374 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2375 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2376 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2377 +
2378 +
2379 +fi
2380 +
2381 +  fi
2382 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
2383 +$as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
2384 +
2385 +    if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
2386 +      for ac_func in _fmodf
2387 +do :
2388 +  ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
2389 +if test "x$ac_cv_func__fmodf" = x""yes; then :
2390 +  cat >>confdefs.h <<_ACEOF
2391 +#define HAVE__FMODF 1
2392 +_ACEOF
2393 +
2394 +fi
2395 +done
2396 +
2397 +    fi
2398 +  fi
2399 +
2400 +
2401 +
2402 +
2403 +
2404 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
2405 +$as_echo_n "checking for frexpf declaration... " >&6; }
2406 +  if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
2407 +    if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
2408 +  $as_echo_n "(cached) " >&6
2409 +else
2410 +
2411 +
2412 +      ac_ext=cpp
2413 +ac_cpp='$CXXCPP $CPPFLAGS'
2414 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2415 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2416 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2417 +
2418 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2419 +/* end confdefs.h.  */
2420 +#include <math.h>
2421 +int
2422 +main ()
2423 +{
2424 + frexpf(0, 0);
2425 +  ;
2426 +  return 0;
2427 +}
2428 +_ACEOF
2429 +if ac_fn_cxx_try_compile "$LINENO"; then :
2430 +  glibcxx_cv_func_frexpf_use=yes
2431 +else
2432 +  glibcxx_cv_func_frexpf_use=no
2433 +fi
2434 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2435 +      ac_ext=c
2436 +ac_cpp='$CPP $CPPFLAGS'
2437 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2438 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2439 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2440 +
2441 +
2442 +fi
2443 +
2444 +  fi
2445 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
2446 +$as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
2447 +
2448 +  if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
2449 +    for ac_func in frexpf
2450 +do :
2451 +  ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
2452 +if test "x$ac_cv_func_frexpf" = x""yes; then :
2453 +  cat >>confdefs.h <<_ACEOF
2454 +#define HAVE_FREXPF 1
2455 +_ACEOF
2456 +
2457 +fi
2458 +done
2459 +
2460 +  else
2461 +
2462 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
2463 +$as_echo_n "checking for _frexpf declaration... " >&6; }
2464 +  if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
2465 +    if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
2466 +  $as_echo_n "(cached) " >&6
2467 +else
2468 +
2469 +
2470 +      ac_ext=cpp
2471 +ac_cpp='$CXXCPP $CPPFLAGS'
2472 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2473 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2474 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2475 +
2476 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2477 +/* end confdefs.h.  */
2478 +#include <math.h>
2479 +int
2480 +main ()
2481 +{
2482 + _frexpf(0, 0);
2483 +  ;
2484 +  return 0;
2485 +}
2486 +_ACEOF
2487 +if ac_fn_cxx_try_compile "$LINENO"; then :
2488 +  glibcxx_cv_func__frexpf_use=yes
2489 +else
2490 +  glibcxx_cv_func__frexpf_use=no
2491 +fi
2492 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2493 +      ac_ext=c
2494 +ac_cpp='$CPP $CPPFLAGS'
2495 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2496 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2497 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2498 +
2499 +
2500 +fi
2501 +
2502 +  fi
2503 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
2504 +$as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
2505 +
2506 +    if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
2507 +      for ac_func in _frexpf
2508 +do :
2509 +  ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
2510 +if test "x$ac_cv_func__frexpf" = x""yes; then :
2511 +  cat >>confdefs.h <<_ACEOF
2512 +#define HAVE__FREXPF 1
2513 +_ACEOF
2514 +
2515 +fi
2516 +done
2517 +
2518 +    fi
2519 +  fi
2520 +
2521 +
2522 +
2523 +
2524 +
2525 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
2526 +$as_echo_n "checking for hypotf declaration... " >&6; }
2527 +  if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
2528 +    if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
2529 +  $as_echo_n "(cached) " >&6
2530 +else
2531 +
2532 +
2533 +      ac_ext=cpp
2534 +ac_cpp='$CXXCPP $CPPFLAGS'
2535 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2536 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2537 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2538 +
2539 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2540 +/* end confdefs.h.  */
2541 +#include <math.h>
2542 +int
2543 +main ()
2544 +{
2545 + hypotf(0, 0);
2546 +  ;
2547 +  return 0;
2548 +}
2549 +_ACEOF
2550 +if ac_fn_cxx_try_compile "$LINENO"; then :
2551 +  glibcxx_cv_func_hypotf_use=yes
2552 +else
2553 +  glibcxx_cv_func_hypotf_use=no
2554 +fi
2555 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2556 +      ac_ext=c
2557 +ac_cpp='$CPP $CPPFLAGS'
2558 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2559 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2560 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2561 +
2562 +
2563 +fi
2564 +
2565 +  fi
2566 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
2567 +$as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
2568 +
2569 +  if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
2570 +    for ac_func in hypotf
2571 +do :
2572 +  ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
2573 +if test "x$ac_cv_func_hypotf" = x""yes; then :
2574 +  cat >>confdefs.h <<_ACEOF
2575 +#define HAVE_HYPOTF 1
2576 +_ACEOF
2577 +
2578 +fi
2579 +done
2580 +
2581 +  else
2582 +
2583 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
2584 +$as_echo_n "checking for _hypotf declaration... " >&6; }
2585 +  if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
2586 +    if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
2587 +  $as_echo_n "(cached) " >&6
2588 +else
2589 +
2590 +
2591 +      ac_ext=cpp
2592 +ac_cpp='$CXXCPP $CPPFLAGS'
2593 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2594 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2595 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2596 +
2597 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2598 +/* end confdefs.h.  */
2599 +#include <math.h>
2600 +int
2601 +main ()
2602 +{
2603 + _hypotf(0, 0);
2604 +  ;
2605 +  return 0;
2606 +}
2607 +_ACEOF
2608 +if ac_fn_cxx_try_compile "$LINENO"; then :
2609 +  glibcxx_cv_func__hypotf_use=yes
2610 +else
2611 +  glibcxx_cv_func__hypotf_use=no
2612 +fi
2613 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2614 +      ac_ext=c
2615 +ac_cpp='$CPP $CPPFLAGS'
2616 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2617 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2619 +
2620 +
2621 +fi
2622 +
2623 +  fi
2624 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
2625 +$as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
2626 +
2627 +    if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
2628 +      for ac_func in _hypotf
2629 +do :
2630 +  ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
2631 +if test "x$ac_cv_func__hypotf" = x""yes; then :
2632 +  cat >>confdefs.h <<_ACEOF
2633 +#define HAVE__HYPOTF 1
2634 +_ACEOF
2635 +
2636 +fi
2637 +done
2638 +
2639 +    fi
2640 +  fi
2641 +
2642 +
2643 +
2644 +
2645 +
2646 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
2647 +$as_echo_n "checking for ldexpf declaration... " >&6; }
2648 +  if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
2649 +    if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
2650 +  $as_echo_n "(cached) " >&6
2651 +else
2652 +
2653 +
2654 +      ac_ext=cpp
2655 +ac_cpp='$CXXCPP $CPPFLAGS'
2656 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2657 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2658 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2659 +
2660 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2661 +/* end confdefs.h.  */
2662 +#include <math.h>
2663 +int
2664 +main ()
2665 +{
2666 + ldexpf(0, 0);
2667 +  ;
2668 +  return 0;
2669 +}
2670 +_ACEOF
2671 +if ac_fn_cxx_try_compile "$LINENO"; then :
2672 +  glibcxx_cv_func_ldexpf_use=yes
2673 +else
2674 +  glibcxx_cv_func_ldexpf_use=no
2675 +fi
2676 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 +      ac_ext=c
2678 +ac_cpp='$CPP $CPPFLAGS'
2679 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2680 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2681 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2682 +
2683 +
2684 +fi
2685 +
2686 +  fi
2687 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
2688 +$as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
2689 +
2690 +  if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
2691 +    for ac_func in ldexpf
2692 +do :
2693 +  ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
2694 +if test "x$ac_cv_func_ldexpf" = x""yes; then :
2695 +  cat >>confdefs.h <<_ACEOF
2696 +#define HAVE_LDEXPF 1
2697 +_ACEOF
2698 +
2699 +fi
2700 +done
2701 +
2702 +  else
2703 +
2704 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
2705 +$as_echo_n "checking for _ldexpf declaration... " >&6; }
2706 +  if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
2707 +    if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
2708 +  $as_echo_n "(cached) " >&6
2709 +else
2710 +
2711 +
2712 +      ac_ext=cpp
2713 +ac_cpp='$CXXCPP $CPPFLAGS'
2714 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2715 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2716 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2717 +
2718 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2719 +/* end confdefs.h.  */
2720 +#include <math.h>
2721 +int
2722 +main ()
2723 +{
2724 + _ldexpf(0, 0);
2725 +  ;
2726 +  return 0;
2727 +}
2728 +_ACEOF
2729 +if ac_fn_cxx_try_compile "$LINENO"; then :
2730 +  glibcxx_cv_func__ldexpf_use=yes
2731 +else
2732 +  glibcxx_cv_func__ldexpf_use=no
2733 +fi
2734 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2735 +      ac_ext=c
2736 +ac_cpp='$CPP $CPPFLAGS'
2737 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2738 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2739 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2740 +
2741 +
2742 +fi
2743 +
2744 +  fi
2745 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
2746 +$as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
2747 +
2748 +    if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
2749 +      for ac_func in _ldexpf
2750 +do :
2751 +  ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
2752 +if test "x$ac_cv_func__ldexpf" = x""yes; then :
2753 +  cat >>confdefs.h <<_ACEOF
2754 +#define HAVE__LDEXPF 1
2755 +_ACEOF
2756 +
2757 +fi
2758 +done
2759 +
2760 +    fi
2761 +  fi
2762 +
2763 +
2764 +
2765 +
2766 +
2767 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
2768 +$as_echo_n "checking for logf declaration... " >&6; }
2769 +  if test x${glibcxx_cv_func_logf_use+set} != xset; then
2770 +    if test "${glibcxx_cv_func_logf_use+set}" = set; then :
2771 +  $as_echo_n "(cached) " >&6
2772 +else
2773 +
2774 +
2775 +      ac_ext=cpp
2776 +ac_cpp='$CXXCPP $CPPFLAGS'
2777 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2778 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2779 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2780 +
2781 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2782 +/* end confdefs.h.  */
2783 +#include <math.h>
2784 +		      #ifdef HAVE_IEEEFP_H
2785 +		      #include <ieeefp.h>
2786 +		      #endif
2787 +
2788 +int
2789 +main ()
2790 +{
2791 + logf(0);
2792 +  ;
2793 +  return 0;
2794 +}
2795 +_ACEOF
2796 +if ac_fn_cxx_try_compile "$LINENO"; then :
2797 +  glibcxx_cv_func_logf_use=yes
2798 +else
2799 +  glibcxx_cv_func_logf_use=no
2800 +fi
2801 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2802 +      ac_ext=c
2803 +ac_cpp='$CPP $CPPFLAGS'
2804 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2805 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2806 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2807 +
2808 +
2809 +fi
2810 +
2811 +  fi
2812 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
2813 +$as_echo "$glibcxx_cv_func_logf_use" >&6; }
2814 +
2815 +  if test x$glibcxx_cv_func_logf_use = x"yes"; then
2816 +    for ac_func in logf
2817 +do :
2818 +  ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
2819 +if test "x$ac_cv_func_logf" = x""yes; then :
2820 +  cat >>confdefs.h <<_ACEOF
2821 +#define HAVE_LOGF 1
2822 +_ACEOF
2823 +
2824 +fi
2825 +done
2826 +
2827 +  else
2828 +
2829 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
2830 +$as_echo_n "checking for _logf declaration... " >&6; }
2831 +  if test x${glibcxx_cv_func__logf_use+set} != xset; then
2832 +    if test "${glibcxx_cv_func__logf_use+set}" = set; then :
2833 +  $as_echo_n "(cached) " >&6
2834 +else
2835 +
2836 +
2837 +      ac_ext=cpp
2838 +ac_cpp='$CXXCPP $CPPFLAGS'
2839 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2840 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2841 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2842 +
2843 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2844 +/* end confdefs.h.  */
2845 +#include <math.h>
2846 +		      #ifdef HAVE_IEEEFP_H
2847 +		      #include <ieeefp.h>
2848 +		      #endif
2849 +
2850 +int
2851 +main ()
2852 +{
2853 + _logf(0);
2854 +  ;
2855 +  return 0;
2856 +}
2857 +_ACEOF
2858 +if ac_fn_cxx_try_compile "$LINENO"; then :
2859 +  glibcxx_cv_func__logf_use=yes
2860 +else
2861 +  glibcxx_cv_func__logf_use=no
2862 +fi
2863 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2864 +      ac_ext=c
2865 +ac_cpp='$CPP $CPPFLAGS'
2866 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2867 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2868 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2869 +
2870 +
2871 +fi
2872 +
2873 +  fi
2874 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
2875 +$as_echo "$glibcxx_cv_func__logf_use" >&6; }
2876 +
2877 +    if test x$glibcxx_cv_func__logf_use = x"yes"; then
2878 +      for ac_func in _logf
2879 +do :
2880 +  ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
2881 +if test "x$ac_cv_func__logf" = x""yes; then :
2882 +  cat >>confdefs.h <<_ACEOF
2883 +#define HAVE__LOGF 1
2884 +_ACEOF
2885 +
2886 +fi
2887 +done
2888 +
2889 +    fi
2890 +  fi
2891 +
2892 +
2893 +
2894 +
2895 +
2896 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
2897 +$as_echo_n "checking for log10f declaration... " >&6; }
2898 +  if test x${glibcxx_cv_func_log10f_use+set} != xset; then
2899 +    if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
2900 +  $as_echo_n "(cached) " >&6
2901 +else
2902 +
2903 +
2904 +      ac_ext=cpp
2905 +ac_cpp='$CXXCPP $CPPFLAGS'
2906 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2907 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2908 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2909 +
2910 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911 +/* end confdefs.h.  */
2912 +#include <math.h>
2913 +		      #ifdef HAVE_IEEEFP_H
2914 +		      #include <ieeefp.h>
2915 +		      #endif
2916 +
2917 +int
2918 +main ()
2919 +{
2920 + log10f(0);
2921 +  ;
2922 +  return 0;
2923 +}
2924 +_ACEOF
2925 +if ac_fn_cxx_try_compile "$LINENO"; then :
2926 +  glibcxx_cv_func_log10f_use=yes
2927 +else
2928 +  glibcxx_cv_func_log10f_use=no
2929 +fi
2930 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931 +      ac_ext=c
2932 +ac_cpp='$CPP $CPPFLAGS'
2933 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2934 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2935 +ac_compiler_gnu=$ac_cv_c_compiler_gnu
2936 +
2937 +
2938 +fi
2939 +
2940 +  fi
2941 +  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
2942 +$as_echo "$glibcxx_cv_func_log10f_use" >&6; }
2943 +
2944 +  if test x$glibcxx_cv_func_log10f_use = x"yes"; then
2945 +    for ac_func in log10f
2946 +do :
2947 +  ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
2948 +if test "x$ac_cv_func_log10f" = x""yes; then :
2949 +  cat >>confdefs.h <<_ACEOF
2950 +#define HAVE_LOG10F 1
2951 +_ACEOF
2952 +
2953 +fi
2954 +done
2955 +
2956 +  else
2957 +
2958 +  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
2959 +$as_echo_n "checking for _log10f declaration... " >&6; }
2960 +  if test x${glibcxx_cv_func__log10f_use+set} != xset; then
2961 +    if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
2962 +  $as_echo_n "(cached) " >&6
2963 +else
2964 +
2965 +
2966 +      ac_ext=cpp
2967 +ac_cpp='$CXXCPP $CPPFLAGS'
2968 +ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2969 +ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2970 +ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2971 +
2972 +      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2973 +/* end confdefs.h.  */
2974 +#include <math.h>
2975 +		      #ifdef HAVE_IEEEFP_H
2976 +		      #include <ieeefp.h>
2977 +		      #endif
2978 +
2979 +int
2980 +main ()
2981 +{
2982 + _log10f(0);
2983 +  ;
2984 +  return 0;
2985 +}
2986 +_ACEOF
2987 +if ac_fn_cxx_try_compile "$LINENO"; then :
2988 +  glibcxx_cv_func__log10f_use=yes
2989 +else
2990 +  glibcxx_cv_func__log10f_use=no
2991 +fi
2992 +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2993 +      ac_ext=c
2994 +ac_cpp='$CPP $CPPFLAGS'
2995 +ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2996 +ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2997