OSDN Git Service

6e6e1996e62d57298deb7c65258918e21d809fb1
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26   as_unset=unset
27 else
28   as_unset=false
29 fi
30
31
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
37
38 # NLS nuisances.
39 for as_var in \
40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42   LC_TELEPHONE LC_TIME
43 do
44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45     eval $as_var=C; export $as_var
46   else
47     $as_unset $as_var
48   fi
49 done
50
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53   as_expr=expr
54 else
55   as_expr=false
56 fi
57
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59   as_basename=basename
60 else
61   as_basename=false
62 fi
63
64
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68          X"$0" : 'X\(//\)$' \| \
69          X"$0" : 'X\(/\)$' \| \
70          .     : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73           /^X\/\(\/\/\)$/{ s//\1/; q; }
74           /^X\/\(\/\).*/{ s//\1/; q; }
75           s/.*/./; q'`
76
77
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
85
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88   echo "#! /bin/sh" >conf$$.sh
89   echo  "exit 0"   >>conf$$.sh
90   chmod +x conf$$.sh
91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92     PATH_SEPARATOR=';'
93   else
94     PATH_SEPARATOR=:
95   fi
96   rm -f conf$$.sh
97 fi
98
99
100   as_lineno_1=$LINENO
101   as_lineno_2=$LINENO
102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103   test "x$as_lineno_1" != "x$as_lineno_2" &&
104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
105   # Find who we are.  Look in the path if we contain no path at all
106   # relative or not.
107   case $0 in
108     *[\\/]* ) as_myself=$0 ;;
109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
111 do
112   IFS=$as_save_IFS
113   test -z "$as_dir" && as_dir=.
114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
116
117        ;;
118   esac
119   # We did not find ourselves, most probably we were run as `sh COMMAND'
120   # in which case we are not to be found in the path.
121   if test "x$as_myself" = x; then
122     as_myself=$0
123   fi
124   if test ! -f "$as_myself"; then
125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126    { (exit 1); exit 1; }; }
127   fi
128   case $CONFIG_SHELL in
129   '')
130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 do
133   IFS=$as_save_IFS
134   test -z "$as_dir" && as_dir=.
135   for as_base in sh bash ksh sh5; do
136          case $as_dir in
137          /*)
138            if ("$as_dir/$as_base" -c '
139   as_lineno_1=$LINENO
140   as_lineno_2=$LINENO
141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142   test "x$as_lineno_1" != "x$as_lineno_2" &&
143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
144              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146              CONFIG_SHELL=$as_dir/$as_base
147              export CONFIG_SHELL
148              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149            fi;;
150          esac
151        done
152 done
153 ;;
154   esac
155
156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157   # uniformly replaced by the line number.  The first 'sed' inserts a
158   # line-number line before each line; the second 'sed' does the real
159   # work.  The second script uses 'N' to pair each line-number line
160   # with the numbered line, and appends trailing '-' during
161   # substitution so that $LINENO is not a special case at line end.
162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
164   sed '=' <$as_myself |
165     sed '
166       N
167       s,$,-,
168       : loop
169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170       t loop
171       s,-$,,
172       s,^['$as_cr_digits']*\n,,
173     ' >$as_me.lineno &&
174   chmod +x $as_me.lineno ||
175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176    { (exit 1); exit 1; }; }
177
178   # Don't try to exec as it changes $[0], causing all sort of problems
179   # (the dirname of $[0] is not the place where we might find the
180   # original and so on.  Autoconf is especially sensible to this).
181   . ./$as_me.lineno
182   # Exit status is that of the last command.
183   exit
184 }
185
186
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188   *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T='      ' ;;
190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
193
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195   as_expr=expr
196 else
197   as_expr=false
198 fi
199
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203   # We could just check for DJGPP; but this test a) works b) is more generic
204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205   if test -f conf$$.exe; then
206     # Don't use ln at all; we don't have any links
207     as_ln_s='cp -p'
208   else
209     as_ln_s='ln -s'
210   fi
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212   as_ln_s=ln
213 else
214   as_ln_s='cp -p'
215 fi
216 rm -f conf$$ conf$$.exe conf$$.file
217
218 if mkdir -p . 2>/dev/null; then
219   as_mkdir_p=:
220 else
221   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
247
248 case X$lt_ECHO in
249 X*--fallback-echo)
250   # Remove one level of quotation (which was required for Make).
251   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
252   ;;
253 esac
254
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257   # Discard the --no-reexec flag, and continue.
258   shift
259 elif test "X$1" = X--fallback-echo; then
260   # Avoid inline document here, it may be left over
261   :
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263   # Yippee, $ECHO works!
264   :
265 else
266   # Restart under the correct shell.
267   exec $SHELL "$0" --no-reexec ${1+"$@"}
268 fi
269
270 if test "X$1" = X--fallback-echo; then
271   # used as fallback echo
272   shift
273   cat <<_LT_EOF
274 $*
275 _LT_EOF
276   exit 0
277 fi
278
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282
283 if test -z "$lt_ECHO"; then
284   if test "X${echo_test_string+set}" != Xset; then
285     # find a string as large as possible, as long as the shell can cope with it
286     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289          { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290       then
291         break
292       fi
293     done
294   fi
295
296   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298      test "X$echo_testing_string" = "X$echo_test_string"; then
299     :
300   else
301     # The Solaris, AIX, and Digital Unix default echo programs unquote
302     # backslashes.  This makes it impossible to quote backslashes using
303     #   echo "$something" | sed 's/\\/\\\\/g'
304     #
305     # So, first we look for a working echo in the user's PATH.
306
307     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308     for dir in $PATH /usr/ucb; do
309       IFS="$lt_save_ifs"
310       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313          test "X$echo_testing_string" = "X$echo_test_string"; then
314         ECHO="$dir/echo"
315         break
316       fi
317     done
318     IFS="$lt_save_ifs"
319
320     if test "X$ECHO" = Xecho; then
321       # We didn't find a better echo, so look for alternatives.
322       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324          test "X$echo_testing_string" = "X$echo_test_string"; then
325         # This shell has a builtin print -r that does the trick.
326         ECHO='print -r'
327       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328            test "X$CONFIG_SHELL" != X/bin/ksh; then
329         # If we have ksh, try running configure again with it.
330         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331         export ORIGINAL_CONFIG_SHELL
332         CONFIG_SHELL=/bin/ksh
333         export CONFIG_SHELL
334         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335       else
336         # Try using printf.
337         ECHO='printf %s\n'
338         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339            echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340            test "X$echo_testing_string" = "X$echo_test_string"; then
341           # Cool, printf works
342           :
343         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344              test "X$echo_testing_string" = 'X\t' &&
345              echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346              test "X$echo_testing_string" = "X$echo_test_string"; then
347           CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348           export CONFIG_SHELL
349           SHELL="$CONFIG_SHELL"
350           export SHELL
351           ECHO="$CONFIG_SHELL $0 --fallback-echo"
352         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353              test "X$echo_testing_string" = 'X\t' &&
354              echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355              test "X$echo_testing_string" = "X$echo_test_string"; then
356           ECHO="$CONFIG_SHELL $0 --fallback-echo"
357         else
358           # maybe with a smaller string...
359           prev=:
360
361           for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362             if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363             then
364               break
365             fi
366             prev="$cmd"
367           done
368
369           if test "$prev" != 'sed 50q "$0"'; then
370             echo_test_string=`eval $prev`
371             export echo_test_string
372             exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373           else
374             # Oops.  We lost completely, so just stick with echo.
375             ECHO=echo
376           fi
377         fi
378       fi
379     fi
380   fi
381 fi
382
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
388 fi
389
390
391
392
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
397
398 exec 6>&1
399
400 #
401 # Initializations.
402 #
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
410
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete.  It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
415
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
422
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 #  include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 #  include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 #  include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
460
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM lt_ECHO LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE ENABLE_PARALLEL_TRUE ENABLE_PARALLEL_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ATOMIC_FLAGS CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR ERROR_CONSTANTS_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
462 ac_subst_files=''
463
464 # Initialize some variables set by options.
465 ac_init_help=
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
469 cache_file=/dev/null
470 exec_prefix=NONE
471 no_create=
472 no_recursion=
473 prefix=NONE
474 program_prefix=NONE
475 program_suffix=NONE
476 program_transform_name=s,x,x,
477 silent=
478 site=
479 srcdir=
480 verbose=
481 x_includes=NONE
482 x_libraries=NONE
483
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
501
502 ac_prev=
503 for ac_option
504 do
505   # If the previous option needs an argument, assign it.
506   if test -n "$ac_prev"; then
507     eval "$ac_prev=\$ac_option"
508     ac_prev=
509     continue
510   fi
511
512   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
513
514   # Accept the important Cygnus configure options, so we can diagnose typos.
515
516   case $ac_option in
517
518   -bindir | --bindir | --bindi | --bind | --bin | --bi)
519     ac_prev=bindir ;;
520   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
521     bindir=$ac_optarg ;;
522
523   -build | --build | --buil | --bui | --bu)
524     ac_prev=build_alias ;;
525   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526     build_alias=$ac_optarg ;;
527
528   -cache-file | --cache-file | --cache-fil | --cache-fi \
529   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530     ac_prev=cache_file ;;
531   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533     cache_file=$ac_optarg ;;
534
535   --config-cache | -C)
536     cache_file=config.cache ;;
537
538   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539     ac_prev=datadir ;;
540   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541   | --da=*)
542     datadir=$ac_optarg ;;
543
544   -disable-* | --disable-*)
545     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546     # Reject names that are not valid shell variable names.
547     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549    { (exit 1); exit 1; }; }
550     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551     eval "enable_$ac_feature=no" ;;
552
553   -enable-* | --enable-*)
554     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555     # Reject names that are not valid shell variable names.
556     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558    { (exit 1); exit 1; }; }
559     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560     case $ac_option in
561       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562       *) ac_optarg=yes ;;
563     esac
564     eval "enable_$ac_feature='$ac_optarg'" ;;
565
566   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568   | --exec | --exe | --ex)
569     ac_prev=exec_prefix ;;
570   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572   | --exec=* | --exe=* | --ex=*)
573     exec_prefix=$ac_optarg ;;
574
575   -gas | --gas | --ga | --g)
576     # Obsolete; use --with-gas.
577     with_gas=yes ;;
578
579   -help | --help | --hel | --he | -h)
580     ac_init_help=long ;;
581   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582     ac_init_help=recursive ;;
583   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584     ac_init_help=short ;;
585
586   -host | --host | --hos | --ho)
587     ac_prev=host_alias ;;
588   -host=* | --host=* | --hos=* | --ho=*)
589     host_alias=$ac_optarg ;;
590
591   -includedir | --includedir | --includedi | --included | --include \
592   | --includ | --inclu | --incl | --inc)
593     ac_prev=includedir ;;
594   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595   | --includ=* | --inclu=* | --incl=* | --inc=*)
596     includedir=$ac_optarg ;;
597
598   -infodir | --infodir | --infodi | --infod | --info | --inf)
599     ac_prev=infodir ;;
600   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601     infodir=$ac_optarg ;;
602
603   -libdir | --libdir | --libdi | --libd)
604     ac_prev=libdir ;;
605   -libdir=* | --libdir=* | --libdi=* | --libd=*)
606     libdir=$ac_optarg ;;
607
608   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609   | --libexe | --libex | --libe)
610     ac_prev=libexecdir ;;
611   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612   | --libexe=* | --libex=* | --libe=*)
613     libexecdir=$ac_optarg ;;
614
615   -localstatedir | --localstatedir | --localstatedi | --localstated \
616   | --localstate | --localstat | --localsta | --localst \
617   | --locals | --local | --loca | --loc | --lo)
618     ac_prev=localstatedir ;;
619   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622     localstatedir=$ac_optarg ;;
623
624   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
625     ac_prev=mandir ;;
626   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
627     mandir=$ac_optarg ;;
628
629   -nfp | --nfp | --nf)
630     # Obsolete; use --without-fp.
631     with_fp=no ;;
632
633   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634   | --no-cr | --no-c | -n)
635     no_create=yes ;;
636
637   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
639     no_recursion=yes ;;
640
641   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643   | --oldin | --oldi | --old | --ol | --o)
644     ac_prev=oldincludedir ;;
645   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648     oldincludedir=$ac_optarg ;;
649
650   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
651     ac_prev=prefix ;;
652   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
653     prefix=$ac_optarg ;;
654
655   -program-prefix | --program-prefix | --program-prefi | --program-pref \
656   | --program-pre | --program-pr | --program-p)
657     ac_prev=program_prefix ;;
658   -program-prefix=* | --program-prefix=* | --program-prefi=* \
659   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660     program_prefix=$ac_optarg ;;
661
662   -program-suffix | --program-suffix | --program-suffi | --program-suff \
663   | --program-suf | --program-su | --program-s)
664     ac_prev=program_suffix ;;
665   -program-suffix=* | --program-suffix=* | --program-suffi=* \
666   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667     program_suffix=$ac_optarg ;;
668
669   -program-transform-name | --program-transform-name \
670   | --program-transform-nam | --program-transform-na \
671   | --program-transform-n | --program-transform- \
672   | --program-transform | --program-transfor \
673   | --program-transfo | --program-transf \
674   | --program-trans | --program-tran \
675   | --progr-tra | --program-tr | --program-t)
676     ac_prev=program_transform_name ;;
677   -program-transform-name=* | --program-transform-name=* \
678   | --program-transform-nam=* | --program-transform-na=* \
679   | --program-transform-n=* | --program-transform-=* \
680   | --program-transform=* | --program-transfor=* \
681   | --program-transfo=* | --program-transf=* \
682   | --program-trans=* | --program-tran=* \
683   | --progr-tra=* | --program-tr=* | --program-t=*)
684     program_transform_name=$ac_optarg ;;
685
686   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687   | -silent | --silent | --silen | --sile | --sil)
688     silent=yes ;;
689
690   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
691     ac_prev=sbindir ;;
692   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
693   | --sbi=* | --sb=*)
694     sbindir=$ac_optarg ;;
695
696   -sharedstatedir | --sharedstatedir | --sharedstatedi \
697   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698   | --sharedst | --shareds | --shared | --share | --shar \
699   | --sha | --sh)
700     ac_prev=sharedstatedir ;;
701   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
704   | --sha=* | --sh=*)
705     sharedstatedir=$ac_optarg ;;
706
707   -site | --site | --sit)
708     ac_prev=site ;;
709   -site=* | --site=* | --sit=*)
710     site=$ac_optarg ;;
711
712   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
713     ac_prev=srcdir ;;
714   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
715     srcdir=$ac_optarg ;;
716
717   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718   | --syscon | --sysco | --sysc | --sys | --sy)
719     ac_prev=sysconfdir ;;
720   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722     sysconfdir=$ac_optarg ;;
723
724   -target | --target | --targe | --targ | --tar | --ta | --t)
725     ac_prev=target_alias ;;
726   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727     target_alias=$ac_optarg ;;
728
729   -v | -verbose | --verbose | --verbos | --verbo | --verb)
730     verbose=yes ;;
731
732   -version | --version | --versio | --versi | --vers | -V)
733     ac_init_version=: ;;
734
735   -with-* | --with-*)
736     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737     # Reject names that are not valid shell variable names.
738     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739       { echo "$as_me: error: invalid package name: $ac_package" >&2
740    { (exit 1); exit 1; }; }
741     ac_package=`echo $ac_package| sed 's/-/_/g'`
742     case $ac_option in
743       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
744       *) ac_optarg=yes ;;
745     esac
746     eval "with_$ac_package='$ac_optarg'" ;;
747
748   -without-* | --without-*)
749     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750     # Reject names that are not valid shell variable names.
751     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752       { echo "$as_me: error: invalid package name: $ac_package" >&2
753    { (exit 1); exit 1; }; }
754     ac_package=`echo $ac_package | sed 's/-/_/g'`
755     eval "with_$ac_package=no" ;;
756
757   --x)
758     # Obsolete; use --with-x.
759     with_x=yes ;;
760
761   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762   | --x-incl | --x-inc | --x-in | --x-i)
763     ac_prev=x_includes ;;
764   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766     x_includes=$ac_optarg ;;
767
768   -x-libraries | --x-libraries | --x-librarie | --x-librari \
769   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770     ac_prev=x_libraries ;;
771   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773     x_libraries=$ac_optarg ;;
774
775   -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777    { (exit 1); exit 1; }; }
778     ;;
779
780   *=*)
781     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782     # Reject names that are not valid shell variable names.
783     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785    { (exit 1); exit 1; }; }
786     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787     eval "$ac_envvar='$ac_optarg'"
788     export $ac_envvar ;;
789
790   *)
791     # FIXME: should be removed in autoconf 3.0.
792     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
796     ;;
797
798   esac
799 done
800
801 if test -n "$ac_prev"; then
802   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803   { echo "$as_me: error: missing argument to $ac_option" >&2
804    { (exit 1); exit 1; }; }
805 fi
806
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
809 do
810   eval ac_val=$`echo $ac_var`
811   case $ac_val in
812     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814    { (exit 1); exit 1; }; };;
815   esac
816 done
817
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820               localstatedir libdir includedir oldincludedir infodir mandir
821 do
822   eval ac_val=$`echo $ac_var`
823   case $ac_val in
824     [\\/$]* | ?:[\\/]* ) ;;
825     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826    { (exit 1); exit 1; }; };;
827   esac
828 done
829
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
833 build=$build_alias
834 host=$host_alias
835 target=$target_alias
836
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839   if test "x$build_alias" = x; then
840     cross_compiling=maybe
841     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842     If a cross compiler is detected then cross compile mode will be used." >&2
843   elif test "x$build_alias" != "x$host_alias"; then
844     cross_compiling=yes
845   fi
846 fi
847
848 ac_tool_prefix=
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
850
851 test "$silent" = yes && exec 6>/dev/null
852
853
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856   ac_srcdir_defaulted=yes
857   # Try the directory containing this script, then its parent.
858   ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860          X"$0" : 'X\(//\)[^/]' \| \
861          X"$0" : 'X\(//\)$' \| \
862          X"$0" : 'X\(/\)' \| \
863          .     : '\(.\)' 2>/dev/null ||
864 echo X"$0" |
865     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867           /^X\(\/\/\)$/{ s//\1/; q; }
868           /^X\(\/\).*/{ s//\1/; q; }
869           s/.*/./; q'`
870   srcdir=$ac_confdir
871   if test ! -r $srcdir/$ac_unique_file; then
872     srcdir=..
873   fi
874 else
875   ac_srcdir_defaulted=no
876 fi
877 if test ! -r $srcdir/$ac_unique_file; then
878   if test "$ac_srcdir_defaulted" = yes; then
879     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880    { (exit 1); exit 1; }; }
881   else
882     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883    { (exit 1); exit 1; }; }
884   fi
885 fi
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888    { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910 ac_env_CXX_set=${CXX+set}
911 ac_env_CXX_value=$CXX
912 ac_cv_env_CXX_set=${CXX+set}
913 ac_cv_env_CXX_value=$CXX
914 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CXXCPP_set=${CXXCPP+set}
923 ac_env_CXXCPP_value=$CXXCPP
924 ac_cv_env_CXXCPP_set=${CXXCPP+set}
925 ac_cv_env_CXXCPP_value=$CXXCPP
926
927 #
928 # Report the --help message.
929 #
930 if test "$ac_init_help" = "long"; then
931   # Omit some internal or obsolete options to make the list less imposing.
932   # This message is too long to be a string in the A/UX 3.1 sh.
933   cat <<_ACEOF
934 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
935
936 Usage: $0 [OPTION]... [VAR=VALUE]...
937
938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
939 VAR=VALUE.  See below for descriptions of some of the useful variables.
940
941 Defaults for the options are specified in brackets.
942
943 Configuration:
944   -h, --help              display this help and exit
945       --help=short        display options specific to this package
946       --help=recursive    display the short help of all the included packages
947   -V, --version           display version information and exit
948   -q, --quiet, --silent   do not print \`checking...' messages
949       --cache-file=FILE   cache test results in FILE [disabled]
950   -C, --config-cache      alias for \`--cache-file=config.cache'
951   -n, --no-create         do not create output files
952       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
953
954 _ACEOF
955
956   cat <<_ACEOF
957 Installation directories:
958   --prefix=PREFIX         install architecture-independent files in PREFIX
959                           [$ac_default_prefix]
960   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
961                           [PREFIX]
962
963 By default, \`make install' will install all the files in
964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
966 for instance \`--prefix=\$HOME'.
967
968 For better control, use the options below.
969
970 Fine tuning of the installation directories:
971   --bindir=DIR           user executables [EPREFIX/bin]
972   --sbindir=DIR          system admin executables [EPREFIX/sbin]
973   --libexecdir=DIR       program executables [EPREFIX/libexec]
974   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
975   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
976   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
977   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
978   --libdir=DIR           object code libraries [EPREFIX/lib]
979   --includedir=DIR       C header files [PREFIX/include]
980   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
981   --infodir=DIR          info documentation [PREFIX/info]
982   --mandir=DIR           man documentation [PREFIX/man]
983 _ACEOF
984
985   cat <<\_ACEOF
986
987 Program names:
988   --program-prefix=PREFIX            prepend PREFIX to installed program names
989   --program-suffix=SUFFIX            append SUFFIX to installed program names
990   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
991
992 System types:
993   --build=BUILD     configure for building on BUILD [guessed]
994   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
995   --target=TARGET   configure for building compilers for TARGET [HOST]
996 _ACEOF
997 fi
998
999 if test -n "$ac_init_help"; then
1000   case $ac_init_help in
1001      short | recursive ) echo "Configuration of package-unused version-unused:";;
1002    esac
1003   cat <<\_ACEOF
1004
1005 Optional Features:
1006   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1007   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1008   --enable-multilib       build many library versions (default)
1009   --enable-maintainer-mode  enable make rules and dependencies not useful
1010                           (and sometimes confusing) to the casual installer
1011   --enable-shared[=PKGS]
1012                           build shared libraries [default=yes]
1013   --enable-static[=PKGS]
1014                           build static libraries [default=yes]
1015   --enable-fast-install[=PKGS]
1016                           optimize for fast installation [default=yes]
1017   --disable-libtool-lock  avoid locking (might break parallel builds)
1018   --disable-hosted-libstdcxx
1019                           only build freestanding C++ runtime support
1020   --enable-sjlj-exceptions
1021                           force use of builtin_setjmp for exceptions
1022                           [default=auto]
1023   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
1024                           [default=$is_hosted]
1025   --enable-cstdio=PACKAGE use target-specific I/O package
1026                           [default=stdio]
1027   --enable-clocale[=MODEL]
1028                           use MODEL for target locale package
1029                           [default=auto]
1030   --enable-nls            use Native Language Support (default)
1031   --enable-libstdcxx-allocator=KIND
1032                           use KIND for target std::allocator base
1033                           [default=auto]
1034   --enable-cheaders=KIND  construct "C" headers for g++
1035                           [default=$c_model]
1036   --enable-long-long      enable template specializations for 'long long'
1037                           [default=yes]
1038   --enable-wchar_t        enable template specializations for 'wchar_t'
1039                           [default=yes]
1040   --enable-c99            turns on ISO/IEC 9899:1999 support
1041                           [default=yes]
1042   --enable-concept-checks use Boost-derived template checks [default=no]
1043   --enable-libstdcxx-debug-flags=FLAGS
1044                           pass compiler FLAGS when building debug library
1045                           [default="-g3 -O0"]
1046   --enable-libstdcxx-debug
1047                           build extra debug library [default=no]
1048   --enable-cxx-flags=FLAGS
1049                           pass compiler FLAGS when building library
1050                           [default=]
1051   --enable-fully-dynamic-string
1052                           do not put empty strings in per-process static
1053                           memory [default=no]
1054   --enable-tls            Use thread-local storage [default=yes]
1055   --disable-rpath         do not hardcode runtime library paths
1056   --enable-linux-futex    use the Linux futex system call
1057                           [default=default]
1058   --enable-symvers=STYLE  enables symbol versioning of the shared library
1059                           [default=yes]
1060   --enable-visibility     enables visibility safe usage [default=yes]
1061   --enable-version-specific-runtime-libs
1062                           Specify that runtime libraries should be installed
1063                           in a compiler-specific directory
1064
1065 Optional Packages:
1066   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1067   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1068   --with-target-subdir=SUBDIR
1069                           configuring in a subdirectory
1070   --with-cross-host=HOST  configuring with a cross compiler
1071   --with-newlib           assume newlib as a system C library
1072   --with-pic              try to use only PIC/non-PIC objects [default=use
1073                           both]
1074   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
1075   --with-gnu-ld           assume the C compiler uses GNU ld default=no
1076   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1077   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
1078   --with-gxx-include-dir=DIR
1079                           installation directory for include files
1080
1081 Some influential environment variables:
1082   CC          C compiler command
1083   CFLAGS      C compiler flags
1084   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1085               nonstandard directory <lib dir>
1086   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
1087               headers in a nonstandard directory <include dir>
1088   CXX         C++ compiler command
1089   CXXFLAGS    C++ compiler flags
1090   CPP         C preprocessor
1091   CXXCPP      C++ preprocessor
1092
1093 Use these variables to override the choices made by `configure' or to help
1094 it to find libraries and programs with nonstandard names/locations.
1095
1096 _ACEOF
1097 fi
1098
1099 if test "$ac_init_help" = "recursive"; then
1100   # If there are subdirs, report their specific --help.
1101   ac_popdir=`pwd`
1102   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1103     test -d $ac_dir || continue
1104     ac_builddir=.
1105
1106 if test "$ac_dir" != .; then
1107   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1108   # A "../" for each directory in $ac_dir_suffix.
1109   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1110 else
1111   ac_dir_suffix= ac_top_builddir=
1112 fi
1113
1114 case $srcdir in
1115   .)  # No --srcdir option.  We are building in place.
1116     ac_srcdir=.
1117     if test -z "$ac_top_builddir"; then
1118        ac_top_srcdir=.
1119     else
1120        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1121     fi ;;
1122   [\\/]* | ?:[\\/]* )  # Absolute path.
1123     ac_srcdir=$srcdir$ac_dir_suffix;
1124     ac_top_srcdir=$srcdir ;;
1125   *) # Relative path.
1126     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1127     ac_top_srcdir=$ac_top_builddir$srcdir ;;
1128 esac
1129
1130 # Do not use `cd foo && pwd` to compute absolute paths, because
1131 # the directories may not exist.
1132 case `pwd` in
1133 .) ac_abs_builddir="$ac_dir";;
1134 *)
1135   case "$ac_dir" in
1136   .) ac_abs_builddir=`pwd`;;
1137   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1138   *) ac_abs_builddir=`pwd`/"$ac_dir";;
1139   esac;;
1140 esac
1141 case $ac_abs_builddir in
1142 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1143 *)
1144   case ${ac_top_builddir}. in
1145   .) ac_abs_top_builddir=$ac_abs_builddir;;
1146   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1147   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1148   esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_srcdir=$ac_srcdir;;
1152 *)
1153   case $ac_srcdir in
1154   .) ac_abs_srcdir=$ac_abs_builddir;;
1155   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1156   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1157   esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1161 *)
1162   case $ac_top_srcdir in
1163   .) ac_abs_top_srcdir=$ac_abs_builddir;;
1164   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1165   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1166   esac;;
1167 esac
1168
1169     cd $ac_dir
1170     # Check for guested configure; otherwise get Cygnus style configure.
1171     if test -f $ac_srcdir/configure.gnu; then
1172       echo
1173       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1174     elif test -f $ac_srcdir/configure; then
1175       echo
1176       $SHELL $ac_srcdir/configure  --help=recursive
1177     elif test -f $ac_srcdir/configure.ac ||
1178            test -f $ac_srcdir/configure.in; then
1179       echo
1180       $ac_configure --help
1181     else
1182       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1183     fi
1184     cd $ac_popdir
1185   done
1186 fi
1187
1188 test -n "$ac_init_help" && exit 0
1189 if $ac_init_version; then
1190   cat <<\_ACEOF
1191 package-unused configure version-unused
1192 generated by GNU Autoconf 2.59
1193
1194 Copyright (C) 2003 Free Software Foundation, Inc.
1195 This configure script is free software; the Free Software Foundation
1196 gives unlimited permission to copy, distribute and modify it.
1197 _ACEOF
1198   exit 0
1199 fi
1200 exec 5>config.log
1201 cat >&5 <<_ACEOF
1202 This file contains any messages produced by compilers while
1203 running configure, to aid debugging if configure makes a mistake.
1204
1205 It was created by package-unused $as_me version-unused, which was
1206 generated by GNU Autoconf 2.59.  Invocation command line was
1207
1208   $ $0 $@
1209
1210 _ACEOF
1211 {
1212 cat <<_ASUNAME
1213 ## --------- ##
1214 ## Platform. ##
1215 ## --------- ##
1216
1217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1222
1223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1224 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1225
1226 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1227 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1229 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1230 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1231 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1232 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1233
1234 _ASUNAME
1235
1236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1237 for as_dir in $PATH
1238 do
1239   IFS=$as_save_IFS
1240   test -z "$as_dir" && as_dir=.
1241   echo "PATH: $as_dir"
1242 done
1243
1244 } >&5
1245
1246 cat >&5 <<_ACEOF
1247
1248
1249 ## ----------- ##
1250 ## Core tests. ##
1251 ## ----------- ##
1252
1253 _ACEOF
1254
1255
1256 # Keep a trace of the command line.
1257 # Strip out --no-create and --no-recursion so they do not pile up.
1258 # Strip out --silent because we don't want to record it for future runs.
1259 # Also quote any args containing shell meta-characters.
1260 # Make two passes to allow for proper duplicate-argument suppression.
1261 ac_configure_args=
1262 ac_configure_args0=
1263 ac_configure_args1=
1264 ac_sep=
1265 ac_must_keep_next=false
1266 for ac_pass in 1 2
1267 do
1268   for ac_arg
1269   do
1270     case $ac_arg in
1271     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1272     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1273     | -silent | --silent | --silen | --sile | --sil)
1274       continue ;;
1275     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1277     esac
1278     case $ac_pass in
1279     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1280     2)
1281       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1282       if test $ac_must_keep_next = true; then
1283         ac_must_keep_next=false # Got value, back to normal.
1284       else
1285         case $ac_arg in
1286           *=* | --config-cache | -C | -disable-* | --disable-* \
1287           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1288           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1289           | -with-* | --with-* | -without-* | --without-* | --x)
1290             case "$ac_configure_args0 " in
1291               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1292             esac
1293             ;;
1294           -* ) ac_must_keep_next=true ;;
1295         esac
1296       fi
1297       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1298       # Get rid of the leading space.
1299       ac_sep=" "
1300       ;;
1301     esac
1302   done
1303 done
1304 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1305 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1306
1307 # When interrupted or exit'd, cleanup temporary files, and complete
1308 # config.log.  We remove comments because anyway the quotes in there
1309 # would cause problems or look ugly.
1310 # WARNING: Be sure not to use single quotes in there, as some shells,
1311 # such as our DU 5.0 friend, will then `close' the trap.
1312 trap 'exit_status=$?
1313   # Save into config.log some information that might help in debugging.
1314   {
1315     echo
1316
1317     cat <<\_ASBOX
1318 ## ---------------- ##
1319 ## Cache variables. ##
1320 ## ---------------- ##
1321 _ASBOX
1322     echo
1323     # The following way of writing the cache mishandles newlines in values,
1324 {
1325   (set) 2>&1 |
1326     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1327     *ac_space=\ *)
1328       sed -n \
1329         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1330           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1331       ;;
1332     *)
1333       sed -n \
1334         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1335       ;;
1336     esac;
1337 }
1338     echo
1339
1340     cat <<\_ASBOX
1341 ## ----------------- ##
1342 ## Output variables. ##
1343 ## ----------------- ##
1344 _ASBOX
1345     echo
1346     for ac_var in $ac_subst_vars
1347     do
1348       eval ac_val=$`echo $ac_var`
1349       echo "$ac_var='"'"'$ac_val'"'"'"
1350     done | sort
1351     echo
1352
1353     if test -n "$ac_subst_files"; then
1354       cat <<\_ASBOX
1355 ## ------------- ##
1356 ## Output files. ##
1357 ## ------------- ##
1358 _ASBOX
1359       echo
1360       for ac_var in $ac_subst_files
1361       do
1362         eval ac_val=$`echo $ac_var`
1363         echo "$ac_var='"'"'$ac_val'"'"'"
1364       done | sort
1365       echo
1366     fi
1367
1368     if test -s confdefs.h; then
1369       cat <<\_ASBOX
1370 ## ----------- ##
1371 ## confdefs.h. ##
1372 ## ----------- ##
1373 _ASBOX
1374       echo
1375       sed "/^$/d" confdefs.h | sort
1376       echo
1377     fi
1378     test "$ac_signal" != 0 &&
1379       echo "$as_me: caught signal $ac_signal"
1380     echo "$as_me: exit $exit_status"
1381   } >&5
1382   rm -f core *.core &&
1383   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1384     exit $exit_status
1385      ' 0
1386 for ac_signal in 1 2 13 15; do
1387   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1388 done
1389 ac_signal=0
1390
1391 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1392 rm -rf conftest* confdefs.h
1393 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1394 echo >confdefs.h
1395
1396 # Predefined preprocessor variables.
1397
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_NAME "$PACKAGE_NAME"
1400 _ACEOF
1401
1402
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1405 _ACEOF
1406
1407
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1410 _ACEOF
1411
1412
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_STRING "$PACKAGE_STRING"
1415 _ACEOF
1416
1417
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1420 _ACEOF
1421
1422
1423 # Let the site file select an alternate cache file if it wants to.
1424 # Prefer explicitly selected file to automatically selected ones.
1425 if test -z "$CONFIG_SITE"; then
1426   if test "x$prefix" != xNONE; then
1427     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1428   else
1429     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1430   fi
1431 fi
1432 for ac_site_file in $CONFIG_SITE; do
1433   if test -r "$ac_site_file"; then
1434     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1435 echo "$as_me: loading site script $ac_site_file" >&6;}
1436     sed 's/^/| /' "$ac_site_file" >&5
1437     . "$ac_site_file"
1438   fi
1439 done
1440
1441 if test -r "$cache_file"; then
1442   # Some versions of bash will fail to source /dev/null (special
1443   # files actually), so we avoid doing that.
1444   if test -f "$cache_file"; then
1445     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1446 echo "$as_me: loading cache $cache_file" >&6;}
1447     case $cache_file in
1448       [\\/]* | ?:[\\/]* ) . $cache_file;;
1449       *)                      . ./$cache_file;;
1450     esac
1451   fi
1452 else
1453   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1454 echo "$as_me: creating cache $cache_file" >&6;}
1455   >$cache_file
1456 fi
1457
1458 # Check that the precious variables saved in the cache have kept the same
1459 # value.
1460 ac_cache_corrupted=false
1461 for ac_var in `(set) 2>&1 |
1462                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1463   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1464   eval ac_new_set=\$ac_env_${ac_var}_set
1465   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1466   eval ac_new_val="\$ac_env_${ac_var}_value"
1467   case $ac_old_set,$ac_new_set in
1468     set,)
1469       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1471       ac_cache_corrupted=: ;;
1472     ,set)
1473       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1475       ac_cache_corrupted=: ;;
1476     ,);;
1477     *)
1478       if test "x$ac_old_val" != "x$ac_new_val"; then
1479         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1480 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1481         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1482 echo "$as_me:   former value:  $ac_old_val" >&2;}
1483         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1484 echo "$as_me:   current value: $ac_new_val" >&2;}
1485         ac_cache_corrupted=:
1486       fi;;
1487   esac
1488   # Pass precious variables to config.status.
1489   if test "$ac_new_set" = set; then
1490     case $ac_new_val in
1491     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1492       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1493     *) ac_arg=$ac_var=$ac_new_val ;;
1494     esac
1495     case " $ac_configure_args " in
1496       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1497       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1498     esac
1499   fi
1500 done
1501 if $ac_cache_corrupted; then
1502   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1503 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1504   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1505 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1506    { (exit 1); exit 1; }; }
1507 fi
1508
1509 ac_ext=c
1510 ac_cpp='$CPP $CPPFLAGS'
1511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542           ac_config_headers="$ac_config_headers config.h"
1543
1544
1545 # This works around the fact that libtool configuration may change LD
1546 # for this particular configuration, but some shells, instead of
1547 # keeping the changes in LD private, export them just because LD is
1548 # exported.  Only used at the end of this file.
1549 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1550
1551 # For libtool versioning info, format is CURRENT:REVISION:AGE
1552 libtool_VERSION=6:11:0
1553
1554
1555 # Find the rest of the source tree framework.
1556 # Default to --enable-multilib
1557 # Check whether --enable-multilib or --disable-multilib was given.
1558 if test "${enable_multilib+set}" = set; then
1559   enableval="$enable_multilib"
1560   case "$enableval" in
1561   yes) multilib=yes ;;
1562   no)  multilib=no ;;
1563   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1564 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1565    { (exit 1); exit 1; }; } ;;
1566  esac
1567 else
1568   multilib=yes
1569 fi;
1570
1571 # We may get other options which we leave undocumented:
1572 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1573 # See config-ml.in if you want the gory details.
1574
1575 if test "$srcdir" = "."; then
1576   if test "$with_target_subdir" != "."; then
1577     multi_basedir="$srcdir/$with_multisrctop../.."
1578   else
1579     multi_basedir="$srcdir/$with_multisrctop.."
1580   fi
1581 else
1582   multi_basedir="$srcdir/.."
1583 fi
1584
1585
1586 # Even if the default multilib is not a cross compilation,
1587 # it may be that some of the other multilibs are.
1588 if test $cross_compiling = no && test $multilib = yes \
1589    && test "x${with_multisubdir}" != x ; then
1590    cross_compiling=maybe
1591 fi
1592
1593           ac_config_commands="$ac_config_commands default-1"
1594
1595
1596 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1597 #
1598 # You will slowly go insane if you do not grok the following fact:  when
1599 # building v3 as part of the compiler, the top-level /target/ becomes the
1600 # library's /host/.  configure then causes --target to default to --host,
1601 # exactly like any other package using autoconf.  Therefore, 'target' and
1602 # 'host' will always be the same.  This makes sense both for native and
1603 # cross compilers, just think about it for a little while.  :-)
1604 #
1605 # Also, if v3 is being configured as part of a cross compiler, the top-level
1606 # configure script will pass the "real" host as $with_cross_host.
1607 #
1608 # Do not delete or change the following two lines.  For why, see
1609 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1610 ac_aux_dir=
1611 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1612   if test -f $ac_dir/install-sh; then
1613     ac_aux_dir=$ac_dir
1614     ac_install_sh="$ac_aux_dir/install-sh -c"
1615     break
1616   elif test -f $ac_dir/install.sh; then
1617     ac_aux_dir=$ac_dir
1618     ac_install_sh="$ac_aux_dir/install.sh -c"
1619     break
1620   elif test -f $ac_dir/shtool; then
1621     ac_aux_dir=$ac_dir
1622     ac_install_sh="$ac_aux_dir/shtool install -c"
1623     break
1624   fi
1625 done
1626 if test -z "$ac_aux_dir"; then
1627   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1628 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1629    { (exit 1); exit 1; }; }
1630 fi
1631 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1632 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1633 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1634
1635 # Make sure we can run config.sub.
1636 $ac_config_sub sun4 >/dev/null 2>&1 ||
1637   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1638 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1639    { (exit 1); exit 1; }; }
1640
1641 echo "$as_me:$LINENO: checking build system type" >&5
1642 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1643 if test "${ac_cv_build+set}" = set; then
1644   echo $ECHO_N "(cached) $ECHO_C" >&6
1645 else
1646   ac_cv_build_alias=$build_alias
1647 test -z "$ac_cv_build_alias" &&
1648   ac_cv_build_alias=`$ac_config_guess`
1649 test -z "$ac_cv_build_alias" &&
1650   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1651 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1652    { (exit 1); exit 1; }; }
1653 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1654   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1655 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1656    { (exit 1); exit 1; }; }
1657
1658 fi
1659 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1660 echo "${ECHO_T}$ac_cv_build" >&6
1661 build=$ac_cv_build
1662 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1663 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1664 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1665
1666
1667 echo "$as_me:$LINENO: checking host system type" >&5
1668 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1669 if test "${ac_cv_host+set}" = set; then
1670   echo $ECHO_N "(cached) $ECHO_C" >&6
1671 else
1672   ac_cv_host_alias=$host_alias
1673 test -z "$ac_cv_host_alias" &&
1674   ac_cv_host_alias=$ac_cv_build_alias
1675 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1676   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1677 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1678    { (exit 1); exit 1; }; }
1679
1680 fi
1681 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1682 echo "${ECHO_T}$ac_cv_host" >&6
1683 host=$ac_cv_host
1684 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1685 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1686 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1687
1688
1689 echo "$as_me:$LINENO: checking target system type" >&5
1690 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1691 if test "${ac_cv_target+set}" = set; then
1692   echo $ECHO_N "(cached) $ECHO_C" >&6
1693 else
1694   ac_cv_target_alias=$target_alias
1695 test "x$ac_cv_target_alias" = "x" &&
1696   ac_cv_target_alias=$ac_cv_host_alias
1697 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1698   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1699 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1700    { (exit 1); exit 1; }; }
1701
1702 fi
1703 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1704 echo "${ECHO_T}$ac_cv_target" >&6
1705 target=$ac_cv_target
1706 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1707 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1708 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1709
1710
1711 # The aliases save the names the user supplied, while $host etc.
1712 # will get canonicalized.
1713 test -n "$target_alias" &&
1714   test "$program_prefix$program_suffix$program_transform_name" = \
1715     NONENONEs,x,x, &&
1716   program_prefix=${target_alias}-
1717 target_alias=${target_alias-$host_alias}
1718
1719 # Handy for debugging:
1720 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1721
1722 if test "$build" != "$host"; then
1723   # We are being configured with some form of cross compiler.
1724   GLIBCXX_IS_NATIVE=false
1725   case "$host","$target" in
1726     # Darwin crosses can use the host system's libraries and headers,
1727     # because of the fat library support.  Of course, it must be the
1728     # same version of Darwin on both sides.  Allow the user to
1729     # just say --target=foo-darwin without a version number to mean
1730     # "the version on this system".
1731       *-*-darwin*,*-*-darwin*)
1732         hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1733         targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1734         if test $hostos = $targetos -o $targetos = darwin ; then
1735           GLIBCXX_IS_NATIVE=true
1736         fi
1737         ;;
1738
1739       *)
1740
1741         ;;
1742   esac
1743 else
1744   GLIBCXX_IS_NATIVE=true
1745 fi
1746
1747 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1748 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1749 #  1.x:  minimum required version
1750 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1751 #              of other PACKAGE_* variables will, however, and there's nothing
1752 #              we can do about that; they come from AC_INIT).
1753 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1754 #            file in the top srcdir, etc, etc), so stop complaining.
1755 #  no-dependencies:  turns off auto dependency generation (just for now)
1756 #  -Wall:  turns on all automake warnings...
1757 #  -Wno-portability:  ...except this one, since GNU make is now required.
1758 am__api_version="1.9"
1759 # Find a good install program.  We prefer a C program (faster),
1760 # so one script is as good as another.  But avoid the broken or
1761 # incompatible versions:
1762 # SysV /etc/install, /usr/sbin/install
1763 # SunOS /usr/etc/install
1764 # IRIX /sbin/install
1765 # AIX /bin/install
1766 # AmigaOS /C/install, which installs bootblocks on floppy discs
1767 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1768 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1769 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1770 # OS/2's system install, which has a completely different semantic
1771 # ./install, which can be erroneously created by make from ./install.sh.
1772 # Reject install programs that cannot install multiple files.
1773 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1774 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1775 if test -z "$INSTALL"; then
1776 if test "${ac_cv_path_install+set}" = set; then
1777   echo $ECHO_N "(cached) $ECHO_C" >&6
1778 else
1779   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1780 for as_dir in $PATH
1781 do
1782   IFS=$as_save_IFS
1783   test -z "$as_dir" && as_dir=.
1784   # Account for people who put trailing slashes in PATH elements.
1785 case $as_dir/ in
1786   ./ | .// | /cC/* | \
1787   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1788   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1789   /usr/ucb/* ) ;;
1790   *)
1791     # OSF1 and SCO ODT 3.0 have their own names for install.
1792     # Don't use installbsd from OSF since it installs stuff as root
1793     # by default.
1794     for ac_prog in ginstall scoinst install; do
1795       for ac_exec_ext in '' $ac_executable_extensions; do
1796         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1797           if test $ac_prog = install &&
1798             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1799             # AIX install.  It has an incompatible calling convention.
1800             :
1801           elif test $ac_prog = install &&
1802             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1803             # program-specific install script used by HP pwplus--don't use.
1804             :
1805           else
1806             rm -rf conftest.one conftest.two conftest.dir
1807             echo one > conftest.one
1808             echo two > conftest.two
1809             mkdir conftest.dir
1810             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1811               test -s conftest.one && test -s conftest.two &&
1812               test -s conftest.dir/conftest.one &&
1813               test -s conftest.dir/conftest.two
1814             then
1815               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1816               break 3
1817             fi
1818           fi
1819         fi
1820       done
1821     done
1822     ;;
1823 esac
1824 done
1825
1826 rm -rf conftest.one conftest.two conftest.dir
1827
1828 fi
1829   if test "${ac_cv_path_install+set}" = set; then
1830     INSTALL=$ac_cv_path_install
1831   else
1832     # As a last resort, use the slow shell script.  Don't cache a
1833     # value for INSTALL within a source directory, because that will
1834     # break other packages using the cache if that directory is
1835     # removed, or if the value is a relative name.
1836     INSTALL=$ac_install_sh
1837   fi
1838 fi
1839 echo "$as_me:$LINENO: result: $INSTALL" >&5
1840 echo "${ECHO_T}$INSTALL" >&6
1841
1842 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1843 # It thinks the first close brace ends the variable substitution.
1844 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1845
1846 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1847
1848 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1849
1850 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1851 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1852 # Just in case
1853 sleep 1
1854 echo timestamp > conftest.file
1855 # Do `set' in a subshell so we don't clobber the current shell's
1856 # arguments.  Must try -L first in case configure is actually a
1857 # symlink; some systems play weird games with the mod time of symlinks
1858 # (eg FreeBSD returns the mod time of the symlink's containing
1859 # directory).
1860 if (
1861    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1862    if test "$*" = "X"; then
1863       # -L didn't work.
1864       set X `ls -t $srcdir/configure conftest.file`
1865    fi
1866    rm -f conftest.file
1867    if test "$*" != "X $srcdir/configure conftest.file" \
1868       && test "$*" != "X conftest.file $srcdir/configure"; then
1869
1870       # If neither matched, then we have a broken ls.  This can happen
1871       # if, for instance, CONFIG_SHELL is bash and it inherits a
1872       # broken ls alias from the environment.  This has actually
1873       # happened.  Such a system could not be considered "sane".
1874       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1875 alias in your environment" >&5
1876 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1877 alias in your environment" >&2;}
1878    { (exit 1); exit 1; }; }
1879    fi
1880
1881    test "$2" = conftest.file
1882    )
1883 then
1884    # Ok.
1885    :
1886 else
1887    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1888 Check your system clock" >&5
1889 echo "$as_me: error: newly created file is older than distributed files!
1890 Check your system clock" >&2;}
1891    { (exit 1); exit 1; }; }
1892 fi
1893 echo "$as_me:$LINENO: result: yes" >&5
1894 echo "${ECHO_T}yes" >&6
1895 test "$program_prefix" != NONE &&
1896   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1897 # Use a double $ so make ignores it.
1898 test "$program_suffix" != NONE &&
1899   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1900 # Double any \ or $.  echo might interpret backslashes.
1901 # By default was `s,x,x', remove it if useless.
1902 cat <<\_ACEOF >conftest.sed
1903 s/[\\$]/&&/g;s/;s,x,x,$//
1904 _ACEOF
1905 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1906 rm conftest.sed
1907
1908 # expand $ac_aux_dir to an absolute path
1909 am_aux_dir=`cd $ac_aux_dir && pwd`
1910
1911 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1912 # Use eval to expand $SHELL
1913 if eval "$MISSING --run true"; then
1914   am_missing_run="$MISSING --run "
1915 else
1916   am_missing_run=
1917   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1918 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1919 fi
1920
1921 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1922   # We used to keeping the `.' as first argument, in order to
1923   # allow $(mkdir_p) to be used without argument.  As in
1924   #   $(mkdir_p) $(somedir)
1925   # where $(somedir) is conditionally defined.  However this is wrong
1926   # for two reasons:
1927   #  1. if the package is installed by a user who cannot write `.'
1928   #     make install will fail,
1929   #  2. the above comment should most certainly read
1930   #     $(mkdir_p) $(DESTDIR)$(somedir)
1931   #     so it does not work when $(somedir) is undefined and
1932   #     $(DESTDIR) is not.
1933   #  To support the latter case, we have to write
1934   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1935   #  so the `.' trick is pointless.
1936   mkdir_p='mkdir -p --'
1937 else
1938   # On NextStep and OpenStep, the `mkdir' command does not
1939   # recognize any option.  It will interpret all options as
1940   # directories to create, and then abort because `.' already
1941   # exists.
1942   for d in ./-p ./--version;
1943   do
1944     test -d $d && rmdir $d
1945   done
1946   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1947   if test -f "$ac_aux_dir/mkinstalldirs"; then
1948     mkdir_p='$(mkinstalldirs)'
1949   else
1950     mkdir_p='$(install_sh) -d'
1951   fi
1952 fi
1953
1954 for ac_prog in gawk mawk nawk awk
1955 do
1956   # Extract the first word of "$ac_prog", so it can be a program name with args.
1957 set dummy $ac_prog; ac_word=$2
1958 echo "$as_me:$LINENO: checking for $ac_word" >&5
1959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1960 if test "${ac_cv_prog_AWK+set}" = set; then
1961   echo $ECHO_N "(cached) $ECHO_C" >&6
1962 else
1963   if test -n "$AWK"; then
1964   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1965 else
1966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1967 for as_dir in $PATH
1968 do
1969   IFS=$as_save_IFS
1970   test -z "$as_dir" && as_dir=.
1971   for ac_exec_ext in '' $ac_executable_extensions; do
1972   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1973     ac_cv_prog_AWK="$ac_prog"
1974     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1975     break 2
1976   fi
1977 done
1978 done
1979
1980 fi
1981 fi
1982 AWK=$ac_cv_prog_AWK
1983 if test -n "$AWK"; then
1984   echo "$as_me:$LINENO: result: $AWK" >&5
1985 echo "${ECHO_T}$AWK" >&6
1986 else
1987   echo "$as_me:$LINENO: result: no" >&5
1988 echo "${ECHO_T}no" >&6
1989 fi
1990
1991   test -n "$AWK" && break
1992 done
1993
1994 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1995 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1996 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1997 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1998   echo $ECHO_N "(cached) $ECHO_C" >&6
1999 else
2000   cat >conftest.make <<\_ACEOF
2001 all:
2002         @echo 'ac_maketemp="$(MAKE)"'
2003 _ACEOF
2004 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2005 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2006 if test -n "$ac_maketemp"; then
2007   eval ac_cv_prog_make_${ac_make}_set=yes
2008 else
2009   eval ac_cv_prog_make_${ac_make}_set=no
2010 fi
2011 rm -f conftest.make
2012 fi
2013 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2014   echo "$as_me:$LINENO: result: yes" >&5
2015 echo "${ECHO_T}yes" >&6
2016   SET_MAKE=
2017 else
2018   echo "$as_me:$LINENO: result: no" >&5
2019 echo "${ECHO_T}no" >&6
2020   SET_MAKE="MAKE=${MAKE-make}"
2021 fi
2022
2023 rm -rf .tst 2>/dev/null
2024 mkdir .tst 2>/dev/null
2025 if test -d .tst; then
2026   am__leading_dot=.
2027 else
2028   am__leading_dot=_
2029 fi
2030 rmdir .tst 2>/dev/null
2031
2032 # test to see if srcdir already configured
2033 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2034    test -f $srcdir/config.status; then
2035   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2036 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2037    { (exit 1); exit 1; }; }
2038 fi
2039
2040 # test whether we have cygpath
2041 if test -z "$CYGPATH_W"; then
2042   if (cygpath --version) >/dev/null 2>/dev/null; then
2043     CYGPATH_W='cygpath -w'
2044   else
2045     CYGPATH_W=echo
2046   fi
2047 fi
2048
2049
2050 # Define the identity of the package.
2051  PACKAGE='libstdc++'
2052  VERSION='version-unused'
2053
2054
2055 # Some tools Automake needs.
2056
2057 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2058
2059
2060 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2061
2062
2063 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2064
2065
2066 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2067
2068
2069 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2070
2071 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2072
2073 # Installed binaries are usually stripped using `strip' when the user
2074 # run `make install-strip'.  However `strip' might not be the right
2075 # tool to use in cross-compilation environments, therefore Automake
2076 # will honor the `STRIP' environment variable to overrule this program.
2077 if test "$cross_compiling" != no; then
2078   if test -n "$ac_tool_prefix"; then
2079   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2080 set dummy ${ac_tool_prefix}strip; ac_word=$2
2081 echo "$as_me:$LINENO: checking for $ac_word" >&5
2082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2083 if test "${ac_cv_prog_STRIP+set}" = set; then
2084   echo $ECHO_N "(cached) $ECHO_C" >&6
2085 else
2086   if test -n "$STRIP"; then
2087   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2088 else
2089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2090 for as_dir in $PATH
2091 do
2092   IFS=$as_save_IFS
2093   test -z "$as_dir" && as_dir=.
2094   for ac_exec_ext in '' $ac_executable_extensions; do
2095   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2096     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2097     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2098     break 2
2099   fi
2100 done
2101 done
2102
2103 fi
2104 fi
2105 STRIP=$ac_cv_prog_STRIP
2106 if test -n "$STRIP"; then
2107   echo "$as_me:$LINENO: result: $STRIP" >&5
2108 echo "${ECHO_T}$STRIP" >&6
2109 else
2110   echo "$as_me:$LINENO: result: no" >&5
2111 echo "${ECHO_T}no" >&6
2112 fi
2113
2114 fi
2115 if test -z "$ac_cv_prog_STRIP"; then
2116   ac_ct_STRIP=$STRIP
2117   # Extract the first word of "strip", so it can be a program name with args.
2118 set dummy strip; ac_word=$2
2119 echo "$as_me:$LINENO: checking for $ac_word" >&5
2120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2121 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2122   echo $ECHO_N "(cached) $ECHO_C" >&6
2123 else
2124   if test -n "$ac_ct_STRIP"; then
2125   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2126 else
2127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2128 for as_dir in $PATH
2129 do
2130   IFS=$as_save_IFS
2131   test -z "$as_dir" && as_dir=.
2132   for ac_exec_ext in '' $ac_executable_extensions; do
2133   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2134     ac_cv_prog_ac_ct_STRIP="strip"
2135     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2136     break 2
2137   fi
2138 done
2139 done
2140
2141   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2142 fi
2143 fi
2144 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2145 if test -n "$ac_ct_STRIP"; then
2146   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2147 echo "${ECHO_T}$ac_ct_STRIP" >&6
2148 else
2149   echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6
2151 fi
2152
2153   STRIP=$ac_ct_STRIP
2154 else
2155   STRIP="$ac_cv_prog_STRIP"
2156 fi
2157
2158 fi
2159 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2160
2161 # We need awk for the "check" target.  The system "awk" is bad on
2162 # some platforms.
2163 # Always define AMTAR for backward compatibility.
2164
2165 AMTAR=${AMTAR-"${am_missing_run}tar"}
2166
2167 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
2179 # up critical shell variables.
2180
2181 ac_ext=c
2182 ac_cpp='$CPP $CPPFLAGS'
2183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2186 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2187 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2188 # On Suns, sometimes $CPP names a directory.
2189 if test -n "$CPP" && test -d "$CPP"; then
2190   CPP=
2191 fi
2192 if test -z "$CPP"; then
2193   if test "${ac_cv_prog_CPP+set}" = set; then
2194   echo $ECHO_N "(cached) $ECHO_C" >&6
2195 else
2196       # Double quotes because CPP needs to be expanded
2197     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2198     do
2199       ac_preproc_ok=false
2200 for ac_c_preproc_warn_flag in '' yes
2201 do
2202   # Use a header file that comes with gcc, so configuring glibc
2203   # with a fresh cross-compiler works.
2204   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2205   # <limits.h> exists even on freestanding compilers.
2206   # On the NeXT, cc -E runs the code through the compiler's parser,
2207   # not just through cpp. "Syntax error" is here to catch this case.
2208   cat >conftest.$ac_ext <<_ACEOF
2209 /* confdefs.h.  */
2210 _ACEOF
2211 cat confdefs.h >>conftest.$ac_ext
2212 cat >>conftest.$ac_ext <<_ACEOF
2213 /* end confdefs.h.  */
2214 #ifdef __STDC__
2215 # include <limits.h>
2216 #else
2217 # include <assert.h>
2218 #endif
2219                      Syntax error
2220 _ACEOF
2221 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2222   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2223   ac_status=$?
2224   grep -v '^ *+' conftest.er1 >conftest.err
2225   rm -f conftest.er1
2226   cat conftest.err >&5
2227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228   (exit $ac_status); } >/dev/null; then
2229   if test -s conftest.err; then
2230     ac_cpp_err=$ac_c_preproc_warn_flag
2231     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2232   else
2233     ac_cpp_err=
2234   fi
2235 else
2236   ac_cpp_err=yes
2237 fi
2238 if test -z "$ac_cpp_err"; then
2239   :
2240 else
2241   echo "$as_me: failed program was:" >&5
2242 sed 's/^/| /' conftest.$ac_ext >&5
2243
2244   # Broken: fails on valid input.
2245 continue
2246 fi
2247 rm -f conftest.err conftest.$ac_ext
2248
2249   # OK, works on sane cases.  Now check whether non-existent headers
2250   # can be detected and how.
2251   cat >conftest.$ac_ext <<_ACEOF
2252 /* confdefs.h.  */
2253 _ACEOF
2254 cat confdefs.h >>conftest.$ac_ext
2255 cat >>conftest.$ac_ext <<_ACEOF
2256 /* end confdefs.h.  */
2257 #include <ac_nonexistent.h>
2258 _ACEOF
2259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2260   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2261   ac_status=$?
2262   grep -v '^ *+' conftest.er1 >conftest.err
2263   rm -f conftest.er1
2264   cat conftest.err >&5
2265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266   (exit $ac_status); } >/dev/null; then
2267   if test -s conftest.err; then
2268     ac_cpp_err=$ac_c_preproc_warn_flag
2269     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2270   else
2271     ac_cpp_err=
2272   fi
2273 else
2274   ac_cpp_err=yes
2275 fi
2276 if test -z "$ac_cpp_err"; then
2277   # Broken: success on invalid input.
2278 continue
2279 else
2280   echo "$as_me: failed program was:" >&5
2281 sed 's/^/| /' conftest.$ac_ext >&5
2282
2283   # Passes both tests.
2284 ac_preproc_ok=:
2285 break
2286 fi
2287 rm -f conftest.err conftest.$ac_ext
2288
2289 done
2290 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2291 rm -f conftest.err conftest.$ac_ext
2292 if $ac_preproc_ok; then
2293   break
2294 fi
2295
2296     done
2297     ac_cv_prog_CPP=$CPP
2298
2299 fi
2300   CPP=$ac_cv_prog_CPP
2301 else
2302   ac_cv_prog_CPP=$CPP
2303 fi
2304 echo "$as_me:$LINENO: result: $CPP" >&5
2305 echo "${ECHO_T}$CPP" >&6
2306 ac_preproc_ok=false
2307 for ac_c_preproc_warn_flag in '' yes
2308 do
2309   # Use a header file that comes with gcc, so configuring glibc
2310   # with a fresh cross-compiler works.
2311   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2312   # <limits.h> exists even on freestanding compilers.
2313   # On the NeXT, cc -E runs the code through the compiler's parser,
2314   # not just through cpp. "Syntax error" is here to catch this case.
2315   cat >conftest.$ac_ext <<_ACEOF
2316 /* confdefs.h.  */
2317 _ACEOF
2318 cat confdefs.h >>conftest.$ac_ext
2319 cat >>conftest.$ac_ext <<_ACEOF
2320 /* end confdefs.h.  */
2321 #ifdef __STDC__
2322 # include <limits.h>
2323 #else
2324 # include <assert.h>
2325 #endif
2326                      Syntax error
2327 _ACEOF
2328 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2329   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2330   ac_status=$?
2331   grep -v '^ *+' conftest.er1 >conftest.err
2332   rm -f conftest.er1
2333   cat conftest.err >&5
2334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335   (exit $ac_status); } >/dev/null; then
2336   if test -s conftest.err; then
2337     ac_cpp_err=$ac_c_preproc_warn_flag
2338     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2339   else
2340     ac_cpp_err=
2341   fi
2342 else
2343   ac_cpp_err=yes
2344 fi
2345 if test -z "$ac_cpp_err"; then
2346   :
2347 else
2348   echo "$as_me: failed program was:" >&5
2349 sed 's/^/| /' conftest.$ac_ext >&5
2350
2351   # Broken: fails on valid input.
2352 continue
2353 fi
2354 rm -f conftest.err conftest.$ac_ext
2355
2356   # OK, works on sane cases.  Now check whether non-existent headers
2357   # can be detected and how.
2358   cat >conftest.$ac_ext <<_ACEOF
2359 /* confdefs.h.  */
2360 _ACEOF
2361 cat confdefs.h >>conftest.$ac_ext
2362 cat >>conftest.$ac_ext <<_ACEOF
2363 /* end confdefs.h.  */
2364 #include <ac_nonexistent.h>
2365 _ACEOF
2366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2367   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2368   ac_status=$?
2369   grep -v '^ *+' conftest.er1 >conftest.err
2370   rm -f conftest.er1
2371   cat conftest.err >&5
2372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373   (exit $ac_status); } >/dev/null; then
2374   if test -s conftest.err; then
2375     ac_cpp_err=$ac_c_preproc_warn_flag
2376     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2377   else
2378     ac_cpp_err=
2379   fi
2380 else
2381   ac_cpp_err=yes
2382 fi
2383 if test -z "$ac_cpp_err"; then
2384   # Broken: success on invalid input.
2385 continue
2386 else
2387   echo "$as_me: failed program was:" >&5
2388 sed 's/^/| /' conftest.$ac_ext >&5
2389
2390   # Passes both tests.
2391 ac_preproc_ok=:
2392 break
2393 fi
2394 rm -f conftest.err conftest.$ac_ext
2395
2396 done
2397 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2398 rm -f conftest.err conftest.$ac_ext
2399 if $ac_preproc_ok; then
2400   :
2401 else
2402   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2403 See \`config.log' for more details." >&5
2404 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2405 See \`config.log' for more details." >&2;}
2406    { (exit 1); exit 1; }; }
2407 fi
2408
2409 ac_ext=c
2410 ac_cpp='$CPP $CPPFLAGS'
2411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2414
2415
2416 echo "$as_me:$LINENO: checking for egrep" >&5
2417 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2418 if test "${ac_cv_prog_egrep+set}" = set; then
2419   echo $ECHO_N "(cached) $ECHO_C" >&6
2420 else
2421   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2422     then ac_cv_prog_egrep='grep -E'
2423     else ac_cv_prog_egrep='egrep'
2424     fi
2425 fi
2426 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2427 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2428  EGREP=$ac_cv_prog_egrep
2429
2430
2431
2432   # Keep these sync'd with the list in Makefile.am.  The first provides an
2433   # expandable list at autoconf time; the second provides an expandable list
2434   # (i.e., shell variable) at configure time.
2435
2436   SUBDIRS='include libmath libsupc++ src doc po testsuite'
2437
2438   # These need to be absolute paths, yet at the same time need to
2439   # canonicalize only relative paths, because then amd will not unmount
2440   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2441   glibcxx_builddir=`${PWDCMD-pwd}`
2442   case $srcdir in
2443     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2444     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2445   esac
2446   toplevel_srcdir=${glibcxx_srcdir}/..
2447
2448
2449
2450
2451   # We use these options to decide which functions to include.  They are
2452   # set from the top level.
2453
2454 # Check whether --with-target-subdir or --without-target-subdir was given.
2455 if test "${with_target_subdir+set}" = set; then
2456   withval="$with_target_subdir"
2457
2458 fi;
2459
2460
2461 # Check whether --with-cross-host or --without-cross-host was given.
2462 if test "${with_cross_host+set}" = set; then
2463   withval="$with_cross_host"
2464
2465 fi;
2466
2467
2468 # Check whether --with-newlib or --without-newlib was given.
2469 if test "${with_newlib+set}" = set; then
2470   withval="$with_newlib"
2471
2472 fi;
2473
2474   # We're almost certainly being configured before anything else which uses
2475   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2476   # we not cache the value of CXX that we "discover" here, because it's set
2477   # to something unique for us and libjava.  Other target libraries need to
2478   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2479   # process by sneakily renaming the cache variable.  This also lets us debug
2480   # the value of "our" CXX in postmortems.
2481   #
2482   # We must also force CXX to /not/ be a precious variable, otherwise the
2483   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2484   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2485   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2486   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2487   #
2488   # -fno-builtin must be present here so that a non-conflicting form of
2489   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2490
2491
2492
2493
2494   save_CXXFLAGS="$CXXFLAGS"
2495   CXXFLAGS="$CXXFLAGS -fno-builtin"
2496   ac_ext=c
2497 ac_cpp='$CPP $CPPFLAGS'
2498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2501 if test -n "$ac_tool_prefix"; then
2502   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2503 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2504 echo "$as_me:$LINENO: checking for $ac_word" >&5
2505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2506 if test "${ac_cv_prog_CC+set}" = set; then
2507   echo $ECHO_N "(cached) $ECHO_C" >&6
2508 else
2509   if test -n "$CC"; then
2510   ac_cv_prog_CC="$CC" # Let the user override the test.
2511 else
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2513 for as_dir in $PATH
2514 do
2515   IFS=$as_save_IFS
2516   test -z "$as_dir" && as_dir=.
2517   for ac_exec_ext in '' $ac_executable_extensions; do
2518   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2519     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2520     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2521     break 2
2522   fi
2523 done
2524 done
2525
2526 fi
2527 fi
2528 CC=$ac_cv_prog_CC
2529 if test -n "$CC"; then
2530   echo "$as_me:$LINENO: result: $CC" >&5
2531 echo "${ECHO_T}$CC" >&6
2532 else
2533   echo "$as_me:$LINENO: result: no" >&5
2534 echo "${ECHO_T}no" >&6
2535 fi
2536
2537 fi
2538 if test -z "$ac_cv_prog_CC"; then
2539   ac_ct_CC=$CC
2540   # Extract the first word of "gcc", so it can be a program name with args.
2541 set dummy gcc; ac_word=$2
2542 echo "$as_me:$LINENO: checking for $ac_word" >&5
2543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2544 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2545   echo $ECHO_N "(cached) $ECHO_C" >&6
2546 else
2547   if test -n "$ac_ct_CC"; then
2548   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2549 else
2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 for as_dir in $PATH
2552 do
2553   IFS=$as_save_IFS
2554   test -z "$as_dir" && as_dir=.
2555   for ac_exec_ext in '' $ac_executable_extensions; do
2556   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2557     ac_cv_prog_ac_ct_CC="gcc"
2558     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2559     break 2
2560   fi
2561 done
2562 done
2563
2564 fi
2565 fi
2566 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2567 if test -n "$ac_ct_CC"; then
2568   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2569 echo "${ECHO_T}$ac_ct_CC" >&6
2570 else
2571   echo "$as_me:$LINENO: result: no" >&5
2572 echo "${ECHO_T}no" >&6
2573 fi
2574
2575   CC=$ac_ct_CC
2576 else
2577   CC="$ac_cv_prog_CC"
2578 fi
2579
2580 if test -z "$CC"; then
2581   if test -n "$ac_tool_prefix"; then
2582   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2583 set dummy ${ac_tool_prefix}cc; ac_word=$2
2584 echo "$as_me:$LINENO: checking for $ac_word" >&5
2585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2586 if test "${ac_cv_prog_CC+set}" = set; then
2587   echo $ECHO_N "(cached) $ECHO_C" >&6
2588 else
2589   if test -n "$CC"; then
2590   ac_cv_prog_CC="$CC" # Let the user override the test.
2591 else
2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 for as_dir in $PATH
2594 do
2595   IFS=$as_save_IFS
2596   test -z "$as_dir" && as_dir=.
2597   for ac_exec_ext in '' $ac_executable_extensions; do
2598   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2599     ac_cv_prog_CC="${ac_tool_prefix}cc"
2600     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2601     break 2
2602   fi
2603 done
2604 done
2605
2606 fi
2607 fi
2608 CC=$ac_cv_prog_CC
2609 if test -n "$CC"; then
2610   echo "$as_me:$LINENO: result: $CC" >&5
2611 echo "${ECHO_T}$CC" >&6
2612 else
2613   echo "$as_me:$LINENO: result: no" >&5
2614 echo "${ECHO_T}no" >&6
2615 fi
2616
2617 fi
2618 if test -z "$ac_cv_prog_CC"; then
2619   ac_ct_CC=$CC
2620   # Extract the first word of "cc", so it can be a program name with args.
2621 set dummy cc; ac_word=$2
2622 echo "$as_me:$LINENO: checking for $ac_word" >&5
2623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2624 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2625   echo $ECHO_N "(cached) $ECHO_C" >&6
2626 else
2627   if test -n "$ac_ct_CC"; then
2628   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2629 else
2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2631 for as_dir in $PATH
2632 do
2633   IFS=$as_save_IFS
2634   test -z "$as_dir" && as_dir=.
2635   for ac_exec_ext in '' $ac_executable_extensions; do
2636   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2637     ac_cv_prog_ac_ct_CC="cc"
2638     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2639     break 2
2640   fi
2641 done
2642 done
2643
2644 fi
2645 fi
2646 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2647 if test -n "$ac_ct_CC"; then
2648   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2649 echo "${ECHO_T}$ac_ct_CC" >&6
2650 else
2651   echo "$as_me:$LINENO: result: no" >&5
2652 echo "${ECHO_T}no" >&6
2653 fi
2654
2655   CC=$ac_ct_CC
2656 else
2657   CC="$ac_cv_prog_CC"
2658 fi
2659
2660 fi
2661 if test -z "$CC"; then
2662   # Extract the first word of "cc", so it can be a program name with args.
2663 set dummy cc; ac_word=$2
2664 echo "$as_me:$LINENO: checking for $ac_word" >&5
2665 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2666 if test "${ac_cv_prog_CC+set}" = set; then
2667   echo $ECHO_N "(cached) $ECHO_C" >&6
2668 else
2669   if test -n "$CC"; then
2670   ac_cv_prog_CC="$CC" # Let the user override the test.
2671 else
2672   ac_prog_rejected=no
2673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674 for as_dir in $PATH
2675 do
2676   IFS=$as_save_IFS
2677   test -z "$as_dir" && as_dir=.
2678   for ac_exec_ext in '' $ac_executable_extensions; do
2679   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2680     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2681        ac_prog_rejected=yes
2682        continue
2683      fi
2684     ac_cv_prog_CC="cc"
2685     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2686     break 2
2687   fi
2688 done
2689 done
2690
2691 if test $ac_prog_rejected = yes; then
2692   # We found a bogon in the path, so make sure we never use it.
2693   set dummy $ac_cv_prog_CC
2694   shift
2695   if test $# != 0; then
2696     # We chose a different compiler from the bogus one.
2697     # However, it has the same basename, so the bogon will be chosen
2698     # first if we set CC to just the basename; use the full file name.
2699     shift
2700     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2701   fi
2702 fi
2703 fi
2704 fi
2705 CC=$ac_cv_prog_CC
2706 if test -n "$CC"; then
2707   echo "$as_me:$LINENO: result: $CC" >&5
2708 echo "${ECHO_T}$CC" >&6
2709 else
2710   echo "$as_me:$LINENO: result: no" >&5
2711 echo "${ECHO_T}no" >&6
2712 fi
2713
2714 fi
2715 if test -z "$CC"; then
2716   if test -n "$ac_tool_prefix"; then
2717   for ac_prog in cl
2718   do
2719     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2720 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2721 echo "$as_me:$LINENO: checking for $ac_word" >&5
2722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2723 if test "${ac_cv_prog_CC+set}" = set; then
2724   echo $ECHO_N "(cached) $ECHO_C" >&6
2725 else
2726   if test -n "$CC"; then
2727   ac_cv_prog_CC="$CC" # Let the user override the test.
2728 else
2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2730 for as_dir in $PATH
2731 do
2732   IFS=$as_save_IFS
2733   test -z "$as_dir" && as_dir=.
2734   for ac_exec_ext in '' $ac_executable_extensions; do
2735   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2736     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2737     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2738     break 2
2739   fi
2740 done
2741 done
2742
2743 fi
2744 fi
2745 CC=$ac_cv_prog_CC
2746 if test -n "$CC"; then
2747   echo "$as_me:$LINENO: result: $CC" >&5
2748 echo "${ECHO_T}$CC" >&6
2749 else
2750   echo "$as_me:$LINENO: result: no" >&5
2751 echo "${ECHO_T}no" >&6
2752 fi
2753
2754     test -n "$CC" && break
2755   done
2756 fi
2757 if test -z "$CC"; then
2758   ac_ct_CC=$CC
2759   for ac_prog in cl
2760 do
2761   # Extract the first word of "$ac_prog", so it can be a program name with args.
2762 set dummy $ac_prog; ac_word=$2
2763 echo "$as_me:$LINENO: checking for $ac_word" >&5
2764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2765 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2766   echo $ECHO_N "(cached) $ECHO_C" >&6
2767 else
2768   if test -n "$ac_ct_CC"; then
2769   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2770 else
2771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2772 for as_dir in $PATH
2773 do
2774   IFS=$as_save_IFS
2775   test -z "$as_dir" && as_dir=.
2776   for ac_exec_ext in '' $ac_executable_extensions; do
2777   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2778     ac_cv_prog_ac_ct_CC="$ac_prog"
2779     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2780     break 2
2781   fi
2782 done
2783 done
2784
2785 fi
2786 fi
2787 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2788 if test -n "$ac_ct_CC"; then
2789   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2790 echo "${ECHO_T}$ac_ct_CC" >&6
2791 else
2792   echo "$as_me:$LINENO: result: no" >&5
2793 echo "${ECHO_T}no" >&6
2794 fi
2795
2796   test -n "$ac_ct_CC" && break
2797 done
2798
2799   CC=$ac_ct_CC
2800 fi
2801
2802 fi
2803
2804
2805 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2806 See \`config.log' for more details." >&5
2807 echo "$as_me: error: no acceptable C compiler found in \$PATH
2808 See \`config.log' for more details." >&2;}
2809    { (exit 1); exit 1; }; }
2810
2811 # Provide some information about the compiler.
2812 echo "$as_me:$LINENO:" \
2813      "checking for C compiler version" >&5
2814 ac_compiler=`set X $ac_compile; echo $2`
2815 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2816   (eval $ac_compiler --version </dev/null >&5) 2>&5
2817   ac_status=$?
2818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819   (exit $ac_status); }
2820 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2821   (eval $ac_compiler -v </dev/null >&5) 2>&5
2822   ac_status=$?
2823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2824   (exit $ac_status); }
2825 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2826   (eval $ac_compiler -V </dev/null >&5) 2>&5
2827   ac_status=$?
2828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2829   (exit $ac_status); }
2830
2831 cat >conftest.$ac_ext <<_ACEOF
2832 /* confdefs.h.  */
2833 _ACEOF
2834 cat confdefs.h >>conftest.$ac_ext
2835 cat >>conftest.$ac_ext <<_ACEOF
2836 /* end confdefs.h.  */
2837
2838 int
2839 main ()
2840 {
2841
2842   ;
2843   return 0;
2844 }
2845 _ACEOF
2846 # FIXME: Cleanup?
2847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2848   (eval $ac_link) 2>&5
2849   ac_status=$?
2850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851   (exit $ac_status); }; then
2852   gcc_no_link=no
2853 else
2854   gcc_no_link=yes
2855 fi
2856
2857 if test x$gcc_no_link = xyes; then
2858   # Setting cross_compile will disable run tests; it will
2859   # also disable AC_CHECK_FILE but that's generally
2860   # correct if we can't link.
2861   cross_compiling=yes
2862   EXEEXT=
2863 else
2864   cat >conftest.$ac_ext <<_ACEOF
2865 /* confdefs.h.  */
2866 _ACEOF
2867 cat confdefs.h >>conftest.$ac_ext
2868 cat >>conftest.$ac_ext <<_ACEOF
2869 /* end confdefs.h.  */
2870
2871 int
2872 main ()
2873 {
2874
2875   ;
2876   return 0;
2877 }
2878 _ACEOF
2879 ac_clean_files_save=$ac_clean_files
2880 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2881 # Try to create an executable without -o first, disregard a.out.
2882 # It will help us diagnose broken compilers, and finding out an intuition
2883 # of exeext.
2884 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2885 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2886 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2887 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2888   (eval $ac_link_default) 2>&5
2889   ac_status=$?
2890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891   (exit $ac_status); }; then
2892   # Find the output, starting from the most likely.  This scheme is
2893 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2894 # resort.
2895
2896 # Be careful to initialize this variable, since it used to be cached.
2897 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2898 ac_cv_exeext=
2899 # b.out is created by i960 compilers.
2900 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2901 do
2902   test -f "$ac_file" || continue
2903   case $ac_file in
2904     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2905         ;;
2906     conftest.$ac_ext )
2907         # This is the source file.
2908         ;;
2909     [ab].out )
2910         # We found the default executable, but exeext='' is most
2911         # certainly right.
2912         break;;
2913     *.* )
2914         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2915         # FIXME: I believe we export ac_cv_exeext for Libtool,
2916         # but it would be cool to find out if it's true.  Does anybody
2917         # maintain Libtool? --akim.
2918         export ac_cv_exeext
2919         break;;
2920     * )
2921         break;;
2922   esac
2923 done
2924 else
2925   echo "$as_me: failed program was:" >&5
2926 sed 's/^/| /' conftest.$ac_ext >&5
2927
2928 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2929 See \`config.log' for more details." >&5
2930 echo "$as_me: error: C compiler cannot create executables
2931 See \`config.log' for more details." >&2;}
2932    { (exit 77); exit 77; }; }
2933 fi
2934
2935 ac_exeext=$ac_cv_exeext
2936 echo "$as_me:$LINENO: result: $ac_file" >&5
2937 echo "${ECHO_T}$ac_file" >&6
2938
2939 # Check the compiler produces executables we can run.  If not, either
2940 # the compiler is broken, or we cross compile.
2941 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2942 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2943 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2944 # If not cross compiling, check that we can run a simple program.
2945 if test "$cross_compiling" != yes; then
2946   if { ac_try='./$ac_file'
2947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948   (eval $ac_try) 2>&5
2949   ac_status=$?
2950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951   (exit $ac_status); }; }; then
2952     cross_compiling=no
2953   else
2954     if test "$cross_compiling" = maybe; then
2955         cross_compiling=yes
2956     else
2957         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2958 If you meant to cross compile, use \`--host'.
2959 See \`config.log' for more details." >&5
2960 echo "$as_me: error: cannot run C compiled programs.
2961 If you meant to cross compile, use \`--host'.
2962 See \`config.log' for more details." >&2;}
2963    { (exit 1); exit 1; }; }
2964     fi
2965   fi
2966 fi
2967 echo "$as_me:$LINENO: result: yes" >&5
2968 echo "${ECHO_T}yes" >&6
2969
2970 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2971 ac_clean_files=$ac_clean_files_save
2972 # Check the compiler produces executables we can run.  If not, either
2973 # the compiler is broken, or we cross compile.
2974 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2975 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2976 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2977 echo "${ECHO_T}$cross_compiling" >&6
2978
2979 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2980 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2982   (eval $ac_link) 2>&5
2983   ac_status=$?
2984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2985   (exit $ac_status); }; then
2986   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2987 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2988 # work properly (i.e., refer to `conftest.exe'), while it won't with
2989 # `rm'.
2990 for ac_file in conftest.exe conftest conftest.*; do
2991   test -f "$ac_file" || continue
2992   case $ac_file in
2993     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2994     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2995           export ac_cv_exeext
2996           break;;
2997     * ) break;;
2998   esac
2999 done
3000 else
3001   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3002 See \`config.log' for more details." >&5
3003 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3004 See \`config.log' for more details." >&2;}
3005    { (exit 1); exit 1; }; }
3006 fi
3007
3008 rm -f conftest$ac_cv_exeext
3009 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3010 echo "${ECHO_T}$ac_cv_exeext" >&6
3011
3012 rm -f conftest.$ac_ext
3013 EXEEXT=$ac_cv_exeext
3014 ac_exeext=$EXEEXT
3015 fi
3016 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3017 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3018 if test "${ac_cv_objext+set}" = set; then
3019   echo $ECHO_N "(cached) $ECHO_C" >&6
3020 else
3021   cat >conftest.$ac_ext <<_ACEOF
3022 /* confdefs.h.  */
3023 _ACEOF
3024 cat confdefs.h >>conftest.$ac_ext
3025 cat >>conftest.$ac_ext <<_ACEOF
3026 /* end confdefs.h.  */
3027
3028 int
3029 main ()
3030 {
3031
3032   ;
3033   return 0;
3034 }
3035 _ACEOF
3036 rm -f conftest.o conftest.obj
3037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3038   (eval $ac_compile) 2>&5
3039   ac_status=$?
3040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041   (exit $ac_status); }; then
3042   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3043   case $ac_file in
3044     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3045     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3046        break;;
3047   esac
3048 done
3049 else
3050   echo "$as_me: failed program was:" >&5
3051 sed 's/^/| /' conftest.$ac_ext >&5
3052
3053 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3054 See \`config.log' for more details." >&5
3055 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3056 See \`config.log' for more details." >&2;}
3057    { (exit 1); exit 1; }; }
3058 fi
3059
3060 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3061 fi
3062 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3063 echo "${ECHO_T}$ac_cv_objext" >&6
3064 OBJEXT=$ac_cv_objext
3065 ac_objext=$OBJEXT
3066 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3067 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3068 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3069   echo $ECHO_N "(cached) $ECHO_C" >&6
3070 else
3071   cat >conftest.$ac_ext <<_ACEOF
3072 /* confdefs.h.  */
3073 _ACEOF
3074 cat confdefs.h >>conftest.$ac_ext
3075 cat >>conftest.$ac_ext <<_ACEOF
3076 /* end confdefs.h.  */
3077
3078 int
3079 main ()
3080 {
3081 #ifndef __GNUC__
3082        choke me
3083 #endif
3084
3085   ;
3086   return 0;
3087 }
3088 _ACEOF
3089 rm -f conftest.$ac_objext
3090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3091   (eval $ac_compile) 2>conftest.er1
3092   ac_status=$?
3093   grep -v '^ *+' conftest.er1 >conftest.err
3094   rm -f conftest.er1
3095   cat conftest.err >&5
3096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097   (exit $ac_status); } &&
3098          { ac_try='test -z "$ac_c_werror_flag"
3099                          || test ! -s conftest.err'
3100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3101   (eval $ac_try) 2>&5
3102   ac_status=$?
3103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104   (exit $ac_status); }; } &&
3105          { ac_try='test -s conftest.$ac_objext'
3106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3107   (eval $ac_try) 2>&5
3108   ac_status=$?
3109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110   (exit $ac_status); }; }; then
3111   ac_compiler_gnu=yes
3112 else
3113   echo "$as_me: failed program was:" >&5
3114 sed 's/^/| /' conftest.$ac_ext >&5
3115
3116 ac_compiler_gnu=no
3117 fi
3118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3119 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3120
3121 fi
3122 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3123 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3124 GCC=`test $ac_compiler_gnu = yes && echo yes`
3125 ac_test_CFLAGS=${CFLAGS+set}
3126 ac_save_CFLAGS=$CFLAGS
3127 CFLAGS="-g"
3128 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3129 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3130 if test "${ac_cv_prog_cc_g+set}" = set; then
3131   echo $ECHO_N "(cached) $ECHO_C" >&6
3132 else
3133   cat >conftest.$ac_ext <<_ACEOF
3134 /* confdefs.h.  */
3135 _ACEOF
3136 cat confdefs.h >>conftest.$ac_ext
3137 cat >>conftest.$ac_ext <<_ACEOF
3138 /* end confdefs.h.  */
3139
3140 int
3141 main ()
3142 {
3143
3144   ;
3145   return 0;
3146 }
3147 _ACEOF
3148 rm -f conftest.$ac_objext
3149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3150   (eval $ac_compile) 2>conftest.er1
3151   ac_status=$?
3152   grep -v '^ *+' conftest.er1 >conftest.err
3153   rm -f conftest.er1
3154   cat conftest.err >&5
3155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156   (exit $ac_status); } &&
3157          { ac_try='test -z "$ac_c_werror_flag"
3158                          || test ! -s conftest.err'
3159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3160   (eval $ac_try) 2>&5
3161   ac_status=$?
3162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3163   (exit $ac_status); }; } &&
3164          { ac_try='test -s conftest.$ac_objext'
3165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3166   (eval $ac_try) 2>&5
3167   ac_status=$?
3168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3169   (exit $ac_status); }; }; then
3170   ac_cv_prog_cc_g=yes
3171 else
3172   echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.$ac_ext >&5
3174
3175 ac_cv_prog_cc_g=no
3176 fi
3177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3178 fi
3179 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3180 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3181 if test "$ac_test_CFLAGS" = set; then
3182   CFLAGS=$ac_save_CFLAGS
3183 elif test $ac_cv_prog_cc_g = yes; then
3184   if test "$GCC" = yes; then
3185     CFLAGS="-g -O2"
3186   else
3187     CFLAGS="-g"
3188   fi
3189 else
3190   if test "$GCC" = yes; then
3191     CFLAGS="-O2"
3192   else
3193     CFLAGS=
3194   fi
3195 fi
3196 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3197 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3198 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3199   echo $ECHO_N "(cached) $ECHO_C" >&6
3200 else
3201   ac_cv_prog_cc_stdc=no
3202 ac_save_CC=$CC
3203 cat >conftest.$ac_ext <<_ACEOF
3204 /* confdefs.h.  */
3205 _ACEOF
3206 cat confdefs.h >>conftest.$ac_ext
3207 cat >>conftest.$ac_ext <<_ACEOF
3208 /* end confdefs.h.  */
3209 #include <stdarg.h>
3210 #include <stdio.h>
3211 #include <sys/types.h>
3212 #include <sys/stat.h>
3213 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3214 struct buf { int x; };
3215 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3216 static char *e (p, i)
3217      char **p;
3218      int i;
3219 {
3220   return p[i];
3221 }
3222 static char *f (char * (*g) (char **, int), char **p, ...)
3223 {
3224   char *s;
3225   va_list v;
3226   va_start (v,p);
3227   s = g (p, va_arg (v,int));
3228   va_end (v);
3229   return s;
3230 }
3231
3232 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3233    function prototypes and stuff, but not '\xHH' hex character constants.
3234    These don't provoke an error unfortunately, instead are silently treated
3235    as 'x'.  The following induces an error, until -std1 is added to get
3236    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3237    array size at least.  It's necessary to write '\x00'==0 to get something
3238    that's true only with -std1.  */
3239 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3240
3241 int test (int i, double x);
3242 struct s1 {int (*f) (int a);};
3243 struct s2 {int (*f) (double a);};
3244 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3245 int argc;
3246 char **argv;
3247 int
3248 main ()
3249 {
3250 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3251   ;
3252   return 0;
3253 }
3254 _ACEOF
3255 # Don't try gcc -ansi; that turns off useful extensions and
3256 # breaks some systems' header files.
3257 # AIX                   -qlanglvl=ansi
3258 # Ultrix and OSF/1      -std1
3259 # HP-UX 10.20 and later -Ae
3260 # HP-UX older versions  -Aa -D_HPUX_SOURCE
3261 # SVR4                  -Xc -D__EXTENSIONS__
3262 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3263 do
3264   CC="$ac_save_CC $ac_arg"
3265   rm -f conftest.$ac_objext
3266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3267   (eval $ac_compile) 2>conftest.er1
3268   ac_status=$?
3269   grep -v '^ *+' conftest.er1 >conftest.err
3270   rm -f conftest.er1
3271   cat conftest.err >&5
3272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273   (exit $ac_status); } &&
3274          { ac_try='test -z "$ac_c_werror_flag"
3275                          || test ! -s conftest.err'
3276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3277   (eval $ac_try) 2>&5
3278   ac_status=$?
3279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3280   (exit $ac_status); }; } &&
3281          { ac_try='test -s conftest.$ac_objext'
3282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3283   (eval $ac_try) 2>&5
3284   ac_status=$?
3285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286   (exit $ac_status); }; }; then
3287   ac_cv_prog_cc_stdc=$ac_arg
3288 break
3289 else
3290   echo "$as_me: failed program was:" >&5
3291 sed 's/^/| /' conftest.$ac_ext >&5
3292
3293 fi
3294 rm -f conftest.err conftest.$ac_objext
3295 done
3296 rm -f conftest.$ac_ext conftest.$ac_objext
3297 CC=$ac_save_CC
3298
3299 fi
3300
3301 case "x$ac_cv_prog_cc_stdc" in
3302   x|xno)
3303     echo "$as_me:$LINENO: result: none needed" >&5
3304 echo "${ECHO_T}none needed" >&6 ;;
3305   *)
3306     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3307 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3308     CC="$CC $ac_cv_prog_cc_stdc" ;;
3309 esac
3310
3311 # Some people use a C++ compiler to compile C.  Since we use `exit',
3312 # in C++ we need to declare it.  In case someone uses the same compiler
3313 # for both compiling C and C++ we need to have the C++ compiler decide
3314 # the declaration of exit, since it's the most demanding environment.
3315 cat >conftest.$ac_ext <<_ACEOF
3316 #ifndef __cplusplus
3317   choke me
3318 #endif
3319 _ACEOF
3320 rm -f conftest.$ac_objext
3321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3322   (eval $ac_compile) 2>conftest.er1
3323   ac_status=$?
3324   grep -v '^ *+' conftest.er1 >conftest.err
3325   rm -f conftest.er1
3326   cat conftest.err >&5
3327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328   (exit $ac_status); } &&
3329          { ac_try='test -z "$ac_c_werror_flag"
3330                          || test ! -s conftest.err'
3331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332   (eval $ac_try) 2>&5
3333   ac_status=$?
3334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335   (exit $ac_status); }; } &&
3336          { ac_try='test -s conftest.$ac_objext'
3337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3338   (eval $ac_try) 2>&5
3339   ac_status=$?
3340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341   (exit $ac_status); }; }; then
3342   for ac_declaration in \
3343    '' \
3344    'extern "C" void std::exit (int) throw (); using std::exit;' \
3345    'extern "C" void std::exit (int); using std::exit;' \
3346    'extern "C" void exit (int) throw ();' \
3347    'extern "C" void exit (int);' \
3348    'void exit (int);'
3349 do
3350   cat >conftest.$ac_ext <<_ACEOF
3351 /* confdefs.h.  */
3352 _ACEOF
3353 cat confdefs.h >>conftest.$ac_ext
3354 cat >>conftest.$ac_ext <<_ACEOF
3355 /* end confdefs.h.  */
3356 $ac_declaration
3357 #include <stdlib.h>
3358 int
3359 main ()
3360 {
3361 exit (42);
3362   ;
3363   return 0;
3364 }
3365 _ACEOF
3366 rm -f conftest.$ac_objext
3367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3368   (eval $ac_compile) 2>conftest.er1
3369   ac_status=$?
3370   grep -v '^ *+' conftest.er1 >conftest.err
3371   rm -f conftest.er1
3372   cat conftest.err >&5
3373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374   (exit $ac_status); } &&
3375          { ac_try='test -z "$ac_c_werror_flag"
3376                          || test ! -s conftest.err'
3377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3378   (eval $ac_try) 2>&5
3379   ac_status=$?
3380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381   (exit $ac_status); }; } &&
3382          { ac_try='test -s conftest.$ac_objext'
3383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3384   (eval $ac_try) 2>&5
3385   ac_status=$?
3386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3387   (exit $ac_status); }; }; then
3388   :
3389 else
3390   echo "$as_me: failed program was:" >&5
3391 sed 's/^/| /' conftest.$ac_ext >&5
3392
3393 continue
3394 fi
3395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3396   cat >conftest.$ac_ext <<_ACEOF
3397 /* confdefs.h.  */
3398 _ACEOF
3399 cat confdefs.h >>conftest.$ac_ext
3400 cat >>conftest.$ac_ext <<_ACEOF
3401 /* end confdefs.h.  */
3402 $ac_declaration
3403 int
3404 main ()
3405 {
3406 exit (42);
3407   ;
3408   return 0;
3409 }
3410 _ACEOF
3411 rm -f conftest.$ac_objext
3412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3413   (eval $ac_compile) 2>conftest.er1
3414   ac_status=$?
3415   grep -v '^ *+' conftest.er1 >conftest.err
3416   rm -f conftest.er1
3417   cat conftest.err >&5
3418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419   (exit $ac_status); } &&
3420          { ac_try='test -z "$ac_c_werror_flag"
3421                          || test ! -s conftest.err'
3422   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3423   (eval $ac_try) 2>&5
3424   ac_status=$?
3425   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3426   (exit $ac_status); }; } &&
3427          { ac_try='test -s conftest.$ac_objext'
3428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429   (eval $ac_try) 2>&5
3430   ac_status=$?
3431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3432   (exit $ac_status); }; }; then
3433   break
3434 else
3435   echo "$as_me: failed program was:" >&5
3436 sed 's/^/| /' conftest.$ac_ext >&5
3437
3438 fi
3439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3440 done
3441 rm -f conftest*
3442 if test -n "$ac_declaration"; then
3443   echo '#ifdef __cplusplus' >>confdefs.h
3444   echo $ac_declaration      >>confdefs.h
3445   echo '#endif'             >>confdefs.h
3446 fi
3447
3448 else
3449   echo "$as_me: failed program was:" >&5
3450 sed 's/^/| /' conftest.$ac_ext >&5
3451
3452 fi
3453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3454 ac_ext=c
3455 ac_cpp='$CPP $CPPFLAGS'
3456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3459
3460   ac_ext=cc
3461 ac_cpp='$CXXCPP $CPPFLAGS'
3462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3465 if test -n "$ac_tool_prefix"; then
3466   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3467   do
3468     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3469 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3470 echo "$as_me:$LINENO: checking for $ac_word" >&5
3471 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3472 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3473   echo $ECHO_N "(cached) $ECHO_C" >&6
3474 else
3475   if test -n "$CXX"; then
3476   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3477 else
3478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3479 for as_dir in $PATH
3480 do
3481   IFS=$as_save_IFS
3482   test -z "$as_dir" && as_dir=.
3483   for ac_exec_ext in '' $ac_executable_extensions; do
3484   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3485     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3486     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3487     break 2
3488   fi
3489 done
3490 done
3491
3492 fi
3493 fi
3494 CXX=$glibcxx_cv_prog_CXX
3495 if test -n "$CXX"; then
3496   echo "$as_me:$LINENO: result: $CXX" >&5
3497 echo "${ECHO_T}$CXX" >&6
3498 else
3499   echo "$as_me:$LINENO: result: no" >&5
3500 echo "${ECHO_T}no" >&6
3501 fi
3502
3503     test -n "$CXX" && break
3504   done
3505 fi
3506 if test -z "$CXX"; then
3507   ac_ct_CXX=$CXX
3508   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3509 do
3510   # Extract the first word of "$ac_prog", so it can be a program name with args.
3511 set dummy $ac_prog; ac_word=$2
3512 echo "$as_me:$LINENO: checking for $ac_word" >&5
3513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3514 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3515   echo $ECHO_N "(cached) $ECHO_C" >&6
3516 else
3517   if test -n "$ac_ct_CXX"; then
3518   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3519 else
3520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3521 for as_dir in $PATH
3522 do
3523   IFS=$as_save_IFS
3524   test -z "$as_dir" && as_dir=.
3525   for ac_exec_ext in '' $ac_executable_extensions; do
3526   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3527     ac_cv_prog_ac_ct_CXX="$ac_prog"
3528     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3529     break 2
3530   fi
3531 done
3532 done
3533
3534 fi
3535 fi
3536 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3537 if test -n "$ac_ct_CXX"; then
3538   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3539 echo "${ECHO_T}$ac_ct_CXX" >&6
3540 else
3541   echo "$as_me:$LINENO: result: no" >&5
3542 echo "${ECHO_T}no" >&6
3543 fi
3544
3545   test -n "$ac_ct_CXX" && break
3546 done
3547 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3548
3549   CXX=$ac_ct_CXX
3550 fi
3551
3552
3553 # Provide some information about the compiler.
3554 echo "$as_me:$LINENO:" \
3555      "checking for C++ compiler version" >&5
3556 ac_compiler=`set X $ac_compile; echo $2`
3557 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3558   (eval $ac_compiler --version </dev/null >&5) 2>&5
3559   ac_status=$?
3560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561   (exit $ac_status); }
3562 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3563   (eval $ac_compiler -v </dev/null >&5) 2>&5
3564   ac_status=$?
3565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566   (exit $ac_status); }
3567 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3568   (eval $ac_compiler -V </dev/null >&5) 2>&5
3569   ac_status=$?
3570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3571   (exit $ac_status); }
3572
3573 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3574 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3575 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3576   echo $ECHO_N "(cached) $ECHO_C" >&6
3577 else
3578   cat >conftest.$ac_ext <<_ACEOF
3579 /* confdefs.h.  */
3580 _ACEOF
3581 cat confdefs.h >>conftest.$ac_ext
3582 cat >>conftest.$ac_ext <<_ACEOF
3583 /* end confdefs.h.  */
3584
3585 int
3586 main ()
3587 {
3588 #ifndef __GNUC__
3589        choke me
3590 #endif
3591
3592   ;
3593   return 0;
3594 }
3595 _ACEOF
3596 rm -f conftest.$ac_objext
3597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3598   (eval $ac_compile) 2>conftest.er1
3599   ac_status=$?
3600   grep -v '^ *+' conftest.er1 >conftest.err
3601   rm -f conftest.er1
3602   cat conftest.err >&5
3603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604   (exit $ac_status); } &&
3605          { ac_try='test -z "$ac_cxx_werror_flag"
3606                          || test ! -s conftest.err'
3607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3608   (eval $ac_try) 2>&5
3609   ac_status=$?
3610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611   (exit $ac_status); }; } &&
3612          { ac_try='test -s conftest.$ac_objext'
3613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3614   (eval $ac_try) 2>&5
3615   ac_status=$?
3616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617   (exit $ac_status); }; }; then
3618   ac_compiler_gnu=yes
3619 else
3620   echo "$as_me: failed program was:" >&5
3621 sed 's/^/| /' conftest.$ac_ext >&5
3622
3623 ac_compiler_gnu=no
3624 fi
3625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3626 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3627
3628 fi
3629 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3630 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3631 GXX=`test $ac_compiler_gnu = yes && echo yes`
3632 ac_test_CXXFLAGS=${CXXFLAGS+set}
3633 ac_save_CXXFLAGS=$CXXFLAGS
3634 CXXFLAGS="-g"
3635 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3636 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3637 if test "${ac_cv_prog_cxx_g+set}" = set; then
3638   echo $ECHO_N "(cached) $ECHO_C" >&6
3639 else
3640   cat >conftest.$ac_ext <<_ACEOF
3641 /* confdefs.h.  */
3642 _ACEOF
3643 cat confdefs.h >>conftest.$ac_ext
3644 cat >>conftest.$ac_ext <<_ACEOF
3645 /* end confdefs.h.  */
3646
3647 int
3648 main ()
3649 {
3650
3651   ;
3652   return 0;
3653 }
3654 _ACEOF
3655 rm -f conftest.$ac_objext
3656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3657   (eval $ac_compile) 2>conftest.er1
3658   ac_status=$?
3659   grep -v '^ *+' conftest.er1 >conftest.err
3660   rm -f conftest.er1
3661   cat conftest.err >&5
3662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663   (exit $ac_status); } &&
3664          { ac_try='test -z "$ac_cxx_werror_flag"
3665                          || test ! -s conftest.err'
3666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3667   (eval $ac_try) 2>&5
3668   ac_status=$?
3669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670   (exit $ac_status); }; } &&
3671          { ac_try='test -s conftest.$ac_objext'
3672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3673   (eval $ac_try) 2>&5
3674   ac_status=$?
3675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676   (exit $ac_status); }; }; then
3677   ac_cv_prog_cxx_g=yes
3678 else
3679   echo "$as_me: failed program was:" >&5
3680 sed 's/^/| /' conftest.$ac_ext >&5
3681
3682 ac_cv_prog_cxx_g=no
3683 fi
3684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3685 fi
3686 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3687 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3688 if test "$ac_test_CXXFLAGS" = set; then
3689   CXXFLAGS=$ac_save_CXXFLAGS
3690 elif test $ac_cv_prog_cxx_g = yes; then
3691   if test "$GXX" = yes; then
3692     CXXFLAGS="-g -O2"
3693   else
3694     CXXFLAGS="-g"
3695   fi
3696 else
3697   if test "$GXX" = yes; then
3698     CXXFLAGS="-O2"
3699   else
3700     CXXFLAGS=
3701   fi
3702 fi
3703 for ac_declaration in \
3704    '' \
3705    'extern "C" void std::exit (int) throw (); using std::exit;' \
3706    'extern "C" void std::exit (int); using std::exit;' \
3707    'extern "C" void exit (int) throw ();' \
3708    'extern "C" void exit (int);' \
3709    'void exit (int);'
3710 do
3711   cat >conftest.$ac_ext <<_ACEOF
3712 /* confdefs.h.  */
3713 _ACEOF
3714 cat confdefs.h >>conftest.$ac_ext
3715 cat >>conftest.$ac_ext <<_ACEOF
3716 /* end confdefs.h.  */
3717 $ac_declaration
3718 #include <stdlib.h>
3719 int
3720 main ()
3721 {
3722 exit (42);
3723   ;
3724   return 0;
3725 }
3726 _ACEOF
3727 rm -f conftest.$ac_objext
3728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3729   (eval $ac_compile) 2>conftest.er1
3730   ac_status=$?
3731   grep -v '^ *+' conftest.er1 >conftest.err
3732   rm -f conftest.er1
3733   cat conftest.err >&5
3734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3735   (exit $ac_status); } &&
3736          { ac_try='test -z "$ac_cxx_werror_flag"
3737                          || test ! -s conftest.err'
3738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3739   (eval $ac_try) 2>&5
3740   ac_status=$?
3741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742   (exit $ac_status); }; } &&
3743          { ac_try='test -s conftest.$ac_objext'
3744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3745   (eval $ac_try) 2>&5
3746   ac_status=$?
3747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748   (exit $ac_status); }; }; then
3749   :
3750 else
3751   echo "$as_me: failed program was:" >&5
3752 sed 's/^/| /' conftest.$ac_ext >&5
3753
3754 continue
3755 fi
3756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3757   cat >conftest.$ac_ext <<_ACEOF
3758 /* confdefs.h.  */
3759 _ACEOF
3760 cat confdefs.h >>conftest.$ac_ext
3761 cat >>conftest.$ac_ext <<_ACEOF
3762 /* end confdefs.h.  */
3763 $ac_declaration
3764 int
3765 main ()
3766 {
3767 exit (42);
3768   ;
3769   return 0;
3770 }
3771 _ACEOF
3772 rm -f conftest.$ac_objext
3773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3774   (eval $ac_compile) 2>conftest.er1
3775   ac_status=$?
3776   grep -v '^ *+' conftest.er1 >conftest.err
3777   rm -f conftest.er1
3778   cat conftest.err >&5
3779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780   (exit $ac_status); } &&
3781          { ac_try='test -z "$ac_cxx_werror_flag"
3782                          || test ! -s conftest.err'
3783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3784   (eval $ac_try) 2>&5
3785   ac_status=$?
3786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3787   (exit $ac_status); }; } &&
3788          { ac_try='test -s conftest.$ac_objext'
3789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3790   (eval $ac_try) 2>&5
3791   ac_status=$?
3792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793   (exit $ac_status); }; }; then
3794   break
3795 else
3796   echo "$as_me: failed program was:" >&5
3797 sed 's/^/| /' conftest.$ac_ext >&5
3798
3799 fi
3800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3801 done
3802 rm -f conftest*
3803 if test -n "$ac_declaration"; then
3804   echo '#ifdef __cplusplus' >>confdefs.h
3805   echo $ac_declaration      >>confdefs.h
3806   echo '#endif'             >>confdefs.h
3807 fi
3808
3809 ac_ext=c
3810 ac_cpp='$CPP $CPPFLAGS'
3811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3814
3815   CXXFLAGS="$save_CXXFLAGS"
3816
3817
3818
3819
3820   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3821   # available).  Uncomment the next line to force a particular method.
3822   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3823 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3824 LN_S=$as_ln_s
3825 if test "$LN_S" = "ln -s"; then
3826   echo "$as_me:$LINENO: result: yes" >&5
3827 echo "${ECHO_T}yes" >&6
3828 else
3829   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3830 echo "${ECHO_T}no, using $LN_S" >&6
3831 fi
3832
3833   #LN_S='cp -p'
3834
3835   if test -n "$ac_tool_prefix"; then
3836   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3837 set dummy ${ac_tool_prefix}as; ac_word=$2
3838 echo "$as_me:$LINENO: checking for $ac_word" >&5
3839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3840 if test "${ac_cv_prog_AS+set}" = set; then
3841   echo $ECHO_N "(cached) $ECHO_C" >&6
3842 else
3843   if test -n "$AS"; then
3844   ac_cv_prog_AS="$AS" # Let the user override the test.
3845 else
3846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3847 for as_dir in $PATH
3848 do
3849   IFS=$as_save_IFS
3850   test -z "$as_dir" && as_dir=.
3851   for ac_exec_ext in '' $ac_executable_extensions; do
3852   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3853     ac_cv_prog_AS="${ac_tool_prefix}as"
3854     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3855     break 2
3856   fi
3857 done
3858 done
3859
3860 fi
3861 fi
3862 AS=$ac_cv_prog_AS
3863 if test -n "$AS"; then
3864   echo "$as_me:$LINENO: result: $AS" >&5
3865 echo "${ECHO_T}$AS" >&6
3866 else
3867   echo "$as_me:$LINENO: result: no" >&5
3868 echo "${ECHO_T}no" >&6
3869 fi
3870
3871 fi
3872 if test -z "$ac_cv_prog_AS"; then
3873   ac_ct_AS=$AS
3874   # Extract the first word of "as", so it can be a program name with args.
3875 set dummy as; ac_word=$2
3876 echo "$as_me:$LINENO: checking for $ac_word" >&5
3877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3878 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3879   echo $ECHO_N "(cached) $ECHO_C" >&6
3880 else
3881   if test -n "$ac_ct_AS"; then
3882   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3883 else
3884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3885 for as_dir in $PATH
3886 do
3887   IFS=$as_save_IFS
3888   test -z "$as_dir" && as_dir=.
3889   for ac_exec_ext in '' $ac_executable_extensions; do
3890   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3891     ac_cv_prog_ac_ct_AS="as"
3892     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3893     break 2
3894   fi
3895 done
3896 done
3897
3898 fi
3899 fi
3900 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3901 if test -n "$ac_ct_AS"; then
3902   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3903 echo "${ECHO_T}$ac_ct_AS" >&6
3904 else
3905   echo "$as_me:$LINENO: result: no" >&5
3906 echo "${ECHO_T}no" >&6
3907 fi
3908
3909   AS=$ac_ct_AS
3910 else
3911   AS="$ac_cv_prog_AS"
3912 fi
3913
3914   if test -n "$ac_tool_prefix"; then
3915   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3916 set dummy ${ac_tool_prefix}ar; ac_word=$2
3917 echo "$as_me:$LINENO: checking for $ac_word" >&5
3918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3919 if test "${ac_cv_prog_AR+set}" = set; then
3920   echo $ECHO_N "(cached) $ECHO_C" >&6
3921 else
3922   if test -n "$AR"; then
3923   ac_cv_prog_AR="$AR" # Let the user override the test.
3924 else
3925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3926 for as_dir in $PATH
3927 do
3928   IFS=$as_save_IFS
3929   test -z "$as_dir" && as_dir=.
3930   for ac_exec_ext in '' $ac_executable_extensions; do
3931   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3932     ac_cv_prog_AR="${ac_tool_prefix}ar"
3933     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3934     break 2
3935   fi
3936 done
3937 done
3938
3939 fi
3940 fi
3941 AR=$ac_cv_prog_AR
3942 if test -n "$AR"; then
3943   echo "$as_me:$LINENO: result: $AR" >&5
3944 echo "${ECHO_T}$AR" >&6
3945 else
3946   echo "$as_me:$LINENO: result: no" >&5
3947 echo "${ECHO_T}no" >&6
3948 fi
3949
3950 fi
3951 if test -z "$ac_cv_prog_AR"; then
3952   ac_ct_AR=$AR
3953   # Extract the first word of "ar", so it can be a program name with args.
3954 set dummy ar; ac_word=$2
3955 echo "$as_me:$LINENO: checking for $ac_word" >&5
3956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3957 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3958   echo $ECHO_N "(cached) $ECHO_C" >&6
3959 else
3960   if test -n "$ac_ct_AR"; then
3961   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3962 else
3963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3964 for as_dir in $PATH
3965 do
3966   IFS=$as_save_IFS
3967   test -z "$as_dir" && as_dir=.
3968   for ac_exec_ext in '' $ac_executable_extensions; do
3969   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3970     ac_cv_prog_ac_ct_AR="ar"
3971     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3972     break 2
3973   fi
3974 done
3975 done
3976
3977 fi
3978 fi
3979 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3980 if test -n "$ac_ct_AR"; then
3981   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3982 echo "${ECHO_T}$ac_ct_AR" >&6
3983 else
3984   echo "$as_me:$LINENO: result: no" >&5
3985 echo "${ECHO_T}no" >&6
3986 fi
3987
3988   AR=$ac_ct_AR
3989 else
3990   AR="$ac_cv_prog_AR"
3991 fi
3992
3993   if test -n "$ac_tool_prefix"; then
3994   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3995 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3996 echo "$as_me:$LINENO: checking for $ac_word" >&5
3997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3998 if test "${ac_cv_prog_RANLIB+set}" = set; then
3999   echo $ECHO_N "(cached) $ECHO_C" >&6
4000 else
4001   if test -n "$RANLIB"; then
4002   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4003 else
4004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4005 for as_dir in $PATH
4006 do
4007   IFS=$as_save_IFS
4008   test -z "$as_dir" && as_dir=.
4009   for ac_exec_ext in '' $ac_executable_extensions; do
4010   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4011     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4012     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4013     break 2
4014   fi
4015 done
4016 done
4017
4018 fi
4019 fi
4020 RANLIB=$ac_cv_prog_RANLIB
4021 if test -n "$RANLIB"; then
4022   echo "$as_me:$LINENO: result: $RANLIB" >&5
4023 echo "${ECHO_T}$RANLIB" >&6
4024 else
4025   echo "$as_me:$LINENO: result: no" >&5
4026 echo "${ECHO_T}no" >&6
4027 fi
4028
4029 fi
4030 if test -z "$ac_cv_prog_RANLIB"; then
4031   ac_ct_RANLIB=$RANLIB
4032   # Extract the first word of "ranlib", so it can be a program name with args.
4033 set dummy ranlib; ac_word=$2
4034 echo "$as_me:$LINENO: checking for $ac_word" >&5
4035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4036 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4037   echo $ECHO_N "(cached) $ECHO_C" >&6
4038 else
4039   if test -n "$ac_ct_RANLIB"; then
4040   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4041 else
4042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 for as_dir in $PATH
4044 do
4045   IFS=$as_save_IFS
4046   test -z "$as_dir" && as_dir=.
4047   for ac_exec_ext in '' $ac_executable_extensions; do
4048   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4049     ac_cv_prog_ac_ct_RANLIB="ranlib"
4050     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4051     break 2
4052   fi
4053 done
4054 done
4055
4056   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4057 fi
4058 fi
4059 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4060 if test -n "$ac_ct_RANLIB"; then
4061   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4062 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4063 else
4064   echo "$as_me:$LINENO: result: no" >&5
4065 echo "${ECHO_T}no" >&6
4066 fi
4067
4068   RANLIB=$ac_ct_RANLIB
4069 else
4070   RANLIB="$ac_cv_prog_RANLIB"
4071 fi
4072
4073
4074   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4075 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4076     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4077 if test "${enable_maintainer_mode+set}" = set; then
4078   enableval="$enable_maintainer_mode"
4079   USE_MAINTAINER_MODE=$enableval
4080 else
4081   USE_MAINTAINER_MODE=no
4082 fi;
4083   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4084 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4085
4086
4087 if test $USE_MAINTAINER_MODE = yes; then
4088   MAINTAINER_MODE_TRUE=
4089   MAINTAINER_MODE_FALSE='#'
4090 else
4091   MAINTAINER_MODE_TRUE='#'
4092   MAINTAINER_MODE_FALSE=
4093 fi
4094
4095   MAINT=$MAINTAINER_MODE_TRUE
4096
4097
4098
4099   # Set up safe default values for all subsequent AM_CONDITIONAL tests
4100   # which are themselves conditionally expanded.
4101   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4102   ## other macros from doing the same.  This should be automated.)  -pme
4103   need_libmath=no
4104
4105   # Check for uClibc since Linux platforms use different configuration
4106   # directories depending on the C library in use.
4107   cat >conftest.$ac_ext <<_ACEOF
4108 /* confdefs.h.  */
4109 _ACEOF
4110 cat confdefs.h >>conftest.$ac_ext
4111 cat >>conftest.$ac_ext <<_ACEOF
4112 /* end confdefs.h.  */
4113
4114   #include <stdio.h>
4115   #if __UCLIBC__
4116     _using_uclibc
4117   #endif
4118
4119 _ACEOF
4120 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4121   $EGREP "_using_uclibc" >/dev/null 2>&1; then
4122   uclibc=yes
4123 else
4124   uclibc=no
4125 fi
4126 rm -f conftest*
4127
4128
4129   # Find platform-specific directories containing configuration info.
4130   # Also possibly modify flags used elsewhere, as needed by the platform.
4131
4132   . $glibcxx_srcdir/configure.host
4133   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4134 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4135   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4136 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4137
4138
4139
4140 enable_dlopen=yes
4141
4142
4143
4144
4145
4146 macro_version='2.1a'
4147 macro_revision='1.2435'
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160 ltmain="$ac_aux_dir/ltmain.sh"
4161
4162 # Set options
4163
4164
4165 enable_win32_dll=no
4166
4167
4168 # Check whether --enable-shared or --disable-shared was given.
4169 if test "${enable_shared+set}" = set; then
4170   enableval="$enable_shared"
4171   p=${PACKAGE-default}
4172     case $enableval in
4173     yes) enable_shared=yes ;;
4174     no) enable_shared=no ;;
4175     *)
4176       enable_shared=no
4177       # Look at the argument we got.  We use all the common list separators.
4178       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4179       for pkg in $enableval; do
4180         IFS="$lt_save_ifs"
4181         if test "X$pkg" = "X$p"; then
4182           enable_shared=yes
4183         fi
4184       done
4185       IFS="$lt_save_ifs"
4186       ;;
4187     esac
4188 else
4189   enable_shared=yes
4190 fi;
4191
4192
4193
4194
4195
4196
4197
4198
4199 # Check whether --enable-static or --disable-static was given.
4200 if test "${enable_static+set}" = set; then
4201   enableval="$enable_static"
4202   p=${PACKAGE-default}
4203     case $enableval in
4204     yes) enable_static=yes ;;
4205     no) enable_static=no ;;
4206     *)
4207      enable_static=no
4208       # Look at the argument we got.  We use all the common list separators.
4209       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4210       for pkg in $enableval; do
4211         IFS="$lt_save_ifs"
4212         if test "X$pkg" = "X$p"; then
4213           enable_static=yes
4214         fi
4215       done
4216       IFS="$lt_save_ifs"
4217       ;;
4218     esac
4219 else
4220   enable_static=yes
4221 fi;
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231 # Check whether --with-pic or --without-pic was given.
4232 if test "${with_pic+set}" = set; then
4233   withval="$with_pic"
4234   pic_mode="$withval"
4235 else
4236   pic_mode=default
4237 fi;
4238
4239 test -z "$pic_mode" && pic_mode=default
4240
4241
4242
4243
4244
4245
4246
4247 # Check whether --enable-fast-install or --disable-fast-install was given.
4248 if test "${enable_fast_install+set}" = set; then
4249   enableval="$enable_fast_install"
4250   p=${PACKAGE-default}
4251     case $enableval in
4252     yes) enable_fast_install=yes ;;
4253     no) enable_fast_install=no ;;
4254     *)
4255       enable_fast_install=no
4256       # Look at the argument we got.  We use all the common list separators.
4257       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4258       for pkg in $enableval; do
4259         IFS="$lt_save_ifs"
4260         if test "X$pkg" = "X$p"; then
4261           enable_fast_install=yes
4262         fi
4263       done
4264       IFS="$lt_save_ifs"
4265       ;;
4266     esac
4267 else
4268   enable_fast_install=yes
4269 fi;
4270
4271
4272
4273
4274
4275
4276
4277
4278 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4279 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4280 if test "${lt_cv_path_SED+set}" = set; then
4281   echo $ECHO_N "(cached) $ECHO_C" >&6
4282 else
4283   # Loop through the user's path and test for sed and gsed.
4284 # Then use that list of sed's as ones to test for truncation.
4285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4286 for as_dir in $PATH
4287 do
4288   IFS=$as_save_IFS
4289   test -z "$as_dir" && as_dir=.
4290   for lt_ac_prog in sed gsed; do
4291     for ac_exec_ext in '' $ac_executable_extensions; do
4292       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4293         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4294       fi
4295     done
4296   done
4297 done
4298 IFS=$as_save_IFS
4299 lt_ac_max=0
4300 lt_ac_count=0
4301 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4302 # along with /bin/sed that truncates output.
4303 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4304   test ! -f $lt_ac_sed && continue
4305   cat /dev/null > conftest.in
4306   lt_ac_count=0
4307   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4308   # Check for GNU sed and select it if it is found.
4309   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4310     lt_cv_path_SED=$lt_ac_sed
4311     break
4312   fi
4313   while true; do
4314     cat conftest.in conftest.in >conftest.tmp
4315     mv conftest.tmp conftest.in
4316     cp conftest.in conftest.nl
4317     echo >>conftest.nl
4318     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4319     cmp -s conftest.out conftest.nl || break
4320     # 10000 chars as input seems more than enough
4321     test $lt_ac_count -gt 10 && break
4322     lt_ac_count=`expr $lt_ac_count + 1`
4323     if test $lt_ac_count -gt $lt_ac_max; then
4324       lt_ac_max=$lt_ac_count
4325       lt_cv_path_SED=$lt_ac_sed
4326     fi
4327   done
4328 done
4329
4330 fi
4331
4332 SED=$lt_cv_path_SED
4333
4334 echo "$as_me:$LINENO: result: $SED" >&5
4335 echo "${ECHO_T}$SED" >&6
4336
4337 test -z "$SED" && SED=sed
4338 Xsed="$SED -e 1s/^X//"
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350 echo "$as_me:$LINENO: checking for fgrep" >&5
4351 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4352 if test "${ac_cv_prog_fgrep+set}" = set; then
4353   echo $ECHO_N "(cached) $ECHO_C" >&6
4354 else
4355   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4356     then ac_cv_prog_fgrep='grep -F'
4357     else ac_cv_prog_fgrep='fgrep'
4358     fi
4359 fi
4360 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4361 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4362  FGREP=$ac_cv_prog_fgrep
4363
4364
4365 test -z "$GREP" && GREP=grep
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4386 if test "${with_gnu_ld+set}" = set; then
4387   withval="$with_gnu_ld"
4388   test "$withval" = no || with_gnu_ld=yes
4389 else
4390   with_gnu_ld=no
4391 fi;
4392 ac_prog=ld
4393 if test "$GCC" = yes; then
4394   # Check if gcc -print-prog-name=ld gives a path.
4395   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4396 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4397   case $host in
4398   *-*-mingw*)
4399     # gcc leaves a trailing carriage return which upsets mingw
4400     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4401   *)
4402     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4403   esac
4404   case $ac_prog in
4405     # Accept absolute paths.
4406     [\\/]* | ?:[\\/]*)
4407       re_direlt='/[^/][^/]*/\.\./'
4408       # Canonicalize the pathname of ld
4409       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4410       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4411         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4412       done
4413       test -z "$LD" && LD="$ac_prog"
4414       ;;
4415   "")
4416     # If it fails, then pretend we aren't using GCC.
4417     ac_prog=ld
4418     ;;
4419   *)
4420     # If it is relative, then search for the first ld in PATH.
4421     with_gnu_ld=unknown
4422     ;;
4423   esac
4424 elif test "$with_gnu_ld" = yes; then
4425   echo "$as_me:$LINENO: checking for GNU ld" >&5
4426 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4427 else
4428   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4429 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4430 fi
4431 if test "${lt_cv_path_LD+set}" = set; then
4432   echo $ECHO_N "(cached) $ECHO_C" >&6
4433 else
4434   if test -z "$LD"; then
4435   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4436   for ac_dir in $PATH; do
4437     IFS="$lt_save_ifs"
4438     test -z "$ac_dir" && ac_dir=.
4439     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4440       lt_cv_path_LD="$ac_dir/$ac_prog"
4441       # Check to see if the program is GNU ld.  I'd rather use --version,
4442       # but apparently some variants of GNU ld only accept -v.
4443       # Break only if it was the GNU/non-GNU ld that we prefer.
4444       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4445       *GNU* | *'with BFD'*)
4446         test "$with_gnu_ld" != no && break
4447         ;;
4448       *)
4449         test "$with_gnu_ld" != yes && break
4450         ;;
4451       esac
4452     fi
4453   done
4454   IFS="$lt_save_ifs"
4455 else
4456   lt_cv_path_LD="$LD" # Let the user override the test with a path.
4457 fi
4458 fi
4459
4460 LD="$lt_cv_path_LD"
4461 if test -n "$LD"; then
4462   echo "$as_me:$LINENO: result: $LD" >&5
4463 echo "${ECHO_T}$LD" >&6
4464 else
4465   echo "$as_me:$LINENO: result: no" >&5
4466 echo "${ECHO_T}no" >&6
4467 fi
4468 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4469 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4470    { (exit 1); exit 1; }; }
4471 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4472 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4473 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4474   echo $ECHO_N "(cached) $ECHO_C" >&6
4475 else
4476   # I'd rather use --version here, but apparently some GNU lds only accept -v.
4477 case `$LD -v 2>&1 </dev/null` in
4478 *GNU* | *'with BFD'*)
4479   lt_cv_prog_gnu_ld=yes
4480   ;;
4481 *)
4482   lt_cv_prog_gnu_ld=no
4483   ;;
4484 esac
4485 fi
4486 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4487 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4488 with_gnu_ld=$lt_cv_prog_gnu_ld
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4500 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4501 if test "${lt_cv_path_NM+set}" = set; then
4502   echo $ECHO_N "(cached) $ECHO_C" >&6
4503 else
4504   if test -n "$NM"; then
4505   # Let the user override the test.
4506   lt_cv_path_NM="$NM"
4507 else
4508   lt_nm_to_check="${ac_tool_prefix}nm"
4509   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4510     lt_nm_to_check="$lt_nm_to_check nm"
4511   fi
4512   for lt_tmp_nm in $lt_nm_to_check; do
4513     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4514     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4515       IFS="$lt_save_ifs"
4516       test -z "$ac_dir" && ac_dir=.
4517       tmp_nm="$ac_dir/$lt_tmp_nm"
4518       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4519         # Check to see if the nm accepts a BSD-compat flag.
4520         # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4521         #   nm: unknown option "B" ignored
4522         # Tru64's nm complains that /dev/null is an invalid object file
4523         case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4524         */dev/null* | *'Invalid file or object type'*)
4525           lt_cv_path_NM="$tmp_nm -B"
4526           break
4527           ;;
4528         *)
4529           case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4530           */dev/null*)
4531             lt_cv_path_NM="$tmp_nm -p"
4532             break
4533             ;;
4534           *)
4535             lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4536             continue # so that we can try to find one that supports BSD flags
4537             ;;
4538           esac
4539           ;;
4540         esac
4541       fi
4542     done
4543     IFS="$lt_save_ifs"
4544   done
4545   : ${lt_cv_path_NM=no}
4546 fi
4547 fi
4548 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4549 echo "${ECHO_T}$lt_cv_path_NM" >&6
4550 if test "$lt_cv_path_NM" != "no"; then
4551   NM="$lt_cv_path_NM"
4552 else
4553   # Didn't find any BSD compatible name lister, look for dumpbin.
4554   if test -n "$ac_tool_prefix"; then
4555   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4556   do
4557     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4558 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4559 echo "$as_me:$LINENO: checking for $ac_word" >&5
4560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4561 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4562   echo $ECHO_N "(cached) $ECHO_C" >&6
4563 else
4564   if test -n "$DUMPBIN"; then
4565   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4566 else
4567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4568 for as_dir in $PATH
4569 do
4570   IFS=$as_save_IFS
4571   test -z "$as_dir" && as_dir=.
4572   for ac_exec_ext in '' $ac_executable_extensions; do
4573   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4574     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4575     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4576     break 2
4577   fi
4578 done
4579 done
4580
4581 fi
4582 fi
4583 DUMPBIN=$ac_cv_prog_DUMPBIN
4584 if test -n "$DUMPBIN"; then
4585   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4586 echo "${ECHO_T}$DUMPBIN" >&6
4587 else
4588   echo "$as_me:$LINENO: result: no" >&5
4589 echo "${ECHO_T}no" >&6
4590 fi
4591
4592     test -n "$DUMPBIN" && break
4593   done
4594 fi
4595 if test -z "$DUMPBIN"; then
4596   ac_ct_DUMPBIN=$DUMPBIN
4597   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4598 do
4599   # Extract the first word of "$ac_prog", so it can be a program name with args.
4600 set dummy $ac_prog; ac_word=$2
4601 echo "$as_me:$LINENO: checking for $ac_word" >&5
4602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4603 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4604   echo $ECHO_N "(cached) $ECHO_C" >&6
4605 else
4606   if test -n "$ac_ct_DUMPBIN"; then
4607   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4608 else
4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4610 for as_dir in $PATH
4611 do
4612   IFS=$as_save_IFS
4613   test -z "$as_dir" && as_dir=.
4614   for ac_exec_ext in '' $ac_executable_extensions; do
4615   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4616     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4617     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4618     break 2
4619   fi
4620 done
4621 done
4622
4623 fi
4624 fi
4625 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4626 if test -n "$ac_ct_DUMPBIN"; then
4627   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4628 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4629 else
4630   echo "$as_me:$LINENO: result: no" >&5
4631 echo "${ECHO_T}no" >&6
4632 fi
4633
4634   test -n "$ac_ct_DUMPBIN" && break
4635 done
4636 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4637
4638   DUMPBIN=$ac_ct_DUMPBIN
4639 fi
4640
4641
4642   if test "$DUMPBIN" != ":"; then
4643     NM="$DUMPBIN"
4644   fi
4645 fi
4646 test -z "$NM" && NM=nm
4647
4648
4649
4650
4651
4652
4653 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4654 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4655 if test "${lt_cv_nm_interface+set}" = set; then
4656   echo $ECHO_N "(cached) $ECHO_C" >&6
4657 else
4658   lt_cv_nm_interface="BSD nm"
4659   echo "int some_variable = 0;" > conftest.$ac_ext
4660   (eval echo "\"\$as_me:4660: $ac_compile\"" >&5)
4661   (eval "$ac_compile" 2>conftest.err)
4662   cat conftest.err >&5
4663   (eval echo "\"\$as_me:4663: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4664   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4665   cat conftest.err >&5
4666   (eval echo "\"\$as_me:4666: output\"" >&5)
4667   cat conftest.out >&5
4668   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4669     lt_cv_nm_interface="MS dumpbin"
4670   fi
4671   rm -f conftest*
4672 fi
4673 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4674 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4675
4676 # find the maximum length of command line arguments
4677 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4678 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4679 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4680   echo $ECHO_N "(cached) $ECHO_C" >&6
4681 else
4682     i=0
4683   teststring="ABCD"
4684
4685   case $build_os in
4686   msdosdjgpp*)
4687     # On DJGPP, this test can blow up pretty badly due to problems in libc
4688     # (any single argument exceeding 2000 bytes causes a buffer overrun
4689     # during glob expansion).  Even if it were fixed, the result of this
4690     # check would be larger than it should be.
4691     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
4692     ;;
4693
4694   gnu*)
4695     # Under GNU Hurd, this test is not required because there is
4696     # no limit to the length of command line arguments.
4697     # Libtool will interpret -1 as no limit whatsoever
4698     lt_cv_sys_max_cmd_len=-1;
4699     ;;
4700
4701   cygwin* | mingw*)
4702     # On Win9x/ME, this test blows up -- it succeeds, but takes
4703     # about 5 minutes as the teststring grows exponentially.
4704     # Worse, since 9x/ME are not pre-emptively multitasking,
4705     # you end up with a "frozen" computer, even though with patience
4706     # the test eventually succeeds (with a max line length of 256k).
4707     # Instead, let's just punt: use the minimum linelength reported by
4708     # all of the supported platforms: 8192 (on NT/2K/XP).
4709     lt_cv_sys_max_cmd_len=8192;
4710     ;;
4711
4712   amigaos*)
4713     # On AmigaOS with pdksh, this test takes hours, literally.
4714     # So we just punt and use a minimum line length of 8192.
4715     lt_cv_sys_max_cmd_len=8192;
4716     ;;
4717
4718   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4719     # This has been around since 386BSD, at least.  Likely further.
4720     if test -x /sbin/sysctl; then
4721       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4722     elif test -x /usr/sbin/sysctl; then
4723       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4724     else
4725       lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
4726     fi
4727     # And add a safety zone
4728     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4729     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4730     ;;
4731
4732   interix*)
4733     # We know the value 262144 and hardcode it with a safety zone (like BSD)
4734     lt_cv_sys_max_cmd_len=196608
4735     ;;
4736
4737   osf*)
4738     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4739     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4740     # nice to cause kernel panics so lets avoid the loop below.
4741     # First set a reasonable default.
4742     lt_cv_sys_max_cmd_len=16384
4743     #
4744     if test -x /sbin/sysconfig; then
4745       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4746         *1*) lt_cv_sys_max_cmd_len=-1 ;;
4747       esac
4748     fi
4749     ;;
4750   sco3.2v5*)
4751     lt_cv_sys_max_cmd_len=102400
4752     ;;
4753   sysv5* | sco5v6* | sysv4.2uw2*)
4754     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4755     if test -n "$kargmax"; then
4756       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[  ]//'`
4757     else
4758       lt_cv_sys_max_cmd_len=32768
4759     fi
4760     ;;
4761   *)
4762     lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4763     if test -n $lt_cv_sys_max_cmd_len; then
4764       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4765       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4766     else
4767       # Make teststring a little bigger before we do anything with it.
4768       # a 1K string should be a reasonable start.
4769       for i in 1 2 3 4 5 6 7 8 ; do
4770         teststring=$teststring$teststring
4771       done
4772       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4773       # If test is not a shell built-in, we'll probably end up computing a
4774       # maximum length that is only half of the actual maximum length, but
4775       # we can't tell.
4776       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4777                  = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4778               test $i != 17 # 1/2 MB should be enough
4779       do
4780         i=`expr $i + 1`
4781         teststring=$teststring$teststring
4782       done
4783       # Only check the string length outside the loop.
4784       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4785       teststring=
4786       # Add a significant safety factor because C++ compilers can tack on
4787       # massive amounts of additional arguments before passing them to the
4788       # linker.  It appears as though 1/2 is a usable value.
4789       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4790     fi
4791     ;;
4792   esac
4793
4794 fi
4795
4796 if test -n $lt_cv_sys_max_cmd_len ; then
4797   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4798 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4799 else
4800   echo "$as_me:$LINENO: result: none" >&5
4801 echo "${ECHO_T}none" >&6
4802 fi
4803 max_cmd_len=$lt_cv_sys_max_cmd_len
4804
4805
4806
4807
4808
4809
4810
4811 : ${CP="cp -f"}
4812 : ${MV="mv -f"}
4813 : ${RM="rm -f"}
4814
4815 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4816 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4817 # Try some XSI features
4818 xsi_shell=no
4819 ( _lt_dummy="a/b/c"
4820   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4821       = c,a/b,, ) >/dev/null 2>&1 \
4822   && xsi_shell=yes
4823 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4824 echo "${ECHO_T}$xsi_shell" >&6
4825
4826
4827 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4828 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4829 lt_shell_append=no
4830 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4831     >/dev/null 2>&1 \
4832   && lt_shell_append=yes
4833 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4834 echo "${ECHO_T}$lt_shell_append" >&6
4835
4836
4837 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4838   lt_unset=unset
4839 else
4840   lt_unset=false
4841 fi
4842
4843
4844
4845
4846
4847 # test EBCDIC or ASCII
4848 case `echo X|tr X '\101'` in
4849  A) # ASCII based system
4850     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4851   lt_SP2NL='tr \040 \012'
4852   lt_NL2SP='tr \015\012 \040\040'
4853   ;;
4854  *) # EBCDIC based system
4855   lt_SP2NL='tr \100 \n'
4856   lt_NL2SP='tr \r\n \100\100'
4857   ;;
4858 esac
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4869 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4870 if test "${lt_cv_ld_reload_flag+set}" = set; then
4871   echo $ECHO_N "(cached) $ECHO_C" >&6
4872 else
4873   lt_cv_ld_reload_flag='-r'
4874 fi
4875 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4876 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4877 reload_flag=$lt_cv_ld_reload_flag
4878 case $reload_flag in
4879 "" | " "*) ;;
4880 *) reload_flag=" $reload_flag" ;;
4881 esac
4882 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4883 case $host_os in
4884   darwin*)
4885     if test "$GCC" = yes; then
4886       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4887     else
4888       reload_cmds='$LD$reload_flag -o $output$reload_objs'
4889     fi
4890     ;;
4891 esac
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4903 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4904 if test "${lt_cv_deplibs_check_method+set}" = set; then
4905   echo $ECHO_N "(cached) $ECHO_C" >&6
4906 else
4907   lt_cv_file_magic_cmd='$MAGIC_CMD'
4908 lt_cv_file_magic_test_file=
4909 lt_cv_deplibs_check_method='unknown'
4910 # Need to set the preceding variable on all platforms that support
4911 # interlibrary dependencies.
4912 # 'none' -- dependencies not supported.
4913 # `unknown' -- same as none, but documents that we really don't know.
4914 # 'pass_all' -- all dependencies passed with no checks.
4915 # 'test_compile' -- check by making test program.
4916 # 'file_magic [[regex]]' -- check by looking for files in library path
4917 # which responds to the $file_magic_cmd with a given extended regex.
4918 # If you have `file' or equivalent on your system and you're not sure
4919 # whether `pass_all' will *always* work, you probably want this one.
4920
4921 case $host_os in
4922 aix[4-9]*)
4923   lt_cv_deplibs_check_method=pass_all
4924   ;;
4925
4926 beos*)
4927   lt_cv_deplibs_check_method=pass_all
4928   ;;
4929
4930 bsdi[45]*)
4931   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4932   lt_cv_file_magic_cmd='/usr/bin/file -L'
4933   lt_cv_file_magic_test_file=/shlib/libc.so
4934   ;;
4935
4936 cygwin*)
4937   # func_win32_libid is a shell function defined in ltmain.sh
4938   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4939   lt_cv_file_magic_cmd='func_win32_libid'
4940   ;;
4941
4942 mingw* | pw32*)
4943   # Base MSYS/MinGW do not provide the 'file' command needed by
4944   # func_win32_libid shell function, so use a weaker test based on 'objdump',
4945   # unless we find 'file', for example because we are cross-compiling.
4946   if ( file / ) >/dev/null 2>&1; then
4947     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4948     lt_cv_file_magic_cmd='func_win32_libid'
4949   else
4950     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4951     lt_cv_file_magic_cmd='$OBJDUMP -f'
4952   fi
4953   ;;
4954
4955 darwin* | rhapsody*)
4956   lt_cv_deplibs_check_method=pass_all
4957   ;;
4958
4959 freebsd* | dragonfly*)
4960   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4961     case $host_cpu in
4962     i*86 )
4963       # Not sure whether the presence of OpenBSD here was a mistake.
4964       # Let's accept both of them until this is cleared up.
4965       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4966       lt_cv_file_magic_cmd=/usr/bin/file
4967       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4968       ;;
4969     esac
4970   else
4971     lt_cv_deplibs_check_method=pass_all
4972   fi
4973   ;;
4974
4975 gnu*)
4976   lt_cv_deplibs_check_method=pass_all
4977   ;;
4978
4979 hpux10.20* | hpux11*)
4980   lt_cv_file_magic_cmd=/usr/bin/file
4981   case $host_cpu in
4982   ia64*)
4983     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4984     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4985     ;;
4986   hppa*64*)
4987     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4988     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4989     ;;
4990   *)
4991     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4992     lt_cv_file_magic_test_file=/usr/lib/libc.sl
4993     ;;
4994   esac
4995   ;;
4996
4997 interix[3-9]*)
4998   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4999   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5000   ;;
5001
5002 irix5* | irix6* | nonstopux*)
5003   case $LD in
5004   *-32|*"-32 ") libmagic=32-bit;;
5005   *-n32|*"-n32 ") libmagic=N32;;
5006   *-64|*"-64 ") libmagic=64-bit;;
5007   *) libmagic=never-match;;
5008   esac
5009   lt_cv_deplibs_check_method=pass_all
5010   ;;
5011
5012 # This must be Linux ELF.
5013 linux* | k*bsd*-gnu)
5014   lt_cv_deplibs_check_method=pass_all
5015   ;;
5016
5017 netbsd*)
5018   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5019     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5020   else
5021     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5022   fi
5023   ;;
5024
5025 newos6*)
5026   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5027   lt_cv_file_magic_cmd=/usr/bin/file
5028   lt_cv_file_magic_test_file=/usr/lib/libnls.so
5029   ;;
5030
5031 *nto* | *qnx*)
5032   lt_cv_deplibs_check_method=pass_all
5033   ;;
5034
5035 openbsd*)
5036   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5037     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5038   else
5039     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5040   fi
5041   ;;
5042
5043 osf3* | osf4* | osf5*)
5044   lt_cv_deplibs_check_method=pass_all
5045   ;;
5046
5047 rdos*)
5048   lt_cv_deplibs_check_method=pass_all
5049   ;;
5050
5051 solaris*)
5052   lt_cv_deplibs_check_method=pass_all
5053   ;;
5054
5055 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5056   lt_cv_deplibs_check_method=pass_all
5057   ;;
5058
5059 sysv4 | sysv4.3*)
5060   case $host_vendor in
5061   motorola)
5062     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5063     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5064     ;;
5065   ncr)
5066     lt_cv_deplibs_check_method=pass_all
5067     ;;
5068   sequent)
5069     lt_cv_file_magic_cmd='/bin/file'
5070     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5071     ;;
5072   sni)
5073     lt_cv_file_magic_cmd='/bin/file'
5074     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5075     lt_cv_file_magic_test_file=/lib/libc.so
5076     ;;
5077   siemens)
5078     lt_cv_deplibs_check_method=pass_all
5079     ;;
5080   pc)
5081     lt_cv_deplibs_check_method=pass_all
5082     ;;
5083   esac
5084   ;;
5085
5086 tpf*)
5087   lt_cv_deplibs_check_method=pass_all
5088   ;;
5089 esac
5090
5091 fi
5092 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5093 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5094 file_magic_cmd=$lt_cv_file_magic_cmd
5095 deplibs_check_method=$lt_cv_deplibs_check_method
5096 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109 if test -n "$ac_tool_prefix"; then
5110   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5111 set dummy ${ac_tool_prefix}ar; ac_word=$2
5112 echo "$as_me:$LINENO: checking for $ac_word" >&5
5113 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5114 if test "${ac_cv_prog_AR+set}" = set; then
5115   echo $ECHO_N "(cached) $ECHO_C" >&6
5116 else
5117   if test -n "$AR"; then
5118   ac_cv_prog_AR="$AR" # Let the user override the test.
5119 else
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5121 for as_dir in $PATH
5122 do
5123   IFS=$as_save_IFS
5124   test -z "$as_dir" && as_dir=.
5125   for ac_exec_ext in '' $ac_executable_extensions; do
5126   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5127     ac_cv_prog_AR="${ac_tool_prefix}ar"
5128     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5129     break 2
5130   fi
5131 done
5132 done
5133
5134 fi
5135 fi
5136 AR=$ac_cv_prog_AR
5137 if test -n "$AR"; then
5138   echo "$as_me:$LINENO: result: $AR" >&5
5139 echo "${ECHO_T}$AR" >&6
5140 else
5141   echo "$as_me:$LINENO: result: no" >&5
5142 echo "${ECHO_T}no" >&6
5143 fi
5144
5145 fi
5146 if test -z "$ac_cv_prog_AR"; then
5147   ac_ct_AR=$AR
5148   # Extract the first word of "ar", so it can be a program name with args.
5149 set dummy ar; ac_word=$2
5150 echo "$as_me:$LINENO: checking for $ac_word" >&5
5151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5152 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5153   echo $ECHO_N "(cached) $ECHO_C" >&6
5154 else
5155   if test -n "$ac_ct_AR"; then
5156   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5157 else
5158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 for as_dir in $PATH
5160 do
5161   IFS=$as_save_IFS
5162   test -z "$as_dir" && as_dir=.
5163   for ac_exec_ext in '' $ac_executable_extensions; do
5164   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5165     ac_cv_prog_ac_ct_AR="ar"
5166     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5167     break 2
5168   fi
5169 done
5170 done
5171
5172   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5173 fi
5174 fi
5175 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5176 if test -n "$ac_ct_AR"; then
5177   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5178 echo "${ECHO_T}$ac_ct_AR" >&6
5179 else
5180   echo "$as_me:$LINENO: result: no" >&5
5181 echo "${ECHO_T}no" >&6
5182 fi
5183
5184   AR=$ac_ct_AR
5185 else
5186   AR="$ac_cv_prog_AR"
5187 fi
5188
5189 test -z "$AR" && AR=ar
5190 test -z "$AR_FLAGS" && AR_FLAGS=cru
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202 if test -n "$ac_tool_prefix"; then
5203   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5204 set dummy ${ac_tool_prefix}strip; ac_word=$2
5205 echo "$as_me:$LINENO: checking for $ac_word" >&5
5206 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5207 if test "${ac_cv_prog_STRIP+set}" = set; then
5208   echo $ECHO_N "(cached) $ECHO_C" >&6
5209 else
5210   if test -n "$STRIP"; then
5211   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5212 else
5213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5214 for as_dir in $PATH
5215 do
5216   IFS=$as_save_IFS
5217   test -z "$as_dir" && as_dir=.
5218   for ac_exec_ext in '' $ac_executable_extensions; do
5219   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5220     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5221     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5222     break 2
5223   fi
5224 done
5225 done
5226
5227 fi
5228 fi
5229 STRIP=$ac_cv_prog_STRIP
5230 if test -n "$STRIP"; then
5231   echo "$as_me:$LINENO: result: $STRIP" >&5
5232 echo "${ECHO_T}$STRIP" >&6
5233 else
5234   echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6
5236 fi
5237
5238 fi
5239 if test -z "$ac_cv_prog_STRIP"; then
5240   ac_ct_STRIP=$STRIP
5241   # Extract the first word of "strip", so it can be a program name with args.
5242 set dummy strip; ac_word=$2
5243 echo "$as_me:$LINENO: checking for $ac_word" >&5
5244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5245 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5246   echo $ECHO_N "(cached) $ECHO_C" >&6
5247 else
5248   if test -n "$ac_ct_STRIP"; then
5249   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5250 else
5251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5252 for as_dir in $PATH
5253 do
5254   IFS=$as_save_IFS
5255   test -z "$as_dir" && as_dir=.
5256   for ac_exec_ext in '' $ac_executable_extensions; do
5257   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5258     ac_cv_prog_ac_ct_STRIP="strip"
5259     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5260     break 2
5261   fi
5262 done
5263 done
5264
5265   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5266 fi
5267 fi
5268 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5269 if test -n "$ac_ct_STRIP"; then
5270   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5271 echo "${ECHO_T}$ac_ct_STRIP" >&6
5272 else
5273   echo "$as_me:$LINENO: result: no" >&5
5274 echo "${ECHO_T}no" >&6
5275 fi
5276
5277   STRIP=$ac_ct_STRIP
5278 else
5279   STRIP="$ac_cv_prog_STRIP"
5280 fi
5281
5282 test -z "$STRIP" && STRIP=:
5283
5284
5285
5286
5287
5288
5289 if test -n "$ac_tool_prefix"; then
5290   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5291 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5292 echo "$as_me:$LINENO: checking for $ac_word" >&5
5293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5294 if test "${ac_cv_prog_RANLIB+set}" = set; then
5295   echo $ECHO_N "(cached) $ECHO_C" >&6
5296 else
5297   if test -n "$RANLIB"; then
5298   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5299 else
5300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5301 for as_dir in $PATH
5302 do
5303   IFS=$as_save_IFS
5304   test -z "$as_dir" && as_dir=.
5305   for ac_exec_ext in '' $ac_executable_extensions; do
5306   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5307     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5308     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5309     break 2
5310   fi
5311 done
5312 done
5313
5314 fi
5315 fi
5316 RANLIB=$ac_cv_prog_RANLIB
5317 if test -n "$RANLIB"; then
5318   echo "$as_me:$LINENO: result: $RANLIB" >&5
5319 echo "${ECHO_T}$RANLIB" >&6
5320 else
5321   echo "$as_me:$LINENO: result: no" >&5
5322 echo "${ECHO_T}no" >&6
5323 fi
5324
5325 fi
5326 if test -z "$ac_cv_prog_RANLIB"; then
5327   ac_ct_RANLIB=$RANLIB
5328   # Extract the first word of "ranlib", so it can be a program name with args.
5329 set dummy ranlib; ac_word=$2
5330 echo "$as_me:$LINENO: checking for $ac_word" >&5
5331 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5332 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5333   echo $ECHO_N "(cached) $ECHO_C" >&6
5334 else
5335   if test -n "$ac_ct_RANLIB"; then
5336   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5337 else
5338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5339 for as_dir in $PATH
5340 do
5341   IFS=$as_save_IFS
5342   test -z "$as_dir" && as_dir=.
5343   for ac_exec_ext in '' $ac_executable_extensions; do
5344   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5345     ac_cv_prog_ac_ct_RANLIB="ranlib"
5346     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5347     break 2
5348   fi
5349 done
5350 done
5351
5352   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5353 fi
5354 fi
5355 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5356 if test -n "$ac_ct_RANLIB"; then
5357   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5358 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5359 else
5360   echo "$as_me:$LINENO: result: no" >&5
5361 echo "${ECHO_T}no" >&6
5362 fi
5363
5364   RANLIB=$ac_ct_RANLIB
5365 else
5366   RANLIB="$ac_cv_prog_RANLIB"
5367 fi
5368
5369 test -z "$RANLIB" && RANLIB=:
5370
5371
5372
5373
5374
5375
5376 # Determine commands to create old-style static archives.
5377 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5378 old_postinstall_cmds='chmod 644 $oldlib'
5379 old_postuninstall_cmds=
5380
5381 if test -n "$RANLIB"; then
5382   case $host_os in
5383   openbsd*)
5384     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5385     ;;
5386   *)
5387     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5388     ;;
5389   esac
5390   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5391 fi
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426 # If no C compiler was specified, use CC.
5427 LTCC=${LTCC-"$CC"}
5428
5429 # If no C compiler flags were specified, use CFLAGS.
5430 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5431
5432 # Allow CC to be a program name with arguments.
5433 compiler=$CC
5434
5435
5436 # Check for command to grab the raw symbol name followed by C symbol from nm.
5437 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5438 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5439 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5440   echo $ECHO_N "(cached) $ECHO_C" >&6
5441 else
5442
5443 # These are sane defaults that work on at least a few old systems.
5444 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
5445
5446 # Character class describing NM global symbol codes.
5447 symcode='[BCDEGRST]'
5448
5449 # Regexp to match symbols that can be accessed directly from C.
5450 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5451
5452 # Define system-specific variables.
5453 case $host_os in
5454 aix*)
5455   symcode='[BCDT]'
5456   ;;
5457 cygwin* | mingw* | pw32*)
5458   symcode='[ABCDGISTW]'
5459   ;;
5460 hpux*)
5461   if test "$host_cpu" = ia64; then
5462     symcode='[ABCDEGRST]'
5463   fi
5464   ;;
5465 irix* | nonstopux*)
5466   symcode='[BCDEGRST]'
5467   ;;
5468 osf*)
5469   symcode='[BCDEGQRST]'
5470   ;;
5471 solaris*)
5472   symcode='[BDRT]'
5473   ;;
5474 sco3.2v5*)
5475   symcode='[DT]'
5476   ;;
5477 sysv4.2uw2*)
5478   symcode='[DT]'
5479   ;;
5480 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5481   symcode='[ABDT]'
5482   ;;
5483 sysv4)
5484   symcode='[DFNSTU]'
5485   ;;
5486 esac
5487
5488 # If we're using GNU nm, then use its standard symbol codes.
5489 case `$NM -V 2>&1` in
5490 *GNU* | *'with BFD'*)
5491   symcode='[ABCDGIRSTW]' ;;
5492 esac
5493
5494 # Transform an extracted symbol line into a proper C declaration.
5495 # Some systems (esp. on ia64) link data and code symbols differently,
5496 # so use this general approach.
5497 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5498
5499 # Transform an extracted symbol line into symbol name and symbol address
5500 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
5501
5502 # Handle CRLF in mingw tool chain
5503 opt_cr=
5504 case $build_os in
5505 mingw*)
5506   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5507   ;;
5508 esac
5509
5510 # Try without a prefix underscore, then with it.
5511 for ac_symprfx in "" "_"; do
5512
5513   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5514   symxfrm="\\1 $ac_symprfx\\2 \\2"
5515
5516   # Write the raw and C identifiers.
5517   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5518     # Fake it for dumpbin and say T for any non-static function
5519     # and D for any global variable.
5520     # Also find C++ and __fastcall symbols from MSVC++,
5521     # which start with @ or ?.
5522     lt_cv_sys_global_symbol_pipe="$AWK '"\
5523 "     {last_section=section; section=\$ 3};"\
5524 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5525 "     \$ 0!~/External *\|/{next};"\
5526 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5527 "     {if(hide[section]) next};"\
5528 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5529 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5530 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
5531 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5532 "     ' prfx=^$ac_symprfx"
5533   else
5534     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5535   fi
5536
5537   # Check to see that the pipe works correctly.
5538   pipe_works=no
5539
5540   rm -f conftest*
5541   cat > conftest.$ac_ext <<_LT_EOF
5542 #ifdef __cplusplus
5543 extern "C" {
5544 #endif
5545 char nm_test_var;
5546 void nm_test_func(void);
5547 void nm_test_func(void){}
5548 #ifdef __cplusplus
5549 }
5550 #endif
5551 int main(){nm_test_var='a';nm_test_func();return(0);}
5552 _LT_EOF
5553
5554   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5555   (eval $ac_compile) 2>&5
5556   ac_status=$?
5557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558   (exit $ac_status); }; then
5559     # Now try to grab the symbols.
5560     nlist=conftest.nm
5561     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5562   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5563   ac_status=$?
5564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565   (exit $ac_status); } && test -s "$nlist"; then
5566       # Try sorting and uniquifying the output.
5567       if sort "$nlist" | uniq > "$nlist"T; then
5568         mv -f "$nlist"T "$nlist"
5569       else
5570         rm -f "$nlist"T
5571       fi
5572
5573       # Make sure that we snagged all the symbols we need.
5574       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5575         if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5576           cat <<_LT_EOF > conftest.$ac_ext
5577 #ifdef __cplusplus
5578 extern "C" {
5579 #endif
5580
5581 _LT_EOF
5582           # Now generate the symbol file.
5583           eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5584
5585           cat <<_LT_EOF >> conftest.$ac_ext
5586
5587 /* The mapping between symbol names and symbols.  */
5588 const struct {
5589   const char *name;
5590   void       *address;
5591 }
5592 lt__PROGRAM__LTX_preloaded_symbols[] =
5593 {
5594   { "@PROGRAM@", (void *) 0 },
5595 _LT_EOF
5596           $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5597           cat <<\_LT_EOF >> conftest.$ac_ext
5598   {0, (void *) 0}
5599 };
5600
5601 /* This works around a problem in FreeBSD linker */
5602 #ifdef FREEBSD_WORKAROUND
5603 static const void *lt_preloaded_setup() {
5604   return lt__PROGRAM__LTX_preloaded_symbols;
5605 }
5606 #endif
5607
5608 #ifdef __cplusplus
5609 }
5610 #endif
5611 _LT_EOF
5612           # Now try linking the two files.
5613           mv conftest.$ac_objext conftstm.$ac_objext
5614           lt_save_LIBS="$LIBS"
5615           lt_save_CFLAGS="$CFLAGS"
5616           LIBS="conftstm.$ac_objext"
5617           CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5618           if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5619   (eval $ac_link) 2>&5
5620   ac_status=$?
5621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622   (exit $ac_status); } && test -s conftest${ac_exeext}; then
5623             pipe_works=yes
5624           fi
5625           LIBS="$lt_save_LIBS"
5626           CFLAGS="$lt_save_CFLAGS"
5627         else
5628           echo "cannot find nm_test_func in $nlist" >&5
5629         fi
5630       else
5631         echo "cannot find nm_test_var in $nlist" >&5
5632       fi
5633     else
5634       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5635     fi
5636   else
5637     echo "$progname: failed program was:" >&5
5638     cat conftest.$ac_ext >&5
5639   fi
5640   rm -f conftest* conftst*
5641
5642   # Do not use the global_symbol_pipe unless it works.
5643   if test "$pipe_works" = yes; then
5644     break
5645   else
5646     lt_cv_sys_global_symbol_pipe=
5647   fi
5648 done
5649
5650 fi
5651
5652 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5653   lt_cv_sys_global_symbol_to_cdecl=
5654 fi
5655 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5656   echo "$as_me:$LINENO: result: failed" >&5
5657 echo "${ECHO_T}failed" >&6
5658 else
5659   echo "$as_me:$LINENO: result: ok" >&5
5660 echo "${ECHO_T}ok" >&6
5661 fi
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5680 if test "${enable_libtool_lock+set}" = set; then
5681   enableval="$enable_libtool_lock"
5682
5683 fi;
5684 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5685
5686 # Some flags need to be propagated to the compiler or linker for good
5687 # libtool support.
5688 case $host in
5689 ia64-*-hpux*)
5690   # Find out which ABI we are using.
5691   echo 'int i;' > conftest.$ac_ext
5692   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5693   (eval $ac_compile) 2>&5
5694   ac_status=$?
5695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5696   (exit $ac_status); }; then
5697     case `/usr/bin/file conftest.$ac_objext` in
5698       *ELF-32*)
5699         HPUX_IA64_MODE="32"
5700         ;;
5701       *ELF-64*)
5702         HPUX_IA64_MODE="64"
5703         ;;
5704     esac
5705   fi
5706   rm -rf conftest*
5707   ;;
5708 *-*-irix6*)
5709   # Find out which ABI we are using.
5710   echo '#line 5710 "configure"' > conftest.$ac_ext
5711   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5712   (eval $ac_compile) 2>&5
5713   ac_status=$?
5714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5715   (exit $ac_status); }; then
5716     if test "$lt_cv_prog_gnu_ld" = yes; then
5717       case `/usr/bin/file conftest.$ac_objext` in
5718         *32-bit*)
5719           LD="${LD-ld} -melf32bsmip"
5720           ;;
5721         *N32*)
5722           LD="${LD-ld} -melf32bmipn32"
5723           ;;
5724         *64-bit*)
5725           LD="${LD-ld} -melf64bmip"
5726         ;;
5727       esac
5728     else
5729       case `/usr/bin/file conftest.$ac_objext` in
5730         *32-bit*)
5731           LD="${LD-ld} -32"
5732           ;;
5733         *N32*)
5734           LD="${LD-ld} -n32"
5735           ;;
5736         *64-bit*)
5737           LD="${LD-ld} -64"
5738           ;;
5739       esac
5740     fi
5741   fi
5742   rm -rf conftest*
5743   ;;
5744
5745 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5746 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5747   # Find out which ABI we are using.
5748   echo 'int i;' > conftest.$ac_ext
5749   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5750   (eval $ac_compile) 2>&5
5751   ac_status=$?
5752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753   (exit $ac_status); }; then
5754     case `/usr/bin/file conftest.o` in
5755       *32-bit*)
5756         case $host in
5757           x86_64-*kfreebsd*-gnu)
5758             LD="${LD-ld} -m elf_i386_fbsd"
5759             ;;
5760           x86_64-*linux*)
5761             LD="${LD-ld} -m elf_i386"
5762             ;;
5763           ppc64-*linux*|powerpc64-*linux*)
5764             LD="${LD-ld} -m elf32ppclinux"
5765             ;;
5766           s390x-*linux*)
5767             LD="${LD-ld} -m elf_s390"
5768             ;;
5769           sparc64-*linux*)
5770             LD="${LD-ld} -m elf32_sparc"
5771             ;;
5772         esac
5773         ;;
5774       *64-bit*)
5775         case $host in
5776           x86_64-*kfreebsd*-gnu)
5777             LD="${LD-ld} -m elf_x86_64_fbsd"
5778             ;;
5779           x86_64-*linux*)
5780             LD="${LD-ld} -m elf_x86_64"
5781             ;;
5782           ppc*-*linux*|powerpc*-*linux*)
5783             LD="${LD-ld} -m elf64ppc"
5784             ;;
5785           s390*-*linux*|s390*-*tpf*)
5786             LD="${LD-ld} -m elf64_s390"
5787             ;;
5788           sparc*-*linux*)
5789             LD="${LD-ld} -m elf64_sparc"
5790             ;;
5791         esac
5792         ;;
5793     esac
5794   fi
5795   rm -rf conftest*
5796   ;;
5797
5798 *-*-sco3.2v5*)
5799   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5800   SAVE_CFLAGS="$CFLAGS"
5801   CFLAGS="$CFLAGS -belf"
5802   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5803 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5804 if test "${lt_cv_cc_needs_belf+set}" = set; then
5805   echo $ECHO_N "(cached) $ECHO_C" >&6
5806 else
5807   ac_ext=c
5808 ac_cpp='$CPP $CPPFLAGS'
5809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5812
5813      if test x$gcc_no_link = xyes; then
5814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5816    { (exit 1); exit 1; }; }
5817 fi
5818 cat >conftest.$ac_ext <<_ACEOF
5819 /* confdefs.h.  */
5820 _ACEOF
5821 cat confdefs.h >>conftest.$ac_ext
5822 cat >>conftest.$ac_ext <<_ACEOF
5823 /* end confdefs.h.  */
5824
5825 int
5826 main ()
5827 {
5828
5829   ;
5830   return 0;
5831 }
5832 _ACEOF
5833 rm -f conftest.$ac_objext conftest$ac_exeext
5834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5835   (eval $ac_link) 2>conftest.er1
5836   ac_status=$?
5837   grep -v '^ *+' conftest.er1 >conftest.err
5838   rm -f conftest.er1
5839   cat conftest.err >&5
5840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5841   (exit $ac_status); } &&
5842          { ac_try='test -z "$ac_c_werror_flag"
5843                          || test ! -s conftest.err'
5844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5845   (eval $ac_try) 2>&5
5846   ac_status=$?
5847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848   (exit $ac_status); }; } &&
5849          { ac_try='test -s conftest$ac_exeext'
5850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5851   (eval $ac_try) 2>&5
5852   ac_status=$?
5853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854   (exit $ac_status); }; }; then
5855   lt_cv_cc_needs_belf=yes
5856 else
5857   echo "$as_me: failed program was:" >&5
5858 sed 's/^/| /' conftest.$ac_ext >&5
5859
5860 lt_cv_cc_needs_belf=no
5861 fi
5862 rm -f conftest.err conftest.$ac_objext \
5863       conftest$ac_exeext conftest.$ac_ext
5864      ac_ext=c
5865 ac_cpp='$CPP $CPPFLAGS'
5866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5869
5870 fi
5871 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5872 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5873   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5874     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5875     CFLAGS="$SAVE_CFLAGS"
5876   fi
5877   ;;
5878 sparc*-*solaris*)
5879   # Find out which ABI we are using.
5880   echo 'int i;' > conftest.$ac_ext
5881   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5882   (eval $ac_compile) 2>&5
5883   ac_status=$?
5884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5885   (exit $ac_status); }; then
5886     case `/usr/bin/file conftest.o` in
5887     *64-bit*)
5888       case $lt_cv_prog_gnu_ld in
5889       yes*) LD="${LD-ld} -m elf64_sparc" ;;
5890       *)    LD="${LD-ld} -64" ;;
5891       esac
5892       ;;
5893     esac
5894   fi
5895   rm -rf conftest*
5896   ;;
5897 esac
5898
5899 need_locks="$enable_libtool_lock"
5900
5901 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5902 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5903 if test "${ac_cv_header_stdc+set}" = set; then
5904   echo $ECHO_N "(cached) $ECHO_C" >&6
5905 else
5906   cat >conftest.$ac_ext <<_ACEOF
5907 /* confdefs.h.  */
5908 _ACEOF
5909 cat confdefs.h >>conftest.$ac_ext
5910 cat >>conftest.$ac_ext <<_ACEOF
5911 /* end confdefs.h.  */
5912 #include <stdlib.h>
5913 #include <stdarg.h>
5914 #include <string.h>
5915 #include <float.h>
5916
5917 int
5918 main ()
5919 {
5920
5921   ;
5922   return 0;
5923 }
5924 _ACEOF
5925 rm -f conftest.$ac_objext
5926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5927   (eval $ac_compile) 2>conftest.er1
5928   ac_status=$?
5929   grep -v '^ *+' conftest.er1 >conftest.err
5930   rm -f conftest.er1
5931   cat conftest.err >&5
5932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5933   (exit $ac_status); } &&
5934          { ac_try='test -z "$ac_c_werror_flag"
5935                          || test ! -s conftest.err'
5936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5937   (eval $ac_try) 2>&5
5938   ac_status=$?
5939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940   (exit $ac_status); }; } &&
5941          { ac_try='test -s conftest.$ac_objext'
5942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5943   (eval $ac_try) 2>&5
5944   ac_status=$?
5945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946   (exit $ac_status); }; }; then
5947   ac_cv_header_stdc=yes
5948 else
5949   echo "$as_me: failed program was:" >&5
5950 sed 's/^/| /' conftest.$ac_ext >&5
5951
5952 ac_cv_header_stdc=no
5953 fi
5954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5955
5956 if test $ac_cv_header_stdc = yes; then
5957   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5958   cat >conftest.$ac_ext <<_ACEOF
5959 /* confdefs.h.  */
5960 _ACEOF
5961 cat confdefs.h >>conftest.$ac_ext
5962 cat >>conftest.$ac_ext <<_ACEOF
5963 /* end confdefs.h.  */
5964 #include <string.h>
5965
5966 _ACEOF
5967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5968   $EGREP "memchr" >/dev/null 2>&1; then
5969   :
5970 else
5971   ac_cv_header_stdc=no
5972 fi
5973 rm -f conftest*
5974
5975 fi
5976
5977 if test $ac_cv_header_stdc = yes; then
5978   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5979   cat >conftest.$ac_ext <<_ACEOF
5980 /* confdefs.h.  */
5981 _ACEOF
5982 cat confdefs.h >>conftest.$ac_ext
5983 cat >>conftest.$ac_ext <<_ACEOF
5984 /* end confdefs.h.  */
5985 #include <stdlib.h>
5986
5987 _ACEOF
5988 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5989   $EGREP "free" >/dev/null 2>&1; then
5990   :
5991 else
5992   ac_cv_header_stdc=no
5993 fi
5994 rm -f conftest*
5995
5996 fi
5997
5998 if test $ac_cv_header_stdc = yes; then
5999   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6000   if test "$cross_compiling" = yes; then
6001   :
6002 else
6003   cat >conftest.$ac_ext <<_ACEOF
6004 /* confdefs.h.  */
6005 _ACEOF
6006 cat confdefs.h >>conftest.$ac_ext
6007 cat >>conftest.$ac_ext <<_ACEOF
6008 /* end confdefs.h.  */
6009 #include <ctype.h>
6010 #if ((' ' & 0x0FF) == 0x020)
6011 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6012 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6013 #else
6014 # define ISLOWER(c) \
6015                    (('a' <= (c) && (c) <= 'i') \
6016                      || ('j' <= (c) && (c) <= 'r') \
6017                      || ('s' <= (c) && (c) <= 'z'))
6018 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6019 #endif
6020
6021 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6022 int
6023 main ()
6024 {
6025   int i;
6026   for (i = 0; i < 256; i++)
6027     if (XOR (islower (i), ISLOWER (i))
6028         || toupper (i) != TOUPPER (i))
6029       exit(2);
6030   exit (0);
6031 }
6032 _ACEOF
6033 rm -f conftest$ac_exeext
6034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6035   (eval $ac_link) 2>&5
6036   ac_status=$?
6037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6040   (eval $ac_try) 2>&5
6041   ac_status=$?
6042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043   (exit $ac_status); }; }; then
6044   :
6045 else
6046   echo "$as_me: program exited with status $ac_status" >&5
6047 echo "$as_me: failed program was:" >&5
6048 sed 's/^/| /' conftest.$ac_ext >&5
6049
6050 ( exit $ac_status )
6051 ac_cv_header_stdc=no
6052 fi
6053 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6054 fi
6055 fi
6056 fi
6057 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6058 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6059 if test $ac_cv_header_stdc = yes; then
6060
6061 cat >>confdefs.h <<\_ACEOF
6062 #define STDC_HEADERS 1
6063 _ACEOF
6064
6065 fi
6066
6067 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6078                   inttypes.h stdint.h unistd.h
6079 do
6080 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6081 echo "$as_me:$LINENO: checking for $ac_header" >&5
6082 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6083 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6084   echo $ECHO_N "(cached) $ECHO_C" >&6
6085 else
6086   cat >conftest.$ac_ext <<_ACEOF
6087 /* confdefs.h.  */
6088 _ACEOF
6089 cat confdefs.h >>conftest.$ac_ext
6090 cat >>conftest.$ac_ext <<_ACEOF
6091 /* end confdefs.h.  */
6092 $ac_includes_default
6093
6094 #include <$ac_header>
6095 _ACEOF
6096 rm -f conftest.$ac_objext
6097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6098   (eval $ac_compile) 2>conftest.er1
6099   ac_status=$?
6100   grep -v '^ *+' conftest.er1 >conftest.err
6101   rm -f conftest.er1
6102   cat conftest.err >&5
6103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104   (exit $ac_status); } &&
6105          { ac_try='test -z "$ac_c_werror_flag"
6106                          || test ! -s conftest.err'
6107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6108   (eval $ac_try) 2>&5
6109   ac_status=$?
6110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6111   (exit $ac_status); }; } &&
6112          { ac_try='test -s conftest.$ac_objext'
6113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6114   (eval $ac_try) 2>&5
6115   ac_status=$?
6116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6117   (exit $ac_status); }; }; then
6118   eval "$as_ac_Header=yes"
6119 else
6120   echo "$as_me: failed program was:" >&5
6121 sed 's/^/| /' conftest.$ac_ext >&5
6122
6123 eval "$as_ac_Header=no"
6124 fi
6125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6126 fi
6127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6130   cat >>confdefs.h <<_ACEOF
6131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6132 _ACEOF
6133
6134 fi
6135
6136 done
6137
6138
6139
6140 for ac_header in dlfcn.h
6141 do
6142 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6143 echo "$as_me:$LINENO: checking for $ac_header" >&5
6144 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6146   echo $ECHO_N "(cached) $ECHO_C" >&6
6147 else
6148   cat >conftest.$ac_ext <<_ACEOF
6149 /* confdefs.h.  */
6150 _ACEOF
6151 cat confdefs.h >>conftest.$ac_ext
6152 cat >>conftest.$ac_ext <<_ACEOF
6153 /* end confdefs.h.  */
6154 $ac_includes_default
6155
6156 #include <$ac_header>
6157 _ACEOF
6158 rm -f conftest.$ac_objext
6159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6160   (eval $ac_compile) 2>conftest.er1
6161   ac_status=$?
6162   grep -v '^ *+' conftest.er1 >conftest.err
6163   rm -f conftest.er1
6164   cat conftest.err >&5
6165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6166   (exit $ac_status); } &&
6167          { ac_try='test -z "$ac_c_werror_flag"
6168                          || test ! -s conftest.err'
6169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6170   (eval $ac_try) 2>&5
6171   ac_status=$?
6172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173   (exit $ac_status); }; } &&
6174          { ac_try='test -s conftest.$ac_objext'
6175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6176   (eval $ac_try) 2>&5
6177   ac_status=$?
6178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179   (exit $ac_status); }; }; then
6180   eval "$as_ac_Header=yes"
6181 else
6182   echo "$as_me: failed program was:" >&5
6183 sed 's/^/| /' conftest.$ac_ext >&5
6184
6185 eval "$as_ac_Header=no"
6186 fi
6187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6188 fi
6189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6190 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6192   cat >>confdefs.h <<_ACEOF
6193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6194 _ACEOF
6195
6196 fi
6197
6198 done
6199
6200
6201
6202 ac_ext=cc
6203 ac_cpp='$CXXCPP $CPPFLAGS'
6204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6207 if test -n "$ac_tool_prefix"; then
6208   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6209   do
6210     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6211 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6212 echo "$as_me:$LINENO: checking for $ac_word" >&5
6213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6214 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6215   echo $ECHO_N "(cached) $ECHO_C" >&6
6216 else
6217   if test -n "$CXX"; then
6218   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6219 else
6220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221 for as_dir in $PATH
6222 do
6223   IFS=$as_save_IFS
6224   test -z "$as_dir" && as_dir=.
6225   for ac_exec_ext in '' $ac_executable_extensions; do
6226   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6227     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6228     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6229     break 2
6230   fi
6231 done
6232 done
6233
6234 fi
6235 fi
6236 CXX=$glibcxx_cv_prog_CXX
6237 if test -n "$CXX"; then
6238   echo "$as_me:$LINENO: result: $CXX" >&5
6239 echo "${ECHO_T}$CXX" >&6
6240 else
6241   echo "$as_me:$LINENO: result: no" >&5
6242 echo "${ECHO_T}no" >&6
6243 fi
6244
6245     test -n "$CXX" && break
6246   done
6247 fi
6248 if test -z "$CXX"; then
6249   ac_ct_CXX=$CXX
6250   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6251 do
6252   # Extract the first word of "$ac_prog", so it can be a program name with args.
6253 set dummy $ac_prog; ac_word=$2
6254 echo "$as_me:$LINENO: checking for $ac_word" >&5
6255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6256 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6257   echo $ECHO_N "(cached) $ECHO_C" >&6
6258 else
6259   if test -n "$ac_ct_CXX"; then
6260   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6261 else
6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 for as_dir in $PATH
6264 do
6265   IFS=$as_save_IFS
6266   test -z "$as_dir" && as_dir=.
6267   for ac_exec_ext in '' $ac_executable_extensions; do
6268   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6269     ac_cv_prog_ac_ct_CXX="$ac_prog"
6270     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6271     break 2
6272   fi
6273 done
6274 done
6275
6276 fi
6277 fi
6278 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6279 if test -n "$ac_ct_CXX"; then
6280   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6281 echo "${ECHO_T}$ac_ct_CXX" >&6
6282 else
6283   echo "$as_me:$LINENO: result: no" >&5
6284 echo "${ECHO_T}no" >&6
6285 fi
6286
6287   test -n "$ac_ct_CXX" && break
6288 done
6289 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6290
6291   CXX=$ac_ct_CXX
6292 fi
6293
6294
6295 # Provide some information about the compiler.
6296 echo "$as_me:$LINENO:" \
6297      "checking for C++ compiler version" >&5
6298 ac_compiler=`set X $ac_compile; echo $2`
6299 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6300   (eval $ac_compiler --version </dev/null >&5) 2>&5
6301   ac_status=$?
6302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303   (exit $ac_status); }
6304 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6305   (eval $ac_compiler -v </dev/null >&5) 2>&5
6306   ac_status=$?
6307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6308   (exit $ac_status); }
6309 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6310   (eval $ac_compiler -V </dev/null >&5) 2>&5
6311   ac_status=$?
6312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313   (exit $ac_status); }
6314
6315 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6316 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6317 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6318   echo $ECHO_N "(cached) $ECHO_C" >&6
6319 else
6320   cat >conftest.$ac_ext <<_ACEOF
6321 /* confdefs.h.  */
6322 _ACEOF
6323 cat confdefs.h >>conftest.$ac_ext
6324 cat >>conftest.$ac_ext <<_ACEOF
6325 /* end confdefs.h.  */
6326
6327 int
6328 main ()
6329 {
6330 #ifndef __GNUC__
6331        choke me
6332 #endif
6333
6334   ;
6335   return 0;
6336 }
6337 _ACEOF
6338 rm -f conftest.$ac_objext
6339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6340   (eval $ac_compile) 2>conftest.er1
6341   ac_status=$?
6342   grep -v '^ *+' conftest.er1 >conftest.err
6343   rm -f conftest.er1
6344   cat conftest.err >&5
6345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346   (exit $ac_status); } &&
6347          { ac_try='test -z "$ac_cxx_werror_flag"
6348                          || test ! -s conftest.err'
6349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6350   (eval $ac_try) 2>&5
6351   ac_status=$?
6352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6353   (exit $ac_status); }; } &&
6354          { ac_try='test -s conftest.$ac_objext'
6355   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6356   (eval $ac_try) 2>&5
6357   ac_status=$?
6358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6359   (exit $ac_status); }; }; then
6360   ac_compiler_gnu=yes
6361 else
6362   echo "$as_me: failed program was:" >&5
6363 sed 's/^/| /' conftest.$ac_ext >&5
6364
6365 ac_compiler_gnu=no
6366 fi
6367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6368 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6369
6370 fi
6371 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6372 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6373 GXX=`test $ac_compiler_gnu = yes && echo yes`
6374 ac_test_CXXFLAGS=${CXXFLAGS+set}
6375 ac_save_CXXFLAGS=$CXXFLAGS
6376 CXXFLAGS="-g"
6377 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6378 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6379 if test "${ac_cv_prog_cxx_g+set}" = set; then
6380   echo $ECHO_N "(cached) $ECHO_C" >&6
6381 else
6382   cat >conftest.$ac_ext <<_ACEOF
6383 /* confdefs.h.  */
6384 _ACEOF
6385 cat confdefs.h >>conftest.$ac_ext
6386 cat >>conftest.$ac_ext <<_ACEOF
6387 /* end confdefs.h.  */
6388
6389 int
6390 main ()
6391 {
6392
6393   ;
6394   return 0;
6395 }
6396 _ACEOF
6397 rm -f conftest.$ac_objext
6398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6399   (eval $ac_compile) 2>conftest.er1
6400   ac_status=$?
6401   grep -v '^ *+' conftest.er1 >conftest.err
6402   rm -f conftest.er1
6403   cat conftest.err >&5
6404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405   (exit $ac_status); } &&
6406          { ac_try='test -z "$ac_cxx_werror_flag"
6407                          || test ! -s conftest.err'
6408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6409   (eval $ac_try) 2>&5
6410   ac_status=$?
6411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6412   (exit $ac_status); }; } &&
6413          { ac_try='test -s conftest.$ac_objext'
6414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6415   (eval $ac_try) 2>&5
6416   ac_status=$?
6417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418   (exit $ac_status); }; }; then
6419   ac_cv_prog_cxx_g=yes
6420 else
6421   echo "$as_me: failed program was:" >&5
6422 sed 's/^/| /' conftest.$ac_ext >&5
6423
6424 ac_cv_prog_cxx_g=no
6425 fi
6426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6427 fi
6428 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6429 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6430 if test "$ac_test_CXXFLAGS" = set; then
6431   CXXFLAGS=$ac_save_CXXFLAGS
6432 elif test $ac_cv_prog_cxx_g = yes; then
6433   if test "$GXX" = yes; then
6434     CXXFLAGS="-g -O2"
6435   else
6436     CXXFLAGS="-g"
6437   fi
6438 else
6439   if test "$GXX" = yes; then
6440     CXXFLAGS="-O2"
6441   else
6442     CXXFLAGS=
6443   fi
6444 fi
6445 for ac_declaration in \
6446    '' \
6447    'extern "C" void std::exit (int) throw (); using std::exit;' \
6448    'extern "C" void std::exit (int); using std::exit;' \
6449    'extern "C" void exit (int) throw ();' \
6450    'extern "C" void exit (int);' \
6451    'void exit (int);'
6452 do
6453   cat >conftest.$ac_ext <<_ACEOF
6454 /* confdefs.h.  */
6455 _ACEOF
6456 cat confdefs.h >>conftest.$ac_ext
6457 cat >>conftest.$ac_ext <<_ACEOF
6458 /* end confdefs.h.  */
6459 $ac_declaration
6460 #include <stdlib.h>
6461 int
6462 main ()
6463 {
6464 exit (42);
6465   ;
6466   return 0;
6467 }
6468 _ACEOF
6469 rm -f conftest.$ac_objext
6470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6471   (eval $ac_compile) 2>conftest.er1
6472   ac_status=$?
6473   grep -v '^ *+' conftest.er1 >conftest.err
6474   rm -f conftest.er1
6475   cat conftest.err >&5
6476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6477   (exit $ac_status); } &&
6478          { ac_try='test -z "$ac_cxx_werror_flag"
6479                          || test ! -s conftest.err'
6480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6481   (eval $ac_try) 2>&5
6482   ac_status=$?
6483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6484   (exit $ac_status); }; } &&
6485          { ac_try='test -s conftest.$ac_objext'
6486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6487   (eval $ac_try) 2>&5
6488   ac_status=$?
6489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6490   (exit $ac_status); }; }; then
6491   :
6492 else
6493   echo "$as_me: failed program was:" >&5
6494 sed 's/^/| /' conftest.$ac_ext >&5
6495
6496 continue
6497 fi
6498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6499   cat >conftest.$ac_ext <<_ACEOF
6500 /* confdefs.h.  */
6501 _ACEOF
6502 cat confdefs.h >>conftest.$ac_ext
6503 cat >>conftest.$ac_ext <<_ACEOF
6504 /* end confdefs.h.  */
6505 $ac_declaration
6506 int
6507 main ()
6508 {
6509 exit (42);
6510   ;
6511   return 0;
6512 }
6513 _ACEOF
6514 rm -f conftest.$ac_objext
6515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6516   (eval $ac_compile) 2>conftest.er1
6517   ac_status=$?
6518   grep -v '^ *+' conftest.er1 >conftest.err
6519   rm -f conftest.er1
6520   cat conftest.err >&5
6521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6522   (exit $ac_status); } &&
6523          { ac_try='test -z "$ac_cxx_werror_flag"
6524                          || test ! -s conftest.err'
6525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6526   (eval $ac_try) 2>&5
6527   ac_status=$?
6528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6529   (exit $ac_status); }; } &&
6530          { ac_try='test -s conftest.$ac_objext'
6531   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6532   (eval $ac_try) 2>&5
6533   ac_status=$?
6534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535   (exit $ac_status); }; }; then
6536   break
6537 else
6538   echo "$as_me: failed program was:" >&5
6539 sed 's/^/| /' conftest.$ac_ext >&5
6540
6541 fi
6542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6543 done
6544 rm -f conftest*
6545 if test -n "$ac_declaration"; then
6546   echo '#ifdef __cplusplus' >>confdefs.h
6547   echo $ac_declaration      >>confdefs.h
6548   echo '#endif'             >>confdefs.h
6549 fi
6550
6551 ac_ext=c
6552 ac_cpp='$CPP $CPPFLAGS'
6553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6556
6557 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6558     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6559     (test "X$CXX" != "Xg++"))) ; then
6560   ac_ext=cc
6561 ac_cpp='$CXXCPP $CPPFLAGS'
6562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6565 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6566 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6567 if test -z "$CXXCPP"; then
6568   if test "${ac_cv_prog_CXXCPP+set}" = set; then
6569   echo $ECHO_N "(cached) $ECHO_C" >&6
6570 else
6571       # Double quotes because CXXCPP needs to be expanded
6572     for CXXCPP in "$CXX -E" "/lib/cpp"
6573     do
6574       ac_preproc_ok=false
6575 for ac_cxx_preproc_warn_flag in '' yes
6576 do
6577   # Use a header file that comes with gcc, so configuring glibc
6578   # with a fresh cross-compiler works.
6579   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6580   # <limits.h> exists even on freestanding compilers.
6581   # On the NeXT, cc -E runs the code through the compiler's parser,
6582   # not just through cpp. "Syntax error" is here to catch this case.
6583   cat >conftest.$ac_ext <<_ACEOF
6584 /* confdefs.h.  */
6585 _ACEOF
6586 cat confdefs.h >>conftest.$ac_ext
6587 cat >>conftest.$ac_ext <<_ACEOF
6588 /* end confdefs.h.  */
6589 #ifdef __STDC__
6590 # include <limits.h>
6591 #else
6592 # include <assert.h>
6593 #endif
6594                      Syntax error
6595 _ACEOF
6596 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6597   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6598   ac_status=$?
6599   grep -v '^ *+' conftest.er1 >conftest.err
6600   rm -f conftest.er1
6601   cat conftest.err >&5
6602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603   (exit $ac_status); } >/dev/null; then
6604   if test -s conftest.err; then
6605     ac_cpp_err=$ac_cxx_preproc_warn_flag
6606     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6607   else
6608     ac_cpp_err=
6609   fi
6610 else
6611   ac_cpp_err=yes
6612 fi
6613 if test -z "$ac_cpp_err"; then
6614   :
6615 else
6616   echo "$as_me: failed program was:" >&5
6617 sed 's/^/| /' conftest.$ac_ext >&5
6618
6619   # Broken: fails on valid input.
6620 continue
6621 fi
6622 rm -f conftest.err conftest.$ac_ext
6623
6624   # OK, works on sane cases.  Now check whether non-existent headers
6625   # can be detected and how.
6626   cat >conftest.$ac_ext <<_ACEOF
6627 /* confdefs.h.  */
6628 _ACEOF
6629 cat confdefs.h >>conftest.$ac_ext
6630 cat >>conftest.$ac_ext <<_ACEOF
6631 /* end confdefs.h.  */
6632 #include <ac_nonexistent.h>
6633 _ACEOF
6634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6635   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6636   ac_status=$?
6637   grep -v '^ *+' conftest.er1 >conftest.err
6638   rm -f conftest.er1
6639   cat conftest.err >&5
6640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6641   (exit $ac_status); } >/dev/null; then
6642   if test -s conftest.err; then
6643     ac_cpp_err=$ac_cxx_preproc_warn_flag
6644     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6645   else
6646     ac_cpp_err=
6647   fi
6648 else
6649   ac_cpp_err=yes
6650 fi
6651 if test -z "$ac_cpp_err"; then
6652   # Broken: success on invalid input.
6653 continue
6654 else
6655   echo "$as_me: failed program was:" >&5
6656 sed 's/^/| /' conftest.$ac_ext >&5
6657
6658   # Passes both tests.
6659 ac_preproc_ok=:
6660 break
6661 fi
6662 rm -f conftest.err conftest.$ac_ext
6663
6664 done
6665 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6666 rm -f conftest.err conftest.$ac_ext
6667 if $ac_preproc_ok; then
6668   break
6669 fi
6670
6671     done
6672     ac_cv_prog_CXXCPP=$CXXCPP
6673
6674 fi
6675   CXXCPP=$ac_cv_prog_CXXCPP
6676 else
6677   ac_cv_prog_CXXCPP=$CXXCPP
6678 fi
6679 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6680 echo "${ECHO_T}$CXXCPP" >&6
6681 ac_preproc_ok=false
6682 for ac_cxx_preproc_warn_flag in '' yes
6683 do
6684   # Use a header file that comes with gcc, so configuring glibc
6685   # with a fresh cross-compiler works.
6686   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6687   # <limits.h> exists even on freestanding compilers.
6688   # On the NeXT, cc -E runs the code through the compiler's parser,
6689   # not just through cpp. "Syntax error" is here to catch this case.
6690   cat >conftest.$ac_ext <<_ACEOF
6691 /* confdefs.h.  */
6692 _ACEOF
6693 cat confdefs.h >>conftest.$ac_ext
6694 cat >>conftest.$ac_ext <<_ACEOF
6695 /* end confdefs.h.  */
6696 #ifdef __STDC__
6697 # include <limits.h>
6698 #else
6699 # include <assert.h>
6700 #endif
6701                      Syntax error
6702 _ACEOF
6703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6704   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6705   ac_status=$?
6706   grep -v '^ *+' conftest.er1 >conftest.err
6707   rm -f conftest.er1
6708   cat conftest.err >&5
6709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6710   (exit $ac_status); } >/dev/null; then
6711   if test -s conftest.err; then
6712     ac_cpp_err=$ac_cxx_preproc_warn_flag
6713     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6714   else
6715     ac_cpp_err=
6716   fi
6717 else
6718   ac_cpp_err=yes
6719 fi
6720 if test -z "$ac_cpp_err"; then
6721   :
6722 else
6723   echo "$as_me: failed program was:" >&5
6724 sed 's/^/| /' conftest.$ac_ext >&5
6725
6726   # Broken: fails on valid input.
6727 continue
6728 fi
6729 rm -f conftest.err conftest.$ac_ext
6730
6731   # OK, works on sane cases.  Now check whether non-existent headers
6732   # can be detected and how.
6733   cat >conftest.$ac_ext <<_ACEOF
6734 /* confdefs.h.  */
6735 _ACEOF
6736 cat confdefs.h >>conftest.$ac_ext
6737 cat >>conftest.$ac_ext <<_ACEOF
6738 /* end confdefs.h.  */
6739 #include <ac_nonexistent.h>
6740 _ACEOF
6741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6742   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6743   ac_status=$?
6744   grep -v '^ *+' conftest.er1 >conftest.err
6745   rm -f conftest.er1
6746   cat conftest.err >&5
6747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748   (exit $ac_status); } >/dev/null; then
6749   if test -s conftest.err; then
6750     ac_cpp_err=$ac_cxx_preproc_warn_flag
6751     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6752   else
6753     ac_cpp_err=
6754   fi
6755 else
6756   ac_cpp_err=yes
6757 fi
6758 if test -z "$ac_cpp_err"; then
6759   # Broken: success on invalid input.
6760 continue
6761 else
6762   echo "$as_me: failed program was:" >&5
6763 sed 's/^/| /' conftest.$ac_ext >&5
6764
6765   # Passes both tests.
6766 ac_preproc_ok=:
6767 break
6768 fi
6769 rm -f conftest.err conftest.$ac_ext
6770
6771 done
6772 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6773 rm -f conftest.err conftest.$ac_ext
6774 if $ac_preproc_ok; then
6775   :
6776 else
6777   _lt_caught_CXX_error=yes
6778 fi
6779
6780 ac_ext=c
6781 ac_cpp='$CPP $CPPFLAGS'
6782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6785
6786 else
6787   _lt_caught_CXX_error=yes
6788 fi
6789
6790
6791
6792
6793
6794 # This can be used to rebuild libtool when needed
6795 LIBTOOL_DEPS="$ltmain"
6796
6797 # Always use our own libtool.
6798 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824 test -z "$LN_S" && LN_S="ln -s"
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839 if test -n "${ZSH_VERSION+set}" ; then
6840    setopt NO_GLOB_SUBST
6841 fi
6842
6843 echo "$as_me:$LINENO: checking for objdir" >&5
6844 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6845 if test "${lt_cv_objdir+set}" = set; then
6846   echo $ECHO_N "(cached) $ECHO_C" >&6
6847 else
6848   rm -f .libs 2>/dev/null
6849 mkdir .libs 2>/dev/null
6850 if test -d .libs; then
6851   lt_cv_objdir=.libs
6852 else
6853   # MS-DOS does not allow filenames that begin with a dot.
6854   lt_cv_objdir=_libs
6855 fi
6856 rmdir .libs 2>/dev/null
6857 fi
6858 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6859 echo "${ECHO_T}$lt_cv_objdir" >&6
6860 objdir=$lt_cv_objdir
6861
6862
6863
6864
6865
6866 cat >>confdefs.h <<_ACEOF
6867 #define LT_OBJDIR "$lt_cv_objdir/"
6868 _ACEOF
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886 case $host_os in
6887 aix3*)
6888   # AIX sometimes has problems with the GCC collect2 program.  For some
6889   # reason, if we set the COLLECT_NAMES environment variable, the problems
6890   # vanish in a puff of smoke.
6891   if test "X${COLLECT_NAMES+set}" != Xset; then
6892     COLLECT_NAMES=
6893     export COLLECT_NAMES
6894   fi
6895   ;;
6896 esac
6897
6898 # Sed substitution that helps us do robust quoting.  It backslashifies
6899 # metacharacters that are still active within double-quoted strings.
6900 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6901
6902 # Same as above, but do not quote variable references.
6903 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6904
6905 # Sed substitution to delay expansion of an escaped shell variable in a
6906 # double_quote_subst'ed string.
6907 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6908
6909 # Sed substitution to delay expansion of an escaped single quote.
6910 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6911
6912 # Sed substitution to avoid accidental globbing in evaled expressions
6913 no_glob_subst='s/\*/\\\*/g'
6914
6915 # Global variables:
6916 ofile=libtool
6917 can_build_shared=yes
6918
6919 # All known linkers require a `.a' archive for static linking (except MSVC,
6920 # which needs '.lib').
6921 libext=a
6922
6923 with_gnu_ld="$lt_cv_prog_gnu_ld"
6924
6925 old_CC="$CC"
6926 old_CFLAGS="$CFLAGS"
6927
6928 # Set sane defaults for various variables
6929 test -z "$CC" && CC=cc
6930 test -z "$LTCC" && LTCC=$CC
6931 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6932 test -z "$LD" && LD=ld
6933 test -z "$ac_objext" && ac_objext=o
6934
6935 for cc_temp in $compiler""; do
6936   case $cc_temp in
6937     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6938     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6939     \-*) ;;
6940     *) break;;
6941   esac
6942 done
6943 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6944
6945
6946 # Only perform the check for file, if the check method requires it
6947 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6948 case $deplibs_check_method in
6949 file_magic*)
6950   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6951     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6952 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6953 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6954   echo $ECHO_N "(cached) $ECHO_C" >&6
6955 else
6956   case $MAGIC_CMD in
6957 [\\/*] |  ?:[\\/]*)
6958   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6959   ;;
6960 *)
6961   lt_save_MAGIC_CMD="$MAGIC_CMD"
6962   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6963   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6964   for ac_dir in $ac_dummy; do
6965     IFS="$lt_save_ifs"
6966     test -z "$ac_dir" && ac_dir=.
6967     if test -f $ac_dir/${ac_tool_prefix}file; then
6968       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6969       if test -n "$file_magic_test_file"; then
6970         case $deplibs_check_method in
6971         "file_magic "*)
6972           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6973           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6974           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6975             $EGREP "$file_magic_regex" > /dev/null; then
6976             :
6977           else
6978             cat <<_LT_EOF 1>&2
6979
6980 *** Warning: the command libtool uses to detect shared libraries,
6981 *** $file_magic_cmd, produces output that libtool cannot recognize.
6982 *** The result is that libtool may fail to recognize shared libraries
6983 *** as such.  This will affect the creation of libtool libraries that
6984 *** depend on shared libraries, but programs linked with such libtool
6985 *** libraries will work regardless of this problem.  Nevertheless, you
6986 *** may want to report the problem to your system manager and/or to
6987 *** bug-libtool@gnu.org
6988
6989 _LT_EOF
6990           fi ;;
6991         esac
6992       fi
6993       break
6994     fi
6995   done
6996   IFS="$lt_save_ifs"
6997   MAGIC_CMD="$lt_save_MAGIC_CMD"
6998   ;;
6999 esac
7000 fi
7001
7002 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7003 if test -n "$MAGIC_CMD"; then
7004   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7005 echo "${ECHO_T}$MAGIC_CMD" >&6
7006 else
7007   echo "$as_me:$LINENO: result: no" >&5
7008 echo "${ECHO_T}no" >&6
7009 fi
7010
7011
7012
7013
7014
7015 if test -z "$lt_cv_path_MAGIC_CMD"; then
7016   if test -n "$ac_tool_prefix"; then
7017     echo "$as_me:$LINENO: checking for file" >&5
7018 echo $ECHO_N "checking for file... $ECHO_C" >&6
7019 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7020   echo $ECHO_N "(cached) $ECHO_C" >&6
7021 else
7022   case $MAGIC_CMD in
7023 [\\/*] |  ?:[\\/]*)
7024   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7025   ;;
7026 *)
7027   lt_save_MAGIC_CMD="$MAGIC_CMD"
7028   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7029   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7030   for ac_dir in $ac_dummy; do
7031     IFS="$lt_save_ifs"
7032     test -z "$ac_dir" && ac_dir=.
7033     if test -f $ac_dir/file; then
7034       lt_cv_path_MAGIC_CMD="$ac_dir/file"
7035       if test -n "$file_magic_test_file"; then
7036         case $deplibs_check_method in
7037         "file_magic "*)
7038           file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7039           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7040           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7041             $EGREP "$file_magic_regex" > /dev/null; then
7042             :
7043           else
7044             cat <<_LT_EOF 1>&2
7045
7046 *** Warning: the command libtool uses to detect shared libraries,
7047 *** $file_magic_cmd, produces output that libtool cannot recognize.
7048 *** The result is that libtool may fail to recognize shared libraries
7049 *** as such.  This will affect the creation of libtool libraries that
7050 *** depend on shared libraries, but programs linked with such libtool
7051 *** libraries will work regardless of this problem.  Nevertheless, you
7052 *** may want to report the problem to your system manager and/or to
7053 *** bug-libtool@gnu.org
7054
7055 _LT_EOF
7056           fi ;;
7057         esac
7058       fi
7059       break
7060     fi
7061   done
7062   IFS="$lt_save_ifs"
7063   MAGIC_CMD="$lt_save_MAGIC_CMD"
7064   ;;
7065 esac
7066 fi
7067
7068 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7069 if test -n "$MAGIC_CMD"; then
7070   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7071 echo "${ECHO_T}$MAGIC_CMD" >&6
7072 else
7073   echo "$as_me:$LINENO: result: no" >&5
7074 echo "${ECHO_T}no" >&6
7075 fi
7076
7077
7078   else
7079     MAGIC_CMD=:
7080   fi
7081 fi
7082
7083   fi
7084   ;;
7085 esac
7086
7087 # Use C for the default configuration in the libtool script
7088
7089 lt_save_CC="$CC"
7090 ac_ext=c
7091 ac_cpp='$CPP $CPPFLAGS'
7092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7095
7096
7097 # Source file extension for C test sources.
7098 ac_ext=c
7099
7100 # Object file extension for compiled C test sources.
7101 objext=o
7102 objext=$objext
7103
7104 # Code to be used in simple compile tests
7105 lt_simple_compile_test_code="int some_variable = 0;"
7106
7107 # Code to be used in simple link tests
7108 lt_simple_link_test_code='int main(){return(0);}'
7109
7110
7111
7112
7113
7114
7115
7116 # If no C compiler was specified, use CC.
7117 LTCC=${LTCC-"$CC"}
7118
7119 # If no C compiler flags were specified, use CFLAGS.
7120 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7121
7122 # Allow CC to be a program name with arguments.
7123 compiler=$CC
7124
7125 # Save the default compiler, since it gets overwritten when the other
7126 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7127 compiler_DEFAULT=$CC
7128
7129 # save warnings/boilerplate of simple test code
7130 ac_outfile=conftest.$ac_objext
7131 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7132 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7133 _lt_compiler_boilerplate=`cat conftest.err`
7134 $RM conftest*
7135
7136 ac_outfile=conftest.$ac_objext
7137 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7138 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7139 _lt_linker_boilerplate=`cat conftest.err`
7140 $RM conftest*
7141
7142
7143 ## CAVEAT EMPTOR:
7144 ## There is no encapsulation within the following macros, do not change
7145 ## the running order or otherwise move them around unless you know exactly
7146 ## what you are doing...
7147 if test -n "$compiler"; then
7148
7149 lt_prog_compiler_no_builtin_flag=
7150
7151 if test "$GCC" = yes; then
7152   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7153
7154   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7155 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7156 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7157   echo $ECHO_N "(cached) $ECHO_C" >&6
7158 else
7159   lt_cv_prog_compiler_rtti_exceptions=no
7160    ac_outfile=conftest.$ac_objext
7161    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7162    lt_compiler_flag="-fno-rtti -fno-exceptions"
7163    # Insert the option either (1) after the last *FLAGS variable, or
7164    # (2) before a word containing "conftest.", or (3) at the end.
7165    # Note that $ac_compile itself does not contain backslashes and begins
7166    # with a dollar sign (not a hyphen), so the echo should work correctly.
7167    # The option is referenced via a variable to avoid confusing sed.
7168    lt_compile=`echo "$ac_compile" | $SED \
7169    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7170    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7171    -e 's:$: $lt_compiler_flag:'`
7172    (eval echo "\"\$as_me:7172: $lt_compile\"" >&5)
7173    (eval "$lt_compile" 2>conftest.err)
7174    ac_status=$?
7175    cat conftest.err >&5
7176    echo "$as_me:7176: \$? = $ac_status" >&5
7177    if (exit $ac_status) && test -s "$ac_outfile"; then
7178      # The compiler can only warn and ignore the option if not recognized
7179      # So say no if there are warnings other than the usual output.
7180      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7181      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7182      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7183        lt_cv_prog_compiler_rtti_exceptions=yes
7184      fi
7185    fi
7186    $RM conftest*
7187
7188 fi
7189 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7190 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7191
7192 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7193     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7194 else
7195     :
7196 fi
7197
7198 fi
7199
7200
7201
7202
7203
7204
7205   lt_prog_compiler_wl=
7206 lt_prog_compiler_pic=
7207 lt_prog_compiler_static=
7208
7209 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7210 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7211
7212   if test "$GCC" = yes; then
7213     lt_prog_compiler_wl='-Wl,'
7214     lt_prog_compiler_static='-static'
7215
7216     case $host_os in
7217       aix*)
7218       # All AIX code is PIC.
7219       if test "$host_cpu" = ia64; then
7220         # AIX 5 now supports IA64 processor
7221         lt_prog_compiler_static='-Bstatic'
7222       fi
7223       ;;
7224
7225     amigaos*)
7226       if test "$host_cpu" = m68k; then
7227         # FIXME: we need at least 68020 code to build shared libraries, but
7228         # adding the `-m68020' flag to GCC prevents building anything better,
7229         # like `-m68040'.
7230         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7231       fi
7232       ;;
7233
7234     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7235       # PIC is the default for these OSes.
7236       ;;
7237
7238     mingw* | cygwin* | pw32* | os2*)
7239       # This hack is so that the source file can tell whether it is being
7240       # built for inclusion in a dll (and should export symbols for example).
7241       # Although the cygwin gcc ignores -fPIC, still need this for old-style
7242       # (--disable-auto-import) libraries
7243       lt_prog_compiler_pic='-DDLL_EXPORT'
7244       ;;
7245
7246     darwin* | rhapsody*)
7247       # PIC is the default on this platform
7248       # Common symbols not allowed in MH_DYLIB files
7249       lt_prog_compiler_pic='-fno-common'
7250       ;;
7251
7252     hpux*)
7253       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7254       # not for PA HP-UX.
7255       case $host_cpu in
7256       hppa*64*|ia64*)
7257         # +Z the default
7258         ;;
7259       *)
7260         lt_prog_compiler_pic='-fPIC'
7261         ;;
7262       esac
7263       ;;
7264
7265     interix[3-9]*)
7266       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7267       # Instead, we relocate shared libraries at runtime.
7268       ;;
7269
7270     msdosdjgpp*)
7271       # Just because we use GCC doesn't mean we suddenly get shared libraries
7272       # on systems that don't support them.
7273       lt_prog_compiler_can_build_shared=no
7274       enable_shared=no
7275       ;;
7276
7277     *nto* | *qnx*)
7278       # QNX uses GNU C++, but need to define -shared option too, otherwise
7279       # it will coredump.
7280       lt_prog_compiler_pic='-fPIC -shared'
7281       ;;
7282
7283     sysv4*MP*)
7284       if test -d /usr/nec; then
7285         lt_prog_compiler_pic=-Kconform_pic
7286       fi
7287       ;;
7288
7289     *)
7290       lt_prog_compiler_pic='-fPIC'
7291       ;;
7292     esac
7293   else
7294     # PORTME Check for flag to pass linker flags through the system compiler.
7295     case $host_os in
7296     aix*)
7297       lt_prog_compiler_wl='-Wl,'
7298       if test "$host_cpu" = ia64; then
7299         # AIX 5 now supports IA64 processor
7300         lt_prog_compiler_static='-Bstatic'
7301       else
7302         lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7303       fi
7304       ;;
7305     darwin*)
7306       # PIC is the default on this platform
7307       # Common symbols not allowed in MH_DYLIB files
7308       case $cc_basename in
7309       xlc*)
7310         lt_prog_compiler_pic='-qnocommon'
7311         lt_prog_compiler_wl='-Wl,'
7312         ;;
7313       esac
7314       ;;
7315
7316     mingw* | cygwin* | pw32* | os2*)
7317       # This hack is so that the source file can tell whether it is being
7318       # built for inclusion in a dll (and should export symbols for example).
7319       lt_prog_compiler_pic='-DDLL_EXPORT'
7320       ;;
7321
7322     hpux9* | hpux10* | hpux11*)
7323       lt_prog_compiler_wl='-Wl,'
7324       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7325       # not for PA HP-UX.
7326       case $host_cpu in
7327       hppa*64*|ia64*)
7328         # +Z the default
7329         ;;
7330       *)
7331         lt_prog_compiler_pic='+Z'
7332         ;;
7333       esac
7334       # Is there a better lt_prog_compiler_static that works with the bundled CC?
7335       lt_prog_compiler_static='${wl}-a ${wl}archive'
7336       ;;
7337
7338     irix5* | irix6* | nonstopux*)
7339       lt_prog_compiler_wl='-Wl,'
7340       # PIC (with -KPIC) is the default.
7341       lt_prog_compiler_static='-non_shared'
7342       ;;
7343
7344     linux* | k*bsd*-gnu)
7345       case $cc_basename in
7346       icc* | ecc*)
7347         lt_prog_compiler_wl='-Wl,'
7348         lt_prog_compiler_pic='-KPIC'
7349         lt_prog_compiler_static='-static'
7350         ;;
7351       pgcc* | pgf77* | pgf90* | pgf95*)
7352         # Portland Group compilers (*not* the Pentium gcc compiler,
7353         # which looks to be a dead project)
7354         lt_prog_compiler_wl='-Wl,'
7355         lt_prog_compiler_pic='-fpic'
7356         lt_prog_compiler_static='-Bstatic'
7357         ;;
7358       ccc*)
7359         lt_prog_compiler_wl='-Wl,'
7360         # All Alpha code is PIC.
7361         lt_prog_compiler_static='-non_shared'
7362         ;;
7363       *)
7364         case `$CC -V 2>&1 | sed 5q` in
7365         *Sun\ C*)
7366           # Sun C 5.9
7367           lt_prog_compiler_pic='-KPIC'
7368           lt_prog_compiler_static='-Bstatic'
7369           lt_prog_compiler_wl='-Wl,'
7370           ;;
7371         *Sun\ F*)
7372           # Sun Fortran 8.3 passes all unrecognized flags to the linker
7373           lt_prog_compiler_pic='-KPIC'
7374           lt_prog_compiler_static='-Bstatic'
7375           lt_prog_compiler_wl=''
7376           ;;
7377         esac
7378         ;;
7379       esac
7380       ;;
7381
7382     newsos6)
7383       lt_prog_compiler_pic='-KPIC'
7384       lt_prog_compiler_static='-Bstatic'
7385       ;;
7386
7387     *nto* | *qnx*)
7388       # QNX uses GNU C++, but need to define -shared option too, otherwise
7389       # it will coredump.
7390       lt_prog_compiler_pic='-fPIC -shared'
7391       ;;
7392
7393     osf3* | osf4* | osf5*)
7394       lt_prog_compiler_wl='-Wl,'
7395       # All OSF/1 code is PIC.
7396       lt_prog_compiler_static='-non_shared'
7397       ;;
7398
7399     rdos*)
7400       lt_prog_compiler_static='-non_shared'
7401       ;;
7402
7403     solaris*)
7404       lt_prog_compiler_pic='-KPIC'
7405       lt_prog_compiler_static='-Bstatic'
7406       case $cc_basename in
7407       f77* | f90* | f95*)
7408         lt_prog_compiler_wl='-Qoption ld ';;
7409       *)
7410         lt_prog_compiler_wl='-Wl,';;
7411       esac
7412       ;;
7413
7414     sunos4*)
7415       lt_prog_compiler_wl='-Qoption ld '
7416       lt_prog_compiler_pic='-PIC'
7417       lt_prog_compiler_static='-Bstatic'
7418       ;;
7419
7420     sysv4 | sysv4.2uw2* | sysv4.3*)
7421       lt_prog_compiler_wl='-Wl,'
7422       lt_prog_compiler_pic='-KPIC'
7423       lt_prog_compiler_static='-Bstatic'
7424       ;;
7425
7426     sysv4*MP*)
7427       if test -d /usr/nec ;then
7428         lt_prog_compiler_pic='-Kconform_pic'
7429         lt_prog_compiler_static='-Bstatic'
7430       fi
7431       ;;
7432
7433     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7434       lt_prog_compiler_wl='-Wl,'
7435       lt_prog_compiler_pic='-KPIC'
7436       lt_prog_compiler_static='-Bstatic'
7437       ;;
7438
7439     unicos*)
7440       lt_prog_compiler_wl='-Wl,'
7441       lt_prog_compiler_can_build_shared=no
7442       ;;
7443
7444     uts4*)
7445       lt_prog_compiler_pic='-pic'
7446       lt_prog_compiler_static='-Bstatic'
7447       ;;
7448
7449     *)
7450       lt_prog_compiler_can_build_shared=no
7451       ;;
7452     esac
7453   fi
7454
7455 case $host_os in
7456   # For platforms which do not support PIC, -DPIC is meaningless:
7457   *djgpp*)
7458     lt_prog_compiler_pic=
7459     ;;
7460   *)
7461     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7462     ;;
7463 esac
7464 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7465 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7466
7467
7468
7469
7470
7471
7472 #
7473 # Check to make sure the PIC flag actually works.
7474 #
7475 if test -n "$lt_prog_compiler_pic"; then
7476   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7477 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7478 if test "${lt_prog_compiler_pic_works+set}" = set; then
7479   echo $ECHO_N "(cached) $ECHO_C" >&6
7480 else
7481   lt_prog_compiler_pic_works=no
7482    ac_outfile=conftest.$ac_objext
7483    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7484    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7485    # Insert the option either (1) after the last *FLAGS variable, or
7486    # (2) before a word containing "conftest.", or (3) at the end.
7487    # Note that $ac_compile itself does not contain backslashes and begins
7488    # with a dollar sign (not a hyphen), so the echo should work correctly.
7489    # The option is referenced via a variable to avoid confusing sed.
7490    lt_compile=`echo "$ac_compile" | $SED \
7491    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7492    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7493    -e 's:$: $lt_compiler_flag:'`
7494    (eval echo "\"\$as_me:7494: $lt_compile\"" >&5)
7495    (eval "$lt_compile" 2>conftest.err)
7496    ac_status=$?
7497    cat conftest.err >&5
7498    echo "$as_me:7498: \$? = $ac_status" >&5
7499    if (exit $ac_status) && test -s "$ac_outfile"; then
7500      # The compiler can only warn and ignore the option if not recognized
7501      # So say no if there are warnings other than the usual output.
7502      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7503      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7504      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7505        lt_prog_compiler_pic_works=yes
7506      fi
7507    fi
7508    $RM conftest*
7509
7510 fi
7511 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7512 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7513
7514 if test x"$lt_prog_compiler_pic_works" = xyes; then
7515     case $lt_prog_compiler_pic in
7516      "" | " "*) ;;
7517      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7518      esac
7519 else
7520     lt_prog_compiler_pic=
7521      lt_prog_compiler_can_build_shared=no
7522 fi
7523
7524 fi
7525
7526
7527
7528
7529
7530
7531 #
7532 # Check to make sure the static flag actually works.
7533 #
7534 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7535 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7536 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7537 if test "${lt_prog_compiler_static_works+set}" = set; then
7538   echo $ECHO_N "(cached) $ECHO_C" >&6
7539 else
7540   lt_prog_compiler_static_works=no
7541    save_LDFLAGS="$LDFLAGS"
7542    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7543    echo "$lt_simple_link_test_code" > conftest.$ac_ext
7544    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7545      # The linker can only warn and ignore the option if not recognized
7546      # So say no if there are warnings
7547      if test -s conftest.err; then
7548        # Append any errors to the config.log.
7549        cat conftest.err 1>&5
7550        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7551        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7552        if diff conftest.exp conftest.er2 >/dev/null; then
7553          lt_prog_compiler_static_works=yes
7554        fi
7555      else
7556        lt_prog_compiler_static_works=yes
7557      fi
7558    fi
7559    $RM conftest*
7560    LDFLAGS="$save_LDFLAGS"
7561
7562 fi
7563 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7564 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7565
7566 if test x"$lt_prog_compiler_static_works" = xyes; then
7567     :
7568 else
7569     lt_prog_compiler_static=
7570 fi
7571
7572
7573
7574
7575
7576
7577
7578   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7579 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7580 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7581   echo $ECHO_N "(cached) $ECHO_C" >&6
7582 else
7583   lt_cv_prog_compiler_c_o=no
7584    $RM -r conftest 2>/dev/null
7585    mkdir conftest
7586    cd conftest
7587    mkdir out
7588    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7589
7590    lt_compiler_flag="-o out/conftest2.$ac_objext"
7591    # Insert the option either (1) after the last *FLAGS variable, or
7592    # (2) before a word containing "conftest.", or (3) at the end.
7593    # Note that $ac_compile itself does not contain backslashes and begins
7594    # with a dollar sign (not a hyphen), so the echo should work correctly.
7595    lt_compile=`echo "$ac_compile" | $SED \
7596    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7597    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7598    -e 's:$: $lt_compiler_flag:'`
7599    (eval echo "\"\$as_me:7599: $lt_compile\"" >&5)
7600    (eval "$lt_compile" 2>out/conftest.err)
7601    ac_status=$?
7602    cat out/conftest.err >&5
7603    echo "$as_me:7603: \$? = $ac_status" >&5
7604    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7605    then
7606      # The compiler can only warn and ignore the option if not recognized
7607      # So say no if there are warnings
7608      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7609      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7610      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7611        lt_cv_prog_compiler_c_o=yes
7612      fi
7613    fi
7614    chmod u+w . 2>&5
7615    $RM conftest*
7616    # SGI C++ compiler will create directory out/ii_files/ for
7617    # template instantiation
7618    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7619    $RM out/* && rmdir out
7620    cd ..
7621    $RM -r conftest
7622    $RM conftest*
7623
7624 fi
7625 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7626 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7627
7628
7629
7630
7631
7632
7633   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7634 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7635 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7636   echo $ECHO_N "(cached) $ECHO_C" >&6
7637 else
7638   lt_cv_prog_compiler_c_o=no
7639    $RM -r conftest 2>/dev/null
7640    mkdir conftest
7641    cd conftest
7642    mkdir out
7643    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7644
7645    lt_compiler_flag="-o out/conftest2.$ac_objext"
7646    # Insert the option either (1) after the last *FLAGS variable, or
7647    # (2) before a word containing "conftest.", or (3) at the end.
7648    # Note that $ac_compile itself does not contain backslashes and begins
7649    # with a dollar sign (not a hyphen), so the echo should work correctly.
7650    lt_compile=`echo "$ac_compile" | $SED \
7651    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7652    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7653    -e 's:$: $lt_compiler_flag:'`
7654    (eval echo "\"\$as_me:7654: $lt_compile\"" >&5)
7655    (eval "$lt_compile" 2>out/conftest.err)
7656    ac_status=$?
7657    cat out/conftest.err >&5
7658    echo "$as_me:7658: \$? = $ac_status" >&5
7659    if (exit $ac_status) && test -s out/conftest2.$ac_objext
7660    then
7661      # The compiler can only warn and ignore the option if not recognized
7662      # So say no if there are warnings
7663      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7664      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7665      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7666        lt_cv_prog_compiler_c_o=yes
7667      fi
7668    fi
7669    chmod u+w . 2>&5
7670    $RM conftest*
7671    # SGI C++ compiler will create directory out/ii_files/ for
7672    # template instantiation
7673    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7674    $RM out/* && rmdir out
7675    cd ..
7676    $RM -r conftest
7677    $RM conftest*
7678
7679 fi
7680 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7681 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7682
7683
7684
7685
7686 hard_links="nottested"
7687 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7688   # do not overwrite the value of need_locks provided by the user
7689   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7690 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7691   hard_links=yes
7692   $RM conftest*
7693   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7694   touch conftest.a
7695   ln conftest.a conftest.b 2>&5 || hard_links=no
7696   ln conftest.a conftest.b 2>/dev/null && hard_links=no
7697   echo "$as_me:$LINENO: result: $hard_links" >&5
7698 echo "${ECHO_T}$hard_links" >&6
7699   if test "$hard_links" = no; then
7700     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7701 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7702     need_locks=warn
7703   fi
7704 else
7705   need_locks=no
7706 fi
7707
7708
7709
7710
7711
7712
7713   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7714 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7715
7716   runpath_var=
7717   allow_undefined_flag=
7718   always_export_symbols=no
7719   archive_cmds=
7720   archive_expsym_cmds=
7721   compiler_needs_object=no
7722   enable_shared_with_static_runtimes=no
7723   export_dynamic_flag_spec=
7724   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7725   hardcode_automatic=no
7726   hardcode_direct=no
7727   hardcode_direct_absolute=no
7728   hardcode_libdir_flag_spec=
7729   hardcode_libdir_flag_spec_ld=
7730   hardcode_libdir_separator=
7731   hardcode_minus_L=no
7732   hardcode_shlibpath_var=unsupported
7733   inherit_rpath=no
7734   link_all_deplibs=unknown
7735   module_cmds=
7736   module_expsym_cmds=
7737   old_archive_from_new_cmds=
7738   old_archive_from_expsyms_cmds=
7739   thread_safe_flag_spec=
7740   whole_archive_flag_spec=
7741   # include_expsyms should be a list of space-separated symbols to be *always*
7742   # included in the symbol list
7743   include_expsyms=
7744   # exclude_expsyms can be an extended regexp of symbols to exclude
7745   # it will be wrapped by ` (' and `)$', so one must not match beginning or
7746   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7747   # as well as any symbol that contains `d'.
7748   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7749   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7750   # platforms (ab)use it in PIC code, but their linkers get confused if
7751   # the symbol is explicitly referenced.  Since portable code cannot
7752   # rely on this symbol name, it's probably fine to never include it in
7753   # preloaded symbol tables.
7754   extract_expsyms_cmds=
7755
7756   case $host_os in
7757   cygwin* | mingw* | pw32*)
7758     # FIXME: the MSVC++ port hasn't been tested in a loooong time
7759     # When not using gcc, we currently assume that we are using
7760     # Microsoft Visual C++.
7761     if test "$GCC" != yes; then
7762       with_gnu_ld=no
7763     fi
7764     ;;
7765   interix*)
7766     # we just hope/assume this is gcc and not c89 (= MSVC++)
7767     with_gnu_ld=yes
7768     ;;
7769   openbsd*)
7770     with_gnu_ld=no
7771     ;;
7772   esac
7773
7774   ld_shlibs=yes
7775   if test "$with_gnu_ld" = yes; then
7776     # If archive_cmds runs LD, not CC, wlarc should be empty
7777     wlarc='${wl}'
7778
7779     # Set some defaults for GNU ld with shared library support. These
7780     # are reset later if shared libraries are not supported. Putting them
7781     # here allows them to be overridden if necessary.
7782     runpath_var=LD_RUN_PATH
7783     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7784     export_dynamic_flag_spec='${wl}--export-dynamic'
7785     # ancient GNU ld didn't support --whole-archive et. al.
7786     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7787       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7788     else
7789       whole_archive_flag_spec=
7790     fi
7791     supports_anon_versioning=no
7792     case `$LD -v 2>&1` in
7793       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7794       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7795       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7796       *\ 2.11.*) ;; # other 2.11 versions
7797       *) supports_anon_versioning=yes ;;
7798     esac
7799
7800     # See if GNU ld supports shared libraries.
7801     case $host_os in
7802     aix[3-9]*)
7803       # On AIX/PPC, the GNU linker is very broken
7804       if test "$host_cpu" != ia64; then
7805         ld_shlibs=no
7806         cat <<_LT_EOF 1>&2
7807
7808 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7809 *** to be unable to reliably create shared libraries on AIX.
7810 *** Therefore, libtool is disabling shared libraries support.  If you
7811 *** really care for shared libraries, you may want to modify your PATH
7812 *** so that a non-GNU linker is found, and then restart.
7813
7814 _LT_EOF
7815       fi
7816       ;;
7817
7818     amigaos*)
7819       if test "$host_cpu" = m68k; then
7820         archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7821         hardcode_libdir_flag_spec='-L$libdir'
7822         hardcode_minus_L=yes
7823       fi
7824
7825       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7826       # that the semantics of dynamic libraries on AmigaOS, at least up
7827       # to version 4, is to share data among multiple programs linked
7828       # with the same dynamic library.  Since this doesn't match the
7829       # behavior of shared libraries on other platforms, we can't use
7830       # them.
7831       ld_shlibs=no
7832       ;;
7833
7834     beos*)
7835       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7836         allow_undefined_flag=unsupported
7837         # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7838         # support --undefined.  This deserves some investigation.  FIXME
7839         archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7840       else
7841         ld_shlibs=no
7842       fi
7843       ;;
7844
7845     cygwin* | mingw* | pw32*)
7846       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7847       # as there is no search path for DLLs.
7848       hardcode_libdir_flag_spec='-L$libdir'
7849       allow_undefined_flag=unsupported
7850       always_export_symbols=no
7851       enable_shared_with_static_runtimes=yes
7852       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7853
7854       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7855         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7856         # If the export-symbols file already is a .def file (1st line
7857         # is EXPORTS), use it as is; otherwise, prepend...
7858         archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7859           cp $export_symbols $output_objdir/$soname.def;
7860         else
7861           echo EXPORTS > $output_objdir/$soname.def;
7862           cat $export_symbols >> $output_objdir/$soname.def;
7863         fi~
7864         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7865       else
7866         ld_shlibs=no
7867       fi
7868       ;;
7869
7870     interix[3-9]*)
7871       hardcode_direct=no
7872       hardcode_shlibpath_var=no
7873       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7874       export_dynamic_flag_spec='${wl}-E'
7875       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7876       # Instead, shared libraries are loaded at an image base (0x10000000 by
7877       # default) and relocated if they conflict, which is a slow very memory
7878       # consuming and fragmenting process.  To avoid this, we pick a random,
7879       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7880       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
7881       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7882       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7883       ;;
7884
7885     gnu* | linux* | tpf* | k*bsd*-gnu)
7886       tmp_diet=no
7887       if test "$host_os" = linux-dietlibc; then
7888         case $cc_basename in
7889           diet\ *) tmp_diet=yes;;       # linux-dietlibc with static linking (!diet-dyn)
7890         esac
7891       fi
7892       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7893          && test "$tmp_diet" = no
7894       then
7895         tmp_addflag=
7896         case $cc_basename,$host_cpu in
7897         pgcc*)                          # Portland Group C compiler
7898           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7899           tmp_addflag=' $pic_flag'
7900           ;;
7901         pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
7902           whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7903           tmp_addflag=' $pic_flag -Mnomain' ;;
7904         ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
7905           tmp_addflag=' -i_dynamic' ;;
7906         efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
7907           tmp_addflag=' -i_dynamic -nofor_main' ;;
7908         ifc* | ifort*)                  # Intel Fortran compiler
7909           tmp_addflag=' -nofor_main' ;;
7910         esac
7911         case `$CC -V 2>&1 | sed 5q` in
7912         *Sun\ C*)                       # Sun C 5.9
7913           whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7914           compiler_needs_object=yes
7915           tmp_sharedflag='-G' ;;
7916         *Sun\ F*)                       # Sun Fortran 8.3
7917           tmp_sharedflag='-G' ;;
7918         *)
7919           tmp_sharedflag='-shared' ;;
7920         esac
7921         archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7922
7923         if test "x$supports_anon_versioning" = xyes; then
7924           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7925             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7926             echo "local: *; };" >> $output_objdir/$libname.ver~
7927             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7928         fi
7929       else
7930         ld_shlibs=no
7931       fi
7932       ;;
7933
7934     netbsd*)
7935       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7936         archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7937         wlarc=
7938       else
7939         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7940         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7941       fi
7942       ;;
7943
7944     solaris*)
7945       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7946         ld_shlibs=no
7947         cat <<_LT_EOF 1>&2
7948
7949 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7950 *** create shared libraries on Solaris systems.  Therefore, libtool
7951 *** is disabling shared libraries support.  We urge you to upgrade GNU
7952 *** binutils to release 2.9.1 or newer.  Another option is to modify
7953 *** your PATH or compiler configuration so that the native linker is
7954 *** used, and then restart.
7955
7956 _LT_EOF
7957       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7958         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7959         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7960       else
7961         ld_shlibs=no
7962       fi
7963       ;;
7964
7965     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7966       case `$LD -v 2>&1` in
7967         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7968         ld_shlibs=no
7969         cat <<_LT_EOF 1>&2
7970
7971 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7972 *** reliably create shared libraries on SCO systems.  Therefore, libtool
7973 *** is disabling shared libraries support.  We urge you to upgrade GNU
7974 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
7975 *** your PATH or compiler configuration so that the native linker is
7976 *** used, and then restart.
7977
7978 _LT_EOF
7979         ;;
7980         *)
7981           # For security reasons, it is highly recommended that you always
7982           # use absolute paths for naming shared libraries, and exclude the
7983           # DT_RUNPATH tag from executables and libraries.  But doing so
7984           # requires that you compile everything twice, which is a pain.
7985           if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7986             hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7987             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7988             archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7989           else
7990             ld_shlibs=no
7991           fi
7992         ;;
7993       esac
7994       ;;
7995
7996     sunos4*)
7997       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7998       wlarc=
7999       hardcode_direct=yes
8000       hardcode_shlibpath_var=no
8001       ;;
8002
8003     *)
8004       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8005         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8006         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8007       else
8008         ld_shlibs=no
8009       fi
8010       ;;
8011     esac
8012
8013     if test "$ld_shlibs" = no; then
8014       runpath_var=
8015       hardcode_libdir_flag_spec=
8016       export_dynamic_flag_spec=
8017       whole_archive_flag_spec=
8018     fi
8019   else
8020     # PORTME fill in a description of your system's linker (not GNU ld)
8021     case $host_os in
8022     aix3*)
8023       allow_undefined_flag=unsupported
8024       always_export_symbols=yes
8025       archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8026       # Note: this linker hardcodes the directories in LIBPATH if there
8027       # are no directories specified by -L.
8028       hardcode_minus_L=yes
8029       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8030         # Neither direct hardcoding nor static linking is supported with a
8031         # broken collect2.
8032         hardcode_direct=unsupported
8033       fi
8034       ;;
8035
8036     aix[4-9]*)
8037       if test "$host_cpu" = ia64; then
8038         # On IA64, the linker does run time linking by default, so we don't
8039         # have to do anything special.
8040         aix_use_runtimelinking=no
8041         exp_sym_flag='-Bexport'
8042         no_entry_flag=""
8043       else
8044         # If we're using GNU nm, then we don't want the "-C" option.
8045         # -C means demangle to AIX nm, but means don't demangle with GNU nm
8046         if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8047           export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8048         else
8049           export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8050         fi
8051         aix_use_runtimelinking=no
8052
8053         # Test if we are trying to use run time linking or normal
8054         # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8055         # need to do runtime linking.
8056         case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8057           for ld_flag in $LDFLAGS; do
8058           if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8059             aix_use_runtimelinking=yes
8060             break
8061           fi
8062           done
8063           ;;
8064         esac
8065
8066         exp_sym_flag='-bexport'
8067         no_entry_flag='-bnoentry'
8068       fi
8069
8070       # When large executables or shared objects are built, AIX ld can
8071       # have problems creating the table of contents.  If linking a library
8072       # or program results in "error TOC overflow" add -mminimal-toc to
8073       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
8074       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8075
8076       archive_cmds=''
8077       hardcode_direct=yes
8078       hardcode_direct_absolute=yes
8079       hardcode_libdir_separator=':'
8080       link_all_deplibs=yes
8081       file_list_spec='${wl}-f,'
8082
8083       if test "$GCC" = yes; then
8084         case $host_os in aix4.[012]|aix4.[012].*)
8085         # We only want to do this on AIX 4.2 and lower, the check
8086         # below for broken collect2 doesn't work under 4.3+
8087           collect2name=`${CC} -print-prog-name=collect2`
8088           if test -f "$collect2name" &&
8089            strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8090           then
8091           # We have reworked collect2
8092           :
8093           else
8094           # We have old collect2
8095           hardcode_direct=unsupported
8096           # It fails to find uninstalled libraries when the uninstalled
8097           # path is not listed in the libpath.  Setting hardcode_minus_L
8098           # to unsupported forces relinking
8099           hardcode_minus_L=yes
8100           hardcode_libdir_flag_spec='-L$libdir'
8101           hardcode_libdir_separator=
8102           fi
8103           ;;
8104         esac
8105         shared_flag='-shared'
8106         if test "$aix_use_runtimelinking" = yes; then
8107           shared_flag="$shared_flag "'${wl}-G'
8108         fi
8109       else
8110         # not using gcc
8111         if test "$host_cpu" = ia64; then
8112         # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8113         # chokes on -Wl,-G. The following line is correct:
8114           shared_flag='-G'
8115         else
8116           if test "$aix_use_runtimelinking" = yes; then
8117             shared_flag='${wl}-G'
8118           else
8119             shared_flag='${wl}-bM:SRE'
8120           fi
8121         fi
8122       fi
8123
8124       # It seems that -bexpall does not export symbols beginning with
8125       # underscore (_), so it is better to generate a list of symbols to export.
8126       always_export_symbols=yes
8127       if test "$aix_use_runtimelinking" = yes; then
8128         # Warning - without using the other runtime loading flags (-brtl),
8129         # -berok will link without error, but may produce a broken library.
8130         allow_undefined_flag='-berok'
8131         # Determine the default libpath from the value encoded in an
8132         # empty executable.
8133         if test x$gcc_no_link = xyes; then
8134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8136    { (exit 1); exit 1; }; }
8137 fi
8138 cat >conftest.$ac_ext <<_ACEOF
8139 /* confdefs.h.  */
8140 _ACEOF
8141 cat confdefs.h >>conftest.$ac_ext
8142 cat >>conftest.$ac_ext <<_ACEOF
8143 /* end confdefs.h.  */
8144
8145 int
8146 main ()
8147 {
8148
8149   ;
8150   return 0;
8151 }
8152 _ACEOF
8153 rm -f conftest.$ac_objext conftest$ac_exeext
8154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8155   (eval $ac_link) 2>conftest.er1
8156   ac_status=$?
8157   grep -v '^ *+' conftest.er1 >conftest.err
8158   rm -f conftest.er1
8159   cat conftest.err >&5
8160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161   (exit $ac_status); } &&
8162          { ac_try='test -z "$ac_c_werror_flag"
8163                          || test ! -s conftest.err'
8164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8165   (eval $ac_try) 2>&5
8166   ac_status=$?
8167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8168   (exit $ac_status); }; } &&
8169          { ac_try='test -s conftest$ac_exeext'
8170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8171   (eval $ac_try) 2>&5
8172   ac_status=$?
8173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8174   (exit $ac_status); }; }; then
8175
8176 lt_aix_libpath_sed='
8177     /Import File Strings/,/^$/ {
8178         /^0/ {
8179             s/^0  *\(.*\)$/\1/
8180             p
8181         }
8182     }'
8183 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8184 # Check for a 64-bit object if we didn't find anything.
8185 if test -z "$aix_libpath"; then
8186   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8187 fi
8188 else
8189   echo "$as_me: failed program was:" >&5
8190 sed 's/^/| /' conftest.$ac_ext >&5
8191
8192 fi
8193 rm -f conftest.err conftest.$ac_objext \
8194       conftest$ac_exeext conftest.$ac_ext
8195 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8196
8197         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8198         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8199       else
8200         if test "$host_cpu" = ia64; then
8201           hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8202           allow_undefined_flag="-z nodefs"
8203           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8204         else
8205          # Determine the default libpath from the value encoded in an
8206          # empty executable.
8207          if test x$gcc_no_link = xyes; then
8208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8210    { (exit 1); exit 1; }; }
8211 fi
8212 cat >conftest.$ac_ext <<_ACEOF
8213 /* confdefs.h.  */
8214 _ACEOF
8215 cat confdefs.h >>conftest.$ac_ext
8216 cat >>conftest.$ac_ext <<_ACEOF
8217 /* end confdefs.h.  */
8218
8219 int
8220 main ()
8221 {
8222
8223   ;
8224   return 0;
8225 }
8226 _ACEOF
8227 rm -f conftest.$ac_objext conftest$ac_exeext
8228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8229   (eval $ac_link) 2>conftest.er1
8230   ac_status=$?
8231   grep -v '^ *+' conftest.er1 >conftest.err
8232   rm -f conftest.er1
8233   cat conftest.err >&5
8234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235   (exit $ac_status); } &&
8236          { ac_try='test -z "$ac_c_werror_flag"
8237                          || test ! -s conftest.err'
8238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8239   (eval $ac_try) 2>&5
8240   ac_status=$?
8241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8242   (exit $ac_status); }; } &&
8243          { ac_try='test -s conftest$ac_exeext'
8244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8245   (eval $ac_try) 2>&5
8246   ac_status=$?
8247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248   (exit $ac_status); }; }; then
8249
8250 lt_aix_libpath_sed='
8251     /Import File Strings/,/^$/ {
8252         /^0/ {
8253             s/^0  *\(.*\)$/\1/
8254             p
8255         }
8256     }'
8257 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8258 # Check for a 64-bit object if we didn't find anything.
8259 if test -z "$aix_libpath"; then
8260   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8261 fi
8262 else
8263   echo "$as_me: failed program was:" >&5
8264 sed 's/^/| /' conftest.$ac_ext >&5
8265
8266 fi
8267 rm -f conftest.err conftest.$ac_objext \
8268       conftest$ac_exeext conftest.$ac_ext
8269 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8270
8271          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8272           # Warning - without using the other run time loading flags,
8273           # -berok will link without error, but may produce a broken library.
8274           no_undefined_flag=' ${wl}-bernotok'
8275           allow_undefined_flag=' ${wl}-berok'
8276           # Exported symbols can be pulled into shared objects from archives
8277           whole_archive_flag_spec='$convenience'
8278           archive_cmds_need_lc=yes
8279           # This is similar to how AIX traditionally builds its shared libraries.
8280           archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8281         fi
8282       fi
8283       ;;
8284
8285     amigaos*)
8286       if test "$host_cpu" = m68k; then
8287         archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8288         hardcode_libdir_flag_spec='-L$libdir'
8289         hardcode_minus_L=yes
8290       fi
8291       # see comment about different semantics on the GNU ld section
8292       ld_shlibs=no
8293       ;;
8294
8295     bsdi[45]*)
8296       export_dynamic_flag_spec=-rdynamic
8297       ;;
8298
8299     cygwin* | mingw* | pw32*)
8300       # When not using gcc, we currently assume that we are using
8301       # Microsoft Visual C++.
8302       # hardcode_libdir_flag_spec is actually meaningless, as there is
8303       # no search path for DLLs.
8304       hardcode_libdir_flag_spec=' '
8305       allow_undefined_flag=unsupported
8306       # Tell ltmain to make .lib files, not .a files.
8307       libext=lib
8308       # Tell ltmain to make .dll files, not .so files.
8309       shrext_cmds=".dll"
8310       # FIXME: Setting linknames here is a bad hack.
8311       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8312       # The linker will automatically build a .lib file if we build a DLL.
8313       old_archive_from_new_cmds='true'
8314       # FIXME: Should let the user specify the lib program.
8315       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8316       fix_srcfile_path='`cygpath -w "$srcfile"`'
8317       enable_shared_with_static_runtimes=yes
8318       ;;
8319
8320     darwin* | rhapsody*)
8321       case $host_os in
8322       rhapsody* | darwin1.[012])
8323         allow_undefined_flag='${wl}-undefined ${wl}suppress'
8324         ;;
8325       *) # Darwin 1.3 on
8326         case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8327         10.[012])
8328           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8329           ;;
8330         10.*)
8331           allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8332           ;;
8333         esac
8334         ;;
8335       esac
8336       archive_cmds_need_lc=no
8337       hardcode_direct=no
8338       hardcode_automatic=yes
8339       hardcode_shlibpath_var=unsupported
8340       whole_archive_flag_spec=''
8341       link_all_deplibs=yes
8342       if test "$GCC" = yes ; then
8343         if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8344   echo $ECHO_N "(cached) $ECHO_C" >&6
8345 else
8346   lt_cv_apple_cc_single_mod=no
8347         if test -z "${LT_MULTI_MODULE}"; then
8348           # By default we will add the -single_module flag. You can override
8349           # by either setting the environment variable LT_MULTI_MODULE
8350           # non-empty at configure time, or by adding -multi-module to the
8351           # link flags.
8352           echo "int foo(void){return 1;}" > conftest.c
8353           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8354               -dynamiclib ${wl}-single_module conftest.c
8355           if test -f libconftest.dylib; then
8356               lt_cv_apple_cc_single_mod=yes
8357               rm libconftest.dylib
8358           fi
8359           rm conftest.$ac_ext
8360         fi
8361 fi
8362
8363         output_verbose_link_cmd=echo
8364         if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8365           archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8366           archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8367         else
8368           archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8369           archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8370         fi
8371         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8372         module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8373       else
8374         case $cc_basename in
8375         xlc*)
8376           output_verbose_link_cmd=echo
8377           archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8378           module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8379           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8380           archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8381           module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8382           ;;
8383         *)
8384           ld_shlibs=no
8385           ;;
8386         esac
8387       fi
8388       ;;
8389
8390     dgux*)
8391       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8392       hardcode_libdir_flag_spec='-L$libdir'
8393       hardcode_shlibpath_var=no
8394       ;;
8395
8396     freebsd1*)
8397       ld_shlibs=no
8398       ;;
8399
8400     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8401     # support.  Future versions do this automatically, but an explicit c++rt0.o
8402     # does not break anything, and helps significantly (at the cost of a little
8403     # extra space).
8404     freebsd2.2*)
8405       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8406       hardcode_libdir_flag_spec='-R$libdir'
8407       hardcode_direct=yes
8408       hardcode_shlibpath_var=no
8409       ;;
8410
8411     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8412     freebsd2*)
8413       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8414       hardcode_direct=yes
8415       hardcode_minus_L=yes
8416       hardcode_shlibpath_var=no
8417       ;;
8418
8419     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8420     freebsd* | dragonfly*)
8421       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8422       hardcode_libdir_flag_spec='-R$libdir'
8423       hardcode_direct=yes
8424       hardcode_shlibpath_var=no
8425       ;;
8426
8427     hpux9*)
8428       if test "$GCC" = yes; then
8429         archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8430       else
8431         archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8432       fi
8433       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8434       hardcode_libdir_separator=:
8435       hardcode_direct=yes
8436
8437       # hardcode_minus_L: Not really in the search PATH,
8438       # but as the default location of the library.
8439       hardcode_minus_L=yes
8440       export_dynamic_flag_spec='${wl}-E'
8441       ;;
8442
8443     hpux10*)
8444       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8445         archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8446       else
8447         archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8448       fi
8449       if test "$with_gnu_ld" = no; then
8450         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8451         hardcode_libdir_flag_spec_ld='+b $libdir'
8452         hardcode_libdir_separator=:
8453         hardcode_direct=yes
8454         hardcode_direct_absolute=yes
8455         export_dynamic_flag_spec='${wl}-E'
8456         # hardcode_minus_L: Not really in the search PATH,
8457         # but as the default location of the library.
8458         hardcode_minus_L=yes
8459       fi
8460       ;;
8461
8462     hpux11*)
8463       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8464         case $host_cpu in
8465         hppa*64*)
8466           archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8467           ;;
8468         ia64*)
8469           archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8470           ;;
8471         *)
8472           archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8473           ;;
8474         esac
8475       else
8476         case $host_cpu in
8477         hppa*64*)
8478           archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8479           ;;
8480         ia64*)
8481           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8482           ;;
8483         *)
8484           archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8485           ;;
8486         esac
8487       fi
8488       if test "$with_gnu_ld" = no; then
8489         hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8490         hardcode_libdir_separator=:
8491
8492         case $host_cpu in
8493         hppa*64*|ia64*)
8494           hardcode_direct=no
8495           hardcode_shlibpath_var=no
8496           ;;
8497         *)
8498           hardcode_direct=yes
8499           hardcode_direct_absolute=yes
8500           export_dynamic_flag_spec='${wl}-E'
8501
8502           # hardcode_minus_L: Not really in the search PATH,
8503           # but as the default location of the library.
8504           hardcode_minus_L=yes
8505           ;;
8506         esac
8507       fi
8508       ;;
8509
8510     irix5* | irix6* | nonstopux*)
8511       if test "$GCC" = yes; then
8512         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8513         # Try to use the -exported_symbol ld option, if it does not
8514         # work, assume that -exports_file does not work either and
8515         # implicitly export all symbols.
8516         save_LDFLAGS="$LDFLAGS"
8517         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8518         if test x$gcc_no_link = xyes; then
8519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8521    { (exit 1); exit 1; }; }
8522 fi
8523 cat >conftest.$ac_ext <<_ACEOF
8524 int foo(void) {}
8525 _ACEOF
8526 rm -f conftest.$ac_objext conftest$ac_exeext
8527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8528   (eval $ac_link) 2>conftest.er1
8529   ac_status=$?
8530   grep -v '^ *+' conftest.er1 >conftest.err
8531   rm -f conftest.er1
8532   cat conftest.err >&5
8533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534   (exit $ac_status); } &&
8535          { ac_try='test -z "$ac_c_werror_flag"
8536                          || test ! -s conftest.err'
8537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8538   (eval $ac_try) 2>&5
8539   ac_status=$?
8540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541   (exit $ac_status); }; } &&
8542          { ac_try='test -s conftest$ac_exeext'
8543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8544   (eval $ac_try) 2>&5
8545   ac_status=$?
8546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8547   (exit $ac_status); }; }; then
8548   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8549
8550 else
8551   echo "$as_me: failed program was:" >&5
8552 sed 's/^/| /' conftest.$ac_ext >&5
8553
8554 fi
8555 rm -f conftest.err conftest.$ac_objext \
8556       conftest$ac_exeext conftest.$ac_ext
8557         LDFLAGS="$save_LDFLAGS"
8558       else
8559         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8560         archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8561       fi
8562       archive_cmds_need_lc='no'
8563       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8564       hardcode_libdir_separator=:
8565       inherit_rpath=yes
8566       link_all_deplibs=yes
8567       ;;
8568
8569     netbsd*)
8570       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8571         archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
8572       else
8573         archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
8574       fi
8575       hardcode_libdir_flag_spec='-R$libdir'
8576       hardcode_direct=yes
8577       hardcode_shlibpath_var=no
8578       ;;
8579
8580     newsos6)
8581       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8582       hardcode_direct=yes
8583       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8584       hardcode_libdir_separator=:
8585       hardcode_shlibpath_var=no
8586       ;;
8587
8588     *nto* | *qnx*)
8589       ;;
8590
8591     openbsd*)
8592       hardcode_direct=yes
8593       hardcode_shlibpath_var=no
8594       hardcode_direct_absolute=yes
8595       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8596         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8597         archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8598         hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8599         export_dynamic_flag_spec='${wl}-E'
8600       else
8601         case $host_os in
8602         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8603           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8604           hardcode_libdir_flag_spec='-R$libdir'
8605           ;;
8606         *)
8607           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8608           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8609           ;;
8610         esac
8611       fi
8612       ;;
8613
8614     os2*)
8615       hardcode_libdir_flag_spec='-L$libdir'
8616       hardcode_minus_L=yes
8617       allow_undefined_flag=unsupported
8618       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8619       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8620       ;;
8621
8622     osf3*)
8623       if test "$GCC" = yes; then
8624         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8625         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8626       else
8627         allow_undefined_flag=' -expect_unresolved \*'
8628         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8629       fi
8630       archive_cmds_need_lc='no'
8631       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8632       hardcode_libdir_separator=:
8633       ;;
8634
8635     osf4* | osf5*)      # as osf3* with the addition of -msym flag
8636       if test "$GCC" = yes; then
8637         allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8638         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8639         hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8640       else
8641         allow_undefined_flag=' -expect_unresolved \*'
8642         archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8643         archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8644         $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8645
8646         # Both c and cxx compiler support -rpath directly
8647         hardcode_libdir_flag_spec='-rpath $libdir'
8648       fi
8649       archive_cmds_need_lc='no'
8650       hardcode_libdir_separator=:
8651       ;;
8652
8653     solaris*)
8654       no_undefined_flag=' -z defs'
8655       if test "$GCC" = yes; then
8656         wlarc='${wl}'
8657         archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8658         archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8659           $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8660       else
8661         case `$CC -V 2>&1` in
8662         *"Compilers 5.0"*)
8663           wlarc=''
8664           archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8665           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8666           $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8667           ;;
8668         *)
8669           wlarc='${wl}'
8670           archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8671           archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8672           $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8673           ;;
8674         esac
8675       fi
8676       hardcode_libdir_flag_spec='-R$libdir'
8677       hardcode_shlibpath_var=no
8678       case $host_os in
8679       solaris2.[0-5] | solaris2.[0-5].*) ;;
8680       *)
8681         # The compiler driver will combine and reorder linker options,
8682         # but understands `-z linker_flag'.  GCC discards it without `$wl',
8683         # but is careful enough not to reorder.
8684         # Supported since Solaris 2.6 (maybe 2.5.1?)
8685         if test "$GCC" = yes; then
8686           whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8687         else
8688           whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8689         fi
8690         ;;
8691       esac
8692       link_all_deplibs=yes
8693       ;;
8694
8695     sunos4*)
8696       if test "x$host_vendor" = xsequent; then
8697         # Use $CC to link under sequent, because it throws in some extra .o
8698         # files that make .init and .fini sections work.
8699         archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8700       else
8701         archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8702       fi
8703       hardcode_libdir_flag_spec='-L$libdir'
8704       hardcode_direct=yes
8705       hardcode_minus_L=yes
8706       hardcode_shlibpath_var=no
8707       ;;
8708
8709     sysv4)
8710       case $host_vendor in
8711         sni)
8712           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8713           hardcode_direct=yes # is this really true???
8714         ;;
8715         siemens)
8716           ## LD is ld it makes a PLAMLIB
8717           ## CC just makes a GrossModule.
8718           archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8719           reload_cmds='$CC -r -o $output$reload_objs'
8720           hardcode_direct=no
8721         ;;
8722         motorola)
8723           archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8724           hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8725         ;;
8726       esac
8727       runpath_var='LD_RUN_PATH'
8728       hardcode_shlibpath_var=no
8729       ;;
8730
8731     sysv4.3*)
8732       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8733       hardcode_shlibpath_var=no
8734       export_dynamic_flag_spec='-Bexport'
8735       ;;
8736
8737     sysv4*MP*)
8738       if test -d /usr/nec; then
8739         archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8740         hardcode_shlibpath_var=no
8741         runpath_var=LD_RUN_PATH
8742         hardcode_runpath_var=yes
8743         ld_shlibs=yes
8744       fi
8745       ;;
8746
8747     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8748       no_undefined_flag='${wl}-z,text'
8749       archive_cmds_need_lc=no
8750       hardcode_shlibpath_var=no
8751       runpath_var='LD_RUN_PATH'
8752
8753       if test "$GCC" = yes; then
8754         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8755         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8756       else
8757         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8758         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8759       fi
8760       ;;
8761
8762     sysv5* | sco3.2v5* | sco5v6*)
8763       # Note: We can NOT use -z defs as we might desire, because we do not
8764       # link with -lc, and that would cause any symbols used from libc to
8765       # always be unresolved, which means just about no library would
8766       # ever link correctly.  If we're not using GNU ld we use -z text
8767       # though, which does catch some bad symbols but isn't as heavy-handed
8768       # as -z defs.
8769       no_undefined_flag='${wl}-z,text'
8770       allow_undefined_flag='${wl}-z,nodefs'
8771       archive_cmds_need_lc=no
8772       hardcode_shlibpath_var=no
8773       hardcode_libdir_flag_spec='${wl}-R,$libdir'
8774       hardcode_libdir_separator=':'
8775       link_all_deplibs=yes
8776       export_dynamic_flag_spec='${wl}-Bexport'
8777       runpath_var='LD_RUN_PATH'
8778
8779       if test "$GCC" = yes; then
8780         archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8781         archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8782       else
8783         archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8784         archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8785       fi
8786       ;;
8787
8788     uts4*)
8789       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8790       hardcode_libdir_flag_spec='-L$libdir'
8791       hardcode_shlibpath_var=no
8792       ;;
8793
8794     *)
8795       ld_shlibs=no
8796       ;;
8797     esac
8798
8799     if test x$host_vendor = xsni; then
8800       case $host in
8801       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8802         export_dynamic_flag_spec='${wl}-Blargedynsym'
8803         ;;
8804       esac
8805     fi
8806   fi
8807
8808 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8809 echo "${ECHO_T}$ld_shlibs" >&6
8810 test "$ld_shlibs" = no && can_build_shared=no
8811
8812 with_gnu_ld=$with_gnu_ld
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828 #
8829 # Do we need to explicitly link libc?
8830 #
8831 case "x$archive_cmds_need_lc" in
8832 x|xyes)
8833   # Assume -lc should be added
8834   archive_cmds_need_lc=yes
8835
8836   if test "$enable_shared" = yes && test "$GCC" = yes; then
8837     case $archive_cmds in
8838     *'~'*)
8839       # FIXME: we may have to deal with multi-command sequences.
8840       ;;
8841     '$CC '*)
8842       # Test whether the compiler implicitly links with -lc since on some
8843       # systems, -lgcc has to come before -lc. If gcc already passes -lc
8844       # to ld, don't add -lc before -lgcc.
8845       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8846 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8847       $RM conftest*
8848       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8849
8850       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8851   (eval $ac_compile) 2>&5
8852   ac_status=$?
8853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8854   (exit $ac_status); } 2>conftest.err; then
8855         soname=conftest
8856         lib=conftest
8857         libobjs=conftest.$ac_objext
8858         deplibs=
8859         wl=$lt_prog_compiler_wl
8860         pic_flag=$lt_prog_compiler_pic
8861         compiler_flags=-v
8862         linker_flags=-v
8863         verstring=
8864         output_objdir=.
8865         libname=conftest
8866         lt_save_allow_undefined_flag=$allow_undefined_flag
8867         allow_undefined_flag=
8868         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8869   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8870   ac_status=$?
8871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8872   (exit $ac_status); }
8873         then
8874           archive_cmds_need_lc=no
8875         else
8876           archive_cmds_need_lc=yes
8877         fi
8878         allow_undefined_flag=$lt_save_allow_undefined_flag
8879       else
8880         cat conftest.err 1>&5
8881       fi
8882       $RM conftest*
8883       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8884 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8885       ;;
8886     esac
8887   fi
8888   ;;
8889 esac
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9048 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9049 withGCC=$GCC
9050 if test "$withGCC" = yes; then
9051   case $host_os in
9052     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9053     *) lt_awk_arg="/^libraries:/" ;;
9054   esac
9055   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9056   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9057     # if the path contains ";" then we assume it to be the separator
9058     # otherwise default to the standard path separator (i.e. ":") - it is
9059     # assumed that no part of a normal pathname contains ";" but that should
9060     # okay in the real world where ";" in dirpaths is itself problematic.
9061     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9062   else
9063     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9064   fi
9065   # Ok, now we have the path, separated by spaces, we can step through it
9066   # and add multilib dir if necessary.
9067   lt_tmp_lt_search_path_spec=
9068   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9069   for lt_sys_path in $lt_search_path_spec; do
9070     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9071       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9072     else
9073       test -d "$lt_sys_path" && \
9074         lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9075     fi
9076   done
9077   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9078 BEGIN {RS=" "; FS="/|\n";} {
9079   lt_foo="";
9080   lt_count=0;
9081   for (lt_i = NF; lt_i > 0; lt_i--) {
9082     if ($lt_i != "" && $lt_i != ".") {
9083       if ($lt_i == "..") {
9084         lt_count++;
9085       } else {
9086         if (lt_count == 0) {
9087           lt_foo="/" $lt_i lt_foo;
9088         } else {
9089           lt_count--;
9090         }
9091       }
9092     }
9093   }
9094   if (lt_foo != "") { lt_freq[lt_foo]++; }
9095   if (lt_freq[lt_foo] == 1) { print lt_foo; }
9096 }'`
9097   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9098 else
9099   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9100 fi
9101 library_names_spec=
9102 libname_spec='lib$name'
9103 soname_spec=
9104 shrext_cmds=".so"
9105 postinstall_cmds=
9106 postuninstall_cmds=
9107 finish_cmds=
9108 finish_eval=
9109 shlibpath_var=
9110 shlibpath_overrides_runpath=unknown
9111 version_type=none
9112 dynamic_linker="$host_os ld.so"
9113 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9114 need_lib_prefix=unknown
9115 hardcode_into_libs=no
9116
9117 # when you set need_version to no, make sure it does not cause -set_version
9118 # flags to be left without arguments
9119 need_version=unknown
9120
9121 case $host_os in
9122 aix3*)
9123   version_type=linux
9124   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9125   shlibpath_var=LIBPATH
9126
9127   # AIX 3 has no versioning support, so we append a major version to the name.
9128   soname_spec='${libname}${release}${shared_ext}$major'
9129   ;;
9130
9131 aix[4-9]*)
9132   version_type=linux
9133   need_lib_prefix=no
9134   need_version=no
9135   hardcode_into_libs=yes
9136   if test "$host_cpu" = ia64; then
9137     # AIX 5 supports IA64
9138     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9139     shlibpath_var=LD_LIBRARY_PATH
9140   else
9141     # With GCC up to 2.95.x, collect2 would create an import file
9142     # for dependence libraries.  The import file would start with
9143     # the line `#! .'.  This would cause the generated library to
9144     # depend on `.', always an invalid library.  This was fixed in
9145     # development snapshots of GCC prior to 3.0.
9146     case $host_os in
9147       aix4 | aix4.[01] | aix4.[01].*)
9148       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9149            echo ' yes '
9150            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9151         :
9152       else
9153         can_build_shared=no
9154       fi
9155       ;;
9156     esac
9157     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9158     # soname into executable. Probably we can add versioning support to
9159     # collect2, so additional links can be useful in future.
9160     if test "$aix_use_runtimelinking" = yes; then
9161       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9162       # instead of lib<name>.a to let people know that these are not
9163       # typical AIX shared libraries.
9164       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9165     else
9166       # We preserve .a as extension for shared libraries through AIX4.2
9167       # and later when we are not doing run time linking.
9168       library_names_spec='${libname}${release}.a $libname.a'
9169       soname_spec='${libname}${release}${shared_ext}$major'
9170     fi
9171     shlibpath_var=LIBPATH
9172   fi
9173   ;;
9174
9175 amigaos*)
9176   if test "$host_cpu" = m68k; then
9177     library_names_spec='$libname.ixlibrary $libname.a'
9178     # Create ${libname}_ixlibrary.a entries in /sys/libs.
9179     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9180   else
9181     dynamic_linker=no
9182   fi
9183   ;;
9184
9185 beos*)
9186   library_names_spec='${libname}${shared_ext}'
9187   dynamic_linker="$host_os ld.so"
9188   shlibpath_var=LIBRARY_PATH
9189   ;;
9190
9191 bsdi[45]*)
9192   version_type=linux
9193   need_version=no
9194   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9195   soname_spec='${libname}${release}${shared_ext}$major'
9196   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9197   shlibpath_var=LD_LIBRARY_PATH
9198   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9199   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9200   # the default ld.so.conf also contains /usr/contrib/lib and
9201   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9202   # libtool to hard-code these into programs
9203   ;;
9204
9205 cygwin* | mingw* | pw32*)
9206   version_type=windows
9207   shrext_cmds=".dll"
9208   need_version=no
9209   need_lib_prefix=no
9210
9211   case $withGCC,$host_os in
9212   yes,cygwin* | yes,mingw* | yes,pw32*)
9213     library_names_spec='$libname.dll.a'
9214     # DLL is installed to $(libdir)/../bin by postinstall_cmds
9215     postinstall_cmds='base_file=`basename \${file}`~
9216       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9217       dldir=$destdir/`dirname \$dlpath`~
9218       test -d \$dldir || mkdir -p \$dldir~
9219       $install_prog $dir/$dlname \$dldir/$dlname~
9220       chmod a+x \$dldir/$dlname~
9221       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9222         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9223       fi'
9224     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9225       dlpath=$dir/\$dldll~
9226        $RM \$dlpath'
9227     shlibpath_overrides_runpath=yes
9228
9229     case $host_os in
9230     cygwin*)
9231       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9232       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9233       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9234       ;;
9235     mingw*)
9236       # MinGW DLLs use traditional 'lib' prefix
9237       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9238       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9239       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9240         # It is most probably a Windows format PATH printed by
9241         # mingw gcc, but we are running on Cygwin. Gcc prints its search
9242         # path with ; separators, and with drive letters. We can handle the
9243         # drive letters (cygwin fileutils understands them), so leave them,
9244         # especially as we might pass files found there to a mingw objdump,
9245         # which wouldn't understand a cygwinified path. Ahh.
9246         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9247       else
9248         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
9249       fi
9250       ;;
9251     pw32*)
9252       # pw32 DLLs use 'pw' prefix rather than 'lib'
9253       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9254       ;;
9255     esac
9256     ;;
9257
9258   *)
9259     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9260     ;;
9261   esac
9262   dynamic_linker='Win32 ld.exe'
9263   # FIXME: first we should search . and the directory the executable is in
9264   shlibpath_var=PATH
9265   ;;
9266
9267 darwin* | rhapsody*)
9268   dynamic_linker="$host_os dyld"
9269   version_type=darwin
9270   need_lib_prefix=no
9271   need_version=no
9272   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9273   soname_spec='${libname}${release}${major}$shared_ext'
9274   shlibpath_overrides_runpath=yes
9275   shlibpath_var=DYLD_LIBRARY_PATH
9276   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9277
9278   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9279   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9280   ;;
9281
9282 dgux*)
9283   version_type=linux
9284   need_lib_prefix=no
9285   need_version=no
9286   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9287   soname_spec='${libname}${release}${shared_ext}$major'
9288   shlibpath_var=LD_LIBRARY_PATH
9289   ;;
9290
9291 freebsd1*)
9292   dynamic_linker=no
9293   ;;
9294
9295 freebsd* | dragonfly*)
9296   # DragonFly does not have aout.  When/if they implement a new
9297   # versioning mechanism, adjust this.
9298   if test -x /usr/bin/objformat; then
9299     objformat=`/usr/bin/objformat`
9300   else
9301     case $host_os in
9302     freebsd[123]*) objformat=aout ;;
9303     *) objformat=elf ;;
9304     esac
9305   fi
9306   version_type=freebsd-$objformat
9307   case $version_type in
9308     freebsd-elf*)
9309       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9310       need_version=no
9311       need_lib_prefix=no
9312       ;;
9313     freebsd-*)
9314       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9315       need_version=yes
9316       ;;
9317   esac
9318   shlibpath_var=LD_LIBRARY_PATH
9319   case $host_os in
9320   freebsd2*)
9321     shlibpath_overrides_runpath=yes
9322     ;;
9323   freebsd3.[01]* | freebsdelf3.[01]*)
9324     shlibpath_overrides_runpath=yes
9325     hardcode_into_libs=yes
9326     ;;
9327   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9328   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9329     shlibpath_overrides_runpath=no
9330     hardcode_into_libs=yes
9331     ;;
9332   *) # from 4.6 on, and DragonFly
9333     shlibpath_overrides_runpath=yes
9334     hardcode_into_libs=yes
9335     ;;
9336   esac
9337   ;;
9338
9339 gnu*)
9340   version_type=linux
9341   need_lib_prefix=no
9342   need_version=no
9343   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9344   soname_spec='${libname}${release}${shared_ext}$major'
9345   shlibpath_var=LD_LIBRARY_PATH
9346   hardcode_into_libs=yes
9347   ;;
9348
9349 hpux9* | hpux10* | hpux11*)
9350   # Give a soname corresponding to the major version so that dld.sl refuses to
9351   # link against other versions.
9352   version_type=sunos
9353   need_lib_prefix=no
9354   need_version=no
9355   case $host_cpu in
9356   ia64*)
9357     shrext_cmds='.so'
9358     hardcode_into_libs=yes
9359     dynamic_linker="$host_os dld.so"
9360     shlibpath_var=LD_LIBRARY_PATH
9361     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9362     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9363     soname_spec='${libname}${release}${shared_ext}$major'
9364     if test "X$HPUX_IA64_MODE" = X32; then
9365       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9366     else
9367       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9368     fi
9369     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9370     ;;
9371   hppa*64*)
9372     shrext_cmds='.sl'
9373     hardcode_into_libs=yes
9374     dynamic_linker="$host_os dld.sl"
9375     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9376     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9377     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9378     soname_spec='${libname}${release}${shared_ext}$major'
9379     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9380     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9381     ;;
9382   *)
9383     shrext_cmds='.sl'
9384     dynamic_linker="$host_os dld.sl"
9385     shlibpath_var=SHLIB_PATH
9386     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9387     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9388     soname_spec='${libname}${release}${shared_ext}$major'
9389     ;;
9390   esac
9391   # HP-UX runs *really* slowly unless shared libraries are mode 555.
9392   postinstall_cmds='chmod 555 $lib'
9393   ;;
9394
9395 interix[3-9]*)
9396   version_type=linux
9397   need_lib_prefix=no
9398   need_version=no
9399   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9400   soname_spec='${libname}${release}${shared_ext}$major'
9401   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9402   shlibpath_var=LD_LIBRARY_PATH
9403   shlibpath_overrides_runpath=no
9404   hardcode_into_libs=yes
9405   ;;
9406
9407 irix5* | irix6* | nonstopux*)
9408   case $host_os in
9409     nonstopux*) version_type=nonstopux ;;
9410     *)
9411         if test "$lt_cv_prog_gnu_ld" = yes; then
9412                 version_type=linux
9413         else
9414                 version_type=irix
9415         fi ;;
9416   esac
9417   need_lib_prefix=no
9418   need_version=no
9419   soname_spec='${libname}${release}${shared_ext}$major'
9420   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9421   case $host_os in
9422   irix5* | nonstopux*)
9423     libsuff= shlibsuff=
9424     ;;
9425   *)
9426     case $LD in # libtool.m4 will add one of these switches to LD
9427     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9428       libsuff= shlibsuff= libmagic=32-bit;;
9429     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9430       libsuff=32 shlibsuff=N32 libmagic=N32;;
9431     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9432       libsuff=64 shlibsuff=64 libmagic=64-bit;;
9433     *) libsuff= shlibsuff= libmagic=never-match;;
9434     esac
9435     ;;
9436   esac
9437   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9438   shlibpath_overrides_runpath=no
9439   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9440   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9441   hardcode_into_libs=yes
9442   ;;
9443
9444 # No shared lib support for Linux oldld, aout, or coff.
9445 linux*oldld* | linux*aout* | linux*coff*)
9446   dynamic_linker=no
9447   ;;
9448
9449 # This must be Linux ELF.
9450 linux* | k*bsd*-gnu)
9451   version_type=linux
9452   need_lib_prefix=no
9453   need_version=no
9454   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9455   soname_spec='${libname}${release}${shared_ext}$major'
9456   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9457   shlibpath_var=LD_LIBRARY_PATH
9458   shlibpath_overrides_runpath=no
9459   # Some binutils ld are patched to set DT_RUNPATH
9460   save_LDFLAGS=$LDFLAGS
9461   save_libdir=$libdir
9462   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9463        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9464   if test x$gcc_no_link = xyes; then
9465   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9467    { (exit 1); exit 1; }; }
9468 fi
9469 cat >conftest.$ac_ext <<_ACEOF
9470 /* confdefs.h.  */
9471 _ACEOF
9472 cat confdefs.h >>conftest.$ac_ext
9473 cat >>conftest.$ac_ext <<_ACEOF
9474 /* end confdefs.h.  */
9475
9476 int
9477 main ()
9478 {
9479
9480   ;
9481   return 0;
9482 }
9483 _ACEOF
9484 rm -f conftest.$ac_objext conftest$ac_exeext
9485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9486   (eval $ac_link) 2>conftest.er1
9487   ac_status=$?
9488   grep -v '^ *+' conftest.er1 >conftest.err
9489   rm -f conftest.er1
9490   cat conftest.err >&5
9491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9492   (exit $ac_status); } &&
9493          { ac_try='test -z "$ac_c_werror_flag"
9494                          || test ! -s conftest.err'
9495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9496   (eval $ac_try) 2>&5
9497   ac_status=$?
9498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9499   (exit $ac_status); }; } &&
9500          { ac_try='test -s conftest$ac_exeext'
9501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9502   (eval $ac_try) 2>&5
9503   ac_status=$?
9504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9505   (exit $ac_status); }; }; then
9506   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9507   shlibpath_overrides_runpath=yes
9508 fi
9509
9510 else
9511   echo "$as_me: failed program was:" >&5
9512 sed 's/^/| /' conftest.$ac_ext >&5
9513
9514 fi
9515 rm -f conftest.err conftest.$ac_objext \
9516       conftest$ac_exeext conftest.$ac_ext
9517   LDFLAGS=$save_LDFLAGS
9518   libdir=$save_libdir
9519
9520   # This implies no fast_install, which is unacceptable.
9521   # Some rework will be needed to allow for fast_install
9522   # before this can be enabled.
9523   hardcode_into_libs=yes
9524
9525   # Append ld.so.conf contents to the search path
9526   if test -f /etc/ld.so.conf; then
9527     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9528     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9529   fi
9530
9531   # We used to test for /lib/ld.so.1 and disable shared libraries on
9532   # powerpc, because MkLinux only supported shared libraries with the
9533   # GNU dynamic linker.  Since this was broken with cross compilers,
9534   # most powerpc-linux boxes support dynamic linking these days and
9535   # people can always --disable-shared, the test was removed, and we
9536   # assume the GNU/Linux dynamic linker is in use.
9537   dynamic_linker='GNU/Linux ld.so'
9538   ;;
9539
9540 netbsd*)
9541   version_type=sunos
9542   need_lib_prefix=no
9543   need_version=no
9544   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9545     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9546     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9547     dynamic_linker='NetBSD (a.out) ld.so'
9548   else
9549     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9550     soname_spec='${libname}${release}${shared_ext}$major'
9551     dynamic_linker='NetBSD ld.elf_so'
9552   fi
9553   shlibpath_var=LD_LIBRARY_PATH
9554   shlibpath_overrides_runpath=yes
9555   hardcode_into_libs=yes
9556   ;;
9557
9558 newsos6)
9559   version_type=linux
9560   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9561   shlibpath_var=LD_LIBRARY_PATH
9562   shlibpath_overrides_runpath=yes
9563   ;;
9564
9565 *nto* | *qnx*)
9566   version_type=qnx
9567   need_lib_prefix=no
9568   need_version=no
9569   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9570   soname_spec='${libname}${release}${shared_ext}$major'
9571   shlibpath_var=LD_LIBRARY_PATH
9572   shlibpath_overrides_runpath=no
9573   hardcode_into_libs=yes
9574   dynamic_linker='ldqnx.so'
9575   ;;
9576
9577 openbsd*)
9578   version_type=sunos
9579   sys_lib_dlsearch_path_spec="/usr/lib"
9580   need_lib_prefix=no
9581   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9582   case $host_os in
9583     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
9584     *)                          need_version=no  ;;
9585   esac
9586   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9587   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9588   shlibpath_var=LD_LIBRARY_PATH
9589   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9590     case $host_os in
9591       openbsd2.[89] | openbsd2.[89].*)
9592         shlibpath_overrides_runpath=no
9593         ;;
9594       *)
9595         shlibpath_overrides_runpath=yes
9596         ;;
9597       esac
9598   else
9599     shlibpath_overrides_runpath=yes
9600   fi
9601   ;;
9602
9603 os2*)
9604   libname_spec='$name'
9605   shrext_cmds=".dll"
9606   need_lib_prefix=no
9607   library_names_spec='$libname${shared_ext} $libname.a'
9608   dynamic_linker='OS/2 ld.exe'
9609   shlibpath_var=LIBPATH
9610   ;;
9611
9612 osf3* | osf4* | osf5*)
9613   version_type=osf
9614   need_lib_prefix=no
9615   need_version=no
9616   soname_spec='${libname}${release}${shared_ext}$major'
9617   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9618   shlibpath_var=LD_LIBRARY_PATH
9619   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9620   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9621   ;;
9622
9623 rdos*)
9624   dynamic_linker=no
9625   ;;
9626
9627 solaris*)
9628   version_type=linux
9629   need_lib_prefix=no
9630   need_version=no
9631   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9632   soname_spec='${libname}${release}${shared_ext}$major'
9633   shlibpath_var=LD_LIBRARY_PATH
9634   shlibpath_overrides_runpath=yes
9635   hardcode_into_libs=yes
9636   # ldd complains unless libraries are executable
9637   postinstall_cmds='chmod +x $lib'
9638   ;;
9639
9640 sunos4*)
9641   version_type=sunos
9642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9643   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9644   shlibpath_var=LD_LIBRARY_PATH
9645   shlibpath_overrides_runpath=yes
9646   if test "$with_gnu_ld" = yes; then
9647     need_lib_prefix=no
9648   fi
9649   need_version=yes
9650   ;;
9651
9652 sysv4 | sysv4.3*)
9653   version_type=linux
9654   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9655   soname_spec='${libname}${release}${shared_ext}$major'
9656   shlibpath_var=LD_LIBRARY_PATH
9657   case $host_vendor in
9658     sni)
9659       shlibpath_overrides_runpath=no
9660       need_lib_prefix=no
9661       runpath_var=LD_RUN_PATH
9662       ;;
9663     siemens)
9664       need_lib_prefix=no
9665       ;;
9666     motorola)
9667       need_lib_prefix=no
9668       need_version=no
9669       shlibpath_overrides_runpath=no
9670       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9671       ;;
9672   esac
9673   ;;
9674
9675 sysv4*MP*)
9676   if test -d /usr/nec ;then
9677     version_type=linux
9678     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9679     soname_spec='$libname${shared_ext}.$major'
9680     shlibpath_var=LD_LIBRARY_PATH
9681   fi
9682   ;;
9683
9684 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9685   version_type=freebsd-elf
9686   need_lib_prefix=no
9687   need_version=no
9688   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9689   soname_spec='${libname}${release}${shared_ext}$major'
9690   shlibpath_var=LD_LIBRARY_PATH
9691   shlibpath_overrides_runpath=yes
9692   hardcode_into_libs=yes
9693   if test "$with_gnu_ld" = yes; then
9694     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9695   else
9696     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9697     case $host_os in
9698       sco3.2v5*)
9699         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9700         ;;
9701     esac
9702   fi
9703   sys_lib_dlsearch_path_spec='/usr/lib'
9704   ;;
9705
9706 tpf*)
9707   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
9708   version_type=linux
9709   need_lib_prefix=no
9710   need_version=no
9711   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9712   shlibpath_var=LD_LIBRARY_PATH
9713   shlibpath_overrides_runpath=no
9714   hardcode_into_libs=yes
9715   ;;
9716
9717 uts4*)
9718   version_type=linux
9719   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9720   soname_spec='${libname}${release}${shared_ext}$major'
9721   shlibpath_var=LD_LIBRARY_PATH
9722   ;;
9723
9724 *)
9725   dynamic_linker=no
9726   ;;
9727 esac
9728 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9729 echo "${ECHO_T}$dynamic_linker" >&6
9730 test "$dynamic_linker" = no && can_build_shared=no
9731
9732 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9733 if test "$GCC" = yes; then
9734   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9735 fi
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9824 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9825 hardcode_action=
9826 if test -n "$hardcode_libdir_flag_spec" ||
9827    test -n "$runpath_var" ||
9828    test "X$hardcode_automatic" = "Xyes" ; then
9829
9830   # We can hardcode non-existent directories.
9831   if test "$hardcode_direct" != no &&
9832      # If the only mechanism to avoid hardcoding is shlibpath_var, we
9833      # have to relink, otherwise we might link with an installed library
9834      # when we should be linking with a yet-to-be-installed one
9835      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9836      test "$hardcode_minus_L" != no; then
9837     # Linking always hardcodes the temporary library directory.
9838     hardcode_action=relink
9839   else
9840     # We can link without hardcoding, and we can hardcode nonexisting dirs.
9841     hardcode_action=immediate
9842   fi
9843 else
9844   # We cannot hardcode anything, or else we can only hardcode existing
9845   # directories.
9846   hardcode_action=unsupported
9847 fi
9848 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9849 echo "${ECHO_T}$hardcode_action" >&6
9850
9851 if test "$hardcode_action" = relink ||
9852    test "$inherit_rpath" = yes; then
9853   # Fast installation is not supported
9854   enable_fast_install=no
9855 elif test "$shlibpath_overrides_runpath" = yes ||
9856      test "$enable_shared" = no; then
9857   # Fast installation is not necessary
9858   enable_fast_install=needless
9859 fi
9860
9861
9862
9863
9864
9865
9866   if test "x$enable_dlopen" != xyes; then
9867   enable_dlopen=unknown
9868   enable_dlopen_self=unknown
9869   enable_dlopen_self_static=unknown
9870 else
9871   lt_cv_dlopen=no
9872   lt_cv_dlopen_libs=
9873
9874   case $host_os in
9875   beos*)
9876     lt_cv_dlopen="load_add_on"
9877     lt_cv_dlopen_libs=
9878     lt_cv_dlopen_self=yes
9879     ;;
9880
9881   mingw* | pw32*)
9882     lt_cv_dlopen="LoadLibrary"
9883     lt_cv_dlopen_libs=
9884     ;;
9885
9886   cygwin*)
9887     lt_cv_dlopen="dlopen"
9888     lt_cv_dlopen_libs=
9889     ;;
9890
9891   darwin*)
9892   # if libdl is installed we need to link against it
9893     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9894 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9895 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9896   echo $ECHO_N "(cached) $ECHO_C" >&6
9897 else
9898   ac_check_lib_save_LIBS=$LIBS
9899 LIBS="-ldl  $LIBS"
9900 if test x$gcc_no_link = xyes; then
9901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9903    { (exit 1); exit 1; }; }
9904 fi
9905 cat >conftest.$ac_ext <<_ACEOF
9906 /* confdefs.h.  */
9907 _ACEOF
9908 cat confdefs.h >>conftest.$ac_ext
9909 cat >>conftest.$ac_ext <<_ACEOF
9910 /* end confdefs.h.  */
9911
9912 /* Override any gcc2 internal prototype to avoid an error.  */
9913 #ifdef __cplusplus
9914 extern "C"
9915 #endif
9916 /* We use char because int might match the return type of a gcc2
9917    builtin and then its argument prototype would still apply.  */
9918 char dlopen ();
9919 int
9920 main ()
9921 {
9922 dlopen ();
9923   ;
9924   return 0;
9925 }
9926 _ACEOF
9927 rm -f conftest.$ac_objext conftest$ac_exeext
9928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9929   (eval $ac_link) 2>conftest.er1
9930   ac_status=$?
9931   grep -v '^ *+' conftest.er1 >conftest.err
9932   rm -f conftest.er1
9933   cat conftest.err >&5
9934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9935   (exit $ac_status); } &&
9936          { ac_try='test -z "$ac_c_werror_flag"
9937                          || test ! -s conftest.err'
9938   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9939   (eval $ac_try) 2>&5
9940   ac_status=$?
9941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9942   (exit $ac_status); }; } &&
9943          { ac_try='test -s conftest$ac_exeext'
9944   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9945   (eval $ac_try) 2>&5
9946   ac_status=$?
9947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9948   (exit $ac_status); }; }; then
9949   ac_cv_lib_dl_dlopen=yes
9950 else
9951   echo "$as_me: failed program was:" >&5
9952 sed 's/^/| /' conftest.$ac_ext >&5
9953
9954 ac_cv_lib_dl_dlopen=no
9955 fi
9956 rm -f conftest.err conftest.$ac_objext \
9957       conftest$ac_exeext conftest.$ac_ext
9958 LIBS=$ac_check_lib_save_LIBS
9959 fi
9960 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9961 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9962 if test $ac_cv_lib_dl_dlopen = yes; then
9963   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9964 else
9965
9966     lt_cv_dlopen="dyld"
9967     lt_cv_dlopen_libs=
9968     lt_cv_dlopen_self=yes
9969
9970 fi
9971
9972     ;;
9973
9974   *)
9975     echo "$as_me:$LINENO: checking for shl_load" >&5
9976 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9977 if test "${ac_cv_func_shl_load+set}" = set; then
9978   echo $ECHO_N "(cached) $ECHO_C" >&6
9979 else
9980   if test x$gcc_no_link = xyes; then
9981   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9983    { (exit 1); exit 1; }; }
9984 fi
9985 cat >conftest.$ac_ext <<_ACEOF
9986 /* confdefs.h.  */
9987 _ACEOF
9988 cat confdefs.h >>conftest.$ac_ext
9989 cat >>conftest.$ac_ext <<_ACEOF
9990 /* end confdefs.h.  */
9991 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9992    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
9993 #define shl_load innocuous_shl_load
9994
9995 /* System header to define __stub macros and hopefully few prototypes,
9996     which can conflict with char shl_load (); below.
9997     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9998     <limits.h> exists even on freestanding compilers.  */
9999
10000 #ifdef __STDC__
10001 # include <limits.h>
10002 #else
10003 # include <assert.h>
10004 #endif
10005
10006 #undef shl_load
10007
10008 /* Override any gcc2 internal prototype to avoid an error.  */
10009 #ifdef __cplusplus
10010 extern "C"
10011 {
10012 #endif
10013 /* We use char because int might match the return type of a gcc2
10014    builtin and then its argument prototype would still apply.  */
10015 char shl_load ();
10016 /* The GNU C library defines this for functions which it implements
10017     to always fail with ENOSYS.  Some functions are actually named
10018     something starting with __ and the normal name is an alias.  */
10019 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10020 choke me
10021 #else
10022 char (*f) () = shl_load;
10023 #endif
10024 #ifdef __cplusplus
10025 }
10026 #endif
10027
10028 int
10029 main ()
10030 {
10031 return f != shl_load;
10032   ;
10033   return 0;
10034 }
10035 _ACEOF
10036 rm -f conftest.$ac_objext conftest$ac_exeext
10037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10038   (eval $ac_link) 2>conftest.er1
10039   ac_status=$?
10040   grep -v '^ *+' conftest.er1 >conftest.err
10041   rm -f conftest.er1
10042   cat conftest.err >&5
10043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044   (exit $ac_status); } &&
10045          { ac_try='test -z "$ac_c_werror_flag"
10046                          || test ! -s conftest.err'
10047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10048   (eval $ac_try) 2>&5
10049   ac_status=$?
10050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10051   (exit $ac_status); }; } &&
10052          { ac_try='test -s conftest$ac_exeext'
10053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10054   (eval $ac_try) 2>&5
10055   ac_status=$?
10056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10057   (exit $ac_status); }; }; then
10058   ac_cv_func_shl_load=yes
10059 else
10060   echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.$ac_ext >&5
10062
10063 ac_cv_func_shl_load=no
10064 fi
10065 rm -f conftest.err conftest.$ac_objext \
10066       conftest$ac_exeext conftest.$ac_ext
10067 fi
10068 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10069 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10070 if test $ac_cv_func_shl_load = yes; then
10071   lt_cv_dlopen="shl_load"
10072 else
10073   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10074 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10075 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10076   echo $ECHO_N "(cached) $ECHO_C" >&6
10077 else
10078   ac_check_lib_save_LIBS=$LIBS
10079 LIBS="-ldld  $LIBS"
10080 if test x$gcc_no_link = xyes; then
10081   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10083    { (exit 1); exit 1; }; }
10084 fi
10085 cat >conftest.$ac_ext <<_ACEOF
10086 /* confdefs.h.  */
10087 _ACEOF
10088 cat confdefs.h >>conftest.$ac_ext
10089 cat >>conftest.$ac_ext <<_ACEOF
10090 /* end confdefs.h.  */
10091
10092 /* Override any gcc2 internal prototype to avoid an error.  */
10093 #ifdef __cplusplus
10094 extern "C"
10095 #endif
10096 /* We use char because int might match the return type of a gcc2
10097    builtin and then its argument prototype would still apply.  */
10098 char shl_load ();
10099 int
10100 main ()
10101 {
10102 shl_load ();
10103   ;
10104   return 0;
10105 }
10106 _ACEOF
10107 rm -f conftest.$ac_objext conftest$ac_exeext
10108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10109   (eval $ac_link) 2>conftest.er1
10110   ac_status=$?
10111   grep -v '^ *+' conftest.er1 >conftest.err
10112   rm -f conftest.er1
10113   cat conftest.err >&5
10114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10115   (exit $ac_status); } &&
10116          { ac_try='test -z "$ac_c_werror_flag"
10117                          || test ! -s conftest.err'
10118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10119   (eval $ac_try) 2>&5
10120   ac_status=$?
10121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122   (exit $ac_status); }; } &&
10123          { ac_try='test -s conftest$ac_exeext'
10124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10125   (eval $ac_try) 2>&5
10126   ac_status=$?
10127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10128   (exit $ac_status); }; }; then
10129   ac_cv_lib_dld_shl_load=yes
10130 else
10131   echo "$as_me: failed program was:" >&5
10132 sed 's/^/| /' conftest.$ac_ext >&5
10133
10134 ac_cv_lib_dld_shl_load=no
10135 fi
10136 rm -f conftest.err conftest.$ac_objext \
10137       conftest$ac_exeext conftest.$ac_ext
10138 LIBS=$ac_check_lib_save_LIBS
10139 fi
10140 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10141 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10142 if test $ac_cv_lib_dld_shl_load = yes; then
10143   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10144 else
10145   echo "$as_me:$LINENO: checking for dlopen" >&5
10146 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10147 if test "${ac_cv_func_dlopen+set}" = set; then
10148   echo $ECHO_N "(cached) $ECHO_C" >&6
10149 else
10150   if test x$gcc_no_link = xyes; then
10151   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10153    { (exit 1); exit 1; }; }
10154 fi
10155 cat >conftest.$ac_ext <<_ACEOF
10156 /* confdefs.h.  */
10157 _ACEOF
10158 cat confdefs.h >>conftest.$ac_ext
10159 cat >>conftest.$ac_ext <<_ACEOF
10160 /* end confdefs.h.  */
10161 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10162    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10163 #define dlopen innocuous_dlopen
10164
10165 /* System header to define __stub macros and hopefully few prototypes,
10166     which can conflict with char dlopen (); below.
10167     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10168     <limits.h> exists even on freestanding compilers.  */
10169
10170 #ifdef __STDC__
10171 # include <limits.h>
10172 #else
10173 # include <assert.h>
10174 #endif
10175
10176 #undef dlopen
10177
10178 /* Override any gcc2 internal prototype to avoid an error.  */
10179 #ifdef __cplusplus
10180 extern "C"
10181 {
10182 #endif
10183 /* We use char because int might match the return type of a gcc2
10184    builtin and then its argument prototype would still apply.  */
10185 char dlopen ();
10186 /* The GNU C library defines this for functions which it implements
10187     to always fail with ENOSYS.  Some functions are actually named
10188     something starting with __ and the normal name is an alias.  */
10189 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10190 choke me
10191 #else
10192 char (*f) () = dlopen;
10193 #endif
10194 #ifdef __cplusplus
10195 }
10196 #endif
10197
10198 int
10199 main ()
10200 {
10201 return f != dlopen;
10202   ;
10203   return 0;
10204 }
10205 _ACEOF
10206 rm -f conftest.$ac_objext conftest$ac_exeext
10207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10208   (eval $ac_link) 2>conftest.er1
10209   ac_status=$?
10210   grep -v '^ *+' conftest.er1 >conftest.err
10211   rm -f conftest.er1
10212   cat conftest.err >&5
10213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10214   (exit $ac_status); } &&
10215          { ac_try='test -z "$ac_c_werror_flag"
10216                          || test ! -s conftest.err'
10217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10218   (eval $ac_try) 2>&5
10219   ac_status=$?
10220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221   (exit $ac_status); }; } &&
10222          { ac_try='test -s conftest$ac_exeext'
10223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10224   (eval $ac_try) 2>&5
10225   ac_status=$?
10226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227   (exit $ac_status); }; }; then
10228   ac_cv_func_dlopen=yes
10229 else
10230   echo "$as_me: failed program was:" >&5
10231 sed 's/^/| /' conftest.$ac_ext >&5
10232
10233 ac_cv_func_dlopen=no
10234 fi
10235 rm -f conftest.err conftest.$ac_objext \
10236       conftest$ac_exeext conftest.$ac_ext
10237 fi
10238 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10239 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10240 if test $ac_cv_func_dlopen = yes; then
10241   lt_cv_dlopen="dlopen"
10242 else
10243   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10244 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10245 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10246   echo $ECHO_N "(cached) $ECHO_C" >&6
10247 else
10248   ac_check_lib_save_LIBS=$LIBS
10249 LIBS="-ldl  $LIBS"
10250 if test x$gcc_no_link = xyes; then
10251   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10253    { (exit 1); exit 1; }; }
10254 fi
10255 cat >conftest.$ac_ext <<_ACEOF
10256 /* confdefs.h.  */
10257 _ACEOF
10258 cat confdefs.h >>conftest.$ac_ext
10259 cat >>conftest.$ac_ext <<_ACEOF
10260 /* end confdefs.h.  */
10261
10262 /* Override any gcc2 internal prototype to avoid an error.  */
10263 #ifdef __cplusplus
10264 extern "C"
10265 #endif
10266 /* We use char because int might match the return type of a gcc2
10267    builtin and then its argument prototype would still apply.  */
10268 char dlopen ();
10269 int
10270 main ()
10271 {
10272 dlopen ();
10273   ;
10274   return 0;
10275 }
10276 _ACEOF
10277 rm -f conftest.$ac_objext conftest$ac_exeext
10278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10279   (eval $ac_link) 2>conftest.er1
10280   ac_status=$?
10281   grep -v '^ *+' conftest.er1 >conftest.err
10282   rm -f conftest.er1
10283   cat conftest.err >&5
10284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285   (exit $ac_status); } &&
10286          { ac_try='test -z "$ac_c_werror_flag"
10287                          || test ! -s conftest.err'
10288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10289   (eval $ac_try) 2>&5
10290   ac_status=$?
10291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10292   (exit $ac_status); }; } &&
10293          { ac_try='test -s conftest$ac_exeext'
10294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10295   (eval $ac_try) 2>&5
10296   ac_status=$?
10297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10298   (exit $ac_status); }; }; then
10299   ac_cv_lib_dl_dlopen=yes
10300 else
10301   echo "$as_me: failed program was:" >&5
10302 sed 's/^/| /' conftest.$ac_ext >&5
10303
10304 ac_cv_lib_dl_dlopen=no
10305 fi
10306 rm -f conftest.err conftest.$ac_objext \
10307       conftest$ac_exeext conftest.$ac_ext
10308 LIBS=$ac_check_lib_save_LIBS
10309 fi
10310 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10311 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10312 if test $ac_cv_lib_dl_dlopen = yes; then
10313   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10314 else
10315   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10316 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10317 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10318   echo $ECHO_N "(cached) $ECHO_C" >&6
10319 else
10320   ac_check_lib_save_LIBS=$LIBS
10321 LIBS="-lsvld  $LIBS"
10322 if test x$gcc_no_link = xyes; then
10323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10325    { (exit 1); exit 1; }; }
10326 fi
10327 cat >conftest.$ac_ext <<_ACEOF
10328 /* confdefs.h.  */
10329 _ACEOF
10330 cat confdefs.h >>conftest.$ac_ext
10331 cat >>conftest.$ac_ext <<_ACEOF
10332 /* end confdefs.h.  */
10333
10334 /* Override any gcc2 internal prototype to avoid an error.  */
10335 #ifdef __cplusplus
10336 extern "C"
10337 #endif
10338 /* We use char because int might match the return type of a gcc2
10339    builtin and then its argument prototype would still apply.  */
10340 char dlopen ();
10341 int
10342 main ()
10343 {
10344 dlopen ();
10345   ;
10346   return 0;
10347 }
10348 _ACEOF
10349 rm -f conftest.$ac_objext conftest$ac_exeext
10350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10351   (eval $ac_link) 2>conftest.er1
10352   ac_status=$?
10353   grep -v '^ *+' conftest.er1 >conftest.err
10354   rm -f conftest.er1
10355   cat conftest.err >&5
10356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10357   (exit $ac_status); } &&
10358          { ac_try='test -z "$ac_c_werror_flag"
10359                          || test ! -s conftest.err'
10360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10361   (eval $ac_try) 2>&5
10362   ac_status=$?
10363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364   (exit $ac_status); }; } &&
10365          { ac_try='test -s conftest$ac_exeext'
10366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10367   (eval $ac_try) 2>&5
10368   ac_status=$?
10369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10370   (exit $ac_status); }; }; then
10371   ac_cv_lib_svld_dlopen=yes
10372 else
10373   echo "$as_me: failed program was:" >&5
10374 sed 's/^/| /' conftest.$ac_ext >&5
10375
10376 ac_cv_lib_svld_dlopen=no
10377 fi
10378 rm -f conftest.err conftest.$ac_objext \
10379       conftest$ac_exeext conftest.$ac_ext
10380 LIBS=$ac_check_lib_save_LIBS
10381 fi
10382 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10383 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10384 if test $ac_cv_lib_svld_dlopen = yes; then
10385   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10386 else
10387   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10388 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10389 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10390   echo $ECHO_N "(cached) $ECHO_C" >&6
10391 else
10392   ac_check_lib_save_LIBS=$LIBS
10393 LIBS="-ldld  $LIBS"
10394 if test x$gcc_no_link = xyes; then
10395   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10397    { (exit 1); exit 1; }; }
10398 fi
10399 cat >conftest.$ac_ext <<_ACEOF
10400 /* confdefs.h.  */
10401 _ACEOF
10402 cat confdefs.h >>conftest.$ac_ext
10403 cat >>conftest.$ac_ext <<_ACEOF
10404 /* end confdefs.h.  */
10405
10406 /* Override any gcc2 internal prototype to avoid an error.  */
10407 #ifdef __cplusplus
10408 extern "C"
10409 #endif
10410 /* We use char because int might match the return type of a gcc2
10411    builtin and then its argument prototype would still apply.  */
10412 char dld_link ();
10413 int
10414 main ()
10415 {
10416 dld_link ();
10417   ;
10418   return 0;
10419 }
10420 _ACEOF
10421 rm -f conftest.$ac_objext conftest$ac_exeext
10422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10423   (eval $ac_link) 2>conftest.er1
10424   ac_status=$?
10425   grep -v '^ *+' conftest.er1 >conftest.err
10426   rm -f conftest.er1
10427   cat conftest.err >&5
10428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10429   (exit $ac_status); } &&
10430          { ac_try='test -z "$ac_c_werror_flag"
10431                          || test ! -s conftest.err'
10432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10433   (eval $ac_try) 2>&5
10434   ac_status=$?
10435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436   (exit $ac_status); }; } &&
10437          { ac_try='test -s conftest$ac_exeext'
10438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10439   (eval $ac_try) 2>&5
10440   ac_status=$?
10441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10442   (exit $ac_status); }; }; then
10443   ac_cv_lib_dld_dld_link=yes
10444 else
10445   echo "$as_me: failed program was:" >&5
10446 sed 's/^/| /' conftest.$ac_ext >&5
10447
10448 ac_cv_lib_dld_dld_link=no
10449 fi
10450 rm -f conftest.err conftest.$ac_objext \
10451       conftest$ac_exeext conftest.$ac_ext
10452 LIBS=$ac_check_lib_save_LIBS
10453 fi
10454 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10455 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10456 if test $ac_cv_lib_dld_dld_link = yes; then
10457   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10458 fi
10459
10460
10461 fi
10462
10463
10464 fi
10465
10466
10467 fi
10468
10469
10470 fi
10471
10472
10473 fi
10474
10475     ;;
10476   esac
10477
10478   if test "x$lt_cv_dlopen" != xno; then
10479     enable_dlopen=yes
10480   else
10481     enable_dlopen=no
10482   fi
10483
10484   case $lt_cv_dlopen in
10485   dlopen)
10486     save_CPPFLAGS="$CPPFLAGS"
10487     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10488
10489     save_LDFLAGS="$LDFLAGS"
10490     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10491
10492     save_LIBS="$LIBS"
10493     LIBS="$lt_cv_dlopen_libs $LIBS"
10494
10495     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10496 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10497 if test "${lt_cv_dlopen_self+set}" = set; then
10498   echo $ECHO_N "(cached) $ECHO_C" >&6
10499 else
10500           if test "$cross_compiling" = yes; then :
10501   lt_cv_dlopen_self=cross
10502 else
10503   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10504   lt_status=$lt_dlunknown
10505   cat > conftest.$ac_ext <<_LT_EOF
10506 #line 10506 "configure"
10507 #include "confdefs.h"
10508
10509 #if HAVE_DLFCN_H
10510 #include <dlfcn.h>
10511 #endif
10512
10513 #include <stdio.h>
10514
10515 #ifdef RTLD_GLOBAL
10516 #  define LT_DLGLOBAL           RTLD_GLOBAL
10517 #else
10518 #  ifdef DL_GLOBAL
10519 #    define LT_DLGLOBAL         DL_GLOBAL
10520 #  else
10521 #    define LT_DLGLOBAL         0
10522 #  endif
10523 #endif
10524
10525 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10526    find out it does not work in some platform. */
10527 #ifndef LT_DLLAZY_OR_NOW
10528 #  ifdef RTLD_LAZY
10529 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10530 #  else
10531 #    ifdef DL_LAZY
10532 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10533 #    else
10534 #      ifdef RTLD_NOW
10535 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10536 #      else
10537 #        ifdef DL_NOW
10538 #          define LT_DLLAZY_OR_NOW      DL_NOW
10539 #        else
10540 #          define LT_DLLAZY_OR_NOW      0
10541 #        endif
10542 #      endif
10543 #    endif
10544 #  endif
10545 #endif
10546
10547 #ifdef __cplusplus
10548 extern "C" void exit (int);
10549 #endif
10550
10551 void fnord() { int i=42;}
10552 int main ()
10553 {
10554   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10555   int status = $lt_dlunknown;
10556
10557   if (self)
10558     {
10559       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10560       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10561       /* dlclose (self); */
10562     }
10563   else
10564     puts (dlerror ());
10565
10566     exit (status);
10567 }
10568 _LT_EOF
10569   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10570   (eval $ac_link) 2>&5
10571   ac_status=$?
10572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10573   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10574     (./conftest; exit; ) >&5 2>/dev/null
10575     lt_status=$?
10576     case x$lt_status in
10577       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10578       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10579       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10580     esac
10581   else :
10582     # compilation failed
10583     lt_cv_dlopen_self=no
10584   fi
10585 fi
10586 rm -fr conftest*
10587
10588
10589 fi
10590 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10591 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10592
10593     if test "x$lt_cv_dlopen_self" = xyes; then
10594       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10595       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10596 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10597 if test "${lt_cv_dlopen_self_static+set}" = set; then
10598   echo $ECHO_N "(cached) $ECHO_C" >&6
10599 else
10600           if test "$cross_compiling" = yes; then :
10601   lt_cv_dlopen_self_static=cross
10602 else
10603   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10604   lt_status=$lt_dlunknown
10605   cat > conftest.$ac_ext <<_LT_EOF
10606 #line 10606 "configure"
10607 #include "confdefs.h"
10608
10609 #if HAVE_DLFCN_H
10610 #include <dlfcn.h>
10611 #endif
10612
10613 #include <stdio.h>
10614
10615 #ifdef RTLD_GLOBAL
10616 #  define LT_DLGLOBAL           RTLD_GLOBAL
10617 #else
10618 #  ifdef DL_GLOBAL
10619 #    define LT_DLGLOBAL         DL_GLOBAL
10620 #  else
10621 #    define LT_DLGLOBAL         0
10622 #  endif
10623 #endif
10624
10625 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10626    find out it does not work in some platform. */
10627 #ifndef LT_DLLAZY_OR_NOW
10628 #  ifdef RTLD_LAZY
10629 #    define LT_DLLAZY_OR_NOW            RTLD_LAZY
10630 #  else
10631 #    ifdef DL_LAZY
10632 #      define LT_DLLAZY_OR_NOW          DL_LAZY
10633 #    else
10634 #      ifdef RTLD_NOW
10635 #        define LT_DLLAZY_OR_NOW        RTLD_NOW
10636 #      else
10637 #        ifdef DL_NOW
10638 #          define LT_DLLAZY_OR_NOW      DL_NOW
10639 #        else
10640 #          define LT_DLLAZY_OR_NOW      0
10641 #        endif
10642 #      endif
10643 #    endif
10644 #  endif
10645 #endif
10646
10647 #ifdef __cplusplus
10648 extern "C" void exit (int);
10649 #endif
10650
10651 void fnord() { int i=42;}
10652 int main ()
10653 {
10654   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10655   int status = $lt_dlunknown;
10656
10657   if (self)
10658     {
10659       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
10660       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10661       /* dlclose (self); */
10662     }
10663   else
10664     puts (dlerror ());
10665
10666     exit (status);
10667 }
10668 _LT_EOF
10669   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10670   (eval $ac_link) 2>&5
10671   ac_status=$?
10672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10673   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10674     (./conftest; exit; ) >&5 2>/dev/null
10675     lt_status=$?
10676     case x$lt_status in
10677       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10678       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10679       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10680     esac
10681   else :
10682     # compilation failed
10683     lt_cv_dlopen_self_static=no
10684   fi
10685 fi
10686 rm -fr conftest*
10687
10688
10689 fi
10690 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10691 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10692     fi
10693
10694     CPPFLAGS="$save_CPPFLAGS"
10695     LDFLAGS="$save_LDFLAGS"
10696     LIBS="$save_LIBS"
10697     ;;
10698   esac
10699
10700   case $lt_cv_dlopen_self in
10701   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10702   *) enable_dlopen_self=unknown ;;
10703   esac
10704
10705   case $lt_cv_dlopen_self_static in
10706   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10707   *) enable_dlopen_self_static=unknown ;;
10708   esac
10709 fi
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727 striplib=
10728 old_striplib=
10729 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10730 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10731 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10732   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10733   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10734   echo "$as_me:$LINENO: result: yes" >&5
10735 echo "${ECHO_T}yes" >&6
10736 else
10737 # FIXME - insert some real tests, host_os isn't really good enough
10738   case $host_os in
10739   darwin*)
10740     if test -n "$STRIP" ; then
10741       striplib="$STRIP -x"
10742       old_striplib="$STRIP -S"
10743       echo "$as_me:$LINENO: result: yes" >&5
10744 echo "${ECHO_T}yes" >&6
10745     else
10746       echo "$as_me:$LINENO: result: no" >&5
10747 echo "${ECHO_T}no" >&6
10748     fi
10749     ;;
10750   *)
10751     echo "$as_me:$LINENO: result: no" >&5
10752 echo "${ECHO_T}no" >&6
10753     ;;
10754   esac
10755 fi
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768   # Report which library types will actually be built
10769   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10770 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10771   echo "$as_me:$LINENO: result: $can_build_shared" >&5
10772 echo "${ECHO_T}$can_build_shared" >&6
10773
10774   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10775 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10776   test "$can_build_shared" = "no" && enable_shared=no
10777
10778   # On AIX, shared libraries and static libraries use the same namespace, and
10779   # are all built from PIC.
10780   case $host_os in
10781   aix3*)
10782     test "$enable_shared" = yes && enable_static=no
10783     if test -n "$RANLIB"; then
10784       archive_cmds="$archive_cmds~\$RANLIB \$lib"
10785       postinstall_cmds='$RANLIB $lib'
10786     fi
10787     ;;
10788
10789   aix[4-9]*)
10790     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10791       test "$enable_shared" = yes && enable_static=no
10792     fi
10793     ;;
10794   esac
10795   echo "$as_me:$LINENO: result: $enable_shared" >&5
10796 echo "${ECHO_T}$enable_shared" >&6
10797
10798   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10799 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10800   # Make sure either enable_shared or enable_static is yes.
10801   test "$enable_shared" = yes || enable_static=yes
10802   echo "$as_me:$LINENO: result: $enable_static" >&5
10803 echo "${ECHO_T}$enable_static" >&6
10804
10805
10806
10807
10808 fi
10809 ac_ext=c
10810 ac_cpp='$CPP $CPPFLAGS'
10811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10814
10815 CC="$lt_save_CC"
10816
10817
10818 ac_ext=cc
10819 ac_cpp='$CXXCPP $CPPFLAGS'
10820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10823
10824 archive_cmds_need_lc_CXX=no
10825 allow_undefined_flag_CXX=
10826 always_export_symbols_CXX=no
10827 archive_expsym_cmds_CXX=
10828 compiler_needs_object_CXX=no
10829 export_dynamic_flag_spec_CXX=
10830 hardcode_direct_CXX=no
10831 hardcode_direct_absolute_CXX=no
10832 hardcode_libdir_flag_spec_CXX=
10833 hardcode_libdir_flag_spec_ld_CXX=
10834 hardcode_libdir_separator_CXX=
10835 hardcode_minus_L_CXX=no
10836 hardcode_shlibpath_var_CXX=unsupported
10837 hardcode_automatic_CXX=no
10838 inherit_rpath_CXX=no
10839 module_cmds_CXX=
10840 module_expsym_cmds_CXX=
10841 link_all_deplibs_CXX=unknown
10842 old_archive_cmds_CXX=$old_archive_cmds
10843 no_undefined_flag_CXX=
10844 whole_archive_flag_spec_CXX=
10845 enable_shared_with_static_runtimes_CXX=no
10846
10847 # Source file extension for C++ test sources.
10848 ac_ext=cpp
10849
10850 # Object file extension for compiled C++ test sources.
10851 objext=o
10852 objext_CXX=$objext
10853
10854 # No sense in running all these tests if we already determined that
10855 # the CXX compiler isn't working.  Some variables (like enable_shared)
10856 # are currently assumed to apply to all compilers on this platform,
10857 # and will be corrupted by setting them based on a non-working compiler.
10858 if test "$_lt_caught_CXX_error" != yes; then
10859   # Code to be used in simple compile tests
10860   lt_simple_compile_test_code="int some_variable = 0;"
10861
10862   # Code to be used in simple link tests
10863   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10864
10865   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10866
10867
10868
10869
10870
10871
10872 # If no C compiler was specified, use CC.
10873 LTCC=${LTCC-"$CC"}
10874
10875 # If no C compiler flags were specified, use CFLAGS.
10876 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10877
10878 # Allow CC to be a program name with arguments.
10879 compiler=$CC
10880
10881
10882   # save warnings/boilerplate of simple test code
10883   ac_outfile=conftest.$ac_objext
10884 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10885 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10886 _lt_compiler_boilerplate=`cat conftest.err`
10887 $RM conftest*
10888
10889   ac_outfile=conftest.$ac_objext
10890 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10891 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10892 _lt_linker_boilerplate=`cat conftest.err`
10893 $RM conftest*
10894
10895
10896   # Allow CC to be a program name with arguments.
10897   lt_save_CC=$CC
10898   lt_save_LD=$LD
10899   lt_save_GCC=$GCC
10900   GCC=$GXX
10901   lt_save_with_gnu_ld=$with_gnu_ld
10902   lt_save_path_LD=$lt_cv_path_LD
10903   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10904     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10905   else
10906     $as_unset lt_cv_prog_gnu_ld
10907   fi
10908   if test -n "${lt_cv_path_LDCXX+set}"; then
10909     lt_cv_path_LD=$lt_cv_path_LDCXX
10910   else
10911     $as_unset lt_cv_path_LD
10912   fi
10913   test -z "${LDCXX+set}" || LD=$LDCXX
10914   CC=${CXX-"c++"}
10915   compiler=$CC
10916   compiler_CXX=$CC
10917   for cc_temp in $compiler""; do
10918   case $cc_temp in
10919     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10920     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10921     \-*) ;;
10922     *) break;;
10923   esac
10924 done
10925 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10926
10927
10928   if test -n "$compiler"; then
10929     # We don't want -fno-exception when compiling C++ code, so set the
10930     # no_builtin_flag separately
10931     if test "$GXX" = yes; then
10932       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10933     else
10934       lt_prog_compiler_no_builtin_flag_CXX=
10935     fi
10936
10937     if test "$GXX" = yes; then
10938       # Set up default GNU C++ configuration
10939
10940
10941
10942 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10943 if test "${with_gnu_ld+set}" = set; then
10944   withval="$with_gnu_ld"
10945   test "$withval" = no || with_gnu_ld=yes
10946 else
10947   with_gnu_ld=no
10948 fi;
10949 ac_prog=ld
10950 if test "$GCC" = yes; then
10951   # Check if gcc -print-prog-name=ld gives a path.
10952   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10953 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10954   case $host in
10955   *-*-mingw*)
10956     # gcc leaves a trailing carriage return which upsets mingw
10957     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10958   *)
10959     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10960   esac
10961   case $ac_prog in
10962     # Accept absolute paths.
10963     [\\/]* | ?:[\\/]*)
10964       re_direlt='/[^/][^/]*/\.\./'
10965       # Canonicalize the pathname of ld
10966       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10967       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10968         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10969       done
10970       test -z "$LD" && LD="$ac_prog"
10971       ;;
10972   "")
10973     # If it fails, then pretend we aren't using GCC.
10974     ac_prog=ld
10975     ;;
10976   *)
10977     # If it is relative, then search for the first ld in PATH.
10978     with_gnu_ld=unknown
10979     ;;
10980   esac
10981 elif test "$with_gnu_ld" = yes; then
10982   echo "$as_me:$LINENO: checking for GNU ld" >&5
10983 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10984 else
10985   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10986 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10987 fi
10988 if test "${lt_cv_path_LD+set}" = set; then
10989   echo $ECHO_N "(cached) $ECHO_C" >&6
10990 else
10991   if test -z "$LD"; then
10992   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10993   for ac_dir in $PATH; do
10994     IFS="$lt_save_ifs"
10995     test -z "$ac_dir" && ac_dir=.
10996     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10997       lt_cv_path_LD="$ac_dir/$ac_prog"
10998       # Check to see if the program is GNU ld.  I'd rather use --version,
10999       # but apparently some variants of GNU ld only accept -v.
11000       # Break only if it was the GNU/non-GNU ld that we prefer.
11001       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11002       *GNU* | *'with BFD'*)
11003         test "$with_gnu_ld" != no && break
11004         ;;
11005       *)
11006         test "$with_gnu_ld" != yes && break
11007         ;;
11008       esac
11009     fi
11010   done
11011   IFS="$lt_save_ifs"
11012 else
11013   lt_cv_path_LD="$LD" # Let the user override the test with a path.
11014 fi
11015 fi
11016
11017 LD="$lt_cv_path_LD"
11018 if test -n "$LD"; then
11019   echo "$as_me:$LINENO: result: $LD" >&5
11020 echo "${ECHO_T}$LD" >&6
11021 else
11022   echo "$as_me:$LINENO: result: no" >&5
11023 echo "${ECHO_T}no" >&6
11024 fi
11025 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11026 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11027    { (exit 1); exit 1; }; }
11028 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11029 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11030 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11031   echo $ECHO_N "(cached) $ECHO_C" >&6
11032 else
11033   # I'd rather use --version here, but apparently some GNU lds only accept -v.
11034 case `$LD -v 2>&1 </dev/null` in
11035 *GNU* | *'with BFD'*)
11036   lt_cv_prog_gnu_ld=yes
11037   ;;
11038 *)
11039   lt_cv_prog_gnu_ld=no
11040   ;;
11041 esac
11042 fi
11043 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11044 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11045 with_gnu_ld=$lt_cv_prog_gnu_ld
11046
11047
11048
11049
11050
11051
11052
11053       # Check if GNU C++ uses GNU ld as the underlying linker, since the
11054       # archiving commands below assume that GNU ld is being used.
11055       if test "$with_gnu_ld" = yes; then
11056         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11057         archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11058
11059         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11060         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11061
11062         # If archive_cmds runs LD, not CC, wlarc should be empty
11063         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11064         #     investigate it a little bit more. (MM)
11065         wlarc='${wl}'
11066
11067         # ancient GNU ld didn't support --whole-archive et. al.
11068         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11069           $GREP 'no-whole-archive' > /dev/null; then
11070           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11071         else
11072           whole_archive_flag_spec_CXX=
11073         fi
11074       else
11075         with_gnu_ld=no
11076         wlarc=
11077
11078         # A generic and very simple default shared library creation
11079         # command for GNU C++ for the case where it uses the native
11080         # linker, instead of GNU ld.  If possible, this setting should
11081         # overridden to take advantage of the native linker features on
11082         # the platform it is being used on.
11083         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11084       fi
11085
11086       # Commands to make compiler produce verbose output that lists
11087       # what "hidden" libraries, object files and flags are used when
11088       # linking a shared library.
11089       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11090
11091     else
11092       GXX=no
11093       with_gnu_ld=no
11094       wlarc=
11095     fi
11096
11097     # PORTME: fill in a description of your system's C++ link characteristics
11098     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11099 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11100     ld_shlibs_CXX=yes
11101     case $host_os in
11102       aix3*)
11103         # FIXME: insert proper C++ library support
11104         ld_shlibs_CXX=no
11105         ;;
11106       aix[4-9]*)
11107         if test "$host_cpu" = ia64; then
11108           # On IA64, the linker does run time linking by default, so we don't
11109           # have to do anything special.
11110           aix_use_runtimelinking=no
11111           exp_sym_flag='-Bexport'
11112           no_entry_flag=""
11113         else
11114           aix_use_runtimelinking=no
11115
11116           # Test if we are trying to use run time linking or normal
11117           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11118           # need to do runtime linking.
11119           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11120             for ld_flag in $LDFLAGS; do
11121               case $ld_flag in
11122               *-brtl*)
11123                 aix_use_runtimelinking=yes
11124                 break
11125                 ;;
11126               esac
11127             done
11128             ;;
11129           esac
11130
11131           exp_sym_flag='-bexport'
11132           no_entry_flag='-bnoentry'
11133         fi
11134
11135         # When large executables or shared objects are built, AIX ld can
11136         # have problems creating the table of contents.  If linking a library
11137         # or program results in "error TOC overflow" add -mminimal-toc to
11138         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
11139         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11140
11141         archive_cmds_CXX=''
11142         hardcode_direct_CXX=yes
11143         hardcode_direct_absolute_CXX=yes
11144         hardcode_libdir_separator_CXX=':'
11145         link_all_deplibs_CXX=yes
11146         file_list_spec_CXX='${wl}-f,'
11147
11148         if test "$GXX" = yes; then
11149           case $host_os in aix4.[012]|aix4.[012].*)
11150           # We only want to do this on AIX 4.2 and lower, the check
11151           # below for broken collect2 doesn't work under 4.3+
11152           collect2name=`${CC} -print-prog-name=collect2`
11153           if test -f "$collect2name" &&
11154              strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11155           then
11156             # We have reworked collect2
11157             :
11158           else
11159             # We have old collect2
11160             hardcode_direct_CXX=unsupported
11161             # It fails to find uninstalled libraries when the uninstalled
11162             # path is not listed in the libpath.  Setting hardcode_minus_L
11163             # to unsupported forces relinking
11164             hardcode_minus_L_CXX=yes
11165             hardcode_libdir_flag_spec_CXX='-L$libdir'
11166             hardcode_libdir_separator_CXX=
11167           fi
11168           esac
11169           shared_flag='-shared'
11170           if test "$aix_use_runtimelinking" = yes; then
11171             shared_flag="$shared_flag "'${wl}-G'
11172           fi
11173         else
11174           # not using gcc
11175           if test "$host_cpu" = ia64; then
11176           # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11177           # chokes on -Wl,-G. The following line is correct:
11178           shared_flag='-G'
11179           else
11180             if test "$aix_use_runtimelinking" = yes; then
11181               shared_flag='${wl}-G'
11182             else
11183               shared_flag='${wl}-bM:SRE'
11184             fi
11185           fi
11186         fi
11187
11188         # It seems that -bexpall does not export symbols beginning with
11189         # underscore (_), so it is better to generate a list of symbols to
11190         # export.
11191         always_export_symbols_CXX=yes
11192         if test "$aix_use_runtimelinking" = yes; then
11193           # Warning - without using the other runtime loading flags (-brtl),
11194           # -berok will link without error, but may produce a broken library.
11195           allow_undefined_flag_CXX='-berok'
11196           # Determine the default libpath from the value encoded in an empty
11197           # executable.
11198           if test x$gcc_no_link = xyes; then
11199   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11201    { (exit 1); exit 1; }; }
11202 fi
11203 cat >conftest.$ac_ext <<_ACEOF
11204 /* confdefs.h.  */
11205 _ACEOF
11206 cat confdefs.h >>conftest.$ac_ext
11207 cat >>conftest.$ac_ext <<_ACEOF
11208 /* end confdefs.h.  */
11209
11210 int
11211 main ()
11212 {
11213
11214   ;
11215   return 0;
11216 }
11217 _ACEOF
11218 rm -f conftest.$ac_objext conftest$ac_exeext
11219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11220   (eval $ac_link) 2>conftest.er1
11221   ac_status=$?
11222   grep -v '^ *+' conftest.er1 >conftest.err
11223   rm -f conftest.er1
11224   cat conftest.err >&5
11225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11226   (exit $ac_status); } &&
11227          { ac_try='test -z "$ac_cxx_werror_flag"
11228                          || test ! -s conftest.err'
11229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230   (eval $ac_try) 2>&5
11231   ac_status=$?
11232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233   (exit $ac_status); }; } &&
11234          { ac_try='test -s conftest$ac_exeext'
11235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11236   (eval $ac_try) 2>&5
11237   ac_status=$?
11238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11239   (exit $ac_status); }; }; then
11240
11241 lt_aix_libpath_sed='
11242     /Import File Strings/,/^$/ {
11243         /^0/ {
11244             s/^0  *\(.*\)$/\1/
11245             p
11246         }
11247     }'
11248 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11249 # Check for a 64-bit object if we didn't find anything.
11250 if test -z "$aix_libpath"; then
11251   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11252 fi
11253 else
11254   echo "$as_me: failed program was:" >&5
11255 sed 's/^/| /' conftest.$ac_ext >&5
11256
11257 fi
11258 rm -f conftest.err conftest.$ac_objext \
11259       conftest$ac_exeext conftest.$ac_ext
11260 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11261
11262           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11263
11264           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11265         else
11266           if test "$host_cpu" = ia64; then
11267             hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11268             allow_undefined_flag_CXX="-z nodefs"
11269             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11270           else
11271             # Determine the default libpath from the value encoded in an
11272             # empty executable.
11273             if test x$gcc_no_link = xyes; then
11274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11276    { (exit 1); exit 1; }; }
11277 fi
11278 cat >conftest.$ac_ext <<_ACEOF
11279 /* confdefs.h.  */
11280 _ACEOF
11281 cat confdefs.h >>conftest.$ac_ext
11282 cat >>conftest.$ac_ext <<_ACEOF
11283 /* end confdefs.h.  */
11284
11285 int
11286 main ()
11287 {
11288
11289   ;
11290   return 0;
11291 }
11292 _ACEOF
11293 rm -f conftest.$ac_objext conftest$ac_exeext
11294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11295   (eval $ac_link) 2>conftest.er1
11296   ac_status=$?
11297   grep -v '^ *+' conftest.er1 >conftest.err
11298   rm -f conftest.er1
11299   cat conftest.err >&5
11300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11301   (exit $ac_status); } &&
11302          { ac_try='test -z "$ac_cxx_werror_flag"
11303                          || test ! -s conftest.err'
11304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11305   (eval $ac_try) 2>&5
11306   ac_status=$?
11307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308   (exit $ac_status); }; } &&
11309          { ac_try='test -s conftest$ac_exeext'
11310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11311   (eval $ac_try) 2>&5
11312   ac_status=$?
11313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11314   (exit $ac_status); }; }; then
11315
11316 lt_aix_libpath_sed='
11317     /Import File Strings/,/^$/ {
11318         /^0/ {
11319             s/^0  *\(.*\)$/\1/
11320             p
11321         }
11322     }'
11323 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11324 # Check for a 64-bit object if we didn't find anything.
11325 if test -z "$aix_libpath"; then
11326   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11327 fi
11328 else
11329   echo "$as_me: failed program was:" >&5
11330 sed 's/^/| /' conftest.$ac_ext >&5
11331
11332 fi
11333 rm -f conftest.err conftest.$ac_objext \
11334       conftest$ac_exeext conftest.$ac_ext
11335 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11336
11337             hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11338             # Warning - without using the other run time loading flags,
11339             # -berok will link without error, but may produce a broken library.
11340             no_undefined_flag_CXX=' ${wl}-bernotok'
11341             allow_undefined_flag_CXX=' ${wl}-berok'
11342             # Exported symbols can be pulled into shared objects from archives
11343             whole_archive_flag_spec_CXX='$convenience'
11344             archive_cmds_need_lc_CXX=yes
11345             # This is similar to how AIX traditionally builds its shared
11346             # libraries.
11347             archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11348           fi
11349         fi
11350         ;;
11351
11352       beos*)
11353         if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11354           allow_undefined_flag_CXX=unsupported
11355           # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11356           # support --undefined.  This deserves some investigation.  FIXME
11357           archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11358         else
11359           ld_shlibs_CXX=no
11360         fi
11361         ;;
11362
11363       chorus*)
11364         case $cc_basename in
11365           *)
11366           # FIXME: insert proper C++ library support
11367           ld_shlibs_CXX=no
11368           ;;
11369         esac
11370         ;;
11371
11372       cygwin* | mingw* | pw32*)
11373         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11374         # as there is no search path for DLLs.
11375         hardcode_libdir_flag_spec_CXX='-L$libdir'
11376         allow_undefined_flag_CXX=unsupported
11377         always_export_symbols_CXX=no
11378         enable_shared_with_static_runtimes_CXX=yes
11379
11380         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11381           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11382           # If the export-symbols file already is a .def file (1st line
11383           # is EXPORTS), use it as is; otherwise, prepend...
11384           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11385             cp $export_symbols $output_objdir/$soname.def;
11386           else
11387             echo EXPORTS > $output_objdir/$soname.def;
11388             cat $export_symbols >> $output_objdir/$soname.def;
11389           fi~
11390           $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11391         else
11392           ld_shlibs_CXX=no
11393         fi
11394         ;;
11395       darwin* | rhapsody*)
11396         case $host_os in
11397           rhapsody* | darwin1.[012])
11398             allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11399             ;;
11400           *) # Darwin 1.3 on
11401             case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11402               10.[012])
11403                 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11404                 ;;
11405               10.*)
11406                 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11407                 ;;
11408             esac
11409             ;;
11410         esac
11411         archive_cmds_need_lc_CXX=no
11412         hardcode_direct_CXX=no
11413         hardcode_automatic_CXX=yes
11414         hardcode_shlibpath_var_CXX=unsupported
11415         whole_archive_flag_spec_CXX=''
11416         link_all_deplibs_CXX=yes
11417
11418         if test "$GXX" = yes ; then
11419           if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11420   echo $ECHO_N "(cached) $ECHO_C" >&6
11421 else
11422   lt_cv_apple_cc_single_mod=no
11423           if test -z "${LT_MULTI_MODULE}"; then
11424             # By default we will add the -single_module flag. You can override
11425             # by either setting the environment variable LT_MULTI_MODULE
11426             # non-empty at configure time, or by adding -multi-module to the
11427             # link flags.
11428             echo "int foo(void){return 1;}" > conftest.c
11429             $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11430                 -dynamiclib ${wl}-single_module conftest.c
11431             if test -f libconftest.dylib; then
11432                 lt_cv_apple_cc_single_mod=yes
11433                 rm libconftest.dylib
11434             fi
11435             rm conftest.$ac_ext
11436           fi
11437 fi
11438
11439           output_verbose_link_cmd=echo
11440           if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11441            archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11442             archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11443           else
11444             archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11445             archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11446           fi
11447           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11448           module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11449         else
11450           case $cc_basename in
11451             xlc*)
11452               output_verbose_link_cmd=echo
11453               archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO "$rpath/$soname"` $verstring'
11454               module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11455               # Don't fix this by using the ld -exported_symbols_list flag,
11456               # it doesn't exist in older darwin lds
11457               archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11458               module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11459               ;;
11460             *)
11461               ld_shlibs_CXX=no
11462               ;;
11463           esac
11464         fi
11465         ;;
11466
11467       dgux*)
11468         case $cc_basename in
11469           ec++*)
11470             # FIXME: insert proper C++ library support
11471             ld_shlibs_CXX=no
11472             ;;
11473           ghcx*)
11474             # Green Hills C++ Compiler
11475             # FIXME: insert proper C++ library support
11476             ld_shlibs_CXX=no
11477             ;;
11478           *)
11479             # FIXME: insert proper C++ library support
11480             ld_shlibs_CXX=no
11481             ;;
11482         esac
11483         ;;
11484
11485       freebsd[12]*)
11486         # C++ shared libraries reported to be fairly broken before
11487         # switch to ELF
11488         ld_shlibs_CXX=no
11489         ;;
11490
11491       freebsd-elf*)
11492         archive_cmds_need_lc_CXX=no
11493         ;;
11494
11495       freebsd* | dragonfly*)
11496         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11497         # conventions
11498         ld_shlibs_CXX=yes
11499         ;;
11500
11501       gnu*)
11502         ;;
11503
11504       hpux9*)
11505         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11506         hardcode_libdir_separator_CXX=:
11507         export_dynamic_flag_spec_CXX='${wl}-E'
11508         hardcode_direct_CXX=yes
11509         hardcode_minus_L_CXX=yes # Not in the search PATH,
11510                                              # but as the default
11511                                              # location of the library.
11512
11513         case $cc_basename in
11514           CC*)
11515             # FIXME: insert proper C++ library support
11516             ld_shlibs_CXX=no
11517             ;;
11518           aCC*)
11519             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11520             # Commands to make compiler produce verbose output that lists
11521             # what "hidden" libraries, object files and flags are used when
11522             # linking a shared library.
11523             #
11524             # There doesn't appear to be a way to prevent this compiler from
11525             # explicitly linking system object files so we need to strip them
11526             # from the output so that they don't get included in the library
11527             # dependencies.
11528             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11529             ;;
11530           *)
11531             if test "$GXX" = yes; then
11532               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11533             else
11534               # FIXME: insert proper C++ library support
11535               ld_shlibs_CXX=no
11536             fi
11537             ;;
11538         esac
11539         ;;
11540
11541       hpux10*|hpux11*)
11542         if test $with_gnu_ld = no; then
11543           hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11544           hardcode_libdir_separator_CXX=:
11545
11546           case $host_cpu in
11547             hppa*64*|ia64*)
11548               ;;
11549             *)
11550               export_dynamic_flag_spec_CXX='${wl}-E'
11551               ;;
11552           esac
11553         fi
11554         case $host_cpu in
11555           hppa*64*|ia64*)
11556             hardcode_direct_CXX=no
11557             hardcode_shlibpath_var_CXX=no
11558             ;;
11559           *)
11560             hardcode_direct_CXX=yes
11561             hardcode_direct_absolute_CXX=yes
11562             hardcode_minus_L_CXX=yes # Not in the search PATH,
11563                                                  # but as the default
11564                                                  # location of the library.
11565             ;;
11566         esac
11567
11568         case $cc_basename in
11569           CC*)
11570             # FIXME: insert proper C++ library support
11571             ld_shlibs_CXX=no
11572             ;;
11573           aCC*)
11574             case $host_cpu in
11575               hppa*64*)
11576                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11577                 ;;
11578               ia64*)
11579                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11580                 ;;
11581               *)
11582                 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11583                 ;;
11584             esac
11585             # Commands to make compiler produce verbose output that lists
11586             # what "hidden" libraries, object files and flags are used when
11587             # linking a shared library.
11588             #
11589             # There doesn't appear to be a way to prevent this compiler from
11590             # explicitly linking system object files so we need to strip them
11591             # from the output so that they don't get included in the library
11592             # dependencies.
11593             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11594             ;;
11595           *)
11596             if test "$GXX" = yes; then
11597               if test $with_gnu_ld = no; then
11598                 case $host_cpu in
11599                   hppa*64*)
11600                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11601                     ;;
11602                   ia64*)
11603                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11604                     ;;
11605                   *)
11606                     archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11607                     ;;
11608                 esac
11609               fi
11610             else
11611               # FIXME: insert proper C++ library support
11612               ld_shlibs_CXX=no
11613             fi
11614             ;;
11615         esac
11616         ;;
11617
11618       interix[3-9]*)
11619         hardcode_direct_CXX=no
11620         hardcode_shlibpath_var_CXX=no
11621         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11622         export_dynamic_flag_spec_CXX='${wl}-E'
11623         # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11624         # Instead, shared libraries are loaded at an image base (0x10000000 by
11625         # default) and relocated if they conflict, which is a slow very memory
11626         # consuming and fragmenting process.  To avoid this, we pick a random,
11627         # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11628         # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
11629         archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11630         archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11631         ;;
11632       irix5* | irix6*)
11633         case $cc_basename in
11634           CC*)
11635             # SGI C++
11636             archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11637
11638             # Archives containing C++ object files must be created using
11639             # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
11640             # necessary to make sure instantiated templates are included
11641             # in the archive.
11642             old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11643             ;;
11644           *)
11645             if test "$GXX" = yes; then
11646               if test "$with_gnu_ld" = no; then
11647                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11648               else
11649                 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
11650               fi
11651             fi
11652             link_all_deplibs_CXX=yes
11653             ;;
11654         esac
11655         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11656         hardcode_libdir_separator_CXX=:
11657         inherit_rpath_CXX=yes
11658         ;;
11659
11660       linux* | k*bsd*-gnu)
11661         case $cc_basename in
11662           KCC*)
11663             # Kuck and Associates, Inc. (KAI) C++ Compiler
11664
11665             # KCC will only create a shared library if the output file
11666             # ends with ".so" (or ".sl" for HP-UX), so rename the library
11667             # to its proper name (with version) after linking.
11668             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11669             archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11670             # Commands to make compiler produce verbose output that lists
11671             # what "hidden" libraries, object files and flags are used when
11672             # linking a shared library.
11673             #
11674             # There doesn't appear to be a way to prevent this compiler from
11675             # explicitly linking system object files so we need to strip them
11676             # from the output so that they don't get included in the library
11677             # dependencies.
11678             output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11679
11680             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11681             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11682
11683             # Archives containing C++ object files must be created using
11684             # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11685             old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11686             ;;
11687           icpc* | ecpc* )
11688             # Intel C++
11689             with_gnu_ld=yes
11690             # version 8.0 and above of icpc choke on multiply defined symbols
11691             # if we add $predep_objects and $postdep_objects, however 7.1 and
11692             # earlier do not add the objects themselves.
11693             case `$CC -V 2>&1` in
11694               *"Version 7."*)
11695                 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11696                 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11697                 ;;
11698               *)  # Version 8.0 or newer
11699                 tmp_idyn=
11700                 case $host_cpu in
11701                   ia64*) tmp_idyn=' -i_dynamic';;
11702                 esac
11703                 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11704                 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11705                 ;;
11706             esac
11707             archive_cmds_need_lc_CXX=no
11708             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11709             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11710             whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11711             ;;
11712           pgCC*)
11713             # Portland Group C++ compiler
11714             case `$CC -V` in
11715             *pgCC\ [1-5]*)
11716               prelink_cmds_CXX='tpldir=Template.dir~
11717                 rm -rf $tpldir~
11718                 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11719                 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11720               old_archive_cmds_CXX='tpldir=Template.dir~
11721                 rm -rf $tpldir~
11722                 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11723                 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11724                 $RANLIB $oldlib'
11725               archive_cmds_CXX='tpldir=Template.dir~
11726                 rm -rf $tpldir~
11727                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11728                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11729               archive_expsym_cmds_CXX='tpldir=Template.dir~
11730                 rm -rf $tpldir~
11731                 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11732                 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11733               ;;
11734             *) # Version 6 will use weak symbols
11735               archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11736               archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11737               ;;
11738             esac
11739
11740             hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11741             export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11742             whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11743             ;;
11744           cxx*)
11745             # Compaq C++
11746             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11747             archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11748
11749             runpath_var=LD_RUN_PATH
11750             hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11751             hardcode_libdir_separator_CXX=:
11752
11753             # Commands to make compiler produce verbose output that lists
11754             # what "hidden" libraries, object files and flags are used when
11755             # linking a shared library.
11756             #
11757             # There doesn't appear to be a way to prevent this compiler from
11758             # explicitly linking system object files so we need to strip them
11759             # from the output so that they don't get included in the library
11760             # dependencies.
11761             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11762             ;;
11763           *)
11764             case `$CC -V 2>&1 | sed 5q` in
11765             *Sun\ C*)
11766               # Sun C++ 5.9
11767               no_undefined_flag_CXX=' -zdefs'
11768               archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11769               archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11770               hardcode_libdir_flag_spec_CXX='-R$libdir'
11771               whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11772               compiler_needs_object_CXX=yes
11773
11774               # Not sure whether something based on
11775               # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11776               # would be better.
11777               output_verbose_link_cmd='echo'
11778
11779               # Archives containing C++ object files must be created using
11780               # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11781               # necessary to make sure instantiated templates are included
11782               # in the archive.
11783               old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11784               ;;
11785             esac
11786             ;;
11787         esac
11788         ;;
11789
11790       lynxos*)
11791         # FIXME: insert proper C++ library support
11792         ld_shlibs_CXX=no
11793         ;;
11794
11795       m88k*)
11796         # FIXME: insert proper C++ library support
11797         ld_shlibs_CXX=no
11798         ;;
11799
11800       mvs*)
11801         case $cc_basename in
11802           cxx*)
11803             # FIXME: insert proper C++ library support
11804             ld_shlibs_CXX=no
11805             ;;
11806           *)
11807             # FIXME: insert proper C++ library support
11808             ld_shlibs_CXX=no
11809             ;;
11810         esac
11811         ;;
11812
11813       netbsd*)
11814         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11815           archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11816           wlarc=
11817           hardcode_libdir_flag_spec_CXX='-R$libdir'
11818           hardcode_direct_CXX=yes
11819           hardcode_shlibpath_var_CXX=no
11820         fi
11821         # Workaround some broken pre-1.5 toolchains
11822         output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11823         ;;
11824
11825       *nto* | *qnx*)
11826         ld_shlibs_CXX=yes
11827         ;;
11828
11829       openbsd2*)
11830         # C++ shared libraries are fairly broken
11831         ld_shlibs_CXX=no
11832         ;;
11833
11834       openbsd*)
11835         hardcode_direct_CXX=yes
11836         hardcode_shlibpath_var_CXX=no
11837         hardcode_direct_absolute_CXX=yes
11838         archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11839         hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11840         if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11841           archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11842           export_dynamic_flag_spec_CXX='${wl}-E'
11843           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11844         fi
11845         output_verbose_link_cmd=echo
11846         ;;
11847
11848       osf3* | osf4* | osf5*)
11849         case $cc_basename in
11850           KCC*)
11851             # Kuck and Associates, Inc. (KAI) C++ Compiler
11852
11853             # KCC will only create a shared library if the output file
11854             # ends with ".so" (or ".sl" for HP-UX), so rename the library
11855             # to its proper name (with version) after linking.
11856             archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11857
11858             hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11859             hardcode_libdir_separator_CXX=:
11860
11861             # Archives containing C++ object files must be created using
11862             # the KAI C++ compiler.
11863             case $host in
11864               osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11865               *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11866             esac
11867             ;;
11868           RCC*)
11869             # Rational C++ 2.4.1
11870             # FIXME: insert proper C++ library support
11871             ld_shlibs_CXX=no
11872             ;;
11873           cxx*)
11874             case $host in
11875               osf3*)
11876                 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11877                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11878                 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11879                 ;;
11880               *)
11881                 allow_undefined_flag_CXX=' -expect_unresolved \*'
11882                 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11883                 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11884                   echo "-hidden">> $lib.exp~
11885                   $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
11886                   $RM $lib.exp'
11887                 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11888                 ;;
11889             esac
11890
11891             hardcode_libdir_separator_CXX=:
11892
11893             # Commands to make compiler produce verbose output that lists
11894             # what "hidden" libraries, object files and flags are used when
11895             # linking a shared library.
11896             #
11897             # There doesn't appear to be a way to prevent this compiler from
11898             # explicitly linking system object files so we need to strip them
11899             # from the output so that they don't get included in the library
11900             # dependencies.
11901             output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11902             ;;
11903           *)
11904             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11905               allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11906               case $host in
11907                 osf3*)
11908                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11909                   ;;
11910                 *)
11911                   archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11912                   ;;
11913               esac
11914
11915               hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11916               hardcode_libdir_separator_CXX=:
11917
11918               # Commands to make compiler produce verbose output that lists
11919               # what "hidden" libraries, object files and flags are used when
11920               # linking a shared library.
11921               output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11922
11923             else
11924               # FIXME: insert proper C++ library support
11925               ld_shlibs_CXX=no
11926             fi
11927             ;;
11928         esac
11929         ;;
11930
11931       psos*)
11932         # FIXME: insert proper C++ library support
11933         ld_shlibs_CXX=no
11934         ;;
11935
11936       sunos4*)
11937         case $cc_basename in
11938           CC*)
11939             # Sun C++ 4.x
11940             # FIXME: insert proper C++ library support
11941             ld_shlibs_CXX=no
11942             ;;
11943           lcc*)
11944             # Lucid
11945             # FIXME: insert proper C++ library support
11946             ld_shlibs_CXX=no
11947             ;;
11948           *)
11949             # FIXME: insert proper C++ library support
11950             ld_shlibs_CXX=no
11951             ;;
11952         esac
11953         ;;
11954
11955       solaris*)
11956         case $cc_basename in
11957           CC*)
11958             # Sun C++ 4.2, 5.x and Centerline C++
11959             archive_cmds_need_lc_CXX=yes
11960             no_undefined_flag_CXX=' -zdefs'
11961             archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11962             archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11963               $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11964
11965             hardcode_libdir_flag_spec_CXX='-R$libdir'
11966             hardcode_shlibpath_var_CXX=no
11967             case $host_os in
11968               solaris2.[0-5] | solaris2.[0-5].*) ;;
11969               *)
11970                 # The compiler driver will combine and reorder linker options,
11971                 # but understands `-z linker_flag'.
11972                 # Supported since Solaris 2.6 (maybe 2.5.1?)
11973                 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11974                 ;;
11975             esac
11976             link_all_deplibs_CXX=yes
11977
11978             output_verbose_link_cmd='echo'
11979
11980             # Archives containing C++ object files must be created using
11981             # "CC -xar", where "CC" is the Sun C++ compiler.  This is
11982             # necessary to make sure instantiated templates are included
11983             # in the archive.
11984             old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11985             ;;
11986           gcx*)
11987             # Green Hills C++ Compiler
11988             archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11989
11990             # The C++ compiler must be used to create the archive.
11991             old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11992             ;;
11993           *)
11994             # GNU C++ compiler with Solaris linker
11995             if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11996               no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11997               if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11998                 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11999                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12000                   $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12001
12002                 # Commands to make compiler produce verbose output that lists
12003                 # what "hidden" libraries, object files and flags are used when
12004                 # linking a shared library.
12005                 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12006               else
12007                 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12008                 # platform.
12009                 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12010                 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12011                   $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12012
12013                 # Commands to make compiler produce verbose output that lists
12014                 # what "hidden" libraries, object files and flags are used when
12015                 # linking a shared library.
12016                 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12017               fi
12018
12019               hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12020               case $host_os in
12021                 solaris2.[0-5] | solaris2.[0-5].*) ;;
12022                 *)
12023                   whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12024                   ;;
12025               esac
12026             fi
12027             ;;
12028         esac
12029         ;;
12030
12031     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12032       no_undefined_flag_CXX='${wl}-z,text'
12033       archive_cmds_need_lc_CXX=no
12034       hardcode_shlibpath_var_CXX=no
12035       runpath_var='LD_RUN_PATH'
12036
12037       case $cc_basename in
12038         CC*)
12039           archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12040           archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12041           ;;
12042         *)
12043           archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12044           archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12045           ;;
12046       esac
12047       ;;
12048
12049       sysv5* | sco3.2v5* | sco5v6*)
12050         # Note: We can NOT use -z defs as we might desire, because we do not
12051         # link with -lc, and that would cause any symbols used from libc to
12052         # always be unresolved, which means just about no library would
12053         # ever link correctly.  If we're not using GNU ld we use -z text
12054         # though, which does catch some bad symbols but isn't as heavy-handed
12055         # as -z defs.
12056         no_undefined_flag_CXX='${wl}-z,text'
12057         allow_undefined_flag_CXX='${wl}-z,nodefs'
12058         archive_cmds_need_lc_CXX=no
12059         hardcode_shlibpath_var_CXX=no
12060         hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12061         hardcode_libdir_separator_CXX=':'
12062         link_all_deplibs_CXX=yes
12063         export_dynamic_flag_spec_CXX='${wl}-Bexport'
12064         runpath_var='LD_RUN_PATH'
12065
12066         case $cc_basename in
12067           CC*)
12068             archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12069             archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12070             ;;
12071           *)
12072             archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12073             archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12074             ;;
12075         esac
12076       ;;
12077
12078       tandem*)
12079         case $cc_basename in
12080           NCC*)
12081             # NonStop-UX NCC 3.20
12082             # FIXME: insert proper C++ library support
12083             ld_shlibs_CXX=no
12084             ;;
12085           *)
12086             # FIXME: insert proper C++ library support
12087             ld_shlibs_CXX=no
12088             ;;
12089         esac
12090         ;;
12091
12092       vxworks*)
12093         # FIXME: insert proper C++ library support
12094         ld_shlibs_CXX=no
12095         ;;
12096
12097       *)
12098         # FIXME: insert proper C++ library support
12099         ld_shlibs_CXX=no
12100         ;;
12101     esac
12102
12103     echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12104 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12105     test "$ld_shlibs_CXX" = no && can_build_shared=no
12106
12107     GCC_CXX="$GXX"
12108     LD_CXX="$LD"
12109
12110     ## CAVEAT EMPTOR:
12111     ## There is no encapsulation within the following macros, do not change
12112     ## the running order or otherwise move them around unless you know exactly
12113     ## what you are doing...
12114     # Dependencies to place before and after the object being linked:
12115 predep_objects_CXX=
12116 postdep_objects_CXX=
12117 predeps_CXX=
12118 postdeps_CXX=
12119 compiler_lib_search_path_CXX=
12120
12121 cat > conftest.$ac_ext <<_LT_EOF
12122 class Foo
12123 {
12124 public:
12125   Foo (void) { a = 0; }
12126 private:
12127   int a;
12128 };
12129 _LT_EOF
12130
12131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12132   (eval $ac_compile) 2>&5
12133   ac_status=$?
12134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12135   (exit $ac_status); }; then
12136   # Parse the compiler output and extract the necessary
12137   # objects, libraries and library flags.
12138
12139   # Sentinel used to keep track of whether or not we are before
12140   # the conftest object file.
12141   pre_test_object_deps_done=no
12142
12143   # The `*' in the case matches for architectures that use `case' in
12144   # $output_verbose_cmd can trigger glob expansion during the loop
12145   # eval without this substitution.
12146   output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12147
12148   for p in `eval $output_verbose_link_cmd`; do
12149     case $p in
12150
12151     -L* | -R* | -l*)
12152        # Some compilers place space between "-{L,R}" and the path.
12153        # Remove the space.
12154        if test $p = "-L" ||
12155           test $p = "-R"; then
12156          prev=$p
12157          continue
12158        else
12159          prev=
12160        fi
12161
12162        if test "$pre_test_object_deps_done" = no; then
12163          case $p in
12164          -L* | -R*)
12165            # Internal compiler library paths should come after those
12166            # provided the user.  The postdeps already come after the
12167            # user supplied libs so there is no need to process them.
12168            if test -z "$compiler_lib_search_path_CXX"; then
12169              compiler_lib_search_path_CXX="${prev}${p}"
12170            else
12171              compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12172            fi
12173            ;;
12174          # The "-l" case would never come before the object being
12175          # linked, so don't bother handling this case.
12176          esac
12177        else
12178          if test -z "$postdeps_CXX"; then
12179            postdeps_CXX="${prev}${p}"
12180          else
12181            postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12182          fi
12183        fi
12184        ;;
12185
12186     *.$objext)
12187        # This assumes that the test object file only shows up
12188        # once in the compiler output.
12189        if test "$p" = "conftest.$objext"; then
12190          pre_test_object_deps_done=yes
12191          continue
12192        fi
12193
12194        if test "$pre_test_object_deps_done" = no; then
12195          if test -z "$predep_objects_CXX"; then
12196            predep_objects_CXX="$p"
12197          else
12198            predep_objects_CXX="$predep_objects_CXX $p"
12199          fi
12200        else
12201          if test -z "$postdep_objects_CXX"; then
12202            postdep_objects_CXX="$p"
12203          else
12204            postdep_objects_CXX="$postdep_objects_CXX $p"
12205          fi
12206        fi
12207        ;;
12208
12209     *) ;; # Ignore the rest.
12210
12211     esac
12212   done
12213
12214   # Clean up.
12215   rm -f a.out a.exe
12216 else
12217   echo "libtool.m4: error: problem compiling CXX test program"
12218 fi
12219
12220 $RM -f confest.$objext
12221
12222 # PORTME: override above test on systems where it is broken
12223 case $host_os in
12224 interix[3-9]*)
12225   # Interix 3.5 installs completely hosed .la files for C++, so rather than
12226   # hack all around it, let's just trust "g++" to DTRT.
12227   predep_objects_CXX=
12228   postdep_objects_CXX=
12229   postdeps_CXX=
12230   ;;
12231
12232 linux*)
12233   case `$CC -V 2>&1 | sed 5q` in
12234   *Sun\ C*)
12235     # Sun C++ 5.9
12236
12237     # The more standards-conforming stlport4 library is
12238     # incompatible with the Cstd library. Avoid specifying
12239     # it if it's in CXXFLAGS. Ignore libCrun as
12240     # -library=stlport4 depends on it.
12241     case " $CXX $CXXFLAGS " in
12242     *" -library=stlport4 "*)
12243       solaris_use_stlport4=yes
12244       ;;
12245     esac
12246
12247     if test "$solaris_use_stlport4" != yes; then
12248       postdeps_CXX='-library=Cstd -library=Crun'
12249     fi
12250     ;;
12251   esac
12252   ;;
12253
12254 solaris*)
12255   case $cc_basename in
12256   CC*)
12257     # The more standards-conforming stlport4 library is
12258     # incompatible with the Cstd library. Avoid specifying
12259     # it if it's in CXXFLAGS. Ignore libCrun as
12260     # -library=stlport4 depends on it.
12261     case " $CXX $CXXFLAGS " in
12262     *" -library=stlport4 "*)
12263       solaris_use_stlport4=yes
12264       ;;
12265     esac
12266
12267     # Adding this requires a known-good setup of shared libraries for
12268     # Sun compiler versions before 5.6, else PIC objects from an old
12269     # archive will be linked into the output, leading to subtle bugs.
12270     if test "$solaris_use_stlport4" != yes; then
12271       postdeps_CXX='-library=Cstd -library=Crun'
12272     fi
12273     ;;
12274   esac
12275   ;;
12276 esac
12277
12278
12279 case " $postdeps_CXX " in
12280 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12281 esac
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308     lt_prog_compiler_wl_CXX=
12309 lt_prog_compiler_pic_CXX=
12310 lt_prog_compiler_static_CXX=
12311
12312 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12313 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12314
12315   # C++ specific cases for pic, static, wl, etc.
12316   if test "$GXX" = yes; then
12317     lt_prog_compiler_wl_CXX='-Wl,'
12318     lt_prog_compiler_static_CXX='-static'
12319
12320     case $host_os in
12321     aix*)
12322       # All AIX code is PIC.
12323       if test "$host_cpu" = ia64; then
12324         # AIX 5 now supports IA64 processor
12325         lt_prog_compiler_static_CXX='-Bstatic'
12326       fi
12327       ;;
12328     amigaos*)
12329       if test "$host_cpu" = m68k; then
12330         # FIXME: we need at least 68020 code to build shared libraries, but
12331         # adding the `-m68020' flag to GCC prevents building anything better,
12332         # like `-m68040'.
12333         lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12334       fi
12335       ;;
12336     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12337       # PIC is the default for these OSes.
12338       ;;
12339     mingw* | cygwin* | os2* | pw32*)
12340       # This hack is so that the source file can tell whether it is being
12341       # built for inclusion in a dll (and should export symbols for example).
12342       # Although the cygwin gcc ignores -fPIC, still need this for old-style
12343       # (--disable-auto-import) libraries
12344       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12345       ;;
12346     darwin* | rhapsody*)
12347       # PIC is the default on this platform
12348       # Common symbols not allowed in MH_DYLIB files
12349       lt_prog_compiler_pic_CXX='-fno-common'
12350       ;;
12351     *djgpp*)
12352       # DJGPP does not support shared libraries at all
12353       lt_prog_compiler_pic_CXX=
12354       ;;
12355     interix[3-9]*)
12356       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12357       # Instead, we relocate shared libraries at runtime.
12358       ;;
12359     sysv4*MP*)
12360       if test -d /usr/nec; then
12361         lt_prog_compiler_pic_CXX=-Kconform_pic
12362       fi
12363       ;;
12364     hpux*)
12365       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12366       # not for PA HP-UX.
12367       case $host_cpu in
12368       hppa*64*|ia64*)
12369         ;;
12370       *)
12371         lt_prog_compiler_pic_CXX='-fPIC'
12372         ;;
12373       esac
12374       ;;
12375     *qnx* | *nto*)
12376       # QNX uses GNU C++, but need to define -shared option too, otherwise
12377       # it will coredump.
12378       lt_prog_compiler_pic_CXX='-fPIC -shared'
12379       ;;
12380     *)
12381       lt_prog_compiler_pic_CXX='-fPIC'
12382       ;;
12383     esac
12384   else
12385     case $host_os in
12386       aix[4-9]*)
12387         # All AIX code is PIC.
12388         if test "$host_cpu" = ia64; then
12389           # AIX 5 now supports IA64 processor
12390           lt_prog_compiler_static_CXX='-Bstatic'
12391         else
12392           lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12393         fi
12394         ;;
12395       chorus*)
12396         case $cc_basename in
12397         cxch68*)
12398           # Green Hills C++ Compiler
12399           # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12400           ;;
12401         esac
12402         ;;
12403       darwin*)
12404         # PIC is the default on this platform
12405         # Common symbols not allowed in MH_DYLIB files
12406         case $cc_basename in
12407           xlc*)
12408           lt_prog_compiler_pic_CXX='-qnocommon'
12409           lt_prog_compiler_wl_CXX='-Wl,'
12410           ;;
12411         esac
12412         ;;
12413       dgux*)
12414         case $cc_basename in
12415           ec++*)
12416             lt_prog_compiler_pic_CXX='-KPIC'
12417             ;;
12418           ghcx*)
12419             # Green Hills C++ Compiler
12420             lt_prog_compiler_pic_CXX='-pic'
12421             ;;
12422           *)
12423             ;;
12424         esac
12425         ;;
12426       freebsd* | dragonfly*)
12427         # FreeBSD uses GNU C++
12428         ;;
12429       hpux9* | hpux10* | hpux11*)
12430         case $cc_basename in
12431           CC*)
12432             lt_prog_compiler_wl_CXX='-Wl,'
12433             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12434             if test "$host_cpu" != ia64; then
12435               lt_prog_compiler_pic_CXX='+Z'
12436             fi
12437             ;;
12438           aCC*)
12439             lt_prog_compiler_wl_CXX='-Wl,'
12440             lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12441             case $host_cpu in
12442             hppa*64*|ia64*)
12443               # +Z the default
12444               ;;
12445             *)
12446               lt_prog_compiler_pic_CXX='+Z'
12447               ;;
12448             esac
12449             ;;
12450           *)
12451             ;;
12452         esac
12453         ;;
12454       interix*)
12455         # This is c89, which is MS Visual C++ (no shared libs)
12456         # Anyone wants to do a port?
12457         ;;
12458       irix5* | irix6* | nonstopux*)
12459         case $cc_basename in
12460           CC*)
12461             lt_prog_compiler_wl_CXX='-Wl,'
12462             lt_prog_compiler_static_CXX='-non_shared'
12463             # CC pic flag -KPIC is the default.
12464             ;;
12465           *)
12466             ;;
12467         esac
12468         ;;
12469       linux* | k*bsd*-gnu)
12470         case $cc_basename in
12471           KCC*)
12472             # KAI C++ Compiler
12473             lt_prog_compiler_wl_CXX='--backend -Wl,'
12474             lt_prog_compiler_pic_CXX='-fPIC'
12475             ;;
12476           icpc* | ecpc* )
12477             # Intel C++
12478             lt_prog_compiler_wl_CXX='-Wl,'
12479             lt_prog_compiler_pic_CXX='-KPIC'
12480             lt_prog_compiler_static_CXX='-static'
12481             ;;
12482           pgCC*)
12483             # Portland Group C++ compiler
12484             lt_prog_compiler_wl_CXX='-Wl,'
12485             lt_prog_compiler_pic_CXX='-fpic'
12486             lt_prog_compiler_static_CXX='-Bstatic'
12487             ;;
12488           cxx*)
12489             # Compaq C++
12490             # Make sure the PIC flag is empty.  It appears that all Alpha
12491             # Linux and Compaq Tru64 Unix objects are PIC.
12492             lt_prog_compiler_pic_CXX=
12493             lt_prog_compiler_static_CXX='-non_shared'
12494             ;;
12495           *)
12496             case `$CC -V 2>&1 | sed 5q` in
12497             *Sun\ C*)
12498               # Sun C++ 5.9
12499               lt_prog_compiler_pic_CXX='-KPIC'
12500               lt_prog_compiler_static_CXX='-Bstatic'
12501               lt_prog_compiler_wl_CXX='-Qoption ld '
12502               ;;
12503             esac
12504             ;;
12505         esac
12506         ;;
12507       lynxos*)
12508         ;;
12509       m88k*)
12510         ;;
12511       mvs*)
12512         case $cc_basename in
12513           cxx*)
12514             lt_prog_compiler_pic_CXX='-W c,exportall'
12515             ;;
12516           *)
12517             ;;
12518         esac
12519         ;;
12520       netbsd*)
12521         ;;
12522       *qnx* | *nto*)
12523         # QNX uses GNU C++, but need to define -shared option too, otherwise
12524         # it will coredump.
12525         lt_prog_compiler_pic_CXX='-fPIC -shared'
12526         ;;
12527       osf3* | osf4* | osf5*)
12528         case $cc_basename in
12529           KCC*)
12530             lt_prog_compiler_wl_CXX='--backend -Wl,'
12531             ;;
12532           RCC*)
12533             # Rational C++ 2.4.1
12534             lt_prog_compiler_pic_CXX='-pic'
12535             ;;
12536           cxx*)
12537             # Digital/Compaq C++
12538             lt_prog_compiler_wl_CXX='-Wl,'
12539             # Make sure the PIC flag is empty.  It appears that all Alpha
12540             # Linux and Compaq Tru64 Unix objects are PIC.
12541             lt_prog_compiler_pic_CXX=
12542             lt_prog_compiler_static_CXX='-non_shared'
12543             ;;
12544           *)
12545             ;;
12546         esac
12547         ;;
12548       psos*)
12549         ;;
12550       solaris*)
12551         case $cc_basename in
12552           CC*)
12553             # Sun C++ 4.2, 5.x and Centerline C++
12554             lt_prog_compiler_pic_CXX='-KPIC'
12555             lt_prog_compiler_static_CXX='-Bstatic'
12556             lt_prog_compiler_wl_CXX='-Qoption ld '
12557             ;;
12558           gcx*)
12559             # Green Hills C++ Compiler
12560             lt_prog_compiler_pic_CXX='-PIC'
12561             ;;
12562           *)
12563             ;;
12564         esac
12565         ;;
12566       sunos4*)
12567         case $cc_basename in
12568           CC*)
12569             # Sun C++ 4.x
12570             lt_prog_compiler_pic_CXX='-pic'
12571             lt_prog_compiler_static_CXX='-Bstatic'
12572             ;;
12573           lcc*)
12574             # Lucid
12575             lt_prog_compiler_pic_CXX='-pic'
12576             ;;
12577           *)
12578             ;;
12579         esac
12580         ;;
12581       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12582         case $cc_basename in
12583           CC*)
12584             lt_prog_compiler_wl_CXX='-Wl,'
12585             lt_prog_compiler_pic_CXX='-KPIC'
12586             lt_prog_compiler_static_CXX='-Bstatic'
12587             ;;
12588         esac
12589         ;;
12590       tandem*)
12591         case $cc_basename in
12592           NCC*)
12593             # NonStop-UX NCC 3.20
12594             lt_prog_compiler_pic_CXX='-KPIC'
12595             ;;
12596           *)
12597             ;;
12598         esac
12599         ;;
12600       vxworks*)
12601         ;;
12602       *)
12603         lt_prog_compiler_can_build_shared_CXX=no
12604         ;;
12605     esac
12606   fi
12607
12608 case $host_os in
12609   # For platforms which do not support PIC, -DPIC is meaningless:
12610   *djgpp*)
12611     lt_prog_compiler_pic_CXX=
12612     ;;
12613   *)
12614     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12615     ;;
12616 esac
12617 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12618 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12619
12620
12621
12622 #
12623 # Check to make sure the PIC flag actually works.
12624 #
12625 if test -n "$lt_prog_compiler_pic_CXX"; then
12626   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12627 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12628 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12629   echo $ECHO_N "(cached) $ECHO_C" >&6
12630 else
12631   lt_prog_compiler_pic_works_CXX=no
12632    ac_outfile=conftest.$ac_objext
12633    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12634    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12635    # Insert the option either (1) after the last *FLAGS variable, or
12636    # (2) before a word containing "conftest.", or (3) at the end.
12637    # Note that $ac_compile itself does not contain backslashes and begins
12638    # with a dollar sign (not a hyphen), so the echo should work correctly.
12639    # The option is referenced via a variable to avoid confusing sed.
12640    lt_compile=`echo "$ac_compile" | $SED \
12641    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12642    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12643    -e 's:$: $lt_compiler_flag:'`
12644    (eval echo "\"\$as_me:12644: $lt_compile\"" >&5)
12645    (eval "$lt_compile" 2>conftest.err)
12646    ac_status=$?
12647    cat conftest.err >&5
12648    echo "$as_me:12648: \$? = $ac_status" >&5
12649    if (exit $ac_status) && test -s "$ac_outfile"; then
12650      # The compiler can only warn and ignore the option if not recognized
12651      # So say no if there are warnings other than the usual output.
12652      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12653      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12654      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12655        lt_prog_compiler_pic_works_CXX=yes
12656      fi
12657    fi
12658    $RM conftest*
12659
12660 fi
12661 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12662 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12663
12664 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12665     case $lt_prog_compiler_pic_CXX in
12666      "" | " "*) ;;
12667      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12668      esac
12669 else
12670     lt_prog_compiler_pic_CXX=
12671      lt_prog_compiler_can_build_shared_CXX=no
12672 fi
12673
12674 fi
12675
12676
12677
12678 #
12679 # Check to make sure the static flag actually works.
12680 #
12681 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12682 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12683 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12684 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12685   echo $ECHO_N "(cached) $ECHO_C" >&6
12686 else
12687   lt_prog_compiler_static_works_CXX=no
12688    save_LDFLAGS="$LDFLAGS"
12689    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12690    echo "$lt_simple_link_test_code" > conftest.$ac_ext
12691    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12692      # The linker can only warn and ignore the option if not recognized
12693      # So say no if there are warnings
12694      if test -s conftest.err; then
12695        # Append any errors to the config.log.
12696        cat conftest.err 1>&5
12697        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12698        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12699        if diff conftest.exp conftest.er2 >/dev/null; then
12700          lt_prog_compiler_static_works_CXX=yes
12701        fi
12702      else
12703        lt_prog_compiler_static_works_CXX=yes
12704      fi
12705    fi
12706    $RM conftest*
12707    LDFLAGS="$save_LDFLAGS"
12708
12709 fi
12710 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12711 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12712
12713 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12714     :
12715 else
12716     lt_prog_compiler_static_CXX=
12717 fi
12718
12719
12720
12721
12722     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12723 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12724 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12725   echo $ECHO_N "(cached) $ECHO_C" >&6
12726 else
12727   lt_cv_prog_compiler_c_o_CXX=no
12728    $RM -r conftest 2>/dev/null
12729    mkdir conftest
12730    cd conftest
12731    mkdir out
12732    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12733
12734    lt_compiler_flag="-o out/conftest2.$ac_objext"
12735    # Insert the option either (1) after the last *FLAGS variable, or
12736    # (2) before a word containing "conftest.", or (3) at the end.
12737    # Note that $ac_compile itself does not contain backslashes and begins
12738    # with a dollar sign (not a hyphen), so the echo should work correctly.
12739    lt_compile=`echo "$ac_compile" | $SED \
12740    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12741    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12742    -e 's:$: $lt_compiler_flag:'`
12743    (eval echo "\"\$as_me:12743: $lt_compile\"" >&5)
12744    (eval "$lt_compile" 2>out/conftest.err)
12745    ac_status=$?
12746    cat out/conftest.err >&5
12747    echo "$as_me:12747: \$? = $ac_status" >&5
12748    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12749    then
12750      # The compiler can only warn and ignore the option if not recognized
12751      # So say no if there are warnings
12752      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12753      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12754      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12755        lt_cv_prog_compiler_c_o_CXX=yes
12756      fi
12757    fi
12758    chmod u+w . 2>&5
12759    $RM conftest*
12760    # SGI C++ compiler will create directory out/ii_files/ for
12761    # template instantiation
12762    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12763    $RM out/* && rmdir out
12764    cd ..
12765    $RM -r conftest
12766    $RM conftest*
12767
12768 fi
12769 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12770 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12771
12772
12773
12774     echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12775 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12776 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12777   echo $ECHO_N "(cached) $ECHO_C" >&6
12778 else
12779   lt_cv_prog_compiler_c_o_CXX=no
12780    $RM -r conftest 2>/dev/null
12781    mkdir conftest
12782    cd conftest
12783    mkdir out
12784    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12785
12786    lt_compiler_flag="-o out/conftest2.$ac_objext"
12787    # Insert the option either (1) after the last *FLAGS variable, or
12788    # (2) before a word containing "conftest.", or (3) at the end.
12789    # Note that $ac_compile itself does not contain backslashes and begins
12790    # with a dollar sign (not a hyphen), so the echo should work correctly.
12791    lt_compile=`echo "$ac_compile" | $SED \
12792    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12793    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12794    -e 's:$: $lt_compiler_flag:'`
12795    (eval echo "\"\$as_me:12795: $lt_compile\"" >&5)
12796    (eval "$lt_compile" 2>out/conftest.err)
12797    ac_status=$?
12798    cat out/conftest.err >&5
12799    echo "$as_me:12799: \$? = $ac_status" >&5
12800    if (exit $ac_status) && test -s out/conftest2.$ac_objext
12801    then
12802      # The compiler can only warn and ignore the option if not recognized
12803      # So say no if there are warnings
12804      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12805      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12806      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12807        lt_cv_prog_compiler_c_o_CXX=yes
12808      fi
12809    fi
12810    chmod u+w . 2>&5
12811    $RM conftest*
12812    # SGI C++ compiler will create directory out/ii_files/ for
12813    # template instantiation
12814    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12815    $RM out/* && rmdir out
12816    cd ..
12817    $RM -r conftest
12818    $RM conftest*
12819
12820 fi
12821 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12822 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12823
12824
12825
12826
12827 hard_links="nottested"
12828 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12829   # do not overwrite the value of need_locks provided by the user
12830   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12831 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12832   hard_links=yes
12833   $RM conftest*
12834   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12835   touch conftest.a
12836   ln conftest.a conftest.b 2>&5 || hard_links=no
12837   ln conftest.a conftest.b 2>/dev/null && hard_links=no
12838   echo "$as_me:$LINENO: result: $hard_links" >&5
12839 echo "${ECHO_T}$hard_links" >&6
12840   if test "$hard_links" = no; then
12841     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12842 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12843     need_locks=warn
12844   fi
12845 else
12846   need_locks=no
12847 fi
12848
12849
12850
12851     echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12852 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12853
12854   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12855   case $host_os in
12856   aix[4-9]*)
12857     # If we're using GNU nm, then we don't want the "-C" option.
12858     # -C means demangle to AIX nm, but means don't demangle with GNU nm
12859     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12860       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12861     else
12862       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12863     fi
12864     ;;
12865   pw32*)
12866     export_symbols_cmds_CXX="$ltdll_cmds"
12867   ;;
12868   cygwin* | mingw*)
12869     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
12870   ;;
12871   *)
12872     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12873   ;;
12874   esac
12875
12876 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12877 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12878 test "$ld_shlibs_CXX" = no && can_build_shared=no
12879
12880 with_gnu_ld_CXX=$with_gnu_ld
12881
12882
12883
12884
12885
12886
12887 #
12888 # Do we need to explicitly link libc?
12889 #
12890 case "x$archive_cmds_need_lc_CXX" in
12891 x|xyes)
12892   # Assume -lc should be added
12893   archive_cmds_need_lc_CXX=yes
12894
12895   if test "$enable_shared" = yes && test "$GCC" = yes; then
12896     case $archive_cmds_CXX in
12897     *'~'*)
12898       # FIXME: we may have to deal with multi-command sequences.
12899       ;;
12900     '$CC '*)
12901       # Test whether the compiler implicitly links with -lc since on some
12902       # systems, -lgcc has to come before -lc. If gcc already passes -lc
12903       # to ld, don't add -lc before -lgcc.
12904       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12905 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12906       $RM conftest*
12907       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12908
12909       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12910   (eval $ac_compile) 2>&5
12911   ac_status=$?
12912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12913   (exit $ac_status); } 2>conftest.err; then
12914         soname=conftest
12915         lib=conftest
12916         libobjs=conftest.$ac_objext
12917         deplibs=
12918         wl=$lt_prog_compiler_wl_CXX
12919         pic_flag=$lt_prog_compiler_pic_CXX
12920         compiler_flags=-v
12921         linker_flags=-v
12922         verstring=
12923         output_objdir=.
12924         libname=conftest
12925         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12926         allow_undefined_flag_CXX=
12927         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12928   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12929   ac_status=$?
12930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931   (exit $ac_status); }
12932         then
12933           archive_cmds_need_lc_CXX=no
12934         else
12935           archive_cmds_need_lc_CXX=yes
12936         fi
12937         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12938       else
12939         cat conftest.err 1>&5
12940       fi
12941       $RM conftest*
12942       echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12943 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12944       ;;
12945     esac
12946   fi
12947   ;;
12948 esac
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013     echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13014 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13015 withGCC=$GXX
13016 library_names_spec=
13017 libname_spec='lib$name'
13018 soname_spec=
13019 shrext_cmds=".so"
13020 postinstall_cmds=
13021 postuninstall_cmds=
13022 finish_cmds=
13023 finish_eval=
13024 shlibpath_var=
13025 shlibpath_overrides_runpath=unknown
13026 version_type=none
13027 dynamic_linker="$host_os ld.so"
13028 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13029 need_lib_prefix=unknown
13030 hardcode_into_libs=no
13031
13032 # when you set need_version to no, make sure it does not cause -set_version
13033 # flags to be left without arguments
13034 need_version=unknown
13035
13036 case $host_os in
13037 aix3*)
13038   version_type=linux
13039   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13040   shlibpath_var=LIBPATH
13041
13042   # AIX 3 has no versioning support, so we append a major version to the name.
13043   soname_spec='${libname}${release}${shared_ext}$major'
13044   ;;
13045
13046 aix[4-9]*)
13047   version_type=linux
13048   need_lib_prefix=no
13049   need_version=no
13050   hardcode_into_libs=yes
13051   if test "$host_cpu" = ia64; then
13052     # AIX 5 supports IA64
13053     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13054     shlibpath_var=LD_LIBRARY_PATH
13055   else
13056     # With GCC up to 2.95.x, collect2 would create an import file
13057     # for dependence libraries.  The import file would start with
13058     # the line `#! .'.  This would cause the generated library to
13059     # depend on `.', always an invalid library.  This was fixed in
13060     # development snapshots of GCC prior to 3.0.
13061     case $host_os in
13062       aix4 | aix4.[01] | aix4.[01].*)
13063       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13064            echo ' yes '
13065            echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13066         :
13067       else
13068         can_build_shared=no
13069       fi
13070       ;;
13071     esac
13072     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13073     # soname into executable. Probably we can add versioning support to
13074     # collect2, so additional links can be useful in future.
13075     if test "$aix_use_runtimelinking" = yes; then
13076       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13077       # instead of lib<name>.a to let people know that these are not
13078       # typical AIX shared libraries.
13079       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13080     else
13081       # We preserve .a as extension for shared libraries through AIX4.2
13082       # and later when we are not doing run time linking.
13083       library_names_spec='${libname}${release}.a $libname.a'
13084       soname_spec='${libname}${release}${shared_ext}$major'
13085     fi
13086     shlibpath_var=LIBPATH
13087   fi
13088   ;;
13089
13090 amigaos*)
13091   if test "$host_cpu" = m68k; then
13092     library_names_spec='$libname.ixlibrary $libname.a'
13093     # Create ${libname}_ixlibrary.a entries in /sys/libs.
13094     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13095   else
13096     dynamic_linker=no
13097   fi
13098   ;;
13099
13100 beos*)
13101   library_names_spec='${libname}${shared_ext}'
13102   dynamic_linker="$host_os ld.so"
13103   shlibpath_var=LIBRARY_PATH
13104   ;;
13105
13106 bsdi[45]*)
13107   version_type=linux
13108   need_version=no
13109   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13110   soname_spec='${libname}${release}${shared_ext}$major'
13111   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13112   shlibpath_var=LD_LIBRARY_PATH
13113   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13114   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13115   # the default ld.so.conf also contains /usr/contrib/lib and
13116   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13117   # libtool to hard-code these into programs
13118   ;;
13119
13120 cygwin* | mingw* | pw32*)
13121   version_type=windows
13122   shrext_cmds=".dll"
13123   need_version=no
13124   need_lib_prefix=no
13125
13126   case $withGCC,$host_os in
13127   yes,cygwin* | yes,mingw* | yes,pw32*)
13128     library_names_spec='$libname.dll.a'
13129     # DLL is installed to $(libdir)/../bin by postinstall_cmds
13130     postinstall_cmds='base_file=`basename \${file}`~
13131       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13132       dldir=$destdir/`dirname \$dlpath`~
13133       test -d \$dldir || mkdir -p \$dldir~
13134       $install_prog $dir/$dlname \$dldir/$dlname~
13135       chmod a+x \$dldir/$dlname~
13136       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13137         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13138       fi'
13139     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13140       dlpath=$dir/\$dldll~
13141        $RM \$dlpath'
13142     shlibpath_overrides_runpath=yes
13143
13144     case $host_os in
13145     cygwin*)
13146       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13147       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13148       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13149       ;;
13150     mingw*)
13151       # MinGW DLLs use traditional 'lib' prefix
13152       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13153       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13154       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13155         # It is most probably a Windows format PATH printed by
13156         # mingw gcc, but we are running on Cygwin. Gcc prints its search
13157         # path with ; separators, and with drive letters. We can handle the
13158         # drive letters (cygwin fileutils understands them), so leave them,
13159         # especially as we might pass files found there to a mingw objdump,
13160         # which wouldn't understand a cygwinified path. Ahh.
13161         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13162       else
13163         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13164       fi
13165       ;;
13166     pw32*)
13167       # pw32 DLLs use 'pw' prefix rather than 'lib'
13168       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13169       ;;
13170     esac
13171     ;;
13172
13173   *)
13174     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13175     ;;
13176   esac
13177   dynamic_linker='Win32 ld.exe'
13178   # FIXME: first we should search . and the directory the executable is in
13179   shlibpath_var=PATH
13180   ;;
13181
13182 darwin* | rhapsody*)
13183   dynamic_linker="$host_os dyld"
13184   version_type=darwin
13185   need_lib_prefix=no
13186   need_version=no
13187   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13188   soname_spec='${libname}${release}${major}$shared_ext'
13189   shlibpath_overrides_runpath=yes
13190   shlibpath_var=DYLD_LIBRARY_PATH
13191   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13192
13193   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13194   ;;
13195
13196 dgux*)
13197   version_type=linux
13198   need_lib_prefix=no
13199   need_version=no
13200   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13201   soname_spec='${libname}${release}${shared_ext}$major'
13202   shlibpath_var=LD_LIBRARY_PATH
13203   ;;
13204
13205 freebsd1*)
13206   dynamic_linker=no
13207   ;;
13208
13209 freebsd* | dragonfly*)
13210   # DragonFly does not have aout.  When/if they implement a new
13211   # versioning mechanism, adjust this.
13212   if test -x /usr/bin/objformat; then
13213     objformat=`/usr/bin/objformat`
13214   else
13215     case $host_os in
13216     freebsd[123]*) objformat=aout ;;
13217     *) objformat=elf ;;
13218     esac
13219   fi
13220   version_type=freebsd-$objformat
13221   case $version_type in
13222     freebsd-elf*)
13223       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13224       need_version=no
13225       need_lib_prefix=no
13226       ;;
13227     freebsd-*)
13228       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13229       need_version=yes
13230       ;;
13231   esac
13232   shlibpath_var=LD_LIBRARY_PATH
13233   case $host_os in
13234   freebsd2*)
13235     shlibpath_overrides_runpath=yes
13236     ;;
13237   freebsd3.[01]* | freebsdelf3.[01]*)
13238     shlibpath_overrides_runpath=yes
13239     hardcode_into_libs=yes
13240     ;;
13241   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13242   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13243     shlibpath_overrides_runpath=no
13244     hardcode_into_libs=yes
13245     ;;
13246   *) # from 4.6 on, and DragonFly
13247     shlibpath_overrides_runpath=yes
13248     hardcode_into_libs=yes
13249     ;;
13250   esac
13251   ;;
13252
13253 gnu*)
13254   version_type=linux
13255   need_lib_prefix=no
13256   need_version=no
13257   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13258   soname_spec='${libname}${release}${shared_ext}$major'
13259   shlibpath_var=LD_LIBRARY_PATH
13260   hardcode_into_libs=yes
13261   ;;
13262
13263 hpux9* | hpux10* | hpux11*)
13264   # Give a soname corresponding to the major version so that dld.sl refuses to
13265   # link against other versions.
13266   version_type=sunos
13267   need_lib_prefix=no
13268   need_version=no
13269   case $host_cpu in
13270   ia64*)
13271     shrext_cmds='.so'
13272     hardcode_into_libs=yes
13273     dynamic_linker="$host_os dld.so"
13274     shlibpath_var=LD_LIBRARY_PATH
13275     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13276     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13277     soname_spec='${libname}${release}${shared_ext}$major'
13278     if test "X$HPUX_IA64_MODE" = X32; then
13279       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13280     else
13281       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13282     fi
13283     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13284     ;;
13285   hppa*64*)
13286     shrext_cmds='.sl'
13287     hardcode_into_libs=yes
13288     dynamic_linker="$host_os dld.sl"
13289     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13290     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13291     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13292     soname_spec='${libname}${release}${shared_ext}$major'
13293     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13294     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13295     ;;
13296   *)
13297     shrext_cmds='.sl'
13298     dynamic_linker="$host_os dld.sl"
13299     shlibpath_var=SHLIB_PATH
13300     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13301     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13302     soname_spec='${libname}${release}${shared_ext}$major'
13303     ;;
13304   esac
13305   # HP-UX runs *really* slowly unless shared libraries are mode 555.
13306   postinstall_cmds='chmod 555 $lib'
13307   ;;
13308
13309 interix[3-9]*)
13310   version_type=linux
13311   need_lib_prefix=no
13312   need_version=no
13313   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13314   soname_spec='${libname}${release}${shared_ext}$major'
13315   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13316   shlibpath_var=LD_LIBRARY_PATH
13317   shlibpath_overrides_runpath=no
13318   hardcode_into_libs=yes
13319   ;;
13320
13321 irix5* | irix6* | nonstopux*)
13322   case $host_os in
13323     nonstopux*) version_type=nonstopux ;;
13324     *)
13325         if test "$lt_cv_prog_gnu_ld" = yes; then
13326                 version_type=linux
13327         else
13328                 version_type=irix
13329         fi ;;
13330   esac
13331   need_lib_prefix=no
13332   need_version=no
13333   soname_spec='${libname}${release}${shared_ext}$major'
13334   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13335   case $host_os in
13336   irix5* | nonstopux*)
13337     libsuff= shlibsuff=
13338     ;;
13339   *)
13340     case $LD in # libtool.m4 will add one of these switches to LD
13341     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13342       libsuff= shlibsuff= libmagic=32-bit;;
13343     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13344       libsuff=32 shlibsuff=N32 libmagic=N32;;
13345     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13346       libsuff=64 shlibsuff=64 libmagic=64-bit;;
13347     *) libsuff= shlibsuff= libmagic=never-match;;
13348     esac
13349     ;;
13350   esac
13351   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13352   shlibpath_overrides_runpath=no
13353   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13354   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13355   hardcode_into_libs=yes
13356   ;;
13357
13358 # No shared lib support for Linux oldld, aout, or coff.
13359 linux*oldld* | linux*aout* | linux*coff*)
13360   dynamic_linker=no
13361   ;;
13362
13363 # This must be Linux ELF.
13364 linux* | k*bsd*-gnu)
13365   version_type=linux
13366   need_lib_prefix=no
13367   need_version=no
13368   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13369   soname_spec='${libname}${release}${shared_ext}$major'
13370   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13371   shlibpath_var=LD_LIBRARY_PATH
13372   shlibpath_overrides_runpath=no
13373   # Some binutils ld are patched to set DT_RUNPATH
13374   save_LDFLAGS=$LDFLAGS
13375   save_libdir=$libdir
13376   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13377        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13378   if test x$gcc_no_link = xyes; then
13379   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13381    { (exit 1); exit 1; }; }
13382 fi
13383 cat >conftest.$ac_ext <<_ACEOF
13384 /* confdefs.h.  */
13385 _ACEOF
13386 cat confdefs.h >>conftest.$ac_ext
13387 cat >>conftest.$ac_ext <<_ACEOF
13388 /* end confdefs.h.  */
13389
13390 int
13391 main ()
13392 {
13393
13394   ;
13395   return 0;
13396 }
13397 _ACEOF
13398 rm -f conftest.$ac_objext conftest$ac_exeext
13399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13400   (eval $ac_link) 2>conftest.er1
13401   ac_status=$?
13402   grep -v '^ *+' conftest.er1 >conftest.err
13403   rm -f conftest.er1
13404   cat conftest.err >&5
13405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13406   (exit $ac_status); } &&
13407          { ac_try='test -z "$ac_cxx_werror_flag"
13408                          || test ! -s conftest.err'
13409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13410   (eval $ac_try) 2>&5
13411   ac_status=$?
13412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413   (exit $ac_status); }; } &&
13414          { ac_try='test -s conftest$ac_exeext'
13415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13416   (eval $ac_try) 2>&5
13417   ac_status=$?
13418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13419   (exit $ac_status); }; }; then
13420   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13421   shlibpath_overrides_runpath=yes
13422 fi
13423
13424 else
13425   echo "$as_me: failed program was:" >&5
13426 sed 's/^/| /' conftest.$ac_ext >&5
13427
13428 fi
13429 rm -f conftest.err conftest.$ac_objext \
13430       conftest$ac_exeext conftest.$ac_ext
13431   LDFLAGS=$save_LDFLAGS
13432   libdir=$save_libdir
13433
13434   # This implies no fast_install, which is unacceptable.
13435   # Some rework will be needed to allow for fast_install
13436   # before this can be enabled.
13437   hardcode_into_libs=yes
13438
13439   # Append ld.so.conf contents to the search path
13440   if test -f /etc/ld.so.conf; then
13441     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,    ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13442     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13443   fi
13444
13445   # We used to test for /lib/ld.so.1 and disable shared libraries on
13446   # powerpc, because MkLinux only supported shared libraries with the
13447   # GNU dynamic linker.  Since this was broken with cross compilers,
13448   # most powerpc-linux boxes support dynamic linking these days and
13449   # people can always --disable-shared, the test was removed, and we
13450   # assume the GNU/Linux dynamic linker is in use.
13451   dynamic_linker='GNU/Linux ld.so'
13452   ;;
13453
13454 netbsd*)
13455   version_type=sunos
13456   need_lib_prefix=no
13457   need_version=no
13458   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13459     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13460     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13461     dynamic_linker='NetBSD (a.out) ld.so'
13462   else
13463     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13464     soname_spec='${libname}${release}${shared_ext}$major'
13465     dynamic_linker='NetBSD ld.elf_so'
13466   fi
13467   shlibpath_var=LD_LIBRARY_PATH
13468   shlibpath_overrides_runpath=yes
13469   hardcode_into_libs=yes
13470   ;;
13471
13472 newsos6)
13473   version_type=linux
13474   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13475   shlibpath_var=LD_LIBRARY_PATH
13476   shlibpath_overrides_runpath=yes
13477   ;;
13478
13479 *nto* | *qnx*)
13480   version_type=qnx
13481   need_lib_prefix=no
13482   need_version=no
13483   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13484   soname_spec='${libname}${release}${shared_ext}$major'
13485   shlibpath_var=LD_LIBRARY_PATH
13486   shlibpath_overrides_runpath=no
13487   hardcode_into_libs=yes
13488   dynamic_linker='ldqnx.so'
13489   ;;
13490
13491 openbsd*)
13492   version_type=sunos
13493   sys_lib_dlsearch_path_spec="/usr/lib"
13494   need_lib_prefix=no
13495   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13496   case $host_os in
13497     openbsd3.3 | openbsd3.3.*)  need_version=yes ;;
13498     *)                          need_version=no  ;;
13499   esac
13500   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13501   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13502   shlibpath_var=LD_LIBRARY_PATH
13503   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13504     case $host_os in
13505       openbsd2.[89] | openbsd2.[89].*)
13506         shlibpath_overrides_runpath=no
13507         ;;
13508       *)
13509         shlibpath_overrides_runpath=yes
13510         ;;
13511       esac
13512   else
13513     shlibpath_overrides_runpath=yes
13514   fi
13515   ;;
13516
13517 os2*)
13518   libname_spec='$name'
13519   shrext_cmds=".dll"
13520   need_lib_prefix=no
13521   library_names_spec='$libname${shared_ext} $libname.a'
13522   dynamic_linker='OS/2 ld.exe'
13523   shlibpath_var=LIBPATH
13524   ;;
13525
13526 osf3* | osf4* | osf5*)
13527   version_type=osf
13528   need_lib_prefix=no
13529   need_version=no
13530   soname_spec='${libname}${release}${shared_ext}$major'
13531   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13532   shlibpath_var=LD_LIBRARY_PATH
13533   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13534   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13535   ;;
13536
13537 rdos*)
13538   dynamic_linker=no
13539   ;;
13540
13541 solaris*)
13542   version_type=linux
13543   need_lib_prefix=no
13544   need_version=no
13545   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13546   soname_spec='${libname}${release}${shared_ext}$major'
13547   shlibpath_var=LD_LIBRARY_PATH
13548   shlibpath_overrides_runpath=yes
13549   hardcode_into_libs=yes
13550   # ldd complains unless libraries are executable
13551   postinstall_cmds='chmod +x $lib'
13552   ;;
13553
13554 sunos4*)
13555   version_type=sunos
13556   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13557   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13558   shlibpath_var=LD_LIBRARY_PATH
13559   shlibpath_overrides_runpath=yes
13560   if test "$with_gnu_ld" = yes; then
13561     need_lib_prefix=no
13562   fi
13563   need_version=yes
13564   ;;
13565
13566 sysv4 | sysv4.3*)
13567   version_type=linux
13568   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13569   soname_spec='${libname}${release}${shared_ext}$major'
13570   shlibpath_var=LD_LIBRARY_PATH
13571   case $host_vendor in
13572     sni)
13573       shlibpath_overrides_runpath=no
13574       need_lib_prefix=no
13575       runpath_var=LD_RUN_PATH
13576       ;;
13577     siemens)
13578       need_lib_prefix=no
13579       ;;
13580     motorola)
13581       need_lib_prefix=no
13582       need_version=no
13583       shlibpath_overrides_runpath=no
13584       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13585       ;;
13586   esac
13587   ;;
13588
13589 sysv4*MP*)
13590   if test -d /usr/nec ;then
13591     version_type=linux
13592     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13593     soname_spec='$libname${shared_ext}.$major'
13594     shlibpath_var=LD_LIBRARY_PATH
13595   fi
13596   ;;
13597
13598 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13599   version_type=freebsd-elf
13600   need_lib_prefix=no
13601   need_version=no
13602   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13603   soname_spec='${libname}${release}${shared_ext}$major'
13604   shlibpath_var=LD_LIBRARY_PATH
13605   shlibpath_overrides_runpath=yes
13606   hardcode_into_libs=yes
13607   if test "$with_gnu_ld" = yes; then
13608     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13609   else
13610     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13611     case $host_os in
13612       sco3.2v5*)
13613         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13614         ;;
13615     esac
13616   fi
13617   sys_lib_dlsearch_path_spec='/usr/lib'
13618   ;;
13619
13620 tpf*)
13621   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
13622   version_type=linux
13623   need_lib_prefix=no
13624   need_version=no
13625   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13626   shlibpath_var=LD_LIBRARY_PATH
13627   shlibpath_overrides_runpath=no
13628   hardcode_into_libs=yes
13629   ;;
13630
13631 uts4*)
13632   version_type=linux
13633   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13634   soname_spec='${libname}${release}${shared_ext}$major'
13635   shlibpath_var=LD_LIBRARY_PATH
13636   ;;
13637
13638 *)
13639   dynamic_linker=no
13640   ;;
13641 esac
13642 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13643 echo "${ECHO_T}$dynamic_linker" >&6
13644 test "$dynamic_linker" = no && can_build_shared=no
13645
13646 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13647 if test "$GCC" = yes; then
13648   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13649 fi
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686     echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13687 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13688 hardcode_action_CXX=
13689 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13690    test -n "$runpath_var_CXX" ||
13691    test "X$hardcode_automatic_CXX" = "Xyes" ; then
13692
13693   # We can hardcode non-existent directories.
13694   if test "$hardcode_direct_CXX" != no &&
13695      # If the only mechanism to avoid hardcoding is shlibpath_var, we
13696      # have to relink, otherwise we might link with an installed library
13697      # when we should be linking with a yet-to-be-installed one
13698      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13699      test "$hardcode_minus_L_CXX" != no; then
13700     # Linking always hardcodes the temporary library directory.
13701     hardcode_action_CXX=relink
13702   else
13703     # We can link without hardcoding, and we can hardcode nonexisting dirs.
13704     hardcode_action_CXX=immediate
13705   fi
13706 else
13707   # We cannot hardcode anything, or else we can only hardcode existing
13708   # directories.
13709   hardcode_action_CXX=unsupported
13710 fi
13711 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13712 echo "${ECHO_T}$hardcode_action_CXX" >&6
13713
13714 if test "$hardcode_action_CXX" = relink ||
13715    test "$inherit_rpath_CXX" = yes; then
13716   # Fast installation is not supported
13717   enable_fast_install=no
13718 elif test "$shlibpath_overrides_runpath" = yes ||
13719      test "$enable_shared" = no; then
13720   # Fast installation is not necessary
13721   enable_fast_install=needless
13722 fi
13723
13724
13725
13726
13727
13728
13729
13730   fi # test -n "$compiler"
13731
13732   CC=$lt_save_CC
13733   LDCXX=$LD
13734   LD=$lt_save_LD
13735   GCC=$lt_save_GCC
13736   with_gnu_ld=$lt_save_with_gnu_ld
13737   lt_cv_path_LDCXX=$lt_cv_path_LD
13738   lt_cv_path_LD=$lt_save_path_LD
13739   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13740   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13741 fi # test "$_lt_caught_CXX_error" != yes
13742
13743 ac_ext=c
13744 ac_cpp='$CPP $CPPFLAGS'
13745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761                   ac_config_commands="$ac_config_commands libtool"
13762
13763
13764
13765
13766 # Only expand once:
13767
13768
13769
13770
13771
13772 # Possibly disable most of the library.
13773 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13774 ## than just ignoring the results.  Faster /and/ more correct, win win.
13775
13776   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13777 if test "${enable_hosted_libstdcxx+set}" = set; then
13778   enableval="$enable_hosted_libstdcxx"
13779
13780 else
13781   case "$host" in
13782         arm*-*-symbianelf*)
13783             enable_hosted_libstdcxx=no
13784             ;;
13785         *)
13786             enable_hosted_libstdcxx=yes
13787             ;;
13788      esac
13789 fi;
13790   if test "$enable_hosted_libstdcxx" = no; then
13791     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13792 echo "$as_me: Only freestanding libraries will be built" >&6;}
13793     is_hosted=no
13794     hosted_define=0
13795     enable_abi_check=no
13796     enable_libstdcxx_pch=no
13797   else
13798     is_hosted=yes
13799     hosted_define=1
13800   fi
13801
13802
13803 cat >>confdefs.h <<_ACEOF
13804 #define _GLIBCXX_HOSTED $hosted_define
13805 _ACEOF
13806
13807
13808
13809 # Enable compiler support that doesn't require linking.
13810
13811   echo "$as_me:$LINENO: checking for exception model to use" >&5
13812 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13813
13814
13815   ac_ext=cc
13816 ac_cpp='$CXXCPP $CPPFLAGS'
13817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13820
13821    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13822 if test "${enable_sjlj_exceptions+set}" = set; then
13823   enableval="$enable_sjlj_exceptions"
13824
13825       case "$enableval" in
13826        yes|no|auto) ;;
13827        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13828 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13829    { (exit 1); exit 1; }; } ;;
13830                           esac
13831
13832 else
13833   enable_sjlj_exceptions=auto
13834 fi;
13835
13836
13837   if test $enable_sjlj_exceptions = auto; then
13838     # Botheration.  Now we've got to detect the exception model.  Link tests
13839     # against libgcc.a are problematic since we've not been given proper -L
13840     # bits for single-tree newlib and libgloss.
13841     #
13842     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
13843     cat > conftest.$ac_ext << EOF
13844 #line 13844 "configure"
13845 struct S { ~S(); };
13846 void bar();
13847 void foo()
13848 {
13849   S s;
13850   bar();
13851 }
13852 EOF
13853     old_CXXFLAGS="$CXXFLAGS"
13854     CXXFLAGS=-S
13855     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13856   (eval $ac_compile) 2>&5
13857   ac_status=$?
13858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859   (exit $ac_status); }; then
13860       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13861         enable_sjlj_exceptions=yes
13862       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13863         enable_sjlj_exceptions=no
13864       elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13865         enable_sjlj_exceptions=no
13866       fi
13867     fi
13868     CXXFLAGS="$old_CXXFLAGS"
13869     rm -f conftest*
13870   fi
13871
13872   # This is a tad weird, for hysterical raisins.  We have to map
13873   # enable/disable to two different models.
13874   case $enable_sjlj_exceptions in
13875     yes)
13876
13877 cat >>confdefs.h <<\_ACEOF
13878 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13879 _ACEOF
13880
13881       ac_exception_model_name=sjlj
13882       ;;
13883     no)
13884       ac_exception_model_name="call frame"
13885       ;;
13886     *)
13887       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13888 echo "$as_me: error: unable to detect exception model" >&2;}
13889    { (exit 1); exit 1; }; }
13890       ;;
13891   esac
13892  ac_ext=c
13893 ac_cpp='$CPP $CPPFLAGS'
13894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13897
13898  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13899 echo "${ECHO_T}$ac_exception_model_name" >&6
13900
13901
13902    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13903 if test "${enable_libstdcxx_pch+set}" = set; then
13904   enableval="$enable_libstdcxx_pch"
13905
13906       case "$enableval" in
13907        yes|no) ;;
13908        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13909 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13910    { (exit 1); exit 1; }; } ;;
13911       esac
13912
13913 else
13914   enable_libstdcxx_pch=$is_hosted
13915 fi;
13916
13917   if test $enable_libstdcxx_pch = yes; then
13918     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13919 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13920 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13921   echo $ECHO_N "(cached) $ECHO_C" >&6
13922 else
13923   ac_save_CXXFLAGS="$CXXFLAGS"
13924        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13925
13926
13927        ac_ext=cc
13928 ac_cpp='$CXXCPP $CPPFLAGS'
13929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13932
13933        echo '#include <math.h>' > conftest.h
13934        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13935                           -o conftest.h.gch 1>&5 2>&1 &&
13936                 echo '#error "pch failed"' > conftest.h &&
13937           echo '#include "conftest.h"' > conftest.cc &&
13938                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13939        then
13940          glibcxx_cv_prog_CXX_pch=yes
13941        else
13942          glibcxx_cv_prog_CXX_pch=no
13943        fi
13944        rm -f conftest*
13945        CXXFLAGS=$ac_save_CXXFLAGS
13946        ac_ext=c
13947 ac_cpp='$CPP $CPPFLAGS'
13948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13951
13952
13953 fi
13954 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13955 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13956     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13957   fi
13958
13959   echo "$as_me:$LINENO: checking for enabled PCH" >&5
13960 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13961   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13962 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13963
13964
13965   if test $enable_libstdcxx_pch = yes; then
13966     glibcxx_PCHFLAGS="-include bits/stdc++.h"
13967   else
13968     glibcxx_PCHFLAGS=""
13969   fi
13970
13971
13972
13973 # Enable all the variable C++ runtime options that doesn't require linking.
13974
13975   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
13976 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
13977    # Check whether --enable-cstdio or --disable-cstdio was given.
13978 if test "${enable_cstdio+set}" = set; then
13979   enableval="$enable_cstdio"
13980
13981       case "$enableval" in
13982        stdio) ;;
13983        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
13984 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
13985    { (exit 1); exit 1; }; } ;;
13986                           esac
13987
13988 else
13989   enable_cstdio=stdio
13990 fi;
13991
13992
13993   # Now that libio has been removed, you can have any color you want as long
13994   # as it's black.  This is one big no-op until other packages are added, but
13995   # showing the framework never hurts.
13996   case ${enable_cstdio} in
13997     stdio)
13998       CSTDIO_H=config/io/c_io_stdio.h
13999       BASIC_FILE_H=config/io/basic_file_stdio.h
14000       BASIC_FILE_CC=config/io/basic_file_stdio.cc
14001       echo "$as_me:$LINENO: result: stdio" >&5
14002 echo "${ECHO_T}stdio" >&6
14003       ;;
14004   esac
14005
14006
14007
14008
14009
14010
14011    # Check whether --enable-clocale or --disable-clocale was given.
14012 if test "${enable_clocale+set}" = set; then
14013   enableval="$enable_clocale"
14014
14015       case "$enableval" in
14016        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14017        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14018 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14019    { (exit 1); exit 1; }; } ;;
14020                           esac
14021
14022 else
14023   enable_clocale=auto
14024 fi;
14025
14026
14027   # Deal with gettext issues.  Default to not using it (=no) until we detect
14028   # support for it later.  Let the user turn it off via --e/d, but let that
14029   # default to on for easier handling.
14030   USE_NLS=no
14031   # Check whether --enable-nls or --disable-nls was given.
14032 if test "${enable_nls+set}" = set; then
14033   enableval="$enable_nls"
14034
14035 else
14036   enable_nls=yes
14037 fi;
14038
14039   # Either a known packaage, or "auto"
14040   if test $enable_clocale = no || test $enable_clocale = yes; then
14041      enable_clocale=auto
14042   fi
14043   enable_clocale_flag=$enable_clocale
14044
14045   # Probe for locale model to use if none specified.
14046   # Default to "generic".
14047   if test $enable_clocale_flag = auto; then
14048     case ${target_os} in
14049       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14050         enable_clocale_flag=gnu
14051         ;;
14052       darwin* | freebsd*)
14053         enable_clocale_flag=darwin
14054         ;;
14055       *)
14056         enable_clocale_flag=generic
14057         ;;
14058     esac
14059   fi
14060
14061   # Sanity check model, and test for special functionality.
14062   if test $enable_clocale_flag = gnu; then
14063     cat >conftest.$ac_ext <<_ACEOF
14064 /* confdefs.h.  */
14065 _ACEOF
14066 cat confdefs.h >>conftest.$ac_ext
14067 cat >>conftest.$ac_ext <<_ACEOF
14068 /* end confdefs.h.  */
14069
14070     #include <features.h>
14071     #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14072       _GLIBCXX_ok
14073     #endif
14074
14075 _ACEOF
14076 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14077   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14078   enable_clocale_flag=gnu
14079 else
14080   enable_clocale_flag=generic
14081 fi
14082 rm -f conftest*
14083
14084
14085     if test $enable_clocale = auto; then
14086       # Test for bugs early in glibc-2.2.x series
14087       if test "$cross_compiling" = yes; then
14088   enable_clocale_flag=generic
14089 else
14090   cat >conftest.$ac_ext <<_ACEOF
14091 /* confdefs.h.  */
14092 _ACEOF
14093 cat confdefs.h >>conftest.$ac_ext
14094 cat >>conftest.$ac_ext <<_ACEOF
14095 /* end confdefs.h.  */
14096
14097       #define _GNU_SOURCE 1
14098       #include <locale.h>
14099       #include <string.h>
14100       #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14101       extern __typeof(newlocale) __newlocale;
14102       extern __typeof(duplocale) __duplocale;
14103       extern __typeof(strcoll_l) __strcoll_l;
14104       #endif
14105       int main()
14106       {
14107         const char __one[] = "Äuglein Augmen";
14108         const char __two[] = "Äuglein";
14109         int i;
14110         int j;
14111         __locale_t        loc;
14112         __locale_t        loc_dup;
14113         loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14114         loc_dup = __duplocale(loc);
14115         i = __strcoll_l(__one, __two, loc);
14116         j = __strcoll_l(__one, __two, loc_dup);
14117         return 0;
14118       }
14119
14120 _ACEOF
14121 rm -f conftest$ac_exeext
14122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14123   (eval $ac_link) 2>&5
14124   ac_status=$?
14125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14128   (eval $ac_try) 2>&5
14129   ac_status=$?
14130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131   (exit $ac_status); }; }; then
14132   enable_clocale_flag=gnu
14133 else
14134   echo "$as_me: program exited with status $ac_status" >&5
14135 echo "$as_me: failed program was:" >&5
14136 sed 's/^/| /' conftest.$ac_ext >&5
14137
14138 ( exit $ac_status )
14139 enable_clocale_flag=generic
14140 fi
14141 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14142 fi
14143     fi
14144
14145     # Set it to scream when it hurts.
14146     ac_save_CFLAGS="$CFLAGS"
14147     CFLAGS="-Wimplicit-function-declaration -Werror"
14148
14149     # Use strxfrm_l if available.
14150     cat >conftest.$ac_ext <<_ACEOF
14151 /* confdefs.h.  */
14152 _ACEOF
14153 cat confdefs.h >>conftest.$ac_ext
14154 cat >>conftest.$ac_ext <<_ACEOF
14155 /* end confdefs.h.  */
14156 #define _GNU_SOURCE 1
14157                     #include <string.h>
14158                     #include <locale.h>
14159 int
14160 main ()
14161 {
14162 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14163   ;
14164   return 0;
14165 }
14166 _ACEOF
14167 rm -f conftest.$ac_objext
14168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14169   (eval $ac_compile) 2>conftest.er1
14170   ac_status=$?
14171   grep -v '^ *+' conftest.er1 >conftest.err
14172   rm -f conftest.er1
14173   cat conftest.err >&5
14174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14175   (exit $ac_status); } &&
14176          { ac_try='test -z "$ac_c_werror_flag"
14177                          || test ! -s conftest.err'
14178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14179   (eval $ac_try) 2>&5
14180   ac_status=$?
14181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182   (exit $ac_status); }; } &&
14183          { ac_try='test -s conftest.$ac_objext'
14184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14185   (eval $ac_try) 2>&5
14186   ac_status=$?
14187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188   (exit $ac_status); }; }; then
14189
14190 cat >>confdefs.h <<\_ACEOF
14191 #define HAVE_STRXFRM_L 1
14192 _ACEOF
14193
14194 else
14195   echo "$as_me: failed program was:" >&5
14196 sed 's/^/| /' conftest.$ac_ext >&5
14197
14198 fi
14199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14200
14201     # Use strerror_l if available.
14202     cat >conftest.$ac_ext <<_ACEOF
14203 /* confdefs.h.  */
14204 _ACEOF
14205 cat confdefs.h >>conftest.$ac_ext
14206 cat >>conftest.$ac_ext <<_ACEOF
14207 /* end confdefs.h.  */
14208 #define _GNU_SOURCE 1
14209                     #include <string.h>
14210                     #include <locale.h>
14211 int
14212 main ()
14213 {
14214 __locale_t loc; strerror_l(5, loc);
14215   ;
14216   return 0;
14217 }
14218 _ACEOF
14219 rm -f conftest.$ac_objext
14220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14221   (eval $ac_compile) 2>conftest.er1
14222   ac_status=$?
14223   grep -v '^ *+' conftest.er1 >conftest.err
14224   rm -f conftest.er1
14225   cat conftest.err >&5
14226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227   (exit $ac_status); } &&
14228          { ac_try='test -z "$ac_c_werror_flag"
14229                          || test ! -s conftest.err'
14230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231   (eval $ac_try) 2>&5
14232   ac_status=$?
14233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234   (exit $ac_status); }; } &&
14235          { ac_try='test -s conftest.$ac_objext'
14236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237   (eval $ac_try) 2>&5
14238   ac_status=$?
14239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240   (exit $ac_status); }; }; then
14241
14242 cat >>confdefs.h <<\_ACEOF
14243 #define HAVE_STRERROR_L 1
14244 _ACEOF
14245
14246 else
14247   echo "$as_me: failed program was:" >&5
14248 sed 's/^/| /' conftest.$ac_ext >&5
14249
14250 fi
14251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14252
14253     CFLAGS="$ac_save_CFLAGS"
14254   fi
14255
14256   # Perhaps use strerror_r if available, and strerror_l isn't.
14257   ac_save_CFLAGS="$CFLAGS"
14258   CFLAGS="-Wimplicit-function-declaration -Werror"
14259   cat >conftest.$ac_ext <<_ACEOF
14260 /* confdefs.h.  */
14261 _ACEOF
14262 cat confdefs.h >>conftest.$ac_ext
14263 cat >>conftest.$ac_ext <<_ACEOF
14264 /* end confdefs.h.  */
14265 #define _GNU_SOURCE 1
14266                   #include <string.h>
14267                   #include <locale.h>
14268 int
14269 main ()
14270 {
14271 char s[128]; strerror_r(5, s, 128);
14272   ;
14273   return 0;
14274 }
14275 _ACEOF
14276 rm -f conftest.$ac_objext
14277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14278   (eval $ac_compile) 2>conftest.er1
14279   ac_status=$?
14280   grep -v '^ *+' conftest.er1 >conftest.err
14281   rm -f conftest.er1
14282   cat conftest.err >&5
14283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284   (exit $ac_status); } &&
14285          { ac_try='test -z "$ac_c_werror_flag"
14286                          || test ! -s conftest.err'
14287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14288   (eval $ac_try) 2>&5
14289   ac_status=$?
14290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14291   (exit $ac_status); }; } &&
14292          { ac_try='test -s conftest.$ac_objext'
14293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14294   (eval $ac_try) 2>&5
14295   ac_status=$?
14296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297   (exit $ac_status); }; }; then
14298
14299 cat >>confdefs.h <<\_ACEOF
14300 #define HAVE_STRERROR_R 1
14301 _ACEOF
14302
14303 else
14304   echo "$as_me: failed program was:" >&5
14305 sed 's/^/| /' conftest.$ac_ext >&5
14306
14307 fi
14308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14309   CFLAGS="$ac_save_CFLAGS"
14310
14311   # Set configure bits for specified locale package
14312   echo "$as_me:$LINENO: checking for C locale to use" >&5
14313 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14314   case ${enable_clocale_flag} in
14315     generic)
14316       echo "$as_me:$LINENO: result: generic" >&5
14317 echo "${ECHO_T}generic" >&6
14318
14319       CLOCALE_H=config/locale/generic/c_locale.h
14320       CLOCALE_CC=config/locale/generic/c_locale.cc
14321       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14322       CCOLLATE_CC=config/locale/generic/collate_members.cc
14323       CCTYPE_CC=config/locale/generic/ctype_members.cc
14324       CMESSAGES_H=config/locale/generic/messages_members.h
14325       CMESSAGES_CC=config/locale/generic/messages_members.cc
14326       CMONEY_CC=config/locale/generic/monetary_members.cc
14327       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14328       CTIME_H=config/locale/generic/time_members.h
14329       CTIME_CC=config/locale/generic/time_members.cc
14330       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14331       ;;
14332     darwin)
14333       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14334 echo "${ECHO_T}darwin or freebsd" >&6
14335
14336       CLOCALE_H=config/locale/generic/c_locale.h
14337       CLOCALE_CC=config/locale/generic/c_locale.cc
14338       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14339       CCOLLATE_CC=config/locale/generic/collate_members.cc
14340       CCTYPE_CC=config/locale/darwin/ctype_members.cc
14341       CMESSAGES_H=config/locale/generic/messages_members.h
14342       CMESSAGES_CC=config/locale/generic/messages_members.cc
14343       CMONEY_CC=config/locale/generic/monetary_members.cc
14344       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14345       CTIME_H=config/locale/generic/time_members.h
14346       CTIME_CC=config/locale/generic/time_members.cc
14347       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14348       ;;
14349
14350     gnu)
14351       echo "$as_me:$LINENO: result: gnu" >&5
14352 echo "${ECHO_T}gnu" >&6
14353
14354       # Declare intention to use gettext, and add support for specific
14355       # languages.
14356       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14357       ALL_LINGUAS="de fr"
14358
14359       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14360       # Extract the first word of "msgfmt", so it can be a program name with args.
14361 set dummy msgfmt; ac_word=$2
14362 echo "$as_me:$LINENO: checking for $ac_word" >&5
14363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14364 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14365   echo $ECHO_N "(cached) $ECHO_C" >&6
14366 else
14367   if test -n "$check_msgfmt"; then
14368   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14369 else
14370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14371 for as_dir in $PATH
14372 do
14373   IFS=$as_save_IFS
14374   test -z "$as_dir" && as_dir=.
14375   for ac_exec_ext in '' $ac_executable_extensions; do
14376   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14377     ac_cv_prog_check_msgfmt="yes"
14378     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14379     break 2
14380   fi
14381 done
14382 done
14383
14384   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14385 fi
14386 fi
14387 check_msgfmt=$ac_cv_prog_check_msgfmt
14388 if test -n "$check_msgfmt"; then
14389   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14390 echo "${ECHO_T}$check_msgfmt" >&6
14391 else
14392   echo "$as_me:$LINENO: result: no" >&5
14393 echo "${ECHO_T}no" >&6
14394 fi
14395
14396       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14397         USE_NLS=yes
14398       fi
14399       # Export the build objects.
14400       for ling in $ALL_LINGUAS; do \
14401         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14402         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14403       done
14404
14405
14406
14407       CLOCALE_H=config/locale/gnu/c_locale.h
14408       CLOCALE_CC=config/locale/gnu/c_locale.cc
14409       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14410       CCOLLATE_CC=config/locale/gnu/collate_members.cc
14411       CCTYPE_CC=config/locale/gnu/ctype_members.cc
14412       CMESSAGES_H=config/locale/gnu/messages_members.h
14413       CMESSAGES_CC=config/locale/gnu/messages_members.cc
14414       CMONEY_CC=config/locale/gnu/monetary_members.cc
14415       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14416       CTIME_H=config/locale/gnu/time_members.h
14417       CTIME_CC=config/locale/gnu/time_members.cc
14418       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14419       ;;
14420     ieee_1003.1-2001)
14421       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14422 echo "${ECHO_T}IEEE 1003.1" >&6
14423
14424       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14425       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14426       CCODECVT_CC=config/locale/generic/codecvt_members.cc
14427       CCOLLATE_CC=config/locale/generic/collate_members.cc
14428       CCTYPE_CC=config/locale/generic/ctype_members.cc
14429       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14430       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14431       CMONEY_CC=config/locale/generic/monetary_members.cc
14432       CNUMERIC_CC=config/locale/generic/numeric_members.cc
14433       CTIME_H=config/locale/generic/time_members.h
14434       CTIME_CC=config/locale/generic/time_members.cc
14435       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14436       ;;
14437   esac
14438
14439   # This is where the testsuite looks for locale catalogs, using the
14440   # -DLOCALEDIR define during testsuite compilation.
14441   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14442
14443
14444   # A standalone libintl (e.g., GNU libintl) may be in use.
14445   if test $USE_NLS = yes; then
14446
14447 for ac_header in libintl.h
14448 do
14449 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14451   echo "$as_me:$LINENO: checking for $ac_header" >&5
14452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14454   echo $ECHO_N "(cached) $ECHO_C" >&6
14455 fi
14456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14458 else
14459   # Is the header compilable?
14460 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14461 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14462 cat >conftest.$ac_ext <<_ACEOF
14463 /* confdefs.h.  */
14464 _ACEOF
14465 cat confdefs.h >>conftest.$ac_ext
14466 cat >>conftest.$ac_ext <<_ACEOF
14467 /* end confdefs.h.  */
14468 $ac_includes_default
14469 #include <$ac_header>
14470 _ACEOF
14471 rm -f conftest.$ac_objext
14472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14473   (eval $ac_compile) 2>conftest.er1
14474   ac_status=$?
14475   grep -v '^ *+' conftest.er1 >conftest.err
14476   rm -f conftest.er1
14477   cat conftest.err >&5
14478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479   (exit $ac_status); } &&
14480          { ac_try='test -z "$ac_c_werror_flag"
14481                          || test ! -s conftest.err'
14482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14483   (eval $ac_try) 2>&5
14484   ac_status=$?
14485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486   (exit $ac_status); }; } &&
14487          { ac_try='test -s conftest.$ac_objext'
14488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14489   (eval $ac_try) 2>&5
14490   ac_status=$?
14491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492   (exit $ac_status); }; }; then
14493   ac_header_compiler=yes
14494 else
14495   echo "$as_me: failed program was:" >&5
14496 sed 's/^/| /' conftest.$ac_ext >&5
14497
14498 ac_header_compiler=no
14499 fi
14500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14502 echo "${ECHO_T}$ac_header_compiler" >&6
14503
14504 # Is the header present?
14505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14507 cat >conftest.$ac_ext <<_ACEOF
14508 /* confdefs.h.  */
14509 _ACEOF
14510 cat confdefs.h >>conftest.$ac_ext
14511 cat >>conftest.$ac_ext <<_ACEOF
14512 /* end confdefs.h.  */
14513 #include <$ac_header>
14514 _ACEOF
14515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14516   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14517   ac_status=$?
14518   grep -v '^ *+' conftest.er1 >conftest.err
14519   rm -f conftest.er1
14520   cat conftest.err >&5
14521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14522   (exit $ac_status); } >/dev/null; then
14523   if test -s conftest.err; then
14524     ac_cpp_err=$ac_c_preproc_warn_flag
14525     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14526   else
14527     ac_cpp_err=
14528   fi
14529 else
14530   ac_cpp_err=yes
14531 fi
14532 if test -z "$ac_cpp_err"; then
14533   ac_header_preproc=yes
14534 else
14535   echo "$as_me: failed program was:" >&5
14536 sed 's/^/| /' conftest.$ac_ext >&5
14537
14538   ac_header_preproc=no
14539 fi
14540 rm -f conftest.err conftest.$ac_ext
14541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14542 echo "${ECHO_T}$ac_header_preproc" >&6
14543
14544 # So?  What about this header?
14545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14546   yes:no: )
14547     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14549     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14550 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14551     ac_header_preproc=yes
14552     ;;
14553   no:yes:* )
14554     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14556     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
14557 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
14558     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14559 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14560     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
14561 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
14562     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14564     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14565 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14566     (
14567       cat <<\_ASBOX
14568 ## ----------------------------------------- ##
14569 ## Report this to the package-unused lists.  ##
14570 ## ----------------------------------------- ##
14571 _ASBOX
14572     ) |
14573       sed "s/^/$as_me: WARNING:     /" >&2
14574     ;;
14575 esac
14576 echo "$as_me:$LINENO: checking for $ac_header" >&5
14577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14579   echo $ECHO_N "(cached) $ECHO_C" >&6
14580 else
14581   eval "$as_ac_Header=\$ac_header_preproc"
14582 fi
14583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14585
14586 fi
14587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14588   cat >>confdefs.h <<_ACEOF
14589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14590 _ACEOF
14591
14592 else
14593   USE_NLS=no
14594 fi
14595
14596 done
14597
14598     echo "$as_me:$LINENO: checking for library containing gettext" >&5
14599 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14600 if test "${ac_cv_search_gettext+set}" = set; then
14601   echo $ECHO_N "(cached) $ECHO_C" >&6
14602 else
14603   ac_func_search_save_LIBS=$LIBS
14604 ac_cv_search_gettext=no
14605 if test x$gcc_no_link = xyes; then
14606   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14608    { (exit 1); exit 1; }; }
14609 fi
14610 cat >conftest.$ac_ext <<_ACEOF
14611 /* confdefs.h.  */
14612 _ACEOF
14613 cat confdefs.h >>conftest.$ac_ext
14614 cat >>conftest.$ac_ext <<_ACEOF
14615 /* end confdefs.h.  */
14616
14617 /* Override any gcc2 internal prototype to avoid an error.  */
14618 #ifdef __cplusplus
14619 extern "C"
14620 #endif
14621 /* We use char because int might match the return type of a gcc2
14622    builtin and then its argument prototype would still apply.  */
14623 char gettext ();
14624 int
14625 main ()
14626 {
14627 gettext ();
14628   ;
14629   return 0;
14630 }
14631 _ACEOF
14632 rm -f conftest.$ac_objext conftest$ac_exeext
14633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14634   (eval $ac_link) 2>conftest.er1
14635   ac_status=$?
14636   grep -v '^ *+' conftest.er1 >conftest.err
14637   rm -f conftest.er1
14638   cat conftest.err >&5
14639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14640   (exit $ac_status); } &&
14641          { ac_try='test -z "$ac_c_werror_flag"
14642                          || test ! -s conftest.err'
14643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14644   (eval $ac_try) 2>&5
14645   ac_status=$?
14646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14647   (exit $ac_status); }; } &&
14648          { ac_try='test -s conftest$ac_exeext'
14649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14650   (eval $ac_try) 2>&5
14651   ac_status=$?
14652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14653   (exit $ac_status); }; }; then
14654   ac_cv_search_gettext="none required"
14655 else
14656   echo "$as_me: failed program was:" >&5
14657 sed 's/^/| /' conftest.$ac_ext >&5
14658
14659 fi
14660 rm -f conftest.err conftest.$ac_objext \
14661       conftest$ac_exeext conftest.$ac_ext
14662 if test "$ac_cv_search_gettext" = no; then
14663   for ac_lib in intl; do
14664     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
14665     if test x$gcc_no_link = xyes; then
14666   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14668    { (exit 1); exit 1; }; }
14669 fi
14670 cat >conftest.$ac_ext <<_ACEOF
14671 /* confdefs.h.  */
14672 _ACEOF
14673 cat confdefs.h >>conftest.$ac_ext
14674 cat >>conftest.$ac_ext <<_ACEOF
14675 /* end confdefs.h.  */
14676
14677 /* Override any gcc2 internal prototype to avoid an error.  */
14678 #ifdef __cplusplus
14679 extern "C"
14680 #endif
14681 /* We use char because int might match the return type of a gcc2
14682    builtin and then its argument prototype would still apply.  */
14683 char gettext ();
14684 int
14685 main ()
14686 {
14687 gettext ();
14688   ;
14689   return 0;
14690 }
14691 _ACEOF
14692 rm -f conftest.$ac_objext conftest$ac_exeext
14693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14694   (eval $ac_link) 2>conftest.er1
14695   ac_status=$?
14696   grep -v '^ *+' conftest.er1 >conftest.err
14697   rm -f conftest.er1
14698   cat conftest.err >&5
14699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700   (exit $ac_status); } &&
14701          { ac_try='test -z "$ac_c_werror_flag"
14702                          || test ! -s conftest.err'
14703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704   (eval $ac_try) 2>&5
14705   ac_status=$?
14706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707   (exit $ac_status); }; } &&
14708          { ac_try='test -s conftest$ac_exeext'
14709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14710   (eval $ac_try) 2>&5
14711   ac_status=$?
14712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713   (exit $ac_status); }; }; then
14714   ac_cv_search_gettext="-l$ac_lib"
14715 break
14716 else
14717   echo "$as_me: failed program was:" >&5
14718 sed 's/^/| /' conftest.$ac_ext >&5
14719
14720 fi
14721 rm -f conftest.err conftest.$ac_objext \
14722       conftest$ac_exeext conftest.$ac_ext
14723   done
14724 fi
14725 LIBS=$ac_func_search_save_LIBS
14726 fi
14727 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
14728 echo "${ECHO_T}$ac_cv_search_gettext" >&6
14729 if test "$ac_cv_search_gettext" != no; then
14730   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
14731
14732 else
14733   USE_NLS=no
14734 fi
14735
14736   fi
14737   if test $USE_NLS = yes; then
14738
14739 cat >>confdefs.h <<\_ACEOF
14740 #define _GLIBCXX_USE_NLS 1
14741 _ACEOF
14742
14743   fi
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760   echo "$as_me:$LINENO: checking for std::allocator base class" >&5
14761 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
14762    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
14763 if test "${enable_libstdcxx_allocator+set}" = set; then
14764   enableval="$enable_libstdcxx_allocator"
14765
14766       case "$enableval" in
14767        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
14768        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
14769 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
14770    { (exit 1); exit 1; }; } ;;
14771                           esac
14772
14773 else
14774   enable_libstdcxx_allocator=auto
14775 fi;
14776
14777
14778   # If they didn't use this option switch, or if they specified --enable
14779   # with no specific model, we'll have to look for one.  If they
14780   # specified --disable (???), do likewise.
14781   if test $enable_libstdcxx_allocator = no ||
14782      test $enable_libstdcxx_allocator = yes;
14783   then
14784      enable_libstdcxx_allocator=auto
14785   fi
14786
14787   # Either a known package, or "auto". Auto implies the default choice
14788   # for a particular platform.
14789   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
14790
14791   # Probe for host-specific support if no specific model is specified.
14792   # Default to "new".
14793   if test $enable_libstdcxx_allocator_flag = auto; then
14794     case ${target_os} in
14795       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14796         enable_libstdcxx_allocator_flag=new
14797         ;;
14798       *)
14799         enable_libstdcxx_allocator_flag=new
14800         ;;
14801     esac
14802   fi
14803   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
14804 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
14805
14806
14807   # Set configure bits for specified locale package
14808   case ${enable_libstdcxx_allocator_flag} in
14809     bitmap)
14810       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
14811       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
14812       ;;
14813     malloc)
14814       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
14815       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
14816       ;;
14817     mt)
14818       ALLOCATOR_H=config/allocator/mt_allocator_base.h
14819       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
14820       ;;
14821     new)
14822       ALLOCATOR_H=config/allocator/new_allocator_base.h
14823       ALLOCATOR_NAME=__gnu_cxx::new_allocator
14824       ;;
14825     pool)
14826       ALLOCATOR_H=config/allocator/pool_allocator_base.h
14827       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
14828       ;;
14829   esac
14830
14831
14832
14833
14834
14835    # Check whether --enable-cheaders or --disable-cheaders was given.
14836 if test "${enable_cheaders+set}" = set; then
14837   enableval="$enable_cheaders"
14838
14839       case "$enableval" in
14840        c|c_std|c_global) ;;
14841        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
14842 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
14843    { (exit 1); exit 1; }; } ;;
14844                           esac
14845
14846 else
14847   enable_cheaders=$c_model
14848 fi;
14849
14850   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
14851 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
14852
14853   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
14854
14855   # Allow overrides to configure.host here.
14856   if test $enable_cheaders = c_global; then
14857      c_compatibility=yes
14858   fi
14859
14860   if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
14861      c_extra=yes
14862   fi
14863
14864
14865
14866
14867
14868
14869
14870
14871    # Check whether --enable-long-long or --disable-long-long was given.
14872 if test "${enable_long_long+set}" = set; then
14873   enableval="$enable_long_long"
14874
14875       case "$enableval" in
14876        yes|no) ;;
14877        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
14878 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
14879    { (exit 1); exit 1; }; } ;;
14880       esac
14881
14882 else
14883   enable_long_long=yes
14884 fi;
14885
14886   if test $enable_long_long = yes; then
14887
14888 cat >>confdefs.h <<\_ACEOF
14889 #define _GLIBCXX_USE_LONG_LONG 1
14890 _ACEOF
14891
14892   fi
14893   echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
14894 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
14895   echo "$as_me:$LINENO: result: $enable_long_long" >&5
14896 echo "${ECHO_T}$enable_long_long" >&6
14897
14898
14899    # Check whether --enable-wchar_t or --disable-wchar_t was given.
14900 if test "${enable_wchar_t+set}" = set; then
14901   enableval="$enable_wchar_t"
14902
14903       case "$enableval" in
14904        yes|no) ;;
14905        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
14906 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
14907    { (exit 1); exit 1; }; } ;;
14908       esac
14909
14910 else
14911   enable_wchar_t=yes
14912 fi;
14913
14914
14915   # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
14916
14917 for ac_header in wchar.h
14918 do
14919 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14921   echo "$as_me:$LINENO: checking for $ac_header" >&5
14922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14924   echo $ECHO_N "(cached) $ECHO_C" >&6
14925 fi
14926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14928 else
14929   # Is the header compilable?
14930 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14932 cat >conftest.$ac_ext <<_ACEOF
14933 /* confdefs.h.  */
14934 _ACEOF
14935 cat confdefs.h >>conftest.$ac_ext
14936 cat >>conftest.$ac_ext <<_ACEOF
14937 /* end confdefs.h.  */
14938 $ac_includes_default
14939 #include <$ac_header>
14940 _ACEOF
14941 rm -f conftest.$ac_objext
14942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14943   (eval $ac_compile) 2>conftest.er1
14944   ac_status=$?
14945   grep -v '^ *+' conftest.er1 >conftest.err
14946   rm -f conftest.er1
14947   cat conftest.err >&5
14948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949   (exit $ac_status); } &&
14950          { ac_try='test -z "$ac_c_werror_flag"
14951                          || test ! -s conftest.err'
14952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14953   (eval $ac_try) 2>&5
14954   ac_status=$?
14955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956   (exit $ac_status); }; } &&
14957          { ac_try='test -s conftest.$ac_objext'
14958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14959   (eval $ac_try) 2>&5
14960   ac_status=$?
14961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962   (exit $ac_status); }; }; then
14963   ac_header_compiler=yes
14964 else
14965   echo "$as_me: failed program was:" >&5
14966 sed 's/^/| /' conftest.$ac_ext >&5
14967
14968 ac_header_compiler=no
14969 fi
14970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14972 echo "${ECHO_T}$ac_header_compiler" >&6
14973
14974 # Is the header present?
14975 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14977 cat >conftest.$ac_ext <<_ACEOF
14978 /* confdefs.h.  */
14979 _ACEOF
14980 cat confdefs.h >>conftest.$ac_ext
14981 cat >>conftest.$ac_ext <<_ACEOF
14982 /* end confdefs.h.  */
14983 #include <$ac_header>
14984 _ACEOF
14985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14986   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14987   ac_status=$?
14988   grep -v '^ *+' conftest.er1 >conftest.err
14989   rm -f conftest.er1
14990   cat conftest.err >&5
14991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992   (exit $ac_status); } >/dev/null; then
14993   if test -s conftest.err; then
14994     ac_cpp_err=$ac_c_preproc_warn_flag
14995     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14996   else
14997     ac_cpp_err=
14998   fi
14999 else
15000   ac_cpp_err=yes
15001 fi
15002 if test -z "$ac_cpp_err"; then
15003   ac_header_preproc=yes
15004 else
15005   echo "$as_me: failed program was:" >&5
15006 sed 's/^/| /' conftest.$ac_ext >&5
15007
15008   ac_header_preproc=no
15009 fi
15010 rm -f conftest.err conftest.$ac_ext
15011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15012 echo "${ECHO_T}$ac_header_preproc" >&6
15013
15014 # So?  What about this header?
15015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15016   yes:no: )
15017     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15018 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15019     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15020 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15021     ac_header_preproc=yes
15022     ;;
15023   no:yes:* )
15024     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15025 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15026     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15027 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15028     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15029 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15030     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15031 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15032     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15033 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15034     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15035 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15036     (
15037       cat <<\_ASBOX
15038 ## ----------------------------------------- ##
15039 ## Report this to the package-unused lists.  ##
15040 ## ----------------------------------------- ##
15041 _ASBOX
15042     ) |
15043       sed "s/^/$as_me: WARNING:     /" >&2
15044     ;;
15045 esac
15046 echo "$as_me:$LINENO: checking for $ac_header" >&5
15047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15049   echo $ECHO_N "(cached) $ECHO_C" >&6
15050 else
15051   eval "$as_ac_Header=\$ac_header_preproc"
15052 fi
15053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15055
15056 fi
15057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15058   cat >>confdefs.h <<_ACEOF
15059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15060 _ACEOF
15061  ac_has_wchar_h=yes
15062 else
15063   ac_has_wchar_h=no
15064 fi
15065
15066 done
15067
15068   echo "$as_me:$LINENO: checking for mbstate_t" >&5
15069 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15070   cat >conftest.$ac_ext <<_ACEOF
15071 /* confdefs.h.  */
15072 _ACEOF
15073 cat confdefs.h >>conftest.$ac_ext
15074 cat >>conftest.$ac_ext <<_ACEOF
15075 /* end confdefs.h.  */
15076 #include <wchar.h>
15077 int
15078 main ()
15079 {
15080 mbstate_t teststate;
15081   ;
15082   return 0;
15083 }
15084 _ACEOF
15085 rm -f conftest.$ac_objext
15086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15087   (eval $ac_compile) 2>conftest.er1
15088   ac_status=$?
15089   grep -v '^ *+' conftest.er1 >conftest.err
15090   rm -f conftest.er1
15091   cat conftest.err >&5
15092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093   (exit $ac_status); } &&
15094          { ac_try='test -z "$ac_c_werror_flag"
15095                          || test ! -s conftest.err'
15096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15097   (eval $ac_try) 2>&5
15098   ac_status=$?
15099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100   (exit $ac_status); }; } &&
15101          { ac_try='test -s conftest.$ac_objext'
15102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15103   (eval $ac_try) 2>&5
15104   ac_status=$?
15105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106   (exit $ac_status); }; }; then
15107   have_mbstate_t=yes
15108 else
15109   echo "$as_me: failed program was:" >&5
15110 sed 's/^/| /' conftest.$ac_ext >&5
15111
15112 have_mbstate_t=no
15113 fi
15114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15115   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15116 echo "${ECHO_T}$have_mbstate_t" >&6
15117   if test x"$have_mbstate_t" = xyes; then
15118
15119 cat >>confdefs.h <<\_ACEOF
15120 #define HAVE_MBSTATE_T 1
15121 _ACEOF
15122
15123   fi
15124
15125   # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15126   # ac_has_wchar_h.
15127
15128 for ac_header in wctype.h
15129 do
15130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15132   echo "$as_me:$LINENO: checking for $ac_header" >&5
15133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15135   echo $ECHO_N "(cached) $ECHO_C" >&6
15136 fi
15137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15139 else
15140   # Is the header compilable?
15141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15143 cat >conftest.$ac_ext <<_ACEOF
15144 /* confdefs.h.  */
15145 _ACEOF
15146 cat confdefs.h >>conftest.$ac_ext
15147 cat >>conftest.$ac_ext <<_ACEOF
15148 /* end confdefs.h.  */
15149 $ac_includes_default
15150 #include <$ac_header>
15151 _ACEOF
15152 rm -f conftest.$ac_objext
15153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15154   (eval $ac_compile) 2>conftest.er1
15155   ac_status=$?
15156   grep -v '^ *+' conftest.er1 >conftest.err
15157   rm -f conftest.er1
15158   cat conftest.err >&5
15159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15160   (exit $ac_status); } &&
15161          { ac_try='test -z "$ac_c_werror_flag"
15162                          || test ! -s conftest.err'
15163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15164   (eval $ac_try) 2>&5
15165   ac_status=$?
15166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167   (exit $ac_status); }; } &&
15168          { ac_try='test -s conftest.$ac_objext'
15169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15170   (eval $ac_try) 2>&5
15171   ac_status=$?
15172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15173   (exit $ac_status); }; }; then
15174   ac_header_compiler=yes
15175 else
15176   echo "$as_me: failed program was:" >&5
15177 sed 's/^/| /' conftest.$ac_ext >&5
15178
15179 ac_header_compiler=no
15180 fi
15181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15182 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15183 echo "${ECHO_T}$ac_header_compiler" >&6
15184
15185 # Is the header present?
15186 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15187 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15188 cat >conftest.$ac_ext <<_ACEOF
15189 /* confdefs.h.  */
15190 _ACEOF
15191 cat confdefs.h >>conftest.$ac_ext
15192 cat >>conftest.$ac_ext <<_ACEOF
15193 /* end confdefs.h.  */
15194 #include <$ac_header>
15195 _ACEOF
15196 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15197   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15198   ac_status=$?
15199   grep -v '^ *+' conftest.er1 >conftest.err
15200   rm -f conftest.er1
15201   cat conftest.err >&5
15202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15203   (exit $ac_status); } >/dev/null; then
15204   if test -s conftest.err; then
15205     ac_cpp_err=$ac_c_preproc_warn_flag
15206     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15207   else
15208     ac_cpp_err=
15209   fi
15210 else
15211   ac_cpp_err=yes
15212 fi
15213 if test -z "$ac_cpp_err"; then
15214   ac_header_preproc=yes
15215 else
15216   echo "$as_me: failed program was:" >&5
15217 sed 's/^/| /' conftest.$ac_ext >&5
15218
15219   ac_header_preproc=no
15220 fi
15221 rm -f conftest.err conftest.$ac_ext
15222 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15223 echo "${ECHO_T}$ac_header_preproc" >&6
15224
15225 # So?  What about this header?
15226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15227   yes:no: )
15228     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15229 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15230     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15231 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15232     ac_header_preproc=yes
15233     ;;
15234   no:yes:* )
15235     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15236 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15237     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15238 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15239     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15240 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15241     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15242 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15243     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15244 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15245     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15246 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15247     (
15248       cat <<\_ASBOX
15249 ## ----------------------------------------- ##
15250 ## Report this to the package-unused lists.  ##
15251 ## ----------------------------------------- ##
15252 _ASBOX
15253     ) |
15254       sed "s/^/$as_me: WARNING:     /" >&2
15255     ;;
15256 esac
15257 echo "$as_me:$LINENO: checking for $ac_header" >&5
15258 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15260   echo $ECHO_N "(cached) $ECHO_C" >&6
15261 else
15262   eval "$as_ac_Header=\$ac_header_preproc"
15263 fi
15264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15265 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15266
15267 fi
15268 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15269   cat >>confdefs.h <<_ACEOF
15270 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15271 _ACEOF
15272  ac_has_wctype_h=yes
15273 else
15274   ac_has_wctype_h=no
15275 fi
15276
15277 done
15278
15279
15280   if test x"$enable_wchar_t" = x"yes"; then
15281
15282
15283
15284     ac_ext=cc
15285 ac_cpp='$CXXCPP $CPPFLAGS'
15286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15289
15290
15291     if test x"$ac_has_wchar_h" = xyes &&
15292        test x"$ac_has_wctype_h" = xyes; then
15293       cat >conftest.$ac_ext <<_ACEOF
15294 /* confdefs.h.  */
15295 _ACEOF
15296 cat confdefs.h >>conftest.$ac_ext
15297 cat >>conftest.$ac_ext <<_ACEOF
15298 /* end confdefs.h.  */
15299 #include <wchar.h>
15300                       #include <stddef.h>
15301                       wint_t i;
15302                       long l = WEOF;
15303                       long j = WCHAR_MIN;
15304                       long k = WCHAR_MAX;
15305                       namespace test
15306                       {
15307                         using ::btowc;
15308                         using ::fgetwc;
15309                         using ::fgetws;
15310                         using ::fputwc;
15311                         using ::fputws;
15312                         using ::fwide;
15313                         using ::fwprintf;
15314                         using ::fwscanf;
15315                         using ::getwc;
15316                         using ::getwchar;
15317                         using ::mbrlen;
15318                         using ::mbrtowc;
15319                         using ::mbsinit;
15320                         using ::mbsrtowcs;
15321                         using ::putwc;
15322                         using ::putwchar;
15323                         using ::swprintf;
15324                         using ::swscanf;
15325                         using ::ungetwc;
15326                         using ::vfwprintf;
15327                         using ::vswprintf;
15328                         using ::vwprintf;
15329                         using ::wcrtomb;
15330                         using ::wcscat;
15331                         using ::wcschr;
15332                         using ::wcscmp;
15333                         using ::wcscoll;
15334                         using ::wcscpy;
15335                         using ::wcscspn;
15336                         using ::wcsftime;
15337                         using ::wcslen;
15338                         using ::wcsncat;
15339                         using ::wcsncmp;
15340                         using ::wcsncpy;
15341                         using ::wcspbrk;
15342                         using ::wcsrchr;
15343                         using ::wcsrtombs;
15344                         using ::wcsspn;
15345                         using ::wcsstr;
15346                         using ::wcstod;
15347                         using ::wcstok;
15348                         using ::wcstol;
15349                         using ::wcstoul;
15350                         using ::wcsxfrm;
15351                         using ::wctob;
15352                         using ::wmemchr;
15353                         using ::wmemcmp;
15354                         using ::wmemcpy;
15355                         using ::wmemmove;
15356                         using ::wmemset;
15357                         using ::wprintf;
15358                         using ::wscanf;
15359                       }
15360
15361 int
15362 main ()
15363 {
15364
15365   ;
15366   return 0;
15367 }
15368 _ACEOF
15369 rm -f conftest.$ac_objext
15370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15371   (eval $ac_compile) 2>conftest.er1
15372   ac_status=$?
15373   grep -v '^ *+' conftest.er1 >conftest.err
15374   rm -f conftest.er1
15375   cat conftest.err >&5
15376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377   (exit $ac_status); } &&
15378          { ac_try='test -z "$ac_cxx_werror_flag"
15379                          || test ! -s conftest.err'
15380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15381   (eval $ac_try) 2>&5
15382   ac_status=$?
15383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15384   (exit $ac_status); }; } &&
15385          { ac_try='test -s conftest.$ac_objext'
15386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15387   (eval $ac_try) 2>&5
15388   ac_status=$?
15389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15390   (exit $ac_status); }; }; then
15391   :
15392 else
15393   echo "$as_me: failed program was:" >&5
15394 sed 's/^/| /' conftest.$ac_ext >&5
15395
15396 enable_wchar_t=no
15397 fi
15398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15399     else
15400       enable_wchar_t=no
15401     fi
15402
15403     ac_ext=c
15404 ac_cpp='$CPP $CPPFLAGS'
15405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15408
15409   fi
15410
15411   if test x"$enable_wchar_t" = x"yes"; then
15412
15413 cat >>confdefs.h <<\_ACEOF
15414 #define _GLIBCXX_USE_WCHAR_T 1
15415 _ACEOF
15416
15417   fi
15418
15419   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15420 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15421   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15422 echo "${ECHO_T}$enable_wchar_t" >&6
15423
15424
15425
15426    # Check whether --enable-c99 or --disable-c99 was given.
15427 if test "${enable_c99+set}" = set; then
15428   enableval="$enable_c99"
15429
15430       case "$enableval" in
15431        yes|no) ;;
15432        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15433 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15434    { (exit 1); exit 1; }; } ;;
15435       esac
15436
15437 else
15438   enable_c99=yes
15439 fi;
15440
15441
15442   if test x"$enable_c99" = x"yes"; then
15443
15444
15445
15446   ac_ext=cc
15447 ac_cpp='$CXXCPP $CPPFLAGS'
15448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15451
15452
15453   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
15454   # undefined and fake C99 facilities - like pre-standard snprintf - may be
15455   # spuriously enabled.
15456   # Long term, -std=c++0x could be even better, could manage to explicitely
15457   # request C99 facilities to the underlying C headers.
15458   ac_save_CXXFLAGS="$CXXFLAGS"
15459   CXXFLAGS="$CXXFLAGS -std=c++98"
15460   ac_save_LIBS="$LIBS"
15461   ac_save_gcc_no_link="$gcc_no_link"
15462
15463   if test x$gcc_no_link != xyes; then
15464     # Use -fno-exceptions to that the C driver can link these tests without
15465     # hitting undefined references to personality routines.
15466     CXXFLAGS="$CXXFLAGS -fno-exceptions"
15467     echo "$as_me:$LINENO: checking for sin in -lm" >&5
15468 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15469 if test "${ac_cv_lib_m_sin+set}" = set; then
15470   echo $ECHO_N "(cached) $ECHO_C" >&6
15471 else
15472   ac_check_lib_save_LIBS=$LIBS
15473 LIBS="-lm  $LIBS"
15474 if test x$gcc_no_link = xyes; then
15475   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15477    { (exit 1); exit 1; }; }
15478 fi
15479 cat >conftest.$ac_ext <<_ACEOF
15480 /* confdefs.h.  */
15481 _ACEOF
15482 cat confdefs.h >>conftest.$ac_ext
15483 cat >>conftest.$ac_ext <<_ACEOF
15484 /* end confdefs.h.  */
15485
15486 /* Override any gcc2 internal prototype to avoid an error.  */
15487 #ifdef __cplusplus
15488 extern "C"
15489 #endif
15490 /* We use char because int might match the return type of a gcc2
15491    builtin and then its argument prototype would still apply.  */
15492 char sin ();
15493 int
15494 main ()
15495 {
15496 sin ();
15497   ;
15498   return 0;
15499 }
15500 _ACEOF
15501 rm -f conftest.$ac_objext conftest$ac_exeext
15502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15503   (eval $ac_link) 2>conftest.er1
15504   ac_status=$?
15505   grep -v '^ *+' conftest.er1 >conftest.err
15506   rm -f conftest.er1
15507   cat conftest.err >&5
15508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509   (exit $ac_status); } &&
15510          { ac_try='test -z "$ac_cxx_werror_flag"
15511                          || test ! -s conftest.err'
15512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513   (eval $ac_try) 2>&5
15514   ac_status=$?
15515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516   (exit $ac_status); }; } &&
15517          { ac_try='test -s conftest$ac_exeext'
15518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15519   (eval $ac_try) 2>&5
15520   ac_status=$?
15521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522   (exit $ac_status); }; }; then
15523   ac_cv_lib_m_sin=yes
15524 else
15525   echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.$ac_ext >&5
15527
15528 ac_cv_lib_m_sin=no
15529 fi
15530 rm -f conftest.err conftest.$ac_objext \
15531       conftest$ac_exeext conftest.$ac_ext
15532 LIBS=$ac_check_lib_save_LIBS
15533 fi
15534 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15535 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15536 if test $ac_cv_lib_m_sin = yes; then
15537
15538       LIBS="$LIBS -lm"
15539
15540 else
15541
15542       # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15543       gcc_no_link=yes
15544
15545 fi
15546
15547   fi
15548
15549   # Check for the existence of <math.h> functions used if C99 is enabled.
15550   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15551 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15552   if test "${ac_c99_math+set}" = set; then
15553   echo $ECHO_N "(cached) $ECHO_C" >&6
15554 else
15555
15556   if test x$gcc_no_link = xyes; then
15557   cat >conftest.$ac_ext <<_ACEOF
15558 /* confdefs.h.  */
15559 _ACEOF
15560 cat confdefs.h >>conftest.$ac_ext
15561 cat >>conftest.$ac_ext <<_ACEOF
15562 /* end confdefs.h.  */
15563 #include <math.h>
15564       volatile double d1, d2;
15565       volatile int i;
15566 int
15567 main ()
15568 {
15569 i = fpclassify(d1);
15570       i = isfinite(d1);
15571       i = isinf(d1);
15572       i = isnan(d1);
15573       i = isnormal(d1);
15574       i = signbit(d1);
15575       i = isgreater(d1, d2);
15576       i = isgreaterequal(d1, d2);
15577       i = isless(d1, d2);
15578       i = islessequal(d1, d2);
15579       i = islessgreater(d1, d2);
15580       i = islessgreater(d1, d2);
15581       i = isunordered(d1, d2);
15582
15583   ;
15584   return 0;
15585 }
15586 _ACEOF
15587 rm -f conftest.$ac_objext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15589   (eval $ac_compile) 2>conftest.er1
15590   ac_status=$?
15591   grep -v '^ *+' conftest.er1 >conftest.err
15592   rm -f conftest.er1
15593   cat conftest.err >&5
15594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595   (exit $ac_status); } &&
15596          { ac_try='test -z "$ac_cxx_werror_flag"
15597                          || test ! -s conftest.err'
15598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15599   (eval $ac_try) 2>&5
15600   ac_status=$?
15601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602   (exit $ac_status); }; } &&
15603          { ac_try='test -s conftest.$ac_objext'
15604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15605   (eval $ac_try) 2>&5
15606   ac_status=$?
15607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15608   (exit $ac_status); }; }; then
15609   ac_c99_math=yes
15610 else
15611   echo "$as_me: failed program was:" >&5
15612 sed 's/^/| /' conftest.$ac_ext >&5
15613
15614 ac_c99_math=no
15615 fi
15616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15617 else
15618   if test x$gcc_no_link = xyes; then
15619   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15621    { (exit 1); exit 1; }; }
15622 fi
15623 cat >conftest.$ac_ext <<_ACEOF
15624 /* confdefs.h.  */
15625 _ACEOF
15626 cat confdefs.h >>conftest.$ac_ext
15627 cat >>conftest.$ac_ext <<_ACEOF
15628 /* end confdefs.h.  */
15629 #include <math.h>
15630       volatile double d1, d2;
15631       volatile int i;
15632 int
15633 main ()
15634 {
15635 i = fpclassify(d1);
15636       i = isfinite(d1);
15637       i = isinf(d1);
15638       i = isnan(d1);
15639       i = isnormal(d1);
15640       i = signbit(d1);
15641       i = isgreater(d1, d2);
15642       i = isgreaterequal(d1, d2);
15643       i = isless(d1, d2);
15644       i = islessequal(d1, d2);
15645       i = islessgreater(d1, d2);
15646       i = islessgreater(d1, d2);
15647       i = isunordered(d1, d2);
15648
15649   ;
15650   return 0;
15651 }
15652 _ACEOF
15653 rm -f conftest.$ac_objext conftest$ac_exeext
15654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15655   (eval $ac_link) 2>conftest.er1
15656   ac_status=$?
15657   grep -v '^ *+' conftest.er1 >conftest.err
15658   rm -f conftest.er1
15659   cat conftest.err >&5
15660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15661   (exit $ac_status); } &&
15662          { ac_try='test -z "$ac_cxx_werror_flag"
15663                          || test ! -s conftest.err'
15664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15665   (eval $ac_try) 2>&5
15666   ac_status=$?
15667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668   (exit $ac_status); }; } &&
15669          { ac_try='test -s conftest$ac_exeext'
15670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15671   (eval $ac_try) 2>&5
15672   ac_status=$?
15673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15674   (exit $ac_status); }; }; then
15675   ac_c99_math=yes
15676 else
15677   echo "$as_me: failed program was:" >&5
15678 sed 's/^/| /' conftest.$ac_ext >&5
15679
15680 ac_c99_math=no
15681 fi
15682 rm -f conftest.err conftest.$ac_objext \
15683       conftest$ac_exeext conftest.$ac_ext
15684 fi
15685
15686 fi
15687
15688   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
15689 echo "${ECHO_T}$ac_c99_math" >&6
15690   if test x"$ac_c99_math" = x"yes"; then
15691
15692 cat >>confdefs.h <<\_ACEOF
15693 #define _GLIBCXX_USE_C99_MATH 1
15694 _ACEOF
15695
15696   fi
15697
15698   # Check for the existence of <complex.h> complex math functions.
15699   # This is necessary even though libstdc++ uses the builtin versions
15700   # of these functions, because if the builtin cannot be used, a reference
15701   # to the library function is emitted.
15702
15703 for ac_header in tgmath.h
15704 do
15705 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15707   echo "$as_me:$LINENO: checking for $ac_header" >&5
15708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15710   echo $ECHO_N "(cached) $ECHO_C" >&6
15711 fi
15712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15714 else
15715   # Is the header compilable?
15716 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15717 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15718 cat >conftest.$ac_ext <<_ACEOF
15719 /* confdefs.h.  */
15720 _ACEOF
15721 cat confdefs.h >>conftest.$ac_ext
15722 cat >>conftest.$ac_ext <<_ACEOF
15723 /* end confdefs.h.  */
15724 $ac_includes_default
15725 #include <$ac_header>
15726 _ACEOF
15727 rm -f conftest.$ac_objext
15728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15729   (eval $ac_compile) 2>conftest.er1
15730   ac_status=$?
15731   grep -v '^ *+' conftest.er1 >conftest.err
15732   rm -f conftest.er1
15733   cat conftest.err >&5
15734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735   (exit $ac_status); } &&
15736          { ac_try='test -z "$ac_cxx_werror_flag"
15737                          || test ! -s conftest.err'
15738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15739   (eval $ac_try) 2>&5
15740   ac_status=$?
15741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742   (exit $ac_status); }; } &&
15743          { ac_try='test -s conftest.$ac_objext'
15744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15745   (eval $ac_try) 2>&5
15746   ac_status=$?
15747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748   (exit $ac_status); }; }; then
15749   ac_header_compiler=yes
15750 else
15751   echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.$ac_ext >&5
15753
15754 ac_header_compiler=no
15755 fi
15756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15757 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15758 echo "${ECHO_T}$ac_header_compiler" >&6
15759
15760 # Is the header present?
15761 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15762 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15763 cat >conftest.$ac_ext <<_ACEOF
15764 /* confdefs.h.  */
15765 _ACEOF
15766 cat confdefs.h >>conftest.$ac_ext
15767 cat >>conftest.$ac_ext <<_ACEOF
15768 /* end confdefs.h.  */
15769 #include <$ac_header>
15770 _ACEOF
15771 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15772   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15773   ac_status=$?
15774   grep -v '^ *+' conftest.er1 >conftest.err
15775   rm -f conftest.er1
15776   cat conftest.err >&5
15777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778   (exit $ac_status); } >/dev/null; then
15779   if test -s conftest.err; then
15780     ac_cpp_err=$ac_cxx_preproc_warn_flag
15781     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15782   else
15783     ac_cpp_err=
15784   fi
15785 else
15786   ac_cpp_err=yes
15787 fi
15788 if test -z "$ac_cpp_err"; then
15789   ac_header_preproc=yes
15790 else
15791   echo "$as_me: failed program was:" >&5
15792 sed 's/^/| /' conftest.$ac_ext >&5
15793
15794   ac_header_preproc=no
15795 fi
15796 rm -f conftest.err conftest.$ac_ext
15797 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15798 echo "${ECHO_T}$ac_header_preproc" >&6
15799
15800 # So?  What about this header?
15801 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15802   yes:no: )
15803     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15804 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15805     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15806 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15807     ac_header_preproc=yes
15808     ;;
15809   no:yes:* )
15810     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15811 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15812     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15813 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15814     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15815 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15816     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15817 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15818     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15819 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15820     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15821 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15822     (
15823       cat <<\_ASBOX
15824 ## ----------------------------------------- ##
15825 ## Report this to the package-unused lists.  ##
15826 ## ----------------------------------------- ##
15827 _ASBOX
15828     ) |
15829       sed "s/^/$as_me: WARNING:     /" >&2
15830     ;;
15831 esac
15832 echo "$as_me:$LINENO: checking for $ac_header" >&5
15833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15835   echo $ECHO_N "(cached) $ECHO_C" >&6
15836 else
15837   eval "$as_ac_Header=\$ac_header_preproc"
15838 fi
15839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15841
15842 fi
15843 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15844   cat >>confdefs.h <<_ACEOF
15845 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15846 _ACEOF
15847  ac_has_tgmath_h=yes
15848 else
15849   ac_has_tgmath_h=no
15850 fi
15851
15852 done
15853
15854
15855 for ac_header in complex.h
15856 do
15857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15859   echo "$as_me:$LINENO: checking for $ac_header" >&5
15860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15862   echo $ECHO_N "(cached) $ECHO_C" >&6
15863 fi
15864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15866 else
15867   # Is the header compilable?
15868 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15869 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15870 cat >conftest.$ac_ext <<_ACEOF
15871 /* confdefs.h.  */
15872 _ACEOF
15873 cat confdefs.h >>conftest.$ac_ext
15874 cat >>conftest.$ac_ext <<_ACEOF
15875 /* end confdefs.h.  */
15876 $ac_includes_default
15877 #include <$ac_header>
15878 _ACEOF
15879 rm -f conftest.$ac_objext
15880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15881   (eval $ac_compile) 2>conftest.er1
15882   ac_status=$?
15883   grep -v '^ *+' conftest.er1 >conftest.err
15884   rm -f conftest.er1
15885   cat conftest.err >&5
15886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887   (exit $ac_status); } &&
15888          { ac_try='test -z "$ac_cxx_werror_flag"
15889                          || test ! -s conftest.err'
15890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15891   (eval $ac_try) 2>&5
15892   ac_status=$?
15893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15894   (exit $ac_status); }; } &&
15895          { ac_try='test -s conftest.$ac_objext'
15896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15897   (eval $ac_try) 2>&5
15898   ac_status=$?
15899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900   (exit $ac_status); }; }; then
15901   ac_header_compiler=yes
15902 else
15903   echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.$ac_ext >&5
15905
15906 ac_header_compiler=no
15907 fi
15908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15910 echo "${ECHO_T}$ac_header_compiler" >&6
15911
15912 # Is the header present?
15913 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15915 cat >conftest.$ac_ext <<_ACEOF
15916 /* confdefs.h.  */
15917 _ACEOF
15918 cat confdefs.h >>conftest.$ac_ext
15919 cat >>conftest.$ac_ext <<_ACEOF
15920 /* end confdefs.h.  */
15921 #include <$ac_header>
15922 _ACEOF
15923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15924   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15925   ac_status=$?
15926   grep -v '^ *+' conftest.er1 >conftest.err
15927   rm -f conftest.er1
15928   cat conftest.err >&5
15929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930   (exit $ac_status); } >/dev/null; then
15931   if test -s conftest.err; then
15932     ac_cpp_err=$ac_cxx_preproc_warn_flag
15933     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15934   else
15935     ac_cpp_err=
15936   fi
15937 else
15938   ac_cpp_err=yes
15939 fi
15940 if test -z "$ac_cpp_err"; then
15941   ac_header_preproc=yes
15942 else
15943   echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.$ac_ext >&5
15945
15946   ac_header_preproc=no
15947 fi
15948 rm -f conftest.err conftest.$ac_ext
15949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15950 echo "${ECHO_T}$ac_header_preproc" >&6
15951
15952 # So?  What about this header?
15953 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15954   yes:no: )
15955     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15956 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15957     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15958 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15959     ac_header_preproc=yes
15960     ;;
15961   no:yes:* )
15962     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15964     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
15965 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
15966     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15967 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15968     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
15969 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
15970     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15972     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15973 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15974     (
15975       cat <<\_ASBOX
15976 ## ----------------------------------------- ##
15977 ## Report this to the package-unused lists.  ##
15978 ## ----------------------------------------- ##
15979 _ASBOX
15980     ) |
15981       sed "s/^/$as_me: WARNING:     /" >&2
15982     ;;
15983 esac
15984 echo "$as_me:$LINENO: checking for $ac_header" >&5
15985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15987   echo $ECHO_N "(cached) $ECHO_C" >&6
15988 else
15989   eval "$as_ac_Header=\$ac_header_preproc"
15990 fi
15991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15993
15994 fi
15995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15996   cat >>confdefs.h <<_ACEOF
15997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15998 _ACEOF
15999  ac_has_complex_h=yes
16000 else
16001   ac_has_complex_h=no
16002 fi
16003
16004 done
16005
16006   ac_c99_complex=no;
16007   if test x"$ac_has_complex_h" = x"yes"; then
16008     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
16009 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
16010     if test x$gcc_no_link = xyes; then
16011   cat >conftest.$ac_ext <<_ACEOF
16012 /* confdefs.h.  */
16013 _ACEOF
16014 cat confdefs.h >>conftest.$ac_ext
16015 cat >>conftest.$ac_ext <<_ACEOF
16016 /* end confdefs.h.  */
16017 #include <complex.h>
16018         typedef __complex__ float float_type;
16019         typedef __complex__ double double_type;
16020         typedef __complex__ long double ld_type;
16021         volatile float_type tmpf;
16022         volatile double_type tmpd;
16023         volatile ld_type tmpld;
16024         volatile float f;
16025         volatile double d;
16026         volatile long double ld;
16027 int
16028 main ()
16029 {
16030 f = cabsf(tmpf);
16031         f = cargf(tmpf);
16032         tmpf = ccosf(tmpf);
16033         tmpf = ccoshf(tmpf);
16034         tmpf = cexpf(tmpf);
16035         tmpf = clogf(tmpf);
16036         tmpf = csinf(tmpf);
16037         tmpf = csinhf(tmpf);
16038         tmpf = csqrtf(tmpf);
16039         tmpf = ctanf(tmpf);
16040         tmpf = ctanhf(tmpf);
16041         tmpf = cpowf(tmpf, tmpf);
16042         d = cabs(tmpd);
16043         d = carg(tmpd);
16044         tmpd = ccos(tmpd);
16045         tmpd = ccosh(tmpd);
16046         tmpd = cexp(tmpd);
16047         tmpd = clog(tmpd);
16048         tmpd = csin(tmpd);
16049         tmpd = csinh(tmpd);
16050         tmpd = csqrt(tmpd);
16051         tmpd = ctan(tmpd);
16052         tmpd = ctanh(tmpd);
16053         tmpd = cpow(tmpd, tmpd);
16054         ld = cabsl(tmpld);
16055         ld = cargl(tmpld);
16056         tmpld = ccosl(tmpld);
16057         tmpld = ccoshl(tmpld);
16058         tmpld = cexpl(tmpld);
16059         tmpld = clogl(tmpld);
16060         tmpld = csinl(tmpld);
16061         tmpld = csinhl(tmpld);
16062         tmpld = csqrtl(tmpld);
16063         tmpld = ctanl(tmpld);
16064         tmpld = ctanhl(tmpld);
16065         tmpld = cpowl(tmpld, tmpld);
16066
16067   ;
16068   return 0;
16069 }
16070 _ACEOF
16071 rm -f conftest.$ac_objext
16072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16073   (eval $ac_compile) 2>conftest.er1
16074   ac_status=$?
16075   grep -v '^ *+' conftest.er1 >conftest.err
16076   rm -f conftest.er1
16077   cat conftest.err >&5
16078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16079   (exit $ac_status); } &&
16080          { ac_try='test -z "$ac_cxx_werror_flag"
16081                          || test ! -s conftest.err'
16082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16083   (eval $ac_try) 2>&5
16084   ac_status=$?
16085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16086   (exit $ac_status); }; } &&
16087          { ac_try='test -s conftest.$ac_objext'
16088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16089   (eval $ac_try) 2>&5
16090   ac_status=$?
16091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16092   (exit $ac_status); }; }; then
16093   ac_c99_complex=yes
16094 else
16095   echo "$as_me: failed program was:" >&5
16096 sed 's/^/| /' conftest.$ac_ext >&5
16097
16098 ac_c99_complex=no
16099 fi
16100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16101 else
16102   if test x$gcc_no_link = xyes; then
16103   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16105    { (exit 1); exit 1; }; }
16106 fi
16107 cat >conftest.$ac_ext <<_ACEOF
16108 /* confdefs.h.  */
16109 _ACEOF
16110 cat confdefs.h >>conftest.$ac_ext
16111 cat >>conftest.$ac_ext <<_ACEOF
16112 /* end confdefs.h.  */
16113 #include <complex.h>
16114         typedef __complex__ float float_type;
16115         typedef __complex__ double double_type;
16116         typedef __complex__ long double ld_type;
16117         volatile float_type tmpf;
16118         volatile double_type tmpd;
16119         volatile ld_type tmpld;
16120         volatile float f;
16121         volatile double d;
16122         volatile long double ld;
16123 int
16124 main ()
16125 {
16126 f = cabsf(tmpf);
16127         f = cargf(tmpf);
16128         tmpf = ccosf(tmpf);
16129         tmpf = ccoshf(tmpf);
16130         tmpf = cexpf(tmpf);
16131         tmpf = clogf(tmpf);
16132         tmpf = csinf(tmpf);
16133         tmpf = csinhf(tmpf);
16134         tmpf = csqrtf(tmpf);
16135         tmpf = ctanf(tmpf);
16136         tmpf = ctanhf(tmpf);
16137         tmpf = cpowf(tmpf, tmpf);
16138         d = cabs(tmpd);
16139         d = carg(tmpd);
16140         tmpd = ccos(tmpd);
16141         tmpd = ccosh(tmpd);
16142         tmpd = cexp(tmpd);
16143         tmpd = clog(tmpd);
16144         tmpd = csin(tmpd);
16145         tmpd = csinh(tmpd);
16146         tmpd = csqrt(tmpd);
16147         tmpd = ctan(tmpd);
16148         tmpd = ctanh(tmpd);
16149         tmpd = cpow(tmpd, tmpd);
16150         ld = cabsl(tmpld);
16151         ld = cargl(tmpld);
16152         tmpld = ccosl(tmpld);
16153         tmpld = ccoshl(tmpld);
16154         tmpld = cexpl(tmpld);
16155         tmpld = clogl(tmpld);
16156         tmpld = csinl(tmpld);
16157         tmpld = csinhl(tmpld);
16158         tmpld = csqrtl(tmpld);
16159         tmpld = ctanl(tmpld);
16160         tmpld = ctanhl(tmpld);
16161         tmpld = cpowl(tmpld, tmpld);
16162
16163   ;
16164   return 0;
16165 }
16166 _ACEOF
16167 rm -f conftest.$ac_objext conftest$ac_exeext
16168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16169   (eval $ac_link) 2>conftest.er1
16170   ac_status=$?
16171   grep -v '^ *+' conftest.er1 >conftest.err
16172   rm -f conftest.er1
16173   cat conftest.err >&5
16174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16175   (exit $ac_status); } &&
16176          { ac_try='test -z "$ac_cxx_werror_flag"
16177                          || test ! -s conftest.err'
16178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16179   (eval $ac_try) 2>&5
16180   ac_status=$?
16181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16182   (exit $ac_status); }; } &&
16183          { ac_try='test -s conftest$ac_exeext'
16184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16185   (eval $ac_try) 2>&5
16186   ac_status=$?
16187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188   (exit $ac_status); }; }; then
16189   ac_c99_complex=yes
16190 else
16191   echo "$as_me: failed program was:" >&5
16192 sed 's/^/| /' conftest.$ac_ext >&5
16193
16194 ac_c99_complex=no
16195 fi
16196 rm -f conftest.err conftest.$ac_objext \
16197       conftest$ac_exeext conftest.$ac_ext
16198 fi
16199   fi
16200   echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
16201 echo "${ECHO_T}$ac_c99_complex" >&6
16202   if test x"$ac_c99_complex" = x"yes"; then
16203
16204 cat >>confdefs.h <<\_ACEOF
16205 #define _GLIBCXX_USE_C99_COMPLEX 1
16206 _ACEOF
16207
16208   fi
16209
16210   # Check for the existence in <stdio.h> of vscanf, et. al.
16211   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16212 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16213   if test "${ac_c99_stdio+set}" = set; then
16214   echo $ECHO_N "(cached) $ECHO_C" >&6
16215 else
16216
16217   if test x$gcc_no_link = xyes; then
16218   cat >conftest.$ac_ext <<_ACEOF
16219 /* confdefs.h.  */
16220 _ACEOF
16221 cat confdefs.h >>conftest.$ac_ext
16222 cat >>conftest.$ac_ext <<_ACEOF
16223 /* end confdefs.h.  */
16224 #include <stdio.h>
16225       #include <stdarg.h>
16226       void foo(char* fmt, ...)
16227       {
16228         va_list args; va_start(args, fmt);
16229         vfscanf(stderr, "%i", args);
16230         vscanf("%i", args);
16231         vsnprintf(fmt, 0, "%i", args);
16232         vsscanf(fmt, "%i", args);
16233       }
16234 int
16235 main ()
16236 {
16237 snprintf("12", 0, "%i");
16238   ;
16239   return 0;
16240 }
16241 _ACEOF
16242 rm -f conftest.$ac_objext
16243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16244   (eval $ac_compile) 2>conftest.er1
16245   ac_status=$?
16246   grep -v '^ *+' conftest.er1 >conftest.err
16247   rm -f conftest.er1
16248   cat conftest.err >&5
16249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250   (exit $ac_status); } &&
16251          { ac_try='test -z "$ac_cxx_werror_flag"
16252                          || test ! -s conftest.err'
16253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16254   (eval $ac_try) 2>&5
16255   ac_status=$?
16256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16257   (exit $ac_status); }; } &&
16258          { ac_try='test -s conftest.$ac_objext'
16259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16260   (eval $ac_try) 2>&5
16261   ac_status=$?
16262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16263   (exit $ac_status); }; }; then
16264   ac_c99_stdio=yes
16265 else
16266   echo "$as_me: failed program was:" >&5
16267 sed 's/^/| /' conftest.$ac_ext >&5
16268
16269 ac_c99_stdio=no
16270 fi
16271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16272 else
16273   if test x$gcc_no_link = xyes; then
16274   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16276    { (exit 1); exit 1; }; }
16277 fi
16278 cat >conftest.$ac_ext <<_ACEOF
16279 /* confdefs.h.  */
16280 _ACEOF
16281 cat confdefs.h >>conftest.$ac_ext
16282 cat >>conftest.$ac_ext <<_ACEOF
16283 /* end confdefs.h.  */
16284 #include <stdio.h>
16285       #include <stdarg.h>
16286       void foo(char* fmt, ...)
16287       {
16288         va_list args; va_start(args, fmt);
16289         vfscanf(stderr, "%i", args);
16290         vscanf("%i", args);
16291         vsnprintf(fmt, 0, "%i", args);
16292         vsscanf(fmt, "%i", args);
16293       }
16294 int
16295 main ()
16296 {
16297 snprintf("12", 0, "%i");
16298   ;
16299   return 0;
16300 }
16301 _ACEOF
16302 rm -f conftest.$ac_objext conftest$ac_exeext
16303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16304   (eval $ac_link) 2>conftest.er1
16305   ac_status=$?
16306   grep -v '^ *+' conftest.er1 >conftest.err
16307   rm -f conftest.er1
16308   cat conftest.err >&5
16309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16310   (exit $ac_status); } &&
16311          { ac_try='test -z "$ac_cxx_werror_flag"
16312                          || test ! -s conftest.err'
16313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16314   (eval $ac_try) 2>&5
16315   ac_status=$?
16316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16317   (exit $ac_status); }; } &&
16318          { ac_try='test -s conftest$ac_exeext'
16319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16320   (eval $ac_try) 2>&5
16321   ac_status=$?
16322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16323   (exit $ac_status); }; }; then
16324   ac_c99_stdio=yes
16325 else
16326   echo "$as_me: failed program was:" >&5
16327 sed 's/^/| /' conftest.$ac_ext >&5
16328
16329 ac_c99_stdio=no
16330 fi
16331 rm -f conftest.err conftest.$ac_objext \
16332       conftest$ac_exeext conftest.$ac_ext
16333 fi
16334
16335 fi
16336
16337   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
16338 echo "${ECHO_T}$ac_c99_stdio" >&6
16339
16340   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16341   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16342 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16343   if test "${ac_c99_stdlib+set}" = set; then
16344   echo $ECHO_N "(cached) $ECHO_C" >&6
16345 else
16346
16347   if test x$gcc_no_link = xyes; then
16348   cat >conftest.$ac_ext <<_ACEOF
16349 /* confdefs.h.  */
16350 _ACEOF
16351 cat confdefs.h >>conftest.$ac_ext
16352 cat >>conftest.$ac_ext <<_ACEOF
16353 /* end confdefs.h.  */
16354 #include <stdlib.h>
16355       volatile float f;
16356       volatile long double ld;
16357       volatile unsigned long long ll;
16358       lldiv_t mydivt;
16359 int
16360 main ()
16361 {
16362 char* tmp;
16363       f = strtof("gnu", &tmp);
16364       ld = strtold("gnu", &tmp);
16365       ll = strtoll("gnu", &tmp, 10);
16366       ll = strtoull("gnu", &tmp, 10);
16367       ll = llabs(10);
16368       mydivt = lldiv(10,1);
16369       ll = mydivt.quot;
16370       ll = mydivt.rem;
16371       ll = atoll("10");
16372       _Exit(0);
16373
16374   ;
16375   return 0;
16376 }
16377 _ACEOF
16378 rm -f conftest.$ac_objext
16379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16380   (eval $ac_compile) 2>conftest.er1
16381   ac_status=$?
16382   grep -v '^ *+' conftest.er1 >conftest.err
16383   rm -f conftest.er1
16384   cat conftest.err >&5
16385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16386   (exit $ac_status); } &&
16387          { ac_try='test -z "$ac_cxx_werror_flag"
16388                          || test ! -s conftest.err'
16389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16390   (eval $ac_try) 2>&5
16391   ac_status=$?
16392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393   (exit $ac_status); }; } &&
16394          { ac_try='test -s conftest.$ac_objext'
16395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16396   (eval $ac_try) 2>&5
16397   ac_status=$?
16398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16399   (exit $ac_status); }; }; then
16400   ac_c99_stdlib=yes
16401 else
16402   echo "$as_me: failed program was:" >&5
16403 sed 's/^/| /' conftest.$ac_ext >&5
16404
16405 ac_c99_stdlib=no
16406 fi
16407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16408 else
16409   if test x$gcc_no_link = xyes; then
16410   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16412    { (exit 1); exit 1; }; }
16413 fi
16414 cat >conftest.$ac_ext <<_ACEOF
16415 /* confdefs.h.  */
16416 _ACEOF
16417 cat confdefs.h >>conftest.$ac_ext
16418 cat >>conftest.$ac_ext <<_ACEOF
16419 /* end confdefs.h.  */
16420 #include <stdlib.h>
16421       volatile float f;
16422       volatile long double ld;
16423       volatile unsigned long long ll;
16424       lldiv_t mydivt;
16425 int
16426 main ()
16427 {
16428 char* tmp;
16429       f = strtof("gnu", &tmp);
16430       ld = strtold("gnu", &tmp);
16431       ll = strtoll("gnu", &tmp, 10);
16432       ll = strtoull("gnu", &tmp, 10);
16433       ll = llabs(10);
16434       mydivt = lldiv(10,1);
16435       ll = mydivt.quot;
16436       ll = mydivt.rem;
16437       ll = atoll("10");
16438       _Exit(0);
16439
16440   ;
16441   return 0;
16442 }
16443 _ACEOF
16444 rm -f conftest.$ac_objext conftest$ac_exeext
16445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16446   (eval $ac_link) 2>conftest.er1
16447   ac_status=$?
16448   grep -v '^ *+' conftest.er1 >conftest.err
16449   rm -f conftest.er1
16450   cat conftest.err >&5
16451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452   (exit $ac_status); } &&
16453          { ac_try='test -z "$ac_cxx_werror_flag"
16454                          || test ! -s conftest.err'
16455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16456   (eval $ac_try) 2>&5
16457   ac_status=$?
16458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16459   (exit $ac_status); }; } &&
16460          { ac_try='test -s conftest$ac_exeext'
16461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462   (eval $ac_try) 2>&5
16463   ac_status=$?
16464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465   (exit $ac_status); }; }; then
16466   ac_c99_stdlib=yes
16467 else
16468   echo "$as_me: failed program was:" >&5
16469 sed 's/^/| /' conftest.$ac_ext >&5
16470
16471 ac_c99_stdlib=no
16472 fi
16473 rm -f conftest.err conftest.$ac_objext \
16474       conftest$ac_exeext conftest.$ac_ext
16475 fi
16476
16477 fi
16478
16479   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
16480 echo "${ECHO_T}$ac_c99_stdlib" >&6
16481
16482   # Check for the existence in <wchar.h> of wcstold, etc.
16483   ac_c99_wchar=no;
16484   if test x"$ac_has_wchar_h" = xyes &&
16485      test x"$ac_has_wctype_h" = xyes; then
16486     echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16487 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16488     cat >conftest.$ac_ext <<_ACEOF
16489 /* confdefs.h.  */
16490 _ACEOF
16491 cat confdefs.h >>conftest.$ac_ext
16492 cat >>conftest.$ac_ext <<_ACEOF
16493 /* end confdefs.h.  */
16494 #include <wchar.h>
16495                     namespace test
16496                     {
16497                       using ::wcstold;
16498                       using ::wcstoll;
16499                       using ::wcstoull;
16500                     }
16501
16502 int
16503 main ()
16504 {
16505
16506   ;
16507   return 0;
16508 }
16509 _ACEOF
16510 rm -f conftest.$ac_objext
16511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16512   (eval $ac_compile) 2>conftest.er1
16513   ac_status=$?
16514   grep -v '^ *+' conftest.er1 >conftest.err
16515   rm -f conftest.er1
16516   cat conftest.err >&5
16517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518   (exit $ac_status); } &&
16519          { ac_try='test -z "$ac_cxx_werror_flag"
16520                          || test ! -s conftest.err'
16521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16522   (eval $ac_try) 2>&5
16523   ac_status=$?
16524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16525   (exit $ac_status); }; } &&
16526          { ac_try='test -s conftest.$ac_objext'
16527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16528   (eval $ac_try) 2>&5
16529   ac_status=$?
16530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16531   (exit $ac_status); }; }; then
16532   ac_c99_wchar=yes
16533 else
16534   echo "$as_me: failed program was:" >&5
16535 sed 's/^/| /' conftest.$ac_ext >&5
16536
16537 ac_c99_wchar=no
16538 fi
16539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16540
16541     # Checks for wide character functions that may not be present.
16542     # Injection of these is wrapped with guard macros.
16543     # NB: only put functions here, instead of immediately above, if
16544     # absolutely necessary.
16545     cat >conftest.$ac_ext <<_ACEOF
16546 /* confdefs.h.  */
16547 _ACEOF
16548 cat confdefs.h >>conftest.$ac_ext
16549 cat >>conftest.$ac_ext <<_ACEOF
16550 /* end confdefs.h.  */
16551 #include <wchar.h>
16552                     namespace test { using ::vfwscanf; }
16553 int
16554 main ()
16555 {
16556
16557   ;
16558   return 0;
16559 }
16560 _ACEOF
16561 rm -f conftest.$ac_objext
16562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16563   (eval $ac_compile) 2>conftest.er1
16564   ac_status=$?
16565   grep -v '^ *+' conftest.er1 >conftest.err
16566   rm -f conftest.er1
16567   cat conftest.err >&5
16568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569   (exit $ac_status); } &&
16570          { ac_try='test -z "$ac_cxx_werror_flag"
16571                          || test ! -s conftest.err'
16572   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16573   (eval $ac_try) 2>&5
16574   ac_status=$?
16575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16576   (exit $ac_status); }; } &&
16577          { ac_try='test -s conftest.$ac_objext'
16578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16579   (eval $ac_try) 2>&5
16580   ac_status=$?
16581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16582   (exit $ac_status); }; }; then
16583
16584 cat >>confdefs.h <<\_ACEOF
16585 #define HAVE_VFWSCANF 1
16586 _ACEOF
16587
16588 else
16589   echo "$as_me: failed program was:" >&5
16590 sed 's/^/| /' conftest.$ac_ext >&5
16591
16592 fi
16593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16594
16595     cat >conftest.$ac_ext <<_ACEOF
16596 /* confdefs.h.  */
16597 _ACEOF
16598 cat confdefs.h >>conftest.$ac_ext
16599 cat >>conftest.$ac_ext <<_ACEOF
16600 /* end confdefs.h.  */
16601 #include <wchar.h>
16602                     namespace test { using ::vswscanf; }
16603 int
16604 main ()
16605 {
16606
16607   ;
16608   return 0;
16609 }
16610 _ACEOF
16611 rm -f conftest.$ac_objext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16613   (eval $ac_compile) 2>conftest.er1
16614   ac_status=$?
16615   grep -v '^ *+' conftest.er1 >conftest.err
16616   rm -f conftest.er1
16617   cat conftest.err >&5
16618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619   (exit $ac_status); } &&
16620          { ac_try='test -z "$ac_cxx_werror_flag"
16621                          || test ! -s conftest.err'
16622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16623   (eval $ac_try) 2>&5
16624   ac_status=$?
16625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16626   (exit $ac_status); }; } &&
16627          { ac_try='test -s conftest.$ac_objext'
16628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16629   (eval $ac_try) 2>&5
16630   ac_status=$?
16631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16632   (exit $ac_status); }; }; then
16633
16634 cat >>confdefs.h <<\_ACEOF
16635 #define HAVE_VSWSCANF 1
16636 _ACEOF
16637
16638 else
16639   echo "$as_me: failed program was:" >&5
16640 sed 's/^/| /' conftest.$ac_ext >&5
16641
16642 fi
16643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16644
16645     cat >conftest.$ac_ext <<_ACEOF
16646 /* confdefs.h.  */
16647 _ACEOF
16648 cat confdefs.h >>conftest.$ac_ext
16649 cat >>conftest.$ac_ext <<_ACEOF
16650 /* end confdefs.h.  */
16651 #include <wchar.h>
16652                     namespace test { using ::vwscanf; }
16653 int
16654 main ()
16655 {
16656
16657   ;
16658   return 0;
16659 }
16660 _ACEOF
16661 rm -f conftest.$ac_objext
16662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16663   (eval $ac_compile) 2>conftest.er1
16664   ac_status=$?
16665   grep -v '^ *+' conftest.er1 >conftest.err
16666   rm -f conftest.er1
16667   cat conftest.err >&5
16668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16669   (exit $ac_status); } &&
16670          { ac_try='test -z "$ac_cxx_werror_flag"
16671                          || test ! -s conftest.err'
16672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16673   (eval $ac_try) 2>&5
16674   ac_status=$?
16675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676   (exit $ac_status); }; } &&
16677          { ac_try='test -s conftest.$ac_objext'
16678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16679   (eval $ac_try) 2>&5
16680   ac_status=$?
16681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682   (exit $ac_status); }; }; then
16683
16684 cat >>confdefs.h <<\_ACEOF
16685 #define HAVE_VWSCANF 1
16686 _ACEOF
16687
16688 else
16689   echo "$as_me: failed program was:" >&5
16690 sed 's/^/| /' conftest.$ac_ext >&5
16691
16692 fi
16693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16694
16695     cat >conftest.$ac_ext <<_ACEOF
16696 /* confdefs.h.  */
16697 _ACEOF
16698 cat confdefs.h >>conftest.$ac_ext
16699 cat >>conftest.$ac_ext <<_ACEOF
16700 /* end confdefs.h.  */
16701 #include <wchar.h>
16702                     namespace test { using ::wcstof; }
16703 int
16704 main ()
16705 {
16706
16707   ;
16708   return 0;
16709 }
16710 _ACEOF
16711 rm -f conftest.$ac_objext
16712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16713   (eval $ac_compile) 2>conftest.er1
16714   ac_status=$?
16715   grep -v '^ *+' conftest.er1 >conftest.err
16716   rm -f conftest.er1
16717   cat conftest.err >&5
16718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719   (exit $ac_status); } &&
16720          { ac_try='test -z "$ac_cxx_werror_flag"
16721                          || test ! -s conftest.err'
16722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16723   (eval $ac_try) 2>&5
16724   ac_status=$?
16725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16726   (exit $ac_status); }; } &&
16727          { ac_try='test -s conftest.$ac_objext'
16728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729   (eval $ac_try) 2>&5
16730   ac_status=$?
16731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732   (exit $ac_status); }; }; then
16733
16734 cat >>confdefs.h <<\_ACEOF
16735 #define HAVE_WCSTOF 1
16736 _ACEOF
16737
16738 else
16739   echo "$as_me: failed program was:" >&5
16740 sed 's/^/| /' conftest.$ac_ext >&5
16741
16742 fi
16743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16744
16745     cat >conftest.$ac_ext <<_ACEOF
16746 /* confdefs.h.  */
16747 _ACEOF
16748 cat confdefs.h >>conftest.$ac_ext
16749 cat >>conftest.$ac_ext <<_ACEOF
16750 /* end confdefs.h.  */
16751 #include <wctype.h>
16752 int
16753 main ()
16754 {
16755  wint_t t; int i = iswblank(t);
16756   ;
16757   return 0;
16758 }
16759 _ACEOF
16760 rm -f conftest.$ac_objext
16761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16762   (eval $ac_compile) 2>conftest.er1
16763   ac_status=$?
16764   grep -v '^ *+' conftest.er1 >conftest.err
16765   rm -f conftest.er1
16766   cat conftest.err >&5
16767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768   (exit $ac_status); } &&
16769          { ac_try='test -z "$ac_cxx_werror_flag"
16770                          || test ! -s conftest.err'
16771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16772   (eval $ac_try) 2>&5
16773   ac_status=$?
16774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16775   (exit $ac_status); }; } &&
16776          { ac_try='test -s conftest.$ac_objext'
16777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16778   (eval $ac_try) 2>&5
16779   ac_status=$?
16780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16781   (exit $ac_status); }; }; then
16782
16783 cat >>confdefs.h <<\_ACEOF
16784 #define HAVE_ISWBLANK 1
16785 _ACEOF
16786
16787 else
16788   echo "$as_me: failed program was:" >&5
16789 sed 's/^/| /' conftest.$ac_ext >&5
16790
16791 fi
16792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16793
16794     echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
16795 echo "${ECHO_T}$ac_c99_wchar" >&6
16796   fi
16797
16798   # Option parsed, now set things appropriately.
16799   if test x"$ac_c99_math" = x"no" ||
16800      test x"$ac_c99_complex" = x"no" ||
16801      test x"$ac_c99_stdio" = x"no" ||
16802      test x"$ac_c99_stdlib" = x"no" ||
16803      test x"$ac_c99_wchar" = x"no"; then
16804     enable_c99=no;
16805   else
16806
16807 cat >>confdefs.h <<\_ACEOF
16808 #define _GLIBCXX_USE_C99 1
16809 _ACEOF
16810
16811   fi
16812
16813   gcc_no_link="$ac_save_gcc_no_link"
16814   LIBS="$ac_save_LIBS"
16815   CXXFLAGS="$ac_save_CXXFLAGS"
16816   ac_ext=c
16817 ac_cpp='$CPP $CPPFLAGS'
16818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16821
16822   fi
16823
16824   echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
16825 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
16826   echo "$as_me:$LINENO: result: $enable_c99" >&5
16827 echo "${ECHO_T}$enable_c99" >&6
16828
16829
16830    # Check whether --enable-concept-checks or --disable-concept-checks was given.
16831 if test "${enable_concept_checks+set}" = set; then
16832   enableval="$enable_concept_checks"
16833
16834       case "$enableval" in
16835        yes|no) ;;
16836        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
16837 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
16838    { (exit 1); exit 1; }; } ;;
16839       esac
16840
16841 else
16842   enable_concept_checks=no
16843 fi;
16844
16845   if test $enable_concept_checks = yes; then
16846
16847 cat >>confdefs.h <<\_ACEOF
16848 #define _GLIBCXX_CONCEPT_CHECKS 1
16849 _ACEOF
16850
16851   fi
16852
16853
16854    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
16855 if test "${enable_libstdcxx_debug_flags+set}" = set; then
16856   enableval="$enable_libstdcxx_debug_flags"
16857   case "x$enable_libstdcxx_debug_flags" in
16858       xno | x)    enable_libstdcxx_debug_flags= ;;
16859       x-*)        ;;
16860       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
16861 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
16862    { (exit 1); exit 1; }; } ;;
16863      esac
16864 else
16865   enable_libstdcxx_debug_flags="-g3 -O0"
16866 fi;
16867
16868
16869   # Option parsed, now set things appropriately
16870   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16871
16872
16873   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
16874 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16875
16876
16877   echo "$as_me:$LINENO: checking for additional debug build" >&5
16878 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
16879    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
16880 if test "${enable_libstdcxx_debug+set}" = set; then
16881   enableval="$enable_libstdcxx_debug"
16882
16883       case "$enableval" in
16884        yes|no) ;;
16885        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
16886 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
16887    { (exit 1); exit 1; }; } ;;
16888       esac
16889
16890 else
16891   enable_libstdcxx_debug=no
16892 fi;
16893
16894   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
16895 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
16896
16897
16898
16899
16900   # NB: libstdc++ may be configured before libgomp: can't check for the actual
16901   # dependencies (omp.h and libgomp).
16902   enable_parallel=no;
16903   if test -f $glibcxx_builddir/../libgomp/omp.h; then
16904     enable_parallel=yes;
16905   else
16906     { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16907 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16908   fi
16909
16910   # Check to see if it's explicitly disabled.
16911 #  GLIBCXX_ENABLE(libgomp,,,[enable code depending on libgomp],
16912 #       [permit yes|no])
16913
16914 #  if test x$enable_libgomp = xno; then
16915 #    enable_parallel=no
16916 #  fi
16917
16918   echo "$as_me:$LINENO: checking for parallel mode support" >&5
16919 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
16920   echo "$as_me:$LINENO: result: $enable_parallel" >&5
16921 echo "${ECHO_T}$enable_parallel" >&6
16922
16923
16924   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
16925 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
16926    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
16927 if test "${enable_cxx_flags+set}" = set; then
16928   enableval="$enable_cxx_flags"
16929   case "x$enable_cxx_flags" in
16930       xno | x)   enable_cxx_flags= ;;
16931       x-*)       ;;
16932       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
16933 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
16934    { (exit 1); exit 1; }; } ;;
16935      esac
16936 else
16937   enable_cxx_flags=
16938 fi;
16939
16940
16941   # Run through flags (either default or command-line) and set anything
16942   # extra (e.g., #defines) that must accompany particular g++ options.
16943   if test -n "$enable_cxx_flags"; then
16944     for f in $enable_cxx_flags; do
16945       case "$f" in
16946         -fhonor-std)  ;;
16947         -*)  ;;
16948         *)   # and we're trying to pass /what/ exactly?
16949              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
16950 echo "$as_me: error: compiler flags start with a -" >&2;}
16951    { (exit 1); exit 1; }; } ;;
16952       esac
16953     done
16954   fi
16955
16956   EXTRA_CXX_FLAGS="$enable_cxx_flags"
16957   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
16958 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
16959
16960
16961
16962    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
16963 if test "${enable_fully_dynamic_string+set}" = set; then
16964   enableval="$enable_fully_dynamic_string"
16965
16966       case "$enableval" in
16967        yes|no) ;;
16968        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
16969 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
16970    { (exit 1); exit 1; }; } ;;
16971       esac
16972
16973 else
16974   enable_fully_dynamic_string=no
16975 fi;
16976
16977   if test $enable_fully_dynamic_string = yes; then
16978
16979 cat >>confdefs.h <<\_ACEOF
16980 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
16981 _ACEOF
16982
16983   fi
16984
16985
16986 # Checks for operating systems support that don't require linking.
16987
16988
16989   echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
16990 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
16991   if test "${ac_system_error1+set}" = set; then
16992   echo $ECHO_N "(cached) $ECHO_C" >&6
16993 else
16994
16995   cat >conftest.$ac_ext <<_ACEOF
16996 /* confdefs.h.  */
16997 _ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h.  */
17001 #include <errno.h>
17002 int
17003 main ()
17004 {
17005  int i = EOWNERDEAD;
17006   ;
17007   return 0;
17008 }
17009 _ACEOF
17010 rm -f conftest.$ac_objext
17011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17012   (eval $ac_compile) 2>conftest.er1
17013   ac_status=$?
17014   grep -v '^ *+' conftest.er1 >conftest.err
17015   rm -f conftest.er1
17016   cat conftest.err >&5
17017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018   (exit $ac_status); } &&
17019          { ac_try='test -z "$ac_c_werror_flag"
17020                          || test ! -s conftest.err'
17021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022   (eval $ac_try) 2>&5
17023   ac_status=$?
17024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025   (exit $ac_status); }; } &&
17026          { ac_try='test -s conftest.$ac_objext'
17027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17028   (eval $ac_try) 2>&5
17029   ac_status=$?
17030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031   (exit $ac_status); }; }; then
17032   ac_system_error1=yes
17033 else
17034   echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.$ac_ext >&5
17036
17037 ac_system_error1=no
17038 fi
17039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17040
17041 fi
17042
17043   echo "$as_me:$LINENO: result: $ac_system_error1" >&5
17044 echo "${ECHO_T}$ac_system_error1" >&6
17045   if test x"$ac_system_error1" = x"yes"; then
17046
17047 cat >>confdefs.h <<\_ACEOF
17048 #define HAVE_EOWNERDEAD 1
17049 _ACEOF
17050
17051   fi
17052
17053   echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17054 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17055   if test "${ac_system_error2+set}" = set; then
17056   echo $ECHO_N "(cached) $ECHO_C" >&6
17057 else
17058
17059   cat >conftest.$ac_ext <<_ACEOF
17060 /* confdefs.h.  */
17061 _ACEOF
17062 cat confdefs.h >>conftest.$ac_ext
17063 cat >>conftest.$ac_ext <<_ACEOF
17064 /* end confdefs.h.  */
17065 #include <errno.h>
17066 int
17067 main ()
17068 {
17069  int i = ENOTRECOVERABLE;
17070   ;
17071   return 0;
17072 }
17073 _ACEOF
17074 rm -f conftest.$ac_objext
17075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17076   (eval $ac_compile) 2>conftest.er1
17077   ac_status=$?
17078   grep -v '^ *+' conftest.er1 >conftest.err
17079   rm -f conftest.er1
17080   cat conftest.err >&5
17081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082   (exit $ac_status); } &&
17083          { ac_try='test -z "$ac_c_werror_flag"
17084                          || test ! -s conftest.err'
17085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086   (eval $ac_try) 2>&5
17087   ac_status=$?
17088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089   (exit $ac_status); }; } &&
17090          { ac_try='test -s conftest.$ac_objext'
17091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092   (eval $ac_try) 2>&5
17093   ac_status=$?
17094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095   (exit $ac_status); }; }; then
17096   ac_system_error2=yes
17097 else
17098   echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.$ac_ext >&5
17100
17101 ac_system_error2=no
17102 fi
17103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17104
17105 fi
17106
17107   echo "$as_me:$LINENO: result: $ac_system_error2" >&5
17108 echo "${ECHO_T}$ac_system_error2" >&6
17109   if test x"$ac_system_error2" = x"yes"; then
17110
17111 cat >>confdefs.h <<\_ACEOF
17112 #define HAVE_ENOTRECOVERABLE 1
17113 _ACEOF
17114
17115   fi
17116
17117   echo "$as_me:$LINENO: checking for ENOLINK" >&5
17118 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17119   if test "${ac_system_error3+set}" = set; then
17120   echo $ECHO_N "(cached) $ECHO_C" >&6
17121 else
17122
17123   cat >conftest.$ac_ext <<_ACEOF
17124 /* confdefs.h.  */
17125 _ACEOF
17126 cat confdefs.h >>conftest.$ac_ext
17127 cat >>conftest.$ac_ext <<_ACEOF
17128 /* end confdefs.h.  */
17129 #include <errno.h>
17130 int
17131 main ()
17132 {
17133  int i = ENOLINK;
17134   ;
17135   return 0;
17136 }
17137 _ACEOF
17138 rm -f conftest.$ac_objext
17139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17140   (eval $ac_compile) 2>conftest.er1
17141   ac_status=$?
17142   grep -v '^ *+' conftest.er1 >conftest.err
17143   rm -f conftest.er1
17144   cat conftest.err >&5
17145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17146   (exit $ac_status); } &&
17147          { ac_try='test -z "$ac_c_werror_flag"
17148                          || test ! -s conftest.err'
17149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17150   (eval $ac_try) 2>&5
17151   ac_status=$?
17152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153   (exit $ac_status); }; } &&
17154          { ac_try='test -s conftest.$ac_objext'
17155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17156   (eval $ac_try) 2>&5
17157   ac_status=$?
17158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159   (exit $ac_status); }; }; then
17160   ac_system_error3=yes
17161 else
17162   echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.$ac_ext >&5
17164
17165 ac_system_error3=no
17166 fi
17167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17168
17169 fi
17170
17171   echo "$as_me:$LINENO: result: $ac_system_error3" >&5
17172 echo "${ECHO_T}$ac_system_error3" >&6
17173   if test x"$ac_system_error3" = x"yes"; then
17174
17175 cat >>confdefs.h <<\_ACEOF
17176 #define HAVE_ENOLINK 1
17177 _ACEOF
17178
17179   fi
17180
17181   echo "$as_me:$LINENO: checking for EPROTO" >&5
17182 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17183   if test "${ac_system_error_4+set}" = set; then
17184   echo $ECHO_N "(cached) $ECHO_C" >&6
17185 else
17186
17187   cat >conftest.$ac_ext <<_ACEOF
17188 /* confdefs.h.  */
17189 _ACEOF
17190 cat confdefs.h >>conftest.$ac_ext
17191 cat >>conftest.$ac_ext <<_ACEOF
17192 /* end confdefs.h.  */
17193 #include <errno.h>
17194 int
17195 main ()
17196 {
17197  int i = EPROTO;
17198   ;
17199   return 0;
17200 }
17201 _ACEOF
17202 rm -f conftest.$ac_objext
17203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17204   (eval $ac_compile) 2>conftest.er1
17205   ac_status=$?
17206   grep -v '^ *+' conftest.er1 >conftest.err
17207   rm -f conftest.er1
17208   cat conftest.err >&5
17209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210   (exit $ac_status); } &&
17211          { ac_try='test -z "$ac_c_werror_flag"
17212                          || test ! -s conftest.err'
17213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214   (eval $ac_try) 2>&5
17215   ac_status=$?
17216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217   (exit $ac_status); }; } &&
17218          { ac_try='test -s conftest.$ac_objext'
17219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17220   (eval $ac_try) 2>&5
17221   ac_status=$?
17222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223   (exit $ac_status); }; }; then
17224   ac_system_error_4=yes
17225 else
17226   echo "$as_me: failed program was:" >&5
17227 sed 's/^/| /' conftest.$ac_ext >&5
17228
17229 ac_system_error_4=no
17230 fi
17231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17232
17233 fi
17234
17235   echo "$as_me:$LINENO: result: $ac_system_error_4" >&5
17236 echo "${ECHO_T}$ac_system_error_4" >&6
17237   if test x"$ac_system_error_4" = x"yes"; then
17238
17239 cat >>confdefs.h <<\_ACEOF
17240 #define HAVE_EPROTO 1
17241 _ACEOF
17242
17243   fi
17244
17245   echo "$as_me:$LINENO: checking for ENODATA" >&5
17246 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17247   if test "${ac_system_error_5+set}" = set; then
17248   echo $ECHO_N "(cached) $ECHO_C" >&6
17249 else
17250
17251   cat >conftest.$ac_ext <<_ACEOF
17252 /* confdefs.h.  */
17253 _ACEOF
17254 cat confdefs.h >>conftest.$ac_ext
17255 cat >>conftest.$ac_ext <<_ACEOF
17256 /* end confdefs.h.  */
17257 #include <errno.h>
17258 int
17259 main ()
17260 {
17261  int i = ENODATA;
17262   ;
17263   return 0;
17264 }
17265 _ACEOF
17266 rm -f conftest.$ac_objext
17267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17268   (eval $ac_compile) 2>conftest.er1
17269   ac_status=$?
17270   grep -v '^ *+' conftest.er1 >conftest.err
17271   rm -f conftest.er1
17272   cat conftest.err >&5
17273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17274   (exit $ac_status); } &&
17275          { ac_try='test -z "$ac_c_werror_flag"
17276                          || test ! -s conftest.err'
17277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17278   (eval $ac_try) 2>&5
17279   ac_status=$?
17280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281   (exit $ac_status); }; } &&
17282          { ac_try='test -s conftest.$ac_objext'
17283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17284   (eval $ac_try) 2>&5
17285   ac_status=$?
17286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17287   (exit $ac_status); }; }; then
17288   ac_system_error_5=yes
17289 else
17290   echo "$as_me: failed program was:" >&5
17291 sed 's/^/| /' conftest.$ac_ext >&5
17292
17293 ac_system_error_5=no
17294 fi
17295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17296
17297 fi
17298
17299   echo "$as_me:$LINENO: result: $ac_system_error_5" >&5
17300 echo "${ECHO_T}$ac_system_error_5" >&6
17301   if test x"$ac_system_error_5" = x"yes"; then
17302
17303 cat >>confdefs.h <<\_ACEOF
17304 #define HAVE_ENODATA 1
17305 _ACEOF
17306
17307   fi
17308
17309   echo "$as_me:$LINENO: checking for ENOSR" >&5
17310 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17311   if test "${ac_system_error_6+set}" = set; then
17312   echo $ECHO_N "(cached) $ECHO_C" >&6
17313 else
17314
17315   cat >conftest.$ac_ext <<_ACEOF
17316 /* confdefs.h.  */
17317 _ACEOF
17318 cat confdefs.h >>conftest.$ac_ext
17319 cat >>conftest.$ac_ext <<_ACEOF
17320 /* end confdefs.h.  */
17321 #include <errno.h>
17322 int
17323 main ()
17324 {
17325  int i = ENOSR;
17326   ;
17327   return 0;
17328 }
17329 _ACEOF
17330 rm -f conftest.$ac_objext
17331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17332   (eval $ac_compile) 2>conftest.er1
17333   ac_status=$?
17334   grep -v '^ *+' conftest.er1 >conftest.err
17335   rm -f conftest.er1
17336   cat conftest.err >&5
17337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17338   (exit $ac_status); } &&
17339          { ac_try='test -z "$ac_c_werror_flag"
17340                          || test ! -s conftest.err'
17341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17342   (eval $ac_try) 2>&5
17343   ac_status=$?
17344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17345   (exit $ac_status); }; } &&
17346          { ac_try='test -s conftest.$ac_objext'
17347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17348   (eval $ac_try) 2>&5
17349   ac_status=$?
17350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351   (exit $ac_status); }; }; then
17352   ac_system_error_6=yes
17353 else
17354   echo "$as_me: failed program was:" >&5
17355 sed 's/^/| /' conftest.$ac_ext >&5
17356
17357 ac_system_error_6=no
17358 fi
17359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17360
17361 fi
17362
17363   echo "$as_me:$LINENO: result: $ac_system_error_6" >&5
17364 echo "${ECHO_T}$ac_system_error_6" >&6
17365   if test x"$ac_system_error_6" = x"yes"; then
17366
17367 cat >>confdefs.h <<\_ACEOF
17368 #define HAVE_ENOSR 1
17369 _ACEOF
17370
17371   fi
17372
17373   echo "$as_me:$LINENO: checking for ENOSTR" >&5
17374 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17375   if test "${ac_system_error_7+set}" = set; then
17376   echo $ECHO_N "(cached) $ECHO_C" >&6
17377 else
17378
17379   cat >conftest.$ac_ext <<_ACEOF
17380 /* confdefs.h.  */
17381 _ACEOF
17382 cat confdefs.h >>conftest.$ac_ext
17383 cat >>conftest.$ac_ext <<_ACEOF
17384 /* end confdefs.h.  */
17385 #include <errno.h>
17386 int
17387 main ()
17388 {
17389  int i = ENOSTR;
17390   ;
17391   return 0;
17392 }
17393 _ACEOF
17394 rm -f conftest.$ac_objext
17395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17396   (eval $ac_compile) 2>conftest.er1
17397   ac_status=$?
17398   grep -v '^ *+' conftest.er1 >conftest.err
17399   rm -f conftest.er1
17400   cat conftest.err >&5
17401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17402   (exit $ac_status); } &&
17403          { ac_try='test -z "$ac_c_werror_flag"
17404                          || test ! -s conftest.err'
17405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406   (eval $ac_try) 2>&5
17407   ac_status=$?
17408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409   (exit $ac_status); }; } &&
17410          { ac_try='test -s conftest.$ac_objext'
17411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17412   (eval $ac_try) 2>&5
17413   ac_status=$?
17414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17415   (exit $ac_status); }; }; then
17416   ac_system_error_7=yes
17417 else
17418   echo "$as_me: failed program was:" >&5
17419 sed 's/^/| /' conftest.$ac_ext >&5
17420
17421 ac_system_error_7=no
17422 fi
17423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17424
17425 fi
17426
17427   echo "$as_me:$LINENO: result: $ac_system_error_7" >&5
17428 echo "${ECHO_T}$ac_system_error_7" >&6
17429   if test x"$ac_system_error_7" = x"yes"; then
17430
17431 cat >>confdefs.h <<\_ACEOF
17432 #define HAVE_ENOSTR 1
17433 _ACEOF
17434
17435   fi
17436
17437   echo "$as_me:$LINENO: checking for ETIME" >&5
17438 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17439   if test "${ac_system_error_8+set}" = set; then
17440   echo $ECHO_N "(cached) $ECHO_C" >&6
17441 else
17442
17443   cat >conftest.$ac_ext <<_ACEOF
17444 /* confdefs.h.  */
17445 _ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h.  */
17449 #include <errno.h>
17450 int
17451 main ()
17452 {
17453  int i = ETIME;
17454   ;
17455   return 0;
17456 }
17457 _ACEOF
17458 rm -f conftest.$ac_objext
17459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17460   (eval $ac_compile) 2>conftest.er1
17461   ac_status=$?
17462   grep -v '^ *+' conftest.er1 >conftest.err
17463   rm -f conftest.er1
17464   cat conftest.err >&5
17465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466   (exit $ac_status); } &&
17467          { ac_try='test -z "$ac_c_werror_flag"
17468                          || test ! -s conftest.err'
17469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470   (eval $ac_try) 2>&5
17471   ac_status=$?
17472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473   (exit $ac_status); }; } &&
17474          { ac_try='test -s conftest.$ac_objext'
17475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17476   (eval $ac_try) 2>&5
17477   ac_status=$?
17478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479   (exit $ac_status); }; }; then
17480   ac_system_error_8=yes
17481 else
17482   echo "$as_me: failed program was:" >&5
17483 sed 's/^/| /' conftest.$ac_ext >&5
17484
17485 ac_system_error_8=no
17486 fi
17487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17488
17489 fi
17490
17491   echo "$as_me:$LINENO: result: $ac_system_error_8" >&5
17492 echo "${ECHO_T}$ac_system_error_8" >&6
17493   if test x"$ac_system_error_8" = x"yes"; then
17494
17495 cat >>confdefs.h <<\_ACEOF
17496 #define HAVE_ETIME 1
17497 _ACEOF
17498
17499   fi
17500
17501   echo "$as_me:$LINENO: checking for sys_nerr" >&5
17502 echo $ECHO_N "checking for sys_nerr... $ECHO_C" >&6
17503   if test "${ac_system_error9+set}" = set; then
17504   echo $ECHO_N "(cached) $ECHO_C" >&6
17505 else
17506
17507   cat >conftest.$ac_ext <<_ACEOF
17508 /* confdefs.h.  */
17509 _ACEOF
17510 cat confdefs.h >>conftest.$ac_ext
17511 cat >>conftest.$ac_ext <<_ACEOF
17512 /* end confdefs.h.  */
17513 #include <errno.h>
17514 int
17515 main ()
17516 {
17517  int i = sys_nerr;
17518   ;
17519   return 0;
17520 }
17521 _ACEOF
17522 rm -f conftest.$ac_objext
17523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17524   (eval $ac_compile) 2>conftest.er1
17525   ac_status=$?
17526   grep -v '^ *+' conftest.er1 >conftest.err
17527   rm -f conftest.er1
17528   cat conftest.err >&5
17529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17530   (exit $ac_status); } &&
17531          { ac_try='test -z "$ac_c_werror_flag"
17532                          || test ! -s conftest.err'
17533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17534   (eval $ac_try) 2>&5
17535   ac_status=$?
17536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17537   (exit $ac_status); }; } &&
17538          { ac_try='test -s conftest.$ac_objext'
17539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17540   (eval $ac_try) 2>&5
17541   ac_status=$?
17542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543   (exit $ac_status); }; }; then
17544   ac_system_error9=yes
17545 else
17546   echo "$as_me: failed program was:" >&5
17547 sed 's/^/| /' conftest.$ac_ext >&5
17548
17549 ac_system_error9=no
17550 fi
17551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17552
17553 fi
17554
17555   echo "$as_me:$LINENO: result: $ac_system_error9" >&5
17556 echo "${ECHO_T}$ac_system_error9" >&6
17557   if test x"$ac_system_error9" = x"yes"; then
17558
17559 cat >>confdefs.h <<\_ACEOF
17560 #define HAVE_SYS_NERR 1
17561 _ACEOF
17562
17563   fi
17564
17565   echo "$as_me:$LINENO: checking for EBADMSG" >&5
17566 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17567   if test "${ac_system_error_10+set}" = set; then
17568   echo $ECHO_N "(cached) $ECHO_C" >&6
17569 else
17570
17571   cat >conftest.$ac_ext <<_ACEOF
17572 /* confdefs.h.  */
17573 _ACEOF
17574 cat confdefs.h >>conftest.$ac_ext
17575 cat >>conftest.$ac_ext <<_ACEOF
17576 /* end confdefs.h.  */
17577 #include <errno.h>
17578 int
17579 main ()
17580 {
17581  int i = EBADMSG;
17582   ;
17583   return 0;
17584 }
17585 _ACEOF
17586 rm -f conftest.$ac_objext
17587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17588   (eval $ac_compile) 2>conftest.er1
17589   ac_status=$?
17590   grep -v '^ *+' conftest.er1 >conftest.err
17591   rm -f conftest.er1
17592   cat conftest.err >&5
17593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17594   (exit $ac_status); } &&
17595          { ac_try='test -z "$ac_c_werror_flag"
17596                          || test ! -s conftest.err'
17597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17598   (eval $ac_try) 2>&5
17599   ac_status=$?
17600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601   (exit $ac_status); }; } &&
17602          { ac_try='test -s conftest.$ac_objext'
17603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17604   (eval $ac_try) 2>&5
17605   ac_status=$?
17606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17607   (exit $ac_status); }; }; then
17608   ac_system_error_10=yes
17609 else
17610   echo "$as_me: failed program was:" >&5
17611 sed 's/^/| /' conftest.$ac_ext >&5
17612
17613 ac_system_error_10=no
17614 fi
17615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17616
17617 fi
17618
17619   echo "$as_me:$LINENO: result: $ac_system_error_10" >&5
17620 echo "${ECHO_T}$ac_system_error_10" >&6
17621   if test x"$ac_system_error_10" = x"yes"; then
17622
17623 cat >>confdefs.h <<\_ACEOF
17624 #define HAVE_EBADMSG 1
17625 _ACEOF
17626
17627   fi
17628
17629   echo "$as_me:$LINENO: checking for ECANCELED" >&5
17630 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17631   if test "${ac_system_error_11+set}" = set; then
17632   echo $ECHO_N "(cached) $ECHO_C" >&6
17633 else
17634
17635   cat >conftest.$ac_ext <<_ACEOF
17636 /* confdefs.h.  */
17637 _ACEOF
17638 cat confdefs.h >>conftest.$ac_ext
17639 cat >>conftest.$ac_ext <<_ACEOF
17640 /* end confdefs.h.  */
17641 #include <errno.h>
17642 int
17643 main ()
17644 {
17645  int i = ECANCELED;
17646   ;
17647   return 0;
17648 }
17649 _ACEOF
17650 rm -f conftest.$ac_objext
17651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17652   (eval $ac_compile) 2>conftest.er1
17653   ac_status=$?
17654   grep -v '^ *+' conftest.er1 >conftest.err
17655   rm -f conftest.er1
17656   cat conftest.err >&5
17657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658   (exit $ac_status); } &&
17659          { ac_try='test -z "$ac_c_werror_flag"
17660                          || test ! -s conftest.err'
17661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17662   (eval $ac_try) 2>&5
17663   ac_status=$?
17664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665   (exit $ac_status); }; } &&
17666          { ac_try='test -s conftest.$ac_objext'
17667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17668   (eval $ac_try) 2>&5
17669   ac_status=$?
17670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17671   (exit $ac_status); }; }; then
17672   ac_system_error_11=yes
17673 else
17674   echo "$as_me: failed program was:" >&5
17675 sed 's/^/| /' conftest.$ac_ext >&5
17676
17677 ac_system_error_11=no
17678 fi
17679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17680
17681 fi
17682
17683   echo "$as_me:$LINENO: result: $ac_system_error_11" >&5
17684 echo "${ECHO_T}$ac_system_error_11" >&6
17685   if test x"$ac_system_error_11" = x"yes"; then
17686
17687 cat >>confdefs.h <<\_ACEOF
17688 #define HAVE_ECANCELED 1
17689 _ACEOF
17690
17691   fi
17692
17693   echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
17694 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
17695   if test "${ac_system_error_12+set}" = set; then
17696   echo $ECHO_N "(cached) $ECHO_C" >&6
17697 else
17698
17699   cat >conftest.$ac_ext <<_ACEOF
17700 /* confdefs.h.  */
17701 _ACEOF
17702 cat confdefs.h >>conftest.$ac_ext
17703 cat >>conftest.$ac_ext <<_ACEOF
17704 /* end confdefs.h.  */
17705 #include <errno.h>
17706 int
17707 main ()
17708 {
17709  int i = EOVERFLOW;
17710   ;
17711   return 0;
17712 }
17713 _ACEOF
17714 rm -f conftest.$ac_objext
17715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17716   (eval $ac_compile) 2>conftest.er1
17717   ac_status=$?
17718   grep -v '^ *+' conftest.er1 >conftest.err
17719   rm -f conftest.er1
17720   cat conftest.err >&5
17721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722   (exit $ac_status); } &&
17723          { ac_try='test -z "$ac_c_werror_flag"
17724                          || test ! -s conftest.err'
17725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17726   (eval $ac_try) 2>&5
17727   ac_status=$?
17728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17729   (exit $ac_status); }; } &&
17730          { ac_try='test -s conftest.$ac_objext'
17731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17732   (eval $ac_try) 2>&5
17733   ac_status=$?
17734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735   (exit $ac_status); }; }; then
17736   ac_system_error_12=yes
17737 else
17738   echo "$as_me: failed program was:" >&5
17739 sed 's/^/| /' conftest.$ac_ext >&5
17740
17741 ac_system_error_12=no
17742 fi
17743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17744
17745 fi
17746
17747   echo "$as_me:$LINENO: result: $ac_system_error_12" >&5
17748 echo "${ECHO_T}$ac_system_error_12" >&6
17749   if test x"$ac_system_error_12" = x"yes"; then
17750
17751 cat >>confdefs.h <<\_ACEOF
17752 #define HAVE_EOVERFLOW 1
17753 _ACEOF
17754
17755   fi
17756
17757   echo "$as_me:$LINENO: checking for ENOTSUP" >&5
17758 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
17759   if test "${ac_system_error_13+set}" = set; then
17760   echo $ECHO_N "(cached) $ECHO_C" >&6
17761 else
17762
17763   cat >conftest.$ac_ext <<_ACEOF
17764 /* confdefs.h.  */
17765 _ACEOF
17766 cat confdefs.h >>conftest.$ac_ext
17767 cat >>conftest.$ac_ext <<_ACEOF
17768 /* end confdefs.h.  */
17769 #include <errno.h>
17770 int
17771 main ()
17772 {
17773  int i = ENOTSUP;
17774   ;
17775   return 0;
17776 }
17777 _ACEOF
17778 rm -f conftest.$ac_objext
17779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17780   (eval $ac_compile) 2>conftest.er1
17781   ac_status=$?
17782   grep -v '^ *+' conftest.er1 >conftest.err
17783   rm -f conftest.er1
17784   cat conftest.err >&5
17785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17786   (exit $ac_status); } &&
17787          { ac_try='test -z "$ac_c_werror_flag"
17788                          || test ! -s conftest.err'
17789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17790   (eval $ac_try) 2>&5
17791   ac_status=$?
17792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793   (exit $ac_status); }; } &&
17794          { ac_try='test -s conftest.$ac_objext'
17795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17796   (eval $ac_try) 2>&5
17797   ac_status=$?
17798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17799   (exit $ac_status); }; }; then
17800   ac_system_error_13=yes
17801 else
17802   echo "$as_me: failed program was:" >&5
17803 sed 's/^/| /' conftest.$ac_ext >&5
17804
17805 ac_system_error_13=no
17806 fi
17807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17808
17809 fi
17810
17811   echo "$as_me:$LINENO: result: $ac_system_error_13" >&5
17812 echo "${ECHO_T}$ac_system_error_13" >&6
17813   if test x"$ac_system_error_13" = x"yes"; then
17814
17815 cat >>confdefs.h <<\_ACEOF
17816 #define HAVE_ENOTSUP 1
17817 _ACEOF
17818
17819   fi
17820
17821   echo "$as_me:$LINENO: checking for EIDRM" >&5
17822 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
17823   if test "${ac_system_error_14+set}" = set; then
17824   echo $ECHO_N "(cached) $ECHO_C" >&6
17825 else
17826
17827   cat >conftest.$ac_ext <<_ACEOF
17828 /* confdefs.h.  */
17829 _ACEOF
17830 cat confdefs.h >>conftest.$ac_ext
17831 cat >>conftest.$ac_ext <<_ACEOF
17832 /* end confdefs.h.  */
17833 #include <errno.h>
17834 int
17835 main ()
17836 {
17837  int i = EIDRM;
17838   ;
17839   return 0;
17840 }
17841 _ACEOF
17842 rm -f conftest.$ac_objext
17843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17844   (eval $ac_compile) 2>conftest.er1
17845   ac_status=$?
17846   grep -v '^ *+' conftest.er1 >conftest.err
17847   rm -f conftest.er1
17848   cat conftest.err >&5
17849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850   (exit $ac_status); } &&
17851          { ac_try='test -z "$ac_c_werror_flag"
17852                          || test ! -s conftest.err'
17853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854   (eval $ac_try) 2>&5
17855   ac_status=$?
17856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857   (exit $ac_status); }; } &&
17858          { ac_try='test -s conftest.$ac_objext'
17859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860   (eval $ac_try) 2>&5
17861   ac_status=$?
17862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863   (exit $ac_status); }; }; then
17864   ac_system_error_14=yes
17865 else
17866   echo "$as_me: failed program was:" >&5
17867 sed 's/^/| /' conftest.$ac_ext >&5
17868
17869 ac_system_error_14=no
17870 fi
17871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17872
17873 fi
17874
17875   echo "$as_me:$LINENO: result: $ac_system_error_14" >&5
17876 echo "${ECHO_T}$ac_system_error_14" >&6
17877   if test x"$ac_system_error_14" = x"yes"; then
17878
17879 cat >>confdefs.h <<\_ACEOF
17880 #define HAVE_EIDRM 1
17881 _ACEOF
17882
17883   fi
17884
17885   echo "$as_me:$LINENO: checking for ETXTBSY" >&5
17886 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
17887   if test "${ac_system_error_15+set}" = set; then
17888   echo $ECHO_N "(cached) $ECHO_C" >&6
17889 else
17890
17891   cat >conftest.$ac_ext <<_ACEOF
17892 /* confdefs.h.  */
17893 _ACEOF
17894 cat confdefs.h >>conftest.$ac_ext
17895 cat >>conftest.$ac_ext <<_ACEOF
17896 /* end confdefs.h.  */
17897 #include <errno.h>
17898 int
17899 main ()
17900 {
17901  int i = ETXTBSY;
17902   ;
17903   return 0;
17904 }
17905 _ACEOF
17906 rm -f conftest.$ac_objext
17907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17908   (eval $ac_compile) 2>conftest.er1
17909   ac_status=$?
17910   grep -v '^ *+' conftest.er1 >conftest.err
17911   rm -f conftest.er1
17912   cat conftest.err >&5
17913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914   (exit $ac_status); } &&
17915          { ac_try='test -z "$ac_c_werror_flag"
17916                          || test ! -s conftest.err'
17917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17918   (eval $ac_try) 2>&5
17919   ac_status=$?
17920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921   (exit $ac_status); }; } &&
17922          { ac_try='test -s conftest.$ac_objext'
17923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17924   (eval $ac_try) 2>&5
17925   ac_status=$?
17926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927   (exit $ac_status); }; }; then
17928   ac_system_error_15=yes
17929 else
17930   echo "$as_me: failed program was:" >&5
17931 sed 's/^/| /' conftest.$ac_ext >&5
17932
17933 ac_system_error_15=no
17934 fi
17935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17936
17937 fi
17938
17939   echo "$as_me:$LINENO: result: $ac_system_error_15" >&5
17940 echo "${ECHO_T}$ac_system_error_15" >&6
17941   if test x"$ac_system_error_15" = x"yes"; then
17942
17943 cat >>confdefs.h <<\_ACEOF
17944 #define HAVE_ETXTBSY 1
17945 _ACEOF
17946
17947   fi
17948
17949
17950
17951   echo "$as_me:$LINENO: checking for ISO C++200x standard layout type support" >&5
17952 echo $ECHO_N "checking for ISO C++200x standard layout type support... $ECHO_C" >&6
17953   if test "${ac_standard_layout+set}" = set; then
17954   echo $ECHO_N "(cached) $ECHO_C" >&6
17955 else
17956
17957
17958
17959   ac_ext=cc
17960 ac_cpp='$CXXCPP $CPPFLAGS'
17961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17964
17965   ac_test_CXXFLAGS="${CXXFLAGS+set}"
17966   ac_save_CXXFLAGS="$CXXFLAGS"
17967   CXXFLAGS='-std=gnu++0x'
17968
17969   cat >conftest.$ac_ext <<_ACEOF
17970 /* confdefs.h.  */
17971 _ACEOF
17972 cat confdefs.h >>conftest.$ac_ext
17973 cat >>conftest.$ac_ext <<_ACEOF
17974 /* end confdefs.h.  */
17975 struct b
17976                   {
17977                     bool t;
17978
17979                     // Need standard layout relaxation from POD
17980                     private:
17981                     b& operator=(const b&);
17982                     b(const b&);
17983                     };
17984
17985                     int main()
17986                     {
17987                       b tst1 = { false };
17988                        return 0;
17989                     }
17990 int
17991 main ()
17992 {
17993
17994   ;
17995   return 0;
17996 }
17997 _ACEOF
17998 rm -f conftest.$ac_objext
17999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18000   (eval $ac_compile) 2>conftest.er1
18001   ac_status=$?
18002   grep -v '^ *+' conftest.er1 >conftest.err
18003   rm -f conftest.er1
18004   cat conftest.err >&5
18005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006   (exit $ac_status); } &&
18007          { ac_try='test -z "$ac_cxx_werror_flag"
18008                          || test ! -s conftest.err'
18009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18010   (eval $ac_try) 2>&5
18011   ac_status=$?
18012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18013   (exit $ac_status); }; } &&
18014          { ac_try='test -s conftest.$ac_objext'
18015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18016   (eval $ac_try) 2>&5
18017   ac_status=$?
18018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019   (exit $ac_status); }; }; then
18020   ac_standard_layout=yes
18021 else
18022   echo "$as_me: failed program was:" >&5
18023 sed 's/^/| /' conftest.$ac_ext >&5
18024
18025 ac_standard_layout=no
18026 fi
18027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18028
18029   CXXFLAGS="$ac_save_CXXFLAGS"
18030   ac_ext=c
18031 ac_cpp='$CPP $CPPFLAGS'
18032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18035
18036
18037 fi
18038
18039   echo "$as_me:$LINENO: result: $ac_standard_layout" >&5
18040 echo "${ECHO_T}$ac_standard_layout" >&6
18041   if test x"$ac_standard_layout" = x"yes"; then
18042
18043 cat >>confdefs.h <<\_ACEOF
18044 #define _GLIBCXX_USE_STANDARD_LAYOUT 1
18045 _ACEOF
18046
18047   fi
18048
18049
18050 # No surprises, no surprises...
18051
18052   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
18053 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
18054   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
18055   echo "$as_me:$LINENO: result: $target_thread_file" >&5
18056 echo "${ECHO_T}$target_thread_file" >&6
18057
18058   if test $target_thread_file != single; then
18059
18060 cat >>confdefs.h <<\_ACEOF
18061 #define HAVE_GTHR_DEFAULT 1
18062 _ACEOF
18063
18064   fi
18065
18066   glibcxx_thread_h=gthr-$target_thread_file.h
18067
18068     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
18069   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
18070     enable_thread=yes
18071   else
18072    enable_thread=no
18073   fi
18074
18075
18076
18077
18078   echo "$as_me:$LINENO: checking for atomic builtins" >&5
18079 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
18080
18081
18082   ac_ext=cc
18083 ac_cpp='$CXXCPP $CPPFLAGS'
18084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18087
18088
18089   # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
18090     cat > conftest.$ac_ext << EOF
18091 #line 18091 "configure"
18092 int main()
18093 {
18094   // NB: _Atomic_word not necessarily int.
18095   typedef int atomic_type;
18096   atomic_type c1;
18097   atomic_type c2;
18098   const atomic_type c3(0);
18099   if (__sync_fetch_and_add(&c1, c2) == c3)
18100     {
18101       // Do something.
18102     }
18103    return 0;
18104 }
18105 EOF
18106     old_CXXFLAGS="$CXXFLAGS"
18107     CXXFLAGS=-S
18108     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18109   (eval $ac_compile) 2>&5
18110   ac_status=$?
18111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112   (exit $ac_status); }; then
18113       if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
18114         enable_atomic_builtins=no
18115       else
18116
18117 cat >>confdefs.h <<\_ACEOF
18118 #define _GLIBCXX_ATOMIC_BUILTINS 1
18119 _ACEOF
18120
18121         enable_atomic_builtins=yes
18122         atomicity_dir=cpu/generic/atomicity_builtins
18123       fi
18124     fi
18125     CXXFLAGS="$old_CXXFLAGS"
18126     rm -f conftest*
18127
18128    # Now, if still generic, set to mutex.
18129   if test $atomicity_dir = "cpu/generic" ; then
18130         atomicity_dir=cpu/generic/atomicity_mutex
18131   fi
18132  ac_ext=c
18133 ac_cpp='$CPP $CPPFLAGS'
18134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18137
18138  echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
18139 echo "${ECHO_T}$enable_atomic_builtins" >&6
18140
18141 if test $atomicity_dir = cpu/generic/atomicity_mutex ; then
18142   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
18143 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
18144   if test $target_thread_file = single; then
18145     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
18146 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
18147     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
18148 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
18149   else
18150     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
18151 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
18152     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
18153 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
18154   fi
18155 fi
18156
18157
18158   # All these tests are for C++; save the language and the compiler flags.
18159   # The CXXFLAGS thing is suspicious, but based on similar bits previously
18160   # found in GLIBCXX_CONFIGURE.
18161
18162
18163   ac_ext=cc
18164 ac_cpp='$CXXCPP $CPPFLAGS'
18165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18168
18169   ac_test_CXXFLAGS="${CXXFLAGS+set}"
18170   ac_save_CXXFLAGS="$CXXFLAGS"
18171
18172   # Check for maintainer-mode bits.
18173   if test x"$USE_MAINTAINER_MODE" = xno; then
18174     WERROR=''
18175   else
18176     WERROR='-Werror'
18177   fi
18178
18179   # Check for -ffunction-sections -fdata-sections
18180   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
18181 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
18182   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
18183   cat >conftest.$ac_ext <<_ACEOF
18184 /* confdefs.h.  */
18185 _ACEOF
18186 cat confdefs.h >>conftest.$ac_ext
18187 cat >>conftest.$ac_ext <<_ACEOF
18188 /* end confdefs.h.  */
18189 int foo; void bar() { };
18190 int
18191 main ()
18192 {
18193
18194   ;
18195   return 0;
18196 }
18197 _ACEOF
18198 rm -f conftest.$ac_objext
18199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18200   (eval $ac_compile) 2>conftest.er1
18201   ac_status=$?
18202   grep -v '^ *+' conftest.er1 >conftest.err
18203   rm -f conftest.er1
18204   cat conftest.err >&5
18205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206   (exit $ac_status); } &&
18207          { ac_try='test -z "$ac_cxx_werror_flag"
18208                          || test ! -s conftest.err'
18209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18210   (eval $ac_try) 2>&5
18211   ac_status=$?
18212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213   (exit $ac_status); }; } &&
18214          { ac_try='test -s conftest.$ac_objext'
18215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18216   (eval $ac_try) 2>&5
18217   ac_status=$?
18218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18219   (exit $ac_status); }; }; then
18220   ac_fdsections=yes
18221 else
18222   echo "$as_me: failed program was:" >&5
18223 sed 's/^/| /' conftest.$ac_ext >&5
18224
18225 ac_fdsections=no
18226 fi
18227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18228   if test "$ac_test_CXXFLAGS" = set; then
18229     CXXFLAGS="$ac_save_CXXFLAGS"
18230   else
18231     # this is the suspicious part
18232     CXXFLAGS=''
18233   fi
18234   if test x"$ac_fdsections" = x"yes"; then
18235     SECTION_FLAGS='-ffunction-sections -fdata-sections'
18236   fi
18237   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
18238 echo "${ECHO_T}$ac_fdsections" >&6
18239
18240   ac_ext=c
18241 ac_cpp='$CPP $CPPFLAGS'
18242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18245
18246
18247
18248
18249
18250 if $GLIBCXX_IS_NATIVE; then
18251
18252   # We can do more elaborate tests that assume a working linker.
18253   CANADIAN=no
18254
18255   # Check for available headers.
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
18272   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
18273   sys/types.h sys/ipc.h sys/sem.h
18274 do
18275 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18277   echo "$as_me:$LINENO: checking for $ac_header" >&5
18278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18280   echo $ECHO_N "(cached) $ECHO_C" >&6
18281 fi
18282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18284 else
18285   # Is the header compilable?
18286 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18287 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18288 cat >conftest.$ac_ext <<_ACEOF
18289 /* confdefs.h.  */
18290 _ACEOF
18291 cat confdefs.h >>conftest.$ac_ext
18292 cat >>conftest.$ac_ext <<_ACEOF
18293 /* end confdefs.h.  */
18294 $ac_includes_default
18295 #include <$ac_header>
18296 _ACEOF
18297 rm -f conftest.$ac_objext
18298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18299   (eval $ac_compile) 2>conftest.er1
18300   ac_status=$?
18301   grep -v '^ *+' conftest.er1 >conftest.err
18302   rm -f conftest.er1
18303   cat conftest.err >&5
18304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305   (exit $ac_status); } &&
18306          { ac_try='test -z "$ac_c_werror_flag"
18307                          || test ! -s conftest.err'
18308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18309   (eval $ac_try) 2>&5
18310   ac_status=$?
18311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312   (exit $ac_status); }; } &&
18313          { ac_try='test -s conftest.$ac_objext'
18314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18315   (eval $ac_try) 2>&5
18316   ac_status=$?
18317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318   (exit $ac_status); }; }; then
18319   ac_header_compiler=yes
18320 else
18321   echo "$as_me: failed program was:" >&5
18322 sed 's/^/| /' conftest.$ac_ext >&5
18323
18324 ac_header_compiler=no
18325 fi
18326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18327 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18328 echo "${ECHO_T}$ac_header_compiler" >&6
18329
18330 # Is the header present?
18331 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18332 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18333 cat >conftest.$ac_ext <<_ACEOF
18334 /* confdefs.h.  */
18335 _ACEOF
18336 cat confdefs.h >>conftest.$ac_ext
18337 cat >>conftest.$ac_ext <<_ACEOF
18338 /* end confdefs.h.  */
18339 #include <$ac_header>
18340 _ACEOF
18341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18342   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18343   ac_status=$?
18344   grep -v '^ *+' conftest.er1 >conftest.err
18345   rm -f conftest.er1
18346   cat conftest.err >&5
18347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348   (exit $ac_status); } >/dev/null; then
18349   if test -s conftest.err; then
18350     ac_cpp_err=$ac_c_preproc_warn_flag
18351     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18352   else
18353     ac_cpp_err=
18354   fi
18355 else
18356   ac_cpp_err=yes
18357 fi
18358 if test -z "$ac_cpp_err"; then
18359   ac_header_preproc=yes
18360 else
18361   echo "$as_me: failed program was:" >&5
18362 sed 's/^/| /' conftest.$ac_ext >&5
18363
18364   ac_header_preproc=no
18365 fi
18366 rm -f conftest.err conftest.$ac_ext
18367 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18368 echo "${ECHO_T}$ac_header_preproc" >&6
18369
18370 # So?  What about this header?
18371 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18372   yes:no: )
18373     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18374 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18375     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18376 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18377     ac_header_preproc=yes
18378     ;;
18379   no:yes:* )
18380     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18381 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18382     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
18383 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
18384     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18385 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18386     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
18387 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
18388     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18389 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18390     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18391 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18392     (
18393       cat <<\_ASBOX
18394 ## ----------------------------------------- ##
18395 ## Report this to the package-unused lists.  ##
18396 ## ----------------------------------------- ##
18397 _ASBOX
18398     ) |
18399       sed "s/^/$as_me: WARNING:     /" >&2
18400     ;;
18401 esac
18402 echo "$as_me:$LINENO: checking for $ac_header" >&5
18403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18405   echo $ECHO_N "(cached) $ECHO_C" >&6
18406 else
18407   eval "$as_ac_Header=\$ac_header_preproc"
18408 fi
18409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18411
18412 fi
18413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18414   cat >>confdefs.h <<_ACEOF
18415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18416 _ACEOF
18417
18418 fi
18419
18420 done
18421
18422
18423
18424
18425 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18426 if test "${with_gnu_ld+set}" = set; then
18427   withval="$with_gnu_ld"
18428   test "$withval" = no || with_gnu_ld=yes
18429 else
18430   with_gnu_ld=no
18431 fi;
18432 ac_prog=ld
18433 if test "$GCC" = yes; then
18434   # Check if gcc -print-prog-name=ld gives a path.
18435   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18436 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18437   case $host in
18438   *-*-mingw*)
18439     # gcc leaves a trailing carriage return which upsets mingw
18440     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18441   *)
18442     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18443   esac
18444   case $ac_prog in
18445     # Accept absolute paths.
18446     [\\/]* | ?:[\\/]*)
18447       re_direlt='/[^/][^/]*/\.\./'
18448       # Canonicalize the pathname of ld
18449       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18450       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18451         ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18452       done
18453       test -z "$LD" && LD="$ac_prog"
18454       ;;
18455   "")
18456     # If it fails, then pretend we aren't using GCC.
18457     ac_prog=ld
18458     ;;
18459   *)
18460     # If it is relative, then search for the first ld in PATH.
18461     with_gnu_ld=unknown
18462     ;;
18463   esac
18464 elif test "$with_gnu_ld" = yes; then
18465   echo "$as_me:$LINENO: checking for GNU ld" >&5
18466 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18467 else
18468   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18469 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18470 fi
18471 if test "${lt_cv_path_LD+set}" = set; then
18472   echo $ECHO_N "(cached) $ECHO_C" >&6
18473 else
18474   if test -z "$LD"; then
18475   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18476   for ac_dir in $PATH; do
18477     IFS="$lt_save_ifs"
18478     test -z "$ac_dir" && ac_dir=.
18479     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18480       lt_cv_path_LD="$ac_dir/$ac_prog"
18481       # Check to see if the program is GNU ld.  I'd rather use --version,
18482       # but apparently some variants of GNU ld only accept -v.
18483       # Break only if it was the GNU/non-GNU ld that we prefer.
18484       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18485       *GNU* | *'with BFD'*)
18486         test "$with_gnu_ld" != no && break
18487         ;;
18488       *)
18489         test "$with_gnu_ld" != yes && break
18490         ;;
18491       esac
18492     fi
18493   done
18494   IFS="$lt_save_ifs"
18495 else
18496   lt_cv_path_LD="$LD" # Let the user override the test with a path.
18497 fi
18498 fi
18499
18500 LD="$lt_cv_path_LD"
18501 if test -n "$LD"; then
18502   echo "$as_me:$LINENO: result: $LD" >&5
18503 echo "${ECHO_T}$LD" >&6
18504 else
18505   echo "$as_me:$LINENO: result: no" >&5
18506 echo "${ECHO_T}no" >&6
18507 fi
18508 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18509 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18510    { (exit 1); exit 1; }; }
18511 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18512 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18513 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18514   echo $ECHO_N "(cached) $ECHO_C" >&6
18515 else
18516   # I'd rather use --version here, but apparently some GNU lds only accept -v.
18517 case `$LD -v 2>&1 </dev/null` in
18518 *GNU* | *'with BFD'*)
18519   lt_cv_prog_gnu_ld=yes
18520   ;;
18521 *)
18522   lt_cv_prog_gnu_ld=no
18523   ;;
18524 esac
18525 fi
18526 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18527 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18528 with_gnu_ld=$lt_cv_prog_gnu_ld
18529
18530
18531
18532
18533
18534
18535
18536   # If we're not using GNU ld, then there's no point in even trying these
18537   # tests.  Check for that first.  We should have already tested for gld
18538   # by now (in libtool), but require it now just to be safe...
18539   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18540   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18541
18542
18543
18544   # The name set by libtool depends on the version of libtool.  Shame on us
18545   # for depending on an impl detail, but c'est la vie.  Older versions used
18546   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18547   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18548   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
18549   # set (hence we're using an older libtool), then set it.
18550   if test x${with_gnu_ld+set} != xset; then
18551     if test x${ac_cv_prog_gnu_ld+set} != xset; then
18552       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
18553       with_gnu_ld=no
18554     else
18555       with_gnu_ld=$ac_cv_prog_gnu_ld
18556     fi
18557   fi
18558
18559   # Start by getting the version number.  I think the libtool test already
18560   # does some of this, but throws away the result.
18561   glibcxx_ld_is_gold=no
18562   if test x"$with_gnu_ld" = x"yes"; then
18563     echo "$as_me:$LINENO: checking for ld version" >&5
18564 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18565
18566     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
18567       glibcxx_ld_is_gold=yes
18568     fi
18569     ldver=`$LD --version 2>/dev/null | head -1 | \
18570            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
18571
18572     glibcxx_gnu_ld_version=`echo $ldver | \
18573            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18574     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18575 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18576   fi
18577
18578   # Set --gc-sections.
18579   glibcxx_have_gc_sections=no
18580   if test "$glibcxx_ld_is_gold" = "yes"; then
18581     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
18582       glibcxx_have_gc_sections=yes
18583     fi
18584   else
18585     glibcxx_gcsections_min_ld=21602
18586     if test x"$with_gnu_ld" = x"yes" &&
18587         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18588       glibcxx_have_gc_sections=yes
18589     fi
18590   fi
18591   if test "$glibcxx_have_gc_sections" = "yes"; then
18592     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
18593     # NB: This flag only works reliably after 2.16.1. Configure tests
18594     # for this are difficult, so hard wire a value that should work.
18595
18596     ac_test_CFLAGS="${CFLAGS+set}"
18597     ac_save_CFLAGS="$CFLAGS"
18598     CFLAGS='-Wl,--gc-sections'
18599
18600     # Check for -Wl,--gc-sections
18601     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18602 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18603     if test x$gcc_no_link = xyes; then
18604   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18606    { (exit 1); exit 1; }; }
18607 fi
18608 cat >conftest.$ac_ext <<_ACEOF
18609 /* confdefs.h.  */
18610 _ACEOF
18611 cat confdefs.h >>conftest.$ac_ext
18612 cat >>conftest.$ac_ext <<_ACEOF
18613 /* end confdefs.h.  */
18614  int one(void) { return 1; }
18615      int two(void) { return 2; }
18616
18617 int
18618 main ()
18619 {
18620  two();
18621   ;
18622   return 0;
18623 }
18624 _ACEOF
18625 rm -f conftest.$ac_objext conftest$ac_exeext
18626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18627   (eval $ac_link) 2>conftest.er1
18628   ac_status=$?
18629   grep -v '^ *+' conftest.er1 >conftest.err
18630   rm -f conftest.er1
18631   cat conftest.err >&5
18632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18633   (exit $ac_status); } &&
18634          { ac_try='test -z "$ac_c_werror_flag"
18635                          || test ! -s conftest.err'
18636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18637   (eval $ac_try) 2>&5
18638   ac_status=$?
18639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18640   (exit $ac_status); }; } &&
18641          { ac_try='test -s conftest$ac_exeext'
18642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18643   (eval $ac_try) 2>&5
18644   ac_status=$?
18645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18646   (exit $ac_status); }; }; then
18647   ac_gcsections=yes
18648 else
18649   echo "$as_me: failed program was:" >&5
18650 sed 's/^/| /' conftest.$ac_ext >&5
18651
18652 ac_gcsections=no
18653 fi
18654 rm -f conftest.err conftest.$ac_objext \
18655       conftest$ac_exeext conftest.$ac_ext
18656     if test "$ac_gcsections" = "yes"; then
18657       rm -f conftest.c
18658       touch conftest.c
18659       if $CC -c conftest.c; then
18660         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18661            grep "Warning: gc-sections option ignored" > /dev/null; then
18662           ac_gcsections=no
18663         fi
18664       fi
18665       rm -f conftest.c conftest.o conftest
18666     fi
18667     if test "$ac_gcsections" = "yes"; then
18668       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18669     fi
18670     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18671 echo "${ECHO_T}$ac_gcsections" >&6
18672
18673     if test "$ac_test_CFLAGS" = set; then
18674       CFLAGS="$ac_save_CFLAGS"
18675     else
18676       # this is the suspicious part
18677       CFLAGS=''
18678     fi
18679   fi
18680
18681   # Set -z,relro.
18682   # Note this is only for shared objects.
18683   ac_ld_relro=no
18684   if test x"$with_gnu_ld" = x"yes"; then
18685     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18686 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18687     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18688     if test -n "$cxx_z_relo"; then
18689       OPT_LDFLAGS="-Wl,-z,relro"
18690       ac_ld_relro=yes
18691     fi
18692     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18693 echo "${ECHO_T}$ac_ld_relro" >&6
18694   fi
18695
18696   # Set linker optimization flags.
18697   if test x"$with_gnu_ld" = x"yes"; then
18698     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18699   fi
18700
18701
18702
18703
18704
18705   ac_test_CXXFLAGS="${CXXFLAGS+set}"
18706   ac_save_CXXFLAGS="$CXXFLAGS"
18707   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18708
18709     echo "$as_me:$LINENO: checking for sin in -lm" >&5
18710 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18711 if test "${ac_cv_lib_m_sin+set}" = set; then
18712   echo $ECHO_N "(cached) $ECHO_C" >&6
18713 else
18714   ac_check_lib_save_LIBS=$LIBS
18715 LIBS="-lm  $LIBS"
18716 if test x$gcc_no_link = xyes; then
18717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18719    { (exit 1); exit 1; }; }
18720 fi
18721 cat >conftest.$ac_ext <<_ACEOF
18722 /* confdefs.h.  */
18723 _ACEOF
18724 cat confdefs.h >>conftest.$ac_ext
18725 cat >>conftest.$ac_ext <<_ACEOF
18726 /* end confdefs.h.  */
18727
18728 /* Override any gcc2 internal prototype to avoid an error.  */
18729 #ifdef __cplusplus
18730 extern "C"
18731 #endif
18732 /* We use char because int might match the return type of a gcc2
18733    builtin and then its argument prototype would still apply.  */
18734 char sin ();
18735 int
18736 main ()
18737 {
18738 sin ();
18739   ;
18740   return 0;
18741 }
18742 _ACEOF
18743 rm -f conftest.$ac_objext conftest$ac_exeext
18744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18745   (eval $ac_link) 2>conftest.er1
18746   ac_status=$?
18747   grep -v '^ *+' conftest.er1 >conftest.err
18748   rm -f conftest.er1
18749   cat conftest.err >&5
18750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18751   (exit $ac_status); } &&
18752          { ac_try='test -z "$ac_c_werror_flag"
18753                          || test ! -s conftest.err'
18754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18755   (eval $ac_try) 2>&5
18756   ac_status=$?
18757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18758   (exit $ac_status); }; } &&
18759          { ac_try='test -s conftest$ac_exeext'
18760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18761   (eval $ac_try) 2>&5
18762   ac_status=$?
18763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18764   (exit $ac_status); }; }; then
18765   ac_cv_lib_m_sin=yes
18766 else
18767   echo "$as_me: failed program was:" >&5
18768 sed 's/^/| /' conftest.$ac_ext >&5
18769
18770 ac_cv_lib_m_sin=no
18771 fi
18772 rm -f conftest.err conftest.$ac_objext \
18773       conftest$ac_exeext conftest.$ac_ext
18774 LIBS=$ac_check_lib_save_LIBS
18775 fi
18776 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18777 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18778 if test $ac_cv_lib_m_sin = yes; then
18779   libm="-lm"
18780 fi
18781
18782   ac_save_LIBS="$LIBS"
18783   LIBS="$LIBS $libm"
18784
18785
18786
18787   echo "$as_me:$LINENO: checking for isinf declaration" >&5
18788 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18789   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18790     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18791   echo $ECHO_N "(cached) $ECHO_C" >&6
18792 else
18793
18794
18795
18796       ac_ext=cc
18797 ac_cpp='$CXXCPP $CPPFLAGS'
18798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18801
18802       cat >conftest.$ac_ext <<_ACEOF
18803 /* confdefs.h.  */
18804 _ACEOF
18805 cat confdefs.h >>conftest.$ac_ext
18806 cat >>conftest.$ac_ext <<_ACEOF
18807 /* end confdefs.h.  */
18808 #include <math.h>
18809                       #ifdef HAVE_IEEEFP_H
18810                       #include <ieeefp.h>
18811                       #endif
18812
18813 int
18814 main ()
18815 {
18816  isinf(0);
18817   ;
18818   return 0;
18819 }
18820 _ACEOF
18821 rm -f conftest.$ac_objext
18822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18823   (eval $ac_compile) 2>conftest.er1
18824   ac_status=$?
18825   grep -v '^ *+' conftest.er1 >conftest.err
18826   rm -f conftest.er1
18827   cat conftest.err >&5
18828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18829   (exit $ac_status); } &&
18830          { ac_try='test -z "$ac_cxx_werror_flag"
18831                          || test ! -s conftest.err'
18832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18833   (eval $ac_try) 2>&5
18834   ac_status=$?
18835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836   (exit $ac_status); }; } &&
18837          { ac_try='test -s conftest.$ac_objext'
18838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18839   (eval $ac_try) 2>&5
18840   ac_status=$?
18841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842   (exit $ac_status); }; }; then
18843   glibcxx_cv_func_isinf_use=yes
18844 else
18845   echo "$as_me: failed program was:" >&5
18846 sed 's/^/| /' conftest.$ac_ext >&5
18847
18848 glibcxx_cv_func_isinf_use=no
18849 fi
18850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18851       ac_ext=c
18852 ac_cpp='$CPP $CPPFLAGS'
18853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18856
18857
18858 fi
18859
18860   fi
18861   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18862 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18863
18864   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18865
18866 for ac_func in isinf
18867 do
18868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18869 echo "$as_me:$LINENO: checking for $ac_func" >&5
18870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18871 if eval "test \"\${$as_ac_var+set}\" = set"; then
18872   echo $ECHO_N "(cached) $ECHO_C" >&6
18873 else
18874   if test x$gcc_no_link = xyes; then
18875   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18877    { (exit 1); exit 1; }; }
18878 fi
18879 cat >conftest.$ac_ext <<_ACEOF
18880 /* confdefs.h.  */
18881 _ACEOF
18882 cat confdefs.h >>conftest.$ac_ext
18883 cat >>conftest.$ac_ext <<_ACEOF
18884 /* end confdefs.h.  */
18885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18886    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18887 #define $ac_func innocuous_$ac_func
18888
18889 /* System header to define __stub macros and hopefully few prototypes,
18890     which can conflict with char $ac_func (); below.
18891     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18892     <limits.h> exists even on freestanding compilers.  */
18893
18894 #ifdef __STDC__
18895 # include <limits.h>
18896 #else
18897 # include <assert.h>
18898 #endif
18899
18900 #undef $ac_func
18901
18902 /* Override any gcc2 internal prototype to avoid an error.  */
18903 #ifdef __cplusplus
18904 extern "C"
18905 {
18906 #endif
18907 /* We use char because int might match the return type of a gcc2
18908    builtin and then its argument prototype would still apply.  */
18909 char $ac_func ();
18910 /* The GNU C library defines this for functions which it implements
18911     to always fail with ENOSYS.  Some functions are actually named
18912     something starting with __ and the normal name is an alias.  */
18913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18914 choke me
18915 #else
18916 char (*f) () = $ac_func;
18917 #endif
18918 #ifdef __cplusplus
18919 }
18920 #endif
18921
18922 int
18923 main ()
18924 {
18925 return f != $ac_func;
18926   ;
18927   return 0;
18928 }
18929 _ACEOF
18930 rm -f conftest.$ac_objext conftest$ac_exeext
18931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18932   (eval $ac_link) 2>conftest.er1
18933   ac_status=$?
18934   grep -v '^ *+' conftest.er1 >conftest.err
18935   rm -f conftest.er1
18936   cat conftest.err >&5
18937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18938   (exit $ac_status); } &&
18939          { ac_try='test -z "$ac_c_werror_flag"
18940                          || test ! -s conftest.err'
18941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18942   (eval $ac_try) 2>&5
18943   ac_status=$?
18944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945   (exit $ac_status); }; } &&
18946          { ac_try='test -s conftest$ac_exeext'
18947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18948   (eval $ac_try) 2>&5
18949   ac_status=$?
18950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18951   (exit $ac_status); }; }; then
18952   eval "$as_ac_var=yes"
18953 else
18954   echo "$as_me: failed program was:" >&5
18955 sed 's/^/| /' conftest.$ac_ext >&5
18956
18957 eval "$as_ac_var=no"
18958 fi
18959 rm -f conftest.err conftest.$ac_objext \
18960       conftest$ac_exeext conftest.$ac_ext
18961 fi
18962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18964 if test `eval echo '${'$as_ac_var'}'` = yes; then
18965   cat >>confdefs.h <<_ACEOF
18966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18967 _ACEOF
18968
18969 fi
18970 done
18971
18972   else
18973
18974   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18975 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18976   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18977     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18978   echo $ECHO_N "(cached) $ECHO_C" >&6
18979 else
18980
18981
18982
18983       ac_ext=cc
18984 ac_cpp='$CXXCPP $CPPFLAGS'
18985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18988
18989       cat >conftest.$ac_ext <<_ACEOF
18990 /* confdefs.h.  */
18991 _ACEOF
18992 cat confdefs.h >>conftest.$ac_ext
18993 cat >>conftest.$ac_ext <<_ACEOF
18994 /* end confdefs.h.  */
18995 #include <math.h>
18996                       #ifdef HAVE_IEEEFP_H
18997                       #include <ieeefp.h>
18998                       #endif
18999
19000 int
19001 main ()
19002 {
19003  _isinf(0);
19004   ;
19005   return 0;
19006 }
19007 _ACEOF
19008 rm -f conftest.$ac_objext
19009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19010   (eval $ac_compile) 2>conftest.er1
19011   ac_status=$?
19012   grep -v '^ *+' conftest.er1 >conftest.err
19013   rm -f conftest.er1
19014   cat conftest.err >&5
19015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19016   (exit $ac_status); } &&
19017          { ac_try='test -z "$ac_cxx_werror_flag"
19018                          || test ! -s conftest.err'
19019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19020   (eval $ac_try) 2>&5
19021   ac_status=$?
19022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023   (exit $ac_status); }; } &&
19024          { ac_try='test -s conftest.$ac_objext'
19025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19026   (eval $ac_try) 2>&5
19027   ac_status=$?
19028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029   (exit $ac_status); }; }; then
19030   glibcxx_cv_func__isinf_use=yes
19031 else
19032   echo "$as_me: failed program was:" >&5
19033 sed 's/^/| /' conftest.$ac_ext >&5
19034
19035 glibcxx_cv_func__isinf_use=no
19036 fi
19037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19038       ac_ext=c
19039 ac_cpp='$CPP $CPPFLAGS'
19040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19043
19044
19045 fi
19046
19047   fi
19048   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
19049 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
19050
19051     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19052
19053 for ac_func in _isinf
19054 do
19055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19056 echo "$as_me:$LINENO: checking for $ac_func" >&5
19057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19058 if eval "test \"\${$as_ac_var+set}\" = set"; then
19059   echo $ECHO_N "(cached) $ECHO_C" >&6
19060 else
19061   if test x$gcc_no_link = xyes; then
19062   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19064    { (exit 1); exit 1; }; }
19065 fi
19066 cat >conftest.$ac_ext <<_ACEOF
19067 /* confdefs.h.  */
19068 _ACEOF
19069 cat confdefs.h >>conftest.$ac_ext
19070 cat >>conftest.$ac_ext <<_ACEOF
19071 /* end confdefs.h.  */
19072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19073    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19074 #define $ac_func innocuous_$ac_func
19075
19076 /* System header to define __stub macros and hopefully few prototypes,
19077     which can conflict with char $ac_func (); below.
19078     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19079     <limits.h> exists even on freestanding compilers.  */
19080
19081 #ifdef __STDC__
19082 # include <limits.h>
19083 #else
19084 # include <assert.h>
19085 #endif
19086
19087 #undef $ac_func
19088
19089 /* Override any gcc2 internal prototype to avoid an error.  */
19090 #ifdef __cplusplus
19091 extern "C"
19092 {
19093 #endif
19094 /* We use char because int might match the return type of a gcc2
19095    builtin and then its argument prototype would still apply.  */
19096 char $ac_func ();
19097 /* The GNU C library defines this for functions which it implements
19098     to always fail with ENOSYS.  Some functions are actually named
19099     something starting with __ and the normal name is an alias.  */
19100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19101 choke me
19102 #else
19103 char (*f) () = $ac_func;
19104 #endif
19105 #ifdef __cplusplus
19106 }
19107 #endif
19108
19109 int
19110 main ()
19111 {
19112 return f != $ac_func;
19113   ;
19114   return 0;
19115 }
19116 _ACEOF
19117 rm -f conftest.$ac_objext conftest$ac_exeext
19118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19119   (eval $ac_link) 2>conftest.er1
19120   ac_status=$?
19121   grep -v '^ *+' conftest.er1 >conftest.err
19122   rm -f conftest.er1
19123   cat conftest.err >&5
19124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19125   (exit $ac_status); } &&
19126          { ac_try='test -z "$ac_c_werror_flag"
19127                          || test ! -s conftest.err'
19128   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129   (eval $ac_try) 2>&5
19130   ac_status=$?
19131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132   (exit $ac_status); }; } &&
19133          { ac_try='test -s conftest$ac_exeext'
19134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135   (eval $ac_try) 2>&5
19136   ac_status=$?
19137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138   (exit $ac_status); }; }; then
19139   eval "$as_ac_var=yes"
19140 else
19141   echo "$as_me: failed program was:" >&5
19142 sed 's/^/| /' conftest.$ac_ext >&5
19143
19144 eval "$as_ac_var=no"
19145 fi
19146 rm -f conftest.err conftest.$ac_objext \
19147       conftest$ac_exeext conftest.$ac_ext
19148 fi
19149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19151 if test `eval echo '${'$as_ac_var'}'` = yes; then
19152   cat >>confdefs.h <<_ACEOF
19153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19154 _ACEOF
19155
19156 fi
19157 done
19158
19159     fi
19160   fi
19161
19162
19163
19164
19165
19166
19167   echo "$as_me:$LINENO: checking for isnan declaration" >&5
19168 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
19169   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19170     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
19171   echo $ECHO_N "(cached) $ECHO_C" >&6
19172 else
19173
19174
19175
19176       ac_ext=cc
19177 ac_cpp='$CXXCPP $CPPFLAGS'
19178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19181
19182       cat >conftest.$ac_ext <<_ACEOF
19183 /* confdefs.h.  */
19184 _ACEOF
19185 cat confdefs.h >>conftest.$ac_ext
19186 cat >>conftest.$ac_ext <<_ACEOF
19187 /* end confdefs.h.  */
19188 #include <math.h>
19189                       #ifdef HAVE_IEEEFP_H
19190                       #include <ieeefp.h>
19191                       #endif
19192
19193 int
19194 main ()
19195 {
19196  isnan(0);
19197   ;
19198   return 0;
19199 }
19200 _ACEOF
19201 rm -f conftest.$ac_objext
19202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19203   (eval $ac_compile) 2>conftest.er1
19204   ac_status=$?
19205   grep -v '^ *+' conftest.er1 >conftest.err
19206   rm -f conftest.er1
19207   cat conftest.err >&5
19208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209   (exit $ac_status); } &&
19210          { ac_try='test -z "$ac_cxx_werror_flag"
19211                          || test ! -s conftest.err'
19212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19213   (eval $ac_try) 2>&5
19214   ac_status=$?
19215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19216   (exit $ac_status); }; } &&
19217          { ac_try='test -s conftest.$ac_objext'
19218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19219   (eval $ac_try) 2>&5
19220   ac_status=$?
19221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222   (exit $ac_status); }; }; then
19223   glibcxx_cv_func_isnan_use=yes
19224 else
19225   echo "$as_me: failed program was:" >&5
19226 sed 's/^/| /' conftest.$ac_ext >&5
19227
19228 glibcxx_cv_func_isnan_use=no
19229 fi
19230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19231       ac_ext=c
19232 ac_cpp='$CPP $CPPFLAGS'
19233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19236
19237
19238 fi
19239
19240   fi
19241   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
19242 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
19243
19244   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19245
19246 for ac_func in isnan
19247 do
19248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19249 echo "$as_me:$LINENO: checking for $ac_func" >&5
19250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19251 if eval "test \"\${$as_ac_var+set}\" = set"; then
19252   echo $ECHO_N "(cached) $ECHO_C" >&6
19253 else
19254   if test x$gcc_no_link = xyes; then
19255   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19257    { (exit 1); exit 1; }; }
19258 fi
19259 cat >conftest.$ac_ext <<_ACEOF
19260 /* confdefs.h.  */
19261 _ACEOF
19262 cat confdefs.h >>conftest.$ac_ext
19263 cat >>conftest.$ac_ext <<_ACEOF
19264 /* end confdefs.h.  */
19265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19266    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19267 #define $ac_func innocuous_$ac_func
19268
19269 /* System header to define __stub macros and hopefully few prototypes,
19270     which can conflict with char $ac_func (); below.
19271     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19272     <limits.h> exists even on freestanding compilers.  */
19273
19274 #ifdef __STDC__
19275 # include <limits.h>
19276 #else
19277 # include <assert.h>
19278 #endif
19279
19280 #undef $ac_func
19281
19282 /* Override any gcc2 internal prototype to avoid an error.  */
19283 #ifdef __cplusplus
19284 extern "C"
19285 {
19286 #endif
19287 /* We use char because int might match the return type of a gcc2
19288    builtin and then its argument prototype would still apply.  */
19289 char $ac_func ();
19290 /* The GNU C library defines this for functions which it implements
19291     to always fail with ENOSYS.  Some functions are actually named
19292     something starting with __ and the normal name is an alias.  */
19293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19294 choke me
19295 #else
19296 char (*f) () = $ac_func;
19297 #endif
19298 #ifdef __cplusplus
19299 }
19300 #endif
19301
19302 int
19303 main ()
19304 {
19305 return f != $ac_func;
19306   ;
19307   return 0;
19308 }
19309 _ACEOF
19310 rm -f conftest.$ac_objext conftest$ac_exeext
19311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19312   (eval $ac_link) 2>conftest.er1
19313   ac_status=$?
19314   grep -v '^ *+' conftest.er1 >conftest.err
19315   rm -f conftest.er1
19316   cat conftest.err >&5
19317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318   (exit $ac_status); } &&
19319          { ac_try='test -z "$ac_c_werror_flag"
19320                          || test ! -s conftest.err'
19321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19322   (eval $ac_try) 2>&5
19323   ac_status=$?
19324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325   (exit $ac_status); }; } &&
19326          { ac_try='test -s conftest$ac_exeext'
19327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328   (eval $ac_try) 2>&5
19329   ac_status=$?
19330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331   (exit $ac_status); }; }; then
19332   eval "$as_ac_var=yes"
19333 else
19334   echo "$as_me: failed program was:" >&5
19335 sed 's/^/| /' conftest.$ac_ext >&5
19336
19337 eval "$as_ac_var=no"
19338 fi
19339 rm -f conftest.err conftest.$ac_objext \
19340       conftest$ac_exeext conftest.$ac_ext
19341 fi
19342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19344 if test `eval echo '${'$as_ac_var'}'` = yes; then
19345   cat >>confdefs.h <<_ACEOF
19346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19347 _ACEOF
19348
19349 fi
19350 done
19351
19352   else
19353
19354   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19355 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19356   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19357     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19358   echo $ECHO_N "(cached) $ECHO_C" >&6
19359 else
19360
19361
19362
19363       ac_ext=cc
19364 ac_cpp='$CXXCPP $CPPFLAGS'
19365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19368
19369       cat >conftest.$ac_ext <<_ACEOF
19370 /* confdefs.h.  */
19371 _ACEOF
19372 cat confdefs.h >>conftest.$ac_ext
19373 cat >>conftest.$ac_ext <<_ACEOF
19374 /* end confdefs.h.  */
19375 #include <math.h>
19376                       #ifdef HAVE_IEEEFP_H
19377                       #include <ieeefp.h>
19378                       #endif
19379
19380 int
19381 main ()
19382 {
19383  _isnan(0);
19384   ;
19385   return 0;
19386 }
19387 _ACEOF
19388 rm -f conftest.$ac_objext
19389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19390   (eval $ac_compile) 2>conftest.er1
19391   ac_status=$?
19392   grep -v '^ *+' conftest.er1 >conftest.err
19393   rm -f conftest.er1
19394   cat conftest.err >&5
19395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396   (exit $ac_status); } &&
19397          { ac_try='test -z "$ac_cxx_werror_flag"
19398                          || test ! -s conftest.err'
19399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19400   (eval $ac_try) 2>&5
19401   ac_status=$?
19402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403   (exit $ac_status); }; } &&
19404          { ac_try='test -s conftest.$ac_objext'
19405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406   (eval $ac_try) 2>&5
19407   ac_status=$?
19408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409   (exit $ac_status); }; }; then
19410   glibcxx_cv_func__isnan_use=yes
19411 else
19412   echo "$as_me: failed program was:" >&5
19413 sed 's/^/| /' conftest.$ac_ext >&5
19414
19415 glibcxx_cv_func__isnan_use=no
19416 fi
19417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19418       ac_ext=c
19419 ac_cpp='$CPP $CPPFLAGS'
19420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19423
19424
19425 fi
19426
19427   fi
19428   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19429 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19430
19431     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19432
19433 for ac_func in _isnan
19434 do
19435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19436 echo "$as_me:$LINENO: checking for $ac_func" >&5
19437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19438 if eval "test \"\${$as_ac_var+set}\" = set"; then
19439   echo $ECHO_N "(cached) $ECHO_C" >&6
19440 else
19441   if test x$gcc_no_link = xyes; then
19442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19444    { (exit 1); exit 1; }; }
19445 fi
19446 cat >conftest.$ac_ext <<_ACEOF
19447 /* confdefs.h.  */
19448 _ACEOF
19449 cat confdefs.h >>conftest.$ac_ext
19450 cat >>conftest.$ac_ext <<_ACEOF
19451 /* end confdefs.h.  */
19452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19453    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19454 #define $ac_func innocuous_$ac_func
19455
19456 /* System header to define __stub macros and hopefully few prototypes,
19457     which can conflict with char $ac_func (); below.
19458     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19459     <limits.h> exists even on freestanding compilers.  */
19460
19461 #ifdef __STDC__
19462 # include <limits.h>
19463 #else
19464 # include <assert.h>
19465 #endif
19466
19467 #undef $ac_func
19468
19469 /* Override any gcc2 internal prototype to avoid an error.  */
19470 #ifdef __cplusplus
19471 extern "C"
19472 {
19473 #endif
19474 /* We use char because int might match the return type of a gcc2
19475    builtin and then its argument prototype would still apply.  */
19476 char $ac_func ();
19477 /* The GNU C library defines this for functions which it implements
19478     to always fail with ENOSYS.  Some functions are actually named
19479     something starting with __ and the normal name is an alias.  */
19480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19481 choke me
19482 #else
19483 char (*f) () = $ac_func;
19484 #endif
19485 #ifdef __cplusplus
19486 }
19487 #endif
19488
19489 int
19490 main ()
19491 {
19492 return f != $ac_func;
19493   ;
19494   return 0;
19495 }
19496 _ACEOF
19497 rm -f conftest.$ac_objext conftest$ac_exeext
19498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19499   (eval $ac_link) 2>conftest.er1
19500   ac_status=$?
19501   grep -v '^ *+' conftest.er1 >conftest.err
19502   rm -f conftest.er1
19503   cat conftest.err >&5
19504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19505   (exit $ac_status); } &&
19506          { ac_try='test -z "$ac_c_werror_flag"
19507                          || test ! -s conftest.err'
19508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19509   (eval $ac_try) 2>&5
19510   ac_status=$?
19511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19512   (exit $ac_status); }; } &&
19513          { ac_try='test -s conftest$ac_exeext'
19514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19515   (eval $ac_try) 2>&5
19516   ac_status=$?
19517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19518   (exit $ac_status); }; }; then
19519   eval "$as_ac_var=yes"
19520 else
19521   echo "$as_me: failed program was:" >&5
19522 sed 's/^/| /' conftest.$ac_ext >&5
19523
19524 eval "$as_ac_var=no"
19525 fi
19526 rm -f conftest.err conftest.$ac_objext \
19527       conftest$ac_exeext conftest.$ac_ext
19528 fi
19529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19531 if test `eval echo '${'$as_ac_var'}'` = yes; then
19532   cat >>confdefs.h <<_ACEOF
19533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19534 _ACEOF
19535
19536 fi
19537 done
19538
19539     fi
19540   fi
19541
19542
19543
19544
19545
19546
19547   echo "$as_me:$LINENO: checking for finite declaration" >&5
19548 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19549   if test x${glibcxx_cv_func_finite_use+set} != xset; then
19550     if test "${glibcxx_cv_func_finite_use+set}" = set; then
19551   echo $ECHO_N "(cached) $ECHO_C" >&6
19552 else
19553
19554
19555
19556       ac_ext=cc
19557 ac_cpp='$CXXCPP $CPPFLAGS'
19558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19561
19562       cat >conftest.$ac_ext <<_ACEOF
19563 /* confdefs.h.  */
19564 _ACEOF
19565 cat confdefs.h >>conftest.$ac_ext
19566 cat >>conftest.$ac_ext <<_ACEOF
19567 /* end confdefs.h.  */
19568 #include <math.h>
19569                       #ifdef HAVE_IEEEFP_H
19570                       #include <ieeefp.h>
19571                       #endif
19572
19573 int
19574 main ()
19575 {
19576  finite(0);
19577   ;
19578   return 0;
19579 }
19580 _ACEOF
19581 rm -f conftest.$ac_objext
19582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19583   (eval $ac_compile) 2>conftest.er1
19584   ac_status=$?
19585   grep -v '^ *+' conftest.er1 >conftest.err
19586   rm -f conftest.er1
19587   cat conftest.err >&5
19588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19589   (exit $ac_status); } &&
19590          { ac_try='test -z "$ac_cxx_werror_flag"
19591                          || test ! -s conftest.err'
19592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19593   (eval $ac_try) 2>&5
19594   ac_status=$?
19595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596   (exit $ac_status); }; } &&
19597          { ac_try='test -s conftest.$ac_objext'
19598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19599   (eval $ac_try) 2>&5
19600   ac_status=$?
19601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19602   (exit $ac_status); }; }; then
19603   glibcxx_cv_func_finite_use=yes
19604 else
19605   echo "$as_me: failed program was:" >&5
19606 sed 's/^/| /' conftest.$ac_ext >&5
19607
19608 glibcxx_cv_func_finite_use=no
19609 fi
19610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19611       ac_ext=c
19612 ac_cpp='$CPP $CPPFLAGS'
19613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19616
19617
19618 fi
19619
19620   fi
19621   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19622 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19623
19624   if test x$glibcxx_cv_func_finite_use = x"yes"; then
19625
19626 for ac_func in finite
19627 do
19628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19629 echo "$as_me:$LINENO: checking for $ac_func" >&5
19630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19631 if eval "test \"\${$as_ac_var+set}\" = set"; then
19632   echo $ECHO_N "(cached) $ECHO_C" >&6
19633 else
19634   if test x$gcc_no_link = xyes; then
19635   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19637    { (exit 1); exit 1; }; }
19638 fi
19639 cat >conftest.$ac_ext <<_ACEOF
19640 /* confdefs.h.  */
19641 _ACEOF
19642 cat confdefs.h >>conftest.$ac_ext
19643 cat >>conftest.$ac_ext <<_ACEOF
19644 /* end confdefs.h.  */
19645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19646    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19647 #define $ac_func innocuous_$ac_func
19648
19649 /* System header to define __stub macros and hopefully few prototypes,
19650     which can conflict with char $ac_func (); below.
19651     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19652     <limits.h> exists even on freestanding compilers.  */
19653
19654 #ifdef __STDC__
19655 # include <limits.h>
19656 #else
19657 # include <assert.h>
19658 #endif
19659
19660 #undef $ac_func
19661
19662 /* Override any gcc2 internal prototype to avoid an error.  */
19663 #ifdef __cplusplus
19664 extern "C"
19665 {
19666 #endif
19667 /* We use char because int might match the return type of a gcc2
19668    builtin and then its argument prototype would still apply.  */
19669 char $ac_func ();
19670 /* The GNU C library defines this for functions which it implements
19671     to always fail with ENOSYS.  Some functions are actually named
19672     something starting with __ and the normal name is an alias.  */
19673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19674 choke me
19675 #else
19676 char (*f) () = $ac_func;
19677 #endif
19678 #ifdef __cplusplus
19679 }
19680 #endif
19681
19682 int
19683 main ()
19684 {
19685 return f != $ac_func;
19686   ;
19687   return 0;
19688 }
19689 _ACEOF
19690 rm -f conftest.$ac_objext conftest$ac_exeext
19691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19692   (eval $ac_link) 2>conftest.er1
19693   ac_status=$?
19694   grep -v '^ *+' conftest.er1 >conftest.err
19695   rm -f conftest.er1
19696   cat conftest.err >&5
19697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19698   (exit $ac_status); } &&
19699          { ac_try='test -z "$ac_c_werror_flag"
19700                          || test ! -s conftest.err'
19701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19702   (eval $ac_try) 2>&5
19703   ac_status=$?
19704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19705   (exit $ac_status); }; } &&
19706          { ac_try='test -s conftest$ac_exeext'
19707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19708   (eval $ac_try) 2>&5
19709   ac_status=$?
19710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711   (exit $ac_status); }; }; then
19712   eval "$as_ac_var=yes"
19713 else
19714   echo "$as_me: failed program was:" >&5
19715 sed 's/^/| /' conftest.$ac_ext >&5
19716
19717 eval "$as_ac_var=no"
19718 fi
19719 rm -f conftest.err conftest.$ac_objext \
19720       conftest$ac_exeext conftest.$ac_ext
19721 fi
19722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19724 if test `eval echo '${'$as_ac_var'}'` = yes; then
19725   cat >>confdefs.h <<_ACEOF
19726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19727 _ACEOF
19728
19729 fi
19730 done
19731
19732   else
19733
19734   echo "$as_me:$LINENO: checking for _finite declaration" >&5
19735 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19736   if test x${glibcxx_cv_func__finite_use+set} != xset; then
19737     if test "${glibcxx_cv_func__finite_use+set}" = set; then
19738   echo $ECHO_N "(cached) $ECHO_C" >&6
19739 else
19740
19741
19742
19743       ac_ext=cc
19744 ac_cpp='$CXXCPP $CPPFLAGS'
19745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19748
19749       cat >conftest.$ac_ext <<_ACEOF
19750 /* confdefs.h.  */
19751 _ACEOF
19752 cat confdefs.h >>conftest.$ac_ext
19753 cat >>conftest.$ac_ext <<_ACEOF
19754 /* end confdefs.h.  */
19755 #include <math.h>
19756                       #ifdef HAVE_IEEEFP_H
19757                       #include <ieeefp.h>
19758                       #endif
19759
19760 int
19761 main ()
19762 {
19763  _finite(0);
19764   ;
19765   return 0;
19766 }
19767 _ACEOF
19768 rm -f conftest.$ac_objext
19769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19770   (eval $ac_compile) 2>conftest.er1
19771   ac_status=$?
19772   grep -v '^ *+' conftest.er1 >conftest.err
19773   rm -f conftest.er1
19774   cat conftest.err >&5
19775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776   (exit $ac_status); } &&
19777          { ac_try='test -z "$ac_cxx_werror_flag"
19778                          || test ! -s conftest.err'
19779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19780   (eval $ac_try) 2>&5
19781   ac_status=$?
19782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783   (exit $ac_status); }; } &&
19784          { ac_try='test -s conftest.$ac_objext'
19785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19786   (eval $ac_try) 2>&5
19787   ac_status=$?
19788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19789   (exit $ac_status); }; }; then
19790   glibcxx_cv_func__finite_use=yes
19791 else
19792   echo "$as_me: failed program was:" >&5
19793 sed 's/^/| /' conftest.$ac_ext >&5
19794
19795 glibcxx_cv_func__finite_use=no
19796 fi
19797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19798       ac_ext=c
19799 ac_cpp='$CPP $CPPFLAGS'
19800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19803
19804
19805 fi
19806
19807   fi
19808   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19809 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19810
19811     if test x$glibcxx_cv_func__finite_use = x"yes"; then
19812
19813 for ac_func in _finite
19814 do
19815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19816 echo "$as_me:$LINENO: checking for $ac_func" >&5
19817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19818 if eval "test \"\${$as_ac_var+set}\" = set"; then
19819   echo $ECHO_N "(cached) $ECHO_C" >&6
19820 else
19821   if test x$gcc_no_link = xyes; then
19822   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19824    { (exit 1); exit 1; }; }
19825 fi
19826 cat >conftest.$ac_ext <<_ACEOF
19827 /* confdefs.h.  */
19828 _ACEOF
19829 cat confdefs.h >>conftest.$ac_ext
19830 cat >>conftest.$ac_ext <<_ACEOF
19831 /* end confdefs.h.  */
19832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19834 #define $ac_func innocuous_$ac_func
19835
19836 /* System header to define __stub macros and hopefully few prototypes,
19837     which can conflict with char $ac_func (); below.
19838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19839     <limits.h> exists even on freestanding compilers.  */
19840
19841 #ifdef __STDC__
19842 # include <limits.h>
19843 #else
19844 # include <assert.h>
19845 #endif
19846
19847 #undef $ac_func
19848
19849 /* Override any gcc2 internal prototype to avoid an error.  */
19850 #ifdef __cplusplus
19851 extern "C"
19852 {
19853 #endif
19854 /* We use char because int might match the return type of a gcc2
19855    builtin and then its argument prototype would still apply.  */
19856 char $ac_func ();
19857 /* The GNU C library defines this for functions which it implements
19858     to always fail with ENOSYS.  Some functions are actually named
19859     something starting with __ and the normal name is an alias.  */
19860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19861 choke me
19862 #else
19863 char (*f) () = $ac_func;
19864 #endif
19865 #ifdef __cplusplus
19866 }
19867 #endif
19868
19869 int
19870 main ()
19871 {
19872 return f != $ac_func;
19873   ;
19874   return 0;
19875 }
19876 _ACEOF
19877 rm -f conftest.$ac_objext conftest$ac_exeext
19878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19879   (eval $ac_link) 2>conftest.er1
19880   ac_status=$?
19881   grep -v '^ *+' conftest.er1 >conftest.err
19882   rm -f conftest.er1
19883   cat conftest.err >&5
19884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885   (exit $ac_status); } &&
19886          { ac_try='test -z "$ac_c_werror_flag"
19887                          || test ! -s conftest.err'
19888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19889   (eval $ac_try) 2>&5
19890   ac_status=$?
19891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19892   (exit $ac_status); }; } &&
19893          { ac_try='test -s conftest$ac_exeext'
19894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19895   (eval $ac_try) 2>&5
19896   ac_status=$?
19897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898   (exit $ac_status); }; }; then
19899   eval "$as_ac_var=yes"
19900 else
19901   echo "$as_me: failed program was:" >&5
19902 sed 's/^/| /' conftest.$ac_ext >&5
19903
19904 eval "$as_ac_var=no"
19905 fi
19906 rm -f conftest.err conftest.$ac_objext \
19907       conftest$ac_exeext conftest.$ac_ext
19908 fi
19909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19911 if test `eval echo '${'$as_ac_var'}'` = yes; then
19912   cat >>confdefs.h <<_ACEOF
19913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19914 _ACEOF
19915
19916 fi
19917 done
19918
19919     fi
19920   fi
19921
19922
19923
19924
19925
19926
19927   echo "$as_me:$LINENO: checking for copysign declaration" >&5
19928 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19929   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19930     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19931   echo $ECHO_N "(cached) $ECHO_C" >&6
19932 else
19933
19934
19935
19936       ac_ext=cc
19937 ac_cpp='$CXXCPP $CPPFLAGS'
19938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19941
19942       cat >conftest.$ac_ext <<_ACEOF
19943 /* confdefs.h.  */
19944 _ACEOF
19945 cat confdefs.h >>conftest.$ac_ext
19946 cat >>conftest.$ac_ext <<_ACEOF
19947 /* end confdefs.h.  */
19948 #include <math.h>
19949 int
19950 main ()
19951 {
19952  copysign(0, 0);
19953   ;
19954   return 0;
19955 }
19956 _ACEOF
19957 rm -f conftest.$ac_objext
19958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19959   (eval $ac_compile) 2>conftest.er1
19960   ac_status=$?
19961   grep -v '^ *+' conftest.er1 >conftest.err
19962   rm -f conftest.er1
19963   cat conftest.err >&5
19964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19965   (exit $ac_status); } &&
19966          { ac_try='test -z "$ac_cxx_werror_flag"
19967                          || test ! -s conftest.err'
19968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969   (eval $ac_try) 2>&5
19970   ac_status=$?
19971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972   (exit $ac_status); }; } &&
19973          { ac_try='test -s conftest.$ac_objext'
19974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975   (eval $ac_try) 2>&5
19976   ac_status=$?
19977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978   (exit $ac_status); }; }; then
19979   glibcxx_cv_func_copysign_use=yes
19980 else
19981   echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.$ac_ext >&5
19983
19984 glibcxx_cv_func_copysign_use=no
19985 fi
19986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19987       ac_ext=c
19988 ac_cpp='$CPP $CPPFLAGS'
19989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19992
19993
19994 fi
19995
19996   fi
19997   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
19998 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
19999
20000   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
20001
20002 for ac_func in copysign
20003 do
20004 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20005 echo "$as_me:$LINENO: checking for $ac_func" >&5
20006 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20007 if eval "test \"\${$as_ac_var+set}\" = set"; then
20008   echo $ECHO_N "(cached) $ECHO_C" >&6
20009 else
20010   if test x$gcc_no_link = xyes; then
20011   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20013    { (exit 1); exit 1; }; }
20014 fi
20015 cat >conftest.$ac_ext <<_ACEOF
20016 /* confdefs.h.  */
20017 _ACEOF
20018 cat confdefs.h >>conftest.$ac_ext
20019 cat >>conftest.$ac_ext <<_ACEOF
20020 /* end confdefs.h.  */
20021 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20022    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20023 #define $ac_func innocuous_$ac_func
20024
20025 /* System header to define __stub macros and hopefully few prototypes,
20026     which can conflict with char $ac_func (); below.
20027     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20028     <limits.h> exists even on freestanding compilers.  */
20029
20030 #ifdef __STDC__
20031 # include <limits.h>
20032 #else
20033 # include <assert.h>
20034 #endif
20035
20036 #undef $ac_func
20037
20038 /* Override any gcc2 internal prototype to avoid an error.  */
20039 #ifdef __cplusplus
20040 extern "C"
20041 {
20042 #endif
20043 /* We use char because int might match the return type of a gcc2
20044    builtin and then its argument prototype would still apply.  */
20045 char $ac_func ();
20046 /* The GNU C library defines this for functions which it implements
20047     to always fail with ENOSYS.  Some functions are actually named
20048     something starting with __ and the normal name is an alias.  */
20049 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20050 choke me
20051 #else
20052 char (*f) () = $ac_func;
20053 #endif
20054 #ifdef __cplusplus
20055 }
20056 #endif
20057
20058 int
20059 main ()
20060 {
20061 return f != $ac_func;
20062   ;
20063   return 0;
20064 }
20065 _ACEOF
20066 rm -f conftest.$ac_objext conftest$ac_exeext
20067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20068   (eval $ac_link) 2>conftest.er1
20069   ac_status=$?
20070   grep -v '^ *+' conftest.er1 >conftest.err
20071   rm -f conftest.er1
20072   cat conftest.err >&5
20073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20074   (exit $ac_status); } &&
20075          { ac_try='test -z "$ac_c_werror_flag"
20076                          || test ! -s conftest.err'
20077   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20078   (eval $ac_try) 2>&5
20079   ac_status=$?
20080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081   (exit $ac_status); }; } &&
20082          { ac_try='test -s conftest$ac_exeext'
20083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20084   (eval $ac_try) 2>&5
20085   ac_status=$?
20086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20087   (exit $ac_status); }; }; then
20088   eval "$as_ac_var=yes"
20089 else
20090   echo "$as_me: failed program was:" >&5
20091 sed 's/^/| /' conftest.$ac_ext >&5
20092
20093 eval "$as_ac_var=no"
20094 fi
20095 rm -f conftest.err conftest.$ac_objext \
20096       conftest$ac_exeext conftest.$ac_ext
20097 fi
20098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20100 if test `eval echo '${'$as_ac_var'}'` = yes; then
20101   cat >>confdefs.h <<_ACEOF
20102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20103 _ACEOF
20104
20105 fi
20106 done
20107
20108   else
20109
20110   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
20111 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
20112   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
20113     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
20114   echo $ECHO_N "(cached) $ECHO_C" >&6
20115 else
20116
20117
20118
20119       ac_ext=cc
20120 ac_cpp='$CXXCPP $CPPFLAGS'
20121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20124
20125       cat >conftest.$ac_ext <<_ACEOF
20126 /* confdefs.h.  */
20127 _ACEOF
20128 cat confdefs.h >>conftest.$ac_ext
20129 cat >>conftest.$ac_ext <<_ACEOF
20130 /* end confdefs.h.  */
20131 #include <math.h>
20132 int
20133 main ()
20134 {
20135  _copysign(0, 0);
20136   ;
20137   return 0;
20138 }
20139 _ACEOF
20140 rm -f conftest.$ac_objext
20141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20142   (eval $ac_compile) 2>conftest.er1
20143   ac_status=$?
20144   grep -v '^ *+' conftest.er1 >conftest.err
20145   rm -f conftest.er1
20146   cat conftest.err >&5
20147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148   (exit $ac_status); } &&
20149          { ac_try='test -z "$ac_cxx_werror_flag"
20150                          || test ! -s conftest.err'
20151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20152   (eval $ac_try) 2>&5
20153   ac_status=$?
20154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155   (exit $ac_status); }; } &&
20156          { ac_try='test -s conftest.$ac_objext'
20157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20158   (eval $ac_try) 2>&5
20159   ac_status=$?
20160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161   (exit $ac_status); }; }; then
20162   glibcxx_cv_func__copysign_use=yes
20163 else
20164   echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20166
20167 glibcxx_cv_func__copysign_use=no
20168 fi
20169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20170       ac_ext=c
20171 ac_cpp='$CPP $CPPFLAGS'
20172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20175
20176
20177 fi
20178
20179   fi
20180   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
20181 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
20182
20183     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
20184
20185 for ac_func in _copysign
20186 do
20187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20188 echo "$as_me:$LINENO: checking for $ac_func" >&5
20189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20190 if eval "test \"\${$as_ac_var+set}\" = set"; then
20191   echo $ECHO_N "(cached) $ECHO_C" >&6
20192 else
20193   if test x$gcc_no_link = xyes; then
20194   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20196    { (exit 1); exit 1; }; }
20197 fi
20198 cat >conftest.$ac_ext <<_ACEOF
20199 /* confdefs.h.  */
20200 _ACEOF
20201 cat confdefs.h >>conftest.$ac_ext
20202 cat >>conftest.$ac_ext <<_ACEOF
20203 /* end confdefs.h.  */
20204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20205    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20206 #define $ac_func innocuous_$ac_func
20207
20208 /* System header to define __stub macros and hopefully few prototypes,
20209     which can conflict with char $ac_func (); below.
20210     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20211     <limits.h> exists even on freestanding compilers.  */
20212
20213 #ifdef __STDC__
20214 # include <limits.h>
20215 #else
20216 # include <assert.h>
20217 #endif
20218
20219 #undef $ac_func
20220
20221 /* Override any gcc2 internal prototype to avoid an error.  */
20222 #ifdef __cplusplus
20223 extern "C"
20224 {
20225 #endif
20226 /* We use char because int might match the return type of a gcc2
20227    builtin and then its argument prototype would still apply.  */
20228 char $ac_func ();
20229 /* The GNU C library defines this for functions which it implements
20230     to always fail with ENOSYS.  Some functions are actually named
20231     something starting with __ and the normal name is an alias.  */
20232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20233 choke me
20234 #else
20235 char (*f) () = $ac_func;
20236 #endif
20237 #ifdef __cplusplus
20238 }
20239 #endif
20240
20241 int
20242 main ()
20243 {
20244 return f != $ac_func;
20245   ;
20246   return 0;
20247 }
20248 _ACEOF
20249 rm -f conftest.$ac_objext conftest$ac_exeext
20250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20251   (eval $ac_link) 2>conftest.er1
20252   ac_status=$?
20253   grep -v '^ *+' conftest.er1 >conftest.err
20254   rm -f conftest.er1
20255   cat conftest.err >&5
20256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20257   (exit $ac_status); } &&
20258          { ac_try='test -z "$ac_c_werror_flag"
20259                          || test ! -s conftest.err'
20260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20261   (eval $ac_try) 2>&5
20262   ac_status=$?
20263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264   (exit $ac_status); }; } &&
20265          { ac_try='test -s conftest$ac_exeext'
20266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20267   (eval $ac_try) 2>&5
20268   ac_status=$?
20269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270   (exit $ac_status); }; }; then
20271   eval "$as_ac_var=yes"
20272 else
20273   echo "$as_me: failed program was:" >&5
20274 sed 's/^/| /' conftest.$ac_ext >&5
20275
20276 eval "$as_ac_var=no"
20277 fi
20278 rm -f conftest.err conftest.$ac_objext \
20279       conftest$ac_exeext conftest.$ac_ext
20280 fi
20281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20283 if test `eval echo '${'$as_ac_var'}'` = yes; then
20284   cat >>confdefs.h <<_ACEOF
20285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20286 _ACEOF
20287
20288 fi
20289 done
20290
20291     fi
20292   fi
20293
20294
20295
20296
20297
20298
20299   echo "$as_me:$LINENO: checking for sincos declaration" >&5
20300 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
20301   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20302     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
20303   echo $ECHO_N "(cached) $ECHO_C" >&6
20304 else
20305
20306
20307
20308       ac_ext=cc
20309 ac_cpp='$CXXCPP $CPPFLAGS'
20310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20313
20314       cat >conftest.$ac_ext <<_ACEOF
20315 /* confdefs.h.  */
20316 _ACEOF
20317 cat confdefs.h >>conftest.$ac_ext
20318 cat >>conftest.$ac_ext <<_ACEOF
20319 /* end confdefs.h.  */
20320 #include <math.h>
20321 int
20322 main ()
20323 {
20324  sincos(0, 0, 0);
20325   ;
20326   return 0;
20327 }
20328 _ACEOF
20329 rm -f conftest.$ac_objext
20330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20331   (eval $ac_compile) 2>conftest.er1
20332   ac_status=$?
20333   grep -v '^ *+' conftest.er1 >conftest.err
20334   rm -f conftest.er1
20335   cat conftest.err >&5
20336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337   (exit $ac_status); } &&
20338          { ac_try='test -z "$ac_cxx_werror_flag"
20339                          || test ! -s conftest.err'
20340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20341   (eval $ac_try) 2>&5
20342   ac_status=$?
20343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344   (exit $ac_status); }; } &&
20345          { ac_try='test -s conftest.$ac_objext'
20346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20347   (eval $ac_try) 2>&5
20348   ac_status=$?
20349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20350   (exit $ac_status); }; }; then
20351   glibcxx_cv_func_sincos_use=yes
20352 else
20353   echo "$as_me: failed program was:" >&5
20354 sed 's/^/| /' conftest.$ac_ext >&5
20355
20356 glibcxx_cv_func_sincos_use=no
20357 fi
20358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20359       ac_ext=c
20360 ac_cpp='$CPP $CPPFLAGS'
20361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20364
20365
20366 fi
20367
20368   fi
20369   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20370 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20371
20372   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20373
20374 for ac_func in sincos
20375 do
20376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20377 echo "$as_me:$LINENO: checking for $ac_func" >&5
20378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20379 if eval "test \"\${$as_ac_var+set}\" = set"; then
20380   echo $ECHO_N "(cached) $ECHO_C" >&6
20381 else
20382   if test x$gcc_no_link = xyes; then
20383   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20385    { (exit 1); exit 1; }; }
20386 fi
20387 cat >conftest.$ac_ext <<_ACEOF
20388 /* confdefs.h.  */
20389 _ACEOF
20390 cat confdefs.h >>conftest.$ac_ext
20391 cat >>conftest.$ac_ext <<_ACEOF
20392 /* end confdefs.h.  */
20393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20394    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20395 #define $ac_func innocuous_$ac_func
20396
20397 /* System header to define __stub macros and hopefully few prototypes,
20398     which can conflict with char $ac_func (); below.
20399     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20400     <limits.h> exists even on freestanding compilers.  */
20401
20402 #ifdef __STDC__
20403 # include <limits.h>
20404 #else
20405 # include <assert.h>
20406 #endif
20407
20408 #undef $ac_func
20409
20410 /* Override any gcc2 internal prototype to avoid an error.  */
20411 #ifdef __cplusplus
20412 extern "C"
20413 {
20414 #endif
20415 /* We use char because int might match the return type of a gcc2
20416    builtin and then its argument prototype would still apply.  */
20417 char $ac_func ();
20418 /* The GNU C library defines this for functions which it implements
20419     to always fail with ENOSYS.  Some functions are actually named
20420     something starting with __ and the normal name is an alias.  */
20421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20422 choke me
20423 #else
20424 char (*f) () = $ac_func;
20425 #endif
20426 #ifdef __cplusplus
20427 }
20428 #endif
20429
20430 int
20431 main ()
20432 {
20433 return f != $ac_func;
20434   ;
20435   return 0;
20436 }
20437 _ACEOF
20438 rm -f conftest.$ac_objext conftest$ac_exeext
20439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20440   (eval $ac_link) 2>conftest.er1
20441   ac_status=$?
20442   grep -v '^ *+' conftest.er1 >conftest.err
20443   rm -f conftest.er1
20444   cat conftest.err >&5
20445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20446   (exit $ac_status); } &&
20447          { ac_try='test -z "$ac_c_werror_flag"
20448                          || test ! -s conftest.err'
20449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20450   (eval $ac_try) 2>&5
20451   ac_status=$?
20452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453   (exit $ac_status); }; } &&
20454          { ac_try='test -s conftest$ac_exeext'
20455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20456   (eval $ac_try) 2>&5
20457   ac_status=$?
20458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20459   (exit $ac_status); }; }; then
20460   eval "$as_ac_var=yes"
20461 else
20462   echo "$as_me: failed program was:" >&5
20463 sed 's/^/| /' conftest.$ac_ext >&5
20464
20465 eval "$as_ac_var=no"
20466 fi
20467 rm -f conftest.err conftest.$ac_objext \
20468       conftest$ac_exeext conftest.$ac_ext
20469 fi
20470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20472 if test `eval echo '${'$as_ac_var'}'` = yes; then
20473   cat >>confdefs.h <<_ACEOF
20474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20475 _ACEOF
20476
20477 fi
20478 done
20479
20480   else
20481
20482   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20483 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20484   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20485     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20486   echo $ECHO_N "(cached) $ECHO_C" >&6
20487 else
20488
20489
20490
20491       ac_ext=cc
20492 ac_cpp='$CXXCPP $CPPFLAGS'
20493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20496
20497       cat >conftest.$ac_ext <<_ACEOF
20498 /* confdefs.h.  */
20499 _ACEOF
20500 cat confdefs.h >>conftest.$ac_ext
20501 cat >>conftest.$ac_ext <<_ACEOF
20502 /* end confdefs.h.  */
20503 #include <math.h>
20504 int
20505 main ()
20506 {
20507  _sincos(0, 0, 0);
20508   ;
20509   return 0;
20510 }
20511 _ACEOF
20512 rm -f conftest.$ac_objext
20513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20514   (eval $ac_compile) 2>conftest.er1
20515   ac_status=$?
20516   grep -v '^ *+' conftest.er1 >conftest.err
20517   rm -f conftest.er1
20518   cat conftest.err >&5
20519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520   (exit $ac_status); } &&
20521          { ac_try='test -z "$ac_cxx_werror_flag"
20522                          || test ! -s conftest.err'
20523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20524   (eval $ac_try) 2>&5
20525   ac_status=$?
20526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527   (exit $ac_status); }; } &&
20528          { ac_try='test -s conftest.$ac_objext'
20529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20530   (eval $ac_try) 2>&5
20531   ac_status=$?
20532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533   (exit $ac_status); }; }; then
20534   glibcxx_cv_func__sincos_use=yes
20535 else
20536   echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20538
20539 glibcxx_cv_func__sincos_use=no
20540 fi
20541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20542       ac_ext=c
20543 ac_cpp='$CPP $CPPFLAGS'
20544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20547
20548
20549 fi
20550
20551   fi
20552   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20553 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20554
20555     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20556
20557 for ac_func in _sincos
20558 do
20559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20560 echo "$as_me:$LINENO: checking for $ac_func" >&5
20561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20562 if eval "test \"\${$as_ac_var+set}\" = set"; then
20563   echo $ECHO_N "(cached) $ECHO_C" >&6
20564 else
20565   if test x$gcc_no_link = xyes; then
20566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20568    { (exit 1); exit 1; }; }
20569 fi
20570 cat >conftest.$ac_ext <<_ACEOF
20571 /* confdefs.h.  */
20572 _ACEOF
20573 cat confdefs.h >>conftest.$ac_ext
20574 cat >>conftest.$ac_ext <<_ACEOF
20575 /* end confdefs.h.  */
20576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20577    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20578 #define $ac_func innocuous_$ac_func
20579
20580 /* System header to define __stub macros and hopefully few prototypes,
20581     which can conflict with char $ac_func (); below.
20582     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20583     <limits.h> exists even on freestanding compilers.  */
20584
20585 #ifdef __STDC__
20586 # include <limits.h>
20587 #else
20588 # include <assert.h>
20589 #endif
20590
20591 #undef $ac_func
20592
20593 /* Override any gcc2 internal prototype to avoid an error.  */
20594 #ifdef __cplusplus
20595 extern "C"
20596 {
20597 #endif
20598 /* We use char because int might match the return type of a gcc2
20599    builtin and then its argument prototype would still apply.  */
20600 char $ac_func ();
20601 /* The GNU C library defines this for functions which it implements
20602     to always fail with ENOSYS.  Some functions are actually named
20603     something starting with __ and the normal name is an alias.  */
20604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20605 choke me
20606 #else
20607 char (*f) () = $ac_func;
20608 #endif
20609 #ifdef __cplusplus
20610 }
20611 #endif
20612
20613 int
20614 main ()
20615 {
20616 return f != $ac_func;
20617   ;
20618   return 0;
20619 }
20620 _ACEOF
20621 rm -f conftest.$ac_objext conftest$ac_exeext
20622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20623   (eval $ac_link) 2>conftest.er1
20624   ac_status=$?
20625   grep -v '^ *+' conftest.er1 >conftest.err
20626   rm -f conftest.er1
20627   cat conftest.err >&5
20628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629   (exit $ac_status); } &&
20630          { ac_try='test -z "$ac_c_werror_flag"
20631                          || test ! -s conftest.err'
20632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20633   (eval $ac_try) 2>&5
20634   ac_status=$?
20635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20636   (exit $ac_status); }; } &&
20637          { ac_try='test -s conftest$ac_exeext'
20638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20639   (eval $ac_try) 2>&5
20640   ac_status=$?
20641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20642   (exit $ac_status); }; }; then
20643   eval "$as_ac_var=yes"
20644 else
20645   echo "$as_me: failed program was:" >&5
20646 sed 's/^/| /' conftest.$ac_ext >&5
20647
20648 eval "$as_ac_var=no"
20649 fi
20650 rm -f conftest.err conftest.$ac_objext \
20651       conftest$ac_exeext conftest.$ac_ext
20652 fi
20653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20655 if test `eval echo '${'$as_ac_var'}'` = yes; then
20656   cat >>confdefs.h <<_ACEOF
20657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20658 _ACEOF
20659
20660 fi
20661 done
20662
20663     fi
20664   fi
20665
20666
20667
20668
20669
20670
20671   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20672 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20673   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20674     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20675   echo $ECHO_N "(cached) $ECHO_C" >&6
20676 else
20677
20678
20679
20680       ac_ext=cc
20681 ac_cpp='$CXXCPP $CPPFLAGS'
20682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20685
20686       cat >conftest.$ac_ext <<_ACEOF
20687 /* confdefs.h.  */
20688 _ACEOF
20689 cat confdefs.h >>conftest.$ac_ext
20690 cat >>conftest.$ac_ext <<_ACEOF
20691 /* end confdefs.h.  */
20692 #include <math.h>
20693                       #ifdef HAVE_IEEEFP_H
20694                       #include <ieeefp.h>
20695                       #endif
20696
20697 int
20698 main ()
20699 {
20700  fpclass(0);
20701   ;
20702   return 0;
20703 }
20704 _ACEOF
20705 rm -f conftest.$ac_objext
20706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20707   (eval $ac_compile) 2>conftest.er1
20708   ac_status=$?
20709   grep -v '^ *+' conftest.er1 >conftest.err
20710   rm -f conftest.er1
20711   cat conftest.err >&5
20712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20713   (exit $ac_status); } &&
20714          { ac_try='test -z "$ac_cxx_werror_flag"
20715                          || test ! -s conftest.err'
20716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20717   (eval $ac_try) 2>&5
20718   ac_status=$?
20719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720   (exit $ac_status); }; } &&
20721          { ac_try='test -s conftest.$ac_objext'
20722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20723   (eval $ac_try) 2>&5
20724   ac_status=$?
20725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20726   (exit $ac_status); }; }; then
20727   glibcxx_cv_func_fpclass_use=yes
20728 else
20729   echo "$as_me: failed program was:" >&5
20730 sed 's/^/| /' conftest.$ac_ext >&5
20731
20732 glibcxx_cv_func_fpclass_use=no
20733 fi
20734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20735       ac_ext=c
20736 ac_cpp='$CPP $CPPFLAGS'
20737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20740
20741
20742 fi
20743
20744   fi
20745   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20746 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20747
20748   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20749
20750 for ac_func in fpclass
20751 do
20752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20753 echo "$as_me:$LINENO: checking for $ac_func" >&5
20754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20755 if eval "test \"\${$as_ac_var+set}\" = set"; then
20756   echo $ECHO_N "(cached) $ECHO_C" >&6
20757 else
20758   if test x$gcc_no_link = xyes; then
20759   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20761    { (exit 1); exit 1; }; }
20762 fi
20763 cat >conftest.$ac_ext <<_ACEOF
20764 /* confdefs.h.  */
20765 _ACEOF
20766 cat confdefs.h >>conftest.$ac_ext
20767 cat >>conftest.$ac_ext <<_ACEOF
20768 /* end confdefs.h.  */
20769 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20770    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20771 #define $ac_func innocuous_$ac_func
20772
20773 /* System header to define __stub macros and hopefully few prototypes,
20774     which can conflict with char $ac_func (); below.
20775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20776     <limits.h> exists even on freestanding compilers.  */
20777
20778 #ifdef __STDC__
20779 # include <limits.h>
20780 #else
20781 # include <assert.h>
20782 #endif
20783
20784 #undef $ac_func
20785
20786 /* Override any gcc2 internal prototype to avoid an error.  */
20787 #ifdef __cplusplus
20788 extern "C"
20789 {
20790 #endif
20791 /* We use char because int might match the return type of a gcc2
20792    builtin and then its argument prototype would still apply.  */
20793 char $ac_func ();
20794 /* The GNU C library defines this for functions which it implements
20795     to always fail with ENOSYS.  Some functions are actually named
20796     something starting with __ and the normal name is an alias.  */
20797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20798 choke me
20799 #else
20800 char (*f) () = $ac_func;
20801 #endif
20802 #ifdef __cplusplus
20803 }
20804 #endif
20805
20806 int
20807 main ()
20808 {
20809 return f != $ac_func;
20810   ;
20811   return 0;
20812 }
20813 _ACEOF
20814 rm -f conftest.$ac_objext conftest$ac_exeext
20815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20816   (eval $ac_link) 2>conftest.er1
20817   ac_status=$?
20818   grep -v '^ *+' conftest.er1 >conftest.err
20819   rm -f conftest.er1
20820   cat conftest.err >&5
20821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822   (exit $ac_status); } &&
20823          { ac_try='test -z "$ac_c_werror_flag"
20824                          || test ! -s conftest.err'
20825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20826   (eval $ac_try) 2>&5
20827   ac_status=$?
20828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20829   (exit $ac_status); }; } &&
20830          { ac_try='test -s conftest$ac_exeext'
20831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20832   (eval $ac_try) 2>&5
20833   ac_status=$?
20834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20835   (exit $ac_status); }; }; then
20836   eval "$as_ac_var=yes"
20837 else
20838   echo "$as_me: failed program was:" >&5
20839 sed 's/^/| /' conftest.$ac_ext >&5
20840
20841 eval "$as_ac_var=no"
20842 fi
20843 rm -f conftest.err conftest.$ac_objext \
20844       conftest$ac_exeext conftest.$ac_ext
20845 fi
20846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20847 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20848 if test `eval echo '${'$as_ac_var'}'` = yes; then
20849   cat >>confdefs.h <<_ACEOF
20850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20851 _ACEOF
20852
20853 fi
20854 done
20855
20856   else
20857
20858   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20859 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20860   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20861     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20862   echo $ECHO_N "(cached) $ECHO_C" >&6
20863 else
20864
20865
20866
20867       ac_ext=cc
20868 ac_cpp='$CXXCPP $CPPFLAGS'
20869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20872
20873       cat >conftest.$ac_ext <<_ACEOF
20874 /* confdefs.h.  */
20875 _ACEOF
20876 cat confdefs.h >>conftest.$ac_ext
20877 cat >>conftest.$ac_ext <<_ACEOF
20878 /* end confdefs.h.  */
20879 #include <math.h>
20880                       #ifdef HAVE_IEEEFP_H
20881                       #include <ieeefp.h>
20882                       #endif
20883
20884 int
20885 main ()
20886 {
20887  _fpclass(0);
20888   ;
20889   return 0;
20890 }
20891 _ACEOF
20892 rm -f conftest.$ac_objext
20893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20894   (eval $ac_compile) 2>conftest.er1
20895   ac_status=$?
20896   grep -v '^ *+' conftest.er1 >conftest.err
20897   rm -f conftest.er1
20898   cat conftest.err >&5
20899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900   (exit $ac_status); } &&
20901          { ac_try='test -z "$ac_cxx_werror_flag"
20902                          || test ! -s conftest.err'
20903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20904   (eval $ac_try) 2>&5
20905   ac_status=$?
20906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907   (exit $ac_status); }; } &&
20908          { ac_try='test -s conftest.$ac_objext'
20909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20910   (eval $ac_try) 2>&5
20911   ac_status=$?
20912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913   (exit $ac_status); }; }; then
20914   glibcxx_cv_func__fpclass_use=yes
20915 else
20916   echo "$as_me: failed program was:" >&5
20917 sed 's/^/| /' conftest.$ac_ext >&5
20918
20919 glibcxx_cv_func__fpclass_use=no
20920 fi
20921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20922       ac_ext=c
20923 ac_cpp='$CPP $CPPFLAGS'
20924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20927
20928
20929 fi
20930
20931   fi
20932   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20933 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20934
20935     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20936
20937 for ac_func in _fpclass
20938 do
20939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20940 echo "$as_me:$LINENO: checking for $ac_func" >&5
20941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20942 if eval "test \"\${$as_ac_var+set}\" = set"; then
20943   echo $ECHO_N "(cached) $ECHO_C" >&6
20944 else
20945   if test x$gcc_no_link = xyes; then
20946   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20948    { (exit 1); exit 1; }; }
20949 fi
20950 cat >conftest.$ac_ext <<_ACEOF
20951 /* confdefs.h.  */
20952 _ACEOF
20953 cat confdefs.h >>conftest.$ac_ext
20954 cat >>conftest.$ac_ext <<_ACEOF
20955 /* end confdefs.h.  */
20956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20957    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20958 #define $ac_func innocuous_$ac_func
20959
20960 /* System header to define __stub macros and hopefully few prototypes,
20961     which can conflict with char $ac_func (); below.
20962     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20963     <limits.h> exists even on freestanding compilers.  */
20964
20965 #ifdef __STDC__
20966 # include <limits.h>
20967 #else
20968 # include <assert.h>
20969 #endif
20970
20971 #undef $ac_func
20972
20973 /* Override any gcc2 internal prototype to avoid an error.  */
20974 #ifdef __cplusplus
20975 extern "C"
20976 {
20977 #endif
20978 /* We use char because int might match the return type of a gcc2
20979    builtin and then its argument prototype would still apply.  */
20980 char $ac_func ();
20981 /* The GNU C library defines this for functions which it implements
20982     to always fail with ENOSYS.  Some functions are actually named
20983     something starting with __ and the normal name is an alias.  */
20984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20985 choke me
20986 #else
20987 char (*f) () = $ac_func;
20988 #endif
20989 #ifdef __cplusplus
20990 }
20991 #endif
20992
20993 int
20994 main ()
20995 {
20996 return f != $ac_func;
20997   ;
20998   return 0;
20999 }
21000 _ACEOF
21001 rm -f conftest.$ac_objext conftest$ac_exeext
21002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21003   (eval $ac_link) 2>conftest.er1
21004   ac_status=$?
21005   grep -v '^ *+' conftest.er1 >conftest.err
21006   rm -f conftest.er1
21007   cat conftest.err >&5
21008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21009   (exit $ac_status); } &&
21010          { ac_try='test -z "$ac_c_werror_flag"
21011                          || test ! -s conftest.err'
21012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21013   (eval $ac_try) 2>&5
21014   ac_status=$?
21015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016   (exit $ac_status); }; } &&
21017          { ac_try='test -s conftest$ac_exeext'
21018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21019   (eval $ac_try) 2>&5
21020   ac_status=$?
21021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022   (exit $ac_status); }; }; then
21023   eval "$as_ac_var=yes"
21024 else
21025   echo "$as_me: failed program was:" >&5
21026 sed 's/^/| /' conftest.$ac_ext >&5
21027
21028 eval "$as_ac_var=no"
21029 fi
21030 rm -f conftest.err conftest.$ac_objext \
21031       conftest$ac_exeext conftest.$ac_ext
21032 fi
21033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21035 if test `eval echo '${'$as_ac_var'}'` = yes; then
21036   cat >>confdefs.h <<_ACEOF
21037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21038 _ACEOF
21039
21040 fi
21041 done
21042
21043     fi
21044   fi
21045
21046
21047
21048
21049
21050
21051   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
21052 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
21053   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21054     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
21055   echo $ECHO_N "(cached) $ECHO_C" >&6
21056 else
21057
21058
21059
21060       ac_ext=cc
21061 ac_cpp='$CXXCPP $CPPFLAGS'
21062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21065
21066       cat >conftest.$ac_ext <<_ACEOF
21067 /* confdefs.h.  */
21068 _ACEOF
21069 cat confdefs.h >>conftest.$ac_ext
21070 cat >>conftest.$ac_ext <<_ACEOF
21071 /* end confdefs.h.  */
21072 #include <math.h>
21073                       #ifdef HAVE_IEEEFP_H
21074                       #include <ieeefp.h>
21075                       #endif
21076
21077 int
21078 main ()
21079 {
21080  qfpclass(0);
21081   ;
21082   return 0;
21083 }
21084 _ACEOF
21085 rm -f conftest.$ac_objext
21086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21087   (eval $ac_compile) 2>conftest.er1
21088   ac_status=$?
21089   grep -v '^ *+' conftest.er1 >conftest.err
21090   rm -f conftest.er1
21091   cat conftest.err >&5
21092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093   (exit $ac_status); } &&
21094          { ac_try='test -z "$ac_cxx_werror_flag"
21095                          || test ! -s conftest.err'
21096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21097   (eval $ac_try) 2>&5
21098   ac_status=$?
21099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100   (exit $ac_status); }; } &&
21101          { ac_try='test -s conftest.$ac_objext'
21102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21103   (eval $ac_try) 2>&5
21104   ac_status=$?
21105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106   (exit $ac_status); }; }; then
21107   glibcxx_cv_func_qfpclass_use=yes
21108 else
21109   echo "$as_me: failed program was:" >&5
21110 sed 's/^/| /' conftest.$ac_ext >&5
21111
21112 glibcxx_cv_func_qfpclass_use=no
21113 fi
21114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21115       ac_ext=c
21116 ac_cpp='$CPP $CPPFLAGS'
21117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21120
21121
21122 fi
21123
21124   fi
21125   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
21126 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
21127
21128   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21129
21130 for ac_func in qfpclass
21131 do
21132 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21133 echo "$as_me:$LINENO: checking for $ac_func" >&5
21134 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21135 if eval "test \"\${$as_ac_var+set}\" = set"; then
21136   echo $ECHO_N "(cached) $ECHO_C" >&6
21137 else
21138   if test x$gcc_no_link = xyes; then
21139   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21141    { (exit 1); exit 1; }; }
21142 fi
21143 cat >conftest.$ac_ext <<_ACEOF
21144 /* confdefs.h.  */
21145 _ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h.  */
21149 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21150    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21151 #define $ac_func innocuous_$ac_func
21152
21153 /* System header to define __stub macros and hopefully few prototypes,
21154     which can conflict with char $ac_func (); below.
21155     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21156     <limits.h> exists even on freestanding compilers.  */
21157
21158 #ifdef __STDC__
21159 # include <limits.h>
21160 #else
21161 # include <assert.h>
21162 #endif
21163
21164 #undef $ac_func
21165
21166 /* Override any gcc2 internal prototype to avoid an error.  */
21167 #ifdef __cplusplus
21168 extern "C"
21169 {
21170 #endif
21171 /* We use char because int might match the return type of a gcc2
21172    builtin and then its argument prototype would still apply.  */
21173 char $ac_func ();
21174 /* The GNU C library defines this for functions which it implements
21175     to always fail with ENOSYS.  Some functions are actually named
21176     something starting with __ and the normal name is an alias.  */
21177 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21178 choke me
21179 #else
21180 char (*f) () = $ac_func;
21181 #endif
21182 #ifdef __cplusplus
21183 }
21184 #endif
21185
21186 int
21187 main ()
21188 {
21189 return f != $ac_func;
21190   ;
21191   return 0;
21192 }
21193 _ACEOF
21194 rm -f conftest.$ac_objext conftest$ac_exeext
21195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21196   (eval $ac_link) 2>conftest.er1
21197   ac_status=$?
21198   grep -v '^ *+' conftest.er1 >conftest.err
21199   rm -f conftest.er1
21200   cat conftest.err >&5
21201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202   (exit $ac_status); } &&
21203          { ac_try='test -z "$ac_c_werror_flag"
21204                          || test ! -s conftest.err'
21205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21206   (eval $ac_try) 2>&5
21207   ac_status=$?
21208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209   (exit $ac_status); }; } &&
21210          { ac_try='test -s conftest$ac_exeext'
21211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21212   (eval $ac_try) 2>&5
21213   ac_status=$?
21214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215   (exit $ac_status); }; }; then
21216   eval "$as_ac_var=yes"
21217 else
21218   echo "$as_me: failed program was:" >&5
21219 sed 's/^/| /' conftest.$ac_ext >&5
21220
21221 eval "$as_ac_var=no"
21222 fi
21223 rm -f conftest.err conftest.$ac_objext \
21224       conftest$ac_exeext conftest.$ac_ext
21225 fi
21226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21227 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21228 if test `eval echo '${'$as_ac_var'}'` = yes; then
21229   cat >>confdefs.h <<_ACEOF
21230 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21231 _ACEOF
21232
21233 fi
21234 done
21235
21236   else
21237
21238   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
21239 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
21240   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21241     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
21242   echo $ECHO_N "(cached) $ECHO_C" >&6
21243 else
21244
21245
21246
21247       ac_ext=cc
21248 ac_cpp='$CXXCPP $CPPFLAGS'
21249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21252
21253       cat >conftest.$ac_ext <<_ACEOF
21254 /* confdefs.h.  */
21255 _ACEOF
21256 cat confdefs.h >>conftest.$ac_ext
21257 cat >>conftest.$ac_ext <<_ACEOF
21258 /* end confdefs.h.  */
21259 #include <math.h>
21260                       #ifdef HAVE_IEEEFP_H
21261                       #include <ieeefp.h>
21262                       #endif
21263
21264 int
21265 main ()
21266 {
21267  _qfpclass(0);
21268   ;
21269   return 0;
21270 }
21271 _ACEOF
21272 rm -f conftest.$ac_objext
21273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21274   (eval $ac_compile) 2>conftest.er1
21275   ac_status=$?
21276   grep -v '^ *+' conftest.er1 >conftest.err
21277   rm -f conftest.er1
21278   cat conftest.err >&5
21279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21280   (exit $ac_status); } &&
21281          { ac_try='test -z "$ac_cxx_werror_flag"
21282                          || test ! -s conftest.err'
21283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21284   (eval $ac_try) 2>&5
21285   ac_status=$?
21286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287   (exit $ac_status); }; } &&
21288          { ac_try='test -s conftest.$ac_objext'
21289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21290   (eval $ac_try) 2>&5
21291   ac_status=$?
21292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293   (exit $ac_status); }; }; then
21294   glibcxx_cv_func__qfpclass_use=yes
21295 else
21296   echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.$ac_ext >&5
21298
21299 glibcxx_cv_func__qfpclass_use=no
21300 fi
21301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21302       ac_ext=c
21303 ac_cpp='$CPP $CPPFLAGS'
21304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21307
21308
21309 fi
21310
21311   fi
21312   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
21313 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
21314
21315     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21316
21317 for ac_func in _qfpclass
21318 do
21319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21320 echo "$as_me:$LINENO: checking for $ac_func" >&5
21321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21322 if eval "test \"\${$as_ac_var+set}\" = set"; then
21323   echo $ECHO_N "(cached) $ECHO_C" >&6
21324 else
21325   if test x$gcc_no_link = xyes; then
21326   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21328    { (exit 1); exit 1; }; }
21329 fi
21330 cat >conftest.$ac_ext <<_ACEOF
21331 /* confdefs.h.  */
21332 _ACEOF
21333 cat confdefs.h >>conftest.$ac_ext
21334 cat >>conftest.$ac_ext <<_ACEOF
21335 /* end confdefs.h.  */
21336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21337    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21338 #define $ac_func innocuous_$ac_func
21339
21340 /* System header to define __stub macros and hopefully few prototypes,
21341     which can conflict with char $ac_func (); below.
21342     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21343     <limits.h> exists even on freestanding compilers.  */
21344
21345 #ifdef __STDC__
21346 # include <limits.h>
21347 #else
21348 # include <assert.h>
21349 #endif
21350
21351 #undef $ac_func
21352
21353 /* Override any gcc2 internal prototype to avoid an error.  */
21354 #ifdef __cplusplus
21355 extern "C"
21356 {
21357 #endif
21358 /* We use char because int might match the return type of a gcc2
21359    builtin and then its argument prototype would still apply.  */
21360 char $ac_func ();
21361 /* The GNU C library defines this for functions which it implements
21362     to always fail with ENOSYS.  Some functions are actually named
21363     something starting with __ and the normal name is an alias.  */
21364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21365 choke me
21366 #else
21367 char (*f) () = $ac_func;
21368 #endif
21369 #ifdef __cplusplus
21370 }
21371 #endif
21372
21373 int
21374 main ()
21375 {
21376 return f != $ac_func;
21377   ;
21378   return 0;
21379 }
21380 _ACEOF
21381 rm -f conftest.$ac_objext conftest$ac_exeext
21382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21383   (eval $ac_link) 2>conftest.er1
21384   ac_status=$?
21385   grep -v '^ *+' conftest.er1 >conftest.err
21386   rm -f conftest.er1
21387   cat conftest.err >&5
21388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21389   (exit $ac_status); } &&
21390          { ac_try='test -z "$ac_c_werror_flag"
21391                          || test ! -s conftest.err'
21392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21393   (eval $ac_try) 2>&5
21394   ac_status=$?
21395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396   (exit $ac_status); }; } &&
21397          { ac_try='test -s conftest$ac_exeext'
21398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21399   (eval $ac_try) 2>&5
21400   ac_status=$?
21401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402   (exit $ac_status); }; }; then
21403   eval "$as_ac_var=yes"
21404 else
21405   echo "$as_me: failed program was:" >&5
21406 sed 's/^/| /' conftest.$ac_ext >&5
21407
21408 eval "$as_ac_var=no"
21409 fi
21410 rm -f conftest.err conftest.$ac_objext \
21411       conftest$ac_exeext conftest.$ac_ext
21412 fi
21413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21415 if test `eval echo '${'$as_ac_var'}'` = yes; then
21416   cat >>confdefs.h <<_ACEOF
21417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21418 _ACEOF
21419
21420 fi
21421 done
21422
21423     fi
21424   fi
21425
21426
21427
21428
21429
21430
21431   echo "$as_me:$LINENO: checking for hypot declaration" >&5
21432 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21433   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21434     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21435   echo $ECHO_N "(cached) $ECHO_C" >&6
21436 else
21437
21438
21439
21440       ac_ext=cc
21441 ac_cpp='$CXXCPP $CPPFLAGS'
21442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21445
21446       cat >conftest.$ac_ext <<_ACEOF
21447 /* confdefs.h.  */
21448 _ACEOF
21449 cat confdefs.h >>conftest.$ac_ext
21450 cat >>conftest.$ac_ext <<_ACEOF
21451 /* end confdefs.h.  */
21452 #include <math.h>
21453 int
21454 main ()
21455 {
21456  hypot(0, 0);
21457   ;
21458   return 0;
21459 }
21460 _ACEOF
21461 rm -f conftest.$ac_objext
21462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21463   (eval $ac_compile) 2>conftest.er1
21464   ac_status=$?
21465   grep -v '^ *+' conftest.er1 >conftest.err
21466   rm -f conftest.er1
21467   cat conftest.err >&5
21468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469   (exit $ac_status); } &&
21470          { ac_try='test -z "$ac_cxx_werror_flag"
21471                          || test ! -s conftest.err'
21472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21473   (eval $ac_try) 2>&5
21474   ac_status=$?
21475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476   (exit $ac_status); }; } &&
21477          { ac_try='test -s conftest.$ac_objext'
21478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21479   (eval $ac_try) 2>&5
21480   ac_status=$?
21481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482   (exit $ac_status); }; }; then
21483   glibcxx_cv_func_hypot_use=yes
21484 else
21485   echo "$as_me: failed program was:" >&5
21486 sed 's/^/| /' conftest.$ac_ext >&5
21487
21488 glibcxx_cv_func_hypot_use=no
21489 fi
21490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21491       ac_ext=c
21492 ac_cpp='$CPP $CPPFLAGS'
21493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21496
21497
21498 fi
21499
21500   fi
21501   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21502 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21503
21504   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21505
21506 for ac_func in hypot
21507 do
21508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21509 echo "$as_me:$LINENO: checking for $ac_func" >&5
21510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21511 if eval "test \"\${$as_ac_var+set}\" = set"; then
21512   echo $ECHO_N "(cached) $ECHO_C" >&6
21513 else
21514   if test x$gcc_no_link = xyes; then
21515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21517    { (exit 1); exit 1; }; }
21518 fi
21519 cat >conftest.$ac_ext <<_ACEOF
21520 /* confdefs.h.  */
21521 _ACEOF
21522 cat confdefs.h >>conftest.$ac_ext
21523 cat >>conftest.$ac_ext <<_ACEOF
21524 /* end confdefs.h.  */
21525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21527 #define $ac_func innocuous_$ac_func
21528
21529 /* System header to define __stub macros and hopefully few prototypes,
21530     which can conflict with char $ac_func (); below.
21531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21532     <limits.h> exists even on freestanding compilers.  */
21533
21534 #ifdef __STDC__
21535 # include <limits.h>
21536 #else
21537 # include <assert.h>
21538 #endif
21539
21540 #undef $ac_func
21541
21542 /* Override any gcc2 internal prototype to avoid an error.  */
21543 #ifdef __cplusplus
21544 extern "C"
21545 {
21546 #endif
21547 /* We use char because int might match the return type of a gcc2
21548    builtin and then its argument prototype would still apply.  */
21549 char $ac_func ();
21550 /* The GNU C library defines this for functions which it implements
21551     to always fail with ENOSYS.  Some functions are actually named
21552     something starting with __ and the normal name is an alias.  */
21553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21554 choke me
21555 #else
21556 char (*f) () = $ac_func;
21557 #endif
21558 #ifdef __cplusplus
21559 }
21560 #endif
21561
21562 int
21563 main ()
21564 {
21565 return f != $ac_func;
21566   ;
21567   return 0;
21568 }
21569 _ACEOF
21570 rm -f conftest.$ac_objext conftest$ac_exeext
21571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21572   (eval $ac_link) 2>conftest.er1
21573   ac_status=$?
21574   grep -v '^ *+' conftest.er1 >conftest.err
21575   rm -f conftest.er1
21576   cat conftest.err >&5
21577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21578   (exit $ac_status); } &&
21579          { ac_try='test -z "$ac_c_werror_flag"
21580                          || test ! -s conftest.err'
21581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21582   (eval $ac_try) 2>&5
21583   ac_status=$?
21584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585   (exit $ac_status); }; } &&
21586          { ac_try='test -s conftest$ac_exeext'
21587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21588   (eval $ac_try) 2>&5
21589   ac_status=$?
21590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591   (exit $ac_status); }; }; then
21592   eval "$as_ac_var=yes"
21593 else
21594   echo "$as_me: failed program was:" >&5
21595 sed 's/^/| /' conftest.$ac_ext >&5
21596
21597 eval "$as_ac_var=no"
21598 fi
21599 rm -f conftest.err conftest.$ac_objext \
21600       conftest$ac_exeext conftest.$ac_ext
21601 fi
21602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21604 if test `eval echo '${'$as_ac_var'}'` = yes; then
21605   cat >>confdefs.h <<_ACEOF
21606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21607 _ACEOF
21608
21609 fi
21610 done
21611
21612   else
21613
21614   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21615 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21616   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21617     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21618   echo $ECHO_N "(cached) $ECHO_C" >&6
21619 else
21620
21621
21622
21623       ac_ext=cc
21624 ac_cpp='$CXXCPP $CPPFLAGS'
21625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21628
21629       cat >conftest.$ac_ext <<_ACEOF
21630 /* confdefs.h.  */
21631 _ACEOF
21632 cat confdefs.h >>conftest.$ac_ext
21633 cat >>conftest.$ac_ext <<_ACEOF
21634 /* end confdefs.h.  */
21635 #include <math.h>
21636 int
21637 main ()
21638 {
21639  _hypot(0, 0);
21640   ;
21641   return 0;
21642 }
21643 _ACEOF
21644 rm -f conftest.$ac_objext
21645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21646   (eval $ac_compile) 2>conftest.er1
21647   ac_status=$?
21648   grep -v '^ *+' conftest.er1 >conftest.err
21649   rm -f conftest.er1
21650   cat conftest.err >&5
21651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652   (exit $ac_status); } &&
21653          { ac_try='test -z "$ac_cxx_werror_flag"
21654                          || test ! -s conftest.err'
21655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21656   (eval $ac_try) 2>&5
21657   ac_status=$?
21658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21659   (exit $ac_status); }; } &&
21660          { ac_try='test -s conftest.$ac_objext'
21661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21662   (eval $ac_try) 2>&5
21663   ac_status=$?
21664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21665   (exit $ac_status); }; }; then
21666   glibcxx_cv_func__hypot_use=yes
21667 else
21668   echo "$as_me: failed program was:" >&5
21669 sed 's/^/| /' conftest.$ac_ext >&5
21670
21671 glibcxx_cv_func__hypot_use=no
21672 fi
21673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21674       ac_ext=c
21675 ac_cpp='$CPP $CPPFLAGS'
21676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21679
21680
21681 fi
21682
21683   fi
21684   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21685 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21686
21687     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21688
21689 for ac_func in _hypot
21690 do
21691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21692 echo "$as_me:$LINENO: checking for $ac_func" >&5
21693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21694 if eval "test \"\${$as_ac_var+set}\" = set"; then
21695   echo $ECHO_N "(cached) $ECHO_C" >&6
21696 else
21697   if test x$gcc_no_link = xyes; then
21698   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21700    { (exit 1); exit 1; }; }
21701 fi
21702 cat >conftest.$ac_ext <<_ACEOF
21703 /* confdefs.h.  */
21704 _ACEOF
21705 cat confdefs.h >>conftest.$ac_ext
21706 cat >>conftest.$ac_ext <<_ACEOF
21707 /* end confdefs.h.  */
21708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21709    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21710 #define $ac_func innocuous_$ac_func
21711
21712 /* System header to define __stub macros and hopefully few prototypes,
21713     which can conflict with char $ac_func (); below.
21714     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21715     <limits.h> exists even on freestanding compilers.  */
21716
21717 #ifdef __STDC__
21718 # include <limits.h>
21719 #else
21720 # include <assert.h>
21721 #endif
21722
21723 #undef $ac_func
21724
21725 /* Override any gcc2 internal prototype to avoid an error.  */
21726 #ifdef __cplusplus
21727 extern "C"
21728 {
21729 #endif
21730 /* We use char because int might match the return type of a gcc2
21731    builtin and then its argument prototype would still apply.  */
21732 char $ac_func ();
21733 /* The GNU C library defines this for functions which it implements
21734     to always fail with ENOSYS.  Some functions are actually named
21735     something starting with __ and the normal name is an alias.  */
21736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21737 choke me
21738 #else
21739 char (*f) () = $ac_func;
21740 #endif
21741 #ifdef __cplusplus
21742 }
21743 #endif
21744
21745 int
21746 main ()
21747 {
21748 return f != $ac_func;
21749   ;
21750   return 0;
21751 }
21752 _ACEOF
21753 rm -f conftest.$ac_objext conftest$ac_exeext
21754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21755   (eval $ac_link) 2>conftest.er1
21756   ac_status=$?
21757   grep -v '^ *+' conftest.er1 >conftest.err
21758   rm -f conftest.er1
21759   cat conftest.err >&5
21760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21761   (exit $ac_status); } &&
21762          { ac_try='test -z "$ac_c_werror_flag"
21763                          || test ! -s conftest.err'
21764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21765   (eval $ac_try) 2>&5
21766   ac_status=$?
21767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21768   (exit $ac_status); }; } &&
21769          { ac_try='test -s conftest$ac_exeext'
21770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21771   (eval $ac_try) 2>&5
21772   ac_status=$?
21773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774   (exit $ac_status); }; }; then
21775   eval "$as_ac_var=yes"
21776 else
21777   echo "$as_me: failed program was:" >&5
21778 sed 's/^/| /' conftest.$ac_ext >&5
21779
21780 eval "$as_ac_var=no"
21781 fi
21782 rm -f conftest.err conftest.$ac_objext \
21783       conftest$ac_exeext conftest.$ac_ext
21784 fi
21785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21787 if test `eval echo '${'$as_ac_var'}'` = yes; then
21788   cat >>confdefs.h <<_ACEOF
21789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21790 _ACEOF
21791
21792 fi
21793 done
21794
21795     fi
21796   fi
21797
21798
21799
21800
21801
21802
21803     echo "$as_me:$LINENO: checking for float trig functions" >&5
21804 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21805   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21806   echo $ECHO_N "(cached) $ECHO_C" >&6
21807 else
21808
21809
21810
21811     ac_ext=cc
21812 ac_cpp='$CXXCPP $CPPFLAGS'
21813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21816
21817     cat >conftest.$ac_ext <<_ACEOF
21818 /* confdefs.h.  */
21819 _ACEOF
21820 cat confdefs.h >>conftest.$ac_ext
21821 cat >>conftest.$ac_ext <<_ACEOF
21822 /* end confdefs.h.  */
21823 #include <math.h>
21824 int
21825 main ()
21826 {
21827 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21828   ;
21829   return 0;
21830 }
21831 _ACEOF
21832 rm -f conftest.$ac_objext
21833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21834   (eval $ac_compile) 2>conftest.er1
21835   ac_status=$?
21836   grep -v '^ *+' conftest.er1 >conftest.err
21837   rm -f conftest.er1
21838   cat conftest.err >&5
21839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840   (exit $ac_status); } &&
21841          { ac_try='test -z "$ac_cxx_werror_flag"
21842                          || test ! -s conftest.err'
21843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21844   (eval $ac_try) 2>&5
21845   ac_status=$?
21846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21847   (exit $ac_status); }; } &&
21848          { ac_try='test -s conftest.$ac_objext'
21849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21850   (eval $ac_try) 2>&5
21851   ac_status=$?
21852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21853   (exit $ac_status); }; }; then
21854   glibcxx_cv_func_float_trig_use=yes
21855 else
21856   echo "$as_me: failed program was:" >&5
21857 sed 's/^/| /' conftest.$ac_ext >&5
21858
21859 glibcxx_cv_func_float_trig_use=no
21860 fi
21861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21862     ac_ext=c
21863 ac_cpp='$CPP $CPPFLAGS'
21864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21867
21868 fi
21869
21870   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21871 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21872   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21883 do
21884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21885 echo "$as_me:$LINENO: checking for $ac_func" >&5
21886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21887 if eval "test \"\${$as_ac_var+set}\" = set"; then
21888   echo $ECHO_N "(cached) $ECHO_C" >&6
21889 else
21890   if test x$gcc_no_link = xyes; then
21891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21893    { (exit 1); exit 1; }; }
21894 fi
21895 cat >conftest.$ac_ext <<_ACEOF
21896 /* confdefs.h.  */
21897 _ACEOF
21898 cat confdefs.h >>conftest.$ac_ext
21899 cat >>conftest.$ac_ext <<_ACEOF
21900 /* end confdefs.h.  */
21901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21902    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21903 #define $ac_func innocuous_$ac_func
21904
21905 /* System header to define __stub macros and hopefully few prototypes,
21906     which can conflict with char $ac_func (); below.
21907     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21908     <limits.h> exists even on freestanding compilers.  */
21909
21910 #ifdef __STDC__
21911 # include <limits.h>
21912 #else
21913 # include <assert.h>
21914 #endif
21915
21916 #undef $ac_func
21917
21918 /* Override any gcc2 internal prototype to avoid an error.  */
21919 #ifdef __cplusplus
21920 extern "C"
21921 {
21922 #endif
21923 /* We use char because int might match the return type of a gcc2
21924    builtin and then its argument prototype would still apply.  */
21925 char $ac_func ();
21926 /* The GNU C library defines this for functions which it implements
21927     to always fail with ENOSYS.  Some functions are actually named
21928     something starting with __ and the normal name is an alias.  */
21929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21930 choke me
21931 #else
21932 char (*f) () = $ac_func;
21933 #endif
21934 #ifdef __cplusplus
21935 }
21936 #endif
21937
21938 int
21939 main ()
21940 {
21941 return f != $ac_func;
21942   ;
21943   return 0;
21944 }
21945 _ACEOF
21946 rm -f conftest.$ac_objext conftest$ac_exeext
21947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21948   (eval $ac_link) 2>conftest.er1
21949   ac_status=$?
21950   grep -v '^ *+' conftest.er1 >conftest.err
21951   rm -f conftest.er1
21952   cat conftest.err >&5
21953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21954   (exit $ac_status); } &&
21955          { ac_try='test -z "$ac_c_werror_flag"
21956                          || test ! -s conftest.err'
21957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21958   (eval $ac_try) 2>&5
21959   ac_status=$?
21960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21961   (exit $ac_status); }; } &&
21962          { ac_try='test -s conftest$ac_exeext'
21963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21964   (eval $ac_try) 2>&5
21965   ac_status=$?
21966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967   (exit $ac_status); }; }; then
21968   eval "$as_ac_var=yes"
21969 else
21970   echo "$as_me: failed program was:" >&5
21971 sed 's/^/| /' conftest.$ac_ext >&5
21972
21973 eval "$as_ac_var=no"
21974 fi
21975 rm -f conftest.err conftest.$ac_objext \
21976       conftest$ac_exeext conftest.$ac_ext
21977 fi
21978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21980 if test `eval echo '${'$as_ac_var'}'` = yes; then
21981   cat >>confdefs.h <<_ACEOF
21982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21983 _ACEOF
21984
21985 fi
21986 done
21987
21988   else
21989     echo "$as_me:$LINENO: checking for _float trig functions" >&5
21990 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21991     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21992   echo $ECHO_N "(cached) $ECHO_C" >&6
21993 else
21994
21995
21996
21997       ac_ext=cc
21998 ac_cpp='$CXXCPP $CPPFLAGS'
21999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22002
22003       cat >conftest.$ac_ext <<_ACEOF
22004 /* confdefs.h.  */
22005 _ACEOF
22006 cat confdefs.h >>conftest.$ac_ext
22007 cat >>conftest.$ac_ext <<_ACEOF
22008 /* end confdefs.h.  */
22009 #include <math.h>
22010 int
22011 main ()
22012 {
22013 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22014   ;
22015   return 0;
22016 }
22017 _ACEOF
22018 rm -f conftest.$ac_objext
22019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22020   (eval $ac_compile) 2>conftest.er1
22021   ac_status=$?
22022   grep -v '^ *+' conftest.er1 >conftest.err
22023   rm -f conftest.er1
22024   cat conftest.err >&5
22025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026   (exit $ac_status); } &&
22027          { ac_try='test -z "$ac_cxx_werror_flag"
22028                          || test ! -s conftest.err'
22029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22030   (eval $ac_try) 2>&5
22031   ac_status=$?
22032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033   (exit $ac_status); }; } &&
22034          { ac_try='test -s conftest.$ac_objext'
22035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22036   (eval $ac_try) 2>&5
22037   ac_status=$?
22038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039   (exit $ac_status); }; }; then
22040   glibcxx_cv_func__float_trig_use=yes
22041 else
22042   echo "$as_me: failed program was:" >&5
22043 sed 's/^/| /' conftest.$ac_ext >&5
22044
22045 glibcxx_cv_func__float_trig_use=no
22046 fi
22047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22048       ac_ext=c
22049 ac_cpp='$CPP $CPPFLAGS'
22050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22053
22054 fi
22055
22056     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
22057 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
22058     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22069 do
22070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22071 echo "$as_me:$LINENO: checking for $ac_func" >&5
22072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22073 if eval "test \"\${$as_ac_var+set}\" = set"; then
22074   echo $ECHO_N "(cached) $ECHO_C" >&6
22075 else
22076   if test x$gcc_no_link = xyes; then
22077   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22079    { (exit 1); exit 1; }; }
22080 fi
22081 cat >conftest.$ac_ext <<_ACEOF
22082 /* confdefs.h.  */
22083 _ACEOF
22084 cat confdefs.h >>conftest.$ac_ext
22085 cat >>conftest.$ac_ext <<_ACEOF
22086 /* end confdefs.h.  */
22087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22088    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22089 #define $ac_func innocuous_$ac_func
22090
22091 /* System header to define __stub macros and hopefully few prototypes,
22092     which can conflict with char $ac_func (); below.
22093     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22094     <limits.h> exists even on freestanding compilers.  */
22095
22096 #ifdef __STDC__
22097 # include <limits.h>
22098 #else
22099 # include <assert.h>
22100 #endif
22101
22102 #undef $ac_func
22103
22104 /* Override any gcc2 internal prototype to avoid an error.  */
22105 #ifdef __cplusplus
22106 extern "C"
22107 {
22108 #endif
22109 /* We use char because int might match the return type of a gcc2
22110    builtin and then its argument prototype would still apply.  */
22111 char $ac_func ();
22112 /* The GNU C library defines this for functions which it implements
22113     to always fail with ENOSYS.  Some functions are actually named
22114     something starting with __ and the normal name is an alias.  */
22115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22116 choke me
22117 #else
22118 char (*f) () = $ac_func;
22119 #endif
22120 #ifdef __cplusplus
22121 }
22122 #endif
22123
22124 int
22125 main ()
22126 {
22127 return f != $ac_func;
22128   ;
22129   return 0;
22130 }
22131 _ACEOF
22132 rm -f conftest.$ac_objext conftest$ac_exeext
22133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22134   (eval $ac_link) 2>conftest.er1
22135   ac_status=$?
22136   grep -v '^ *+' conftest.er1 >conftest.err
22137   rm -f conftest.er1
22138   cat conftest.err >&5
22139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22140   (exit $ac_status); } &&
22141          { ac_try='test -z "$ac_c_werror_flag"
22142                          || test ! -s conftest.err'
22143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22144   (eval $ac_try) 2>&5
22145   ac_status=$?
22146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147   (exit $ac_status); }; } &&
22148          { ac_try='test -s conftest$ac_exeext'
22149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22150   (eval $ac_try) 2>&5
22151   ac_status=$?
22152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153   (exit $ac_status); }; }; then
22154   eval "$as_ac_var=yes"
22155 else
22156   echo "$as_me: failed program was:" >&5
22157 sed 's/^/| /' conftest.$ac_ext >&5
22158
22159 eval "$as_ac_var=no"
22160 fi
22161 rm -f conftest.err conftest.$ac_objext \
22162       conftest$ac_exeext conftest.$ac_ext
22163 fi
22164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22166 if test `eval echo '${'$as_ac_var'}'` = yes; then
22167   cat >>confdefs.h <<_ACEOF
22168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22169 _ACEOF
22170
22171 fi
22172 done
22173
22174     fi
22175   fi
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190     echo "$as_me:$LINENO: checking for float round functions" >&5
22191 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
22192   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
22193   echo $ECHO_N "(cached) $ECHO_C" >&6
22194 else
22195
22196
22197
22198     ac_ext=cc
22199 ac_cpp='$CXXCPP $CPPFLAGS'
22200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22203
22204     cat >conftest.$ac_ext <<_ACEOF
22205 /* confdefs.h.  */
22206 _ACEOF
22207 cat confdefs.h >>conftest.$ac_ext
22208 cat >>conftest.$ac_ext <<_ACEOF
22209 /* end confdefs.h.  */
22210 #include <math.h>
22211 int
22212 main ()
22213 {
22214 ceilf (0); floorf (0);
22215   ;
22216   return 0;
22217 }
22218 _ACEOF
22219 rm -f conftest.$ac_objext
22220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22221   (eval $ac_compile) 2>conftest.er1
22222   ac_status=$?
22223   grep -v '^ *+' conftest.er1 >conftest.err
22224   rm -f conftest.er1
22225   cat conftest.err >&5
22226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227   (exit $ac_status); } &&
22228          { ac_try='test -z "$ac_cxx_werror_flag"
22229                          || test ! -s conftest.err'
22230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22231   (eval $ac_try) 2>&5
22232   ac_status=$?
22233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22234   (exit $ac_status); }; } &&
22235          { ac_try='test -s conftest.$ac_objext'
22236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22237   (eval $ac_try) 2>&5
22238   ac_status=$?
22239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240   (exit $ac_status); }; }; then
22241   glibcxx_cv_func_float_round_use=yes
22242 else
22243   echo "$as_me: failed program was:" >&5
22244 sed 's/^/| /' conftest.$ac_ext >&5
22245
22246 glibcxx_cv_func_float_round_use=no
22247 fi
22248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22249     ac_ext=c
22250 ac_cpp='$CPP $CPPFLAGS'
22251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22254
22255 fi
22256
22257   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
22258 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
22259   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22260
22261
22262 for ac_func in ceilf floorf
22263 do
22264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22265 echo "$as_me:$LINENO: checking for $ac_func" >&5
22266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22267 if eval "test \"\${$as_ac_var+set}\" = set"; then
22268   echo $ECHO_N "(cached) $ECHO_C" >&6
22269 else
22270   if test x$gcc_no_link = xyes; then
22271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22273    { (exit 1); exit 1; }; }
22274 fi
22275 cat >conftest.$ac_ext <<_ACEOF
22276 /* confdefs.h.  */
22277 _ACEOF
22278 cat confdefs.h >>conftest.$ac_ext
22279 cat >>conftest.$ac_ext <<_ACEOF
22280 /* end confdefs.h.  */
22281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22282    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22283 #define $ac_func innocuous_$ac_func
22284
22285 /* System header to define __stub macros and hopefully few prototypes,
22286     which can conflict with char $ac_func (); below.
22287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22288     <limits.h> exists even on freestanding compilers.  */
22289
22290 #ifdef __STDC__
22291 # include <limits.h>
22292 #else
22293 # include <assert.h>
22294 #endif
22295
22296 #undef $ac_func
22297
22298 /* Override any gcc2 internal prototype to avoid an error.  */
22299 #ifdef __cplusplus
22300 extern "C"
22301 {
22302 #endif
22303 /* We use char because int might match the return type of a gcc2
22304    builtin and then its argument prototype would still apply.  */
22305 char $ac_func ();
22306 /* The GNU C library defines this for functions which it implements
22307     to always fail with ENOSYS.  Some functions are actually named
22308     something starting with __ and the normal name is an alias.  */
22309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22310 choke me
22311 #else
22312 char (*f) () = $ac_func;
22313 #endif
22314 #ifdef __cplusplus
22315 }
22316 #endif
22317
22318 int
22319 main ()
22320 {
22321 return f != $ac_func;
22322   ;
22323   return 0;
22324 }
22325 _ACEOF
22326 rm -f conftest.$ac_objext conftest$ac_exeext
22327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22328   (eval $ac_link) 2>conftest.er1
22329   ac_status=$?
22330   grep -v '^ *+' conftest.er1 >conftest.err
22331   rm -f conftest.er1
22332   cat conftest.err >&5
22333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334   (exit $ac_status); } &&
22335          { ac_try='test -z "$ac_c_werror_flag"
22336                          || test ! -s conftest.err'
22337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22338   (eval $ac_try) 2>&5
22339   ac_status=$?
22340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341   (exit $ac_status); }; } &&
22342          { ac_try='test -s conftest$ac_exeext'
22343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22344   (eval $ac_try) 2>&5
22345   ac_status=$?
22346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347   (exit $ac_status); }; }; then
22348   eval "$as_ac_var=yes"
22349 else
22350   echo "$as_me: failed program was:" >&5
22351 sed 's/^/| /' conftest.$ac_ext >&5
22352
22353 eval "$as_ac_var=no"
22354 fi
22355 rm -f conftest.err conftest.$ac_objext \
22356       conftest$ac_exeext conftest.$ac_ext
22357 fi
22358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22360 if test `eval echo '${'$as_ac_var'}'` = yes; then
22361   cat >>confdefs.h <<_ACEOF
22362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22363 _ACEOF
22364
22365 fi
22366 done
22367
22368   else
22369     echo "$as_me:$LINENO: checking for _float round functions" >&5
22370 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
22371     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22372   echo $ECHO_N "(cached) $ECHO_C" >&6
22373 else
22374
22375
22376
22377       ac_ext=cc
22378 ac_cpp='$CXXCPP $CPPFLAGS'
22379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22382
22383       cat >conftest.$ac_ext <<_ACEOF
22384 /* confdefs.h.  */
22385 _ACEOF
22386 cat confdefs.h >>conftest.$ac_ext
22387 cat >>conftest.$ac_ext <<_ACEOF
22388 /* end confdefs.h.  */
22389 #include <math.h>
22390 int
22391 main ()
22392 {
22393 _ceilf (0); _floorf (0);
22394   ;
22395   return 0;
22396 }
22397 _ACEOF
22398 rm -f conftest.$ac_objext
22399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22400   (eval $ac_compile) 2>conftest.er1
22401   ac_status=$?
22402   grep -v '^ *+' conftest.er1 >conftest.err
22403   rm -f conftest.er1
22404   cat conftest.err >&5
22405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22406   (exit $ac_status); } &&
22407          { ac_try='test -z "$ac_cxx_werror_flag"
22408                          || test ! -s conftest.err'
22409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22410   (eval $ac_try) 2>&5
22411   ac_status=$?
22412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413   (exit $ac_status); }; } &&
22414          { ac_try='test -s conftest.$ac_objext'
22415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22416   (eval $ac_try) 2>&5
22417   ac_status=$?
22418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419   (exit $ac_status); }; }; then
22420   glibcxx_cv_func__float_round_use=yes
22421 else
22422   echo "$as_me: failed program was:" >&5
22423 sed 's/^/| /' conftest.$ac_ext >&5
22424
22425 glibcxx_cv_func__float_round_use=no
22426 fi
22427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22428       ac_ext=c
22429 ac_cpp='$CPP $CPPFLAGS'
22430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22433
22434 fi
22435
22436     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22437 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22438     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22439
22440
22441 for ac_func in _ceilf _floorf
22442 do
22443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22444 echo "$as_me:$LINENO: checking for $ac_func" >&5
22445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22446 if eval "test \"\${$as_ac_var+set}\" = set"; then
22447   echo $ECHO_N "(cached) $ECHO_C" >&6
22448 else
22449   if test x$gcc_no_link = xyes; then
22450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22452    { (exit 1); exit 1; }; }
22453 fi
22454 cat >conftest.$ac_ext <<_ACEOF
22455 /* confdefs.h.  */
22456 _ACEOF
22457 cat confdefs.h >>conftest.$ac_ext
22458 cat >>conftest.$ac_ext <<_ACEOF
22459 /* end confdefs.h.  */
22460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22461    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22462 #define $ac_func innocuous_$ac_func
22463
22464 /* System header to define __stub macros and hopefully few prototypes,
22465     which can conflict with char $ac_func (); below.
22466     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22467     <limits.h> exists even on freestanding compilers.  */
22468
22469 #ifdef __STDC__
22470 # include <limits.h>
22471 #else
22472 # include <assert.h>
22473 #endif
22474
22475 #undef $ac_func
22476
22477 /* Override any gcc2 internal prototype to avoid an error.  */
22478 #ifdef __cplusplus
22479 extern "C"
22480 {
22481 #endif
22482 /* We use char because int might match the return type of a gcc2
22483    builtin and then its argument prototype would still apply.  */
22484 char $ac_func ();
22485 /* The GNU C library defines this for functions which it implements
22486     to always fail with ENOSYS.  Some functions are actually named
22487     something starting with __ and the normal name is an alias.  */
22488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22489 choke me
22490 #else
22491 char (*f) () = $ac_func;
22492 #endif
22493 #ifdef __cplusplus
22494 }
22495 #endif
22496
22497 int
22498 main ()
22499 {
22500 return f != $ac_func;
22501   ;
22502   return 0;
22503 }
22504 _ACEOF
22505 rm -f conftest.$ac_objext conftest$ac_exeext
22506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22507   (eval $ac_link) 2>conftest.er1
22508   ac_status=$?
22509   grep -v '^ *+' conftest.er1 >conftest.err
22510   rm -f conftest.er1
22511   cat conftest.err >&5
22512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513   (exit $ac_status); } &&
22514          { ac_try='test -z "$ac_c_werror_flag"
22515                          || test ! -s conftest.err'
22516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22517   (eval $ac_try) 2>&5
22518   ac_status=$?
22519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22520   (exit $ac_status); }; } &&
22521          { ac_try='test -s conftest$ac_exeext'
22522   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22523   (eval $ac_try) 2>&5
22524   ac_status=$?
22525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22526   (exit $ac_status); }; }; then
22527   eval "$as_ac_var=yes"
22528 else
22529   echo "$as_me: failed program was:" >&5
22530 sed 's/^/| /' conftest.$ac_ext >&5
22531
22532 eval "$as_ac_var=no"
22533 fi
22534 rm -f conftest.err conftest.$ac_objext \
22535       conftest$ac_exeext conftest.$ac_ext
22536 fi
22537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22539 if test `eval echo '${'$as_ac_var'}'` = yes; then
22540   cat >>confdefs.h <<_ACEOF
22541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22542 _ACEOF
22543
22544 fi
22545 done
22546
22547     fi
22548   fi
22549
22550
22551
22552
22553
22554
22555
22556
22557   echo "$as_me:$LINENO: checking for expf declaration" >&5
22558 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22559   if test x${glibcxx_cv_func_expf_use+set} != xset; then
22560     if test "${glibcxx_cv_func_expf_use+set}" = set; then
22561   echo $ECHO_N "(cached) $ECHO_C" >&6
22562 else
22563
22564
22565
22566       ac_ext=cc
22567 ac_cpp='$CXXCPP $CPPFLAGS'
22568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22571
22572       cat >conftest.$ac_ext <<_ACEOF
22573 /* confdefs.h.  */
22574 _ACEOF
22575 cat confdefs.h >>conftest.$ac_ext
22576 cat >>conftest.$ac_ext <<_ACEOF
22577 /* end confdefs.h.  */
22578 #include <math.h>
22579                       #ifdef HAVE_IEEEFP_H
22580                       #include <ieeefp.h>
22581                       #endif
22582
22583 int
22584 main ()
22585 {
22586  expf(0);
22587   ;
22588   return 0;
22589 }
22590 _ACEOF
22591 rm -f conftest.$ac_objext
22592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22593   (eval $ac_compile) 2>conftest.er1
22594   ac_status=$?
22595   grep -v '^ *+' conftest.er1 >conftest.err
22596   rm -f conftest.er1
22597   cat conftest.err >&5
22598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599   (exit $ac_status); } &&
22600          { ac_try='test -z "$ac_cxx_werror_flag"
22601                          || test ! -s conftest.err'
22602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22603   (eval $ac_try) 2>&5
22604   ac_status=$?
22605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606   (exit $ac_status); }; } &&
22607          { ac_try='test -s conftest.$ac_objext'
22608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22609   (eval $ac_try) 2>&5
22610   ac_status=$?
22611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22612   (exit $ac_status); }; }; then
22613   glibcxx_cv_func_expf_use=yes
22614 else
22615   echo "$as_me: failed program was:" >&5
22616 sed 's/^/| /' conftest.$ac_ext >&5
22617
22618 glibcxx_cv_func_expf_use=no
22619 fi
22620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22621       ac_ext=c
22622 ac_cpp='$CPP $CPPFLAGS'
22623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22626
22627
22628 fi
22629
22630   fi
22631   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22632 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22633
22634   if test x$glibcxx_cv_func_expf_use = x"yes"; then
22635
22636 for ac_func in expf
22637 do
22638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22639 echo "$as_me:$LINENO: checking for $ac_func" >&5
22640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22641 if eval "test \"\${$as_ac_var+set}\" = set"; then
22642   echo $ECHO_N "(cached) $ECHO_C" >&6
22643 else
22644   if test x$gcc_no_link = xyes; then
22645   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22646 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22647    { (exit 1); exit 1; }; }
22648 fi
22649 cat >conftest.$ac_ext <<_ACEOF
22650 /* confdefs.h.  */
22651 _ACEOF
22652 cat confdefs.h >>conftest.$ac_ext
22653 cat >>conftest.$ac_ext <<_ACEOF
22654 /* end confdefs.h.  */
22655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22656    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22657 #define $ac_func innocuous_$ac_func
22658
22659 /* System header to define __stub macros and hopefully few prototypes,
22660     which can conflict with char $ac_func (); below.
22661     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22662     <limits.h> exists even on freestanding compilers.  */
22663
22664 #ifdef __STDC__
22665 # include <limits.h>
22666 #else
22667 # include <assert.h>
22668 #endif
22669
22670 #undef $ac_func
22671
22672 /* Override any gcc2 internal prototype to avoid an error.  */
22673 #ifdef __cplusplus
22674 extern "C"
22675 {
22676 #endif
22677 /* We use char because int might match the return type of a gcc2
22678    builtin and then its argument prototype would still apply.  */
22679 char $ac_func ();
22680 /* The GNU C library defines this for functions which it implements
22681     to always fail with ENOSYS.  Some functions are actually named
22682     something starting with __ and the normal name is an alias.  */
22683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22684 choke me
22685 #else
22686 char (*f) () = $ac_func;
22687 #endif
22688 #ifdef __cplusplus
22689 }
22690 #endif
22691
22692 int
22693 main ()
22694 {
22695 return f != $ac_func;
22696   ;
22697   return 0;
22698 }
22699 _ACEOF
22700 rm -f conftest.$ac_objext conftest$ac_exeext
22701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22702   (eval $ac_link) 2>conftest.er1
22703   ac_status=$?
22704   grep -v '^ *+' conftest.er1 >conftest.err
22705   rm -f conftest.er1
22706   cat conftest.err >&5
22707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22708   (exit $ac_status); } &&
22709          { ac_try='test -z "$ac_c_werror_flag"
22710                          || test ! -s conftest.err'
22711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22712   (eval $ac_try) 2>&5
22713   ac_status=$?
22714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715   (exit $ac_status); }; } &&
22716          { ac_try='test -s conftest$ac_exeext'
22717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22718   (eval $ac_try) 2>&5
22719   ac_status=$?
22720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721   (exit $ac_status); }; }; then
22722   eval "$as_ac_var=yes"
22723 else
22724   echo "$as_me: failed program was:" >&5
22725 sed 's/^/| /' conftest.$ac_ext >&5
22726
22727 eval "$as_ac_var=no"
22728 fi
22729 rm -f conftest.err conftest.$ac_objext \
22730       conftest$ac_exeext conftest.$ac_ext
22731 fi
22732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22733 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22734 if test `eval echo '${'$as_ac_var'}'` = yes; then
22735   cat >>confdefs.h <<_ACEOF
22736 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22737 _ACEOF
22738
22739 fi
22740 done
22741
22742   else
22743
22744   echo "$as_me:$LINENO: checking for _expf declaration" >&5
22745 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22746   if test x${glibcxx_cv_func__expf_use+set} != xset; then
22747     if test "${glibcxx_cv_func__expf_use+set}" = set; then
22748   echo $ECHO_N "(cached) $ECHO_C" >&6
22749 else
22750
22751
22752
22753       ac_ext=cc
22754 ac_cpp='$CXXCPP $CPPFLAGS'
22755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22758
22759       cat >conftest.$ac_ext <<_ACEOF
22760 /* confdefs.h.  */
22761 _ACEOF
22762 cat confdefs.h >>conftest.$ac_ext
22763 cat >>conftest.$ac_ext <<_ACEOF
22764 /* end confdefs.h.  */
22765 #include <math.h>
22766                       #ifdef HAVE_IEEEFP_H
22767                       #include <ieeefp.h>
22768                       #endif
22769
22770 int
22771 main ()
22772 {
22773  _expf(0);
22774   ;
22775   return 0;
22776 }
22777 _ACEOF
22778 rm -f conftest.$ac_objext
22779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22780   (eval $ac_compile) 2>conftest.er1
22781   ac_status=$?
22782   grep -v '^ *+' conftest.er1 >conftest.err
22783   rm -f conftest.er1
22784   cat conftest.err >&5
22785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22786   (exit $ac_status); } &&
22787          { ac_try='test -z "$ac_cxx_werror_flag"
22788                          || test ! -s conftest.err'
22789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22790   (eval $ac_try) 2>&5
22791   ac_status=$?
22792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793   (exit $ac_status); }; } &&
22794          { ac_try='test -s conftest.$ac_objext'
22795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22796   (eval $ac_try) 2>&5
22797   ac_status=$?
22798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799   (exit $ac_status); }; }; then
22800   glibcxx_cv_func__expf_use=yes
22801 else
22802   echo "$as_me: failed program was:" >&5
22803 sed 's/^/| /' conftest.$ac_ext >&5
22804
22805 glibcxx_cv_func__expf_use=no
22806 fi
22807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22808       ac_ext=c
22809 ac_cpp='$CPP $CPPFLAGS'
22810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22813
22814
22815 fi
22816
22817   fi
22818   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22819 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22820
22821     if test x$glibcxx_cv_func__expf_use = x"yes"; then
22822
22823 for ac_func in _expf
22824 do
22825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22826 echo "$as_me:$LINENO: checking for $ac_func" >&5
22827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22828 if eval "test \"\${$as_ac_var+set}\" = set"; then
22829   echo $ECHO_N "(cached) $ECHO_C" >&6
22830 else
22831   if test x$gcc_no_link = xyes; then
22832   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22834    { (exit 1); exit 1; }; }
22835 fi
22836 cat >conftest.$ac_ext <<_ACEOF
22837 /* confdefs.h.  */
22838 _ACEOF
22839 cat confdefs.h >>conftest.$ac_ext
22840 cat >>conftest.$ac_ext <<_ACEOF
22841 /* end confdefs.h.  */
22842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22843    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22844 #define $ac_func innocuous_$ac_func
22845
22846 /* System header to define __stub macros and hopefully few prototypes,
22847     which can conflict with char $ac_func (); below.
22848     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22849     <limits.h> exists even on freestanding compilers.  */
22850
22851 #ifdef __STDC__
22852 # include <limits.h>
22853 #else
22854 # include <assert.h>
22855 #endif
22856
22857 #undef $ac_func
22858
22859 /* Override any gcc2 internal prototype to avoid an error.  */
22860 #ifdef __cplusplus
22861 extern "C"
22862 {
22863 #endif
22864 /* We use char because int might match the return type of a gcc2
22865    builtin and then its argument prototype would still apply.  */
22866 char $ac_func ();
22867 /* The GNU C library defines this for functions which it implements
22868     to always fail with ENOSYS.  Some functions are actually named
22869     something starting with __ and the normal name is an alias.  */
22870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22871 choke me
22872 #else
22873 char (*f) () = $ac_func;
22874 #endif
22875 #ifdef __cplusplus
22876 }
22877 #endif
22878
22879 int
22880 main ()
22881 {
22882 return f != $ac_func;
22883   ;
22884   return 0;
22885 }
22886 _ACEOF
22887 rm -f conftest.$ac_objext conftest$ac_exeext
22888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22889   (eval $ac_link) 2>conftest.er1
22890   ac_status=$?
22891   grep -v '^ *+' conftest.er1 >conftest.err
22892   rm -f conftest.er1
22893   cat conftest.err >&5
22894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22895   (exit $ac_status); } &&
22896          { ac_try='test -z "$ac_c_werror_flag"
22897                          || test ! -s conftest.err'
22898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22899   (eval $ac_try) 2>&5
22900   ac_status=$?
22901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902   (exit $ac_status); }; } &&
22903          { ac_try='test -s conftest$ac_exeext'
22904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22905   (eval $ac_try) 2>&5
22906   ac_status=$?
22907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22908   (exit $ac_status); }; }; then
22909   eval "$as_ac_var=yes"
22910 else
22911   echo "$as_me: failed program was:" >&5
22912 sed 's/^/| /' conftest.$ac_ext >&5
22913
22914 eval "$as_ac_var=no"
22915 fi
22916 rm -f conftest.err conftest.$ac_objext \
22917       conftest$ac_exeext conftest.$ac_ext
22918 fi
22919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22921 if test `eval echo '${'$as_ac_var'}'` = yes; then
22922   cat >>confdefs.h <<_ACEOF
22923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22924 _ACEOF
22925
22926 fi
22927 done
22928
22929     fi
22930   fi
22931
22932
22933
22934
22935
22936
22937   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22938 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22939   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22940     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22941   echo $ECHO_N "(cached) $ECHO_C" >&6
22942 else
22943
22944
22945
22946       ac_ext=cc
22947 ac_cpp='$CXXCPP $CPPFLAGS'
22948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22951
22952       cat >conftest.$ac_ext <<_ACEOF
22953 /* confdefs.h.  */
22954 _ACEOF
22955 cat confdefs.h >>conftest.$ac_ext
22956 cat >>conftest.$ac_ext <<_ACEOF
22957 /* end confdefs.h.  */
22958 #include <math.h>
22959                       #ifdef HAVE_IEEEFP_H
22960                       #include <ieeefp.h>
22961                       #endif
22962
22963 int
22964 main ()
22965 {
22966  isnanf(0);
22967   ;
22968   return 0;
22969 }
22970 _ACEOF
22971 rm -f conftest.$ac_objext
22972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22973   (eval $ac_compile) 2>conftest.er1
22974   ac_status=$?
22975   grep -v '^ *+' conftest.er1 >conftest.err
22976   rm -f conftest.er1
22977   cat conftest.err >&5
22978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979   (exit $ac_status); } &&
22980          { ac_try='test -z "$ac_cxx_werror_flag"
22981                          || test ! -s conftest.err'
22982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22983   (eval $ac_try) 2>&5
22984   ac_status=$?
22985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22986   (exit $ac_status); }; } &&
22987          { ac_try='test -s conftest.$ac_objext'
22988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22989   (eval $ac_try) 2>&5
22990   ac_status=$?
22991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992   (exit $ac_status); }; }; then
22993   glibcxx_cv_func_isnanf_use=yes
22994 else
22995   echo "$as_me: failed program was:" >&5
22996 sed 's/^/| /' conftest.$ac_ext >&5
22997
22998 glibcxx_cv_func_isnanf_use=no
22999 fi
23000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23001       ac_ext=c
23002 ac_cpp='$CPP $CPPFLAGS'
23003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23006
23007
23008 fi
23009
23010   fi
23011   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
23012 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
23013
23014   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23015
23016 for ac_func in isnanf
23017 do
23018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23019 echo "$as_me:$LINENO: checking for $ac_func" >&5
23020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23021 if eval "test \"\${$as_ac_var+set}\" = set"; then
23022   echo $ECHO_N "(cached) $ECHO_C" >&6
23023 else
23024   if test x$gcc_no_link = xyes; then
23025   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23027    { (exit 1); exit 1; }; }
23028 fi
23029 cat >conftest.$ac_ext <<_ACEOF
23030 /* confdefs.h.  */
23031 _ACEOF
23032 cat confdefs.h >>conftest.$ac_ext
23033 cat >>conftest.$ac_ext <<_ACEOF
23034 /* end confdefs.h.  */
23035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23036    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23037 #define $ac_func innocuous_$ac_func
23038
23039 /* System header to define __stub macros and hopefully few prototypes,
23040     which can conflict with char $ac_func (); below.
23041     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23042     <limits.h> exists even on freestanding compilers.  */
23043
23044 #ifdef __STDC__
23045 # include <limits.h>
23046 #else
23047 # include <assert.h>
23048 #endif
23049
23050 #undef $ac_func
23051
23052 /* Override any gcc2 internal prototype to avoid an error.  */
23053 #ifdef __cplusplus
23054 extern "C"
23055 {
23056 #endif
23057 /* We use char because int might match the return type of a gcc2
23058    builtin and then its argument prototype would still apply.  */
23059 char $ac_func ();
23060 /* The GNU C library defines this for functions which it implements
23061     to always fail with ENOSYS.  Some functions are actually named
23062     something starting with __ and the normal name is an alias.  */
23063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23064 choke me
23065 #else
23066 char (*f) () = $ac_func;
23067 #endif
23068 #ifdef __cplusplus
23069 }
23070 #endif
23071
23072 int
23073 main ()
23074 {
23075 return f != $ac_func;
23076   ;
23077   return 0;
23078 }
23079 _ACEOF
23080 rm -f conftest.$ac_objext conftest$ac_exeext
23081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23082   (eval $ac_link) 2>conftest.er1
23083   ac_status=$?
23084   grep -v '^ *+' conftest.er1 >conftest.err
23085   rm -f conftest.er1
23086   cat conftest.err >&5
23087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23088   (exit $ac_status); } &&
23089          { ac_try='test -z "$ac_c_werror_flag"
23090                          || test ! -s conftest.err'
23091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23092   (eval $ac_try) 2>&5
23093   ac_status=$?
23094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23095   (exit $ac_status); }; } &&
23096          { ac_try='test -s conftest$ac_exeext'
23097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23098   (eval $ac_try) 2>&5
23099   ac_status=$?
23100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23101   (exit $ac_status); }; }; then
23102   eval "$as_ac_var=yes"
23103 else
23104   echo "$as_me: failed program was:" >&5
23105 sed 's/^/| /' conftest.$ac_ext >&5
23106
23107 eval "$as_ac_var=no"
23108 fi
23109 rm -f conftest.err conftest.$ac_objext \
23110       conftest$ac_exeext conftest.$ac_ext
23111 fi
23112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23114 if test `eval echo '${'$as_ac_var'}'` = yes; then
23115   cat >>confdefs.h <<_ACEOF
23116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23117 _ACEOF
23118
23119 fi
23120 done
23121
23122   else
23123
23124   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
23125 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
23126   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23127     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
23128   echo $ECHO_N "(cached) $ECHO_C" >&6
23129 else
23130
23131
23132
23133       ac_ext=cc
23134 ac_cpp='$CXXCPP $CPPFLAGS'
23135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23138
23139       cat >conftest.$ac_ext <<_ACEOF
23140 /* confdefs.h.  */
23141 _ACEOF
23142 cat confdefs.h >>conftest.$ac_ext
23143 cat >>conftest.$ac_ext <<_ACEOF
23144 /* end confdefs.h.  */
23145 #include <math.h>
23146                       #ifdef HAVE_IEEEFP_H
23147                       #include <ieeefp.h>
23148                       #endif
23149
23150 int
23151 main ()
23152 {
23153  _isnanf(0);
23154   ;
23155   return 0;
23156 }
23157 _ACEOF
23158 rm -f conftest.$ac_objext
23159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23160   (eval $ac_compile) 2>conftest.er1
23161   ac_status=$?
23162   grep -v '^ *+' conftest.er1 >conftest.err
23163   rm -f conftest.er1
23164   cat conftest.err >&5
23165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23166   (exit $ac_status); } &&
23167          { ac_try='test -z "$ac_cxx_werror_flag"
23168                          || test ! -s conftest.err'
23169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23170   (eval $ac_try) 2>&5
23171   ac_status=$?
23172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23173   (exit $ac_status); }; } &&
23174          { ac_try='test -s conftest.$ac_objext'
23175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23176   (eval $ac_try) 2>&5
23177   ac_status=$?
23178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23179   (exit $ac_status); }; }; then
23180   glibcxx_cv_func__isnanf_use=yes
23181 else
23182   echo "$as_me: failed program was:" >&5
23183 sed 's/^/| /' conftest.$ac_ext >&5
23184
23185 glibcxx_cv_func__isnanf_use=no
23186 fi
23187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23188       ac_ext=c
23189 ac_cpp='$CPP $CPPFLAGS'
23190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23193
23194
23195 fi
23196
23197   fi
23198   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
23199 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
23200
23201     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23202
23203 for ac_func in _isnanf
23204 do
23205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23206 echo "$as_me:$LINENO: checking for $ac_func" >&5
23207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23208 if eval "test \"\${$as_ac_var+set}\" = set"; then
23209   echo $ECHO_N "(cached) $ECHO_C" >&6
23210 else
23211   if test x$gcc_no_link = xyes; then
23212   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23214    { (exit 1); exit 1; }; }
23215 fi
23216 cat >conftest.$ac_ext <<_ACEOF
23217 /* confdefs.h.  */
23218 _ACEOF
23219 cat confdefs.h >>conftest.$ac_ext
23220 cat >>conftest.$ac_ext <<_ACEOF
23221 /* end confdefs.h.  */
23222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23223    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23224 #define $ac_func innocuous_$ac_func
23225
23226 /* System header to define __stub macros and hopefully few prototypes,
23227     which can conflict with char $ac_func (); below.
23228     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23229     <limits.h> exists even on freestanding compilers.  */
23230
23231 #ifdef __STDC__
23232 # include <limits.h>
23233 #else
23234 # include <assert.h>
23235 #endif
23236
23237 #undef $ac_func
23238
23239 /* Override any gcc2 internal prototype to avoid an error.  */
23240 #ifdef __cplusplus
23241 extern "C"
23242 {
23243 #endif
23244 /* We use char because int might match the return type of a gcc2
23245    builtin and then its argument prototype would still apply.  */
23246 char $ac_func ();
23247 /* The GNU C library defines this for functions which it implements
23248     to always fail with ENOSYS.  Some functions are actually named
23249     something starting with __ and the normal name is an alias.  */
23250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23251 choke me
23252 #else
23253 char (*f) () = $ac_func;
23254 #endif
23255 #ifdef __cplusplus
23256 }
23257 #endif
23258
23259 int
23260 main ()
23261 {
23262 return f != $ac_func;
23263   ;
23264   return 0;
23265 }
23266 _ACEOF
23267 rm -f conftest.$ac_objext conftest$ac_exeext
23268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23269   (eval $ac_link) 2>conftest.er1
23270   ac_status=$?
23271   grep -v '^ *+' conftest.er1 >conftest.err
23272   rm -f conftest.er1
23273   cat conftest.err >&5
23274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275   (exit $ac_status); } &&
23276          { ac_try='test -z "$ac_c_werror_flag"
23277                          || test ! -s conftest.err'
23278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23279   (eval $ac_try) 2>&5
23280   ac_status=$?
23281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282   (exit $ac_status); }; } &&
23283          { ac_try='test -s conftest$ac_exeext'
23284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23285   (eval $ac_try) 2>&5
23286   ac_status=$?
23287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288   (exit $ac_status); }; }; then
23289   eval "$as_ac_var=yes"
23290 else
23291   echo "$as_me: failed program was:" >&5
23292 sed 's/^/| /' conftest.$ac_ext >&5
23293
23294 eval "$as_ac_var=no"
23295 fi
23296 rm -f conftest.err conftest.$ac_objext \
23297       conftest$ac_exeext conftest.$ac_ext
23298 fi
23299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23301 if test `eval echo '${'$as_ac_var'}'` = yes; then
23302   cat >>confdefs.h <<_ACEOF
23303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23304 _ACEOF
23305
23306 fi
23307 done
23308
23309     fi
23310   fi
23311
23312
23313
23314
23315
23316
23317   echo "$as_me:$LINENO: checking for isinff declaration" >&5
23318 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
23319   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23320     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
23321   echo $ECHO_N "(cached) $ECHO_C" >&6
23322 else
23323
23324
23325
23326       ac_ext=cc
23327 ac_cpp='$CXXCPP $CPPFLAGS'
23328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23331
23332       cat >conftest.$ac_ext <<_ACEOF
23333 /* confdefs.h.  */
23334 _ACEOF
23335 cat confdefs.h >>conftest.$ac_ext
23336 cat >>conftest.$ac_ext <<_ACEOF
23337 /* end confdefs.h.  */
23338 #include <math.h>
23339                       #ifdef HAVE_IEEEFP_H
23340                       #include <ieeefp.h>
23341                       #endif
23342
23343 int
23344 main ()
23345 {
23346  isinff(0);
23347   ;
23348   return 0;
23349 }
23350 _ACEOF
23351 rm -f conftest.$ac_objext
23352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23353   (eval $ac_compile) 2>conftest.er1
23354   ac_status=$?
23355   grep -v '^ *+' conftest.er1 >conftest.err
23356   rm -f conftest.er1
23357   cat conftest.err >&5
23358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23359   (exit $ac_status); } &&
23360          { ac_try='test -z "$ac_cxx_werror_flag"
23361                          || test ! -s conftest.err'
23362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23363   (eval $ac_try) 2>&5
23364   ac_status=$?
23365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23366   (exit $ac_status); }; } &&
23367          { ac_try='test -s conftest.$ac_objext'
23368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23369   (eval $ac_try) 2>&5
23370   ac_status=$?
23371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23372   (exit $ac_status); }; }; then
23373   glibcxx_cv_func_isinff_use=yes
23374 else
23375   echo "$as_me: failed program was:" >&5
23376 sed 's/^/| /' conftest.$ac_ext >&5
23377
23378 glibcxx_cv_func_isinff_use=no
23379 fi
23380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23381       ac_ext=c
23382 ac_cpp='$CPP $CPPFLAGS'
23383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23386
23387
23388 fi
23389
23390   fi
23391   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23392 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23393
23394   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23395
23396 for ac_func in isinff
23397 do
23398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23399 echo "$as_me:$LINENO: checking for $ac_func" >&5
23400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23401 if eval "test \"\${$as_ac_var+set}\" = set"; then
23402   echo $ECHO_N "(cached) $ECHO_C" >&6
23403 else
23404   if test x$gcc_no_link = xyes; then
23405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23407    { (exit 1); exit 1; }; }
23408 fi
23409 cat >conftest.$ac_ext <<_ACEOF
23410 /* confdefs.h.  */
23411 _ACEOF
23412 cat confdefs.h >>conftest.$ac_ext
23413 cat >>conftest.$ac_ext <<_ACEOF
23414 /* end confdefs.h.  */
23415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23416    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23417 #define $ac_func innocuous_$ac_func
23418
23419 /* System header to define __stub macros and hopefully few prototypes,
23420     which can conflict with char $ac_func (); below.
23421     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23422     <limits.h> exists even on freestanding compilers.  */
23423
23424 #ifdef __STDC__
23425 # include <limits.h>
23426 #else
23427 # include <assert.h>
23428 #endif
23429
23430 #undef $ac_func
23431
23432 /* Override any gcc2 internal prototype to avoid an error.  */
23433 #ifdef __cplusplus
23434 extern "C"
23435 {
23436 #endif
23437 /* We use char because int might match the return type of a gcc2
23438    builtin and then its argument prototype would still apply.  */
23439 char $ac_func ();
23440 /* The GNU C library defines this for functions which it implements
23441     to always fail with ENOSYS.  Some functions are actually named
23442     something starting with __ and the normal name is an alias.  */
23443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23444 choke me
23445 #else
23446 char (*f) () = $ac_func;
23447 #endif
23448 #ifdef __cplusplus
23449 }
23450 #endif
23451
23452 int
23453 main ()
23454 {
23455 return f != $ac_func;
23456   ;
23457   return 0;
23458 }
23459 _ACEOF
23460 rm -f conftest.$ac_objext conftest$ac_exeext
23461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23462   (eval $ac_link) 2>conftest.er1
23463   ac_status=$?
23464   grep -v '^ *+' conftest.er1 >conftest.err
23465   rm -f conftest.er1
23466   cat conftest.err >&5
23467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23468   (exit $ac_status); } &&
23469          { ac_try='test -z "$ac_c_werror_flag"
23470                          || test ! -s conftest.err'
23471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23472   (eval $ac_try) 2>&5
23473   ac_status=$?
23474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475   (exit $ac_status); }; } &&
23476          { ac_try='test -s conftest$ac_exeext'
23477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23478   (eval $ac_try) 2>&5
23479   ac_status=$?
23480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481   (exit $ac_status); }; }; then
23482   eval "$as_ac_var=yes"
23483 else
23484   echo "$as_me: failed program was:" >&5
23485 sed 's/^/| /' conftest.$ac_ext >&5
23486
23487 eval "$as_ac_var=no"
23488 fi
23489 rm -f conftest.err conftest.$ac_objext \
23490       conftest$ac_exeext conftest.$ac_ext
23491 fi
23492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23494 if test `eval echo '${'$as_ac_var'}'` = yes; then
23495   cat >>confdefs.h <<_ACEOF
23496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23497 _ACEOF
23498
23499 fi
23500 done
23501
23502   else
23503
23504   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23505 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23506   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23507     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23508   echo $ECHO_N "(cached) $ECHO_C" >&6
23509 else
23510
23511
23512
23513       ac_ext=cc
23514 ac_cpp='$CXXCPP $CPPFLAGS'
23515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23518
23519       cat >conftest.$ac_ext <<_ACEOF
23520 /* confdefs.h.  */
23521 _ACEOF
23522 cat confdefs.h >>conftest.$ac_ext
23523 cat >>conftest.$ac_ext <<_ACEOF
23524 /* end confdefs.h.  */
23525 #include <math.h>
23526                       #ifdef HAVE_IEEEFP_H
23527                       #include <ieeefp.h>
23528                       #endif
23529
23530 int
23531 main ()
23532 {
23533  _isinff(0);
23534   ;
23535   return 0;
23536 }
23537 _ACEOF
23538 rm -f conftest.$ac_objext
23539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23540   (eval $ac_compile) 2>conftest.er1
23541   ac_status=$?
23542   grep -v '^ *+' conftest.er1 >conftest.err
23543   rm -f conftest.er1
23544   cat conftest.err >&5
23545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23546   (exit $ac_status); } &&
23547          { ac_try='test -z "$ac_cxx_werror_flag"
23548                          || test ! -s conftest.err'
23549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23550   (eval $ac_try) 2>&5
23551   ac_status=$?
23552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553   (exit $ac_status); }; } &&
23554          { ac_try='test -s conftest.$ac_objext'
23555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23556   (eval $ac_try) 2>&5
23557   ac_status=$?
23558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559   (exit $ac_status); }; }; then
23560   glibcxx_cv_func__isinff_use=yes
23561 else
23562   echo "$as_me: failed program was:" >&5
23563 sed 's/^/| /' conftest.$ac_ext >&5
23564
23565 glibcxx_cv_func__isinff_use=no
23566 fi
23567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23568       ac_ext=c
23569 ac_cpp='$CPP $CPPFLAGS'
23570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23573
23574
23575 fi
23576
23577   fi
23578   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23579 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23580
23581     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23582
23583 for ac_func in _isinff
23584 do
23585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23586 echo "$as_me:$LINENO: checking for $ac_func" >&5
23587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23588 if eval "test \"\${$as_ac_var+set}\" = set"; then
23589   echo $ECHO_N "(cached) $ECHO_C" >&6
23590 else
23591   if test x$gcc_no_link = xyes; then
23592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23594    { (exit 1); exit 1; }; }
23595 fi
23596 cat >conftest.$ac_ext <<_ACEOF
23597 /* confdefs.h.  */
23598 _ACEOF
23599 cat confdefs.h >>conftest.$ac_ext
23600 cat >>conftest.$ac_ext <<_ACEOF
23601 /* end confdefs.h.  */
23602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23603    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23604 #define $ac_func innocuous_$ac_func
23605
23606 /* System header to define __stub macros and hopefully few prototypes,
23607     which can conflict with char $ac_func (); below.
23608     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23609     <limits.h> exists even on freestanding compilers.  */
23610
23611 #ifdef __STDC__
23612 # include <limits.h>
23613 #else
23614 # include <assert.h>
23615 #endif
23616
23617 #undef $ac_func
23618
23619 /* Override any gcc2 internal prototype to avoid an error.  */
23620 #ifdef __cplusplus
23621 extern "C"
23622 {
23623 #endif
23624 /* We use char because int might match the return type of a gcc2
23625    builtin and then its argument prototype would still apply.  */
23626 char $ac_func ();
23627 /* The GNU C library defines this for functions which it implements
23628     to always fail with ENOSYS.  Some functions are actually named
23629     something starting with __ and the normal name is an alias.  */
23630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23631 choke me
23632 #else
23633 char (*f) () = $ac_func;
23634 #endif
23635 #ifdef __cplusplus
23636 }
23637 #endif
23638
23639 int
23640 main ()
23641 {
23642 return f != $ac_func;
23643   ;
23644   return 0;
23645 }
23646 _ACEOF
23647 rm -f conftest.$ac_objext conftest$ac_exeext
23648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23649   (eval $ac_link) 2>conftest.er1
23650   ac_status=$?
23651   grep -v '^ *+' conftest.er1 >conftest.err
23652   rm -f conftest.er1
23653   cat conftest.err >&5
23654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23655   (exit $ac_status); } &&
23656          { ac_try='test -z "$ac_c_werror_flag"
23657                          || test ! -s conftest.err'
23658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23659   (eval $ac_try) 2>&5
23660   ac_status=$?
23661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662   (exit $ac_status); }; } &&
23663          { ac_try='test -s conftest$ac_exeext'
23664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23665   (eval $ac_try) 2>&5
23666   ac_status=$?
23667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23668   (exit $ac_status); }; }; then
23669   eval "$as_ac_var=yes"
23670 else
23671   echo "$as_me: failed program was:" >&5
23672 sed 's/^/| /' conftest.$ac_ext >&5
23673
23674 eval "$as_ac_var=no"
23675 fi
23676 rm -f conftest.err conftest.$ac_objext \
23677       conftest$ac_exeext conftest.$ac_ext
23678 fi
23679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23681 if test `eval echo '${'$as_ac_var'}'` = yes; then
23682   cat >>confdefs.h <<_ACEOF
23683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23684 _ACEOF
23685
23686 fi
23687 done
23688
23689     fi
23690   fi
23691
23692
23693
23694
23695
23696
23697   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23698 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23699   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23700     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23701   echo $ECHO_N "(cached) $ECHO_C" >&6
23702 else
23703
23704
23705
23706       ac_ext=cc
23707 ac_cpp='$CXXCPP $CPPFLAGS'
23708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23711
23712       cat >conftest.$ac_ext <<_ACEOF
23713 /* confdefs.h.  */
23714 _ACEOF
23715 cat confdefs.h >>conftest.$ac_ext
23716 cat >>conftest.$ac_ext <<_ACEOF
23717 /* end confdefs.h.  */
23718 #include <math.h>
23719 int
23720 main ()
23721 {
23722  atan2f(0, 0);
23723   ;
23724   return 0;
23725 }
23726 _ACEOF
23727 rm -f conftest.$ac_objext
23728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23729   (eval $ac_compile) 2>conftest.er1
23730   ac_status=$?
23731   grep -v '^ *+' conftest.er1 >conftest.err
23732   rm -f conftest.er1
23733   cat conftest.err >&5
23734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23735   (exit $ac_status); } &&
23736          { ac_try='test -z "$ac_cxx_werror_flag"
23737                          || test ! -s conftest.err'
23738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23739   (eval $ac_try) 2>&5
23740   ac_status=$?
23741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23742   (exit $ac_status); }; } &&
23743          { ac_try='test -s conftest.$ac_objext'
23744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23745   (eval $ac_try) 2>&5
23746   ac_status=$?
23747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748   (exit $ac_status); }; }; then
23749   glibcxx_cv_func_atan2f_use=yes
23750 else
23751   echo "$as_me: failed program was:" >&5
23752 sed 's/^/| /' conftest.$ac_ext >&5
23753
23754 glibcxx_cv_func_atan2f_use=no
23755 fi
23756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23757       ac_ext=c
23758 ac_cpp='$CPP $CPPFLAGS'
23759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23762
23763
23764 fi
23765
23766   fi
23767   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23768 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23769
23770   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23771
23772 for ac_func in atan2f
23773 do
23774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23775 echo "$as_me:$LINENO: checking for $ac_func" >&5
23776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23777 if eval "test \"\${$as_ac_var+set}\" = set"; then
23778   echo $ECHO_N "(cached) $ECHO_C" >&6
23779 else
23780   if test x$gcc_no_link = xyes; then
23781   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23783    { (exit 1); exit 1; }; }
23784 fi
23785 cat >conftest.$ac_ext <<_ACEOF
23786 /* confdefs.h.  */
23787 _ACEOF
23788 cat confdefs.h >>conftest.$ac_ext
23789 cat >>conftest.$ac_ext <<_ACEOF
23790 /* end confdefs.h.  */
23791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23792    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23793 #define $ac_func innocuous_$ac_func
23794
23795 /* System header to define __stub macros and hopefully few prototypes,
23796     which can conflict with char $ac_func (); below.
23797     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23798     <limits.h> exists even on freestanding compilers.  */
23799
23800 #ifdef __STDC__
23801 # include <limits.h>
23802 #else
23803 # include <assert.h>
23804 #endif
23805
23806 #undef $ac_func
23807
23808 /* Override any gcc2 internal prototype to avoid an error.  */
23809 #ifdef __cplusplus
23810 extern "C"
23811 {
23812 #endif
23813 /* We use char because int might match the return type of a gcc2
23814    builtin and then its argument prototype would still apply.  */
23815 char $ac_func ();
23816 /* The GNU C library defines this for functions which it implements
23817     to always fail with ENOSYS.  Some functions are actually named
23818     something starting with __ and the normal name is an alias.  */
23819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23820 choke me
23821 #else
23822 char (*f) () = $ac_func;
23823 #endif
23824 #ifdef __cplusplus
23825 }
23826 #endif
23827
23828 int
23829 main ()
23830 {
23831 return f != $ac_func;
23832   ;
23833   return 0;
23834 }
23835 _ACEOF
23836 rm -f conftest.$ac_objext conftest$ac_exeext
23837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23838   (eval $ac_link) 2>conftest.er1
23839   ac_status=$?
23840   grep -v '^ *+' conftest.er1 >conftest.err
23841   rm -f conftest.er1
23842   cat conftest.err >&5
23843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844   (exit $ac_status); } &&
23845          { ac_try='test -z "$ac_c_werror_flag"
23846                          || test ! -s conftest.err'
23847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23848   (eval $ac_try) 2>&5
23849   ac_status=$?
23850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851   (exit $ac_status); }; } &&
23852          { ac_try='test -s conftest$ac_exeext'
23853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23854   (eval $ac_try) 2>&5
23855   ac_status=$?
23856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23857   (exit $ac_status); }; }; then
23858   eval "$as_ac_var=yes"
23859 else
23860   echo "$as_me: failed program was:" >&5
23861 sed 's/^/| /' conftest.$ac_ext >&5
23862
23863 eval "$as_ac_var=no"
23864 fi
23865 rm -f conftest.err conftest.$ac_objext \
23866       conftest$ac_exeext conftest.$ac_ext
23867 fi
23868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23870 if test `eval echo '${'$as_ac_var'}'` = yes; then
23871   cat >>confdefs.h <<_ACEOF
23872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23873 _ACEOF
23874
23875 fi
23876 done
23877
23878   else
23879
23880   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23881 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23882   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23883     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23884   echo $ECHO_N "(cached) $ECHO_C" >&6
23885 else
23886
23887
23888
23889       ac_ext=cc
23890 ac_cpp='$CXXCPP $CPPFLAGS'
23891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23894
23895       cat >conftest.$ac_ext <<_ACEOF
23896 /* confdefs.h.  */
23897 _ACEOF
23898 cat confdefs.h >>conftest.$ac_ext
23899 cat >>conftest.$ac_ext <<_ACEOF
23900 /* end confdefs.h.  */
23901 #include <math.h>
23902 int
23903 main ()
23904 {
23905  _atan2f(0, 0);
23906   ;
23907   return 0;
23908 }
23909 _ACEOF
23910 rm -f conftest.$ac_objext
23911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23912   (eval $ac_compile) 2>conftest.er1
23913   ac_status=$?
23914   grep -v '^ *+' conftest.er1 >conftest.err
23915   rm -f conftest.er1
23916   cat conftest.err >&5
23917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23918   (exit $ac_status); } &&
23919          { ac_try='test -z "$ac_cxx_werror_flag"
23920                          || test ! -s conftest.err'
23921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23922   (eval $ac_try) 2>&5
23923   ac_status=$?
23924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23925   (exit $ac_status); }; } &&
23926          { ac_try='test -s conftest.$ac_objext'
23927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23928   (eval $ac_try) 2>&5
23929   ac_status=$?
23930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931   (exit $ac_status); }; }; then
23932   glibcxx_cv_func__atan2f_use=yes
23933 else
23934   echo "$as_me: failed program was:" >&5
23935 sed 's/^/| /' conftest.$ac_ext >&5
23936
23937 glibcxx_cv_func__atan2f_use=no
23938 fi
23939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23940       ac_ext=c
23941 ac_cpp='$CPP $CPPFLAGS'
23942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23945
23946
23947 fi
23948
23949   fi
23950   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23951 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23952
23953     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23954
23955 for ac_func in _atan2f
23956 do
23957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23958 echo "$as_me:$LINENO: checking for $ac_func" >&5
23959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23960 if eval "test \"\${$as_ac_var+set}\" = set"; then
23961   echo $ECHO_N "(cached) $ECHO_C" >&6
23962 else
23963   if test x$gcc_no_link = xyes; then
23964   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23966    { (exit 1); exit 1; }; }
23967 fi
23968 cat >conftest.$ac_ext <<_ACEOF
23969 /* confdefs.h.  */
23970 _ACEOF
23971 cat confdefs.h >>conftest.$ac_ext
23972 cat >>conftest.$ac_ext <<_ACEOF
23973 /* end confdefs.h.  */
23974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23975    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23976 #define $ac_func innocuous_$ac_func
23977
23978 /* System header to define __stub macros and hopefully few prototypes,
23979     which can conflict with char $ac_func (); below.
23980     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23981     <limits.h> exists even on freestanding compilers.  */
23982
23983 #ifdef __STDC__
23984 # include <limits.h>
23985 #else
23986 # include <assert.h>
23987 #endif
23988
23989 #undef $ac_func
23990
23991 /* Override any gcc2 internal prototype to avoid an error.  */
23992 #ifdef __cplusplus
23993 extern "C"
23994 {
23995 #endif
23996 /* We use char because int might match the return type of a gcc2
23997    builtin and then its argument prototype would still apply.  */
23998 char $ac_func ();
23999 /* The GNU C library defines this for functions which it implements
24000     to always fail with ENOSYS.  Some functions are actually named
24001     something starting with __ and the normal name is an alias.  */
24002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24003 choke me
24004 #else
24005 char (*f) () = $ac_func;
24006 #endif
24007 #ifdef __cplusplus
24008 }
24009 #endif
24010
24011 int
24012 main ()
24013 {
24014 return f != $ac_func;
24015   ;
24016   return 0;
24017 }
24018 _ACEOF
24019 rm -f conftest.$ac_objext conftest$ac_exeext
24020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24021   (eval $ac_link) 2>conftest.er1
24022   ac_status=$?
24023   grep -v '^ *+' conftest.er1 >conftest.err
24024   rm -f conftest.er1
24025   cat conftest.err >&5
24026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24027   (exit $ac_status); } &&
24028          { ac_try='test -z "$ac_c_werror_flag"
24029                          || test ! -s conftest.err'
24030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24031   (eval $ac_try) 2>&5
24032   ac_status=$?
24033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24034   (exit $ac_status); }; } &&
24035          { ac_try='test -s conftest$ac_exeext'
24036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24037   (eval $ac_try) 2>&5
24038   ac_status=$?
24039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24040   (exit $ac_status); }; }; then
24041   eval "$as_ac_var=yes"
24042 else
24043   echo "$as_me: failed program was:" >&5
24044 sed 's/^/| /' conftest.$ac_ext >&5
24045
24046 eval "$as_ac_var=no"
24047 fi
24048 rm -f conftest.err conftest.$ac_objext \
24049       conftest$ac_exeext conftest.$ac_ext
24050 fi
24051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24053 if test `eval echo '${'$as_ac_var'}'` = yes; then
24054   cat >>confdefs.h <<_ACEOF
24055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24056 _ACEOF
24057
24058 fi
24059 done
24060
24061     fi
24062   fi
24063
24064
24065
24066
24067
24068
24069   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
24070 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
24071   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24072     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
24073   echo $ECHO_N "(cached) $ECHO_C" >&6
24074 else
24075
24076
24077
24078       ac_ext=cc
24079 ac_cpp='$CXXCPP $CPPFLAGS'
24080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24083
24084       cat >conftest.$ac_ext <<_ACEOF
24085 /* confdefs.h.  */
24086 _ACEOF
24087 cat confdefs.h >>conftest.$ac_ext
24088 cat >>conftest.$ac_ext <<_ACEOF
24089 /* end confdefs.h.  */
24090 #include <math.h>
24091                       #ifdef HAVE_IEEEFP_H
24092                       #include <ieeefp.h>
24093                       #endif
24094
24095 int
24096 main ()
24097 {
24098  fabsf(0);
24099   ;
24100   return 0;
24101 }
24102 _ACEOF
24103 rm -f conftest.$ac_objext
24104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24105   (eval $ac_compile) 2>conftest.er1
24106   ac_status=$?
24107   grep -v '^ *+' conftest.er1 >conftest.err
24108   rm -f conftest.er1
24109   cat conftest.err >&5
24110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24111   (exit $ac_status); } &&
24112          { ac_try='test -z "$ac_cxx_werror_flag"
24113                          || test ! -s conftest.err'
24114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24115   (eval $ac_try) 2>&5
24116   ac_status=$?
24117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118   (exit $ac_status); }; } &&
24119          { ac_try='test -s conftest.$ac_objext'
24120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24121   (eval $ac_try) 2>&5
24122   ac_status=$?
24123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124   (exit $ac_status); }; }; then
24125   glibcxx_cv_func_fabsf_use=yes
24126 else
24127   echo "$as_me: failed program was:" >&5
24128 sed 's/^/| /' conftest.$ac_ext >&5
24129
24130 glibcxx_cv_func_fabsf_use=no
24131 fi
24132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24133       ac_ext=c
24134 ac_cpp='$CPP $CPPFLAGS'
24135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24138
24139
24140 fi
24141
24142   fi
24143   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
24144 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
24145
24146   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24147
24148 for ac_func in fabsf
24149 do
24150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24151 echo "$as_me:$LINENO: checking for $ac_func" >&5
24152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24153 if eval "test \"\${$as_ac_var+set}\" = set"; then
24154   echo $ECHO_N "(cached) $ECHO_C" >&6
24155 else
24156   if test x$gcc_no_link = xyes; then
24157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24159    { (exit 1); exit 1; }; }
24160 fi
24161 cat >conftest.$ac_ext <<_ACEOF
24162 /* confdefs.h.  */
24163 _ACEOF
24164 cat confdefs.h >>conftest.$ac_ext
24165 cat >>conftest.$ac_ext <<_ACEOF
24166 /* end confdefs.h.  */
24167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24168    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24169 #define $ac_func innocuous_$ac_func
24170
24171 /* System header to define __stub macros and hopefully few prototypes,
24172     which can conflict with char $ac_func (); below.
24173     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24174     <limits.h> exists even on freestanding compilers.  */
24175
24176 #ifdef __STDC__
24177 # include <limits.h>
24178 #else
24179 # include <assert.h>
24180 #endif
24181
24182 #undef $ac_func
24183
24184 /* Override any gcc2 internal prototype to avoid an error.  */
24185 #ifdef __cplusplus
24186 extern "C"
24187 {
24188 #endif
24189 /* We use char because int might match the return type of a gcc2
24190    builtin and then its argument prototype would still apply.  */
24191 char $ac_func ();
24192 /* The GNU C library defines this for functions which it implements
24193     to always fail with ENOSYS.  Some functions are actually named
24194     something starting with __ and the normal name is an alias.  */
24195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24196 choke me
24197 #else
24198 char (*f) () = $ac_func;
24199 #endif
24200 #ifdef __cplusplus
24201 }
24202 #endif
24203
24204 int
24205 main ()
24206 {
24207 return f != $ac_func;
24208   ;
24209   return 0;
24210 }
24211 _ACEOF
24212 rm -f conftest.$ac_objext conftest$ac_exeext
24213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24214   (eval $ac_link) 2>conftest.er1
24215   ac_status=$?
24216   grep -v '^ *+' conftest.er1 >conftest.err
24217   rm -f conftest.er1
24218   cat conftest.err >&5
24219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24220   (exit $ac_status); } &&
24221          { ac_try='test -z "$ac_c_werror_flag"
24222                          || test ! -s conftest.err'
24223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24224   (eval $ac_try) 2>&5
24225   ac_status=$?
24226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24227   (exit $ac_status); }; } &&
24228          { ac_try='test -s conftest$ac_exeext'
24229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24230   (eval $ac_try) 2>&5
24231   ac_status=$?
24232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24233   (exit $ac_status); }; }; then
24234   eval "$as_ac_var=yes"
24235 else
24236   echo "$as_me: failed program was:" >&5
24237 sed 's/^/| /' conftest.$ac_ext >&5
24238
24239 eval "$as_ac_var=no"
24240 fi
24241 rm -f conftest.err conftest.$ac_objext \
24242       conftest$ac_exeext conftest.$ac_ext
24243 fi
24244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24246 if test `eval echo '${'$as_ac_var'}'` = yes; then
24247   cat >>confdefs.h <<_ACEOF
24248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24249 _ACEOF
24250
24251 fi
24252 done
24253
24254   else
24255
24256   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
24257 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
24258   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24259     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
24260   echo $ECHO_N "(cached) $ECHO_C" >&6
24261 else
24262
24263
24264
24265       ac_ext=cc
24266 ac_cpp='$CXXCPP $CPPFLAGS'
24267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24270
24271       cat >conftest.$ac_ext <<_ACEOF
24272 /* confdefs.h.  */
24273 _ACEOF
24274 cat confdefs.h >>conftest.$ac_ext
24275 cat >>conftest.$ac_ext <<_ACEOF
24276 /* end confdefs.h.  */
24277 #include <math.h>
24278                       #ifdef HAVE_IEEEFP_H
24279                       #include <ieeefp.h>
24280                       #endif
24281
24282 int
24283 main ()
24284 {
24285  _fabsf(0);
24286   ;
24287   return 0;
24288 }
24289 _ACEOF
24290 rm -f conftest.$ac_objext
24291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24292   (eval $ac_compile) 2>conftest.er1
24293   ac_status=$?
24294   grep -v '^ *+' conftest.er1 >conftest.err
24295   rm -f conftest.er1
24296   cat conftest.err >&5
24297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24298   (exit $ac_status); } &&
24299          { ac_try='test -z "$ac_cxx_werror_flag"
24300                          || test ! -s conftest.err'
24301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24302   (eval $ac_try) 2>&5
24303   ac_status=$?
24304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24305   (exit $ac_status); }; } &&
24306          { ac_try='test -s conftest.$ac_objext'
24307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24308   (eval $ac_try) 2>&5
24309   ac_status=$?
24310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24311   (exit $ac_status); }; }; then
24312   glibcxx_cv_func__fabsf_use=yes
24313 else
24314   echo "$as_me: failed program was:" >&5
24315 sed 's/^/| /' conftest.$ac_ext >&5
24316
24317 glibcxx_cv_func__fabsf_use=no
24318 fi
24319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24320       ac_ext=c
24321 ac_cpp='$CPP $CPPFLAGS'
24322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24325
24326
24327 fi
24328
24329   fi
24330   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24331 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
24332
24333     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24334
24335 for ac_func in _fabsf
24336 do
24337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24338 echo "$as_me:$LINENO: checking for $ac_func" >&5
24339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24340 if eval "test \"\${$as_ac_var+set}\" = set"; then
24341   echo $ECHO_N "(cached) $ECHO_C" >&6
24342 else
24343   if test x$gcc_no_link = xyes; then
24344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24346    { (exit 1); exit 1; }; }
24347 fi
24348 cat >conftest.$ac_ext <<_ACEOF
24349 /* confdefs.h.  */
24350 _ACEOF
24351 cat confdefs.h >>conftest.$ac_ext
24352 cat >>conftest.$ac_ext <<_ACEOF
24353 /* end confdefs.h.  */
24354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24355    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24356 #define $ac_func innocuous_$ac_func
24357
24358 /* System header to define __stub macros and hopefully few prototypes,
24359     which can conflict with char $ac_func (); below.
24360     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24361     <limits.h> exists even on freestanding compilers.  */
24362
24363 #ifdef __STDC__
24364 # include <limits.h>
24365 #else
24366 # include <assert.h>
24367 #endif
24368
24369 #undef $ac_func
24370
24371 /* Override any gcc2 internal prototype to avoid an error.  */
24372 #ifdef __cplusplus
24373 extern "C"
24374 {
24375 #endif
24376 /* We use char because int might match the return type of a gcc2
24377    builtin and then its argument prototype would still apply.  */
24378 char $ac_func ();
24379 /* The GNU C library defines this for functions which it implements
24380     to always fail with ENOSYS.  Some functions are actually named
24381     something starting with __ and the normal name is an alias.  */
24382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24383 choke me
24384 #else
24385 char (*f) () = $ac_func;
24386 #endif
24387 #ifdef __cplusplus
24388 }
24389 #endif
24390
24391 int
24392 main ()
24393 {
24394 return f != $ac_func;
24395   ;
24396   return 0;
24397 }
24398 _ACEOF
24399 rm -f conftest.$ac_objext conftest$ac_exeext
24400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24401   (eval $ac_link) 2>conftest.er1
24402   ac_status=$?
24403   grep -v '^ *+' conftest.er1 >conftest.err
24404   rm -f conftest.er1
24405   cat conftest.err >&5
24406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407   (exit $ac_status); } &&
24408          { ac_try='test -z "$ac_c_werror_flag"
24409                          || test ! -s conftest.err'
24410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24411   (eval $ac_try) 2>&5
24412   ac_status=$?
24413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24414   (exit $ac_status); }; } &&
24415          { ac_try='test -s conftest$ac_exeext'
24416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24417   (eval $ac_try) 2>&5
24418   ac_status=$?
24419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420   (exit $ac_status); }; }; then
24421   eval "$as_ac_var=yes"
24422 else
24423   echo "$as_me: failed program was:" >&5
24424 sed 's/^/| /' conftest.$ac_ext >&5
24425
24426 eval "$as_ac_var=no"
24427 fi
24428 rm -f conftest.err conftest.$ac_objext \
24429       conftest$ac_exeext conftest.$ac_ext
24430 fi
24431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24433 if test `eval echo '${'$as_ac_var'}'` = yes; then
24434   cat >>confdefs.h <<_ACEOF
24435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24436 _ACEOF
24437
24438 fi
24439 done
24440
24441     fi
24442   fi
24443
24444
24445
24446
24447
24448
24449   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24450 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24451   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24452     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24453   echo $ECHO_N "(cached) $ECHO_C" >&6
24454 else
24455
24456
24457
24458       ac_ext=cc
24459 ac_cpp='$CXXCPP $CPPFLAGS'
24460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24463
24464       cat >conftest.$ac_ext <<_ACEOF
24465 /* confdefs.h.  */
24466 _ACEOF
24467 cat confdefs.h >>conftest.$ac_ext
24468 cat >>conftest.$ac_ext <<_ACEOF
24469 /* end confdefs.h.  */
24470 #include <math.h>
24471 int
24472 main ()
24473 {
24474  fmodf(0, 0);
24475   ;
24476   return 0;
24477 }
24478 _ACEOF
24479 rm -f conftest.$ac_objext
24480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24481   (eval $ac_compile) 2>conftest.er1
24482   ac_status=$?
24483   grep -v '^ *+' conftest.er1 >conftest.err
24484   rm -f conftest.er1
24485   cat conftest.err >&5
24486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487   (exit $ac_status); } &&
24488          { ac_try='test -z "$ac_cxx_werror_flag"
24489                          || test ! -s conftest.err'
24490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24491   (eval $ac_try) 2>&5
24492   ac_status=$?
24493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24494   (exit $ac_status); }; } &&
24495          { ac_try='test -s conftest.$ac_objext'
24496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24497   (eval $ac_try) 2>&5
24498   ac_status=$?
24499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500   (exit $ac_status); }; }; then
24501   glibcxx_cv_func_fmodf_use=yes
24502 else
24503   echo "$as_me: failed program was:" >&5
24504 sed 's/^/| /' conftest.$ac_ext >&5
24505
24506 glibcxx_cv_func_fmodf_use=no
24507 fi
24508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24509       ac_ext=c
24510 ac_cpp='$CPP $CPPFLAGS'
24511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24514
24515
24516 fi
24517
24518   fi
24519   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24520 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24521
24522   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24523
24524 for ac_func in fmodf
24525 do
24526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24527 echo "$as_me:$LINENO: checking for $ac_func" >&5
24528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24529 if eval "test \"\${$as_ac_var+set}\" = set"; then
24530   echo $ECHO_N "(cached) $ECHO_C" >&6
24531 else
24532   if test x$gcc_no_link = xyes; then
24533   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24535    { (exit 1); exit 1; }; }
24536 fi
24537 cat >conftest.$ac_ext <<_ACEOF
24538 /* confdefs.h.  */
24539 _ACEOF
24540 cat confdefs.h >>conftest.$ac_ext
24541 cat >>conftest.$ac_ext <<_ACEOF
24542 /* end confdefs.h.  */
24543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24544    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24545 #define $ac_func innocuous_$ac_func
24546
24547 /* System header to define __stub macros and hopefully few prototypes,
24548     which can conflict with char $ac_func (); below.
24549     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24550     <limits.h> exists even on freestanding compilers.  */
24551
24552 #ifdef __STDC__
24553 # include <limits.h>
24554 #else
24555 # include <assert.h>
24556 #endif
24557
24558 #undef $ac_func
24559
24560 /* Override any gcc2 internal prototype to avoid an error.  */
24561 #ifdef __cplusplus
24562 extern "C"
24563 {
24564 #endif
24565 /* We use char because int might match the return type of a gcc2
24566    builtin and then its argument prototype would still apply.  */
24567 char $ac_func ();
24568 /* The GNU C library defines this for functions which it implements
24569     to always fail with ENOSYS.  Some functions are actually named
24570     something starting with __ and the normal name is an alias.  */
24571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24572 choke me
24573 #else
24574 char (*f) () = $ac_func;
24575 #endif
24576 #ifdef __cplusplus
24577 }
24578 #endif
24579
24580 int
24581 main ()
24582 {
24583 return f != $ac_func;
24584   ;
24585   return 0;
24586 }
24587 _ACEOF
24588 rm -f conftest.$ac_objext conftest$ac_exeext
24589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24590   (eval $ac_link) 2>conftest.er1
24591   ac_status=$?
24592   grep -v '^ *+' conftest.er1 >conftest.err
24593   rm -f conftest.er1
24594   cat conftest.err >&5
24595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24596   (exit $ac_status); } &&
24597          { ac_try='test -z "$ac_c_werror_flag"
24598                          || test ! -s conftest.err'
24599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24600   (eval $ac_try) 2>&5
24601   ac_status=$?
24602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603   (exit $ac_status); }; } &&
24604          { ac_try='test -s conftest$ac_exeext'
24605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24606   (eval $ac_try) 2>&5
24607   ac_status=$?
24608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609   (exit $ac_status); }; }; then
24610   eval "$as_ac_var=yes"
24611 else
24612   echo "$as_me: failed program was:" >&5
24613 sed 's/^/| /' conftest.$ac_ext >&5
24614
24615 eval "$as_ac_var=no"
24616 fi
24617 rm -f conftest.err conftest.$ac_objext \
24618       conftest$ac_exeext conftest.$ac_ext
24619 fi
24620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24622 if test `eval echo '${'$as_ac_var'}'` = yes; then
24623   cat >>confdefs.h <<_ACEOF
24624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24625 _ACEOF
24626
24627 fi
24628 done
24629
24630   else
24631
24632   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24633 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24634   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24635     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24636   echo $ECHO_N "(cached) $ECHO_C" >&6
24637 else
24638
24639
24640
24641       ac_ext=cc
24642 ac_cpp='$CXXCPP $CPPFLAGS'
24643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24646
24647       cat >conftest.$ac_ext <<_ACEOF
24648 /* confdefs.h.  */
24649 _ACEOF
24650 cat confdefs.h >>conftest.$ac_ext
24651 cat >>conftest.$ac_ext <<_ACEOF
24652 /* end confdefs.h.  */
24653 #include <math.h>
24654 int
24655 main ()
24656 {
24657  _fmodf(0, 0);
24658   ;
24659   return 0;
24660 }
24661 _ACEOF
24662 rm -f conftest.$ac_objext
24663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24664   (eval $ac_compile) 2>conftest.er1
24665   ac_status=$?
24666   grep -v '^ *+' conftest.er1 >conftest.err
24667   rm -f conftest.er1
24668   cat conftest.err >&5
24669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24670   (exit $ac_status); } &&
24671          { ac_try='test -z "$ac_cxx_werror_flag"
24672                          || test ! -s conftest.err'
24673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24674   (eval $ac_try) 2>&5
24675   ac_status=$?
24676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24677   (exit $ac_status); }; } &&
24678          { ac_try='test -s conftest.$ac_objext'
24679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24680   (eval $ac_try) 2>&5
24681   ac_status=$?
24682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24683   (exit $ac_status); }; }; then
24684   glibcxx_cv_func__fmodf_use=yes
24685 else
24686   echo "$as_me: failed program was:" >&5
24687 sed 's/^/| /' conftest.$ac_ext >&5
24688
24689 glibcxx_cv_func__fmodf_use=no
24690 fi
24691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24692       ac_ext=c
24693 ac_cpp='$CPP $CPPFLAGS'
24694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24697
24698
24699 fi
24700
24701   fi
24702   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24703 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24704
24705     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24706
24707 for ac_func in _fmodf
24708 do
24709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24710 echo "$as_me:$LINENO: checking for $ac_func" >&5
24711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24712 if eval "test \"\${$as_ac_var+set}\" = set"; then
24713   echo $ECHO_N "(cached) $ECHO_C" >&6
24714 else
24715   if test x$gcc_no_link = xyes; then
24716   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24718    { (exit 1); exit 1; }; }
24719 fi
24720 cat >conftest.$ac_ext <<_ACEOF
24721 /* confdefs.h.  */
24722 _ACEOF
24723 cat confdefs.h >>conftest.$ac_ext
24724 cat >>conftest.$ac_ext <<_ACEOF
24725 /* end confdefs.h.  */
24726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24727    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24728 #define $ac_func innocuous_$ac_func
24729
24730 /* System header to define __stub macros and hopefully few prototypes,
24731     which can conflict with char $ac_func (); below.
24732     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24733     <limits.h> exists even on freestanding compilers.  */
24734
24735 #ifdef __STDC__
24736 # include <limits.h>
24737 #else
24738 # include <assert.h>
24739 #endif
24740
24741 #undef $ac_func
24742
24743 /* Override any gcc2 internal prototype to avoid an error.  */
24744 #ifdef __cplusplus
24745 extern "C"
24746 {
24747 #endif
24748 /* We use char because int might match the return type of a gcc2
24749    builtin and then its argument prototype would still apply.  */
24750 char $ac_func ();
24751 /* The GNU C library defines this for functions which it implements
24752     to always fail with ENOSYS.  Some functions are actually named
24753     something starting with __ and the normal name is an alias.  */
24754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24755 choke me
24756 #else
24757 char (*f) () = $ac_func;
24758 #endif
24759 #ifdef __cplusplus
24760 }
24761 #endif
24762
24763 int
24764 main ()
24765 {
24766 return f != $ac_func;
24767   ;
24768   return 0;
24769 }
24770 _ACEOF
24771 rm -f conftest.$ac_objext conftest$ac_exeext
24772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24773   (eval $ac_link) 2>conftest.er1
24774   ac_status=$?
24775   grep -v '^ *+' conftest.er1 >conftest.err
24776   rm -f conftest.er1
24777   cat conftest.err >&5
24778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24779   (exit $ac_status); } &&
24780          { ac_try='test -z "$ac_c_werror_flag"
24781                          || test ! -s conftest.err'
24782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24783   (eval $ac_try) 2>&5
24784   ac_status=$?
24785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24786   (exit $ac_status); }; } &&
24787          { ac_try='test -s conftest$ac_exeext'
24788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24789   (eval $ac_try) 2>&5
24790   ac_status=$?
24791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24792   (exit $ac_status); }; }; then
24793   eval "$as_ac_var=yes"
24794 else
24795   echo "$as_me: failed program was:" >&5
24796 sed 's/^/| /' conftest.$ac_ext >&5
24797
24798 eval "$as_ac_var=no"
24799 fi
24800 rm -f conftest.err conftest.$ac_objext \
24801       conftest$ac_exeext conftest.$ac_ext
24802 fi
24803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24805 if test `eval echo '${'$as_ac_var'}'` = yes; then
24806   cat >>confdefs.h <<_ACEOF
24807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24808 _ACEOF
24809
24810 fi
24811 done
24812
24813     fi
24814   fi
24815
24816
24817
24818
24819
24820
24821   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24822 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24823   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24824     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24825   echo $ECHO_N "(cached) $ECHO_C" >&6
24826 else
24827
24828
24829
24830       ac_ext=cc
24831 ac_cpp='$CXXCPP $CPPFLAGS'
24832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24835
24836       cat >conftest.$ac_ext <<_ACEOF
24837 /* confdefs.h.  */
24838 _ACEOF
24839 cat confdefs.h >>conftest.$ac_ext
24840 cat >>conftest.$ac_ext <<_ACEOF
24841 /* end confdefs.h.  */
24842 #include <math.h>
24843 int
24844 main ()
24845 {
24846  frexpf(0, 0);
24847   ;
24848   return 0;
24849 }
24850 _ACEOF
24851 rm -f conftest.$ac_objext
24852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24853   (eval $ac_compile) 2>conftest.er1
24854   ac_status=$?
24855   grep -v '^ *+' conftest.er1 >conftest.err
24856   rm -f conftest.er1
24857   cat conftest.err >&5
24858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859   (exit $ac_status); } &&
24860          { ac_try='test -z "$ac_cxx_werror_flag"
24861                          || test ! -s conftest.err'
24862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24863   (eval $ac_try) 2>&5
24864   ac_status=$?
24865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866   (exit $ac_status); }; } &&
24867          { ac_try='test -s conftest.$ac_objext'
24868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24869   (eval $ac_try) 2>&5
24870   ac_status=$?
24871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872   (exit $ac_status); }; }; then
24873   glibcxx_cv_func_frexpf_use=yes
24874 else
24875   echo "$as_me: failed program was:" >&5
24876 sed 's/^/| /' conftest.$ac_ext >&5
24877
24878 glibcxx_cv_func_frexpf_use=no
24879 fi
24880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24881       ac_ext=c
24882 ac_cpp='$CPP $CPPFLAGS'
24883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24886
24887
24888 fi
24889
24890   fi
24891   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24892 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24893
24894   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24895
24896 for ac_func in frexpf
24897 do
24898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24899 echo "$as_me:$LINENO: checking for $ac_func" >&5
24900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24901 if eval "test \"\${$as_ac_var+set}\" = set"; then
24902   echo $ECHO_N "(cached) $ECHO_C" >&6
24903 else
24904   if test x$gcc_no_link = xyes; then
24905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24907    { (exit 1); exit 1; }; }
24908 fi
24909 cat >conftest.$ac_ext <<_ACEOF
24910 /* confdefs.h.  */
24911 _ACEOF
24912 cat confdefs.h >>conftest.$ac_ext
24913 cat >>conftest.$ac_ext <<_ACEOF
24914 /* end confdefs.h.  */
24915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24916    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24917 #define $ac_func innocuous_$ac_func
24918
24919 /* System header to define __stub macros and hopefully few prototypes,
24920     which can conflict with char $ac_func (); below.
24921     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24922     <limits.h> exists even on freestanding compilers.  */
24923
24924 #ifdef __STDC__
24925 # include <limits.h>
24926 #else
24927 # include <assert.h>
24928 #endif
24929
24930 #undef $ac_func
24931
24932 /* Override any gcc2 internal prototype to avoid an error.  */
24933 #ifdef __cplusplus
24934 extern "C"
24935 {
24936 #endif
24937 /* We use char because int might match the return type of a gcc2
24938    builtin and then its argument prototype would still apply.  */
24939 char $ac_func ();
24940 /* The GNU C library defines this for functions which it implements
24941     to always fail with ENOSYS.  Some functions are actually named
24942     something starting with __ and the normal name is an alias.  */
24943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24944 choke me
24945 #else
24946 char (*f) () = $ac_func;
24947 #endif
24948 #ifdef __cplusplus
24949 }
24950 #endif
24951
24952 int
24953 main ()
24954 {
24955 return f != $ac_func;
24956   ;
24957   return 0;
24958 }
24959 _ACEOF
24960 rm -f conftest.$ac_objext conftest$ac_exeext
24961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24962   (eval $ac_link) 2>conftest.er1
24963   ac_status=$?
24964   grep -v '^ *+' conftest.er1 >conftest.err
24965   rm -f conftest.er1
24966   cat conftest.err >&5
24967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24968   (exit $ac_status); } &&
24969          { ac_try='test -z "$ac_c_werror_flag"
24970                          || test ! -s conftest.err'
24971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24972   (eval $ac_try) 2>&5
24973   ac_status=$?
24974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975   (exit $ac_status); }; } &&
24976          { ac_try='test -s conftest$ac_exeext'
24977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24978   (eval $ac_try) 2>&5
24979   ac_status=$?
24980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24981   (exit $ac_status); }; }; then
24982   eval "$as_ac_var=yes"
24983 else
24984   echo "$as_me: failed program was:" >&5
24985 sed 's/^/| /' conftest.$ac_ext >&5
24986
24987 eval "$as_ac_var=no"
24988 fi
24989 rm -f conftest.err conftest.$ac_objext \
24990       conftest$ac_exeext conftest.$ac_ext
24991 fi
24992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24994 if test `eval echo '${'$as_ac_var'}'` = yes; then
24995   cat >>confdefs.h <<_ACEOF
24996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24997 _ACEOF
24998
24999 fi
25000 done
25001
25002   else
25003
25004   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
25005 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
25006   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
25007     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
25008   echo $ECHO_N "(cached) $ECHO_C" >&6
25009 else
25010
25011
25012
25013       ac_ext=cc
25014 ac_cpp='$CXXCPP $CPPFLAGS'
25015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25018
25019       cat >conftest.$ac_ext <<_ACEOF
25020 /* confdefs.h.  */
25021 _ACEOF
25022 cat confdefs.h >>conftest.$ac_ext
25023 cat >>conftest.$ac_ext <<_ACEOF
25024 /* end confdefs.h.  */
25025 #include <math.h>
25026 int
25027 main ()
25028 {
25029  _frexpf(0, 0);
25030   ;
25031   return 0;
25032 }
25033 _ACEOF
25034 rm -f conftest.$ac_objext
25035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25036   (eval $ac_compile) 2>conftest.er1
25037   ac_status=$?
25038   grep -v '^ *+' conftest.er1 >conftest.err
25039   rm -f conftest.er1
25040   cat conftest.err >&5
25041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25042   (exit $ac_status); } &&
25043          { ac_try='test -z "$ac_cxx_werror_flag"
25044                          || test ! -s conftest.err'
25045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25046   (eval $ac_try) 2>&5
25047   ac_status=$?
25048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25049   (exit $ac_status); }; } &&
25050          { ac_try='test -s conftest.$ac_objext'
25051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25052   (eval $ac_try) 2>&5
25053   ac_status=$?
25054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25055   (exit $ac_status); }; }; then
25056   glibcxx_cv_func__frexpf_use=yes
25057 else
25058   echo "$as_me: failed program was:" >&5
25059 sed 's/^/| /' conftest.$ac_ext >&5
25060
25061 glibcxx_cv_func__frexpf_use=no
25062 fi
25063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25064       ac_ext=c
25065 ac_cpp='$CPP $CPPFLAGS'
25066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25069
25070
25071 fi
25072
25073   fi
25074   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
25075 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
25076
25077     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
25078
25079 for ac_func in _frexpf
25080 do
25081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25082 echo "$as_me:$LINENO: checking for $ac_func" >&5
25083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25084 if eval "test \"\${$as_ac_var+set}\" = set"; then
25085   echo $ECHO_N "(cached) $ECHO_C" >&6
25086 else
25087   if test x$gcc_no_link = xyes; then
25088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25090    { (exit 1); exit 1; }; }
25091 fi
25092 cat >conftest.$ac_ext <<_ACEOF
25093 /* confdefs.h.  */
25094 _ACEOF
25095 cat confdefs.h >>conftest.$ac_ext
25096 cat >>conftest.$ac_ext <<_ACEOF
25097 /* end confdefs.h.  */
25098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25099    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25100 #define $ac_func innocuous_$ac_func
25101
25102 /* System header to define __stub macros and hopefully few prototypes,
25103     which can conflict with char $ac_func (); below.
25104     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25105     <limits.h> exists even on freestanding compilers.  */
25106
25107 #ifdef __STDC__
25108 # include <limits.h>
25109 #else
25110 # include <assert.h>
25111 #endif
25112
25113 #undef $ac_func
25114
25115 /* Override any gcc2 internal prototype to avoid an error.  */
25116 #ifdef __cplusplus
25117 extern "C"
25118 {
25119 #endif
25120 /* We use char because int might match the return type of a gcc2
25121    builtin and then its argument prototype would still apply.  */
25122 char $ac_func ();
25123 /* The GNU C library defines this for functions which it implements
25124     to always fail with ENOSYS.  Some functions are actually named
25125     something starting with __ and the normal name is an alias.  */
25126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25127 choke me
25128 #else
25129 char (*f) () = $ac_func;
25130 #endif
25131 #ifdef __cplusplus
25132 }
25133 #endif
25134
25135 int
25136 main ()
25137 {
25138 return f != $ac_func;
25139   ;
25140   return 0;
25141 }
25142 _ACEOF
25143 rm -f conftest.$ac_objext conftest$ac_exeext
25144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25145   (eval $ac_link) 2>conftest.er1
25146   ac_status=$?
25147   grep -v '^ *+' conftest.er1 >conftest.err
25148   rm -f conftest.er1
25149   cat conftest.err >&5
25150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25151   (exit $ac_status); } &&
25152          { ac_try='test -z "$ac_c_werror_flag"
25153                          || test ! -s conftest.err'
25154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25155   (eval $ac_try) 2>&5
25156   ac_status=$?
25157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158   (exit $ac_status); }; } &&
25159          { ac_try='test -s conftest$ac_exeext'
25160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25161   (eval $ac_try) 2>&5
25162   ac_status=$?
25163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25164   (exit $ac_status); }; }; then
25165   eval "$as_ac_var=yes"
25166 else
25167   echo "$as_me: failed program was:" >&5
25168 sed 's/^/| /' conftest.$ac_ext >&5
25169
25170 eval "$as_ac_var=no"
25171 fi
25172 rm -f conftest.err conftest.$ac_objext \
25173       conftest$ac_exeext conftest.$ac_ext
25174 fi
25175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25177 if test `eval echo '${'$as_ac_var'}'` = yes; then
25178   cat >>confdefs.h <<_ACEOF
25179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25180 _ACEOF
25181
25182 fi
25183 done
25184
25185     fi
25186   fi
25187
25188
25189
25190
25191
25192
25193   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
25194 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
25195   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25196     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
25197   echo $ECHO_N "(cached) $ECHO_C" >&6
25198 else
25199
25200
25201
25202       ac_ext=cc
25203 ac_cpp='$CXXCPP $CPPFLAGS'
25204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25207
25208       cat >conftest.$ac_ext <<_ACEOF
25209 /* confdefs.h.  */
25210 _ACEOF
25211 cat confdefs.h >>conftest.$ac_ext
25212 cat >>conftest.$ac_ext <<_ACEOF
25213 /* end confdefs.h.  */
25214 #include <math.h>
25215 int
25216 main ()
25217 {
25218  hypotf(0, 0);
25219   ;
25220   return 0;
25221 }
25222 _ACEOF
25223 rm -f conftest.$ac_objext
25224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25225   (eval $ac_compile) 2>conftest.er1
25226   ac_status=$?
25227   grep -v '^ *+' conftest.er1 >conftest.err
25228   rm -f conftest.er1
25229   cat conftest.err >&5
25230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25231   (exit $ac_status); } &&
25232          { ac_try='test -z "$ac_cxx_werror_flag"
25233                          || test ! -s conftest.err'
25234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25235   (eval $ac_try) 2>&5
25236   ac_status=$?
25237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25238   (exit $ac_status); }; } &&
25239          { ac_try='test -s conftest.$ac_objext'
25240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25241   (eval $ac_try) 2>&5
25242   ac_status=$?
25243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25244   (exit $ac_status); }; }; then
25245   glibcxx_cv_func_hypotf_use=yes
25246 else
25247   echo "$as_me: failed program was:" >&5
25248 sed 's/^/| /' conftest.$ac_ext >&5
25249
25250 glibcxx_cv_func_hypotf_use=no
25251 fi
25252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25253       ac_ext=c
25254 ac_cpp='$CPP $CPPFLAGS'
25255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25258
25259
25260 fi
25261
25262   fi
25263   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
25264 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
25265
25266   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25267
25268 for ac_func in hypotf
25269 do
25270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25271 echo "$as_me:$LINENO: checking for $ac_func" >&5
25272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25273 if eval "test \"\${$as_ac_var+set}\" = set"; then
25274   echo $ECHO_N "(cached) $ECHO_C" >&6
25275 else
25276   if test x$gcc_no_link = xyes; then
25277   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25279    { (exit 1); exit 1; }; }
25280 fi
25281 cat >conftest.$ac_ext <<_ACEOF
25282 /* confdefs.h.  */
25283 _ACEOF
25284 cat confdefs.h >>conftest.$ac_ext
25285 cat >>conftest.$ac_ext <<_ACEOF
25286 /* end confdefs.h.  */
25287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25288    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25289 #define $ac_func innocuous_$ac_func
25290
25291 /* System header to define __stub macros and hopefully few prototypes,
25292     which can conflict with char $ac_func (); below.
25293     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25294     <limits.h> exists even on freestanding compilers.  */
25295
25296 #ifdef __STDC__
25297 # include <limits.h>
25298 #else
25299 # include <assert.h>
25300 #endif
25301
25302 #undef $ac_func
25303
25304 /* Override any gcc2 internal prototype to avoid an error.  */
25305 #ifdef __cplusplus
25306 extern "C"
25307 {
25308 #endif
25309 /* We use char because int might match the return type of a gcc2
25310    builtin and then its argument prototype would still apply.  */
25311 char $ac_func ();
25312 /* The GNU C library defines this for functions which it implements
25313     to always fail with ENOSYS.  Some functions are actually named
25314     something starting with __ and the normal name is an alias.  */
25315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25316 choke me
25317 #else
25318 char (*f) () = $ac_func;
25319 #endif
25320 #ifdef __cplusplus
25321 }
25322 #endif
25323
25324 int
25325 main ()
25326 {
25327 return f != $ac_func;
25328   ;
25329   return 0;
25330 }
25331 _ACEOF
25332 rm -f conftest.$ac_objext conftest$ac_exeext
25333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25334   (eval $ac_link) 2>conftest.er1
25335   ac_status=$?
25336   grep -v '^ *+' conftest.er1 >conftest.err
25337   rm -f conftest.er1
25338   cat conftest.err >&5
25339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25340   (exit $ac_status); } &&
25341          { ac_try='test -z "$ac_c_werror_flag"
25342                          || test ! -s conftest.err'
25343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25344   (eval $ac_try) 2>&5
25345   ac_status=$?
25346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25347   (exit $ac_status); }; } &&
25348          { ac_try='test -s conftest$ac_exeext'
25349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25350   (eval $ac_try) 2>&5
25351   ac_status=$?
25352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25353   (exit $ac_status); }; }; then
25354   eval "$as_ac_var=yes"
25355 else
25356   echo "$as_me: failed program was:" >&5
25357 sed 's/^/| /' conftest.$ac_ext >&5
25358
25359 eval "$as_ac_var=no"
25360 fi
25361 rm -f conftest.err conftest.$ac_objext \
25362       conftest$ac_exeext conftest.$ac_ext
25363 fi
25364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25366 if test `eval echo '${'$as_ac_var'}'` = yes; then
25367   cat >>confdefs.h <<_ACEOF
25368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25369 _ACEOF
25370
25371 fi
25372 done
25373
25374   else
25375
25376   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25377 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
25378   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25379     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25380   echo $ECHO_N "(cached) $ECHO_C" >&6
25381 else
25382
25383
25384
25385       ac_ext=cc
25386 ac_cpp='$CXXCPP $CPPFLAGS'
25387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25390
25391       cat >conftest.$ac_ext <<_ACEOF
25392 /* confdefs.h.  */
25393 _ACEOF
25394 cat confdefs.h >>conftest.$ac_ext
25395 cat >>conftest.$ac_ext <<_ACEOF
25396 /* end confdefs.h.  */
25397 #include <math.h>
25398 int
25399 main ()
25400 {
25401  _hypotf(0, 0);
25402   ;
25403   return 0;
25404 }
25405 _ACEOF
25406 rm -f conftest.$ac_objext
25407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25408   (eval $ac_compile) 2>conftest.er1
25409   ac_status=$?
25410   grep -v '^ *+' conftest.er1 >conftest.err
25411   rm -f conftest.er1
25412   cat conftest.err >&5
25413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414   (exit $ac_status); } &&
25415          { ac_try='test -z "$ac_cxx_werror_flag"
25416                          || test ! -s conftest.err'
25417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25418   (eval $ac_try) 2>&5
25419   ac_status=$?
25420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421   (exit $ac_status); }; } &&
25422          { ac_try='test -s conftest.$ac_objext'
25423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25424   (eval $ac_try) 2>&5
25425   ac_status=$?
25426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427   (exit $ac_status); }; }; then
25428   glibcxx_cv_func__hypotf_use=yes
25429 else
25430   echo "$as_me: failed program was:" >&5
25431 sed 's/^/| /' conftest.$ac_ext >&5
25432
25433 glibcxx_cv_func__hypotf_use=no
25434 fi
25435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25436       ac_ext=c
25437 ac_cpp='$CPP $CPPFLAGS'
25438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25441
25442
25443 fi
25444
25445   fi
25446   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25447 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25448
25449     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25450
25451 for ac_func in _hypotf
25452 do
25453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25454 echo "$as_me:$LINENO: checking for $ac_func" >&5
25455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25456 if eval "test \"\${$as_ac_var+set}\" = set"; then
25457   echo $ECHO_N "(cached) $ECHO_C" >&6
25458 else
25459   if test x$gcc_no_link = xyes; then
25460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25462    { (exit 1); exit 1; }; }
25463 fi
25464 cat >conftest.$ac_ext <<_ACEOF
25465 /* confdefs.h.  */
25466 _ACEOF
25467 cat confdefs.h >>conftest.$ac_ext
25468 cat >>conftest.$ac_ext <<_ACEOF
25469 /* end confdefs.h.  */
25470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25471    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25472 #define $ac_func innocuous_$ac_func
25473
25474 /* System header to define __stub macros and hopefully few prototypes,
25475     which can conflict with char $ac_func (); below.
25476     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25477     <limits.h> exists even on freestanding compilers.  */
25478
25479 #ifdef __STDC__
25480 # include <limits.h>
25481 #else
25482 # include <assert.h>
25483 #endif
25484
25485 #undef $ac_func
25486
25487 /* Override any gcc2 internal prototype to avoid an error.  */
25488 #ifdef __cplusplus
25489 extern "C"
25490 {
25491 #endif
25492 /* We use char because int might match the return type of a gcc2
25493    builtin and then its argument prototype would still apply.  */
25494 char $ac_func ();
25495 /* The GNU C library defines this for functions which it implements
25496     to always fail with ENOSYS.  Some functions are actually named
25497     something starting with __ and the normal name is an alias.  */
25498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25499 choke me
25500 #else
25501 char (*f) () = $ac_func;
25502 #endif
25503 #ifdef __cplusplus
25504 }
25505 #endif
25506
25507 int
25508 main ()
25509 {
25510 return f != $ac_func;
25511   ;
25512   return 0;
25513 }
25514 _ACEOF
25515 rm -f conftest.$ac_objext conftest$ac_exeext
25516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25517   (eval $ac_link) 2>conftest.er1
25518   ac_status=$?
25519   grep -v '^ *+' conftest.er1 >conftest.err
25520   rm -f conftest.er1
25521   cat conftest.err >&5
25522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523   (exit $ac_status); } &&
25524          { ac_try='test -z "$ac_c_werror_flag"
25525                          || test ! -s conftest.err'
25526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25527   (eval $ac_try) 2>&5
25528   ac_status=$?
25529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25530   (exit $ac_status); }; } &&
25531          { ac_try='test -s conftest$ac_exeext'
25532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25533   (eval $ac_try) 2>&5
25534   ac_status=$?
25535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25536   (exit $ac_status); }; }; then
25537   eval "$as_ac_var=yes"
25538 else
25539   echo "$as_me: failed program was:" >&5
25540 sed 's/^/| /' conftest.$ac_ext >&5
25541
25542 eval "$as_ac_var=no"
25543 fi
25544 rm -f conftest.err conftest.$ac_objext \
25545       conftest$ac_exeext conftest.$ac_ext
25546 fi
25547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25549 if test `eval echo '${'$as_ac_var'}'` = yes; then
25550   cat >>confdefs.h <<_ACEOF
25551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25552 _ACEOF
25553
25554 fi
25555 done
25556
25557     fi
25558   fi
25559
25560
25561
25562
25563
25564
25565   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25566 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25567   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25568     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25569   echo $ECHO_N "(cached) $ECHO_C" >&6
25570 else
25571
25572
25573
25574       ac_ext=cc
25575 ac_cpp='$CXXCPP $CPPFLAGS'
25576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25579
25580       cat >conftest.$ac_ext <<_ACEOF
25581 /* confdefs.h.  */
25582 _ACEOF
25583 cat confdefs.h >>conftest.$ac_ext
25584 cat >>conftest.$ac_ext <<_ACEOF
25585 /* end confdefs.h.  */
25586 #include <math.h>
25587 int
25588 main ()
25589 {
25590  ldexpf(0, 0);
25591   ;
25592   return 0;
25593 }
25594 _ACEOF
25595 rm -f conftest.$ac_objext
25596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25597   (eval $ac_compile) 2>conftest.er1
25598   ac_status=$?
25599   grep -v '^ *+' conftest.er1 >conftest.err
25600   rm -f conftest.er1
25601   cat conftest.err >&5
25602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25603   (exit $ac_status); } &&
25604          { ac_try='test -z "$ac_cxx_werror_flag"
25605                          || test ! -s conftest.err'
25606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25607   (eval $ac_try) 2>&5
25608   ac_status=$?
25609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610   (exit $ac_status); }; } &&
25611          { ac_try='test -s conftest.$ac_objext'
25612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25613   (eval $ac_try) 2>&5
25614   ac_status=$?
25615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25616   (exit $ac_status); }; }; then
25617   glibcxx_cv_func_ldexpf_use=yes
25618 else
25619   echo "$as_me: failed program was:" >&5
25620 sed 's/^/| /' conftest.$ac_ext >&5
25621
25622 glibcxx_cv_func_ldexpf_use=no
25623 fi
25624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25625       ac_ext=c
25626 ac_cpp='$CPP $CPPFLAGS'
25627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25630
25631
25632 fi
25633
25634   fi
25635   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25636 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25637
25638   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25639
25640 for ac_func in ldexpf
25641 do
25642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25643 echo "$as_me:$LINENO: checking for $ac_func" >&5
25644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25645 if eval "test \"\${$as_ac_var+set}\" = set"; then
25646   echo $ECHO_N "(cached) $ECHO_C" >&6
25647 else
25648   if test x$gcc_no_link = xyes; then
25649   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25651    { (exit 1); exit 1; }; }
25652 fi
25653 cat >conftest.$ac_ext <<_ACEOF
25654 /* confdefs.h.  */
25655 _ACEOF
25656 cat confdefs.h >>conftest.$ac_ext
25657 cat >>conftest.$ac_ext <<_ACEOF
25658 /* end confdefs.h.  */
25659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25660    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25661 #define $ac_func innocuous_$ac_func
25662
25663 /* System header to define __stub macros and hopefully few prototypes,
25664     which can conflict with char $ac_func (); below.
25665     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25666     <limits.h> exists even on freestanding compilers.  */
25667
25668 #ifdef __STDC__
25669 # include <limits.h>
25670 #else
25671 # include <assert.h>
25672 #endif
25673
25674 #undef $ac_func
25675
25676 /* Override any gcc2 internal prototype to avoid an error.  */
25677 #ifdef __cplusplus
25678 extern "C"
25679 {
25680 #endif
25681 /* We use char because int might match the return type of a gcc2
25682    builtin and then its argument prototype would still apply.  */
25683 char $ac_func ();
25684 /* The GNU C library defines this for functions which it implements
25685     to always fail with ENOSYS.  Some functions are actually named
25686     something starting with __ and the normal name is an alias.  */
25687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25688 choke me
25689 #else
25690 char (*f) () = $ac_func;
25691 #endif
25692 #ifdef __cplusplus
25693 }
25694 #endif
25695
25696 int
25697 main ()
25698 {
25699 return f != $ac_func;
25700   ;
25701   return 0;
25702 }
25703 _ACEOF
25704 rm -f conftest.$ac_objext conftest$ac_exeext
25705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25706   (eval $ac_link) 2>conftest.er1
25707   ac_status=$?
25708   grep -v '^ *+' conftest.er1 >conftest.err
25709   rm -f conftest.er1
25710   cat conftest.err >&5
25711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712   (exit $ac_status); } &&
25713          { ac_try='test -z "$ac_c_werror_flag"
25714                          || test ! -s conftest.err'
25715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25716   (eval $ac_try) 2>&5
25717   ac_status=$?
25718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25719   (exit $ac_status); }; } &&
25720          { ac_try='test -s conftest$ac_exeext'
25721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25722   (eval $ac_try) 2>&5
25723   ac_status=$?
25724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25725   (exit $ac_status); }; }; then
25726   eval "$as_ac_var=yes"
25727 else
25728   echo "$as_me: failed program was:" >&5
25729 sed 's/^/| /' conftest.$ac_ext >&5
25730
25731 eval "$as_ac_var=no"
25732 fi
25733 rm -f conftest.err conftest.$ac_objext \
25734       conftest$ac_exeext conftest.$ac_ext
25735 fi
25736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25738 if test `eval echo '${'$as_ac_var'}'` = yes; then
25739   cat >>confdefs.h <<_ACEOF
25740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25741 _ACEOF
25742
25743 fi
25744 done
25745
25746   else
25747
25748   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25749 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25750   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25751     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25752   echo $ECHO_N "(cached) $ECHO_C" >&6
25753 else
25754
25755
25756
25757       ac_ext=cc
25758 ac_cpp='$CXXCPP $CPPFLAGS'
25759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25762
25763       cat >conftest.$ac_ext <<_ACEOF
25764 /* confdefs.h.  */
25765 _ACEOF
25766 cat confdefs.h >>conftest.$ac_ext
25767 cat >>conftest.$ac_ext <<_ACEOF
25768 /* end confdefs.h.  */
25769 #include <math.h>
25770 int
25771 main ()
25772 {
25773  _ldexpf(0, 0);
25774   ;
25775   return 0;
25776 }
25777 _ACEOF
25778 rm -f conftest.$ac_objext
25779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25780   (eval $ac_compile) 2>conftest.er1
25781   ac_status=$?
25782   grep -v '^ *+' conftest.er1 >conftest.err
25783   rm -f conftest.er1
25784   cat conftest.err >&5
25785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786   (exit $ac_status); } &&
25787          { ac_try='test -z "$ac_cxx_werror_flag"
25788                          || test ! -s conftest.err'
25789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25790   (eval $ac_try) 2>&5
25791   ac_status=$?
25792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25793   (exit $ac_status); }; } &&
25794          { ac_try='test -s conftest.$ac_objext'
25795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25796   (eval $ac_try) 2>&5
25797   ac_status=$?
25798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25799   (exit $ac_status); }; }; then
25800   glibcxx_cv_func__ldexpf_use=yes
25801 else
25802   echo "$as_me: failed program was:" >&5
25803 sed 's/^/| /' conftest.$ac_ext >&5
25804
25805 glibcxx_cv_func__ldexpf_use=no
25806 fi
25807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25808       ac_ext=c
25809 ac_cpp='$CPP $CPPFLAGS'
25810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25813
25814
25815 fi
25816
25817   fi
25818   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25819 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25820
25821     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25822
25823 for ac_func in _ldexpf
25824 do
25825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25826 echo "$as_me:$LINENO: checking for $ac_func" >&5
25827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25828 if eval "test \"\${$as_ac_var+set}\" = set"; then
25829   echo $ECHO_N "(cached) $ECHO_C" >&6
25830 else
25831   if test x$gcc_no_link = xyes; then
25832   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25833 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25834    { (exit 1); exit 1; }; }
25835 fi
25836 cat >conftest.$ac_ext <<_ACEOF
25837 /* confdefs.h.  */
25838 _ACEOF
25839 cat confdefs.h >>conftest.$ac_ext
25840 cat >>conftest.$ac_ext <<_ACEOF
25841 /* end confdefs.h.  */
25842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25843    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25844 #define $ac_func innocuous_$ac_func
25845
25846 /* System header to define __stub macros and hopefully few prototypes,
25847     which can conflict with char $ac_func (); below.
25848     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25849     <limits.h> exists even on freestanding compilers.  */
25850
25851 #ifdef __STDC__
25852 # include <limits.h>
25853 #else
25854 # include <assert.h>
25855 #endif
25856
25857 #undef $ac_func
25858
25859 /* Override any gcc2 internal prototype to avoid an error.  */
25860 #ifdef __cplusplus
25861 extern "C"
25862 {
25863 #endif
25864 /* We use char because int might match the return type of a gcc2
25865    builtin and then its argument prototype would still apply.  */
25866 char $ac_func ();
25867 /* The GNU C library defines this for functions which it implements
25868     to always fail with ENOSYS.  Some functions are actually named
25869     something starting with __ and the normal name is an alias.  */
25870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25871 choke me
25872 #else
25873 char (*f) () = $ac_func;
25874 #endif
25875 #ifdef __cplusplus
25876 }
25877 #endif
25878
25879 int
25880 main ()
25881 {
25882 return f != $ac_func;
25883   ;
25884   return 0;
25885 }
25886 _ACEOF
25887 rm -f conftest.$ac_objext conftest$ac_exeext
25888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25889   (eval $ac_link) 2>conftest.er1
25890   ac_status=$?
25891   grep -v '^ *+' conftest.er1 >conftest.err
25892   rm -f conftest.er1
25893   cat conftest.err >&5
25894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25895   (exit $ac_status); } &&
25896          { ac_try='test -z "$ac_c_werror_flag"
25897                          || test ! -s conftest.err'
25898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25899   (eval $ac_try) 2>&5
25900   ac_status=$?
25901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25902   (exit $ac_status); }; } &&
25903          { ac_try='test -s conftest$ac_exeext'
25904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25905   (eval $ac_try) 2>&5
25906   ac_status=$?
25907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25908   (exit $ac_status); }; }; then
25909   eval "$as_ac_var=yes"
25910 else
25911   echo "$as_me: failed program was:" >&5
25912 sed 's/^/| /' conftest.$ac_ext >&5
25913
25914 eval "$as_ac_var=no"
25915 fi
25916 rm -f conftest.err conftest.$ac_objext \
25917       conftest$ac_exeext conftest.$ac_ext
25918 fi
25919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25920 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25921 if test `eval echo '${'$as_ac_var'}'` = yes; then
25922   cat >>confdefs.h <<_ACEOF
25923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25924 _ACEOF
25925
25926 fi
25927 done
25928
25929     fi
25930   fi
25931
25932
25933
25934
25935
25936
25937   echo "$as_me:$LINENO: checking for logf declaration" >&5
25938 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25939   if test x${glibcxx_cv_func_logf_use+set} != xset; then
25940     if test "${glibcxx_cv_func_logf_use+set}" = set; then
25941   echo $ECHO_N "(cached) $ECHO_C" >&6
25942 else
25943
25944
25945
25946       ac_ext=cc
25947 ac_cpp='$CXXCPP $CPPFLAGS'
25948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25951
25952       cat >conftest.$ac_ext <<_ACEOF
25953 /* confdefs.h.  */
25954 _ACEOF
25955 cat confdefs.h >>conftest.$ac_ext
25956 cat >>conftest.$ac_ext <<_ACEOF
25957 /* end confdefs.h.  */
25958 #include <math.h>
25959                       #ifdef HAVE_IEEEFP_H
25960                       #include <ieeefp.h>
25961                       #endif
25962
25963 int
25964 main ()
25965 {
25966  logf(0);
25967   ;
25968   return 0;
25969 }
25970 _ACEOF
25971 rm -f conftest.$ac_objext
25972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25973   (eval $ac_compile) 2>conftest.er1
25974   ac_status=$?
25975   grep -v '^ *+' conftest.er1 >conftest.err
25976   rm -f conftest.er1
25977   cat conftest.err >&5
25978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25979   (exit $ac_status); } &&
25980          { ac_try='test -z "$ac_cxx_werror_flag"
25981                          || test ! -s conftest.err'
25982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25983   (eval $ac_try) 2>&5
25984   ac_status=$?
25985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25986   (exit $ac_status); }; } &&
25987          { ac_try='test -s conftest.$ac_objext'
25988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25989   (eval $ac_try) 2>&5
25990   ac_status=$?
25991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25992   (exit $ac_status); }; }; then
25993   glibcxx_cv_func_logf_use=yes
25994 else
25995   echo "$as_me: failed program was:" >&5
25996 sed 's/^/| /' conftest.$ac_ext >&5
25997
25998 glibcxx_cv_func_logf_use=no
25999 fi
26000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26001       ac_ext=c
26002 ac_cpp='$CPP $CPPFLAGS'
26003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26006
26007
26008 fi
26009
26010   fi
26011   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
26012 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
26013
26014   if test x$glibcxx_cv_func_logf_use = x"yes"; then
26015
26016 for ac_func in logf
26017 do
26018 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26019 echo "$as_me:$LINENO: checking for $ac_func" >&5
26020 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26021 if eval "test \"\${$as_ac_var+set}\" = set"; then
26022   echo $ECHO_N "(cached) $ECHO_C" >&6
26023 else
26024   if test x$gcc_no_link = xyes; then
26025   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26026 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26027    { (exit 1); exit 1; }; }
26028 fi
26029 cat >conftest.$ac_ext <<_ACEOF
26030 /* confdefs.h.  */
26031 _ACEOF
26032 cat confdefs.h >>conftest.$ac_ext
26033 cat >>conftest.$ac_ext <<_ACEOF
26034 /* end confdefs.h.  */
26035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26036    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26037 #define $ac_func innocuous_$ac_func
26038
26039 /* System header to define __stub macros and hopefully few prototypes,
26040     which can conflict with char $ac_func (); below.
26041     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26042     <limits.h> exists even on freestanding compilers.  */
26043
26044 #ifdef __STDC__
26045 # include <limits.h>
26046 #else
26047 # include <assert.h>
26048 #endif
26049
26050 #undef $ac_func
26051
26052 /* Override any gcc2 internal prototype to avoid an error.  */
26053 #ifdef __cplusplus
26054 extern "C"
26055 {
26056 #endif
26057 /* We use char because int might match the return type of a gcc2
26058    builtin and then its argument prototype would still apply.  */
26059 char $ac_func ();
26060 /* The GNU C library defines this for functions which it implements
26061     to always fail with ENOSYS.  Some functions are actually named
26062     something starting with __ and the normal name is an alias.  */
26063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26064 choke me
26065 #else
26066 char (*f) () = $ac_func;
26067 #endif
26068 #ifdef __cplusplus
26069 }
26070 #endif
26071
26072 int
26073 main ()
26074 {
26075 return f != $ac_func;
26076   ;
26077   return 0;
26078 }
26079 _ACEOF
26080 rm -f conftest.$ac_objext conftest$ac_exeext
26081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26082   (eval $ac_link) 2>conftest.er1
26083   ac_status=$?
26084   grep -v '^ *+' conftest.er1 >conftest.err
26085   rm -f conftest.er1
26086   cat conftest.err >&5
26087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26088   (exit $ac_status); } &&
26089          { ac_try='test -z "$ac_c_werror_flag"
26090                          || test ! -s conftest.err'
26091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26092   (eval $ac_try) 2>&5
26093   ac_status=$?
26094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26095   (exit $ac_status); }; } &&
26096          { ac_try='test -s conftest$ac_exeext'
26097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26098   (eval $ac_try) 2>&5
26099   ac_status=$?
26100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26101   (exit $ac_status); }; }; then
26102   eval "$as_ac_var=yes"
26103 else
26104   echo "$as_me: failed program was:" >&5
26105 sed 's/^/| /' conftest.$ac_ext >&5
26106
26107 eval "$as_ac_var=no"
26108 fi
26109 rm -f conftest.err conftest.$ac_objext \
26110       conftest$ac_exeext conftest.$ac_ext
26111 fi
26112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26113 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26114 if test `eval echo '${'$as_ac_var'}'` = yes; then
26115   cat >>confdefs.h <<_ACEOF
26116 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26117 _ACEOF
26118
26119 fi
26120 done
26121
26122   else
26123
26124   echo "$as_me:$LINENO: checking for _logf declaration" >&5
26125 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
26126   if test x${glibcxx_cv_func__logf_use+set} != xset; then
26127     if test "${glibcxx_cv_func__logf_use+set}" = set; then
26128   echo $ECHO_N "(cached) $ECHO_C" >&6
26129 else
26130
26131
26132
26133       ac_ext=cc
26134 ac_cpp='$CXXCPP $CPPFLAGS'
26135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26138
26139       cat >conftest.$ac_ext <<_ACEOF
26140 /* confdefs.h.  */
26141 _ACEOF
26142 cat confdefs.h >>conftest.$ac_ext
26143 cat >>conftest.$ac_ext <<_ACEOF
26144 /* end confdefs.h.  */
26145 #include <math.h>
26146                       #ifdef HAVE_IEEEFP_H
26147                       #include <ieeefp.h>
26148                       #endif
26149
26150 int
26151 main ()
26152 {
26153  _logf(0);
26154   ;
26155   return 0;
26156 }
26157 _ACEOF
26158 rm -f conftest.$ac_objext
26159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26160   (eval $ac_compile) 2>conftest.er1
26161   ac_status=$?
26162   grep -v '^ *+' conftest.er1 >conftest.err
26163   rm -f conftest.er1
26164   cat conftest.err >&5
26165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26166   (exit $ac_status); } &&
26167          { ac_try='test -z "$ac_cxx_werror_flag"
26168                          || test ! -s conftest.err'
26169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26170   (eval $ac_try) 2>&5
26171   ac_status=$?
26172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26173   (exit $ac_status); }; } &&
26174          { ac_try='test -s conftest.$ac_objext'
26175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26176   (eval $ac_try) 2>&5
26177   ac_status=$?
26178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26179   (exit $ac_status); }; }; then
26180   glibcxx_cv_func__logf_use=yes
26181 else
26182   echo "$as_me: failed program was:" >&5
26183 sed 's/^/| /' conftest.$ac_ext >&5
26184
26185 glibcxx_cv_func__logf_use=no
26186 fi
26187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26188       ac_ext=c
26189 ac_cpp='$CPP $CPPFLAGS'
26190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26193
26194
26195 fi
26196
26197   fi
26198   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
26199 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
26200
26201     if test x$glibcxx_cv_func__logf_use = x"yes"; then
26202
26203 for ac_func in _logf
26204 do
26205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26206 echo "$as_me:$LINENO: checking for $ac_func" >&5
26207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26208 if eval "test \"\${$as_ac_var+set}\" = set"; then
26209   echo $ECHO_N "(cached) $ECHO_C" >&6
26210 else
26211   if test x$gcc_no_link = xyes; then
26212   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26214    { (exit 1); exit 1; }; }
26215 fi
26216 cat >conftest.$ac_ext <<_ACEOF
26217 /* confdefs.h.  */
26218 _ACEOF
26219 cat confdefs.h >>conftest.$ac_ext
26220 cat >>conftest.$ac_ext <<_ACEOF
26221 /* end confdefs.h.  */
26222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26223    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26224 #define $ac_func innocuous_$ac_func
26225
26226 /* System header to define __stub macros and hopefully few prototypes,
26227     which can conflict with char $ac_func (); below.
26228     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26229     <limits.h> exists even on freestanding compilers.  */
26230
26231 #ifdef __STDC__
26232 # include <limits.h>
26233 #else
26234 # include <assert.h>
26235 #endif
26236
26237 #undef $ac_func
26238
26239 /* Override any gcc2 internal prototype to avoid an error.  */
26240 #ifdef __cplusplus
26241 extern "C"
26242 {
26243 #endif
26244 /* We use char because int might match the return type of a gcc2
26245    builtin and then its argument prototype would still apply.  */
26246 char $ac_func ();
26247 /* The GNU C library defines this for functions which it implements
26248     to always fail with ENOSYS.  Some functions are actually named
26249     something starting with __ and the normal name is an alias.  */
26250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26251 choke me
26252 #else
26253 char (*f) () = $ac_func;
26254 #endif
26255 #ifdef __cplusplus
26256 }
26257 #endif
26258
26259 int
26260 main ()
26261 {
26262 return f != $ac_func;
26263   ;
26264   return 0;
26265 }
26266 _ACEOF
26267 rm -f conftest.$ac_objext conftest$ac_exeext
26268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26269   (eval $ac_link) 2>conftest.er1
26270   ac_status=$?
26271   grep -v '^ *+' conftest.er1 >conftest.err
26272   rm -f conftest.er1
26273   cat conftest.err >&5
26274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275   (exit $ac_status); } &&
26276          { ac_try='test -z "$ac_c_werror_flag"
26277                          || test ! -s conftest.err'
26278   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26279   (eval $ac_try) 2>&5
26280   ac_status=$?
26281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282   (exit $ac_status); }; } &&
26283          { ac_try='test -s conftest$ac_exeext'
26284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26285   (eval $ac_try) 2>&5
26286   ac_status=$?
26287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26288   (exit $ac_status); }; }; then
26289   eval "$as_ac_var=yes"
26290 else
26291   echo "$as_me: failed program was:" >&5
26292 sed 's/^/| /' conftest.$ac_ext >&5
26293
26294 eval "$as_ac_var=no"
26295 fi
26296 rm -f conftest.err conftest.$ac_objext \
26297       conftest$ac_exeext conftest.$ac_ext
26298 fi
26299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26301 if test `eval echo '${'$as_ac_var'}'` = yes; then
26302   cat >>confdefs.h <<_ACEOF
26303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26304 _ACEOF
26305
26306 fi
26307 done
26308
26309     fi
26310   fi
26311
26312
26313
26314
26315
26316
26317   echo "$as_me:$LINENO: checking for log10f declaration" >&5
26318 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
26319   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
26320     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
26321   echo $ECHO_N "(cached) $ECHO_C" >&6
26322 else
26323
26324
26325
26326       ac_ext=cc
26327 ac_cpp='$CXXCPP $CPPFLAGS'
26328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26331
26332       cat >conftest.$ac_ext <<_ACEOF
26333 /* confdefs.h.  */
26334 _ACEOF
26335 cat confdefs.h >>conftest.$ac_ext
26336 cat >>conftest.$ac_ext <<_ACEOF
26337 /* end confdefs.h.  */
26338 #include <math.h>
26339                       #ifdef HAVE_IEEEFP_H
26340                       #include <ieeefp.h>
26341                       #endif
26342
26343 int
26344 main ()
26345 {
26346  log10f(0);
26347   ;
26348   return 0;
26349 }
26350 _ACEOF
26351 rm -f conftest.$ac_objext
26352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26353   (eval $ac_compile) 2>conftest.er1
26354   ac_status=$?
26355   grep -v '^ *+' conftest.er1 >conftest.err
26356   rm -f conftest.er1
26357   cat conftest.err >&5
26358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26359   (exit $ac_status); } &&
26360          { ac_try='test -z "$ac_cxx_werror_flag"
26361                          || test ! -s conftest.err'
26362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26363   (eval $ac_try) 2>&5
26364   ac_status=$?
26365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366   (exit $ac_status); }; } &&
26367          { ac_try='test -s conftest.$ac_objext'
26368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26369   (eval $ac_try) 2>&5
26370   ac_status=$?
26371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372   (exit $ac_status); }; }; then
26373   glibcxx_cv_func_log10f_use=yes
26374 else
26375   echo "$as_me: failed program was:" >&5
26376 sed 's/^/| /' conftest.$ac_ext >&5
26377
26378 glibcxx_cv_func_log10f_use=no
26379 fi
26380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26381       ac_ext=c
26382 ac_cpp='$CPP $CPPFLAGS'
26383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26386
26387
26388 fi
26389
26390   fi
26391   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26392 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26393
26394   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26395
26396 for ac_func in log10f
26397 do
26398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26399 echo "$as_me:$LINENO: checking for $ac_func" >&5
26400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26401 if eval "test \"\${$as_ac_var+set}\" = set"; then
26402   echo $ECHO_N "(cached) $ECHO_C" >&6
26403 else
26404   if test x$gcc_no_link = xyes; then
26405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26407    { (exit 1); exit 1; }; }
26408 fi
26409 cat >conftest.$ac_ext <<_ACEOF
26410 /* confdefs.h.  */
26411 _ACEOF
26412 cat confdefs.h >>conftest.$ac_ext
26413 cat >>conftest.$ac_ext <<_ACEOF
26414 /* end confdefs.h.  */
26415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26416    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26417 #define $ac_func innocuous_$ac_func
26418
26419 /* System header to define __stub macros and hopefully few prototypes,
26420     which can conflict with char $ac_func (); below.
26421     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26422     <limits.h> exists even on freestanding compilers.  */
26423
26424 #ifdef __STDC__
26425 # include <limits.h>
26426 #else
26427 # include <assert.h>
26428 #endif
26429
26430 #undef $ac_func
26431
26432 /* Override any gcc2 internal prototype to avoid an error.  */
26433 #ifdef __cplusplus
26434 extern "C"
26435 {
26436 #endif
26437 /* We use char because int might match the return type of a gcc2
26438    builtin and then its argument prototype would still apply.  */
26439 char $ac_func ();
26440 /* The GNU C library defines this for functions which it implements
26441     to always fail with ENOSYS.  Some functions are actually named
26442     something starting with __ and the normal name is an alias.  */
26443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26444 choke me
26445 #else
26446 char (*f) () = $ac_func;
26447 #endif
26448 #ifdef __cplusplus
26449 }
26450 #endif
26451
26452 int
26453 main ()
26454 {
26455 return f != $ac_func;
26456   ;
26457   return 0;
26458 }
26459 _ACEOF
26460 rm -f conftest.$ac_objext conftest$ac_exeext
26461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26462   (eval $ac_link) 2>conftest.er1
26463   ac_status=$?
26464   grep -v '^ *+' conftest.er1 >conftest.err
26465   rm -f conftest.er1
26466   cat conftest.err >&5
26467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26468   (exit $ac_status); } &&
26469          { ac_try='test -z "$ac_c_werror_flag"
26470                          || test ! -s conftest.err'
26471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26472   (eval $ac_try) 2>&5
26473   ac_status=$?
26474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26475   (exit $ac_status); }; } &&
26476          { ac_try='test -s conftest$ac_exeext'
26477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26478   (eval $ac_try) 2>&5
26479   ac_status=$?
26480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481   (exit $ac_status); }; }; then
26482   eval "$as_ac_var=yes"
26483 else
26484   echo "$as_me: failed program was:" >&5
26485 sed 's/^/| /' conftest.$ac_ext >&5
26486
26487 eval "$as_ac_var=no"
26488 fi
26489 rm -f conftest.err conftest.$ac_objext \
26490       conftest$ac_exeext conftest.$ac_ext
26491 fi
26492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26494 if test `eval echo '${'$as_ac_var'}'` = yes; then
26495   cat >>confdefs.h <<_ACEOF
26496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26497 _ACEOF
26498
26499 fi
26500 done
26501
26502   else
26503
26504   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26505 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26506   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26507     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26508   echo $ECHO_N "(cached) $ECHO_C" >&6
26509 else
26510
26511
26512
26513       ac_ext=cc
26514 ac_cpp='$CXXCPP $CPPFLAGS'
26515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26518
26519       cat >conftest.$ac_ext <<_ACEOF
26520 /* confdefs.h.  */
26521 _ACEOF
26522 cat confdefs.h >>conftest.$ac_ext
26523 cat >>conftest.$ac_ext <<_ACEOF
26524 /* end confdefs.h.  */
26525 #include <math.h>
26526                       #ifdef HAVE_IEEEFP_H
26527                       #include <ieeefp.h>
26528                       #endif
26529
26530 int
26531 main ()
26532 {
26533  _log10f(0);
26534   ;
26535   return 0;
26536 }
26537 _ACEOF
26538 rm -f conftest.$ac_objext
26539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26540   (eval $ac_compile) 2>conftest.er1
26541   ac_status=$?
26542   grep -v '^ *+' conftest.er1 >conftest.err
26543   rm -f conftest.er1
26544   cat conftest.err >&5
26545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26546   (exit $ac_status); } &&
26547          { ac_try='test -z "$ac_cxx_werror_flag"
26548                          || test ! -s conftest.err'
26549   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26550   (eval $ac_try) 2>&5
26551   ac_status=$?
26552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26553   (exit $ac_status); }; } &&
26554          { ac_try='test -s conftest.$ac_objext'
26555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26556   (eval $ac_try) 2>&5
26557   ac_status=$?
26558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26559   (exit $ac_status); }; }; then
26560   glibcxx_cv_func__log10f_use=yes
26561 else
26562   echo "$as_me: failed program was:" >&5
26563 sed 's/^/| /' conftest.$ac_ext >&5
26564
26565 glibcxx_cv_func__log10f_use=no
26566 fi
26567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26568       ac_ext=c
26569 ac_cpp='$CPP $CPPFLAGS'
26570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26573
26574
26575 fi
26576
26577   fi
26578   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26579 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26580
26581     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26582
26583 for ac_func in _log10f
26584 do
26585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26586 echo "$as_me:$LINENO: checking for $ac_func" >&5
26587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26588 if eval "test \"\${$as_ac_var+set}\" = set"; then
26589   echo $ECHO_N "(cached) $ECHO_C" >&6
26590 else
26591   if test x$gcc_no_link = xyes; then
26592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26594    { (exit 1); exit 1; }; }
26595 fi
26596 cat >conftest.$ac_ext <<_ACEOF
26597 /* confdefs.h.  */
26598 _ACEOF
26599 cat confdefs.h >>conftest.$ac_ext
26600 cat >>conftest.$ac_ext <<_ACEOF
26601 /* end confdefs.h.  */
26602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26603    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26604 #define $ac_func innocuous_$ac_func
26605
26606 /* System header to define __stub macros and hopefully few prototypes,
26607     which can conflict with char $ac_func (); below.
26608     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26609     <limits.h> exists even on freestanding compilers.  */
26610
26611 #ifdef __STDC__
26612 # include <limits.h>
26613 #else
26614 # include <assert.h>
26615 #endif
26616
26617 #undef $ac_func
26618
26619 /* Override any gcc2 internal prototype to avoid an error.  */
26620 #ifdef __cplusplus
26621 extern "C"
26622 {
26623 #endif
26624 /* We use char because int might match the return type of a gcc2
26625    builtin and then its argument prototype would still apply.  */
26626 char $ac_func ();
26627 /* The GNU C library defines this for functions which it implements
26628     to always fail with ENOSYS.  Some functions are actually named
26629     something starting with __ and the normal name is an alias.  */
26630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26631 choke me
26632 #else
26633 char (*f) () = $ac_func;
26634 #endif
26635 #ifdef __cplusplus
26636 }
26637 #endif
26638
26639 int
26640 main ()
26641 {
26642 return f != $ac_func;
26643   ;
26644   return 0;
26645 }
26646 _ACEOF
26647 rm -f conftest.$ac_objext conftest$ac_exeext
26648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26649   (eval $ac_link) 2>conftest.er1
26650   ac_status=$?
26651   grep -v '^ *+' conftest.er1 >conftest.err
26652   rm -f conftest.er1
26653   cat conftest.err >&5
26654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26655   (exit $ac_status); } &&
26656          { ac_try='test -z "$ac_c_werror_flag"
26657                          || test ! -s conftest.err'
26658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26659   (eval $ac_try) 2>&5
26660   ac_status=$?
26661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662   (exit $ac_status); }; } &&
26663          { ac_try='test -s conftest$ac_exeext'
26664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26665   (eval $ac_try) 2>&5
26666   ac_status=$?
26667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26668   (exit $ac_status); }; }; then
26669   eval "$as_ac_var=yes"
26670 else
26671   echo "$as_me: failed program was:" >&5
26672 sed 's/^/| /' conftest.$ac_ext >&5
26673
26674 eval "$as_ac_var=no"
26675 fi
26676 rm -f conftest.err conftest.$ac_objext \
26677       conftest$ac_exeext conftest.$ac_ext
26678 fi
26679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26681 if test `eval echo '${'$as_ac_var'}'` = yes; then
26682   cat >>confdefs.h <<_ACEOF
26683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26684 _ACEOF
26685
26686 fi
26687 done
26688
26689     fi
26690   fi
26691
26692
26693
26694
26695
26696
26697   echo "$as_me:$LINENO: checking for modff declaration" >&5
26698 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26699   if test x${glibcxx_cv_func_modff_use+set} != xset; then
26700     if test "${glibcxx_cv_func_modff_use+set}" = set; then
26701   echo $ECHO_N "(cached) $ECHO_C" >&6
26702 else
26703
26704
26705
26706       ac_ext=cc
26707 ac_cpp='$CXXCPP $CPPFLAGS'
26708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26711
26712       cat >conftest.$ac_ext <<_ACEOF
26713 /* confdefs.h.  */
26714 _ACEOF
26715 cat confdefs.h >>conftest.$ac_ext
26716 cat >>conftest.$ac_ext <<_ACEOF
26717 /* end confdefs.h.  */
26718 #include <math.h>
26719 int
26720 main ()
26721 {
26722  modff(0, 0);
26723   ;
26724   return 0;
26725 }
26726 _ACEOF
26727 rm -f conftest.$ac_objext
26728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26729   (eval $ac_compile) 2>conftest.er1
26730   ac_status=$?
26731   grep -v '^ *+' conftest.er1 >conftest.err
26732   rm -f conftest.er1
26733   cat conftest.err >&5
26734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735   (exit $ac_status); } &&
26736          { ac_try='test -z "$ac_cxx_werror_flag"
26737                          || test ! -s conftest.err'
26738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26739   (eval $ac_try) 2>&5
26740   ac_status=$?
26741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26742   (exit $ac_status); }; } &&
26743          { ac_try='test -s conftest.$ac_objext'
26744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26745   (eval $ac_try) 2>&5
26746   ac_status=$?
26747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26748   (exit $ac_status); }; }; then
26749   glibcxx_cv_func_modff_use=yes
26750 else
26751   echo "$as_me: failed program was:" >&5
26752 sed 's/^/| /' conftest.$ac_ext >&5
26753
26754 glibcxx_cv_func_modff_use=no
26755 fi
26756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26757       ac_ext=c
26758 ac_cpp='$CPP $CPPFLAGS'
26759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26762
26763
26764 fi
26765
26766   fi
26767   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26768 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26769
26770   if test x$glibcxx_cv_func_modff_use = x"yes"; then
26771
26772 for ac_func in modff
26773 do
26774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26775 echo "$as_me:$LINENO: checking for $ac_func" >&5
26776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26777 if eval "test \"\${$as_ac_var+set}\" = set"; then
26778   echo $ECHO_N "(cached) $ECHO_C" >&6
26779 else
26780   if test x$gcc_no_link = xyes; then
26781   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26783    { (exit 1); exit 1; }; }
26784 fi
26785 cat >conftest.$ac_ext <<_ACEOF
26786 /* confdefs.h.  */
26787 _ACEOF
26788 cat confdefs.h >>conftest.$ac_ext
26789 cat >>conftest.$ac_ext <<_ACEOF
26790 /* end confdefs.h.  */
26791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26792    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26793 #define $ac_func innocuous_$ac_func
26794
26795 /* System header to define __stub macros and hopefully few prototypes,
26796     which can conflict with char $ac_func (); below.
26797     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26798     <limits.h> exists even on freestanding compilers.  */
26799
26800 #ifdef __STDC__
26801 # include <limits.h>
26802 #else
26803 # include <assert.h>
26804 #endif
26805
26806 #undef $ac_func
26807
26808 /* Override any gcc2 internal prototype to avoid an error.  */
26809 #ifdef __cplusplus
26810 extern "C"
26811 {
26812 #endif
26813 /* We use char because int might match the return type of a gcc2
26814    builtin and then its argument prototype would still apply.  */
26815 char $ac_func ();
26816 /* The GNU C library defines this for functions which it implements
26817     to always fail with ENOSYS.  Some functions are actually named
26818     something starting with __ and the normal name is an alias.  */
26819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26820 choke me
26821 #else
26822 char (*f) () = $ac_func;
26823 #endif
26824 #ifdef __cplusplus
26825 }
26826 #endif
26827
26828 int
26829 main ()
26830 {
26831 return f != $ac_func;
26832   ;
26833   return 0;
26834 }
26835 _ACEOF
26836 rm -f conftest.$ac_objext conftest$ac_exeext
26837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26838   (eval $ac_link) 2>conftest.er1
26839   ac_status=$?
26840   grep -v '^ *+' conftest.er1 >conftest.err
26841   rm -f conftest.er1
26842   cat conftest.err >&5
26843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26844   (exit $ac_status); } &&
26845          { ac_try='test -z "$ac_c_werror_flag"
26846                          || test ! -s conftest.err'
26847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26848   (eval $ac_try) 2>&5
26849   ac_status=$?
26850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26851   (exit $ac_status); }; } &&
26852          { ac_try='test -s conftest$ac_exeext'
26853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26854   (eval $ac_try) 2>&5
26855   ac_status=$?
26856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857   (exit $ac_status); }; }; then
26858   eval "$as_ac_var=yes"
26859 else
26860   echo "$as_me: failed program was:" >&5
26861 sed 's/^/| /' conftest.$ac_ext >&5
26862
26863 eval "$as_ac_var=no"
26864 fi
26865 rm -f conftest.err conftest.$ac_objext \
26866       conftest$ac_exeext conftest.$ac_ext
26867 fi
26868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26870 if test `eval echo '${'$as_ac_var'}'` = yes; then
26871   cat >>confdefs.h <<_ACEOF
26872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26873 _ACEOF
26874
26875 fi
26876 done
26877
26878   else
26879
26880   echo "$as_me:$LINENO: checking for _modff declaration" >&5
26881 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26882   if test x${glibcxx_cv_func__modff_use+set} != xset; then
26883     if test "${glibcxx_cv_func__modff_use+set}" = set; then
26884   echo $ECHO_N "(cached) $ECHO_C" >&6
26885 else
26886
26887
26888
26889       ac_ext=cc
26890 ac_cpp='$CXXCPP $CPPFLAGS'
26891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26894
26895       cat >conftest.$ac_ext <<_ACEOF
26896 /* confdefs.h.  */
26897 _ACEOF
26898 cat confdefs.h >>conftest.$ac_ext
26899 cat >>conftest.$ac_ext <<_ACEOF
26900 /* end confdefs.h.  */
26901 #include <math.h>
26902 int
26903 main ()
26904 {
26905  _modff(0, 0);
26906   ;
26907   return 0;
26908 }
26909 _ACEOF
26910 rm -f conftest.$ac_objext
26911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26912   (eval $ac_compile) 2>conftest.er1
26913   ac_status=$?
26914   grep -v '^ *+' conftest.er1 >conftest.err
26915   rm -f conftest.er1
26916   cat conftest.err >&5
26917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26918   (exit $ac_status); } &&
26919          { ac_try='test -z "$ac_cxx_werror_flag"
26920                          || test ! -s conftest.err'
26921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26922   (eval $ac_try) 2>&5
26923   ac_status=$?
26924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26925   (exit $ac_status); }; } &&
26926          { ac_try='test -s conftest.$ac_objext'
26927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26928   (eval $ac_try) 2>&5
26929   ac_status=$?
26930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26931   (exit $ac_status); }; }; then
26932   glibcxx_cv_func__modff_use=yes
26933 else
26934   echo "$as_me: failed program was:" >&5
26935 sed 's/^/| /' conftest.$ac_ext >&5
26936
26937 glibcxx_cv_func__modff_use=no
26938 fi
26939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26940       ac_ext=c
26941 ac_cpp='$CPP $CPPFLAGS'
26942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26945
26946
26947 fi
26948
26949   fi
26950   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26951 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26952
26953     if test x$glibcxx_cv_func__modff_use = x"yes"; then
26954
26955 for ac_func in _modff
26956 do
26957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26958 echo "$as_me:$LINENO: checking for $ac_func" >&5
26959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26960 if eval "test \"\${$as_ac_var+set}\" = set"; then
26961   echo $ECHO_N "(cached) $ECHO_C" >&6
26962 else
26963   if test x$gcc_no_link = xyes; then
26964   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26966    { (exit 1); exit 1; }; }
26967 fi
26968 cat >conftest.$ac_ext <<_ACEOF
26969 /* confdefs.h.  */
26970 _ACEOF
26971 cat confdefs.h >>conftest.$ac_ext
26972 cat >>conftest.$ac_ext <<_ACEOF
26973 /* end confdefs.h.  */
26974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26975    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26976 #define $ac_func innocuous_$ac_func
26977
26978 /* System header to define __stub macros and hopefully few prototypes,
26979     which can conflict with char $ac_func (); below.
26980     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26981     <limits.h> exists even on freestanding compilers.  */
26982
26983 #ifdef __STDC__
26984 # include <limits.h>
26985 #else
26986 # include <assert.h>
26987 #endif
26988
26989 #undef $ac_func
26990
26991 /* Override any gcc2 internal prototype to avoid an error.  */
26992 #ifdef __cplusplus
26993 extern "C"
26994 {
26995 #endif
26996 /* We use char because int might match the return type of a gcc2
26997    builtin and then its argument prototype would still apply.  */
26998 char $ac_func ();
26999 /* The GNU C library defines this for functions which it implements
27000     to always fail with ENOSYS.  Some functions are actually named
27001     something starting with __ and the normal name is an alias.  */
27002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27003 choke me
27004 #else
27005 char (*f) () = $ac_func;
27006 #endif
27007 #ifdef __cplusplus
27008 }
27009 #endif
27010
27011 int
27012 main ()
27013 {
27014 return f != $ac_func;
27015   ;
27016   return 0;
27017 }
27018 _ACEOF
27019 rm -f conftest.$ac_objext conftest$ac_exeext
27020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27021   (eval $ac_link) 2>conftest.er1
27022   ac_status=$?
27023   grep -v '^ *+' conftest.er1 >conftest.err
27024   rm -f conftest.er1
27025   cat conftest.err >&5
27026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27027   (exit $ac_status); } &&
27028          { ac_try='test -z "$ac_c_werror_flag"
27029                          || test ! -s conftest.err'
27030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27031   (eval $ac_try) 2>&5
27032   ac_status=$?
27033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034   (exit $ac_status); }; } &&
27035          { ac_try='test -s conftest$ac_exeext'
27036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27037   (eval $ac_try) 2>&5
27038   ac_status=$?
27039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040   (exit $ac_status); }; }; then
27041   eval "$as_ac_var=yes"
27042 else
27043   echo "$as_me: failed program was:" >&5
27044 sed 's/^/| /' conftest.$ac_ext >&5
27045
27046 eval "$as_ac_var=no"
27047 fi
27048 rm -f conftest.err conftest.$ac_objext \
27049       conftest$ac_exeext conftest.$ac_ext
27050 fi
27051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27053 if test `eval echo '${'$as_ac_var'}'` = yes; then
27054   cat >>confdefs.h <<_ACEOF
27055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27056 _ACEOF
27057
27058 fi
27059 done
27060
27061     fi
27062   fi
27063
27064
27065
27066
27067
27068
27069   echo "$as_me:$LINENO: checking for modf declaration" >&5
27070 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
27071   if test x${glibcxx_cv_func_modf_use+set} != xset; then
27072     if test "${glibcxx_cv_func_modf_use+set}" = set; then
27073   echo $ECHO_N "(cached) $ECHO_C" >&6
27074 else
27075
27076
27077
27078       ac_ext=cc
27079 ac_cpp='$CXXCPP $CPPFLAGS'
27080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27083
27084       cat >conftest.$ac_ext <<_ACEOF
27085 /* confdefs.h.  */
27086 _ACEOF
27087 cat confdefs.h >>conftest.$ac_ext
27088 cat >>conftest.$ac_ext <<_ACEOF
27089 /* end confdefs.h.  */
27090 #include <math.h>
27091 int
27092 main ()
27093 {
27094  modf(0, 0);
27095   ;
27096   return 0;
27097 }
27098 _ACEOF
27099 rm -f conftest.$ac_objext
27100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27101   (eval $ac_compile) 2>conftest.er1
27102   ac_status=$?
27103   grep -v '^ *+' conftest.er1 >conftest.err
27104   rm -f conftest.er1
27105   cat conftest.err >&5
27106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27107   (exit $ac_status); } &&
27108          { ac_try='test -z "$ac_cxx_werror_flag"
27109                          || test ! -s conftest.err'
27110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27111   (eval $ac_try) 2>&5
27112   ac_status=$?
27113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27114   (exit $ac_status); }; } &&
27115          { ac_try='test -s conftest.$ac_objext'
27116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27117   (eval $ac_try) 2>&5
27118   ac_status=$?
27119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120   (exit $ac_status); }; }; then
27121   glibcxx_cv_func_modf_use=yes
27122 else
27123   echo "$as_me: failed program was:" >&5
27124 sed 's/^/| /' conftest.$ac_ext >&5
27125
27126 glibcxx_cv_func_modf_use=no
27127 fi
27128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27129       ac_ext=c
27130 ac_cpp='$CPP $CPPFLAGS'
27131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27134
27135
27136 fi
27137
27138   fi
27139   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
27140 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
27141
27142   if test x$glibcxx_cv_func_modf_use = x"yes"; then
27143
27144 for ac_func in modf
27145 do
27146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27147 echo "$as_me:$LINENO: checking for $ac_func" >&5
27148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27149 if eval "test \"\${$as_ac_var+set}\" = set"; then
27150   echo $ECHO_N "(cached) $ECHO_C" >&6
27151 else
27152   if test x$gcc_no_link = xyes; then
27153   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27155    { (exit 1); exit 1; }; }
27156 fi
27157 cat >conftest.$ac_ext <<_ACEOF
27158 /* confdefs.h.  */
27159 _ACEOF
27160 cat confdefs.h >>conftest.$ac_ext
27161 cat >>conftest.$ac_ext <<_ACEOF
27162 /* end confdefs.h.  */
27163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27164    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27165 #define $ac_func innocuous_$ac_func
27166
27167 /* System header to define __stub macros and hopefully few prototypes,
27168     which can conflict with char $ac_func (); below.
27169     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27170     <limits.h> exists even on freestanding compilers.  */
27171
27172 #ifdef __STDC__
27173 # include <limits.h>
27174 #else
27175 # include <assert.h>
27176 #endif
27177
27178 #undef $ac_func
27179
27180 /* Override any gcc2 internal prototype to avoid an error.  */
27181 #ifdef __cplusplus
27182 extern "C"
27183 {
27184 #endif
27185 /* We use char because int might match the return type of a gcc2
27186    builtin and then its argument prototype would still apply.  */
27187 char $ac_func ();
27188 /* The GNU C library defines this for functions which it implements
27189     to always fail with ENOSYS.  Some functions are actually named
27190     something starting with __ and the normal name is an alias.  */
27191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27192 choke me
27193 #else
27194 char (*f) () = $ac_func;
27195 #endif
27196 #ifdef __cplusplus
27197 }
27198 #endif
27199
27200 int
27201 main ()
27202 {
27203 return f != $ac_func;
27204   ;
27205   return 0;
27206 }
27207 _ACEOF
27208 rm -f conftest.$ac_objext conftest$ac_exeext
27209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27210   (eval $ac_link) 2>conftest.er1
27211   ac_status=$?
27212   grep -v '^ *+' conftest.er1 >conftest.err
27213   rm -f conftest.er1
27214   cat conftest.err >&5
27215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216   (exit $ac_status); } &&
27217          { ac_try='test -z "$ac_c_werror_flag"
27218                          || test ! -s conftest.err'
27219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27220   (eval $ac_try) 2>&5
27221   ac_status=$?
27222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27223   (exit $ac_status); }; } &&
27224          { ac_try='test -s conftest$ac_exeext'
27225   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27226   (eval $ac_try) 2>&5
27227   ac_status=$?
27228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27229   (exit $ac_status); }; }; then
27230   eval "$as_ac_var=yes"
27231 else
27232   echo "$as_me: failed program was:" >&5
27233 sed 's/^/| /' conftest.$ac_ext >&5
27234
27235 eval "$as_ac_var=no"
27236 fi
27237 rm -f conftest.err conftest.$ac_objext \
27238       conftest$ac_exeext conftest.$ac_ext
27239 fi
27240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27242 if test `eval echo '${'$as_ac_var'}'` = yes; then
27243   cat >>confdefs.h <<_ACEOF
27244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27245 _ACEOF
27246
27247 fi
27248 done
27249
27250   else
27251
27252   echo "$as_me:$LINENO: checking for _modf declaration" >&5
27253 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
27254   if test x${glibcxx_cv_func__modf_use+set} != xset; then
27255     if test "${glibcxx_cv_func__modf_use+set}" = set; then
27256   echo $ECHO_N "(cached) $ECHO_C" >&6
27257 else
27258
27259
27260
27261       ac_ext=cc
27262 ac_cpp='$CXXCPP $CPPFLAGS'
27263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27266
27267       cat >conftest.$ac_ext <<_ACEOF
27268 /* confdefs.h.  */
27269 _ACEOF
27270 cat confdefs.h >>conftest.$ac_ext
27271 cat >>conftest.$ac_ext <<_ACEOF
27272 /* end confdefs.h.  */
27273 #include <math.h>
27274 int
27275 main ()
27276 {
27277  _modf(0, 0);
27278   ;
27279   return 0;
27280 }
27281 _ACEOF
27282 rm -f conftest.$ac_objext
27283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27284   (eval $ac_compile) 2>conftest.er1
27285   ac_status=$?
27286   grep -v '^ *+' conftest.er1 >conftest.err
27287   rm -f conftest.er1
27288   cat conftest.err >&5
27289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290   (exit $ac_status); } &&
27291          { ac_try='test -z "$ac_cxx_werror_flag"
27292                          || test ! -s conftest.err'
27293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294   (eval $ac_try) 2>&5
27295   ac_status=$?
27296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297   (exit $ac_status); }; } &&
27298          { ac_try='test -s conftest.$ac_objext'
27299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27300   (eval $ac_try) 2>&5
27301   ac_status=$?
27302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303   (exit $ac_status); }; }; then
27304   glibcxx_cv_func__modf_use=yes
27305 else
27306   echo "$as_me: failed program was:" >&5
27307 sed 's/^/| /' conftest.$ac_ext >&5
27308
27309 glibcxx_cv_func__modf_use=no
27310 fi
27311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27312       ac_ext=c
27313 ac_cpp='$CPP $CPPFLAGS'
27314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27317
27318
27319 fi
27320
27321   fi
27322   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27323 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
27324
27325     if test x$glibcxx_cv_func__modf_use = x"yes"; then
27326
27327 for ac_func in _modf
27328 do
27329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27330 echo "$as_me:$LINENO: checking for $ac_func" >&5
27331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27332 if eval "test \"\${$as_ac_var+set}\" = set"; then
27333   echo $ECHO_N "(cached) $ECHO_C" >&6
27334 else
27335   if test x$gcc_no_link = xyes; then
27336   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27338    { (exit 1); exit 1; }; }
27339 fi
27340 cat >conftest.$ac_ext <<_ACEOF
27341 /* confdefs.h.  */
27342 _ACEOF
27343 cat confdefs.h >>conftest.$ac_ext
27344 cat >>conftest.$ac_ext <<_ACEOF
27345 /* end confdefs.h.  */
27346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27347    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27348 #define $ac_func innocuous_$ac_func
27349
27350 /* System header to define __stub macros and hopefully few prototypes,
27351     which can conflict with char $ac_func (); below.
27352     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27353     <limits.h> exists even on freestanding compilers.  */
27354
27355 #ifdef __STDC__
27356 # include <limits.h>
27357 #else
27358 # include <assert.h>
27359 #endif
27360
27361 #undef $ac_func
27362
27363 /* Override any gcc2 internal prototype to avoid an error.  */
27364 #ifdef __cplusplus
27365 extern "C"
27366 {
27367 #endif
27368 /* We use char because int might match the return type of a gcc2
27369    builtin and then its argument prototype would still apply.  */
27370 char $ac_func ();
27371 /* The GNU C library defines this for functions which it implements
27372     to always fail with ENOSYS.  Some functions are actually named
27373     something starting with __ and the normal name is an alias.  */
27374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27375 choke me
27376 #else
27377 char (*f) () = $ac_func;
27378 #endif
27379 #ifdef __cplusplus
27380 }
27381 #endif
27382
27383 int
27384 main ()
27385 {
27386 return f != $ac_func;
27387   ;
27388   return 0;
27389 }
27390 _ACEOF
27391 rm -f conftest.$ac_objext conftest$ac_exeext
27392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27393   (eval $ac_link) 2>conftest.er1
27394   ac_status=$?
27395   grep -v '^ *+' conftest.er1 >conftest.err
27396   rm -f conftest.er1
27397   cat conftest.err >&5
27398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27399   (exit $ac_status); } &&
27400          { ac_try='test -z "$ac_c_werror_flag"
27401                          || test ! -s conftest.err'
27402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27403   (eval $ac_try) 2>&5
27404   ac_status=$?
27405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27406   (exit $ac_status); }; } &&
27407          { ac_try='test -s conftest$ac_exeext'
27408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27409   (eval $ac_try) 2>&5
27410   ac_status=$?
27411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27412   (exit $ac_status); }; }; then
27413   eval "$as_ac_var=yes"
27414 else
27415   echo "$as_me: failed program was:" >&5
27416 sed 's/^/| /' conftest.$ac_ext >&5
27417
27418 eval "$as_ac_var=no"
27419 fi
27420 rm -f conftest.err conftest.$ac_objext \
27421       conftest$ac_exeext conftest.$ac_ext
27422 fi
27423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27425 if test `eval echo '${'$as_ac_var'}'` = yes; then
27426   cat >>confdefs.h <<_ACEOF
27427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27428 _ACEOF
27429
27430 fi
27431 done
27432
27433     fi
27434   fi
27435
27436
27437
27438
27439
27440
27441   echo "$as_me:$LINENO: checking for powf declaration" >&5
27442 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27443   if test x${glibcxx_cv_func_powf_use+set} != xset; then
27444     if test "${glibcxx_cv_func_powf_use+set}" = set; then
27445   echo $ECHO_N "(cached) $ECHO_C" >&6
27446 else
27447
27448
27449
27450       ac_ext=cc
27451 ac_cpp='$CXXCPP $CPPFLAGS'
27452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27455
27456       cat >conftest.$ac_ext <<_ACEOF
27457 /* confdefs.h.  */
27458 _ACEOF
27459 cat confdefs.h >>conftest.$ac_ext
27460 cat >>conftest.$ac_ext <<_ACEOF
27461 /* end confdefs.h.  */
27462 #include <math.h>
27463 int
27464 main ()
27465 {
27466  powf(0, 0);
27467   ;
27468   return 0;
27469 }
27470 _ACEOF
27471 rm -f conftest.$ac_objext
27472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27473   (eval $ac_compile) 2>conftest.er1
27474   ac_status=$?
27475   grep -v '^ *+' conftest.er1 >conftest.err
27476   rm -f conftest.er1
27477   cat conftest.err >&5
27478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27479   (exit $ac_status); } &&
27480          { ac_try='test -z "$ac_cxx_werror_flag"
27481                          || test ! -s conftest.err'
27482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27483   (eval $ac_try) 2>&5
27484   ac_status=$?
27485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486   (exit $ac_status); }; } &&
27487          { ac_try='test -s conftest.$ac_objext'
27488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27489   (eval $ac_try) 2>&5
27490   ac_status=$?
27491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27492   (exit $ac_status); }; }; then
27493   glibcxx_cv_func_powf_use=yes
27494 else
27495   echo "$as_me: failed program was:" >&5
27496 sed 's/^/| /' conftest.$ac_ext >&5
27497
27498 glibcxx_cv_func_powf_use=no
27499 fi
27500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27501       ac_ext=c
27502 ac_cpp='$CPP $CPPFLAGS'
27503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27506
27507
27508 fi
27509
27510   fi
27511   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27512 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27513
27514   if test x$glibcxx_cv_func_powf_use = x"yes"; then
27515
27516 for ac_func in powf
27517 do
27518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27519 echo "$as_me:$LINENO: checking for $ac_func" >&5
27520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27521 if eval "test \"\${$as_ac_var+set}\" = set"; then
27522   echo $ECHO_N "(cached) $ECHO_C" >&6
27523 else
27524   if test x$gcc_no_link = xyes; then
27525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27527    { (exit 1); exit 1; }; }
27528 fi
27529 cat >conftest.$ac_ext <<_ACEOF
27530 /* confdefs.h.  */
27531 _ACEOF
27532 cat confdefs.h >>conftest.$ac_ext
27533 cat >>conftest.$ac_ext <<_ACEOF
27534 /* end confdefs.h.  */
27535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27536    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27537 #define $ac_func innocuous_$ac_func
27538
27539 /* System header to define __stub macros and hopefully few prototypes,
27540     which can conflict with char $ac_func (); below.
27541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27542     <limits.h> exists even on freestanding compilers.  */
27543
27544 #ifdef __STDC__
27545 # include <limits.h>
27546 #else
27547 # include <assert.h>
27548 #endif
27549
27550 #undef $ac_func
27551
27552 /* Override any gcc2 internal prototype to avoid an error.  */
27553 #ifdef __cplusplus
27554 extern "C"
27555 {
27556 #endif
27557 /* We use char because int might match the return type of a gcc2
27558    builtin and then its argument prototype would still apply.  */
27559 char $ac_func ();
27560 /* The GNU C library defines this for functions which it implements
27561     to always fail with ENOSYS.  Some functions are actually named
27562     something starting with __ and the normal name is an alias.  */
27563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27564 choke me
27565 #else
27566 char (*f) () = $ac_func;
27567 #endif
27568 #ifdef __cplusplus
27569 }
27570 #endif
27571
27572 int
27573 main ()
27574 {
27575 return f != $ac_func;
27576   ;
27577   return 0;
27578 }
27579 _ACEOF
27580 rm -f conftest.$ac_objext conftest$ac_exeext
27581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27582   (eval $ac_link) 2>conftest.er1
27583   ac_status=$?
27584   grep -v '^ *+' conftest.er1 >conftest.err
27585   rm -f conftest.er1
27586   cat conftest.err >&5
27587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27588   (exit $ac_status); } &&
27589          { ac_try='test -z "$ac_c_werror_flag"
27590                          || test ! -s conftest.err'
27591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27592   (eval $ac_try) 2>&5
27593   ac_status=$?
27594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595   (exit $ac_status); }; } &&
27596          { ac_try='test -s conftest$ac_exeext'
27597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27598   (eval $ac_try) 2>&5
27599   ac_status=$?
27600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27601   (exit $ac_status); }; }; then
27602   eval "$as_ac_var=yes"
27603 else
27604   echo "$as_me: failed program was:" >&5
27605 sed 's/^/| /' conftest.$ac_ext >&5
27606
27607 eval "$as_ac_var=no"
27608 fi
27609 rm -f conftest.err conftest.$ac_objext \
27610       conftest$ac_exeext conftest.$ac_ext
27611 fi
27612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27614 if test `eval echo '${'$as_ac_var'}'` = yes; then
27615   cat >>confdefs.h <<_ACEOF
27616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27617 _ACEOF
27618
27619 fi
27620 done
27621
27622   else
27623
27624   echo "$as_me:$LINENO: checking for _powf declaration" >&5
27625 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27626   if test x${glibcxx_cv_func__powf_use+set} != xset; then
27627     if test "${glibcxx_cv_func__powf_use+set}" = set; then
27628   echo $ECHO_N "(cached) $ECHO_C" >&6
27629 else
27630
27631
27632
27633       ac_ext=cc
27634 ac_cpp='$CXXCPP $CPPFLAGS'
27635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27638
27639       cat >conftest.$ac_ext <<_ACEOF
27640 /* confdefs.h.  */
27641 _ACEOF
27642 cat confdefs.h >>conftest.$ac_ext
27643 cat >>conftest.$ac_ext <<_ACEOF
27644 /* end confdefs.h.  */
27645 #include <math.h>
27646 int
27647 main ()
27648 {
27649  _powf(0, 0);
27650   ;
27651   return 0;
27652 }
27653 _ACEOF
27654 rm -f conftest.$ac_objext
27655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27656   (eval $ac_compile) 2>conftest.er1
27657   ac_status=$?
27658   grep -v '^ *+' conftest.er1 >conftest.err
27659   rm -f conftest.er1
27660   cat conftest.err >&5
27661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27662   (exit $ac_status); } &&
27663          { ac_try='test -z "$ac_cxx_werror_flag"
27664                          || test ! -s conftest.err'
27665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27666   (eval $ac_try) 2>&5
27667   ac_status=$?
27668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27669   (exit $ac_status); }; } &&
27670          { ac_try='test -s conftest.$ac_objext'
27671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27672   (eval $ac_try) 2>&5
27673   ac_status=$?
27674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27675   (exit $ac_status); }; }; then
27676   glibcxx_cv_func__powf_use=yes
27677 else
27678   echo "$as_me: failed program was:" >&5
27679 sed 's/^/| /' conftest.$ac_ext >&5
27680
27681 glibcxx_cv_func__powf_use=no
27682 fi
27683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27684       ac_ext=c
27685 ac_cpp='$CPP $CPPFLAGS'
27686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27689
27690
27691 fi
27692
27693   fi
27694   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27695 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27696
27697     if test x$glibcxx_cv_func__powf_use = x"yes"; then
27698
27699 for ac_func in _powf
27700 do
27701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27702 echo "$as_me:$LINENO: checking for $ac_func" >&5
27703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27704 if eval "test \"\${$as_ac_var+set}\" = set"; then
27705   echo $ECHO_N "(cached) $ECHO_C" >&6
27706 else
27707   if test x$gcc_no_link = xyes; then
27708   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27710    { (exit 1); exit 1; }; }
27711 fi
27712 cat >conftest.$ac_ext <<_ACEOF
27713 /* confdefs.h.  */
27714 _ACEOF
27715 cat confdefs.h >>conftest.$ac_ext
27716 cat >>conftest.$ac_ext <<_ACEOF
27717 /* end confdefs.h.  */
27718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27719    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27720 #define $ac_func innocuous_$ac_func
27721
27722 /* System header to define __stub macros and hopefully few prototypes,
27723     which can conflict with char $ac_func (); below.
27724     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27725     <limits.h> exists even on freestanding compilers.  */
27726
27727 #ifdef __STDC__
27728 # include <limits.h>
27729 #else
27730 # include <assert.h>
27731 #endif
27732
27733 #undef $ac_func
27734
27735 /* Override any gcc2 internal prototype to avoid an error.  */
27736 #ifdef __cplusplus
27737 extern "C"
27738 {
27739 #endif
27740 /* We use char because int might match the return type of a gcc2
27741    builtin and then its argument prototype would still apply.  */
27742 char $ac_func ();
27743 /* The GNU C library defines this for functions which it implements
27744     to always fail with ENOSYS.  Some functions are actually named
27745     something starting with __ and the normal name is an alias.  */
27746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27747 choke me
27748 #else
27749 char (*f) () = $ac_func;
27750 #endif
27751 #ifdef __cplusplus
27752 }
27753 #endif
27754
27755 int
27756 main ()
27757 {
27758 return f != $ac_func;
27759   ;
27760   return 0;
27761 }
27762 _ACEOF
27763 rm -f conftest.$ac_objext conftest$ac_exeext
27764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27765   (eval $ac_link) 2>conftest.er1
27766   ac_status=$?
27767   grep -v '^ *+' conftest.er1 >conftest.err
27768   rm -f conftest.er1
27769   cat conftest.err >&5
27770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771   (exit $ac_status); } &&
27772          { ac_try='test -z "$ac_c_werror_flag"
27773                          || test ! -s conftest.err'
27774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27775   (eval $ac_try) 2>&5
27776   ac_status=$?
27777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778   (exit $ac_status); }; } &&
27779          { ac_try='test -s conftest$ac_exeext'
27780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27781   (eval $ac_try) 2>&5
27782   ac_status=$?
27783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27784   (exit $ac_status); }; }; then
27785   eval "$as_ac_var=yes"
27786 else
27787   echo "$as_me: failed program was:" >&5
27788 sed 's/^/| /' conftest.$ac_ext >&5
27789
27790 eval "$as_ac_var=no"
27791 fi
27792 rm -f conftest.err conftest.$ac_objext \
27793       conftest$ac_exeext conftest.$ac_ext
27794 fi
27795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27797 if test `eval echo '${'$as_ac_var'}'` = yes; then
27798   cat >>confdefs.h <<_ACEOF
27799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27800 _ACEOF
27801
27802 fi
27803 done
27804
27805     fi
27806   fi
27807
27808
27809
27810
27811
27812
27813   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27814 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27815   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27816     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27817   echo $ECHO_N "(cached) $ECHO_C" >&6
27818 else
27819
27820
27821
27822       ac_ext=cc
27823 ac_cpp='$CXXCPP $CPPFLAGS'
27824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27827
27828       cat >conftest.$ac_ext <<_ACEOF
27829 /* confdefs.h.  */
27830 _ACEOF
27831 cat confdefs.h >>conftest.$ac_ext
27832 cat >>conftest.$ac_ext <<_ACEOF
27833 /* end confdefs.h.  */
27834 #include <math.h>
27835                       #ifdef HAVE_IEEEFP_H
27836                       #include <ieeefp.h>
27837                       #endif
27838
27839 int
27840 main ()
27841 {
27842  sqrtf(0);
27843   ;
27844   return 0;
27845 }
27846 _ACEOF
27847 rm -f conftest.$ac_objext
27848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27849   (eval $ac_compile) 2>conftest.er1
27850   ac_status=$?
27851   grep -v '^ *+' conftest.er1 >conftest.err
27852   rm -f conftest.er1
27853   cat conftest.err >&5
27854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27855   (exit $ac_status); } &&
27856          { ac_try='test -z "$ac_cxx_werror_flag"
27857                          || test ! -s conftest.err'
27858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27859   (eval $ac_try) 2>&5
27860   ac_status=$?
27861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27862   (exit $ac_status); }; } &&
27863          { ac_try='test -s conftest.$ac_objext'
27864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27865   (eval $ac_try) 2>&5
27866   ac_status=$?
27867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27868   (exit $ac_status); }; }; then
27869   glibcxx_cv_func_sqrtf_use=yes
27870 else
27871   echo "$as_me: failed program was:" >&5
27872 sed 's/^/| /' conftest.$ac_ext >&5
27873
27874 glibcxx_cv_func_sqrtf_use=no
27875 fi
27876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27877       ac_ext=c
27878 ac_cpp='$CPP $CPPFLAGS'
27879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27882
27883
27884 fi
27885
27886   fi
27887   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27888 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27889
27890   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27891
27892 for ac_func in sqrtf
27893 do
27894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27895 echo "$as_me:$LINENO: checking for $ac_func" >&5
27896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27897 if eval "test \"\${$as_ac_var+set}\" = set"; then
27898   echo $ECHO_N "(cached) $ECHO_C" >&6
27899 else
27900   if test x$gcc_no_link = xyes; then
27901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27903    { (exit 1); exit 1; }; }
27904 fi
27905 cat >conftest.$ac_ext <<_ACEOF
27906 /* confdefs.h.  */
27907 _ACEOF
27908 cat confdefs.h >>conftest.$ac_ext
27909 cat >>conftest.$ac_ext <<_ACEOF
27910 /* end confdefs.h.  */
27911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27912    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
27913 #define $ac_func innocuous_$ac_func
27914
27915 /* System header to define __stub macros and hopefully few prototypes,
27916     which can conflict with char $ac_func (); below.
27917     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27918     <limits.h> exists even on freestanding compilers.  */
27919
27920 #ifdef __STDC__
27921 # include <limits.h>
27922 #else
27923 # include <assert.h>
27924 #endif
27925
27926 #undef $ac_func
27927
27928 /* Override any gcc2 internal prototype to avoid an error.  */
27929 #ifdef __cplusplus
27930 extern "C"
27931 {
27932 #endif
27933 /* We use char because int might match the return type of a gcc2
27934    builtin and then its argument prototype would still apply.  */
27935 char $ac_func ();
27936 /* The GNU C library defines this for functions which it implements
27937     to always fail with ENOSYS.  Some functions are actually named
27938     something starting with __ and the normal name is an alias.  */
27939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27940 choke me
27941 #else
27942 char (*f) () = $ac_func;
27943 #endif
27944 #ifdef __cplusplus
27945 }
27946 #endif
27947
27948 int
27949 main ()
27950 {
27951 return f != $ac_func;
27952   ;
27953   return 0;
27954 }
27955 _ACEOF
27956 rm -f conftest.$ac_objext conftest$ac_exeext
27957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27958   (eval $ac_link) 2>conftest.er1
27959   ac_status=$?
27960   grep -v '^ *+' conftest.er1 >conftest.err
27961   rm -f conftest.er1
27962   cat conftest.err >&5
27963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27964   (exit $ac_status); } &&
27965          { ac_try='test -z "$ac_c_werror_flag"
27966                          || test ! -s conftest.err'
27967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27968   (eval $ac_try) 2>&5
27969   ac_status=$?
27970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27971   (exit $ac_status); }; } &&
27972          { ac_try='test -s conftest$ac_exeext'
27973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27974   (eval $ac_try) 2>&5
27975   ac_status=$?
27976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27977   (exit $ac_status); }; }; then
27978   eval "$as_ac_var=yes"
27979 else
27980   echo "$as_me: failed program was:" >&5
27981 sed 's/^/| /' conftest.$ac_ext >&5
27982
27983 eval "$as_ac_var=no"
27984 fi
27985 rm -f conftest.err conftest.$ac_objext \
27986       conftest$ac_exeext conftest.$ac_ext
27987 fi
27988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27990 if test `eval echo '${'$as_ac_var'}'` = yes; then
27991   cat >>confdefs.h <<_ACEOF
27992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27993 _ACEOF
27994
27995 fi
27996 done
27997
27998   else
27999
28000   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
28001 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
28002   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
28003     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
28004   echo $ECHO_N "(cached) $ECHO_C" >&6
28005 else
28006
28007
28008
28009       ac_ext=cc
28010 ac_cpp='$CXXCPP $CPPFLAGS'
28011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28014
28015       cat >conftest.$ac_ext <<_ACEOF
28016 /* confdefs.h.  */
28017 _ACEOF
28018 cat confdefs.h >>conftest.$ac_ext
28019 cat >>conftest.$ac_ext <<_ACEOF
28020 /* end confdefs.h.  */
28021 #include <math.h>
28022                       #ifdef HAVE_IEEEFP_H
28023                       #include <ieeefp.h>
28024                       #endif
28025
28026 int
28027 main ()
28028 {
28029  _sqrtf(0);
28030   ;
28031   return 0;
28032 }
28033 _ACEOF
28034 rm -f conftest.$ac_objext
28035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28036   (eval $ac_compile) 2>conftest.er1
28037   ac_status=$?
28038   grep -v '^ *+' conftest.er1 >conftest.err
28039   rm -f conftest.er1
28040   cat conftest.err >&5
28041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042   (exit $ac_status); } &&
28043          { ac_try='test -z "$ac_cxx_werror_flag"
28044                          || test ! -s conftest.err'
28045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28046   (eval $ac_try) 2>&5
28047   ac_status=$?
28048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28049   (exit $ac_status); }; } &&
28050          { ac_try='test -s conftest.$ac_objext'
28051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28052   (eval $ac_try) 2>&5
28053   ac_status=$?
28054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055   (exit $ac_status); }; }; then
28056   glibcxx_cv_func__sqrtf_use=yes
28057 else
28058   echo "$as_me: failed program was:" >&5
28059 sed 's/^/| /' conftest.$ac_ext >&5
28060
28061 glibcxx_cv_func__sqrtf_use=no
28062 fi
28063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28064       ac_ext=c
28065 ac_cpp='$CPP $CPPFLAGS'
28066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28069
28070
28071 fi
28072
28073   fi
28074   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
28075 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
28076
28077     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
28078
28079 for ac_func in _sqrtf
28080 do
28081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28082 echo "$as_me:$LINENO: checking for $ac_func" >&5
28083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28084 if eval "test \"\${$as_ac_var+set}\" = set"; then
28085   echo $ECHO_N "(cached) $ECHO_C" >&6
28086 else
28087   if test x$gcc_no_link = xyes; then
28088   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28090    { (exit 1); exit 1; }; }
28091 fi
28092 cat >conftest.$ac_ext <<_ACEOF
28093 /* confdefs.h.  */
28094 _ACEOF
28095 cat confdefs.h >>conftest.$ac_ext
28096 cat >>conftest.$ac_ext <<_ACEOF
28097 /* end confdefs.h.  */
28098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28099    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28100 #define $ac_func innocuous_$ac_func
28101
28102 /* System header to define __stub macros and hopefully few prototypes,
28103     which can conflict with char $ac_func (); below.
28104     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28105     <limits.h> exists even on freestanding compilers.  */
28106
28107 #ifdef __STDC__
28108 # include <limits.h>
28109 #else
28110 # include <assert.h>
28111 #endif
28112
28113 #undef $ac_func
28114
28115 /* Override any gcc2 internal prototype to avoid an error.  */
28116 #ifdef __cplusplus
28117 extern "C"
28118 {
28119 #endif
28120 /* We use char because int might match the return type of a gcc2
28121    builtin and then its argument prototype would still apply.  */
28122 char $ac_func ();
28123 /* The GNU C library defines this for functions which it implements
28124     to always fail with ENOSYS.  Some functions are actually named
28125     something starting with __ and the normal name is an alias.  */
28126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28127 choke me
28128 #else
28129 char (*f) () = $ac_func;
28130 #endif
28131 #ifdef __cplusplus
28132 }
28133 #endif
28134
28135 int
28136 main ()
28137 {
28138 return f != $ac_func;
28139   ;
28140   return 0;
28141 }
28142 _ACEOF
28143 rm -f conftest.$ac_objext conftest$ac_exeext
28144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28145   (eval $ac_link) 2>conftest.er1
28146   ac_status=$?
28147   grep -v '^ *+' conftest.er1 >conftest.err
28148   rm -f conftest.er1
28149   cat conftest.err >&5
28150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151   (exit $ac_status); } &&
28152          { ac_try='test -z "$ac_c_werror_flag"
28153                          || test ! -s conftest.err'
28154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28155   (eval $ac_try) 2>&5
28156   ac_status=$?
28157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158   (exit $ac_status); }; } &&
28159          { ac_try='test -s conftest$ac_exeext'
28160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28161   (eval $ac_try) 2>&5
28162   ac_status=$?
28163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28164   (exit $ac_status); }; }; then
28165   eval "$as_ac_var=yes"
28166 else
28167   echo "$as_me: failed program was:" >&5
28168 sed 's/^/| /' conftest.$ac_ext >&5
28169
28170 eval "$as_ac_var=no"
28171 fi
28172 rm -f conftest.err conftest.$ac_objext \
28173       conftest$ac_exeext conftest.$ac_ext
28174 fi
28175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28177 if test `eval echo '${'$as_ac_var'}'` = yes; then
28178   cat >>confdefs.h <<_ACEOF
28179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28180 _ACEOF
28181
28182 fi
28183 done
28184
28185     fi
28186   fi
28187
28188
28189
28190
28191
28192
28193   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
28194 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
28195   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
28196     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
28197   echo $ECHO_N "(cached) $ECHO_C" >&6
28198 else
28199
28200
28201
28202       ac_ext=cc
28203 ac_cpp='$CXXCPP $CPPFLAGS'
28204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28207
28208       cat >conftest.$ac_ext <<_ACEOF
28209 /* confdefs.h.  */
28210 _ACEOF
28211 cat confdefs.h >>conftest.$ac_ext
28212 cat >>conftest.$ac_ext <<_ACEOF
28213 /* end confdefs.h.  */
28214 #include <math.h>
28215 int
28216 main ()
28217 {
28218  sincosf(0, 0, 0);
28219   ;
28220   return 0;
28221 }
28222 _ACEOF
28223 rm -f conftest.$ac_objext
28224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28225   (eval $ac_compile) 2>conftest.er1
28226   ac_status=$?
28227   grep -v '^ *+' conftest.er1 >conftest.err
28228   rm -f conftest.er1
28229   cat conftest.err >&5
28230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231   (exit $ac_status); } &&
28232          { ac_try='test -z "$ac_cxx_werror_flag"
28233                          || test ! -s conftest.err'
28234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28235   (eval $ac_try) 2>&5
28236   ac_status=$?
28237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28238   (exit $ac_status); }; } &&
28239          { ac_try='test -s conftest.$ac_objext'
28240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28241   (eval $ac_try) 2>&5
28242   ac_status=$?
28243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28244   (exit $ac_status); }; }; then
28245   glibcxx_cv_func_sincosf_use=yes
28246 else
28247   echo "$as_me: failed program was:" >&5
28248 sed 's/^/| /' conftest.$ac_ext >&5
28249
28250 glibcxx_cv_func_sincosf_use=no
28251 fi
28252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28253       ac_ext=c
28254 ac_cpp='$CPP $CPPFLAGS'
28255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28258
28259
28260 fi
28261
28262   fi
28263   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
28264 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
28265
28266   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
28267
28268 for ac_func in sincosf
28269 do
28270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28271 echo "$as_me:$LINENO: checking for $ac_func" >&5
28272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28273 if eval "test \"\${$as_ac_var+set}\" = set"; then
28274   echo $ECHO_N "(cached) $ECHO_C" >&6
28275 else
28276   if test x$gcc_no_link = xyes; then
28277   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28279    { (exit 1); exit 1; }; }
28280 fi
28281 cat >conftest.$ac_ext <<_ACEOF
28282 /* confdefs.h.  */
28283 _ACEOF
28284 cat confdefs.h >>conftest.$ac_ext
28285 cat >>conftest.$ac_ext <<_ACEOF
28286 /* end confdefs.h.  */
28287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28288    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28289 #define $ac_func innocuous_$ac_func
28290
28291 /* System header to define __stub macros and hopefully few prototypes,
28292     which can conflict with char $ac_func (); below.
28293     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28294     <limits.h> exists even on freestanding compilers.  */
28295
28296 #ifdef __STDC__
28297 # include <limits.h>
28298 #else
28299 # include <assert.h>
28300 #endif
28301
28302 #undef $ac_func
28303
28304 /* Override any gcc2 internal prototype to avoid an error.  */
28305 #ifdef __cplusplus
28306 extern "C"
28307 {
28308 #endif
28309 /* We use char because int might match the return type of a gcc2
28310    builtin and then its argument prototype would still apply.  */
28311 char $ac_func ();
28312 /* The GNU C library defines this for functions which it implements
28313     to always fail with ENOSYS.  Some functions are actually named
28314     something starting with __ and the normal name is an alias.  */
28315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28316 choke me
28317 #else
28318 char (*f) () = $ac_func;
28319 #endif
28320 #ifdef __cplusplus
28321 }
28322 #endif
28323
28324 int
28325 main ()
28326 {
28327 return f != $ac_func;
28328   ;
28329   return 0;
28330 }
28331 _ACEOF
28332 rm -f conftest.$ac_objext conftest$ac_exeext
28333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28334   (eval $ac_link) 2>conftest.er1
28335   ac_status=$?
28336   grep -v '^ *+' conftest.er1 >conftest.err
28337   rm -f conftest.er1
28338   cat conftest.err >&5
28339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28340   (exit $ac_status); } &&
28341          { ac_try='test -z "$ac_c_werror_flag"
28342                          || test ! -s conftest.err'
28343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28344   (eval $ac_try) 2>&5
28345   ac_status=$?
28346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347   (exit $ac_status); }; } &&
28348          { ac_try='test -s conftest$ac_exeext'
28349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28350   (eval $ac_try) 2>&5
28351   ac_status=$?
28352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353   (exit $ac_status); }; }; then
28354   eval "$as_ac_var=yes"
28355 else
28356   echo "$as_me: failed program was:" >&5
28357 sed 's/^/| /' conftest.$ac_ext >&5
28358
28359 eval "$as_ac_var=no"
28360 fi
28361 rm -f conftest.err conftest.$ac_objext \
28362       conftest$ac_exeext conftest.$ac_ext
28363 fi
28364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28366 if test `eval echo '${'$as_ac_var'}'` = yes; then
28367   cat >>confdefs.h <<_ACEOF
28368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28369 _ACEOF
28370
28371 fi
28372 done
28373
28374   else
28375
28376   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28377 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
28378   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28379     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28380   echo $ECHO_N "(cached) $ECHO_C" >&6
28381 else
28382
28383
28384
28385       ac_ext=cc
28386 ac_cpp='$CXXCPP $CPPFLAGS'
28387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28390
28391       cat >conftest.$ac_ext <<_ACEOF
28392 /* confdefs.h.  */
28393 _ACEOF
28394 cat confdefs.h >>conftest.$ac_ext
28395 cat >>conftest.$ac_ext <<_ACEOF
28396 /* end confdefs.h.  */
28397 #include <math.h>
28398 int
28399 main ()
28400 {
28401  _sincosf(0, 0, 0);
28402   ;
28403   return 0;
28404 }
28405 _ACEOF
28406 rm -f conftest.$ac_objext
28407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28408   (eval $ac_compile) 2>conftest.er1
28409   ac_status=$?
28410   grep -v '^ *+' conftest.er1 >conftest.err
28411   rm -f conftest.er1
28412   cat conftest.err >&5
28413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28414   (exit $ac_status); } &&
28415          { ac_try='test -z "$ac_cxx_werror_flag"
28416                          || test ! -s conftest.err'
28417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28418   (eval $ac_try) 2>&5
28419   ac_status=$?
28420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421   (exit $ac_status); }; } &&
28422          { ac_try='test -s conftest.$ac_objext'
28423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28424   (eval $ac_try) 2>&5
28425   ac_status=$?
28426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427   (exit $ac_status); }; }; then
28428   glibcxx_cv_func__sincosf_use=yes
28429 else
28430   echo "$as_me: failed program was:" >&5
28431 sed 's/^/| /' conftest.$ac_ext >&5
28432
28433 glibcxx_cv_func__sincosf_use=no
28434 fi
28435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28436       ac_ext=c
28437 ac_cpp='$CPP $CPPFLAGS'
28438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28441
28442
28443 fi
28444
28445   fi
28446   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28447 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28448
28449     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28450
28451 for ac_func in _sincosf
28452 do
28453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28454 echo "$as_me:$LINENO: checking for $ac_func" >&5
28455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28456 if eval "test \"\${$as_ac_var+set}\" = set"; then
28457   echo $ECHO_N "(cached) $ECHO_C" >&6
28458 else
28459   if test x$gcc_no_link = xyes; then
28460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28462    { (exit 1); exit 1; }; }
28463 fi
28464 cat >conftest.$ac_ext <<_ACEOF
28465 /* confdefs.h.  */
28466 _ACEOF
28467 cat confdefs.h >>conftest.$ac_ext
28468 cat >>conftest.$ac_ext <<_ACEOF
28469 /* end confdefs.h.  */
28470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28471    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28472 #define $ac_func innocuous_$ac_func
28473
28474 /* System header to define __stub macros and hopefully few prototypes,
28475     which can conflict with char $ac_func (); below.
28476     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28477     <limits.h> exists even on freestanding compilers.  */
28478
28479 #ifdef __STDC__
28480 # include <limits.h>
28481 #else
28482 # include <assert.h>
28483 #endif
28484
28485 #undef $ac_func
28486
28487 /* Override any gcc2 internal prototype to avoid an error.  */
28488 #ifdef __cplusplus
28489 extern "C"
28490 {
28491 #endif
28492 /* We use char because int might match the return type of a gcc2
28493    builtin and then its argument prototype would still apply.  */
28494 char $ac_func ();
28495 /* The GNU C library defines this for functions which it implements
28496     to always fail with ENOSYS.  Some functions are actually named
28497     something starting with __ and the normal name is an alias.  */
28498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28499 choke me
28500 #else
28501 char (*f) () = $ac_func;
28502 #endif
28503 #ifdef __cplusplus
28504 }
28505 #endif
28506
28507 int
28508 main ()
28509 {
28510 return f != $ac_func;
28511   ;
28512   return 0;
28513 }
28514 _ACEOF
28515 rm -f conftest.$ac_objext conftest$ac_exeext
28516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28517   (eval $ac_link) 2>conftest.er1
28518   ac_status=$?
28519   grep -v '^ *+' conftest.er1 >conftest.err
28520   rm -f conftest.er1
28521   cat conftest.err >&5
28522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28523   (exit $ac_status); } &&
28524          { ac_try='test -z "$ac_c_werror_flag"
28525                          || test ! -s conftest.err'
28526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28527   (eval $ac_try) 2>&5
28528   ac_status=$?
28529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530   (exit $ac_status); }; } &&
28531          { ac_try='test -s conftest$ac_exeext'
28532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28533   (eval $ac_try) 2>&5
28534   ac_status=$?
28535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28536   (exit $ac_status); }; }; then
28537   eval "$as_ac_var=yes"
28538 else
28539   echo "$as_me: failed program was:" >&5
28540 sed 's/^/| /' conftest.$ac_ext >&5
28541
28542 eval "$as_ac_var=no"
28543 fi
28544 rm -f conftest.err conftest.$ac_objext \
28545       conftest$ac_exeext conftest.$ac_ext
28546 fi
28547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28549 if test `eval echo '${'$as_ac_var'}'` = yes; then
28550   cat >>confdefs.h <<_ACEOF
28551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28552 _ACEOF
28553
28554 fi
28555 done
28556
28557     fi
28558   fi
28559
28560
28561
28562
28563
28564
28565   echo "$as_me:$LINENO: checking for finitef declaration" >&5
28566 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28567   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28568     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28569   echo $ECHO_N "(cached) $ECHO_C" >&6
28570 else
28571
28572
28573
28574       ac_ext=cc
28575 ac_cpp='$CXXCPP $CPPFLAGS'
28576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28579
28580       cat >conftest.$ac_ext <<_ACEOF
28581 /* confdefs.h.  */
28582 _ACEOF
28583 cat confdefs.h >>conftest.$ac_ext
28584 cat >>conftest.$ac_ext <<_ACEOF
28585 /* end confdefs.h.  */
28586 #include <math.h>
28587                       #ifdef HAVE_IEEEFP_H
28588                       #include <ieeefp.h>
28589                       #endif
28590
28591 int
28592 main ()
28593 {
28594  finitef(0);
28595   ;
28596   return 0;
28597 }
28598 _ACEOF
28599 rm -f conftest.$ac_objext
28600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28601   (eval $ac_compile) 2>conftest.er1
28602   ac_status=$?
28603   grep -v '^ *+' conftest.er1 >conftest.err
28604   rm -f conftest.er1
28605   cat conftest.err >&5
28606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607   (exit $ac_status); } &&
28608          { ac_try='test -z "$ac_cxx_werror_flag"
28609                          || test ! -s conftest.err'
28610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28611   (eval $ac_try) 2>&5
28612   ac_status=$?
28613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614   (exit $ac_status); }; } &&
28615          { ac_try='test -s conftest.$ac_objext'
28616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28617   (eval $ac_try) 2>&5
28618   ac_status=$?
28619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620   (exit $ac_status); }; }; then
28621   glibcxx_cv_func_finitef_use=yes
28622 else
28623   echo "$as_me: failed program was:" >&5
28624 sed 's/^/| /' conftest.$ac_ext >&5
28625
28626 glibcxx_cv_func_finitef_use=no
28627 fi
28628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28629       ac_ext=c
28630 ac_cpp='$CPP $CPPFLAGS'
28631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28634
28635
28636 fi
28637
28638   fi
28639   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28640 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28641
28642   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28643
28644 for ac_func in finitef
28645 do
28646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28647 echo "$as_me:$LINENO: checking for $ac_func" >&5
28648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28649 if eval "test \"\${$as_ac_var+set}\" = set"; then
28650   echo $ECHO_N "(cached) $ECHO_C" >&6
28651 else
28652   if test x$gcc_no_link = xyes; then
28653   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28655    { (exit 1); exit 1; }; }
28656 fi
28657 cat >conftest.$ac_ext <<_ACEOF
28658 /* confdefs.h.  */
28659 _ACEOF
28660 cat confdefs.h >>conftest.$ac_ext
28661 cat >>conftest.$ac_ext <<_ACEOF
28662 /* end confdefs.h.  */
28663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28664    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28665 #define $ac_func innocuous_$ac_func
28666
28667 /* System header to define __stub macros and hopefully few prototypes,
28668     which can conflict with char $ac_func (); below.
28669     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28670     <limits.h> exists even on freestanding compilers.  */
28671
28672 #ifdef __STDC__
28673 # include <limits.h>
28674 #else
28675 # include <assert.h>
28676 #endif
28677
28678 #undef $ac_func
28679
28680 /* Override any gcc2 internal prototype to avoid an error.  */
28681 #ifdef __cplusplus
28682 extern "C"
28683 {
28684 #endif
28685 /* We use char because int might match the return type of a gcc2
28686    builtin and then its argument prototype would still apply.  */
28687 char $ac_func ();
28688 /* The GNU C library defines this for functions which it implements
28689     to always fail with ENOSYS.  Some functions are actually named
28690     something starting with __ and the normal name is an alias.  */
28691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28692 choke me
28693 #else
28694 char (*f) () = $ac_func;
28695 #endif
28696 #ifdef __cplusplus
28697 }
28698 #endif
28699
28700 int
28701 main ()
28702 {
28703 return f != $ac_func;
28704   ;
28705   return 0;
28706 }
28707 _ACEOF
28708 rm -f conftest.$ac_objext conftest$ac_exeext
28709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28710   (eval $ac_link) 2>conftest.er1
28711   ac_status=$?
28712   grep -v '^ *+' conftest.er1 >conftest.err
28713   rm -f conftest.er1
28714   cat conftest.err >&5
28715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28716   (exit $ac_status); } &&
28717          { ac_try='test -z "$ac_c_werror_flag"
28718                          || test ! -s conftest.err'
28719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28720   (eval $ac_try) 2>&5
28721   ac_status=$?
28722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28723   (exit $ac_status); }; } &&
28724          { ac_try='test -s conftest$ac_exeext'
28725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28726   (eval $ac_try) 2>&5
28727   ac_status=$?
28728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28729   (exit $ac_status); }; }; then
28730   eval "$as_ac_var=yes"
28731 else
28732   echo "$as_me: failed program was:" >&5
28733 sed 's/^/| /' conftest.$ac_ext >&5
28734
28735 eval "$as_ac_var=no"
28736 fi
28737 rm -f conftest.err conftest.$ac_objext \
28738       conftest$ac_exeext conftest.$ac_ext
28739 fi
28740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28742 if test `eval echo '${'$as_ac_var'}'` = yes; then
28743   cat >>confdefs.h <<_ACEOF
28744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28745 _ACEOF
28746
28747 fi
28748 done
28749
28750   else
28751
28752   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28753 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28754   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28755     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28756   echo $ECHO_N "(cached) $ECHO_C" >&6
28757 else
28758
28759
28760
28761       ac_ext=cc
28762 ac_cpp='$CXXCPP $CPPFLAGS'
28763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28766
28767       cat >conftest.$ac_ext <<_ACEOF
28768 /* confdefs.h.  */
28769 _ACEOF
28770 cat confdefs.h >>conftest.$ac_ext
28771 cat >>conftest.$ac_ext <<_ACEOF
28772 /* end confdefs.h.  */
28773 #include <math.h>
28774                       #ifdef HAVE_IEEEFP_H
28775                       #include <ieeefp.h>
28776                       #endif
28777
28778 int
28779 main ()
28780 {
28781  _finitef(0);
28782   ;
28783   return 0;
28784 }
28785 _ACEOF
28786 rm -f conftest.$ac_objext
28787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28788   (eval $ac_compile) 2>conftest.er1
28789   ac_status=$?
28790   grep -v '^ *+' conftest.er1 >conftest.err
28791   rm -f conftest.er1
28792   cat conftest.err >&5
28793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28794   (exit $ac_status); } &&
28795          { ac_try='test -z "$ac_cxx_werror_flag"
28796                          || test ! -s conftest.err'
28797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28798   (eval $ac_try) 2>&5
28799   ac_status=$?
28800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28801   (exit $ac_status); }; } &&
28802          { ac_try='test -s conftest.$ac_objext'
28803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28804   (eval $ac_try) 2>&5
28805   ac_status=$?
28806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28807   (exit $ac_status); }; }; then
28808   glibcxx_cv_func__finitef_use=yes
28809 else
28810   echo "$as_me: failed program was:" >&5
28811 sed 's/^/| /' conftest.$ac_ext >&5
28812
28813 glibcxx_cv_func__finitef_use=no
28814 fi
28815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28816       ac_ext=c
28817 ac_cpp='$CPP $CPPFLAGS'
28818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28821
28822
28823 fi
28824
28825   fi
28826   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28827 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28828
28829     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28830
28831 for ac_func in _finitef
28832 do
28833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28834 echo "$as_me:$LINENO: checking for $ac_func" >&5
28835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28836 if eval "test \"\${$as_ac_var+set}\" = set"; then
28837   echo $ECHO_N "(cached) $ECHO_C" >&6
28838 else
28839   if test x$gcc_no_link = xyes; then
28840   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28842    { (exit 1); exit 1; }; }
28843 fi
28844 cat >conftest.$ac_ext <<_ACEOF
28845 /* confdefs.h.  */
28846 _ACEOF
28847 cat confdefs.h >>conftest.$ac_ext
28848 cat >>conftest.$ac_ext <<_ACEOF
28849 /* end confdefs.h.  */
28850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28851    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
28852 #define $ac_func innocuous_$ac_func
28853
28854 /* System header to define __stub macros and hopefully few prototypes,
28855     which can conflict with char $ac_func (); below.
28856     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28857     <limits.h> exists even on freestanding compilers.  */
28858
28859 #ifdef __STDC__
28860 # include <limits.h>
28861 #else
28862 # include <assert.h>
28863 #endif
28864
28865 #undef $ac_func
28866
28867 /* Override any gcc2 internal prototype to avoid an error.  */
28868 #ifdef __cplusplus
28869 extern "C"
28870 {
28871 #endif
28872 /* We use char because int might match the return type of a gcc2
28873    builtin and then its argument prototype would still apply.  */
28874 char $ac_func ();
28875 /* The GNU C library defines this for functions which it implements
28876     to always fail with ENOSYS.  Some functions are actually named
28877     something starting with __ and the normal name is an alias.  */
28878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28879 choke me
28880 #else
28881 char (*f) () = $ac_func;
28882 #endif
28883 #ifdef __cplusplus
28884 }
28885 #endif
28886
28887 int
28888 main ()
28889 {
28890 return f != $ac_func;
28891   ;
28892   return 0;
28893 }
28894 _ACEOF
28895 rm -f conftest.$ac_objext conftest$ac_exeext
28896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28897   (eval $ac_link) 2>conftest.er1
28898   ac_status=$?
28899   grep -v '^ *+' conftest.er1 >conftest.err
28900   rm -f conftest.er1
28901   cat conftest.err >&5
28902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28903   (exit $ac_status); } &&
28904          { ac_try='test -z "$ac_c_werror_flag"
28905                          || test ! -s conftest.err'
28906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28907   (eval $ac_try) 2>&5
28908   ac_status=$?
28909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910   (exit $ac_status); }; } &&
28911          { ac_try='test -s conftest$ac_exeext'
28912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28913   (eval $ac_try) 2>&5
28914   ac_status=$?
28915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28916   (exit $ac_status); }; }; then
28917   eval "$as_ac_var=yes"
28918 else
28919   echo "$as_me: failed program was:" >&5
28920 sed 's/^/| /' conftest.$ac_ext >&5
28921
28922 eval "$as_ac_var=no"
28923 fi
28924 rm -f conftest.err conftest.$ac_objext \
28925       conftest$ac_exeext conftest.$ac_ext
28926 fi
28927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28929 if test `eval echo '${'$as_ac_var'}'` = yes; then
28930   cat >>confdefs.h <<_ACEOF
28931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28932 _ACEOF
28933
28934 fi
28935 done
28936
28937     fi
28938   fi
28939
28940
28941
28942
28943
28944
28945     echo "$as_me:$LINENO: checking for long double trig functions" >&5
28946 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28947   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28948   echo $ECHO_N "(cached) $ECHO_C" >&6
28949 else
28950
28951
28952
28953     ac_ext=cc
28954 ac_cpp='$CXXCPP $CPPFLAGS'
28955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28958
28959     cat >conftest.$ac_ext <<_ACEOF
28960 /* confdefs.h.  */
28961 _ACEOF
28962 cat confdefs.h >>conftest.$ac_ext
28963 cat >>conftest.$ac_ext <<_ACEOF
28964 /* end confdefs.h.  */
28965 #include <math.h>
28966 int
28967 main ()
28968 {
28969 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28970   ;
28971   return 0;
28972 }
28973 _ACEOF
28974 rm -f conftest.$ac_objext
28975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28976   (eval $ac_compile) 2>conftest.er1
28977   ac_status=$?
28978   grep -v '^ *+' conftest.er1 >conftest.err
28979   rm -f conftest.er1
28980   cat conftest.err >&5
28981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982   (exit $ac_status); } &&
28983          { ac_try='test -z "$ac_cxx_werror_flag"
28984                          || test ! -s conftest.err'
28985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28986   (eval $ac_try) 2>&5
28987   ac_status=$?
28988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28989   (exit $ac_status); }; } &&
28990          { ac_try='test -s conftest.$ac_objext'
28991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28992   (eval $ac_try) 2>&5
28993   ac_status=$?
28994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28995   (exit $ac_status); }; }; then
28996   glibcxx_cv_func_long_double_trig_use=yes
28997 else
28998   echo "$as_me: failed program was:" >&5
28999 sed 's/^/| /' conftest.$ac_ext >&5
29000
29001 glibcxx_cv_func_long_double_trig_use=no
29002 fi
29003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29004     ac_ext=c
29005 ac_cpp='$CPP $CPPFLAGS'
29006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29009
29010 fi
29011
29012   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
29013 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
29014   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29015
29016
29017
29018
29019
29020
29021
29022
29023
29024 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29025 do
29026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29027 echo "$as_me:$LINENO: checking for $ac_func" >&5
29028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29029 if eval "test \"\${$as_ac_var+set}\" = set"; then
29030   echo $ECHO_N "(cached) $ECHO_C" >&6
29031 else
29032   if test x$gcc_no_link = xyes; then
29033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29035    { (exit 1); exit 1; }; }
29036 fi
29037 cat >conftest.$ac_ext <<_ACEOF
29038 /* confdefs.h.  */
29039 _ACEOF
29040 cat confdefs.h >>conftest.$ac_ext
29041 cat >>conftest.$ac_ext <<_ACEOF
29042 /* end confdefs.h.  */
29043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29044    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29045 #define $ac_func innocuous_$ac_func
29046
29047 /* System header to define __stub macros and hopefully few prototypes,
29048     which can conflict with char $ac_func (); below.
29049     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29050     <limits.h> exists even on freestanding compilers.  */
29051
29052 #ifdef __STDC__
29053 # include <limits.h>
29054 #else
29055 # include <assert.h>
29056 #endif
29057
29058 #undef $ac_func
29059
29060 /* Override any gcc2 internal prototype to avoid an error.  */
29061 #ifdef __cplusplus
29062 extern "C"
29063 {
29064 #endif
29065 /* We use char because int might match the return type of a gcc2
29066    builtin and then its argument prototype would still apply.  */
29067 char $ac_func ();
29068 /* The GNU C library defines this for functions which it implements
29069     to always fail with ENOSYS.  Some functions are actually named
29070     something starting with __ and the normal name is an alias.  */
29071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29072 choke me
29073 #else
29074 char (*f) () = $ac_func;
29075 #endif
29076 #ifdef __cplusplus
29077 }
29078 #endif
29079
29080 int
29081 main ()
29082 {
29083 return f != $ac_func;
29084   ;
29085   return 0;
29086 }
29087 _ACEOF
29088 rm -f conftest.$ac_objext conftest$ac_exeext
29089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29090   (eval $ac_link) 2>conftest.er1
29091   ac_status=$?
29092   grep -v '^ *+' conftest.er1 >conftest.err
29093   rm -f conftest.er1
29094   cat conftest.err >&5
29095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29096   (exit $ac_status); } &&
29097          { ac_try='test -z "$ac_c_werror_flag"
29098                          || test ! -s conftest.err'
29099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29100   (eval $ac_try) 2>&5
29101   ac_status=$?
29102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29103   (exit $ac_status); }; } &&
29104          { ac_try='test -s conftest$ac_exeext'
29105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29106   (eval $ac_try) 2>&5
29107   ac_status=$?
29108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29109   (exit $ac_status); }; }; then
29110   eval "$as_ac_var=yes"
29111 else
29112   echo "$as_me: failed program was:" >&5
29113 sed 's/^/| /' conftest.$ac_ext >&5
29114
29115 eval "$as_ac_var=no"
29116 fi
29117 rm -f conftest.err conftest.$ac_objext \
29118       conftest$ac_exeext conftest.$ac_ext
29119 fi
29120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29122 if test `eval echo '${'$as_ac_var'}'` = yes; then
29123   cat >>confdefs.h <<_ACEOF
29124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29125 _ACEOF
29126
29127 fi
29128 done
29129
29130   else
29131     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
29132 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
29133     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
29134   echo $ECHO_N "(cached) $ECHO_C" >&6
29135 else
29136
29137
29138
29139       ac_ext=cc
29140 ac_cpp='$CXXCPP $CPPFLAGS'
29141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29144
29145       cat >conftest.$ac_ext <<_ACEOF
29146 /* confdefs.h.  */
29147 _ACEOF
29148 cat confdefs.h >>conftest.$ac_ext
29149 cat >>conftest.$ac_ext <<_ACEOF
29150 /* end confdefs.h.  */
29151 #include <math.h>
29152 int
29153 main ()
29154 {
29155 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29156   ;
29157   return 0;
29158 }
29159 _ACEOF
29160 rm -f conftest.$ac_objext
29161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29162   (eval $ac_compile) 2>conftest.er1
29163   ac_status=$?
29164   grep -v '^ *+' conftest.er1 >conftest.err
29165   rm -f conftest.er1
29166   cat conftest.err >&5
29167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29168   (exit $ac_status); } &&
29169          { ac_try='test -z "$ac_cxx_werror_flag"
29170                          || test ! -s conftest.err'
29171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29172   (eval $ac_try) 2>&5
29173   ac_status=$?
29174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29175   (exit $ac_status); }; } &&
29176          { ac_try='test -s conftest.$ac_objext'
29177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29178   (eval $ac_try) 2>&5
29179   ac_status=$?
29180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29181   (exit $ac_status); }; }; then
29182   glibcxx_cv_func__long_double_trig_use=yes
29183 else
29184   echo "$as_me: failed program was:" >&5
29185 sed 's/^/| /' conftest.$ac_ext >&5
29186
29187 glibcxx_cv_func__long_double_trig_use=no
29188 fi
29189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29190       ac_ext=c
29191 ac_cpp='$CPP $CPPFLAGS'
29192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29195
29196 fi
29197
29198     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
29199 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
29200     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29201
29202
29203
29204
29205
29206
29207
29208
29209
29210 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29211 do
29212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29213 echo "$as_me:$LINENO: checking for $ac_func" >&5
29214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29215 if eval "test \"\${$as_ac_var+set}\" = set"; then
29216   echo $ECHO_N "(cached) $ECHO_C" >&6
29217 else
29218   if test x$gcc_no_link = xyes; then
29219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29221    { (exit 1); exit 1; }; }
29222 fi
29223 cat >conftest.$ac_ext <<_ACEOF
29224 /* confdefs.h.  */
29225 _ACEOF
29226 cat confdefs.h >>conftest.$ac_ext
29227 cat >>conftest.$ac_ext <<_ACEOF
29228 /* end confdefs.h.  */
29229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29231 #define $ac_func innocuous_$ac_func
29232
29233 /* System header to define __stub macros and hopefully few prototypes,
29234     which can conflict with char $ac_func (); below.
29235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29236     <limits.h> exists even on freestanding compilers.  */
29237
29238 #ifdef __STDC__
29239 # include <limits.h>
29240 #else
29241 # include <assert.h>
29242 #endif
29243
29244 #undef $ac_func
29245
29246 /* Override any gcc2 internal prototype to avoid an error.  */
29247 #ifdef __cplusplus
29248 extern "C"
29249 {
29250 #endif
29251 /* We use char because int might match the return type of a gcc2
29252    builtin and then its argument prototype would still apply.  */
29253 char $ac_func ();
29254 /* The GNU C library defines this for functions which it implements
29255     to always fail with ENOSYS.  Some functions are actually named
29256     something starting with __ and the normal name is an alias.  */
29257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29258 choke me
29259 #else
29260 char (*f) () = $ac_func;
29261 #endif
29262 #ifdef __cplusplus
29263 }
29264 #endif
29265
29266 int
29267 main ()
29268 {
29269 return f != $ac_func;
29270   ;
29271   return 0;
29272 }
29273 _ACEOF
29274 rm -f conftest.$ac_objext conftest$ac_exeext
29275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29276   (eval $ac_link) 2>conftest.er1
29277   ac_status=$?
29278   grep -v '^ *+' conftest.er1 >conftest.err
29279   rm -f conftest.er1
29280   cat conftest.err >&5
29281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29282   (exit $ac_status); } &&
29283          { ac_try='test -z "$ac_c_werror_flag"
29284                          || test ! -s conftest.err'
29285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29286   (eval $ac_try) 2>&5
29287   ac_status=$?
29288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29289   (exit $ac_status); }; } &&
29290          { ac_try='test -s conftest$ac_exeext'
29291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29292   (eval $ac_try) 2>&5
29293   ac_status=$?
29294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29295   (exit $ac_status); }; }; then
29296   eval "$as_ac_var=yes"
29297 else
29298   echo "$as_me: failed program was:" >&5
29299 sed 's/^/| /' conftest.$ac_ext >&5
29300
29301 eval "$as_ac_var=no"
29302 fi
29303 rm -f conftest.err conftest.$ac_objext \
29304       conftest$ac_exeext conftest.$ac_ext
29305 fi
29306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29308 if test `eval echo '${'$as_ac_var'}'` = yes; then
29309   cat >>confdefs.h <<_ACEOF
29310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29311 _ACEOF
29312
29313 fi
29314 done
29315
29316     fi
29317   fi
29318
29319
29320
29321
29322
29323
29324
29325
29326
29327
29328
29329
29330
29331
29332     echo "$as_me:$LINENO: checking for long double round functions" >&5
29333 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
29334   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
29335   echo $ECHO_N "(cached) $ECHO_C" >&6
29336 else
29337
29338
29339
29340     ac_ext=cc
29341 ac_cpp='$CXXCPP $CPPFLAGS'
29342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29345
29346     cat >conftest.$ac_ext <<_ACEOF
29347 /* confdefs.h.  */
29348 _ACEOF
29349 cat confdefs.h >>conftest.$ac_ext
29350 cat >>conftest.$ac_ext <<_ACEOF
29351 /* end confdefs.h.  */
29352 #include <math.h>
29353 int
29354 main ()
29355 {
29356 ceill (0); floorl (0);
29357   ;
29358   return 0;
29359 }
29360 _ACEOF
29361 rm -f conftest.$ac_objext
29362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29363   (eval $ac_compile) 2>conftest.er1
29364   ac_status=$?
29365   grep -v '^ *+' conftest.er1 >conftest.err
29366   rm -f conftest.er1
29367   cat conftest.err >&5
29368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369   (exit $ac_status); } &&
29370          { ac_try='test -z "$ac_cxx_werror_flag"
29371                          || test ! -s conftest.err'
29372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29373   (eval $ac_try) 2>&5
29374   ac_status=$?
29375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376   (exit $ac_status); }; } &&
29377          { ac_try='test -s conftest.$ac_objext'
29378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29379   (eval $ac_try) 2>&5
29380   ac_status=$?
29381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29382   (exit $ac_status); }; }; then
29383   glibcxx_cv_func_long_double_round_use=yes
29384 else
29385   echo "$as_me: failed program was:" >&5
29386 sed 's/^/| /' conftest.$ac_ext >&5
29387
29388 glibcxx_cv_func_long_double_round_use=no
29389 fi
29390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29391     ac_ext=c
29392 ac_cpp='$CPP $CPPFLAGS'
29393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29396
29397 fi
29398
29399   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29400 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29401   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29402
29403
29404 for ac_func in ceill floorl
29405 do
29406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29407 echo "$as_me:$LINENO: checking for $ac_func" >&5
29408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29409 if eval "test \"\${$as_ac_var+set}\" = set"; then
29410   echo $ECHO_N "(cached) $ECHO_C" >&6
29411 else
29412   if test x$gcc_no_link = xyes; then
29413   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29415    { (exit 1); exit 1; }; }
29416 fi
29417 cat >conftest.$ac_ext <<_ACEOF
29418 /* confdefs.h.  */
29419 _ACEOF
29420 cat confdefs.h >>conftest.$ac_ext
29421 cat >>conftest.$ac_ext <<_ACEOF
29422 /* end confdefs.h.  */
29423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29424    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29425 #define $ac_func innocuous_$ac_func
29426
29427 /* System header to define __stub macros and hopefully few prototypes,
29428     which can conflict with char $ac_func (); below.
29429     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29430     <limits.h> exists even on freestanding compilers.  */
29431
29432 #ifdef __STDC__
29433 # include <limits.h>
29434 #else
29435 # include <assert.h>
29436 #endif
29437
29438 #undef $ac_func
29439
29440 /* Override any gcc2 internal prototype to avoid an error.  */
29441 #ifdef __cplusplus
29442 extern "C"
29443 {
29444 #endif
29445 /* We use char because int might match the return type of a gcc2
29446    builtin and then its argument prototype would still apply.  */
29447 char $ac_func ();
29448 /* The GNU C library defines this for functions which it implements
29449     to always fail with ENOSYS.  Some functions are actually named
29450     something starting with __ and the normal name is an alias.  */
29451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29452 choke me
29453 #else
29454 char (*f) () = $ac_func;
29455 #endif
29456 #ifdef __cplusplus
29457 }
29458 #endif
29459
29460 int
29461 main ()
29462 {
29463 return f != $ac_func;
29464   ;
29465   return 0;
29466 }
29467 _ACEOF
29468 rm -f conftest.$ac_objext conftest$ac_exeext
29469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29470   (eval $ac_link) 2>conftest.er1
29471   ac_status=$?
29472   grep -v '^ *+' conftest.er1 >conftest.err
29473   rm -f conftest.er1
29474   cat conftest.err >&5
29475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29476   (exit $ac_status); } &&
29477          { ac_try='test -z "$ac_c_werror_flag"
29478                          || test ! -s conftest.err'
29479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29480   (eval $ac_try) 2>&5
29481   ac_status=$?
29482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29483   (exit $ac_status); }; } &&
29484          { ac_try='test -s conftest$ac_exeext'
29485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29486   (eval $ac_try) 2>&5
29487   ac_status=$?
29488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489   (exit $ac_status); }; }; then
29490   eval "$as_ac_var=yes"
29491 else
29492   echo "$as_me: failed program was:" >&5
29493 sed 's/^/| /' conftest.$ac_ext >&5
29494
29495 eval "$as_ac_var=no"
29496 fi
29497 rm -f conftest.err conftest.$ac_objext \
29498       conftest$ac_exeext conftest.$ac_ext
29499 fi
29500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29502 if test `eval echo '${'$as_ac_var'}'` = yes; then
29503   cat >>confdefs.h <<_ACEOF
29504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29505 _ACEOF
29506
29507 fi
29508 done
29509
29510   else
29511     echo "$as_me:$LINENO: checking for _long double round functions" >&5
29512 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29513     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29514   echo $ECHO_N "(cached) $ECHO_C" >&6
29515 else
29516
29517
29518
29519       ac_ext=cc
29520 ac_cpp='$CXXCPP $CPPFLAGS'
29521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29524
29525       cat >conftest.$ac_ext <<_ACEOF
29526 /* confdefs.h.  */
29527 _ACEOF
29528 cat confdefs.h >>conftest.$ac_ext
29529 cat >>conftest.$ac_ext <<_ACEOF
29530 /* end confdefs.h.  */
29531 #include <math.h>
29532 int
29533 main ()
29534 {
29535 _ceill (0); _floorl (0);
29536   ;
29537   return 0;
29538 }
29539 _ACEOF
29540 rm -f conftest.$ac_objext
29541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29542   (eval $ac_compile) 2>conftest.er1
29543   ac_status=$?
29544   grep -v '^ *+' conftest.er1 >conftest.err
29545   rm -f conftest.er1
29546   cat conftest.err >&5
29547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29548   (exit $ac_status); } &&
29549          { ac_try='test -z "$ac_cxx_werror_flag"
29550                          || test ! -s conftest.err'
29551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29552   (eval $ac_try) 2>&5
29553   ac_status=$?
29554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29555   (exit $ac_status); }; } &&
29556          { ac_try='test -s conftest.$ac_objext'
29557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29558   (eval $ac_try) 2>&5
29559   ac_status=$?
29560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29561   (exit $ac_status); }; }; then
29562   glibcxx_cv_func__long_double_round_use=yes
29563 else
29564   echo "$as_me: failed program was:" >&5
29565 sed 's/^/| /' conftest.$ac_ext >&5
29566
29567 glibcxx_cv_func__long_double_round_use=no
29568 fi
29569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29570       ac_ext=c
29571 ac_cpp='$CPP $CPPFLAGS'
29572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29575
29576 fi
29577
29578     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29579 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29580     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29581
29582
29583 for ac_func in _ceill _floorl
29584 do
29585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29586 echo "$as_me:$LINENO: checking for $ac_func" >&5
29587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29588 if eval "test \"\${$as_ac_var+set}\" = set"; then
29589   echo $ECHO_N "(cached) $ECHO_C" >&6
29590 else
29591   if test x$gcc_no_link = xyes; then
29592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29594    { (exit 1); exit 1; }; }
29595 fi
29596 cat >conftest.$ac_ext <<_ACEOF
29597 /* confdefs.h.  */
29598 _ACEOF
29599 cat confdefs.h >>conftest.$ac_ext
29600 cat >>conftest.$ac_ext <<_ACEOF
29601 /* end confdefs.h.  */
29602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29603    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29604 #define $ac_func innocuous_$ac_func
29605
29606 /* System header to define __stub macros and hopefully few prototypes,
29607     which can conflict with char $ac_func (); below.
29608     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29609     <limits.h> exists even on freestanding compilers.  */
29610
29611 #ifdef __STDC__
29612 # include <limits.h>
29613 #else
29614 # include <assert.h>
29615 #endif
29616
29617 #undef $ac_func
29618
29619 /* Override any gcc2 internal prototype to avoid an error.  */
29620 #ifdef __cplusplus
29621 extern "C"
29622 {
29623 #endif
29624 /* We use char because int might match the return type of a gcc2
29625    builtin and then its argument prototype would still apply.  */
29626 char $ac_func ();
29627 /* The GNU C library defines this for functions which it implements
29628     to always fail with ENOSYS.  Some functions are actually named
29629     something starting with __ and the normal name is an alias.  */
29630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29631 choke me
29632 #else
29633 char (*f) () = $ac_func;
29634 #endif
29635 #ifdef __cplusplus
29636 }
29637 #endif
29638
29639 int
29640 main ()
29641 {
29642 return f != $ac_func;
29643   ;
29644   return 0;
29645 }
29646 _ACEOF
29647 rm -f conftest.$ac_objext conftest$ac_exeext
29648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29649   (eval $ac_link) 2>conftest.er1
29650   ac_status=$?
29651   grep -v '^ *+' conftest.er1 >conftest.err
29652   rm -f conftest.er1
29653   cat conftest.err >&5
29654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29655   (exit $ac_status); } &&
29656          { ac_try='test -z "$ac_c_werror_flag"
29657                          || test ! -s conftest.err'
29658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29659   (eval $ac_try) 2>&5
29660   ac_status=$?
29661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662   (exit $ac_status); }; } &&
29663          { ac_try='test -s conftest$ac_exeext'
29664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29665   (eval $ac_try) 2>&5
29666   ac_status=$?
29667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668   (exit $ac_status); }; }; then
29669   eval "$as_ac_var=yes"
29670 else
29671   echo "$as_me: failed program was:" >&5
29672 sed 's/^/| /' conftest.$ac_ext >&5
29673
29674 eval "$as_ac_var=no"
29675 fi
29676 rm -f conftest.err conftest.$ac_objext \
29677       conftest$ac_exeext conftest.$ac_ext
29678 fi
29679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29681 if test `eval echo '${'$as_ac_var'}'` = yes; then
29682   cat >>confdefs.h <<_ACEOF
29683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29684 _ACEOF
29685
29686 fi
29687 done
29688
29689     fi
29690   fi
29691
29692
29693
29694
29695
29696
29697
29698
29699   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29700 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29701   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29702     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29703   echo $ECHO_N "(cached) $ECHO_C" >&6
29704 else
29705
29706
29707
29708       ac_ext=cc
29709 ac_cpp='$CXXCPP $CPPFLAGS'
29710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29713
29714       cat >conftest.$ac_ext <<_ACEOF
29715 /* confdefs.h.  */
29716 _ACEOF
29717 cat confdefs.h >>conftest.$ac_ext
29718 cat >>conftest.$ac_ext <<_ACEOF
29719 /* end confdefs.h.  */
29720 #include <math.h>
29721                       #ifdef HAVE_IEEEFP_H
29722                       #include <ieeefp.h>
29723                       #endif
29724
29725 int
29726 main ()
29727 {
29728  isnanl(0);
29729   ;
29730   return 0;
29731 }
29732 _ACEOF
29733 rm -f conftest.$ac_objext
29734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29735   (eval $ac_compile) 2>conftest.er1
29736   ac_status=$?
29737   grep -v '^ *+' conftest.er1 >conftest.err
29738   rm -f conftest.er1
29739   cat conftest.err >&5
29740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29741   (exit $ac_status); } &&
29742          { ac_try='test -z "$ac_cxx_werror_flag"
29743                          || test ! -s conftest.err'
29744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29745   (eval $ac_try) 2>&5
29746   ac_status=$?
29747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29748   (exit $ac_status); }; } &&
29749          { ac_try='test -s conftest.$ac_objext'
29750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29751   (eval $ac_try) 2>&5
29752   ac_status=$?
29753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29754   (exit $ac_status); }; }; then
29755   glibcxx_cv_func_isnanl_use=yes
29756 else
29757   echo "$as_me: failed program was:" >&5
29758 sed 's/^/| /' conftest.$ac_ext >&5
29759
29760 glibcxx_cv_func_isnanl_use=no
29761 fi
29762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29763       ac_ext=c
29764 ac_cpp='$CPP $CPPFLAGS'
29765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29768
29769
29770 fi
29771
29772   fi
29773   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29774 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29775
29776   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29777
29778 for ac_func in isnanl
29779 do
29780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29781 echo "$as_me:$LINENO: checking for $ac_func" >&5
29782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29783 if eval "test \"\${$as_ac_var+set}\" = set"; then
29784   echo $ECHO_N "(cached) $ECHO_C" >&6
29785 else
29786   if test x$gcc_no_link = xyes; then
29787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29789    { (exit 1); exit 1; }; }
29790 fi
29791 cat >conftest.$ac_ext <<_ACEOF
29792 /* confdefs.h.  */
29793 _ACEOF
29794 cat confdefs.h >>conftest.$ac_ext
29795 cat >>conftest.$ac_ext <<_ACEOF
29796 /* end confdefs.h.  */
29797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29798    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29799 #define $ac_func innocuous_$ac_func
29800
29801 /* System header to define __stub macros and hopefully few prototypes,
29802     which can conflict with char $ac_func (); below.
29803     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29804     <limits.h> exists even on freestanding compilers.  */
29805
29806 #ifdef __STDC__
29807 # include <limits.h>
29808 #else
29809 # include <assert.h>
29810 #endif
29811
29812 #undef $ac_func
29813
29814 /* Override any gcc2 internal prototype to avoid an error.  */
29815 #ifdef __cplusplus
29816 extern "C"
29817 {
29818 #endif
29819 /* We use char because int might match the return type of a gcc2
29820    builtin and then its argument prototype would still apply.  */
29821 char $ac_func ();
29822 /* The GNU C library defines this for functions which it implements
29823     to always fail with ENOSYS.  Some functions are actually named
29824     something starting with __ and the normal name is an alias.  */
29825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29826 choke me
29827 #else
29828 char (*f) () = $ac_func;
29829 #endif
29830 #ifdef __cplusplus
29831 }
29832 #endif
29833
29834 int
29835 main ()
29836 {
29837 return f != $ac_func;
29838   ;
29839   return 0;
29840 }
29841 _ACEOF
29842 rm -f conftest.$ac_objext conftest$ac_exeext
29843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29844   (eval $ac_link) 2>conftest.er1
29845   ac_status=$?
29846   grep -v '^ *+' conftest.er1 >conftest.err
29847   rm -f conftest.er1
29848   cat conftest.err >&5
29849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29850   (exit $ac_status); } &&
29851          { ac_try='test -z "$ac_c_werror_flag"
29852                          || test ! -s conftest.err'
29853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29854   (eval $ac_try) 2>&5
29855   ac_status=$?
29856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29857   (exit $ac_status); }; } &&
29858          { ac_try='test -s conftest$ac_exeext'
29859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29860   (eval $ac_try) 2>&5
29861   ac_status=$?
29862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29863   (exit $ac_status); }; }; then
29864   eval "$as_ac_var=yes"
29865 else
29866   echo "$as_me: failed program was:" >&5
29867 sed 's/^/| /' conftest.$ac_ext >&5
29868
29869 eval "$as_ac_var=no"
29870 fi
29871 rm -f conftest.err conftest.$ac_objext \
29872       conftest$ac_exeext conftest.$ac_ext
29873 fi
29874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29876 if test `eval echo '${'$as_ac_var'}'` = yes; then
29877   cat >>confdefs.h <<_ACEOF
29878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29879 _ACEOF
29880
29881 fi
29882 done
29883
29884   else
29885
29886   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29887 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29888   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29889     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29890   echo $ECHO_N "(cached) $ECHO_C" >&6
29891 else
29892
29893
29894
29895       ac_ext=cc
29896 ac_cpp='$CXXCPP $CPPFLAGS'
29897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29900
29901       cat >conftest.$ac_ext <<_ACEOF
29902 /* confdefs.h.  */
29903 _ACEOF
29904 cat confdefs.h >>conftest.$ac_ext
29905 cat >>conftest.$ac_ext <<_ACEOF
29906 /* end confdefs.h.  */
29907 #include <math.h>
29908                       #ifdef HAVE_IEEEFP_H
29909                       #include <ieeefp.h>
29910                       #endif
29911
29912 int
29913 main ()
29914 {
29915  _isnanl(0);
29916   ;
29917   return 0;
29918 }
29919 _ACEOF
29920 rm -f conftest.$ac_objext
29921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29922   (eval $ac_compile) 2>conftest.er1
29923   ac_status=$?
29924   grep -v '^ *+' conftest.er1 >conftest.err
29925   rm -f conftest.er1
29926   cat conftest.err >&5
29927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29928   (exit $ac_status); } &&
29929          { ac_try='test -z "$ac_cxx_werror_flag"
29930                          || test ! -s conftest.err'
29931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29932   (eval $ac_try) 2>&5
29933   ac_status=$?
29934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935   (exit $ac_status); }; } &&
29936          { ac_try='test -s conftest.$ac_objext'
29937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29938   (eval $ac_try) 2>&5
29939   ac_status=$?
29940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941   (exit $ac_status); }; }; then
29942   glibcxx_cv_func__isnanl_use=yes
29943 else
29944   echo "$as_me: failed program was:" >&5
29945 sed 's/^/| /' conftest.$ac_ext >&5
29946
29947 glibcxx_cv_func__isnanl_use=no
29948 fi
29949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29950       ac_ext=c
29951 ac_cpp='$CPP $CPPFLAGS'
29952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29955
29956
29957 fi
29958
29959   fi
29960   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29961 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29962
29963     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29964
29965 for ac_func in _isnanl
29966 do
29967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29968 echo "$as_me:$LINENO: checking for $ac_func" >&5
29969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29970 if eval "test \"\${$as_ac_var+set}\" = set"; then
29971   echo $ECHO_N "(cached) $ECHO_C" >&6
29972 else
29973   if test x$gcc_no_link = xyes; then
29974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29976    { (exit 1); exit 1; }; }
29977 fi
29978 cat >conftest.$ac_ext <<_ACEOF
29979 /* confdefs.h.  */
29980 _ACEOF
29981 cat confdefs.h >>conftest.$ac_ext
29982 cat >>conftest.$ac_ext <<_ACEOF
29983 /* end confdefs.h.  */
29984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29986 #define $ac_func innocuous_$ac_func
29987
29988 /* System header to define __stub macros and hopefully few prototypes,
29989     which can conflict with char $ac_func (); below.
29990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29991     <limits.h> exists even on freestanding compilers.  */
29992
29993 #ifdef __STDC__
29994 # include <limits.h>
29995 #else
29996 # include <assert.h>
29997 #endif
29998
29999 #undef $ac_func
30000
30001 /* Override any gcc2 internal prototype to avoid an error.  */
30002 #ifdef __cplusplus
30003 extern "C"
30004 {
30005 #endif
30006 /* We use char because int might match the return type of a gcc2
30007    builtin and then its argument prototype would still apply.  */
30008 char $ac_func ();
30009 /* The GNU C library defines this for functions which it implements
30010     to always fail with ENOSYS.  Some functions are actually named
30011     something starting with __ and the normal name is an alias.  */
30012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30013 choke me
30014 #else
30015 char (*f) () = $ac_func;
30016 #endif
30017 #ifdef __cplusplus
30018 }
30019 #endif
30020
30021 int
30022 main ()
30023 {
30024 return f != $ac_func;
30025   ;
30026   return 0;
30027 }
30028 _ACEOF
30029 rm -f conftest.$ac_objext conftest$ac_exeext
30030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30031   (eval $ac_link) 2>conftest.er1
30032   ac_status=$?
30033   grep -v '^ *+' conftest.er1 >conftest.err
30034   rm -f conftest.er1
30035   cat conftest.err >&5
30036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30037   (exit $ac_status); } &&
30038          { ac_try='test -z "$ac_c_werror_flag"
30039                          || test ! -s conftest.err'
30040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30041   (eval $ac_try) 2>&5
30042   ac_status=$?
30043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044   (exit $ac_status); }; } &&
30045          { ac_try='test -s conftest$ac_exeext'
30046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30047   (eval $ac_try) 2>&5
30048   ac_status=$?
30049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30050   (exit $ac_status); }; }; then
30051   eval "$as_ac_var=yes"
30052 else
30053   echo "$as_me: failed program was:" >&5
30054 sed 's/^/| /' conftest.$ac_ext >&5
30055
30056 eval "$as_ac_var=no"
30057 fi
30058 rm -f conftest.err conftest.$ac_objext \
30059       conftest$ac_exeext conftest.$ac_ext
30060 fi
30061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30063 if test `eval echo '${'$as_ac_var'}'` = yes; then
30064   cat >>confdefs.h <<_ACEOF
30065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30066 _ACEOF
30067
30068 fi
30069 done
30070
30071     fi
30072   fi
30073
30074
30075
30076
30077
30078
30079   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
30080 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
30081   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30082     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
30083   echo $ECHO_N "(cached) $ECHO_C" >&6
30084 else
30085
30086
30087
30088       ac_ext=cc
30089 ac_cpp='$CXXCPP $CPPFLAGS'
30090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30093
30094       cat >conftest.$ac_ext <<_ACEOF
30095 /* confdefs.h.  */
30096 _ACEOF
30097 cat confdefs.h >>conftest.$ac_ext
30098 cat >>conftest.$ac_ext <<_ACEOF
30099 /* end confdefs.h.  */
30100 #include <math.h>
30101                       #ifdef HAVE_IEEEFP_H
30102                       #include <ieeefp.h>
30103                       #endif
30104
30105 int
30106 main ()
30107 {
30108  isinfl(0);
30109   ;
30110   return 0;
30111 }
30112 _ACEOF
30113 rm -f conftest.$ac_objext
30114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30115   (eval $ac_compile) 2>conftest.er1
30116   ac_status=$?
30117   grep -v '^ *+' conftest.er1 >conftest.err
30118   rm -f conftest.er1
30119   cat conftest.err >&5
30120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121   (exit $ac_status); } &&
30122          { ac_try='test -z "$ac_cxx_werror_flag"
30123                          || test ! -s conftest.err'
30124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30125   (eval $ac_try) 2>&5
30126   ac_status=$?
30127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128   (exit $ac_status); }; } &&
30129          { ac_try='test -s conftest.$ac_objext'
30130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30131   (eval $ac_try) 2>&5
30132   ac_status=$?
30133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134   (exit $ac_status); }; }; then
30135   glibcxx_cv_func_isinfl_use=yes
30136 else
30137   echo "$as_me: failed program was:" >&5
30138 sed 's/^/| /' conftest.$ac_ext >&5
30139
30140 glibcxx_cv_func_isinfl_use=no
30141 fi
30142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30143       ac_ext=c
30144 ac_cpp='$CPP $CPPFLAGS'
30145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30148
30149
30150 fi
30151
30152   fi
30153   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
30154 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
30155
30156   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30157
30158 for ac_func in isinfl
30159 do
30160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30161 echo "$as_me:$LINENO: checking for $ac_func" >&5
30162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30163 if eval "test \"\${$as_ac_var+set}\" = set"; then
30164   echo $ECHO_N "(cached) $ECHO_C" >&6
30165 else
30166   if test x$gcc_no_link = xyes; then
30167   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30169    { (exit 1); exit 1; }; }
30170 fi
30171 cat >conftest.$ac_ext <<_ACEOF
30172 /* confdefs.h.  */
30173 _ACEOF
30174 cat confdefs.h >>conftest.$ac_ext
30175 cat >>conftest.$ac_ext <<_ACEOF
30176 /* end confdefs.h.  */
30177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30178    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30179 #define $ac_func innocuous_$ac_func
30180
30181 /* System header to define __stub macros and hopefully few prototypes,
30182     which can conflict with char $ac_func (); below.
30183     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30184     <limits.h> exists even on freestanding compilers.  */
30185
30186 #ifdef __STDC__
30187 # include <limits.h>
30188 #else
30189 # include <assert.h>
30190 #endif
30191
30192 #undef $ac_func
30193
30194 /* Override any gcc2 internal prototype to avoid an error.  */
30195 #ifdef __cplusplus
30196 extern "C"
30197 {
30198 #endif
30199 /* We use char because int might match the return type of a gcc2
30200    builtin and then its argument prototype would still apply.  */
30201 char $ac_func ();
30202 /* The GNU C library defines this for functions which it implements
30203     to always fail with ENOSYS.  Some functions are actually named
30204     something starting with __ and the normal name is an alias.  */
30205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30206 choke me
30207 #else
30208 char (*f) () = $ac_func;
30209 #endif
30210 #ifdef __cplusplus
30211 }
30212 #endif
30213
30214 int
30215 main ()
30216 {
30217 return f != $ac_func;
30218   ;
30219   return 0;
30220 }
30221 _ACEOF
30222 rm -f conftest.$ac_objext conftest$ac_exeext
30223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30224   (eval $ac_link) 2>conftest.er1
30225   ac_status=$?
30226   grep -v '^ *+' conftest.er1 >conftest.err
30227   rm -f conftest.er1
30228   cat conftest.err >&5
30229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30230   (exit $ac_status); } &&
30231          { ac_try='test -z "$ac_c_werror_flag"
30232                          || test ! -s conftest.err'
30233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30234   (eval $ac_try) 2>&5
30235   ac_status=$?
30236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237   (exit $ac_status); }; } &&
30238          { ac_try='test -s conftest$ac_exeext'
30239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30240   (eval $ac_try) 2>&5
30241   ac_status=$?
30242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243   (exit $ac_status); }; }; then
30244   eval "$as_ac_var=yes"
30245 else
30246   echo "$as_me: failed program was:" >&5
30247 sed 's/^/| /' conftest.$ac_ext >&5
30248
30249 eval "$as_ac_var=no"
30250 fi
30251 rm -f conftest.err conftest.$ac_objext \
30252       conftest$ac_exeext conftest.$ac_ext
30253 fi
30254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30256 if test `eval echo '${'$as_ac_var'}'` = yes; then
30257   cat >>confdefs.h <<_ACEOF
30258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30259 _ACEOF
30260
30261 fi
30262 done
30263
30264   else
30265
30266   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
30267 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
30268   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30269     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
30270   echo $ECHO_N "(cached) $ECHO_C" >&6
30271 else
30272
30273
30274
30275       ac_ext=cc
30276 ac_cpp='$CXXCPP $CPPFLAGS'
30277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30280
30281       cat >conftest.$ac_ext <<_ACEOF
30282 /* confdefs.h.  */
30283 _ACEOF
30284 cat confdefs.h >>conftest.$ac_ext
30285 cat >>conftest.$ac_ext <<_ACEOF
30286 /* end confdefs.h.  */
30287 #include <math.h>
30288                       #ifdef HAVE_IEEEFP_H
30289                       #include <ieeefp.h>
30290                       #endif
30291
30292 int
30293 main ()
30294 {
30295  _isinfl(0);
30296   ;
30297   return 0;
30298 }
30299 _ACEOF
30300 rm -f conftest.$ac_objext
30301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30302   (eval $ac_compile) 2>conftest.er1
30303   ac_status=$?
30304   grep -v '^ *+' conftest.er1 >conftest.err
30305   rm -f conftest.er1
30306   cat conftest.err >&5
30307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30308   (exit $ac_status); } &&
30309          { ac_try='test -z "$ac_cxx_werror_flag"
30310                          || test ! -s conftest.err'
30311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30312   (eval $ac_try) 2>&5
30313   ac_status=$?
30314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315   (exit $ac_status); }; } &&
30316          { ac_try='test -s conftest.$ac_objext'
30317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30318   (eval $ac_try) 2>&5
30319   ac_status=$?
30320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30321   (exit $ac_status); }; }; then
30322   glibcxx_cv_func__isinfl_use=yes
30323 else
30324   echo "$as_me: failed program was:" >&5
30325 sed 's/^/| /' conftest.$ac_ext >&5
30326
30327 glibcxx_cv_func__isinfl_use=no
30328 fi
30329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30330       ac_ext=c
30331 ac_cpp='$CPP $CPPFLAGS'
30332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30335
30336
30337 fi
30338
30339   fi
30340   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
30341 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
30342
30343     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30344
30345 for ac_func in _isinfl
30346 do
30347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30348 echo "$as_me:$LINENO: checking for $ac_func" >&5
30349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30350 if eval "test \"\${$as_ac_var+set}\" = set"; then
30351   echo $ECHO_N "(cached) $ECHO_C" >&6
30352 else
30353   if test x$gcc_no_link = xyes; then
30354   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30356    { (exit 1); exit 1; }; }
30357 fi
30358 cat >conftest.$ac_ext <<_ACEOF
30359 /* confdefs.h.  */
30360 _ACEOF
30361 cat confdefs.h >>conftest.$ac_ext
30362 cat >>conftest.$ac_ext <<_ACEOF
30363 /* end confdefs.h.  */
30364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30365    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30366 #define $ac_func innocuous_$ac_func
30367
30368 /* System header to define __stub macros and hopefully few prototypes,
30369     which can conflict with char $ac_func (); below.
30370     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30371     <limits.h> exists even on freestanding compilers.  */
30372
30373 #ifdef __STDC__
30374 # include <limits.h>
30375 #else
30376 # include <assert.h>
30377 #endif
30378
30379 #undef $ac_func
30380
30381 /* Override any gcc2 internal prototype to avoid an error.  */
30382 #ifdef __cplusplus
30383 extern "C"
30384 {
30385 #endif
30386 /* We use char because int might match the return type of a gcc2
30387    builtin and then its argument prototype would still apply.  */
30388 char $ac_func ();
30389 /* The GNU C library defines this for functions which it implements
30390     to always fail with ENOSYS.  Some functions are actually named
30391     something starting with __ and the normal name is an alias.  */
30392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30393 choke me
30394 #else
30395 char (*f) () = $ac_func;
30396 #endif
30397 #ifdef __cplusplus
30398 }
30399 #endif
30400
30401 int
30402 main ()
30403 {
30404 return f != $ac_func;
30405   ;
30406   return 0;
30407 }
30408 _ACEOF
30409 rm -f conftest.$ac_objext conftest$ac_exeext
30410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30411   (eval $ac_link) 2>conftest.er1
30412   ac_status=$?
30413   grep -v '^ *+' conftest.er1 >conftest.err
30414   rm -f conftest.er1
30415   cat conftest.err >&5
30416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30417   (exit $ac_status); } &&
30418          { ac_try='test -z "$ac_c_werror_flag"
30419                          || test ! -s conftest.err'
30420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30421   (eval $ac_try) 2>&5
30422   ac_status=$?
30423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30424   (exit $ac_status); }; } &&
30425          { ac_try='test -s conftest$ac_exeext'
30426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30427   (eval $ac_try) 2>&5
30428   ac_status=$?
30429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430   (exit $ac_status); }; }; then
30431   eval "$as_ac_var=yes"
30432 else
30433   echo "$as_me: failed program was:" >&5
30434 sed 's/^/| /' conftest.$ac_ext >&5
30435
30436 eval "$as_ac_var=no"
30437 fi
30438 rm -f conftest.err conftest.$ac_objext \
30439       conftest$ac_exeext conftest.$ac_ext
30440 fi
30441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30443 if test `eval echo '${'$as_ac_var'}'` = yes; then
30444   cat >>confdefs.h <<_ACEOF
30445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30446 _ACEOF
30447
30448 fi
30449 done
30450
30451     fi
30452   fi
30453
30454
30455
30456
30457
30458
30459   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30460 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30461   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30462     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30463   echo $ECHO_N "(cached) $ECHO_C" >&6
30464 else
30465
30466
30467
30468       ac_ext=cc
30469 ac_cpp='$CXXCPP $CPPFLAGS'
30470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30473
30474       cat >conftest.$ac_ext <<_ACEOF
30475 /* confdefs.h.  */
30476 _ACEOF
30477 cat confdefs.h >>conftest.$ac_ext
30478 cat >>conftest.$ac_ext <<_ACEOF
30479 /* end confdefs.h.  */
30480 #include <math.h>
30481 int
30482 main ()
30483 {
30484  copysignl(0, 0);
30485   ;
30486   return 0;
30487 }
30488 _ACEOF
30489 rm -f conftest.$ac_objext
30490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30491   (eval $ac_compile) 2>conftest.er1
30492   ac_status=$?
30493   grep -v '^ *+' conftest.er1 >conftest.err
30494   rm -f conftest.er1
30495   cat conftest.err >&5
30496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497   (exit $ac_status); } &&
30498          { ac_try='test -z "$ac_cxx_werror_flag"
30499                          || test ! -s conftest.err'
30500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30501   (eval $ac_try) 2>&5
30502   ac_status=$?
30503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504   (exit $ac_status); }; } &&
30505          { ac_try='test -s conftest.$ac_objext'
30506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30507   (eval $ac_try) 2>&5
30508   ac_status=$?
30509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510   (exit $ac_status); }; }; then
30511   glibcxx_cv_func_copysignl_use=yes
30512 else
30513   echo "$as_me: failed program was:" >&5
30514 sed 's/^/| /' conftest.$ac_ext >&5
30515
30516 glibcxx_cv_func_copysignl_use=no
30517 fi
30518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30519       ac_ext=c
30520 ac_cpp='$CPP $CPPFLAGS'
30521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30524
30525
30526 fi
30527
30528   fi
30529   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30530 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30531
30532   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30533
30534 for ac_func in copysignl
30535 do
30536 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30537 echo "$as_me:$LINENO: checking for $ac_func" >&5
30538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30539 if eval "test \"\${$as_ac_var+set}\" = set"; then
30540   echo $ECHO_N "(cached) $ECHO_C" >&6
30541 else
30542   if test x$gcc_no_link = xyes; then
30543   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30545    { (exit 1); exit 1; }; }
30546 fi
30547 cat >conftest.$ac_ext <<_ACEOF
30548 /* confdefs.h.  */
30549 _ACEOF
30550 cat confdefs.h >>conftest.$ac_ext
30551 cat >>conftest.$ac_ext <<_ACEOF
30552 /* end confdefs.h.  */
30553 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30554    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30555 #define $ac_func innocuous_$ac_func
30556
30557 /* System header to define __stub macros and hopefully few prototypes,
30558     which can conflict with char $ac_func (); below.
30559     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30560     <limits.h> exists even on freestanding compilers.  */
30561
30562 #ifdef __STDC__
30563 # include <limits.h>
30564 #else
30565 # include <assert.h>
30566 #endif
30567
30568 #undef $ac_func
30569
30570 /* Override any gcc2 internal prototype to avoid an error.  */
30571 #ifdef __cplusplus
30572 extern "C"
30573 {
30574 #endif
30575 /* We use char because int might match the return type of a gcc2
30576    builtin and then its argument prototype would still apply.  */
30577 char $ac_func ();
30578 /* The GNU C library defines this for functions which it implements
30579     to always fail with ENOSYS.  Some functions are actually named
30580     something starting with __ and the normal name is an alias.  */
30581 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30582 choke me
30583 #else
30584 char (*f) () = $ac_func;
30585 #endif
30586 #ifdef __cplusplus
30587 }
30588 #endif
30589
30590 int
30591 main ()
30592 {
30593 return f != $ac_func;
30594   ;
30595   return 0;
30596 }
30597 _ACEOF
30598 rm -f conftest.$ac_objext conftest$ac_exeext
30599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30600   (eval $ac_link) 2>conftest.er1
30601   ac_status=$?
30602   grep -v '^ *+' conftest.er1 >conftest.err
30603   rm -f conftest.er1
30604   cat conftest.err >&5
30605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30606   (exit $ac_status); } &&
30607          { ac_try='test -z "$ac_c_werror_flag"
30608                          || test ! -s conftest.err'
30609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30610   (eval $ac_try) 2>&5
30611   ac_status=$?
30612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30613   (exit $ac_status); }; } &&
30614          { ac_try='test -s conftest$ac_exeext'
30615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30616   (eval $ac_try) 2>&5
30617   ac_status=$?
30618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30619   (exit $ac_status); }; }; then
30620   eval "$as_ac_var=yes"
30621 else
30622   echo "$as_me: failed program was:" >&5
30623 sed 's/^/| /' conftest.$ac_ext >&5
30624
30625 eval "$as_ac_var=no"
30626 fi
30627 rm -f conftest.err conftest.$ac_objext \
30628       conftest$ac_exeext conftest.$ac_ext
30629 fi
30630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30631 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30632 if test `eval echo '${'$as_ac_var'}'` = yes; then
30633   cat >>confdefs.h <<_ACEOF
30634 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30635 _ACEOF
30636
30637 fi
30638 done
30639
30640   else
30641
30642   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30643 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30644   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30645     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30646   echo $ECHO_N "(cached) $ECHO_C" >&6
30647 else
30648
30649
30650
30651       ac_ext=cc
30652 ac_cpp='$CXXCPP $CPPFLAGS'
30653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30656
30657       cat >conftest.$ac_ext <<_ACEOF
30658 /* confdefs.h.  */
30659 _ACEOF
30660 cat confdefs.h >>conftest.$ac_ext
30661 cat >>conftest.$ac_ext <<_ACEOF
30662 /* end confdefs.h.  */
30663 #include <math.h>
30664 int
30665 main ()
30666 {
30667  _copysignl(0, 0);
30668   ;
30669   return 0;
30670 }
30671 _ACEOF
30672 rm -f conftest.$ac_objext
30673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30674   (eval $ac_compile) 2>conftest.er1
30675   ac_status=$?
30676   grep -v '^ *+' conftest.er1 >conftest.err
30677   rm -f conftest.er1
30678   cat conftest.err >&5
30679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680   (exit $ac_status); } &&
30681          { ac_try='test -z "$ac_cxx_werror_flag"
30682                          || test ! -s conftest.err'
30683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30684   (eval $ac_try) 2>&5
30685   ac_status=$?
30686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30687   (exit $ac_status); }; } &&
30688          { ac_try='test -s conftest.$ac_objext'
30689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30690   (eval $ac_try) 2>&5
30691   ac_status=$?
30692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30693   (exit $ac_status); }; }; then
30694   glibcxx_cv_func__copysignl_use=yes
30695 else
30696   echo "$as_me: failed program was:" >&5
30697 sed 's/^/| /' conftest.$ac_ext >&5
30698
30699 glibcxx_cv_func__copysignl_use=no
30700 fi
30701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30702       ac_ext=c
30703 ac_cpp='$CPP $CPPFLAGS'
30704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30707
30708
30709 fi
30710
30711   fi
30712   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30713 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30714
30715     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30716
30717 for ac_func in _copysignl
30718 do
30719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30720 echo "$as_me:$LINENO: checking for $ac_func" >&5
30721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30722 if eval "test \"\${$as_ac_var+set}\" = set"; then
30723   echo $ECHO_N "(cached) $ECHO_C" >&6
30724 else
30725   if test x$gcc_no_link = xyes; then
30726   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30728    { (exit 1); exit 1; }; }
30729 fi
30730 cat >conftest.$ac_ext <<_ACEOF
30731 /* confdefs.h.  */
30732 _ACEOF
30733 cat confdefs.h >>conftest.$ac_ext
30734 cat >>conftest.$ac_ext <<_ACEOF
30735 /* end confdefs.h.  */
30736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30737    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30738 #define $ac_func innocuous_$ac_func
30739
30740 /* System header to define __stub macros and hopefully few prototypes,
30741     which can conflict with char $ac_func (); below.
30742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30743     <limits.h> exists even on freestanding compilers.  */
30744
30745 #ifdef __STDC__
30746 # include <limits.h>
30747 #else
30748 # include <assert.h>
30749 #endif
30750
30751 #undef $ac_func
30752
30753 /* Override any gcc2 internal prototype to avoid an error.  */
30754 #ifdef __cplusplus
30755 extern "C"
30756 {
30757 #endif
30758 /* We use char because int might match the return type of a gcc2
30759    builtin and then its argument prototype would still apply.  */
30760 char $ac_func ();
30761 /* The GNU C library defines this for functions which it implements
30762     to always fail with ENOSYS.  Some functions are actually named
30763     something starting with __ and the normal name is an alias.  */
30764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30765 choke me
30766 #else
30767 char (*f) () = $ac_func;
30768 #endif
30769 #ifdef __cplusplus
30770 }
30771 #endif
30772
30773 int
30774 main ()
30775 {
30776 return f != $ac_func;
30777   ;
30778   return 0;
30779 }
30780 _ACEOF
30781 rm -f conftest.$ac_objext conftest$ac_exeext
30782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30783   (eval $ac_link) 2>conftest.er1
30784   ac_status=$?
30785   grep -v '^ *+' conftest.er1 >conftest.err
30786   rm -f conftest.er1
30787   cat conftest.err >&5
30788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30789   (exit $ac_status); } &&
30790          { ac_try='test -z "$ac_c_werror_flag"
30791                          || test ! -s conftest.err'
30792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30793   (eval $ac_try) 2>&5
30794   ac_status=$?
30795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30796   (exit $ac_status); }; } &&
30797          { ac_try='test -s conftest$ac_exeext'
30798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30799   (eval $ac_try) 2>&5
30800   ac_status=$?
30801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802   (exit $ac_status); }; }; then
30803   eval "$as_ac_var=yes"
30804 else
30805   echo "$as_me: failed program was:" >&5
30806 sed 's/^/| /' conftest.$ac_ext >&5
30807
30808 eval "$as_ac_var=no"
30809 fi
30810 rm -f conftest.err conftest.$ac_objext \
30811       conftest$ac_exeext conftest.$ac_ext
30812 fi
30813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30815 if test `eval echo '${'$as_ac_var'}'` = yes; then
30816   cat >>confdefs.h <<_ACEOF
30817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30818 _ACEOF
30819
30820 fi
30821 done
30822
30823     fi
30824   fi
30825
30826
30827
30828
30829
30830
30831   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30832 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30833   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30834     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30835   echo $ECHO_N "(cached) $ECHO_C" >&6
30836 else
30837
30838
30839
30840       ac_ext=cc
30841 ac_cpp='$CXXCPP $CPPFLAGS'
30842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30845
30846       cat >conftest.$ac_ext <<_ACEOF
30847 /* confdefs.h.  */
30848 _ACEOF
30849 cat confdefs.h >>conftest.$ac_ext
30850 cat >>conftest.$ac_ext <<_ACEOF
30851 /* end confdefs.h.  */
30852 #include <math.h>
30853 int
30854 main ()
30855 {
30856  atan2l(0, 0);
30857   ;
30858   return 0;
30859 }
30860 _ACEOF
30861 rm -f conftest.$ac_objext
30862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30863   (eval $ac_compile) 2>conftest.er1
30864   ac_status=$?
30865   grep -v '^ *+' conftest.er1 >conftest.err
30866   rm -f conftest.er1
30867   cat conftest.err >&5
30868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30869   (exit $ac_status); } &&
30870          { ac_try='test -z "$ac_cxx_werror_flag"
30871                          || test ! -s conftest.err'
30872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30873   (eval $ac_try) 2>&5
30874   ac_status=$?
30875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876   (exit $ac_status); }; } &&
30877          { ac_try='test -s conftest.$ac_objext'
30878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30879   (eval $ac_try) 2>&5
30880   ac_status=$?
30881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30882   (exit $ac_status); }; }; then
30883   glibcxx_cv_func_atan2l_use=yes
30884 else
30885   echo "$as_me: failed program was:" >&5
30886 sed 's/^/| /' conftest.$ac_ext >&5
30887
30888 glibcxx_cv_func_atan2l_use=no
30889 fi
30890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30891       ac_ext=c
30892 ac_cpp='$CPP $CPPFLAGS'
30893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30896
30897
30898 fi
30899
30900   fi
30901   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30902 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30903
30904   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30905
30906 for ac_func in atan2l
30907 do
30908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30909 echo "$as_me:$LINENO: checking for $ac_func" >&5
30910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30911 if eval "test \"\${$as_ac_var+set}\" = set"; then
30912   echo $ECHO_N "(cached) $ECHO_C" >&6
30913 else
30914   if test x$gcc_no_link = xyes; then
30915   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30917    { (exit 1); exit 1; }; }
30918 fi
30919 cat >conftest.$ac_ext <<_ACEOF
30920 /* confdefs.h.  */
30921 _ACEOF
30922 cat confdefs.h >>conftest.$ac_ext
30923 cat >>conftest.$ac_ext <<_ACEOF
30924 /* end confdefs.h.  */
30925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30926    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30927 #define $ac_func innocuous_$ac_func
30928
30929 /* System header to define __stub macros and hopefully few prototypes,
30930     which can conflict with char $ac_func (); below.
30931     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30932     <limits.h> exists even on freestanding compilers.  */
30933
30934 #ifdef __STDC__
30935 # include <limits.h>
30936 #else
30937 # include <assert.h>
30938 #endif
30939
30940 #undef $ac_func
30941
30942 /* Override any gcc2 internal prototype to avoid an error.  */
30943 #ifdef __cplusplus
30944 extern "C"
30945 {
30946 #endif
30947 /* We use char because int might match the return type of a gcc2
30948    builtin and then its argument prototype would still apply.  */
30949 char $ac_func ();
30950 /* The GNU C library defines this for functions which it implements
30951     to always fail with ENOSYS.  Some functions are actually named
30952     something starting with __ and the normal name is an alias.  */
30953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30954 choke me
30955 #else
30956 char (*f) () = $ac_func;
30957 #endif
30958 #ifdef __cplusplus
30959 }
30960 #endif
30961
30962 int
30963 main ()
30964 {
30965 return f != $ac_func;
30966   ;
30967   return 0;
30968 }
30969 _ACEOF
30970 rm -f conftest.$ac_objext conftest$ac_exeext
30971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30972   (eval $ac_link) 2>conftest.er1
30973   ac_status=$?
30974   grep -v '^ *+' conftest.er1 >conftest.err
30975   rm -f conftest.er1
30976   cat conftest.err >&5
30977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30978   (exit $ac_status); } &&
30979          { ac_try='test -z "$ac_c_werror_flag"
30980                          || test ! -s conftest.err'
30981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30982   (eval $ac_try) 2>&5
30983   ac_status=$?
30984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30985   (exit $ac_status); }; } &&
30986          { ac_try='test -s conftest$ac_exeext'
30987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30988   (eval $ac_try) 2>&5
30989   ac_status=$?
30990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30991   (exit $ac_status); }; }; then
30992   eval "$as_ac_var=yes"
30993 else
30994   echo "$as_me: failed program was:" >&5
30995 sed 's/^/| /' conftest.$ac_ext >&5
30996
30997 eval "$as_ac_var=no"
30998 fi
30999 rm -f conftest.err conftest.$ac_objext \
31000       conftest$ac_exeext conftest.$ac_ext
31001 fi
31002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31004 if test `eval echo '${'$as_ac_var'}'` = yes; then
31005   cat >>confdefs.h <<_ACEOF
31006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31007 _ACEOF
31008
31009 fi
31010 done
31011
31012   else
31013
31014   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
31015 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
31016   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31017     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
31018   echo $ECHO_N "(cached) $ECHO_C" >&6
31019 else
31020
31021
31022
31023       ac_ext=cc
31024 ac_cpp='$CXXCPP $CPPFLAGS'
31025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31028
31029       cat >conftest.$ac_ext <<_ACEOF
31030 /* confdefs.h.  */
31031 _ACEOF
31032 cat confdefs.h >>conftest.$ac_ext
31033 cat >>conftest.$ac_ext <<_ACEOF
31034 /* end confdefs.h.  */
31035 #include <math.h>
31036 int
31037 main ()
31038 {
31039  _atan2l(0, 0);
31040   ;
31041   return 0;
31042 }
31043 _ACEOF
31044 rm -f conftest.$ac_objext
31045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31046   (eval $ac_compile) 2>conftest.er1
31047   ac_status=$?
31048   grep -v '^ *+' conftest.er1 >conftest.err
31049   rm -f conftest.er1
31050   cat conftest.err >&5
31051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052   (exit $ac_status); } &&
31053          { ac_try='test -z "$ac_cxx_werror_flag"
31054                          || test ! -s conftest.err'
31055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31056   (eval $ac_try) 2>&5
31057   ac_status=$?
31058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059   (exit $ac_status); }; } &&
31060          { ac_try='test -s conftest.$ac_objext'
31061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062   (eval $ac_try) 2>&5
31063   ac_status=$?
31064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065   (exit $ac_status); }; }; then
31066   glibcxx_cv_func__atan2l_use=yes
31067 else
31068   echo "$as_me: failed program was:" >&5
31069 sed 's/^/| /' conftest.$ac_ext >&5
31070
31071 glibcxx_cv_func__atan2l_use=no
31072 fi
31073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31074       ac_ext=c
31075 ac_cpp='$CPP $CPPFLAGS'
31076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31079
31080
31081 fi
31082
31083   fi
31084   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
31085 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
31086
31087     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31088
31089 for ac_func in _atan2l
31090 do
31091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31092 echo "$as_me:$LINENO: checking for $ac_func" >&5
31093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31094 if eval "test \"\${$as_ac_var+set}\" = set"; then
31095   echo $ECHO_N "(cached) $ECHO_C" >&6
31096 else
31097   if test x$gcc_no_link = xyes; then
31098   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31100    { (exit 1); exit 1; }; }
31101 fi
31102 cat >conftest.$ac_ext <<_ACEOF
31103 /* confdefs.h.  */
31104 _ACEOF
31105 cat confdefs.h >>conftest.$ac_ext
31106 cat >>conftest.$ac_ext <<_ACEOF
31107 /* end confdefs.h.  */
31108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31109    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31110 #define $ac_func innocuous_$ac_func
31111
31112 /* System header to define __stub macros and hopefully few prototypes,
31113     which can conflict with char $ac_func (); below.
31114     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31115     <limits.h> exists even on freestanding compilers.  */
31116
31117 #ifdef __STDC__
31118 # include <limits.h>
31119 #else
31120 # include <assert.h>
31121 #endif
31122
31123 #undef $ac_func
31124
31125 /* Override any gcc2 internal prototype to avoid an error.  */
31126 #ifdef __cplusplus
31127 extern "C"
31128 {
31129 #endif
31130 /* We use char because int might match the return type of a gcc2
31131    builtin and then its argument prototype would still apply.  */
31132 char $ac_func ();
31133 /* The GNU C library defines this for functions which it implements
31134     to always fail with ENOSYS.  Some functions are actually named
31135     something starting with __ and the normal name is an alias.  */
31136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31137 choke me
31138 #else
31139 char (*f) () = $ac_func;
31140 #endif
31141 #ifdef __cplusplus
31142 }
31143 #endif
31144
31145 int
31146 main ()
31147 {
31148 return f != $ac_func;
31149   ;
31150   return 0;
31151 }
31152 _ACEOF
31153 rm -f conftest.$ac_objext conftest$ac_exeext
31154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31155   (eval $ac_link) 2>conftest.er1
31156   ac_status=$?
31157   grep -v '^ *+' conftest.er1 >conftest.err
31158   rm -f conftest.er1
31159   cat conftest.err >&5
31160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161   (exit $ac_status); } &&
31162          { ac_try='test -z "$ac_c_werror_flag"
31163                          || test ! -s conftest.err'
31164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31165   (eval $ac_try) 2>&5
31166   ac_status=$?
31167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168   (exit $ac_status); }; } &&
31169          { ac_try='test -s conftest$ac_exeext'
31170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31171   (eval $ac_try) 2>&5
31172   ac_status=$?
31173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31174   (exit $ac_status); }; }; then
31175   eval "$as_ac_var=yes"
31176 else
31177   echo "$as_me: failed program was:" >&5
31178 sed 's/^/| /' conftest.$ac_ext >&5
31179
31180 eval "$as_ac_var=no"
31181 fi
31182 rm -f conftest.err conftest.$ac_objext \
31183       conftest$ac_exeext conftest.$ac_ext
31184 fi
31185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31187 if test `eval echo '${'$as_ac_var'}'` = yes; then
31188   cat >>confdefs.h <<_ACEOF
31189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31190 _ACEOF
31191
31192 fi
31193 done
31194
31195     fi
31196   fi
31197
31198
31199
31200
31201
31202
31203   echo "$as_me:$LINENO: checking for expl declaration" >&5
31204 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
31205   if test x${glibcxx_cv_func_expl_use+set} != xset; then
31206     if test "${glibcxx_cv_func_expl_use+set}" = set; then
31207   echo $ECHO_N "(cached) $ECHO_C" >&6
31208 else
31209
31210
31211
31212       ac_ext=cc
31213 ac_cpp='$CXXCPP $CPPFLAGS'
31214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31217
31218       cat >conftest.$ac_ext <<_ACEOF
31219 /* confdefs.h.  */
31220 _ACEOF
31221 cat confdefs.h >>conftest.$ac_ext
31222 cat >>conftest.$ac_ext <<_ACEOF
31223 /* end confdefs.h.  */
31224 #include <math.h>
31225                       #ifdef HAVE_IEEEFP_H
31226                       #include <ieeefp.h>
31227                       #endif
31228
31229 int
31230 main ()
31231 {
31232  expl(0);
31233   ;
31234   return 0;
31235 }
31236 _ACEOF
31237 rm -f conftest.$ac_objext
31238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31239   (eval $ac_compile) 2>conftest.er1
31240   ac_status=$?
31241   grep -v '^ *+' conftest.er1 >conftest.err
31242   rm -f conftest.er1
31243   cat conftest.err >&5
31244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31245   (exit $ac_status); } &&
31246          { ac_try='test -z "$ac_cxx_werror_flag"
31247                          || test ! -s conftest.err'
31248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31249   (eval $ac_try) 2>&5
31250   ac_status=$?
31251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31252   (exit $ac_status); }; } &&
31253          { ac_try='test -s conftest.$ac_objext'
31254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31255   (eval $ac_try) 2>&5
31256   ac_status=$?
31257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31258   (exit $ac_status); }; }; then
31259   glibcxx_cv_func_expl_use=yes
31260 else
31261   echo "$as_me: failed program was:" >&5
31262 sed 's/^/| /' conftest.$ac_ext >&5
31263
31264 glibcxx_cv_func_expl_use=no
31265 fi
31266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31267       ac_ext=c
31268 ac_cpp='$CPP $CPPFLAGS'
31269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31272
31273
31274 fi
31275
31276   fi
31277   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
31278 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
31279
31280   if test x$glibcxx_cv_func_expl_use = x"yes"; then
31281
31282 for ac_func in expl
31283 do
31284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31285 echo "$as_me:$LINENO: checking for $ac_func" >&5
31286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31287 if eval "test \"\${$as_ac_var+set}\" = set"; then
31288   echo $ECHO_N "(cached) $ECHO_C" >&6
31289 else
31290   if test x$gcc_no_link = xyes; then
31291   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31293    { (exit 1); exit 1; }; }
31294 fi
31295 cat >conftest.$ac_ext <<_ACEOF
31296 /* confdefs.h.  */
31297 _ACEOF
31298 cat confdefs.h >>conftest.$ac_ext
31299 cat >>conftest.$ac_ext <<_ACEOF
31300 /* end confdefs.h.  */
31301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31302    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31303 #define $ac_func innocuous_$ac_func
31304
31305 /* System header to define __stub macros and hopefully few prototypes,
31306     which can conflict with char $ac_func (); below.
31307     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31308     <limits.h> exists even on freestanding compilers.  */
31309
31310 #ifdef __STDC__
31311 # include <limits.h>
31312 #else
31313 # include <assert.h>
31314 #endif
31315
31316 #undef $ac_func
31317
31318 /* Override any gcc2 internal prototype to avoid an error.  */
31319 #ifdef __cplusplus
31320 extern "C"
31321 {
31322 #endif
31323 /* We use char because int might match the return type of a gcc2
31324    builtin and then its argument prototype would still apply.  */
31325 char $ac_func ();
31326 /* The GNU C library defines this for functions which it implements
31327     to always fail with ENOSYS.  Some functions are actually named
31328     something starting with __ and the normal name is an alias.  */
31329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31330 choke me
31331 #else
31332 char (*f) () = $ac_func;
31333 #endif
31334 #ifdef __cplusplus
31335 }
31336 #endif
31337
31338 int
31339 main ()
31340 {
31341 return f != $ac_func;
31342   ;
31343   return 0;
31344 }
31345 _ACEOF
31346 rm -f conftest.$ac_objext conftest$ac_exeext
31347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31348   (eval $ac_link) 2>conftest.er1
31349   ac_status=$?
31350   grep -v '^ *+' conftest.er1 >conftest.err
31351   rm -f conftest.er1
31352   cat conftest.err >&5
31353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31354   (exit $ac_status); } &&
31355          { ac_try='test -z "$ac_c_werror_flag"
31356                          || test ! -s conftest.err'
31357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31358   (eval $ac_try) 2>&5
31359   ac_status=$?
31360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31361   (exit $ac_status); }; } &&
31362          { ac_try='test -s conftest$ac_exeext'
31363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31364   (eval $ac_try) 2>&5
31365   ac_status=$?
31366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31367   (exit $ac_status); }; }; then
31368   eval "$as_ac_var=yes"
31369 else
31370   echo "$as_me: failed program was:" >&5
31371 sed 's/^/| /' conftest.$ac_ext >&5
31372
31373 eval "$as_ac_var=no"
31374 fi
31375 rm -f conftest.err conftest.$ac_objext \
31376       conftest$ac_exeext conftest.$ac_ext
31377 fi
31378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31380 if test `eval echo '${'$as_ac_var'}'` = yes; then
31381   cat >>confdefs.h <<_ACEOF
31382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31383 _ACEOF
31384
31385 fi
31386 done
31387
31388   else
31389
31390   echo "$as_me:$LINENO: checking for _expl declaration" >&5
31391 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31392   if test x${glibcxx_cv_func__expl_use+set} != xset; then
31393     if test "${glibcxx_cv_func__expl_use+set}" = set; then
31394   echo $ECHO_N "(cached) $ECHO_C" >&6
31395 else
31396
31397
31398
31399       ac_ext=cc
31400 ac_cpp='$CXXCPP $CPPFLAGS'
31401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31404
31405       cat >conftest.$ac_ext <<_ACEOF
31406 /* confdefs.h.  */
31407 _ACEOF
31408 cat confdefs.h >>conftest.$ac_ext
31409 cat >>conftest.$ac_ext <<_ACEOF
31410 /* end confdefs.h.  */
31411 #include <math.h>
31412                       #ifdef HAVE_IEEEFP_H
31413                       #include <ieeefp.h>
31414                       #endif
31415
31416 int
31417 main ()
31418 {
31419  _expl(0);
31420   ;
31421   return 0;
31422 }
31423 _ACEOF
31424 rm -f conftest.$ac_objext
31425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31426   (eval $ac_compile) 2>conftest.er1
31427   ac_status=$?
31428   grep -v '^ *+' conftest.er1 >conftest.err
31429   rm -f conftest.er1
31430   cat conftest.err >&5
31431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31432   (exit $ac_status); } &&
31433          { ac_try='test -z "$ac_cxx_werror_flag"
31434                          || test ! -s conftest.err'
31435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31436   (eval $ac_try) 2>&5
31437   ac_status=$?
31438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31439   (exit $ac_status); }; } &&
31440          { ac_try='test -s conftest.$ac_objext'
31441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31442   (eval $ac_try) 2>&5
31443   ac_status=$?
31444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31445   (exit $ac_status); }; }; then
31446   glibcxx_cv_func__expl_use=yes
31447 else
31448   echo "$as_me: failed program was:" >&5
31449 sed 's/^/| /' conftest.$ac_ext >&5
31450
31451 glibcxx_cv_func__expl_use=no
31452 fi
31453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31454       ac_ext=c
31455 ac_cpp='$CPP $CPPFLAGS'
31456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31459
31460
31461 fi
31462
31463   fi
31464   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31465 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31466
31467     if test x$glibcxx_cv_func__expl_use = x"yes"; then
31468
31469 for ac_func in _expl
31470 do
31471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31472 echo "$as_me:$LINENO: checking for $ac_func" >&5
31473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31474 if eval "test \"\${$as_ac_var+set}\" = set"; then
31475   echo $ECHO_N "(cached) $ECHO_C" >&6
31476 else
31477   if test x$gcc_no_link = xyes; then
31478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31480    { (exit 1); exit 1; }; }
31481 fi
31482 cat >conftest.$ac_ext <<_ACEOF
31483 /* confdefs.h.  */
31484 _ACEOF
31485 cat confdefs.h >>conftest.$ac_ext
31486 cat >>conftest.$ac_ext <<_ACEOF
31487 /* end confdefs.h.  */
31488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31489    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31490 #define $ac_func innocuous_$ac_func
31491
31492 /* System header to define __stub macros and hopefully few prototypes,
31493     which can conflict with char $ac_func (); below.
31494     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31495     <limits.h> exists even on freestanding compilers.  */
31496
31497 #ifdef __STDC__
31498 # include <limits.h>
31499 #else
31500 # include <assert.h>
31501 #endif
31502
31503 #undef $ac_func
31504
31505 /* Override any gcc2 internal prototype to avoid an error.  */
31506 #ifdef __cplusplus
31507 extern "C"
31508 {
31509 #endif
31510 /* We use char because int might match the return type of a gcc2
31511    builtin and then its argument prototype would still apply.  */
31512 char $ac_func ();
31513 /* The GNU C library defines this for functions which it implements
31514     to always fail with ENOSYS.  Some functions are actually named
31515     something starting with __ and the normal name is an alias.  */
31516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31517 choke me
31518 #else
31519 char (*f) () = $ac_func;
31520 #endif
31521 #ifdef __cplusplus
31522 }
31523 #endif
31524
31525 int
31526 main ()
31527 {
31528 return f != $ac_func;
31529   ;
31530   return 0;
31531 }
31532 _ACEOF
31533 rm -f conftest.$ac_objext conftest$ac_exeext
31534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31535   (eval $ac_link) 2>conftest.er1
31536   ac_status=$?
31537   grep -v '^ *+' conftest.er1 >conftest.err
31538   rm -f conftest.er1
31539   cat conftest.err >&5
31540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31541   (exit $ac_status); } &&
31542          { ac_try='test -z "$ac_c_werror_flag"
31543                          || test ! -s conftest.err'
31544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31545   (eval $ac_try) 2>&5
31546   ac_status=$?
31547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31548   (exit $ac_status); }; } &&
31549          { ac_try='test -s conftest$ac_exeext'
31550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31551   (eval $ac_try) 2>&5
31552   ac_status=$?
31553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554   (exit $ac_status); }; }; then
31555   eval "$as_ac_var=yes"
31556 else
31557   echo "$as_me: failed program was:" >&5
31558 sed 's/^/| /' conftest.$ac_ext >&5
31559
31560 eval "$as_ac_var=no"
31561 fi
31562 rm -f conftest.err conftest.$ac_objext \
31563       conftest$ac_exeext conftest.$ac_ext
31564 fi
31565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31567 if test `eval echo '${'$as_ac_var'}'` = yes; then
31568   cat >>confdefs.h <<_ACEOF
31569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31570 _ACEOF
31571
31572 fi
31573 done
31574
31575     fi
31576   fi
31577
31578
31579
31580
31581
31582
31583   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31584 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31585   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31586     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31587   echo $ECHO_N "(cached) $ECHO_C" >&6
31588 else
31589
31590
31591
31592       ac_ext=cc
31593 ac_cpp='$CXXCPP $CPPFLAGS'
31594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31597
31598       cat >conftest.$ac_ext <<_ACEOF
31599 /* confdefs.h.  */
31600 _ACEOF
31601 cat confdefs.h >>conftest.$ac_ext
31602 cat >>conftest.$ac_ext <<_ACEOF
31603 /* end confdefs.h.  */
31604 #include <math.h>
31605                       #ifdef HAVE_IEEEFP_H
31606                       #include <ieeefp.h>
31607                       #endif
31608
31609 int
31610 main ()
31611 {
31612  fabsl(0);
31613   ;
31614   return 0;
31615 }
31616 _ACEOF
31617 rm -f conftest.$ac_objext
31618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31619   (eval $ac_compile) 2>conftest.er1
31620   ac_status=$?
31621   grep -v '^ *+' conftest.er1 >conftest.err
31622   rm -f conftest.er1
31623   cat conftest.err >&5
31624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625   (exit $ac_status); } &&
31626          { ac_try='test -z "$ac_cxx_werror_flag"
31627                          || test ! -s conftest.err'
31628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31629   (eval $ac_try) 2>&5
31630   ac_status=$?
31631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31632   (exit $ac_status); }; } &&
31633          { ac_try='test -s conftest.$ac_objext'
31634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31635   (eval $ac_try) 2>&5
31636   ac_status=$?
31637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638   (exit $ac_status); }; }; then
31639   glibcxx_cv_func_fabsl_use=yes
31640 else
31641   echo "$as_me: failed program was:" >&5
31642 sed 's/^/| /' conftest.$ac_ext >&5
31643
31644 glibcxx_cv_func_fabsl_use=no
31645 fi
31646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31647       ac_ext=c
31648 ac_cpp='$CPP $CPPFLAGS'
31649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31652
31653
31654 fi
31655
31656   fi
31657   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31658 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31659
31660   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31661
31662 for ac_func in fabsl
31663 do
31664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31665 echo "$as_me:$LINENO: checking for $ac_func" >&5
31666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31667 if eval "test \"\${$as_ac_var+set}\" = set"; then
31668   echo $ECHO_N "(cached) $ECHO_C" >&6
31669 else
31670   if test x$gcc_no_link = xyes; then
31671   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31673    { (exit 1); exit 1; }; }
31674 fi
31675 cat >conftest.$ac_ext <<_ACEOF
31676 /* confdefs.h.  */
31677 _ACEOF
31678 cat confdefs.h >>conftest.$ac_ext
31679 cat >>conftest.$ac_ext <<_ACEOF
31680 /* end confdefs.h.  */
31681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31682    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31683 #define $ac_func innocuous_$ac_func
31684
31685 /* System header to define __stub macros and hopefully few prototypes,
31686     which can conflict with char $ac_func (); below.
31687     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31688     <limits.h> exists even on freestanding compilers.  */
31689
31690 #ifdef __STDC__
31691 # include <limits.h>
31692 #else
31693 # include <assert.h>
31694 #endif
31695
31696 #undef $ac_func
31697
31698 /* Override any gcc2 internal prototype to avoid an error.  */
31699 #ifdef __cplusplus
31700 extern "C"
31701 {
31702 #endif
31703 /* We use char because int might match the return type of a gcc2
31704    builtin and then its argument prototype would still apply.  */
31705 char $ac_func ();
31706 /* The GNU C library defines this for functions which it implements
31707     to always fail with ENOSYS.  Some functions are actually named
31708     something starting with __ and the normal name is an alias.  */
31709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31710 choke me
31711 #else
31712 char (*f) () = $ac_func;
31713 #endif
31714 #ifdef __cplusplus
31715 }
31716 #endif
31717
31718 int
31719 main ()
31720 {
31721 return f != $ac_func;
31722   ;
31723   return 0;
31724 }
31725 _ACEOF
31726 rm -f conftest.$ac_objext conftest$ac_exeext
31727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31728   (eval $ac_link) 2>conftest.er1
31729   ac_status=$?
31730   grep -v '^ *+' conftest.er1 >conftest.err
31731   rm -f conftest.er1
31732   cat conftest.err >&5
31733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31734   (exit $ac_status); } &&
31735          { ac_try='test -z "$ac_c_werror_flag"
31736                          || test ! -s conftest.err'
31737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31738   (eval $ac_try) 2>&5
31739   ac_status=$?
31740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31741   (exit $ac_status); }; } &&
31742          { ac_try='test -s conftest$ac_exeext'
31743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31744   (eval $ac_try) 2>&5
31745   ac_status=$?
31746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31747   (exit $ac_status); }; }; then
31748   eval "$as_ac_var=yes"
31749 else
31750   echo "$as_me: failed program was:" >&5
31751 sed 's/^/| /' conftest.$ac_ext >&5
31752
31753 eval "$as_ac_var=no"
31754 fi
31755 rm -f conftest.err conftest.$ac_objext \
31756       conftest$ac_exeext conftest.$ac_ext
31757 fi
31758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31760 if test `eval echo '${'$as_ac_var'}'` = yes; then
31761   cat >>confdefs.h <<_ACEOF
31762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31763 _ACEOF
31764
31765 fi
31766 done
31767
31768   else
31769
31770   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31771 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31772   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31773     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31774   echo $ECHO_N "(cached) $ECHO_C" >&6
31775 else
31776
31777
31778
31779       ac_ext=cc
31780 ac_cpp='$CXXCPP $CPPFLAGS'
31781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31784
31785       cat >conftest.$ac_ext <<_ACEOF
31786 /* confdefs.h.  */
31787 _ACEOF
31788 cat confdefs.h >>conftest.$ac_ext
31789 cat >>conftest.$ac_ext <<_ACEOF
31790 /* end confdefs.h.  */
31791 #include <math.h>
31792                       #ifdef HAVE_IEEEFP_H
31793                       #include <ieeefp.h>
31794                       #endif
31795
31796 int
31797 main ()
31798 {
31799  _fabsl(0);
31800   ;
31801   return 0;
31802 }
31803 _ACEOF
31804 rm -f conftest.$ac_objext
31805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31806   (eval $ac_compile) 2>conftest.er1
31807   ac_status=$?
31808   grep -v '^ *+' conftest.er1 >conftest.err
31809   rm -f conftest.er1
31810   cat conftest.err >&5
31811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31812   (exit $ac_status); } &&
31813          { ac_try='test -z "$ac_cxx_werror_flag"
31814                          || test ! -s conftest.err'
31815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31816   (eval $ac_try) 2>&5
31817   ac_status=$?
31818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31819   (exit $ac_status); }; } &&
31820          { ac_try='test -s conftest.$ac_objext'
31821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31822   (eval $ac_try) 2>&5
31823   ac_status=$?
31824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825   (exit $ac_status); }; }; then
31826   glibcxx_cv_func__fabsl_use=yes
31827 else
31828   echo "$as_me: failed program was:" >&5
31829 sed 's/^/| /' conftest.$ac_ext >&5
31830
31831 glibcxx_cv_func__fabsl_use=no
31832 fi
31833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31834       ac_ext=c
31835 ac_cpp='$CPP $CPPFLAGS'
31836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31839
31840
31841 fi
31842
31843   fi
31844   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31845 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31846
31847     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31848
31849 for ac_func in _fabsl
31850 do
31851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31852 echo "$as_me:$LINENO: checking for $ac_func" >&5
31853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31854 if eval "test \"\${$as_ac_var+set}\" = set"; then
31855   echo $ECHO_N "(cached) $ECHO_C" >&6
31856 else
31857   if test x$gcc_no_link = xyes; then
31858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31860    { (exit 1); exit 1; }; }
31861 fi
31862 cat >conftest.$ac_ext <<_ACEOF
31863 /* confdefs.h.  */
31864 _ACEOF
31865 cat confdefs.h >>conftest.$ac_ext
31866 cat >>conftest.$ac_ext <<_ACEOF
31867 /* end confdefs.h.  */
31868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31869    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31870 #define $ac_func innocuous_$ac_func
31871
31872 /* System header to define __stub macros and hopefully few prototypes,
31873     which can conflict with char $ac_func (); below.
31874     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31875     <limits.h> exists even on freestanding compilers.  */
31876
31877 #ifdef __STDC__
31878 # include <limits.h>
31879 #else
31880 # include <assert.h>
31881 #endif
31882
31883 #undef $ac_func
31884
31885 /* Override any gcc2 internal prototype to avoid an error.  */
31886 #ifdef __cplusplus
31887 extern "C"
31888 {
31889 #endif
31890 /* We use char because int might match the return type of a gcc2
31891    builtin and then its argument prototype would still apply.  */
31892 char $ac_func ();
31893 /* The GNU C library defines this for functions which it implements
31894     to always fail with ENOSYS.  Some functions are actually named
31895     something starting with __ and the normal name is an alias.  */
31896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31897 choke me
31898 #else
31899 char (*f) () = $ac_func;
31900 #endif
31901 #ifdef __cplusplus
31902 }
31903 #endif
31904
31905 int
31906 main ()
31907 {
31908 return f != $ac_func;
31909   ;
31910   return 0;
31911 }
31912 _ACEOF
31913 rm -f conftest.$ac_objext conftest$ac_exeext
31914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31915   (eval $ac_link) 2>conftest.er1
31916   ac_status=$?
31917   grep -v '^ *+' conftest.er1 >conftest.err
31918   rm -f conftest.er1
31919   cat conftest.err >&5
31920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31921   (exit $ac_status); } &&
31922          { ac_try='test -z "$ac_c_werror_flag"
31923                          || test ! -s conftest.err'
31924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31925   (eval $ac_try) 2>&5
31926   ac_status=$?
31927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31928   (exit $ac_status); }; } &&
31929          { ac_try='test -s conftest$ac_exeext'
31930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31931   (eval $ac_try) 2>&5
31932   ac_status=$?
31933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934   (exit $ac_status); }; }; then
31935   eval "$as_ac_var=yes"
31936 else
31937   echo "$as_me: failed program was:" >&5
31938 sed 's/^/| /' conftest.$ac_ext >&5
31939
31940 eval "$as_ac_var=no"
31941 fi
31942 rm -f conftest.err conftest.$ac_objext \
31943       conftest$ac_exeext conftest.$ac_ext
31944 fi
31945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31947 if test `eval echo '${'$as_ac_var'}'` = yes; then
31948   cat >>confdefs.h <<_ACEOF
31949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31950 _ACEOF
31951
31952 fi
31953 done
31954
31955     fi
31956   fi
31957
31958
31959
31960
31961
31962
31963   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31964 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31965   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31966     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31967   echo $ECHO_N "(cached) $ECHO_C" >&6
31968 else
31969
31970
31971
31972       ac_ext=cc
31973 ac_cpp='$CXXCPP $CPPFLAGS'
31974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31977
31978       cat >conftest.$ac_ext <<_ACEOF
31979 /* confdefs.h.  */
31980 _ACEOF
31981 cat confdefs.h >>conftest.$ac_ext
31982 cat >>conftest.$ac_ext <<_ACEOF
31983 /* end confdefs.h.  */
31984 #include <math.h>
31985 int
31986 main ()
31987 {
31988  fmodl(0, 0);
31989   ;
31990   return 0;
31991 }
31992 _ACEOF
31993 rm -f conftest.$ac_objext
31994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31995   (eval $ac_compile) 2>conftest.er1
31996   ac_status=$?
31997   grep -v '^ *+' conftest.er1 >conftest.err
31998   rm -f conftest.er1
31999   cat conftest.err >&5
32000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001   (exit $ac_status); } &&
32002          { ac_try='test -z "$ac_cxx_werror_flag"
32003                          || test ! -s conftest.err'
32004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32005   (eval $ac_try) 2>&5
32006   ac_status=$?
32007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32008   (exit $ac_status); }; } &&
32009          { ac_try='test -s conftest.$ac_objext'
32010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32011   (eval $ac_try) 2>&5
32012   ac_status=$?
32013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32014   (exit $ac_status); }; }; then
32015   glibcxx_cv_func_fmodl_use=yes
32016 else
32017   echo "$as_me: failed program was:" >&5
32018 sed 's/^/| /' conftest.$ac_ext >&5
32019
32020 glibcxx_cv_func_fmodl_use=no
32021 fi
32022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32023       ac_ext=c
32024 ac_cpp='$CPP $CPPFLAGS'
32025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32028
32029
32030 fi
32031
32032   fi
32033   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
32034 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
32035
32036   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32037
32038 for ac_func in fmodl
32039 do
32040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32041 echo "$as_me:$LINENO: checking for $ac_func" >&5
32042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32043 if eval "test \"\${$as_ac_var+set}\" = set"; then
32044   echo $ECHO_N "(cached) $ECHO_C" >&6
32045 else
32046   if test x$gcc_no_link = xyes; then
32047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32049    { (exit 1); exit 1; }; }
32050 fi
32051 cat >conftest.$ac_ext <<_ACEOF
32052 /* confdefs.h.  */
32053 _ACEOF
32054 cat confdefs.h >>conftest.$ac_ext
32055 cat >>conftest.$ac_ext <<_ACEOF
32056 /* end confdefs.h.  */
32057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32058    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32059 #define $ac_func innocuous_$ac_func
32060
32061 /* System header to define __stub macros and hopefully few prototypes,
32062     which can conflict with char $ac_func (); below.
32063     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32064     <limits.h> exists even on freestanding compilers.  */
32065
32066 #ifdef __STDC__
32067 # include <limits.h>
32068 #else
32069 # include <assert.h>
32070 #endif
32071
32072 #undef $ac_func
32073
32074 /* Override any gcc2 internal prototype to avoid an error.  */
32075 #ifdef __cplusplus
32076 extern "C"
32077 {
32078 #endif
32079 /* We use char because int might match the return type of a gcc2
32080    builtin and then its argument prototype would still apply.  */
32081 char $ac_func ();
32082 /* The GNU C library defines this for functions which it implements
32083     to always fail with ENOSYS.  Some functions are actually named
32084     something starting with __ and the normal name is an alias.  */
32085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32086 choke me
32087 #else
32088 char (*f) () = $ac_func;
32089 #endif
32090 #ifdef __cplusplus
32091 }
32092 #endif
32093
32094 int
32095 main ()
32096 {
32097 return f != $ac_func;
32098   ;
32099   return 0;
32100 }
32101 _ACEOF
32102 rm -f conftest.$ac_objext conftest$ac_exeext
32103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32104   (eval $ac_link) 2>conftest.er1
32105   ac_status=$?
32106   grep -v '^ *+' conftest.er1 >conftest.err
32107   rm -f conftest.er1
32108   cat conftest.err >&5
32109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110   (exit $ac_status); } &&
32111          { ac_try='test -z "$ac_c_werror_flag"
32112                          || test ! -s conftest.err'
32113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32114   (eval $ac_try) 2>&5
32115   ac_status=$?
32116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117   (exit $ac_status); }; } &&
32118          { ac_try='test -s conftest$ac_exeext'
32119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32120   (eval $ac_try) 2>&5
32121   ac_status=$?
32122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32123   (exit $ac_status); }; }; then
32124   eval "$as_ac_var=yes"
32125 else
32126   echo "$as_me: failed program was:" >&5
32127 sed 's/^/| /' conftest.$ac_ext >&5
32128
32129 eval "$as_ac_var=no"
32130 fi
32131 rm -f conftest.err conftest.$ac_objext \
32132       conftest$ac_exeext conftest.$ac_ext
32133 fi
32134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32136 if test `eval echo '${'$as_ac_var'}'` = yes; then
32137   cat >>confdefs.h <<_ACEOF
32138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32139 _ACEOF
32140
32141 fi
32142 done
32143
32144   else
32145
32146   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
32147 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
32148   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32149     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
32150   echo $ECHO_N "(cached) $ECHO_C" >&6
32151 else
32152
32153
32154
32155       ac_ext=cc
32156 ac_cpp='$CXXCPP $CPPFLAGS'
32157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32160
32161       cat >conftest.$ac_ext <<_ACEOF
32162 /* confdefs.h.  */
32163 _ACEOF
32164 cat confdefs.h >>conftest.$ac_ext
32165 cat >>conftest.$ac_ext <<_ACEOF
32166 /* end confdefs.h.  */
32167 #include <math.h>
32168 int
32169 main ()
32170 {
32171  _fmodl(0, 0);
32172   ;
32173   return 0;
32174 }
32175 _ACEOF
32176 rm -f conftest.$ac_objext
32177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32178   (eval $ac_compile) 2>conftest.er1
32179   ac_status=$?
32180   grep -v '^ *+' conftest.er1 >conftest.err
32181   rm -f conftest.er1
32182   cat conftest.err >&5
32183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184   (exit $ac_status); } &&
32185          { ac_try='test -z "$ac_cxx_werror_flag"
32186                          || test ! -s conftest.err'
32187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32188   (eval $ac_try) 2>&5
32189   ac_status=$?
32190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32191   (exit $ac_status); }; } &&
32192          { ac_try='test -s conftest.$ac_objext'
32193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32194   (eval $ac_try) 2>&5
32195   ac_status=$?
32196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32197   (exit $ac_status); }; }; then
32198   glibcxx_cv_func__fmodl_use=yes
32199 else
32200   echo "$as_me: failed program was:" >&5
32201 sed 's/^/| /' conftest.$ac_ext >&5
32202
32203 glibcxx_cv_func__fmodl_use=no
32204 fi
32205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32206       ac_ext=c
32207 ac_cpp='$CPP $CPPFLAGS'
32208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32211
32212
32213 fi
32214
32215   fi
32216   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
32217 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
32218
32219     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32220
32221 for ac_func in _fmodl
32222 do
32223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32224 echo "$as_me:$LINENO: checking for $ac_func" >&5
32225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32226 if eval "test \"\${$as_ac_var+set}\" = set"; then
32227   echo $ECHO_N "(cached) $ECHO_C" >&6
32228 else
32229   if test x$gcc_no_link = xyes; then
32230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32232    { (exit 1); exit 1; }; }
32233 fi
32234 cat >conftest.$ac_ext <<_ACEOF
32235 /* confdefs.h.  */
32236 _ACEOF
32237 cat confdefs.h >>conftest.$ac_ext
32238 cat >>conftest.$ac_ext <<_ACEOF
32239 /* end confdefs.h.  */
32240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32241    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32242 #define $ac_func innocuous_$ac_func
32243
32244 /* System header to define __stub macros and hopefully few prototypes,
32245     which can conflict with char $ac_func (); below.
32246     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32247     <limits.h> exists even on freestanding compilers.  */
32248
32249 #ifdef __STDC__
32250 # include <limits.h>
32251 #else
32252 # include <assert.h>
32253 #endif
32254
32255 #undef $ac_func
32256
32257 /* Override any gcc2 internal prototype to avoid an error.  */
32258 #ifdef __cplusplus
32259 extern "C"
32260 {
32261 #endif
32262 /* We use char because int might match the return type of a gcc2
32263    builtin and then its argument prototype would still apply.  */
32264 char $ac_func ();
32265 /* The GNU C library defines this for functions which it implements
32266     to always fail with ENOSYS.  Some functions are actually named
32267     something starting with __ and the normal name is an alias.  */
32268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32269 choke me
32270 #else
32271 char (*f) () = $ac_func;
32272 #endif
32273 #ifdef __cplusplus
32274 }
32275 #endif
32276
32277 int
32278 main ()
32279 {
32280 return f != $ac_func;
32281   ;
32282   return 0;
32283 }
32284 _ACEOF
32285 rm -f conftest.$ac_objext conftest$ac_exeext
32286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32287   (eval $ac_link) 2>conftest.er1
32288   ac_status=$?
32289   grep -v '^ *+' conftest.er1 >conftest.err
32290   rm -f conftest.er1
32291   cat conftest.err >&5
32292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32293   (exit $ac_status); } &&
32294          { ac_try='test -z "$ac_c_werror_flag"
32295                          || test ! -s conftest.err'
32296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32297   (eval $ac_try) 2>&5
32298   ac_status=$?
32299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300   (exit $ac_status); }; } &&
32301          { ac_try='test -s conftest$ac_exeext'
32302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32303   (eval $ac_try) 2>&5
32304   ac_status=$?
32305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32306   (exit $ac_status); }; }; then
32307   eval "$as_ac_var=yes"
32308 else
32309   echo "$as_me: failed program was:" >&5
32310 sed 's/^/| /' conftest.$ac_ext >&5
32311
32312 eval "$as_ac_var=no"
32313 fi
32314 rm -f conftest.err conftest.$ac_objext \
32315       conftest$ac_exeext conftest.$ac_ext
32316 fi
32317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32319 if test `eval echo '${'$as_ac_var'}'` = yes; then
32320   cat >>confdefs.h <<_ACEOF
32321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32322 _ACEOF
32323
32324 fi
32325 done
32326
32327     fi
32328   fi
32329
32330
32331
32332
32333
32334
32335   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
32336 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
32337   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32338     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
32339   echo $ECHO_N "(cached) $ECHO_C" >&6
32340 else
32341
32342
32343
32344       ac_ext=cc
32345 ac_cpp='$CXXCPP $CPPFLAGS'
32346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32349
32350       cat >conftest.$ac_ext <<_ACEOF
32351 /* confdefs.h.  */
32352 _ACEOF
32353 cat confdefs.h >>conftest.$ac_ext
32354 cat >>conftest.$ac_ext <<_ACEOF
32355 /* end confdefs.h.  */
32356 #include <math.h>
32357 int
32358 main ()
32359 {
32360  frexpl(0, 0);
32361   ;
32362   return 0;
32363 }
32364 _ACEOF
32365 rm -f conftest.$ac_objext
32366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32367   (eval $ac_compile) 2>conftest.er1
32368   ac_status=$?
32369   grep -v '^ *+' conftest.er1 >conftest.err
32370   rm -f conftest.er1
32371   cat conftest.err >&5
32372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32373   (exit $ac_status); } &&
32374          { ac_try='test -z "$ac_cxx_werror_flag"
32375                          || test ! -s conftest.err'
32376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32377   (eval $ac_try) 2>&5
32378   ac_status=$?
32379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32380   (exit $ac_status); }; } &&
32381          { ac_try='test -s conftest.$ac_objext'
32382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32383   (eval $ac_try) 2>&5
32384   ac_status=$?
32385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32386   (exit $ac_status); }; }; then
32387   glibcxx_cv_func_frexpl_use=yes
32388 else
32389   echo "$as_me: failed program was:" >&5
32390 sed 's/^/| /' conftest.$ac_ext >&5
32391
32392 glibcxx_cv_func_frexpl_use=no
32393 fi
32394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32395       ac_ext=c
32396 ac_cpp='$CPP $CPPFLAGS'
32397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32400
32401
32402 fi
32403
32404   fi
32405   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32406 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32407
32408   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32409
32410 for ac_func in frexpl
32411 do
32412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32413 echo "$as_me:$LINENO: checking for $ac_func" >&5
32414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32415 if eval "test \"\${$as_ac_var+set}\" = set"; then
32416   echo $ECHO_N "(cached) $ECHO_C" >&6
32417 else
32418   if test x$gcc_no_link = xyes; then
32419   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32421    { (exit 1); exit 1; }; }
32422 fi
32423 cat >conftest.$ac_ext <<_ACEOF
32424 /* confdefs.h.  */
32425 _ACEOF
32426 cat confdefs.h >>conftest.$ac_ext
32427 cat >>conftest.$ac_ext <<_ACEOF
32428 /* end confdefs.h.  */
32429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32430    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32431 #define $ac_func innocuous_$ac_func
32432
32433 /* System header to define __stub macros and hopefully few prototypes,
32434     which can conflict with char $ac_func (); below.
32435     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32436     <limits.h> exists even on freestanding compilers.  */
32437
32438 #ifdef __STDC__
32439 # include <limits.h>
32440 #else
32441 # include <assert.h>
32442 #endif
32443
32444 #undef $ac_func
32445
32446 /* Override any gcc2 internal prototype to avoid an error.  */
32447 #ifdef __cplusplus
32448 extern "C"
32449 {
32450 #endif
32451 /* We use char because int might match the return type of a gcc2
32452    builtin and then its argument prototype would still apply.  */
32453 char $ac_func ();
32454 /* The GNU C library defines this for functions which it implements
32455     to always fail with ENOSYS.  Some functions are actually named
32456     something starting with __ and the normal name is an alias.  */
32457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32458 choke me
32459 #else
32460 char (*f) () = $ac_func;
32461 #endif
32462 #ifdef __cplusplus
32463 }
32464 #endif
32465
32466 int
32467 main ()
32468 {
32469 return f != $ac_func;
32470   ;
32471   return 0;
32472 }
32473 _ACEOF
32474 rm -f conftest.$ac_objext conftest$ac_exeext
32475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32476   (eval $ac_link) 2>conftest.er1
32477   ac_status=$?
32478   grep -v '^ *+' conftest.er1 >conftest.err
32479   rm -f conftest.er1
32480   cat conftest.err >&5
32481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32482   (exit $ac_status); } &&
32483          { ac_try='test -z "$ac_c_werror_flag"
32484                          || test ! -s conftest.err'
32485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32486   (eval $ac_try) 2>&5
32487   ac_status=$?
32488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32489   (exit $ac_status); }; } &&
32490          { ac_try='test -s conftest$ac_exeext'
32491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32492   (eval $ac_try) 2>&5
32493   ac_status=$?
32494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32495   (exit $ac_status); }; }; then
32496   eval "$as_ac_var=yes"
32497 else
32498   echo "$as_me: failed program was:" >&5
32499 sed 's/^/| /' conftest.$ac_ext >&5
32500
32501 eval "$as_ac_var=no"
32502 fi
32503 rm -f conftest.err conftest.$ac_objext \
32504       conftest$ac_exeext conftest.$ac_ext
32505 fi
32506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32508 if test `eval echo '${'$as_ac_var'}'` = yes; then
32509   cat >>confdefs.h <<_ACEOF
32510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32511 _ACEOF
32512
32513 fi
32514 done
32515
32516   else
32517
32518   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32519 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32520   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32521     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32522   echo $ECHO_N "(cached) $ECHO_C" >&6
32523 else
32524
32525
32526
32527       ac_ext=cc
32528 ac_cpp='$CXXCPP $CPPFLAGS'
32529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32532
32533       cat >conftest.$ac_ext <<_ACEOF
32534 /* confdefs.h.  */
32535 _ACEOF
32536 cat confdefs.h >>conftest.$ac_ext
32537 cat >>conftest.$ac_ext <<_ACEOF
32538 /* end confdefs.h.  */
32539 #include <math.h>
32540 int
32541 main ()
32542 {
32543  _frexpl(0, 0);
32544   ;
32545   return 0;
32546 }
32547 _ACEOF
32548 rm -f conftest.$ac_objext
32549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32550   (eval $ac_compile) 2>conftest.er1
32551   ac_status=$?
32552   grep -v '^ *+' conftest.er1 >conftest.err
32553   rm -f conftest.er1
32554   cat conftest.err >&5
32555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556   (exit $ac_status); } &&
32557          { ac_try='test -z "$ac_cxx_werror_flag"
32558                          || test ! -s conftest.err'
32559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32560   (eval $ac_try) 2>&5
32561   ac_status=$?
32562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32563   (exit $ac_status); }; } &&
32564          { ac_try='test -s conftest.$ac_objext'
32565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32566   (eval $ac_try) 2>&5
32567   ac_status=$?
32568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569   (exit $ac_status); }; }; then
32570   glibcxx_cv_func__frexpl_use=yes
32571 else
32572   echo "$as_me: failed program was:" >&5
32573 sed 's/^/| /' conftest.$ac_ext >&5
32574
32575 glibcxx_cv_func__frexpl_use=no
32576 fi
32577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32578       ac_ext=c
32579 ac_cpp='$CPP $CPPFLAGS'
32580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32583
32584
32585 fi
32586
32587   fi
32588   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32589 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32590
32591     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32592
32593 for ac_func in _frexpl
32594 do
32595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32596 echo "$as_me:$LINENO: checking for $ac_func" >&5
32597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32598 if eval "test \"\${$as_ac_var+set}\" = set"; then
32599   echo $ECHO_N "(cached) $ECHO_C" >&6
32600 else
32601   if test x$gcc_no_link = xyes; then
32602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32604    { (exit 1); exit 1; }; }
32605 fi
32606 cat >conftest.$ac_ext <<_ACEOF
32607 /* confdefs.h.  */
32608 _ACEOF
32609 cat confdefs.h >>conftest.$ac_ext
32610 cat >>conftest.$ac_ext <<_ACEOF
32611 /* end confdefs.h.  */
32612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32613    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32614 #define $ac_func innocuous_$ac_func
32615
32616 /* System header to define __stub macros and hopefully few prototypes,
32617     which can conflict with char $ac_func (); below.
32618     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32619     <limits.h> exists even on freestanding compilers.  */
32620
32621 #ifdef __STDC__
32622 # include <limits.h>
32623 #else
32624 # include <assert.h>
32625 #endif
32626
32627 #undef $ac_func
32628
32629 /* Override any gcc2 internal prototype to avoid an error.  */
32630 #ifdef __cplusplus
32631 extern "C"
32632 {
32633 #endif
32634 /* We use char because int might match the return type of a gcc2
32635    builtin and then its argument prototype would still apply.  */
32636 char $ac_func ();
32637 /* The GNU C library defines this for functions which it implements
32638     to always fail with ENOSYS.  Some functions are actually named
32639     something starting with __ and the normal name is an alias.  */
32640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32641 choke me
32642 #else
32643 char (*f) () = $ac_func;
32644 #endif
32645 #ifdef __cplusplus
32646 }
32647 #endif
32648
32649 int
32650 main ()
32651 {
32652 return f != $ac_func;
32653   ;
32654   return 0;
32655 }
32656 _ACEOF
32657 rm -f conftest.$ac_objext conftest$ac_exeext
32658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32659   (eval $ac_link) 2>conftest.er1
32660   ac_status=$?
32661   grep -v '^ *+' conftest.er1 >conftest.err
32662   rm -f conftest.er1
32663   cat conftest.err >&5
32664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665   (exit $ac_status); } &&
32666          { ac_try='test -z "$ac_c_werror_flag"
32667                          || test ! -s conftest.err'
32668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32669   (eval $ac_try) 2>&5
32670   ac_status=$?
32671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32672   (exit $ac_status); }; } &&
32673          { ac_try='test -s conftest$ac_exeext'
32674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32675   (eval $ac_try) 2>&5
32676   ac_status=$?
32677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32678   (exit $ac_status); }; }; then
32679   eval "$as_ac_var=yes"
32680 else
32681   echo "$as_me: failed program was:" >&5
32682 sed 's/^/| /' conftest.$ac_ext >&5
32683
32684 eval "$as_ac_var=no"
32685 fi
32686 rm -f conftest.err conftest.$ac_objext \
32687       conftest$ac_exeext conftest.$ac_ext
32688 fi
32689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32691 if test `eval echo '${'$as_ac_var'}'` = yes; then
32692   cat >>confdefs.h <<_ACEOF
32693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32694 _ACEOF
32695
32696 fi
32697 done
32698
32699     fi
32700   fi
32701
32702
32703
32704
32705
32706
32707   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32708 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32709   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32710     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32711   echo $ECHO_N "(cached) $ECHO_C" >&6
32712 else
32713
32714
32715
32716       ac_ext=cc
32717 ac_cpp='$CXXCPP $CPPFLAGS'
32718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32721
32722       cat >conftest.$ac_ext <<_ACEOF
32723 /* confdefs.h.  */
32724 _ACEOF
32725 cat confdefs.h >>conftest.$ac_ext
32726 cat >>conftest.$ac_ext <<_ACEOF
32727 /* end confdefs.h.  */
32728 #include <math.h>
32729 int
32730 main ()
32731 {
32732  hypotl(0, 0);
32733   ;
32734   return 0;
32735 }
32736 _ACEOF
32737 rm -f conftest.$ac_objext
32738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32739   (eval $ac_compile) 2>conftest.er1
32740   ac_status=$?
32741   grep -v '^ *+' conftest.er1 >conftest.err
32742   rm -f conftest.er1
32743   cat conftest.err >&5
32744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32745   (exit $ac_status); } &&
32746          { ac_try='test -z "$ac_cxx_werror_flag"
32747                          || test ! -s conftest.err'
32748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32749   (eval $ac_try) 2>&5
32750   ac_status=$?
32751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32752   (exit $ac_status); }; } &&
32753          { ac_try='test -s conftest.$ac_objext'
32754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32755   (eval $ac_try) 2>&5
32756   ac_status=$?
32757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32758   (exit $ac_status); }; }; then
32759   glibcxx_cv_func_hypotl_use=yes
32760 else
32761   echo "$as_me: failed program was:" >&5
32762 sed 's/^/| /' conftest.$ac_ext >&5
32763
32764 glibcxx_cv_func_hypotl_use=no
32765 fi
32766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32767       ac_ext=c
32768 ac_cpp='$CPP $CPPFLAGS'
32769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32772
32773
32774 fi
32775
32776   fi
32777   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32778 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32779
32780   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32781
32782 for ac_func in hypotl
32783 do
32784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32785 echo "$as_me:$LINENO: checking for $ac_func" >&5
32786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32787 if eval "test \"\${$as_ac_var+set}\" = set"; then
32788   echo $ECHO_N "(cached) $ECHO_C" >&6
32789 else
32790   if test x$gcc_no_link = xyes; then
32791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32793    { (exit 1); exit 1; }; }
32794 fi
32795 cat >conftest.$ac_ext <<_ACEOF
32796 /* confdefs.h.  */
32797 _ACEOF
32798 cat confdefs.h >>conftest.$ac_ext
32799 cat >>conftest.$ac_ext <<_ACEOF
32800 /* end confdefs.h.  */
32801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32803 #define $ac_func innocuous_$ac_func
32804
32805 /* System header to define __stub macros and hopefully few prototypes,
32806     which can conflict with char $ac_func (); below.
32807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32808     <limits.h> exists even on freestanding compilers.  */
32809
32810 #ifdef __STDC__
32811 # include <limits.h>
32812 #else
32813 # include <assert.h>
32814 #endif
32815
32816 #undef $ac_func
32817
32818 /* Override any gcc2 internal prototype to avoid an error.  */
32819 #ifdef __cplusplus
32820 extern "C"
32821 {
32822 #endif
32823 /* We use char because int might match the return type of a gcc2
32824    builtin and then its argument prototype would still apply.  */
32825 char $ac_func ();
32826 /* The GNU C library defines this for functions which it implements
32827     to always fail with ENOSYS.  Some functions are actually named
32828     something starting with __ and the normal name is an alias.  */
32829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32830 choke me
32831 #else
32832 char (*f) () = $ac_func;
32833 #endif
32834 #ifdef __cplusplus
32835 }
32836 #endif
32837
32838 int
32839 main ()
32840 {
32841 return f != $ac_func;
32842   ;
32843   return 0;
32844 }
32845 _ACEOF
32846 rm -f conftest.$ac_objext conftest$ac_exeext
32847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32848   (eval $ac_link) 2>conftest.er1
32849   ac_status=$?
32850   grep -v '^ *+' conftest.er1 >conftest.err
32851   rm -f conftest.er1
32852   cat conftest.err >&5
32853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32854   (exit $ac_status); } &&
32855          { ac_try='test -z "$ac_c_werror_flag"
32856                          || test ! -s conftest.err'
32857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32858   (eval $ac_try) 2>&5
32859   ac_status=$?
32860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32861   (exit $ac_status); }; } &&
32862          { ac_try='test -s conftest$ac_exeext'
32863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32864   (eval $ac_try) 2>&5
32865   ac_status=$?
32866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867   (exit $ac_status); }; }; then
32868   eval "$as_ac_var=yes"
32869 else
32870   echo "$as_me: failed program was:" >&5
32871 sed 's/^/| /' conftest.$ac_ext >&5
32872
32873 eval "$as_ac_var=no"
32874 fi
32875 rm -f conftest.err conftest.$ac_objext \
32876       conftest$ac_exeext conftest.$ac_ext
32877 fi
32878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32880 if test `eval echo '${'$as_ac_var'}'` = yes; then
32881   cat >>confdefs.h <<_ACEOF
32882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32883 _ACEOF
32884
32885 fi
32886 done
32887
32888   else
32889
32890   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32891 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32892   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32893     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32894   echo $ECHO_N "(cached) $ECHO_C" >&6
32895 else
32896
32897
32898
32899       ac_ext=cc
32900 ac_cpp='$CXXCPP $CPPFLAGS'
32901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32904
32905       cat >conftest.$ac_ext <<_ACEOF
32906 /* confdefs.h.  */
32907 _ACEOF
32908 cat confdefs.h >>conftest.$ac_ext
32909 cat >>conftest.$ac_ext <<_ACEOF
32910 /* end confdefs.h.  */
32911 #include <math.h>
32912 int
32913 main ()
32914 {
32915  _hypotl(0, 0);
32916   ;
32917   return 0;
32918 }
32919 _ACEOF
32920 rm -f conftest.$ac_objext
32921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32922   (eval $ac_compile) 2>conftest.er1
32923   ac_status=$?
32924   grep -v '^ *+' conftest.er1 >conftest.err
32925   rm -f conftest.er1
32926   cat conftest.err >&5
32927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928   (exit $ac_status); } &&
32929          { ac_try='test -z "$ac_cxx_werror_flag"
32930                          || test ! -s conftest.err'
32931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32932   (eval $ac_try) 2>&5
32933   ac_status=$?
32934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32935   (exit $ac_status); }; } &&
32936          { ac_try='test -s conftest.$ac_objext'
32937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32938   (eval $ac_try) 2>&5
32939   ac_status=$?
32940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32941   (exit $ac_status); }; }; then
32942   glibcxx_cv_func__hypotl_use=yes
32943 else
32944   echo "$as_me: failed program was:" >&5
32945 sed 's/^/| /' conftest.$ac_ext >&5
32946
32947 glibcxx_cv_func__hypotl_use=no
32948 fi
32949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32950       ac_ext=c
32951 ac_cpp='$CPP $CPPFLAGS'
32952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32955
32956
32957 fi
32958
32959   fi
32960   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32961 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32962
32963     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32964
32965 for ac_func in _hypotl
32966 do
32967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32968 echo "$as_me:$LINENO: checking for $ac_func" >&5
32969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32970 if eval "test \"\${$as_ac_var+set}\" = set"; then
32971   echo $ECHO_N "(cached) $ECHO_C" >&6
32972 else
32973   if test x$gcc_no_link = xyes; then
32974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32976    { (exit 1); exit 1; }; }
32977 fi
32978 cat >conftest.$ac_ext <<_ACEOF
32979 /* confdefs.h.  */
32980 _ACEOF
32981 cat confdefs.h >>conftest.$ac_ext
32982 cat >>conftest.$ac_ext <<_ACEOF
32983 /* end confdefs.h.  */
32984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32986 #define $ac_func innocuous_$ac_func
32987
32988 /* System header to define __stub macros and hopefully few prototypes,
32989     which can conflict with char $ac_func (); below.
32990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32991     <limits.h> exists even on freestanding compilers.  */
32992
32993 #ifdef __STDC__
32994 # include <limits.h>
32995 #else
32996 # include <assert.h>
32997 #endif
32998
32999 #undef $ac_func
33000
33001 /* Override any gcc2 internal prototype to avoid an error.  */
33002 #ifdef __cplusplus
33003 extern "C"
33004 {
33005 #endif
33006 /* We use char because int might match the return type of a gcc2
33007    builtin and then its argument prototype would still apply.  */
33008 char $ac_func ();
33009 /* The GNU C library defines this for functions which it implements
33010     to always fail with ENOSYS.  Some functions are actually named
33011     something starting with __ and the normal name is an alias.  */
33012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33013 choke me
33014 #else
33015 char (*f) () = $ac_func;
33016 #endif
33017 #ifdef __cplusplus
33018 }
33019 #endif
33020
33021 int
33022 main ()
33023 {
33024 return f != $ac_func;
33025   ;
33026   return 0;
33027 }
33028 _ACEOF
33029 rm -f conftest.$ac_objext conftest$ac_exeext
33030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33031   (eval $ac_link) 2>conftest.er1
33032   ac_status=$?
33033   grep -v '^ *+' conftest.er1 >conftest.err
33034   rm -f conftest.er1
33035   cat conftest.err >&5
33036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33037   (exit $ac_status); } &&
33038          { ac_try='test -z "$ac_c_werror_flag"
33039                          || test ! -s conftest.err'
33040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33041   (eval $ac_try) 2>&5
33042   ac_status=$?
33043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33044   (exit $ac_status); }; } &&
33045          { ac_try='test -s conftest$ac_exeext'
33046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33047   (eval $ac_try) 2>&5
33048   ac_status=$?
33049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33050   (exit $ac_status); }; }; then
33051   eval "$as_ac_var=yes"
33052 else
33053   echo "$as_me: failed program was:" >&5
33054 sed 's/^/| /' conftest.$ac_ext >&5
33055
33056 eval "$as_ac_var=no"
33057 fi
33058 rm -f conftest.err conftest.$ac_objext \
33059       conftest$ac_exeext conftest.$ac_ext
33060 fi
33061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33063 if test `eval echo '${'$as_ac_var'}'` = yes; then
33064   cat >>confdefs.h <<_ACEOF
33065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33066 _ACEOF
33067
33068 fi
33069 done
33070
33071     fi
33072   fi
33073
33074
33075
33076
33077
33078
33079   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
33080 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
33081   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33082     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
33083   echo $ECHO_N "(cached) $ECHO_C" >&6
33084 else
33085
33086
33087
33088       ac_ext=cc
33089 ac_cpp='$CXXCPP $CPPFLAGS'
33090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33093
33094       cat >conftest.$ac_ext <<_ACEOF
33095 /* confdefs.h.  */
33096 _ACEOF
33097 cat confdefs.h >>conftest.$ac_ext
33098 cat >>conftest.$ac_ext <<_ACEOF
33099 /* end confdefs.h.  */
33100 #include <math.h>
33101 int
33102 main ()
33103 {
33104  ldexpl(0, 0);
33105   ;
33106   return 0;
33107 }
33108 _ACEOF
33109 rm -f conftest.$ac_objext
33110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33111   (eval $ac_compile) 2>conftest.er1
33112   ac_status=$?
33113   grep -v '^ *+' conftest.er1 >conftest.err
33114   rm -f conftest.er1
33115   cat conftest.err >&5
33116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33117   (exit $ac_status); } &&
33118          { ac_try='test -z "$ac_cxx_werror_flag"
33119                          || test ! -s conftest.err'
33120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33121   (eval $ac_try) 2>&5
33122   ac_status=$?
33123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33124   (exit $ac_status); }; } &&
33125          { ac_try='test -s conftest.$ac_objext'
33126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33127   (eval $ac_try) 2>&5
33128   ac_status=$?
33129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33130   (exit $ac_status); }; }; then
33131   glibcxx_cv_func_ldexpl_use=yes
33132 else
33133   echo "$as_me: failed program was:" >&5
33134 sed 's/^/| /' conftest.$ac_ext >&5
33135
33136 glibcxx_cv_func_ldexpl_use=no
33137 fi
33138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33139       ac_ext=c
33140 ac_cpp='$CPP $CPPFLAGS'
33141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33144
33145
33146 fi
33147
33148   fi
33149   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
33150 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
33151
33152   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33153
33154 for ac_func in ldexpl
33155 do
33156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33157 echo "$as_me:$LINENO: checking for $ac_func" >&5
33158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33159 if eval "test \"\${$as_ac_var+set}\" = set"; then
33160   echo $ECHO_N "(cached) $ECHO_C" >&6
33161 else
33162   if test x$gcc_no_link = xyes; then
33163   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33165    { (exit 1); exit 1; }; }
33166 fi
33167 cat >conftest.$ac_ext <<_ACEOF
33168 /* confdefs.h.  */
33169 _ACEOF
33170 cat confdefs.h >>conftest.$ac_ext
33171 cat >>conftest.$ac_ext <<_ACEOF
33172 /* end confdefs.h.  */
33173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33174    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33175 #define $ac_func innocuous_$ac_func
33176
33177 /* System header to define __stub macros and hopefully few prototypes,
33178     which can conflict with char $ac_func (); below.
33179     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33180     <limits.h> exists even on freestanding compilers.  */
33181
33182 #ifdef __STDC__
33183 # include <limits.h>
33184 #else
33185 # include <assert.h>
33186 #endif
33187
33188 #undef $ac_func
33189
33190 /* Override any gcc2 internal prototype to avoid an error.  */
33191 #ifdef __cplusplus
33192 extern "C"
33193 {
33194 #endif
33195 /* We use char because int might match the return type of a gcc2
33196    builtin and then its argument prototype would still apply.  */
33197 char $ac_func ();
33198 /* The GNU C library defines this for functions which it implements
33199     to always fail with ENOSYS.  Some functions are actually named
33200     something starting with __ and the normal name is an alias.  */
33201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33202 choke me
33203 #else
33204 char (*f) () = $ac_func;
33205 #endif
33206 #ifdef __cplusplus
33207 }
33208 #endif
33209
33210 int
33211 main ()
33212 {
33213 return f != $ac_func;
33214   ;
33215   return 0;
33216 }
33217 _ACEOF
33218 rm -f conftest.$ac_objext conftest$ac_exeext
33219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33220   (eval $ac_link) 2>conftest.er1
33221   ac_status=$?
33222   grep -v '^ *+' conftest.er1 >conftest.err
33223   rm -f conftest.er1
33224   cat conftest.err >&5
33225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33226   (exit $ac_status); } &&
33227          { ac_try='test -z "$ac_c_werror_flag"
33228                          || test ! -s conftest.err'
33229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33230   (eval $ac_try) 2>&5
33231   ac_status=$?
33232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33233   (exit $ac_status); }; } &&
33234          { ac_try='test -s conftest$ac_exeext'
33235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33236   (eval $ac_try) 2>&5
33237   ac_status=$?
33238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33239   (exit $ac_status); }; }; then
33240   eval "$as_ac_var=yes"
33241 else
33242   echo "$as_me: failed program was:" >&5
33243 sed 's/^/| /' conftest.$ac_ext >&5
33244
33245 eval "$as_ac_var=no"
33246 fi
33247 rm -f conftest.err conftest.$ac_objext \
33248       conftest$ac_exeext conftest.$ac_ext
33249 fi
33250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33252 if test `eval echo '${'$as_ac_var'}'` = yes; then
33253   cat >>confdefs.h <<_ACEOF
33254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33255 _ACEOF
33256
33257 fi
33258 done
33259
33260   else
33261
33262   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
33263 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
33264   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33265     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
33266   echo $ECHO_N "(cached) $ECHO_C" >&6
33267 else
33268
33269
33270
33271       ac_ext=cc
33272 ac_cpp='$CXXCPP $CPPFLAGS'
33273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33276
33277       cat >conftest.$ac_ext <<_ACEOF
33278 /* confdefs.h.  */
33279 _ACEOF
33280 cat confdefs.h >>conftest.$ac_ext
33281 cat >>conftest.$ac_ext <<_ACEOF
33282 /* end confdefs.h.  */
33283 #include <math.h>
33284 int
33285 main ()
33286 {
33287  _ldexpl(0, 0);
33288   ;
33289   return 0;
33290 }
33291 _ACEOF
33292 rm -f conftest.$ac_objext
33293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33294   (eval $ac_compile) 2>conftest.er1
33295   ac_status=$?
33296   grep -v '^ *+' conftest.er1 >conftest.err
33297   rm -f conftest.er1
33298   cat conftest.err >&5
33299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33300   (exit $ac_status); } &&
33301          { ac_try='test -z "$ac_cxx_werror_flag"
33302                          || test ! -s conftest.err'
33303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33304   (eval $ac_try) 2>&5
33305   ac_status=$?
33306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33307   (exit $ac_status); }; } &&
33308          { ac_try='test -s conftest.$ac_objext'
33309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33310   (eval $ac_try) 2>&5
33311   ac_status=$?
33312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33313   (exit $ac_status); }; }; then
33314   glibcxx_cv_func__ldexpl_use=yes
33315 else
33316   echo "$as_me: failed program was:" >&5
33317 sed 's/^/| /' conftest.$ac_ext >&5
33318
33319 glibcxx_cv_func__ldexpl_use=no
33320 fi
33321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33322       ac_ext=c
33323 ac_cpp='$CPP $CPPFLAGS'
33324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33327
33328
33329 fi
33330
33331   fi
33332   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
33333 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
33334
33335     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33336
33337 for ac_func in _ldexpl
33338 do
33339 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33340 echo "$as_me:$LINENO: checking for $ac_func" >&5
33341 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33342 if eval "test \"\${$as_ac_var+set}\" = set"; then
33343   echo $ECHO_N "(cached) $ECHO_C" >&6
33344 else
33345   if test x$gcc_no_link = xyes; then
33346   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33348    { (exit 1); exit 1; }; }
33349 fi
33350 cat >conftest.$ac_ext <<_ACEOF
33351 /* confdefs.h.  */
33352 _ACEOF
33353 cat confdefs.h >>conftest.$ac_ext
33354 cat >>conftest.$ac_ext <<_ACEOF
33355 /* end confdefs.h.  */
33356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33357    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33358 #define $ac_func innocuous_$ac_func
33359
33360 /* System header to define __stub macros and hopefully few prototypes,
33361     which can conflict with char $ac_func (); below.
33362     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33363     <limits.h> exists even on freestanding compilers.  */
33364
33365 #ifdef __STDC__
33366 # include <limits.h>
33367 #else
33368 # include <assert.h>
33369 #endif
33370
33371 #undef $ac_func
33372
33373 /* Override any gcc2 internal prototype to avoid an error.  */
33374 #ifdef __cplusplus
33375 extern "C"
33376 {
33377 #endif
33378 /* We use char because int might match the return type of a gcc2
33379    builtin and then its argument prototype would still apply.  */
33380 char $ac_func ();
33381 /* The GNU C library defines this for functions which it implements
33382     to always fail with ENOSYS.  Some functions are actually named
33383     something starting with __ and the normal name is an alias.  */
33384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33385 choke me
33386 #else
33387 char (*f) () = $ac_func;
33388 #endif
33389 #ifdef __cplusplus
33390 }
33391 #endif
33392
33393 int
33394 main ()
33395 {
33396 return f != $ac_func;
33397   ;
33398   return 0;
33399 }
33400 _ACEOF
33401 rm -f conftest.$ac_objext conftest$ac_exeext
33402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33403   (eval $ac_link) 2>conftest.er1
33404   ac_status=$?
33405   grep -v '^ *+' conftest.er1 >conftest.err
33406   rm -f conftest.er1
33407   cat conftest.err >&5
33408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33409   (exit $ac_status); } &&
33410          { ac_try='test -z "$ac_c_werror_flag"
33411                          || test ! -s conftest.err'
33412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33413   (eval $ac_try) 2>&5
33414   ac_status=$?
33415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33416   (exit $ac_status); }; } &&
33417          { ac_try='test -s conftest$ac_exeext'
33418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33419   (eval $ac_try) 2>&5
33420   ac_status=$?
33421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33422   (exit $ac_status); }; }; then
33423   eval "$as_ac_var=yes"
33424 else
33425   echo "$as_me: failed program was:" >&5
33426 sed 's/^/| /' conftest.$ac_ext >&5
33427
33428 eval "$as_ac_var=no"
33429 fi
33430 rm -f conftest.err conftest.$ac_objext \
33431       conftest$ac_exeext conftest.$ac_ext
33432 fi
33433 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33434 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33435 if test `eval echo '${'$as_ac_var'}'` = yes; then
33436   cat >>confdefs.h <<_ACEOF
33437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33438 _ACEOF
33439
33440 fi
33441 done
33442
33443     fi
33444   fi
33445
33446
33447
33448
33449
33450
33451   echo "$as_me:$LINENO: checking for logl declaration" >&5
33452 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33453   if test x${glibcxx_cv_func_logl_use+set} != xset; then
33454     if test "${glibcxx_cv_func_logl_use+set}" = set; then
33455   echo $ECHO_N "(cached) $ECHO_C" >&6
33456 else
33457
33458
33459
33460       ac_ext=cc
33461 ac_cpp='$CXXCPP $CPPFLAGS'
33462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33465
33466       cat >conftest.$ac_ext <<_ACEOF
33467 /* confdefs.h.  */
33468 _ACEOF
33469 cat confdefs.h >>conftest.$ac_ext
33470 cat >>conftest.$ac_ext <<_ACEOF
33471 /* end confdefs.h.  */
33472 #include <math.h>
33473                       #ifdef HAVE_IEEEFP_H
33474                       #include <ieeefp.h>
33475                       #endif
33476
33477 int
33478 main ()
33479 {
33480  logl(0);
33481   ;
33482   return 0;
33483 }
33484 _ACEOF
33485 rm -f conftest.$ac_objext
33486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33487   (eval $ac_compile) 2>conftest.er1
33488   ac_status=$?
33489   grep -v '^ *+' conftest.er1 >conftest.err
33490   rm -f conftest.er1
33491   cat conftest.err >&5
33492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33493   (exit $ac_status); } &&
33494          { ac_try='test -z "$ac_cxx_werror_flag"
33495                          || test ! -s conftest.err'
33496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33497   (eval $ac_try) 2>&5
33498   ac_status=$?
33499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33500   (exit $ac_status); }; } &&
33501          { ac_try='test -s conftest.$ac_objext'
33502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33503   (eval $ac_try) 2>&5
33504   ac_status=$?
33505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33506   (exit $ac_status); }; }; then
33507   glibcxx_cv_func_logl_use=yes
33508 else
33509   echo "$as_me: failed program was:" >&5
33510 sed 's/^/| /' conftest.$ac_ext >&5
33511
33512 glibcxx_cv_func_logl_use=no
33513 fi
33514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33515       ac_ext=c
33516 ac_cpp='$CPP $CPPFLAGS'
33517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33520
33521
33522 fi
33523
33524   fi
33525   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33526 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33527
33528   if test x$glibcxx_cv_func_logl_use = x"yes"; then
33529
33530 for ac_func in logl
33531 do
33532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33533 echo "$as_me:$LINENO: checking for $ac_func" >&5
33534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33535 if eval "test \"\${$as_ac_var+set}\" = set"; then
33536   echo $ECHO_N "(cached) $ECHO_C" >&6
33537 else
33538   if test x$gcc_no_link = xyes; then
33539   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33541    { (exit 1); exit 1; }; }
33542 fi
33543 cat >conftest.$ac_ext <<_ACEOF
33544 /* confdefs.h.  */
33545 _ACEOF
33546 cat confdefs.h >>conftest.$ac_ext
33547 cat >>conftest.$ac_ext <<_ACEOF
33548 /* end confdefs.h.  */
33549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33550    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33551 #define $ac_func innocuous_$ac_func
33552
33553 /* System header to define __stub macros and hopefully few prototypes,
33554     which can conflict with char $ac_func (); below.
33555     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33556     <limits.h> exists even on freestanding compilers.  */
33557
33558 #ifdef __STDC__
33559 # include <limits.h>
33560 #else
33561 # include <assert.h>
33562 #endif
33563
33564 #undef $ac_func
33565
33566 /* Override any gcc2 internal prototype to avoid an error.  */
33567 #ifdef __cplusplus
33568 extern "C"
33569 {
33570 #endif
33571 /* We use char because int might match the return type of a gcc2
33572    builtin and then its argument prototype would still apply.  */
33573 char $ac_func ();
33574 /* The GNU C library defines this for functions which it implements
33575     to always fail with ENOSYS.  Some functions are actually named
33576     something starting with __ and the normal name is an alias.  */
33577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33578 choke me
33579 #else
33580 char (*f) () = $ac_func;
33581 #endif
33582 #ifdef __cplusplus
33583 }
33584 #endif
33585
33586 int
33587 main ()
33588 {
33589 return f != $ac_func;
33590   ;
33591   return 0;
33592 }
33593 _ACEOF
33594 rm -f conftest.$ac_objext conftest$ac_exeext
33595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33596   (eval $ac_link) 2>conftest.er1
33597   ac_status=$?
33598   grep -v '^ *+' conftest.er1 >conftest.err
33599   rm -f conftest.er1
33600   cat conftest.err >&5
33601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33602   (exit $ac_status); } &&
33603          { ac_try='test -z "$ac_c_werror_flag"
33604                          || test ! -s conftest.err'
33605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33606   (eval $ac_try) 2>&5
33607   ac_status=$?
33608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33609   (exit $ac_status); }; } &&
33610          { ac_try='test -s conftest$ac_exeext'
33611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33612   (eval $ac_try) 2>&5
33613   ac_status=$?
33614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33615   (exit $ac_status); }; }; then
33616   eval "$as_ac_var=yes"
33617 else
33618   echo "$as_me: failed program was:" >&5
33619 sed 's/^/| /' conftest.$ac_ext >&5
33620
33621 eval "$as_ac_var=no"
33622 fi
33623 rm -f conftest.err conftest.$ac_objext \
33624       conftest$ac_exeext conftest.$ac_ext
33625 fi
33626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33628 if test `eval echo '${'$as_ac_var'}'` = yes; then
33629   cat >>confdefs.h <<_ACEOF
33630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33631 _ACEOF
33632
33633 fi
33634 done
33635
33636   else
33637
33638   echo "$as_me:$LINENO: checking for _logl declaration" >&5
33639 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33640   if test x${glibcxx_cv_func__logl_use+set} != xset; then
33641     if test "${glibcxx_cv_func__logl_use+set}" = set; then
33642   echo $ECHO_N "(cached) $ECHO_C" >&6
33643 else
33644
33645
33646
33647       ac_ext=cc
33648 ac_cpp='$CXXCPP $CPPFLAGS'
33649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33652
33653       cat >conftest.$ac_ext <<_ACEOF
33654 /* confdefs.h.  */
33655 _ACEOF
33656 cat confdefs.h >>conftest.$ac_ext
33657 cat >>conftest.$ac_ext <<_ACEOF
33658 /* end confdefs.h.  */
33659 #include <math.h>
33660                       #ifdef HAVE_IEEEFP_H
33661                       #include <ieeefp.h>
33662                       #endif
33663
33664 int
33665 main ()
33666 {
33667  _logl(0);
33668   ;
33669   return 0;
33670 }
33671 _ACEOF
33672 rm -f conftest.$ac_objext
33673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33674   (eval $ac_compile) 2>conftest.er1
33675   ac_status=$?
33676   grep -v '^ *+' conftest.er1 >conftest.err
33677   rm -f conftest.er1
33678   cat conftest.err >&5
33679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33680   (exit $ac_status); } &&
33681          { ac_try='test -z "$ac_cxx_werror_flag"
33682                          || test ! -s conftest.err'
33683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33684   (eval $ac_try) 2>&5
33685   ac_status=$?
33686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33687   (exit $ac_status); }; } &&
33688          { ac_try='test -s conftest.$ac_objext'
33689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33690   (eval $ac_try) 2>&5
33691   ac_status=$?
33692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33693   (exit $ac_status); }; }; then
33694   glibcxx_cv_func__logl_use=yes
33695 else
33696   echo "$as_me: failed program was:" >&5
33697 sed 's/^/| /' conftest.$ac_ext >&5
33698
33699 glibcxx_cv_func__logl_use=no
33700 fi
33701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33702       ac_ext=c
33703 ac_cpp='$CPP $CPPFLAGS'
33704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33707
33708
33709 fi
33710
33711   fi
33712   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33713 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33714
33715     if test x$glibcxx_cv_func__logl_use = x"yes"; then
33716
33717 for ac_func in _logl
33718 do
33719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33720 echo "$as_me:$LINENO: checking for $ac_func" >&5
33721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33722 if eval "test \"\${$as_ac_var+set}\" = set"; then
33723   echo $ECHO_N "(cached) $ECHO_C" >&6
33724 else
33725   if test x$gcc_no_link = xyes; then
33726   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33728    { (exit 1); exit 1; }; }
33729 fi
33730 cat >conftest.$ac_ext <<_ACEOF
33731 /* confdefs.h.  */
33732 _ACEOF
33733 cat confdefs.h >>conftest.$ac_ext
33734 cat >>conftest.$ac_ext <<_ACEOF
33735 /* end confdefs.h.  */
33736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33737    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33738 #define $ac_func innocuous_$ac_func
33739
33740 /* System header to define __stub macros and hopefully few prototypes,
33741     which can conflict with char $ac_func (); below.
33742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33743     <limits.h> exists even on freestanding compilers.  */
33744
33745 #ifdef __STDC__
33746 # include <limits.h>
33747 #else
33748 # include <assert.h>
33749 #endif
33750
33751 #undef $ac_func
33752
33753 /* Override any gcc2 internal prototype to avoid an error.  */
33754 #ifdef __cplusplus
33755 extern "C"
33756 {
33757 #endif
33758 /* We use char because int might match the return type of a gcc2
33759    builtin and then its argument prototype would still apply.  */
33760 char $ac_func ();
33761 /* The GNU C library defines this for functions which it implements
33762     to always fail with ENOSYS.  Some functions are actually named
33763     something starting with __ and the normal name is an alias.  */
33764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33765 choke me
33766 #else
33767 char (*f) () = $ac_func;
33768 #endif
33769 #ifdef __cplusplus
33770 }
33771 #endif
33772
33773 int
33774 main ()
33775 {
33776 return f != $ac_func;
33777   ;
33778   return 0;
33779 }
33780 _ACEOF
33781 rm -f conftest.$ac_objext conftest$ac_exeext
33782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33783   (eval $ac_link) 2>conftest.er1
33784   ac_status=$?
33785   grep -v '^ *+' conftest.er1 >conftest.err
33786   rm -f conftest.er1
33787   cat conftest.err >&5
33788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33789   (exit $ac_status); } &&
33790          { ac_try='test -z "$ac_c_werror_flag"
33791                          || test ! -s conftest.err'
33792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33793   (eval $ac_try) 2>&5
33794   ac_status=$?
33795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33796   (exit $ac_status); }; } &&
33797          { ac_try='test -s conftest$ac_exeext'
33798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33799   (eval $ac_try) 2>&5
33800   ac_status=$?
33801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33802   (exit $ac_status); }; }; then
33803   eval "$as_ac_var=yes"
33804 else
33805   echo "$as_me: failed program was:" >&5
33806 sed 's/^/| /' conftest.$ac_ext >&5
33807
33808 eval "$as_ac_var=no"
33809 fi
33810 rm -f conftest.err conftest.$ac_objext \
33811       conftest$ac_exeext conftest.$ac_ext
33812 fi
33813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33815 if test `eval echo '${'$as_ac_var'}'` = yes; then
33816   cat >>confdefs.h <<_ACEOF
33817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33818 _ACEOF
33819
33820 fi
33821 done
33822
33823     fi
33824   fi
33825
33826
33827
33828
33829
33830
33831   echo "$as_me:$LINENO: checking for log10l declaration" >&5
33832 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33833   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33834     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33835   echo $ECHO_N "(cached) $ECHO_C" >&6
33836 else
33837
33838
33839
33840       ac_ext=cc
33841 ac_cpp='$CXXCPP $CPPFLAGS'
33842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33845
33846       cat >conftest.$ac_ext <<_ACEOF
33847 /* confdefs.h.  */
33848 _ACEOF
33849 cat confdefs.h >>conftest.$ac_ext
33850 cat >>conftest.$ac_ext <<_ACEOF
33851 /* end confdefs.h.  */
33852 #include <math.h>
33853                       #ifdef HAVE_IEEEFP_H
33854                       #include <ieeefp.h>
33855                       #endif
33856
33857 int
33858 main ()
33859 {
33860  log10l(0);
33861   ;
33862   return 0;
33863 }
33864 _ACEOF
33865 rm -f conftest.$ac_objext
33866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33867   (eval $ac_compile) 2>conftest.er1
33868   ac_status=$?
33869   grep -v '^ *+' conftest.er1 >conftest.err
33870   rm -f conftest.er1
33871   cat conftest.err >&5
33872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33873   (exit $ac_status); } &&
33874          { ac_try='test -z "$ac_cxx_werror_flag"
33875                          || test ! -s conftest.err'
33876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33877   (eval $ac_try) 2>&5
33878   ac_status=$?
33879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33880   (exit $ac_status); }; } &&
33881          { ac_try='test -s conftest.$ac_objext'
33882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33883   (eval $ac_try) 2>&5
33884   ac_status=$?
33885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886   (exit $ac_status); }; }; then
33887   glibcxx_cv_func_log10l_use=yes
33888 else
33889   echo "$as_me: failed program was:" >&5
33890 sed 's/^/| /' conftest.$ac_ext >&5
33891
33892 glibcxx_cv_func_log10l_use=no
33893 fi
33894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33895       ac_ext=c
33896 ac_cpp='$CPP $CPPFLAGS'
33897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33900
33901
33902 fi
33903
33904   fi
33905   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33906 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33907
33908   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33909
33910 for ac_func in log10l
33911 do
33912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33913 echo "$as_me:$LINENO: checking for $ac_func" >&5
33914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33915 if eval "test \"\${$as_ac_var+set}\" = set"; then
33916   echo $ECHO_N "(cached) $ECHO_C" >&6
33917 else
33918   if test x$gcc_no_link = xyes; then
33919   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33921    { (exit 1); exit 1; }; }
33922 fi
33923 cat >conftest.$ac_ext <<_ACEOF
33924 /* confdefs.h.  */
33925 _ACEOF
33926 cat confdefs.h >>conftest.$ac_ext
33927 cat >>conftest.$ac_ext <<_ACEOF
33928 /* end confdefs.h.  */
33929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33930    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33931 #define $ac_func innocuous_$ac_func
33932
33933 /* System header to define __stub macros and hopefully few prototypes,
33934     which can conflict with char $ac_func (); below.
33935     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33936     <limits.h> exists even on freestanding compilers.  */
33937
33938 #ifdef __STDC__
33939 # include <limits.h>
33940 #else
33941 # include <assert.h>
33942 #endif
33943
33944 #undef $ac_func
33945
33946 /* Override any gcc2 internal prototype to avoid an error.  */
33947 #ifdef __cplusplus
33948 extern "C"
33949 {
33950 #endif
33951 /* We use char because int might match the return type of a gcc2
33952    builtin and then its argument prototype would still apply.  */
33953 char $ac_func ();
33954 /* The GNU C library defines this for functions which it implements
33955     to always fail with ENOSYS.  Some functions are actually named
33956     something starting with __ and the normal name is an alias.  */
33957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33958 choke me
33959 #else
33960 char (*f) () = $ac_func;
33961 #endif
33962 #ifdef __cplusplus
33963 }
33964 #endif
33965
33966 int
33967 main ()
33968 {
33969 return f != $ac_func;
33970   ;
33971   return 0;
33972 }
33973 _ACEOF
33974 rm -f conftest.$ac_objext conftest$ac_exeext
33975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33976   (eval $ac_link) 2>conftest.er1
33977   ac_status=$?
33978   grep -v '^ *+' conftest.er1 >conftest.err
33979   rm -f conftest.er1
33980   cat conftest.err >&5
33981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33982   (exit $ac_status); } &&
33983          { ac_try='test -z "$ac_c_werror_flag"
33984                          || test ! -s conftest.err'
33985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33986   (eval $ac_try) 2>&5
33987   ac_status=$?
33988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33989   (exit $ac_status); }; } &&
33990          { ac_try='test -s conftest$ac_exeext'
33991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33992   (eval $ac_try) 2>&5
33993   ac_status=$?
33994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33995   (exit $ac_status); }; }; then
33996   eval "$as_ac_var=yes"
33997 else
33998   echo "$as_me: failed program was:" >&5
33999 sed 's/^/| /' conftest.$ac_ext >&5
34000
34001 eval "$as_ac_var=no"
34002 fi
34003 rm -f conftest.err conftest.$ac_objext \
34004       conftest$ac_exeext conftest.$ac_ext
34005 fi
34006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34007 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34008 if test `eval echo '${'$as_ac_var'}'` = yes; then
34009   cat >>confdefs.h <<_ACEOF
34010 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34011 _ACEOF
34012
34013 fi
34014 done
34015
34016   else
34017
34018   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
34019 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
34020   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34021     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
34022   echo $ECHO_N "(cached) $ECHO_C" >&6
34023 else
34024
34025
34026
34027       ac_ext=cc
34028 ac_cpp='$CXXCPP $CPPFLAGS'
34029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34032
34033       cat >conftest.$ac_ext <<_ACEOF
34034 /* confdefs.h.  */
34035 _ACEOF
34036 cat confdefs.h >>conftest.$ac_ext
34037 cat >>conftest.$ac_ext <<_ACEOF
34038 /* end confdefs.h.  */
34039 #include <math.h>
34040                       #ifdef HAVE_IEEEFP_H
34041                       #include <ieeefp.h>
34042                       #endif
34043
34044 int
34045 main ()
34046 {
34047  _log10l(0);
34048   ;
34049   return 0;
34050 }
34051 _ACEOF
34052 rm -f conftest.$ac_objext
34053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34054   (eval $ac_compile) 2>conftest.er1
34055   ac_status=$?
34056   grep -v '^ *+' conftest.er1 >conftest.err
34057   rm -f conftest.er1
34058   cat conftest.err >&5
34059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34060   (exit $ac_status); } &&
34061          { ac_try='test -z "$ac_cxx_werror_flag"
34062                          || test ! -s conftest.err'
34063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34064   (eval $ac_try) 2>&5
34065   ac_status=$?
34066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34067   (exit $ac_status); }; } &&
34068          { ac_try='test -s conftest.$ac_objext'
34069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34070   (eval $ac_try) 2>&5
34071   ac_status=$?
34072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34073   (exit $ac_status); }; }; then
34074   glibcxx_cv_func__log10l_use=yes
34075 else
34076   echo "$as_me: failed program was:" >&5
34077 sed 's/^/| /' conftest.$ac_ext >&5
34078
34079 glibcxx_cv_func__log10l_use=no
34080 fi
34081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34082       ac_ext=c
34083 ac_cpp='$CPP $CPPFLAGS'
34084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34087
34088
34089 fi
34090
34091   fi
34092   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
34093 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
34094
34095     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34096
34097 for ac_func in _log10l
34098 do
34099 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34100 echo "$as_me:$LINENO: checking for $ac_func" >&5
34101 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34102 if eval "test \"\${$as_ac_var+set}\" = set"; then
34103   echo $ECHO_N "(cached) $ECHO_C" >&6
34104 else
34105   if test x$gcc_no_link = xyes; then
34106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34108    { (exit 1); exit 1; }; }
34109 fi
34110 cat >conftest.$ac_ext <<_ACEOF
34111 /* confdefs.h.  */
34112 _ACEOF
34113 cat confdefs.h >>conftest.$ac_ext
34114 cat >>conftest.$ac_ext <<_ACEOF
34115 /* end confdefs.h.  */
34116 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34117    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34118 #define $ac_func innocuous_$ac_func
34119
34120 /* System header to define __stub macros and hopefully few prototypes,
34121     which can conflict with char $ac_func (); below.
34122     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34123     <limits.h> exists even on freestanding compilers.  */
34124
34125 #ifdef __STDC__
34126 # include <limits.h>
34127 #else
34128 # include <assert.h>
34129 #endif
34130
34131 #undef $ac_func
34132
34133 /* Override any gcc2 internal prototype to avoid an error.  */
34134 #ifdef __cplusplus
34135 extern "C"
34136 {
34137 #endif
34138 /* We use char because int might match the return type of a gcc2
34139    builtin and then its argument prototype would still apply.  */
34140 char $ac_func ();
34141 /* The GNU C library defines this for functions which it implements
34142     to always fail with ENOSYS.  Some functions are actually named
34143     something starting with __ and the normal name is an alias.  */
34144 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34145 choke me
34146 #else
34147 char (*f) () = $ac_func;
34148 #endif
34149 #ifdef __cplusplus
34150 }
34151 #endif
34152
34153 int
34154 main ()
34155 {
34156 return f != $ac_func;
34157   ;
34158   return 0;
34159 }
34160 _ACEOF
34161 rm -f conftest.$ac_objext conftest$ac_exeext
34162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34163   (eval $ac_link) 2>conftest.er1
34164   ac_status=$?
34165   grep -v '^ *+' conftest.er1 >conftest.err
34166   rm -f conftest.er1
34167   cat conftest.err >&5
34168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34169   (exit $ac_status); } &&
34170          { ac_try='test -z "$ac_c_werror_flag"
34171                          || test ! -s conftest.err'
34172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34173   (eval $ac_try) 2>&5
34174   ac_status=$?
34175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34176   (exit $ac_status); }; } &&
34177          { ac_try='test -s conftest$ac_exeext'
34178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34179   (eval $ac_try) 2>&5
34180   ac_status=$?
34181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34182   (exit $ac_status); }; }; then
34183   eval "$as_ac_var=yes"
34184 else
34185   echo "$as_me: failed program was:" >&5
34186 sed 's/^/| /' conftest.$ac_ext >&5
34187
34188 eval "$as_ac_var=no"
34189 fi
34190 rm -f conftest.err conftest.$ac_objext \
34191       conftest$ac_exeext conftest.$ac_ext
34192 fi
34193 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34194 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34195 if test `eval echo '${'$as_ac_var'}'` = yes; then
34196   cat >>confdefs.h <<_ACEOF
34197 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34198 _ACEOF
34199
34200 fi
34201 done
34202
34203     fi
34204   fi
34205
34206
34207
34208
34209
34210
34211   echo "$as_me:$LINENO: checking for modfl declaration" >&5
34212 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
34213   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34214     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
34215   echo $ECHO_N "(cached) $ECHO_C" >&6
34216 else
34217
34218
34219
34220       ac_ext=cc
34221 ac_cpp='$CXXCPP $CPPFLAGS'
34222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34225
34226       cat >conftest.$ac_ext <<_ACEOF
34227 /* confdefs.h.  */
34228 _ACEOF
34229 cat confdefs.h >>conftest.$ac_ext
34230 cat >>conftest.$ac_ext <<_ACEOF
34231 /* end confdefs.h.  */
34232 #include <math.h>
34233 int
34234 main ()
34235 {
34236  modfl(0, 0);
34237   ;
34238   return 0;
34239 }
34240 _ACEOF
34241 rm -f conftest.$ac_objext
34242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34243   (eval $ac_compile) 2>conftest.er1
34244   ac_status=$?
34245   grep -v '^ *+' conftest.er1 >conftest.err
34246   rm -f conftest.er1
34247   cat conftest.err >&5
34248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34249   (exit $ac_status); } &&
34250          { ac_try='test -z "$ac_cxx_werror_flag"
34251                          || test ! -s conftest.err'
34252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34253   (eval $ac_try) 2>&5
34254   ac_status=$?
34255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34256   (exit $ac_status); }; } &&
34257          { ac_try='test -s conftest.$ac_objext'
34258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34259   (eval $ac_try) 2>&5
34260   ac_status=$?
34261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34262   (exit $ac_status); }; }; then
34263   glibcxx_cv_func_modfl_use=yes
34264 else
34265   echo "$as_me: failed program was:" >&5
34266 sed 's/^/| /' conftest.$ac_ext >&5
34267
34268 glibcxx_cv_func_modfl_use=no
34269 fi
34270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34271       ac_ext=c
34272 ac_cpp='$CPP $CPPFLAGS'
34273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34276
34277
34278 fi
34279
34280   fi
34281   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
34282 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
34283
34284   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34285
34286 for ac_func in modfl
34287 do
34288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34289 echo "$as_me:$LINENO: checking for $ac_func" >&5
34290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34291 if eval "test \"\${$as_ac_var+set}\" = set"; then
34292   echo $ECHO_N "(cached) $ECHO_C" >&6
34293 else
34294   if test x$gcc_no_link = xyes; then
34295   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34297    { (exit 1); exit 1; }; }
34298 fi
34299 cat >conftest.$ac_ext <<_ACEOF
34300 /* confdefs.h.  */
34301 _ACEOF
34302 cat confdefs.h >>conftest.$ac_ext
34303 cat >>conftest.$ac_ext <<_ACEOF
34304 /* end confdefs.h.  */
34305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34306    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34307 #define $ac_func innocuous_$ac_func
34308
34309 /* System header to define __stub macros and hopefully few prototypes,
34310     which can conflict with char $ac_func (); below.
34311     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34312     <limits.h> exists even on freestanding compilers.  */
34313
34314 #ifdef __STDC__
34315 # include <limits.h>
34316 #else
34317 # include <assert.h>
34318 #endif
34319
34320 #undef $ac_func
34321
34322 /* Override any gcc2 internal prototype to avoid an error.  */
34323 #ifdef __cplusplus
34324 extern "C"
34325 {
34326 #endif
34327 /* We use char because int might match the return type of a gcc2
34328    builtin and then its argument prototype would still apply.  */
34329 char $ac_func ();
34330 /* The GNU C library defines this for functions which it implements
34331     to always fail with ENOSYS.  Some functions are actually named
34332     something starting with __ and the normal name is an alias.  */
34333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34334 choke me
34335 #else
34336 char (*f) () = $ac_func;
34337 #endif
34338 #ifdef __cplusplus
34339 }
34340 #endif
34341
34342 int
34343 main ()
34344 {
34345 return f != $ac_func;
34346   ;
34347   return 0;
34348 }
34349 _ACEOF
34350 rm -f conftest.$ac_objext conftest$ac_exeext
34351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34352   (eval $ac_link) 2>conftest.er1
34353   ac_status=$?
34354   grep -v '^ *+' conftest.er1 >conftest.err
34355   rm -f conftest.er1
34356   cat conftest.err >&5
34357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34358   (exit $ac_status); } &&
34359          { ac_try='test -z "$ac_c_werror_flag"
34360                          || test ! -s conftest.err'
34361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34362   (eval $ac_try) 2>&5
34363   ac_status=$?
34364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34365   (exit $ac_status); }; } &&
34366          { ac_try='test -s conftest$ac_exeext'
34367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34368   (eval $ac_try) 2>&5
34369   ac_status=$?
34370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34371   (exit $ac_status); }; }; then
34372   eval "$as_ac_var=yes"
34373 else
34374   echo "$as_me: failed program was:" >&5
34375 sed 's/^/| /' conftest.$ac_ext >&5
34376
34377 eval "$as_ac_var=no"
34378 fi
34379 rm -f conftest.err conftest.$ac_objext \
34380       conftest$ac_exeext conftest.$ac_ext
34381 fi
34382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34384 if test `eval echo '${'$as_ac_var'}'` = yes; then
34385   cat >>confdefs.h <<_ACEOF
34386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34387 _ACEOF
34388
34389 fi
34390 done
34391
34392   else
34393
34394   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34395 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34396   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34397     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34398   echo $ECHO_N "(cached) $ECHO_C" >&6
34399 else
34400
34401
34402
34403       ac_ext=cc
34404 ac_cpp='$CXXCPP $CPPFLAGS'
34405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34408
34409       cat >conftest.$ac_ext <<_ACEOF
34410 /* confdefs.h.  */
34411 _ACEOF
34412 cat confdefs.h >>conftest.$ac_ext
34413 cat >>conftest.$ac_ext <<_ACEOF
34414 /* end confdefs.h.  */
34415 #include <math.h>
34416 int
34417 main ()
34418 {
34419  _modfl(0, 0);
34420   ;
34421   return 0;
34422 }
34423 _ACEOF
34424 rm -f conftest.$ac_objext
34425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34426   (eval $ac_compile) 2>conftest.er1
34427   ac_status=$?
34428   grep -v '^ *+' conftest.er1 >conftest.err
34429   rm -f conftest.er1
34430   cat conftest.err >&5
34431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34432   (exit $ac_status); } &&
34433          { ac_try='test -z "$ac_cxx_werror_flag"
34434                          || test ! -s conftest.err'
34435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34436   (eval $ac_try) 2>&5
34437   ac_status=$?
34438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439   (exit $ac_status); }; } &&
34440          { ac_try='test -s conftest.$ac_objext'
34441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34442   (eval $ac_try) 2>&5
34443   ac_status=$?
34444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445   (exit $ac_status); }; }; then
34446   glibcxx_cv_func__modfl_use=yes
34447 else
34448   echo "$as_me: failed program was:" >&5
34449 sed 's/^/| /' conftest.$ac_ext >&5
34450
34451 glibcxx_cv_func__modfl_use=no
34452 fi
34453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34454       ac_ext=c
34455 ac_cpp='$CPP $CPPFLAGS'
34456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34459
34460
34461 fi
34462
34463   fi
34464   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34465 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34466
34467     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34468
34469 for ac_func in _modfl
34470 do
34471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34472 echo "$as_me:$LINENO: checking for $ac_func" >&5
34473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34474 if eval "test \"\${$as_ac_var+set}\" = set"; then
34475   echo $ECHO_N "(cached) $ECHO_C" >&6
34476 else
34477   if test x$gcc_no_link = xyes; then
34478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34480    { (exit 1); exit 1; }; }
34481 fi
34482 cat >conftest.$ac_ext <<_ACEOF
34483 /* confdefs.h.  */
34484 _ACEOF
34485 cat confdefs.h >>conftest.$ac_ext
34486 cat >>conftest.$ac_ext <<_ACEOF
34487 /* end confdefs.h.  */
34488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34489    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34490 #define $ac_func innocuous_$ac_func
34491
34492 /* System header to define __stub macros and hopefully few prototypes,
34493     which can conflict with char $ac_func (); below.
34494     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34495     <limits.h> exists even on freestanding compilers.  */
34496
34497 #ifdef __STDC__
34498 # include <limits.h>
34499 #else
34500 # include <assert.h>
34501 #endif
34502
34503 #undef $ac_func
34504
34505 /* Override any gcc2 internal prototype to avoid an error.  */
34506 #ifdef __cplusplus
34507 extern "C"
34508 {
34509 #endif
34510 /* We use char because int might match the return type of a gcc2
34511    builtin and then its argument prototype would still apply.  */
34512 char $ac_func ();
34513 /* The GNU C library defines this for functions which it implements
34514     to always fail with ENOSYS.  Some functions are actually named
34515     something starting with __ and the normal name is an alias.  */
34516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34517 choke me
34518 #else
34519 char (*f) () = $ac_func;
34520 #endif
34521 #ifdef __cplusplus
34522 }
34523 #endif
34524
34525 int
34526 main ()
34527 {
34528 return f != $ac_func;
34529   ;
34530   return 0;
34531 }
34532 _ACEOF
34533 rm -f conftest.$ac_objext conftest$ac_exeext
34534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34535   (eval $ac_link) 2>conftest.er1
34536   ac_status=$?
34537   grep -v '^ *+' conftest.er1 >conftest.err
34538   rm -f conftest.er1
34539   cat conftest.err >&5
34540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34541   (exit $ac_status); } &&
34542          { ac_try='test -z "$ac_c_werror_flag"
34543                          || test ! -s conftest.err'
34544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34545   (eval $ac_try) 2>&5
34546   ac_status=$?
34547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34548   (exit $ac_status); }; } &&
34549          { ac_try='test -s conftest$ac_exeext'
34550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34551   (eval $ac_try) 2>&5
34552   ac_status=$?
34553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34554   (exit $ac_status); }; }; then
34555   eval "$as_ac_var=yes"
34556 else
34557   echo "$as_me: failed program was:" >&5
34558 sed 's/^/| /' conftest.$ac_ext >&5
34559
34560 eval "$as_ac_var=no"
34561 fi
34562 rm -f conftest.err conftest.$ac_objext \
34563       conftest$ac_exeext conftest.$ac_ext
34564 fi
34565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34567 if test `eval echo '${'$as_ac_var'}'` = yes; then
34568   cat >>confdefs.h <<_ACEOF
34569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34570 _ACEOF
34571
34572 fi
34573 done
34574
34575     fi
34576   fi
34577
34578
34579
34580
34581
34582
34583   echo "$as_me:$LINENO: checking for powl declaration" >&5
34584 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34585   if test x${glibcxx_cv_func_powl_use+set} != xset; then
34586     if test "${glibcxx_cv_func_powl_use+set}" = set; then
34587   echo $ECHO_N "(cached) $ECHO_C" >&6
34588 else
34589
34590
34591
34592       ac_ext=cc
34593 ac_cpp='$CXXCPP $CPPFLAGS'
34594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34597
34598       cat >conftest.$ac_ext <<_ACEOF
34599 /* confdefs.h.  */
34600 _ACEOF
34601 cat confdefs.h >>conftest.$ac_ext
34602 cat >>conftest.$ac_ext <<_ACEOF
34603 /* end confdefs.h.  */
34604 #include <math.h>
34605 int
34606 main ()
34607 {
34608  powl(0, 0);
34609   ;
34610   return 0;
34611 }
34612 _ACEOF
34613 rm -f conftest.$ac_objext
34614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34615   (eval $ac_compile) 2>conftest.er1
34616   ac_status=$?
34617   grep -v '^ *+' conftest.er1 >conftest.err
34618   rm -f conftest.er1
34619   cat conftest.err >&5
34620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34621   (exit $ac_status); } &&
34622          { ac_try='test -z "$ac_cxx_werror_flag"
34623                          || test ! -s conftest.err'
34624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34625   (eval $ac_try) 2>&5
34626   ac_status=$?
34627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34628   (exit $ac_status); }; } &&
34629          { ac_try='test -s conftest.$ac_objext'
34630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34631   (eval $ac_try) 2>&5
34632   ac_status=$?
34633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34634   (exit $ac_status); }; }; then
34635   glibcxx_cv_func_powl_use=yes
34636 else
34637   echo "$as_me: failed program was:" >&5
34638 sed 's/^/| /' conftest.$ac_ext >&5
34639
34640 glibcxx_cv_func_powl_use=no
34641 fi
34642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34643       ac_ext=c
34644 ac_cpp='$CPP $CPPFLAGS'
34645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34648
34649
34650 fi
34651
34652   fi
34653   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34654 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34655
34656   if test x$glibcxx_cv_func_powl_use = x"yes"; then
34657
34658 for ac_func in powl
34659 do
34660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34661 echo "$as_me:$LINENO: checking for $ac_func" >&5
34662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34663 if eval "test \"\${$as_ac_var+set}\" = set"; then
34664   echo $ECHO_N "(cached) $ECHO_C" >&6
34665 else
34666   if test x$gcc_no_link = xyes; then
34667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34669    { (exit 1); exit 1; }; }
34670 fi
34671 cat >conftest.$ac_ext <<_ACEOF
34672 /* confdefs.h.  */
34673 _ACEOF
34674 cat confdefs.h >>conftest.$ac_ext
34675 cat >>conftest.$ac_ext <<_ACEOF
34676 /* end confdefs.h.  */
34677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34678    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34679 #define $ac_func innocuous_$ac_func
34680
34681 /* System header to define __stub macros and hopefully few prototypes,
34682     which can conflict with char $ac_func (); below.
34683     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34684     <limits.h> exists even on freestanding compilers.  */
34685
34686 #ifdef __STDC__
34687 # include <limits.h>
34688 #else
34689 # include <assert.h>
34690 #endif
34691
34692 #undef $ac_func
34693
34694 /* Override any gcc2 internal prototype to avoid an error.  */
34695 #ifdef __cplusplus
34696 extern "C"
34697 {
34698 #endif
34699 /* We use char because int might match the return type of a gcc2
34700    builtin and then its argument prototype would still apply.  */
34701 char $ac_func ();
34702 /* The GNU C library defines this for functions which it implements
34703     to always fail with ENOSYS.  Some functions are actually named
34704     something starting with __ and the normal name is an alias.  */
34705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34706 choke me
34707 #else
34708 char (*f) () = $ac_func;
34709 #endif
34710 #ifdef __cplusplus
34711 }
34712 #endif
34713
34714 int
34715 main ()
34716 {
34717 return f != $ac_func;
34718   ;
34719   return 0;
34720 }
34721 _ACEOF
34722 rm -f conftest.$ac_objext conftest$ac_exeext
34723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34724   (eval $ac_link) 2>conftest.er1
34725   ac_status=$?
34726   grep -v '^ *+' conftest.er1 >conftest.err
34727   rm -f conftest.er1
34728   cat conftest.err >&5
34729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34730   (exit $ac_status); } &&
34731          { ac_try='test -z "$ac_c_werror_flag"
34732                          || test ! -s conftest.err'
34733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34734   (eval $ac_try) 2>&5
34735   ac_status=$?
34736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34737   (exit $ac_status); }; } &&
34738          { ac_try='test -s conftest$ac_exeext'
34739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34740   (eval $ac_try) 2>&5
34741   ac_status=$?
34742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34743   (exit $ac_status); }; }; then
34744   eval "$as_ac_var=yes"
34745 else
34746   echo "$as_me: failed program was:" >&5
34747 sed 's/^/| /' conftest.$ac_ext >&5
34748
34749 eval "$as_ac_var=no"
34750 fi
34751 rm -f conftest.err conftest.$ac_objext \
34752       conftest$ac_exeext conftest.$ac_ext
34753 fi
34754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34756 if test `eval echo '${'$as_ac_var'}'` = yes; then
34757   cat >>confdefs.h <<_ACEOF
34758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34759 _ACEOF
34760
34761 fi
34762 done
34763
34764   else
34765
34766   echo "$as_me:$LINENO: checking for _powl declaration" >&5
34767 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34768   if test x${glibcxx_cv_func__powl_use+set} != xset; then
34769     if test "${glibcxx_cv_func__powl_use+set}" = set; then
34770   echo $ECHO_N "(cached) $ECHO_C" >&6
34771 else
34772
34773
34774
34775       ac_ext=cc
34776 ac_cpp='$CXXCPP $CPPFLAGS'
34777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34780
34781       cat >conftest.$ac_ext <<_ACEOF
34782 /* confdefs.h.  */
34783 _ACEOF
34784 cat confdefs.h >>conftest.$ac_ext
34785 cat >>conftest.$ac_ext <<_ACEOF
34786 /* end confdefs.h.  */
34787 #include <math.h>
34788 int
34789 main ()
34790 {
34791  _powl(0, 0);
34792   ;
34793   return 0;
34794 }
34795 _ACEOF
34796 rm -f conftest.$ac_objext
34797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34798   (eval $ac_compile) 2>conftest.er1
34799   ac_status=$?
34800   grep -v '^ *+' conftest.er1 >conftest.err
34801   rm -f conftest.er1
34802   cat conftest.err >&5
34803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34804   (exit $ac_status); } &&
34805          { ac_try='test -z "$ac_cxx_werror_flag"
34806                          || test ! -s conftest.err'
34807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34808   (eval $ac_try) 2>&5
34809   ac_status=$?
34810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34811   (exit $ac_status); }; } &&
34812          { ac_try='test -s conftest.$ac_objext'
34813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34814   (eval $ac_try) 2>&5
34815   ac_status=$?
34816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34817   (exit $ac_status); }; }; then
34818   glibcxx_cv_func__powl_use=yes
34819 else
34820   echo "$as_me: failed program was:" >&5
34821 sed 's/^/| /' conftest.$ac_ext >&5
34822
34823 glibcxx_cv_func__powl_use=no
34824 fi
34825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34826       ac_ext=c
34827 ac_cpp='$CPP $CPPFLAGS'
34828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34831
34832
34833 fi
34834
34835   fi
34836   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34837 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34838
34839     if test x$glibcxx_cv_func__powl_use = x"yes"; then
34840
34841 for ac_func in _powl
34842 do
34843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34844 echo "$as_me:$LINENO: checking for $ac_func" >&5
34845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34846 if eval "test \"\${$as_ac_var+set}\" = set"; then
34847   echo $ECHO_N "(cached) $ECHO_C" >&6
34848 else
34849   if test x$gcc_no_link = xyes; then
34850   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34852    { (exit 1); exit 1; }; }
34853 fi
34854 cat >conftest.$ac_ext <<_ACEOF
34855 /* confdefs.h.  */
34856 _ACEOF
34857 cat confdefs.h >>conftest.$ac_ext
34858 cat >>conftest.$ac_ext <<_ACEOF
34859 /* end confdefs.h.  */
34860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34861    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34862 #define $ac_func innocuous_$ac_func
34863
34864 /* System header to define __stub macros and hopefully few prototypes,
34865     which can conflict with char $ac_func (); below.
34866     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34867     <limits.h> exists even on freestanding compilers.  */
34868
34869 #ifdef __STDC__
34870 # include <limits.h>
34871 #else
34872 # include <assert.h>
34873 #endif
34874
34875 #undef $ac_func
34876
34877 /* Override any gcc2 internal prototype to avoid an error.  */
34878 #ifdef __cplusplus
34879 extern "C"
34880 {
34881 #endif
34882 /* We use char because int might match the return type of a gcc2
34883    builtin and then its argument prototype would still apply.  */
34884 char $ac_func ();
34885 /* The GNU C library defines this for functions which it implements
34886     to always fail with ENOSYS.  Some functions are actually named
34887     something starting with __ and the normal name is an alias.  */
34888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34889 choke me
34890 #else
34891 char (*f) () = $ac_func;
34892 #endif
34893 #ifdef __cplusplus
34894 }
34895 #endif
34896
34897 int
34898 main ()
34899 {
34900 return f != $ac_func;
34901   ;
34902   return 0;
34903 }
34904 _ACEOF
34905 rm -f conftest.$ac_objext conftest$ac_exeext
34906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34907   (eval $ac_link) 2>conftest.er1
34908   ac_status=$?
34909   grep -v '^ *+' conftest.er1 >conftest.err
34910   rm -f conftest.er1
34911   cat conftest.err >&5
34912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34913   (exit $ac_status); } &&
34914          { ac_try='test -z "$ac_c_werror_flag"
34915                          || test ! -s conftest.err'
34916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34917   (eval $ac_try) 2>&5
34918   ac_status=$?
34919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920   (exit $ac_status); }; } &&
34921          { ac_try='test -s conftest$ac_exeext'
34922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923   (eval $ac_try) 2>&5
34924   ac_status=$?
34925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926   (exit $ac_status); }; }; then
34927   eval "$as_ac_var=yes"
34928 else
34929   echo "$as_me: failed program was:" >&5
34930 sed 's/^/| /' conftest.$ac_ext >&5
34931
34932 eval "$as_ac_var=no"
34933 fi
34934 rm -f conftest.err conftest.$ac_objext \
34935       conftest$ac_exeext conftest.$ac_ext
34936 fi
34937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34939 if test `eval echo '${'$as_ac_var'}'` = yes; then
34940   cat >>confdefs.h <<_ACEOF
34941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34942 _ACEOF
34943
34944 fi
34945 done
34946
34947     fi
34948   fi
34949
34950
34951
34952
34953
34954
34955   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34956 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34957   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34958     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34959   echo $ECHO_N "(cached) $ECHO_C" >&6
34960 else
34961
34962
34963
34964       ac_ext=cc
34965 ac_cpp='$CXXCPP $CPPFLAGS'
34966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34969
34970       cat >conftest.$ac_ext <<_ACEOF
34971 /* confdefs.h.  */
34972 _ACEOF
34973 cat confdefs.h >>conftest.$ac_ext
34974 cat >>conftest.$ac_ext <<_ACEOF
34975 /* end confdefs.h.  */
34976 #include <math.h>
34977                       #ifdef HAVE_IEEEFP_H
34978                       #include <ieeefp.h>
34979                       #endif
34980
34981 int
34982 main ()
34983 {
34984  sqrtl(0);
34985   ;
34986   return 0;
34987 }
34988 _ACEOF
34989 rm -f conftest.$ac_objext
34990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34991   (eval $ac_compile) 2>conftest.er1
34992   ac_status=$?
34993   grep -v '^ *+' conftest.er1 >conftest.err
34994   rm -f conftest.er1
34995   cat conftest.err >&5
34996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997   (exit $ac_status); } &&
34998          { ac_try='test -z "$ac_cxx_werror_flag"
34999                          || test ! -s conftest.err'
35000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35001   (eval $ac_try) 2>&5
35002   ac_status=$?
35003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35004   (exit $ac_status); }; } &&
35005          { ac_try='test -s conftest.$ac_objext'
35006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35007   (eval $ac_try) 2>&5
35008   ac_status=$?
35009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35010   (exit $ac_status); }; }; then
35011   glibcxx_cv_func_sqrtl_use=yes
35012 else
35013   echo "$as_me: failed program was:" >&5
35014 sed 's/^/| /' conftest.$ac_ext >&5
35015
35016 glibcxx_cv_func_sqrtl_use=no
35017 fi
35018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35019       ac_ext=c
35020 ac_cpp='$CPP $CPPFLAGS'
35021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35024
35025
35026 fi
35027
35028   fi
35029   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
35030 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
35031
35032   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35033
35034 for ac_func in sqrtl
35035 do
35036 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35037 echo "$as_me:$LINENO: checking for $ac_func" >&5
35038 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35039 if eval "test \"\${$as_ac_var+set}\" = set"; then
35040   echo $ECHO_N "(cached) $ECHO_C" >&6
35041 else
35042   if test x$gcc_no_link = xyes; then
35043   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35045    { (exit 1); exit 1; }; }
35046 fi
35047 cat >conftest.$ac_ext <<_ACEOF
35048 /* confdefs.h.  */
35049 _ACEOF
35050 cat confdefs.h >>conftest.$ac_ext
35051 cat >>conftest.$ac_ext <<_ACEOF
35052 /* end confdefs.h.  */
35053 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35054    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35055 #define $ac_func innocuous_$ac_func
35056
35057 /* System header to define __stub macros and hopefully few prototypes,
35058     which can conflict with char $ac_func (); below.
35059     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35060     <limits.h> exists even on freestanding compilers.  */
35061
35062 #ifdef __STDC__
35063 # include <limits.h>
35064 #else
35065 # include <assert.h>
35066 #endif
35067
35068 #undef $ac_func
35069
35070 /* Override any gcc2 internal prototype to avoid an error.  */
35071 #ifdef __cplusplus
35072 extern "C"
35073 {
35074 #endif
35075 /* We use char because int might match the return type of a gcc2
35076    builtin and then its argument prototype would still apply.  */
35077 char $ac_func ();
35078 /* The GNU C library defines this for functions which it implements
35079     to always fail with ENOSYS.  Some functions are actually named
35080     something starting with __ and the normal name is an alias.  */
35081 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35082 choke me
35083 #else
35084 char (*f) () = $ac_func;
35085 #endif
35086 #ifdef __cplusplus
35087 }
35088 #endif
35089
35090 int
35091 main ()
35092 {
35093 return f != $ac_func;
35094   ;
35095   return 0;
35096 }
35097 _ACEOF
35098 rm -f conftest.$ac_objext conftest$ac_exeext
35099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35100   (eval $ac_link) 2>conftest.er1
35101   ac_status=$?
35102   grep -v '^ *+' conftest.er1 >conftest.err
35103   rm -f conftest.er1
35104   cat conftest.err >&5
35105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35106   (exit $ac_status); } &&
35107          { ac_try='test -z "$ac_c_werror_flag"
35108                          || test ! -s conftest.err'
35109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35110   (eval $ac_try) 2>&5
35111   ac_status=$?
35112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35113   (exit $ac_status); }; } &&
35114          { ac_try='test -s conftest$ac_exeext'
35115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35116   (eval $ac_try) 2>&5
35117   ac_status=$?
35118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35119   (exit $ac_status); }; }; then
35120   eval "$as_ac_var=yes"
35121 else
35122   echo "$as_me: failed program was:" >&5
35123 sed 's/^/| /' conftest.$ac_ext >&5
35124
35125 eval "$as_ac_var=no"
35126 fi
35127 rm -f conftest.err conftest.$ac_objext \
35128       conftest$ac_exeext conftest.$ac_ext
35129 fi
35130 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35131 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35132 if test `eval echo '${'$as_ac_var'}'` = yes; then
35133   cat >>confdefs.h <<_ACEOF
35134 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35135 _ACEOF
35136
35137 fi
35138 done
35139
35140   else
35141
35142   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
35143 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
35144   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35145     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
35146   echo $ECHO_N "(cached) $ECHO_C" >&6
35147 else
35148
35149
35150
35151       ac_ext=cc
35152 ac_cpp='$CXXCPP $CPPFLAGS'
35153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35156
35157       cat >conftest.$ac_ext <<_ACEOF
35158 /* confdefs.h.  */
35159 _ACEOF
35160 cat confdefs.h >>conftest.$ac_ext
35161 cat >>conftest.$ac_ext <<_ACEOF
35162 /* end confdefs.h.  */
35163 #include <math.h>
35164                       #ifdef HAVE_IEEEFP_H
35165                       #include <ieeefp.h>
35166                       #endif
35167
35168 int
35169 main ()
35170 {
35171  _sqrtl(0);
35172   ;
35173   return 0;
35174 }
35175 _ACEOF
35176 rm -f conftest.$ac_objext
35177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35178   (eval $ac_compile) 2>conftest.er1
35179   ac_status=$?
35180   grep -v '^ *+' conftest.er1 >conftest.err
35181   rm -f conftest.er1
35182   cat conftest.err >&5
35183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35184   (exit $ac_status); } &&
35185          { ac_try='test -z "$ac_cxx_werror_flag"
35186                          || test ! -s conftest.err'
35187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35188   (eval $ac_try) 2>&5
35189   ac_status=$?
35190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35191   (exit $ac_status); }; } &&
35192          { ac_try='test -s conftest.$ac_objext'
35193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35194   (eval $ac_try) 2>&5
35195   ac_status=$?
35196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35197   (exit $ac_status); }; }; then
35198   glibcxx_cv_func__sqrtl_use=yes
35199 else
35200   echo "$as_me: failed program was:" >&5
35201 sed 's/^/| /' conftest.$ac_ext >&5
35202
35203 glibcxx_cv_func__sqrtl_use=no
35204 fi
35205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35206       ac_ext=c
35207 ac_cpp='$CPP $CPPFLAGS'
35208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35211
35212
35213 fi
35214
35215   fi
35216   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
35217 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
35218
35219     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35220
35221 for ac_func in _sqrtl
35222 do
35223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35224 echo "$as_me:$LINENO: checking for $ac_func" >&5
35225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35226 if eval "test \"\${$as_ac_var+set}\" = set"; then
35227   echo $ECHO_N "(cached) $ECHO_C" >&6
35228 else
35229   if test x$gcc_no_link = xyes; then
35230   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35232    { (exit 1); exit 1; }; }
35233 fi
35234 cat >conftest.$ac_ext <<_ACEOF
35235 /* confdefs.h.  */
35236 _ACEOF
35237 cat confdefs.h >>conftest.$ac_ext
35238 cat >>conftest.$ac_ext <<_ACEOF
35239 /* end confdefs.h.  */
35240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35241    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35242 #define $ac_func innocuous_$ac_func
35243
35244 /* System header to define __stub macros and hopefully few prototypes,
35245     which can conflict with char $ac_func (); below.
35246     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35247     <limits.h> exists even on freestanding compilers.  */
35248
35249 #ifdef __STDC__
35250 # include <limits.h>
35251 #else
35252 # include <assert.h>
35253 #endif
35254
35255 #undef $ac_func
35256
35257 /* Override any gcc2 internal prototype to avoid an error.  */
35258 #ifdef __cplusplus
35259 extern "C"
35260 {
35261 #endif
35262 /* We use char because int might match the return type of a gcc2
35263    builtin and then its argument prototype would still apply.  */
35264 char $ac_func ();
35265 /* The GNU C library defines this for functions which it implements
35266     to always fail with ENOSYS.  Some functions are actually named
35267     something starting with __ and the normal name is an alias.  */
35268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35269 choke me
35270 #else
35271 char (*f) () = $ac_func;
35272 #endif
35273 #ifdef __cplusplus
35274 }
35275 #endif
35276
35277 int
35278 main ()
35279 {
35280 return f != $ac_func;
35281   ;
35282   return 0;
35283 }
35284 _ACEOF
35285 rm -f conftest.$ac_objext conftest$ac_exeext
35286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35287   (eval $ac_link) 2>conftest.er1
35288   ac_status=$?
35289   grep -v '^ *+' conftest.er1 >conftest.err
35290   rm -f conftest.er1
35291   cat conftest.err >&5
35292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35293   (exit $ac_status); } &&
35294          { ac_try='test -z "$ac_c_werror_flag"
35295                          || test ! -s conftest.err'
35296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35297   (eval $ac_try) 2>&5
35298   ac_status=$?
35299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35300   (exit $ac_status); }; } &&
35301          { ac_try='test -s conftest$ac_exeext'
35302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35303   (eval $ac_try) 2>&5
35304   ac_status=$?
35305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35306   (exit $ac_status); }; }; then
35307   eval "$as_ac_var=yes"
35308 else
35309   echo "$as_me: failed program was:" >&5
35310 sed 's/^/| /' conftest.$ac_ext >&5
35311
35312 eval "$as_ac_var=no"
35313 fi
35314 rm -f conftest.err conftest.$ac_objext \
35315       conftest$ac_exeext conftest.$ac_ext
35316 fi
35317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35319 if test `eval echo '${'$as_ac_var'}'` = yes; then
35320   cat >>confdefs.h <<_ACEOF
35321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35322 _ACEOF
35323
35324 fi
35325 done
35326
35327     fi
35328   fi
35329
35330
35331
35332
35333
35334
35335   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
35336 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
35337   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35338     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
35339   echo $ECHO_N "(cached) $ECHO_C" >&6
35340 else
35341
35342
35343
35344       ac_ext=cc
35345 ac_cpp='$CXXCPP $CPPFLAGS'
35346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35349
35350       cat >conftest.$ac_ext <<_ACEOF
35351 /* confdefs.h.  */
35352 _ACEOF
35353 cat confdefs.h >>conftest.$ac_ext
35354 cat >>conftest.$ac_ext <<_ACEOF
35355 /* end confdefs.h.  */
35356 #include <math.h>
35357 int
35358 main ()
35359 {
35360  sincosl(0, 0, 0);
35361   ;
35362   return 0;
35363 }
35364 _ACEOF
35365 rm -f conftest.$ac_objext
35366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35367   (eval $ac_compile) 2>conftest.er1
35368   ac_status=$?
35369   grep -v '^ *+' conftest.er1 >conftest.err
35370   rm -f conftest.er1
35371   cat conftest.err >&5
35372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35373   (exit $ac_status); } &&
35374          { ac_try='test -z "$ac_cxx_werror_flag"
35375                          || test ! -s conftest.err'
35376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35377   (eval $ac_try) 2>&5
35378   ac_status=$?
35379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380   (exit $ac_status); }; } &&
35381          { ac_try='test -s conftest.$ac_objext'
35382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35383   (eval $ac_try) 2>&5
35384   ac_status=$?
35385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35386   (exit $ac_status); }; }; then
35387   glibcxx_cv_func_sincosl_use=yes
35388 else
35389   echo "$as_me: failed program was:" >&5
35390 sed 's/^/| /' conftest.$ac_ext >&5
35391
35392 glibcxx_cv_func_sincosl_use=no
35393 fi
35394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35395       ac_ext=c
35396 ac_cpp='$CPP $CPPFLAGS'
35397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35400
35401
35402 fi
35403
35404   fi
35405   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35406 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35407
35408   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35409
35410 for ac_func in sincosl
35411 do
35412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35413 echo "$as_me:$LINENO: checking for $ac_func" >&5
35414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35415 if eval "test \"\${$as_ac_var+set}\" = set"; then
35416   echo $ECHO_N "(cached) $ECHO_C" >&6
35417 else
35418   if test x$gcc_no_link = xyes; then
35419   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35421    { (exit 1); exit 1; }; }
35422 fi
35423 cat >conftest.$ac_ext <<_ACEOF
35424 /* confdefs.h.  */
35425 _ACEOF
35426 cat confdefs.h >>conftest.$ac_ext
35427 cat >>conftest.$ac_ext <<_ACEOF
35428 /* end confdefs.h.  */
35429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35430    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35431 #define $ac_func innocuous_$ac_func
35432
35433 /* System header to define __stub macros and hopefully few prototypes,
35434     which can conflict with char $ac_func (); below.
35435     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35436     <limits.h> exists even on freestanding compilers.  */
35437
35438 #ifdef __STDC__
35439 # include <limits.h>
35440 #else
35441 # include <assert.h>
35442 #endif
35443
35444 #undef $ac_func
35445
35446 /* Override any gcc2 internal prototype to avoid an error.  */
35447 #ifdef __cplusplus
35448 extern "C"
35449 {
35450 #endif
35451 /* We use char because int might match the return type of a gcc2
35452    builtin and then its argument prototype would still apply.  */
35453 char $ac_func ();
35454 /* The GNU C library defines this for functions which it implements
35455     to always fail with ENOSYS.  Some functions are actually named
35456     something starting with __ and the normal name is an alias.  */
35457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35458 choke me
35459 #else
35460 char (*f) () = $ac_func;
35461 #endif
35462 #ifdef __cplusplus
35463 }
35464 #endif
35465
35466 int
35467 main ()
35468 {
35469 return f != $ac_func;
35470   ;
35471   return 0;
35472 }
35473 _ACEOF
35474 rm -f conftest.$ac_objext conftest$ac_exeext
35475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35476   (eval $ac_link) 2>conftest.er1
35477   ac_status=$?
35478   grep -v '^ *+' conftest.er1 >conftest.err
35479   rm -f conftest.er1
35480   cat conftest.err >&5
35481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35482   (exit $ac_status); } &&
35483          { ac_try='test -z "$ac_c_werror_flag"
35484                          || test ! -s conftest.err'
35485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35486   (eval $ac_try) 2>&5
35487   ac_status=$?
35488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489   (exit $ac_status); }; } &&
35490          { ac_try='test -s conftest$ac_exeext'
35491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35492   (eval $ac_try) 2>&5
35493   ac_status=$?
35494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495   (exit $ac_status); }; }; then
35496   eval "$as_ac_var=yes"
35497 else
35498   echo "$as_me: failed program was:" >&5
35499 sed 's/^/| /' conftest.$ac_ext >&5
35500
35501 eval "$as_ac_var=no"
35502 fi
35503 rm -f conftest.err conftest.$ac_objext \
35504       conftest$ac_exeext conftest.$ac_ext
35505 fi
35506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35508 if test `eval echo '${'$as_ac_var'}'` = yes; then
35509   cat >>confdefs.h <<_ACEOF
35510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35511 _ACEOF
35512
35513 fi
35514 done
35515
35516   else
35517
35518   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35519 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35520   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35521     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35522   echo $ECHO_N "(cached) $ECHO_C" >&6
35523 else
35524
35525
35526
35527       ac_ext=cc
35528 ac_cpp='$CXXCPP $CPPFLAGS'
35529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35532
35533       cat >conftest.$ac_ext <<_ACEOF
35534 /* confdefs.h.  */
35535 _ACEOF
35536 cat confdefs.h >>conftest.$ac_ext
35537 cat >>conftest.$ac_ext <<_ACEOF
35538 /* end confdefs.h.  */
35539 #include <math.h>
35540 int
35541 main ()
35542 {
35543  _sincosl(0, 0, 0);
35544   ;
35545   return 0;
35546 }
35547 _ACEOF
35548 rm -f conftest.$ac_objext
35549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35550   (eval $ac_compile) 2>conftest.er1
35551   ac_status=$?
35552   grep -v '^ *+' conftest.er1 >conftest.err
35553   rm -f conftest.er1
35554   cat conftest.err >&5
35555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35556   (exit $ac_status); } &&
35557          { ac_try='test -z "$ac_cxx_werror_flag"
35558                          || test ! -s conftest.err'
35559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35560   (eval $ac_try) 2>&5
35561   ac_status=$?
35562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35563   (exit $ac_status); }; } &&
35564          { ac_try='test -s conftest.$ac_objext'
35565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35566   (eval $ac_try) 2>&5
35567   ac_status=$?
35568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35569   (exit $ac_status); }; }; then
35570   glibcxx_cv_func__sincosl_use=yes
35571 else
35572   echo "$as_me: failed program was:" >&5
35573 sed 's/^/| /' conftest.$ac_ext >&5
35574
35575 glibcxx_cv_func__sincosl_use=no
35576 fi
35577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35578       ac_ext=c
35579 ac_cpp='$CPP $CPPFLAGS'
35580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35583
35584
35585 fi
35586
35587   fi
35588   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35589 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35590
35591     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35592
35593 for ac_func in _sincosl
35594 do
35595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35596 echo "$as_me:$LINENO: checking for $ac_func" >&5
35597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35598 if eval "test \"\${$as_ac_var+set}\" = set"; then
35599   echo $ECHO_N "(cached) $ECHO_C" >&6
35600 else
35601   if test x$gcc_no_link = xyes; then
35602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35604    { (exit 1); exit 1; }; }
35605 fi
35606 cat >conftest.$ac_ext <<_ACEOF
35607 /* confdefs.h.  */
35608 _ACEOF
35609 cat confdefs.h >>conftest.$ac_ext
35610 cat >>conftest.$ac_ext <<_ACEOF
35611 /* end confdefs.h.  */
35612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35613    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35614 #define $ac_func innocuous_$ac_func
35615
35616 /* System header to define __stub macros and hopefully few prototypes,
35617     which can conflict with char $ac_func (); below.
35618     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35619     <limits.h> exists even on freestanding compilers.  */
35620
35621 #ifdef __STDC__
35622 # include <limits.h>
35623 #else
35624 # include <assert.h>
35625 #endif
35626
35627 #undef $ac_func
35628
35629 /* Override any gcc2 internal prototype to avoid an error.  */
35630 #ifdef __cplusplus
35631 extern "C"
35632 {
35633 #endif
35634 /* We use char because int might match the return type of a gcc2
35635    builtin and then its argument prototype would still apply.  */
35636 char $ac_func ();
35637 /* The GNU C library defines this for functions which it implements
35638     to always fail with ENOSYS.  Some functions are actually named
35639     something starting with __ and the normal name is an alias.  */
35640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35641 choke me
35642 #else
35643 char (*f) () = $ac_func;
35644 #endif
35645 #ifdef __cplusplus
35646 }
35647 #endif
35648
35649 int
35650 main ()
35651 {
35652 return f != $ac_func;
35653   ;
35654   return 0;
35655 }
35656 _ACEOF
35657 rm -f conftest.$ac_objext conftest$ac_exeext
35658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35659   (eval $ac_link) 2>conftest.er1
35660   ac_status=$?
35661   grep -v '^ *+' conftest.er1 >conftest.err
35662   rm -f conftest.er1
35663   cat conftest.err >&5
35664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35665   (exit $ac_status); } &&
35666          { ac_try='test -z "$ac_c_werror_flag"
35667                          || test ! -s conftest.err'
35668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35669   (eval $ac_try) 2>&5
35670   ac_status=$?
35671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35672   (exit $ac_status); }; } &&
35673          { ac_try='test -s conftest$ac_exeext'
35674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35675   (eval $ac_try) 2>&5
35676   ac_status=$?
35677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35678   (exit $ac_status); }; }; then
35679   eval "$as_ac_var=yes"
35680 else
35681   echo "$as_me: failed program was:" >&5
35682 sed 's/^/| /' conftest.$ac_ext >&5
35683
35684 eval "$as_ac_var=no"
35685 fi
35686 rm -f conftest.err conftest.$ac_objext \
35687       conftest$ac_exeext conftest.$ac_ext
35688 fi
35689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35691 if test `eval echo '${'$as_ac_var'}'` = yes; then
35692   cat >>confdefs.h <<_ACEOF
35693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35694 _ACEOF
35695
35696 fi
35697 done
35698
35699     fi
35700   fi
35701
35702
35703
35704
35705
35706
35707   echo "$as_me:$LINENO: checking for finitel declaration" >&5
35708 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35709   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35710     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35711   echo $ECHO_N "(cached) $ECHO_C" >&6
35712 else
35713
35714
35715
35716       ac_ext=cc
35717 ac_cpp='$CXXCPP $CPPFLAGS'
35718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35721
35722       cat >conftest.$ac_ext <<_ACEOF
35723 /* confdefs.h.  */
35724 _ACEOF
35725 cat confdefs.h >>conftest.$ac_ext
35726 cat >>conftest.$ac_ext <<_ACEOF
35727 /* end confdefs.h.  */
35728 #include <math.h>
35729                       #ifdef HAVE_IEEEFP_H
35730                       #include <ieeefp.h>
35731                       #endif
35732
35733 int
35734 main ()
35735 {
35736  finitel(0);
35737   ;
35738   return 0;
35739 }
35740 _ACEOF
35741 rm -f conftest.$ac_objext
35742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35743   (eval $ac_compile) 2>conftest.er1
35744   ac_status=$?
35745   grep -v '^ *+' conftest.er1 >conftest.err
35746   rm -f conftest.er1
35747   cat conftest.err >&5
35748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35749   (exit $ac_status); } &&
35750          { ac_try='test -z "$ac_cxx_werror_flag"
35751                          || test ! -s conftest.err'
35752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35753   (eval $ac_try) 2>&5
35754   ac_status=$?
35755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35756   (exit $ac_status); }; } &&
35757          { ac_try='test -s conftest.$ac_objext'
35758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35759   (eval $ac_try) 2>&5
35760   ac_status=$?
35761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35762   (exit $ac_status); }; }; then
35763   glibcxx_cv_func_finitel_use=yes
35764 else
35765   echo "$as_me: failed program was:" >&5
35766 sed 's/^/| /' conftest.$ac_ext >&5
35767
35768 glibcxx_cv_func_finitel_use=no
35769 fi
35770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35771       ac_ext=c
35772 ac_cpp='$CPP $CPPFLAGS'
35773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35776
35777
35778 fi
35779
35780   fi
35781   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35782 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35783
35784   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35785
35786 for ac_func in finitel
35787 do
35788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35789 echo "$as_me:$LINENO: checking for $ac_func" >&5
35790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35791 if eval "test \"\${$as_ac_var+set}\" = set"; then
35792   echo $ECHO_N "(cached) $ECHO_C" >&6
35793 else
35794   if test x$gcc_no_link = xyes; then
35795   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35797    { (exit 1); exit 1; }; }
35798 fi
35799 cat >conftest.$ac_ext <<_ACEOF
35800 /* confdefs.h.  */
35801 _ACEOF
35802 cat confdefs.h >>conftest.$ac_ext
35803 cat >>conftest.$ac_ext <<_ACEOF
35804 /* end confdefs.h.  */
35805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35806    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35807 #define $ac_func innocuous_$ac_func
35808
35809 /* System header to define __stub macros and hopefully few prototypes,
35810     which can conflict with char $ac_func (); below.
35811     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35812     <limits.h> exists even on freestanding compilers.  */
35813
35814 #ifdef __STDC__
35815 # include <limits.h>
35816 #else
35817 # include <assert.h>
35818 #endif
35819
35820 #undef $ac_func
35821
35822 /* Override any gcc2 internal prototype to avoid an error.  */
35823 #ifdef __cplusplus
35824 extern "C"
35825 {
35826 #endif
35827 /* We use char because int might match the return type of a gcc2
35828    builtin and then its argument prototype would still apply.  */
35829 char $ac_func ();
35830 /* The GNU C library defines this for functions which it implements
35831     to always fail with ENOSYS.  Some functions are actually named
35832     something starting with __ and the normal name is an alias.  */
35833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35834 choke me
35835 #else
35836 char (*f) () = $ac_func;
35837 #endif
35838 #ifdef __cplusplus
35839 }
35840 #endif
35841
35842 int
35843 main ()
35844 {
35845 return f != $ac_func;
35846   ;
35847   return 0;
35848 }
35849 _ACEOF
35850 rm -f conftest.$ac_objext conftest$ac_exeext
35851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35852   (eval $ac_link) 2>conftest.er1
35853   ac_status=$?
35854   grep -v '^ *+' conftest.er1 >conftest.err
35855   rm -f conftest.er1
35856   cat conftest.err >&5
35857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35858   (exit $ac_status); } &&
35859          { ac_try='test -z "$ac_c_werror_flag"
35860                          || test ! -s conftest.err'
35861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35862   (eval $ac_try) 2>&5
35863   ac_status=$?
35864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35865   (exit $ac_status); }; } &&
35866          { ac_try='test -s conftest$ac_exeext'
35867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35868   (eval $ac_try) 2>&5
35869   ac_status=$?
35870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35871   (exit $ac_status); }; }; then
35872   eval "$as_ac_var=yes"
35873 else
35874   echo "$as_me: failed program was:" >&5
35875 sed 's/^/| /' conftest.$ac_ext >&5
35876
35877 eval "$as_ac_var=no"
35878 fi
35879 rm -f conftest.err conftest.$ac_objext \
35880       conftest$ac_exeext conftest.$ac_ext
35881 fi
35882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35884 if test `eval echo '${'$as_ac_var'}'` = yes; then
35885   cat >>confdefs.h <<_ACEOF
35886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35887 _ACEOF
35888
35889 fi
35890 done
35891
35892   else
35893
35894   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35895 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35896   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35897     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35898   echo $ECHO_N "(cached) $ECHO_C" >&6
35899 else
35900
35901
35902
35903       ac_ext=cc
35904 ac_cpp='$CXXCPP $CPPFLAGS'
35905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35908
35909       cat >conftest.$ac_ext <<_ACEOF
35910 /* confdefs.h.  */
35911 _ACEOF
35912 cat confdefs.h >>conftest.$ac_ext
35913 cat >>conftest.$ac_ext <<_ACEOF
35914 /* end confdefs.h.  */
35915 #include <math.h>
35916                       #ifdef HAVE_IEEEFP_H
35917                       #include <ieeefp.h>
35918                       #endif
35919
35920 int
35921 main ()
35922 {
35923  _finitel(0);
35924   ;
35925   return 0;
35926 }
35927 _ACEOF
35928 rm -f conftest.$ac_objext
35929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35930   (eval $ac_compile) 2>conftest.er1
35931   ac_status=$?
35932   grep -v '^ *+' conftest.er1 >conftest.err
35933   rm -f conftest.er1
35934   cat conftest.err >&5
35935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35936   (exit $ac_status); } &&
35937          { ac_try='test -z "$ac_cxx_werror_flag"
35938                          || test ! -s conftest.err'
35939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35940   (eval $ac_try) 2>&5
35941   ac_status=$?
35942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35943   (exit $ac_status); }; } &&
35944          { ac_try='test -s conftest.$ac_objext'
35945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35946   (eval $ac_try) 2>&5
35947   ac_status=$?
35948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35949   (exit $ac_status); }; }; then
35950   glibcxx_cv_func__finitel_use=yes
35951 else
35952   echo "$as_me: failed program was:" >&5
35953 sed 's/^/| /' conftest.$ac_ext >&5
35954
35955 glibcxx_cv_func__finitel_use=no
35956 fi
35957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35958       ac_ext=c
35959 ac_cpp='$CPP $CPPFLAGS'
35960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35963
35964
35965 fi
35966
35967   fi
35968   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35969 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35970
35971     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35972
35973 for ac_func in _finitel
35974 do
35975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35976 echo "$as_me:$LINENO: checking for $ac_func" >&5
35977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35978 if eval "test \"\${$as_ac_var+set}\" = set"; then
35979   echo $ECHO_N "(cached) $ECHO_C" >&6
35980 else
35981   if test x$gcc_no_link = xyes; then
35982   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35984    { (exit 1); exit 1; }; }
35985 fi
35986 cat >conftest.$ac_ext <<_ACEOF
35987 /* confdefs.h.  */
35988 _ACEOF
35989 cat confdefs.h >>conftest.$ac_ext
35990 cat >>conftest.$ac_ext <<_ACEOF
35991 /* end confdefs.h.  */
35992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35993    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35994 #define $ac_func innocuous_$ac_func
35995
35996 /* System header to define __stub macros and hopefully few prototypes,
35997     which can conflict with char $ac_func (); below.
35998     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35999     <limits.h> exists even on freestanding compilers.  */
36000
36001 #ifdef __STDC__
36002 # include <limits.h>
36003 #else
36004 # include <assert.h>
36005 #endif
36006
36007 #undef $ac_func
36008
36009 /* Override any gcc2 internal prototype to avoid an error.  */
36010 #ifdef __cplusplus
36011 extern "C"
36012 {
36013 #endif
36014 /* We use char because int might match the return type of a gcc2
36015    builtin and then its argument prototype would still apply.  */
36016 char $ac_func ();
36017 /* The GNU C library defines this for functions which it implements
36018     to always fail with ENOSYS.  Some functions are actually named
36019     something starting with __ and the normal name is an alias.  */
36020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36021 choke me
36022 #else
36023 char (*f) () = $ac_func;
36024 #endif
36025 #ifdef __cplusplus
36026 }
36027 #endif
36028
36029 int
36030 main ()
36031 {
36032 return f != $ac_func;
36033   ;
36034   return 0;
36035 }
36036 _ACEOF
36037 rm -f conftest.$ac_objext conftest$ac_exeext
36038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36039   (eval $ac_link) 2>conftest.er1
36040   ac_status=$?
36041   grep -v '^ *+' conftest.er1 >conftest.err
36042   rm -f conftest.er1
36043   cat conftest.err >&5
36044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36045   (exit $ac_status); } &&
36046          { ac_try='test -z "$ac_c_werror_flag"
36047                          || test ! -s conftest.err'
36048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36049   (eval $ac_try) 2>&5
36050   ac_status=$?
36051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36052   (exit $ac_status); }; } &&
36053          { ac_try='test -s conftest$ac_exeext'
36054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36055   (eval $ac_try) 2>&5
36056   ac_status=$?
36057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36058   (exit $ac_status); }; }; then
36059   eval "$as_ac_var=yes"
36060 else
36061   echo "$as_me: failed program was:" >&5
36062 sed 's/^/| /' conftest.$ac_ext >&5
36063
36064 eval "$as_ac_var=no"
36065 fi
36066 rm -f conftest.err conftest.$ac_objext \
36067       conftest$ac_exeext conftest.$ac_ext
36068 fi
36069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36071 if test `eval echo '${'$as_ac_var'}'` = yes; then
36072   cat >>confdefs.h <<_ACEOF
36073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36074 _ACEOF
36075
36076 fi
36077 done
36078
36079     fi
36080   fi
36081
36082
36083
36084
36085
36086   LIBS="$ac_save_LIBS"
36087   CXXFLAGS="$ac_save_CXXFLAGS"
36088
36089
36090
36091   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
36092 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
36093   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
36094     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
36095   echo $ECHO_N "(cached) $ECHO_C" >&6
36096 else
36097
36098
36099
36100       ac_ext=cc
36101 ac_cpp='$CXXCPP $CPPFLAGS'
36102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36105
36106       cat >conftest.$ac_ext <<_ACEOF
36107 /* confdefs.h.  */
36108 _ACEOF
36109 cat confdefs.h >>conftest.$ac_ext
36110 cat >>conftest.$ac_ext <<_ACEOF
36111 /* end confdefs.h.  */
36112 #include <math.h>
36113 int
36114 main ()
36115 {
36116  __builtin_abs(0);
36117   ;
36118   return 0;
36119 }
36120 _ACEOF
36121 rm -f conftest.$ac_objext
36122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36123   (eval $ac_compile) 2>conftest.er1
36124   ac_status=$?
36125   grep -v '^ *+' conftest.er1 >conftest.err
36126   rm -f conftest.er1
36127   cat conftest.err >&5
36128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36129   (exit $ac_status); } &&
36130          { ac_try='test -z "$ac_cxx_werror_flag"
36131                          || test ! -s conftest.err'
36132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36133   (eval $ac_try) 2>&5
36134   ac_status=$?
36135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36136   (exit $ac_status); }; } &&
36137          { ac_try='test -s conftest.$ac_objext'
36138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36139   (eval $ac_try) 2>&5
36140   ac_status=$?
36141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36142   (exit $ac_status); }; }; then
36143   glibcxx_cv_func___builtin_abs_use=yes
36144 else
36145   echo "$as_me: failed program was:" >&5
36146 sed 's/^/| /' conftest.$ac_ext >&5
36147
36148 glibcxx_cv_func___builtin_abs_use=no
36149 fi
36150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36151       ac_ext=c
36152 ac_cpp='$CPP $CPPFLAGS'
36153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36156
36157
36158 fi
36159
36160   fi
36161   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
36162 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
36163   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
36164     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
36165 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
36166     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
36167       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
36168   echo $ECHO_N "(cached) $ECHO_C" >&6
36169 else
36170
36171         if test x$gcc_no_link = xyes; then
36172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36174    { (exit 1); exit 1; }; }
36175 fi
36176 cat >conftest.$ac_ext <<_ACEOF
36177 /* confdefs.h.  */
36178 _ACEOF
36179 cat confdefs.h >>conftest.$ac_ext
36180 cat >>conftest.$ac_ext <<_ACEOF
36181 /* end confdefs.h.  */
36182 #include <math.h>
36183 int
36184 main ()
36185 {
36186  __builtin_abs(0);
36187   ;
36188   return 0;
36189 }
36190 _ACEOF
36191 rm -f conftest.$ac_objext conftest$ac_exeext
36192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36193   (eval $ac_link) 2>conftest.er1
36194   ac_status=$?
36195   grep -v '^ *+' conftest.er1 >conftest.err
36196   rm -f conftest.er1
36197   cat conftest.err >&5
36198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36199   (exit $ac_status); } &&
36200          { ac_try='test -z "$ac_c_werror_flag"
36201                          || test ! -s conftest.err'
36202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36203   (eval $ac_try) 2>&5
36204   ac_status=$?
36205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36206   (exit $ac_status); }; } &&
36207          { ac_try='test -s conftest$ac_exeext'
36208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36209   (eval $ac_try) 2>&5
36210   ac_status=$?
36211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36212   (exit $ac_status); }; }; then
36213   glibcxx_cv_func___builtin_abs_link=yes
36214 else
36215   echo "$as_me: failed program was:" >&5
36216 sed 's/^/| /' conftest.$ac_ext >&5
36217
36218 glibcxx_cv_func___builtin_abs_link=no
36219 fi
36220 rm -f conftest.err conftest.$ac_objext \
36221       conftest$ac_exeext conftest.$ac_ext
36222
36223 fi
36224
36225     fi
36226     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
36227 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
36228
36229     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
36230
36231 cat >>confdefs.h <<\_ACEOF
36232 #define HAVE___BUILTIN_ABS 1
36233 _ACEOF
36234
36235     fi
36236
36237   fi
36238
36239
36240   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
36241 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
36242   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
36243     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
36244   echo $ECHO_N "(cached) $ECHO_C" >&6
36245 else
36246
36247
36248
36249       ac_ext=cc
36250 ac_cpp='$CXXCPP $CPPFLAGS'
36251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36254
36255       cat >conftest.$ac_ext <<_ACEOF
36256 /* confdefs.h.  */
36257 _ACEOF
36258 cat confdefs.h >>conftest.$ac_ext
36259 cat >>conftest.$ac_ext <<_ACEOF
36260 /* end confdefs.h.  */
36261 #include <math.h>
36262 int
36263 main ()
36264 {
36265  __builtin_fabsf(0);
36266   ;
36267   return 0;
36268 }
36269 _ACEOF
36270 rm -f conftest.$ac_objext
36271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36272   (eval $ac_compile) 2>conftest.er1
36273   ac_status=$?
36274   grep -v '^ *+' conftest.er1 >conftest.err
36275   rm -f conftest.er1
36276   cat conftest.err >&5
36277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36278   (exit $ac_status); } &&
36279          { ac_try='test -z "$ac_cxx_werror_flag"
36280                          || test ! -s conftest.err'
36281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36282   (eval $ac_try) 2>&5
36283   ac_status=$?
36284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36285   (exit $ac_status); }; } &&
36286          { ac_try='test -s conftest.$ac_objext'
36287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36288   (eval $ac_try) 2>&5
36289   ac_status=$?
36290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36291   (exit $ac_status); }; }; then
36292   glibcxx_cv_func___builtin_fabsf_use=yes
36293 else
36294   echo "$as_me: failed program was:" >&5
36295 sed 's/^/| /' conftest.$ac_ext >&5
36296
36297 glibcxx_cv_func___builtin_fabsf_use=no
36298 fi
36299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36300       ac_ext=c
36301 ac_cpp='$CPP $CPPFLAGS'
36302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36305
36306
36307 fi
36308
36309   fi
36310   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
36311 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
36312   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
36313     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
36314 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
36315     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
36316       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
36317   echo $ECHO_N "(cached) $ECHO_C" >&6
36318 else
36319
36320         if test x$gcc_no_link = xyes; then
36321   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36323    { (exit 1); exit 1; }; }
36324 fi
36325 cat >conftest.$ac_ext <<_ACEOF
36326 /* confdefs.h.  */
36327 _ACEOF
36328 cat confdefs.h >>conftest.$ac_ext
36329 cat >>conftest.$ac_ext <<_ACEOF
36330 /* end confdefs.h.  */
36331 #include <math.h>
36332 int
36333 main ()
36334 {
36335  __builtin_fabsf(0);
36336   ;
36337   return 0;
36338 }
36339 _ACEOF
36340 rm -f conftest.$ac_objext conftest$ac_exeext
36341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36342   (eval $ac_link) 2>conftest.er1
36343   ac_status=$?
36344   grep -v '^ *+' conftest.er1 >conftest.err
36345   rm -f conftest.er1
36346   cat conftest.err >&5
36347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36348   (exit $ac_status); } &&
36349          { ac_try='test -z "$ac_c_werror_flag"
36350                          || test ! -s conftest.err'
36351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36352   (eval $ac_try) 2>&5
36353   ac_status=$?
36354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355   (exit $ac_status); }; } &&
36356          { ac_try='test -s conftest$ac_exeext'
36357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36358   (eval $ac_try) 2>&5
36359   ac_status=$?
36360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36361   (exit $ac_status); }; }; then
36362   glibcxx_cv_func___builtin_fabsf_link=yes
36363 else
36364   echo "$as_me: failed program was:" >&5
36365 sed 's/^/| /' conftest.$ac_ext >&5
36366
36367 glibcxx_cv_func___builtin_fabsf_link=no
36368 fi
36369 rm -f conftest.err conftest.$ac_objext \
36370       conftest$ac_exeext conftest.$ac_ext
36371
36372 fi
36373
36374     fi
36375     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
36376 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
36377
36378     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
36379
36380 cat >>confdefs.h <<\_ACEOF
36381 #define HAVE___BUILTIN_FABSF 1
36382 _ACEOF
36383
36384     fi
36385
36386   fi
36387
36388
36389   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36390 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36391   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36392     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36393   echo $ECHO_N "(cached) $ECHO_C" >&6
36394 else
36395
36396
36397
36398       ac_ext=cc
36399 ac_cpp='$CXXCPP $CPPFLAGS'
36400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36403
36404       cat >conftest.$ac_ext <<_ACEOF
36405 /* confdefs.h.  */
36406 _ACEOF
36407 cat confdefs.h >>conftest.$ac_ext
36408 cat >>conftest.$ac_ext <<_ACEOF
36409 /* end confdefs.h.  */
36410 #include <math.h>
36411 int
36412 main ()
36413 {
36414  __builtin_fabs(0);
36415   ;
36416   return 0;
36417 }
36418 _ACEOF
36419 rm -f conftest.$ac_objext
36420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36421   (eval $ac_compile) 2>conftest.er1
36422   ac_status=$?
36423   grep -v '^ *+' conftest.er1 >conftest.err
36424   rm -f conftest.er1
36425   cat conftest.err >&5
36426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36427   (exit $ac_status); } &&
36428          { ac_try='test -z "$ac_cxx_werror_flag"
36429                          || test ! -s conftest.err'
36430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36431   (eval $ac_try) 2>&5
36432   ac_status=$?
36433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36434   (exit $ac_status); }; } &&
36435          { ac_try='test -s conftest.$ac_objext'
36436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36437   (eval $ac_try) 2>&5
36438   ac_status=$?
36439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36440   (exit $ac_status); }; }; then
36441   glibcxx_cv_func___builtin_fabs_use=yes
36442 else
36443   echo "$as_me: failed program was:" >&5
36444 sed 's/^/| /' conftest.$ac_ext >&5
36445
36446 glibcxx_cv_func___builtin_fabs_use=no
36447 fi
36448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36449       ac_ext=c
36450 ac_cpp='$CPP $CPPFLAGS'
36451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36454
36455
36456 fi
36457
36458   fi
36459   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36460 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36461   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36462     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36463 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36464     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36465       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36466   echo $ECHO_N "(cached) $ECHO_C" >&6
36467 else
36468
36469         if test x$gcc_no_link = xyes; then
36470   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36472    { (exit 1); exit 1; }; }
36473 fi
36474 cat >conftest.$ac_ext <<_ACEOF
36475 /* confdefs.h.  */
36476 _ACEOF
36477 cat confdefs.h >>conftest.$ac_ext
36478 cat >>conftest.$ac_ext <<_ACEOF
36479 /* end confdefs.h.  */
36480 #include <math.h>
36481 int
36482 main ()
36483 {
36484  __builtin_fabs(0);
36485   ;
36486   return 0;
36487 }
36488 _ACEOF
36489 rm -f conftest.$ac_objext conftest$ac_exeext
36490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36491   (eval $ac_link) 2>conftest.er1
36492   ac_status=$?
36493   grep -v '^ *+' conftest.er1 >conftest.err
36494   rm -f conftest.er1
36495   cat conftest.err >&5
36496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36497   (exit $ac_status); } &&
36498          { ac_try='test -z "$ac_c_werror_flag"
36499                          || test ! -s conftest.err'
36500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36501   (eval $ac_try) 2>&5
36502   ac_status=$?
36503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36504   (exit $ac_status); }; } &&
36505          { ac_try='test -s conftest$ac_exeext'
36506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36507   (eval $ac_try) 2>&5
36508   ac_status=$?
36509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36510   (exit $ac_status); }; }; then
36511   glibcxx_cv_func___builtin_fabs_link=yes
36512 else
36513   echo "$as_me: failed program was:" >&5
36514 sed 's/^/| /' conftest.$ac_ext >&5
36515
36516 glibcxx_cv_func___builtin_fabs_link=no
36517 fi
36518 rm -f conftest.err conftest.$ac_objext \
36519       conftest$ac_exeext conftest.$ac_ext
36520
36521 fi
36522
36523     fi
36524     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36525 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36526
36527     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36528
36529 cat >>confdefs.h <<\_ACEOF
36530 #define HAVE___BUILTIN_FABS 1
36531 _ACEOF
36532
36533     fi
36534
36535   fi
36536
36537
36538   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36539 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36540   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36541     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36542   echo $ECHO_N "(cached) $ECHO_C" >&6
36543 else
36544
36545
36546
36547       ac_ext=cc
36548 ac_cpp='$CXXCPP $CPPFLAGS'
36549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36552
36553       cat >conftest.$ac_ext <<_ACEOF
36554 /* confdefs.h.  */
36555 _ACEOF
36556 cat confdefs.h >>conftest.$ac_ext
36557 cat >>conftest.$ac_ext <<_ACEOF
36558 /* end confdefs.h.  */
36559 #include <math.h>
36560 int
36561 main ()
36562 {
36563  __builtin_fabsl(0);
36564   ;
36565   return 0;
36566 }
36567 _ACEOF
36568 rm -f conftest.$ac_objext
36569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36570   (eval $ac_compile) 2>conftest.er1
36571   ac_status=$?
36572   grep -v '^ *+' conftest.er1 >conftest.err
36573   rm -f conftest.er1
36574   cat conftest.err >&5
36575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36576   (exit $ac_status); } &&
36577          { ac_try='test -z "$ac_cxx_werror_flag"
36578                          || test ! -s conftest.err'
36579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36580   (eval $ac_try) 2>&5
36581   ac_status=$?
36582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36583   (exit $ac_status); }; } &&
36584          { ac_try='test -s conftest.$ac_objext'
36585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36586   (eval $ac_try) 2>&5
36587   ac_status=$?
36588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36589   (exit $ac_status); }; }; then
36590   glibcxx_cv_func___builtin_fabsl_use=yes
36591 else
36592   echo "$as_me: failed program was:" >&5
36593 sed 's/^/| /' conftest.$ac_ext >&5
36594
36595 glibcxx_cv_func___builtin_fabsl_use=no
36596 fi
36597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36598       ac_ext=c
36599 ac_cpp='$CPP $CPPFLAGS'
36600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36603
36604
36605 fi
36606
36607   fi
36608   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36609 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36610   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36611     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36612 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36613     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36614       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36615   echo $ECHO_N "(cached) $ECHO_C" >&6
36616 else
36617
36618         if test x$gcc_no_link = xyes; then
36619   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36621    { (exit 1); exit 1; }; }
36622 fi
36623 cat >conftest.$ac_ext <<_ACEOF
36624 /* confdefs.h.  */
36625 _ACEOF
36626 cat confdefs.h >>conftest.$ac_ext
36627 cat >>conftest.$ac_ext <<_ACEOF
36628 /* end confdefs.h.  */
36629 #include <math.h>
36630 int
36631 main ()
36632 {
36633  __builtin_fabsl(0);
36634   ;
36635   return 0;
36636 }
36637 _ACEOF
36638 rm -f conftest.$ac_objext conftest$ac_exeext
36639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36640   (eval $ac_link) 2>conftest.er1
36641   ac_status=$?
36642   grep -v '^ *+' conftest.er1 >conftest.err
36643   rm -f conftest.er1
36644   cat conftest.err >&5
36645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36646   (exit $ac_status); } &&
36647          { ac_try='test -z "$ac_c_werror_flag"
36648                          || test ! -s conftest.err'
36649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36650   (eval $ac_try) 2>&5
36651   ac_status=$?
36652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36653   (exit $ac_status); }; } &&
36654          { ac_try='test -s conftest$ac_exeext'
36655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36656   (eval $ac_try) 2>&5
36657   ac_status=$?
36658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36659   (exit $ac_status); }; }; then
36660   glibcxx_cv_func___builtin_fabsl_link=yes
36661 else
36662   echo "$as_me: failed program was:" >&5
36663 sed 's/^/| /' conftest.$ac_ext >&5
36664
36665 glibcxx_cv_func___builtin_fabsl_link=no
36666 fi
36667 rm -f conftest.err conftest.$ac_objext \
36668       conftest$ac_exeext conftest.$ac_ext
36669
36670 fi
36671
36672     fi
36673     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36674 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36675
36676     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36677
36678 cat >>confdefs.h <<\_ACEOF
36679 #define HAVE___BUILTIN_FABSL 1
36680 _ACEOF
36681
36682     fi
36683
36684   fi
36685
36686
36687   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36688 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36689   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36690     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36691   echo $ECHO_N "(cached) $ECHO_C" >&6
36692 else
36693
36694
36695
36696       ac_ext=cc
36697 ac_cpp='$CXXCPP $CPPFLAGS'
36698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36701
36702       cat >conftest.$ac_ext <<_ACEOF
36703 /* confdefs.h.  */
36704 _ACEOF
36705 cat confdefs.h >>conftest.$ac_ext
36706 cat >>conftest.$ac_ext <<_ACEOF
36707 /* end confdefs.h.  */
36708 #include <math.h>
36709 int
36710 main ()
36711 {
36712  __builtin_labs(0);
36713   ;
36714   return 0;
36715 }
36716 _ACEOF
36717 rm -f conftest.$ac_objext
36718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36719   (eval $ac_compile) 2>conftest.er1
36720   ac_status=$?
36721   grep -v '^ *+' conftest.er1 >conftest.err
36722   rm -f conftest.er1
36723   cat conftest.err >&5
36724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36725   (exit $ac_status); } &&
36726          { ac_try='test -z "$ac_cxx_werror_flag"
36727                          || test ! -s conftest.err'
36728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36729   (eval $ac_try) 2>&5
36730   ac_status=$?
36731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36732   (exit $ac_status); }; } &&
36733          { ac_try='test -s conftest.$ac_objext'
36734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36735   (eval $ac_try) 2>&5
36736   ac_status=$?
36737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36738   (exit $ac_status); }; }; then
36739   glibcxx_cv_func___builtin_labs_use=yes
36740 else
36741   echo "$as_me: failed program was:" >&5
36742 sed 's/^/| /' conftest.$ac_ext >&5
36743
36744 glibcxx_cv_func___builtin_labs_use=no
36745 fi
36746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36747       ac_ext=c
36748 ac_cpp='$CPP $CPPFLAGS'
36749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36752
36753
36754 fi
36755
36756   fi
36757   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36758 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36759   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36760     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36761 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36762     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36763       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36764   echo $ECHO_N "(cached) $ECHO_C" >&6
36765 else
36766
36767         if test x$gcc_no_link = xyes; then
36768   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36770    { (exit 1); exit 1; }; }
36771 fi
36772 cat >conftest.$ac_ext <<_ACEOF
36773 /* confdefs.h.  */
36774 _ACEOF
36775 cat confdefs.h >>conftest.$ac_ext
36776 cat >>conftest.$ac_ext <<_ACEOF
36777 /* end confdefs.h.  */
36778 #include <math.h>
36779 int
36780 main ()
36781 {
36782  __builtin_labs(0);
36783   ;
36784   return 0;
36785 }
36786 _ACEOF
36787 rm -f conftest.$ac_objext conftest$ac_exeext
36788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36789   (eval $ac_link) 2>conftest.er1
36790   ac_status=$?
36791   grep -v '^ *+' conftest.er1 >conftest.err
36792   rm -f conftest.er1
36793   cat conftest.err >&5
36794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36795   (exit $ac_status); } &&
36796          { ac_try='test -z "$ac_c_werror_flag"
36797                          || test ! -s conftest.err'
36798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36799   (eval $ac_try) 2>&5
36800   ac_status=$?
36801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36802   (exit $ac_status); }; } &&
36803          { ac_try='test -s conftest$ac_exeext'
36804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36805   (eval $ac_try) 2>&5
36806   ac_status=$?
36807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36808   (exit $ac_status); }; }; then
36809   glibcxx_cv_func___builtin_labs_link=yes
36810 else
36811   echo "$as_me: failed program was:" >&5
36812 sed 's/^/| /' conftest.$ac_ext >&5
36813
36814 glibcxx_cv_func___builtin_labs_link=no
36815 fi
36816 rm -f conftest.err conftest.$ac_objext \
36817       conftest$ac_exeext conftest.$ac_ext
36818
36819 fi
36820
36821     fi
36822     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36823 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36824
36825     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36826
36827 cat >>confdefs.h <<\_ACEOF
36828 #define HAVE___BUILTIN_LABS 1
36829 _ACEOF
36830
36831     fi
36832
36833   fi
36834
36835
36836
36837   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36838 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36839   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36840     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36841   echo $ECHO_N "(cached) $ECHO_C" >&6
36842 else
36843
36844
36845
36846       ac_ext=cc
36847 ac_cpp='$CXXCPP $CPPFLAGS'
36848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36851
36852       cat >conftest.$ac_ext <<_ACEOF
36853 /* confdefs.h.  */
36854 _ACEOF
36855 cat confdefs.h >>conftest.$ac_ext
36856 cat >>conftest.$ac_ext <<_ACEOF
36857 /* end confdefs.h.  */
36858 #include <math.h>
36859 int
36860 main ()
36861 {
36862  __builtin_sqrtf(0);
36863   ;
36864   return 0;
36865 }
36866 _ACEOF
36867 rm -f conftest.$ac_objext
36868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36869   (eval $ac_compile) 2>conftest.er1
36870   ac_status=$?
36871   grep -v '^ *+' conftest.er1 >conftest.err
36872   rm -f conftest.er1
36873   cat conftest.err >&5
36874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875   (exit $ac_status); } &&
36876          { ac_try='test -z "$ac_cxx_werror_flag"
36877                          || test ! -s conftest.err'
36878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36879   (eval $ac_try) 2>&5
36880   ac_status=$?
36881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882   (exit $ac_status); }; } &&
36883          { ac_try='test -s conftest.$ac_objext'
36884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36885   (eval $ac_try) 2>&5
36886   ac_status=$?
36887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36888   (exit $ac_status); }; }; then
36889   glibcxx_cv_func___builtin_sqrtf_use=yes
36890 else
36891   echo "$as_me: failed program was:" >&5
36892 sed 's/^/| /' conftest.$ac_ext >&5
36893
36894 glibcxx_cv_func___builtin_sqrtf_use=no
36895 fi
36896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36897       ac_ext=c
36898 ac_cpp='$CPP $CPPFLAGS'
36899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36902
36903
36904 fi
36905
36906   fi
36907   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36908 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36909   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36910     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36911 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36912     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36913       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36914   echo $ECHO_N "(cached) $ECHO_C" >&6
36915 else
36916
36917         if test x$gcc_no_link = xyes; then
36918   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36920    { (exit 1); exit 1; }; }
36921 fi
36922 cat >conftest.$ac_ext <<_ACEOF
36923 /* confdefs.h.  */
36924 _ACEOF
36925 cat confdefs.h >>conftest.$ac_ext
36926 cat >>conftest.$ac_ext <<_ACEOF
36927 /* end confdefs.h.  */
36928 #include <math.h>
36929 int
36930 main ()
36931 {
36932  __builtin_sqrtf(0);
36933   ;
36934   return 0;
36935 }
36936 _ACEOF
36937 rm -f conftest.$ac_objext conftest$ac_exeext
36938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36939   (eval $ac_link) 2>conftest.er1
36940   ac_status=$?
36941   grep -v '^ *+' conftest.er1 >conftest.err
36942   rm -f conftest.er1
36943   cat conftest.err >&5
36944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36945   (exit $ac_status); } &&
36946          { ac_try='test -z "$ac_c_werror_flag"
36947                          || test ! -s conftest.err'
36948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36949   (eval $ac_try) 2>&5
36950   ac_status=$?
36951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36952   (exit $ac_status); }; } &&
36953          { ac_try='test -s conftest$ac_exeext'
36954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36955   (eval $ac_try) 2>&5
36956   ac_status=$?
36957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36958   (exit $ac_status); }; }; then
36959   glibcxx_cv_func___builtin_sqrtf_link=yes
36960 else
36961   echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.$ac_ext >&5
36963
36964 glibcxx_cv_func___builtin_sqrtf_link=no
36965 fi
36966 rm -f conftest.err conftest.$ac_objext \
36967       conftest$ac_exeext conftest.$ac_ext
36968
36969 fi
36970
36971     fi
36972     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36973 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36974
36975     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36976
36977 cat >>confdefs.h <<\_ACEOF
36978 #define HAVE___BUILTIN_SQRTF 1
36979 _ACEOF
36980
36981     fi
36982
36983   fi
36984
36985
36986   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36987 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36988   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36989     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36990   echo $ECHO_N "(cached) $ECHO_C" >&6
36991 else
36992
36993
36994
36995       ac_ext=cc
36996 ac_cpp='$CXXCPP $CPPFLAGS'
36997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37000
37001       cat >conftest.$ac_ext <<_ACEOF
37002 /* confdefs.h.  */
37003 _ACEOF
37004 cat confdefs.h >>conftest.$ac_ext
37005 cat >>conftest.$ac_ext <<_ACEOF
37006 /* end confdefs.h.  */
37007 #include <math.h>
37008 int
37009 main ()
37010 {
37011  __builtin_sqrt(0);
37012   ;
37013   return 0;
37014 }
37015 _ACEOF
37016 rm -f conftest.$ac_objext
37017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37018   (eval $ac_compile) 2>conftest.er1
37019   ac_status=$?
37020   grep -v '^ *+' conftest.er1 >conftest.err
37021   rm -f conftest.er1
37022   cat conftest.err >&5
37023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37024   (exit $ac_status); } &&
37025          { ac_try='test -z "$ac_cxx_werror_flag"
37026                          || test ! -s conftest.err'
37027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37028   (eval $ac_try) 2>&5
37029   ac_status=$?
37030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37031   (exit $ac_status); }; } &&
37032          { ac_try='test -s conftest.$ac_objext'
37033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37034   (eval $ac_try) 2>&5
37035   ac_status=$?
37036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37037   (exit $ac_status); }; }; then
37038   glibcxx_cv_func___builtin_sqrt_use=yes
37039 else
37040   echo "$as_me: failed program was:" >&5
37041 sed 's/^/| /' conftest.$ac_ext >&5
37042
37043 glibcxx_cv_func___builtin_sqrt_use=no
37044 fi
37045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37046       ac_ext=c
37047 ac_cpp='$CPP $CPPFLAGS'
37048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37051
37052
37053 fi
37054
37055   fi
37056   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
37057 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
37058   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
37059     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
37060 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
37061     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
37062       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
37063   echo $ECHO_N "(cached) $ECHO_C" >&6
37064 else
37065
37066         if test x$gcc_no_link = xyes; then
37067   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37069    { (exit 1); exit 1; }; }
37070 fi
37071 cat >conftest.$ac_ext <<_ACEOF
37072 /* confdefs.h.  */
37073 _ACEOF
37074 cat confdefs.h >>conftest.$ac_ext
37075 cat >>conftest.$ac_ext <<_ACEOF
37076 /* end confdefs.h.  */
37077 #include <math.h>
37078 int
37079 main ()
37080 {
37081  __builtin_sqrt(0);
37082   ;
37083   return 0;
37084 }
37085 _ACEOF
37086 rm -f conftest.$ac_objext conftest$ac_exeext
37087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37088   (eval $ac_link) 2>conftest.er1
37089   ac_status=$?
37090   grep -v '^ *+' conftest.er1 >conftest.err
37091   rm -f conftest.er1
37092   cat conftest.err >&5
37093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37094   (exit $ac_status); } &&
37095          { ac_try='test -z "$ac_c_werror_flag"
37096                          || test ! -s conftest.err'
37097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37098   (eval $ac_try) 2>&5
37099   ac_status=$?
37100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37101   (exit $ac_status); }; } &&
37102          { ac_try='test -s conftest$ac_exeext'
37103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37104   (eval $ac_try) 2>&5
37105   ac_status=$?
37106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37107   (exit $ac_status); }; }; then
37108   glibcxx_cv_func___builtin_sqrt_link=yes
37109 else
37110   echo "$as_me: failed program was:" >&5
37111 sed 's/^/| /' conftest.$ac_ext >&5
37112
37113 glibcxx_cv_func___builtin_sqrt_link=no
37114 fi
37115 rm -f conftest.err conftest.$ac_objext \
37116       conftest$ac_exeext conftest.$ac_ext
37117
37118 fi
37119
37120     fi
37121     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
37122 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
37123
37124     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
37125
37126 cat >>confdefs.h <<\_ACEOF
37127 #define HAVE___BUILTIN_SQRT 1
37128 _ACEOF
37129
37130     fi
37131
37132   fi
37133
37134
37135   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
37136 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
37137   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
37138     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
37139   echo $ECHO_N "(cached) $ECHO_C" >&6
37140 else
37141
37142
37143
37144       ac_ext=cc
37145 ac_cpp='$CXXCPP $CPPFLAGS'
37146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37149
37150       cat >conftest.$ac_ext <<_ACEOF
37151 /* confdefs.h.  */
37152 _ACEOF
37153 cat confdefs.h >>conftest.$ac_ext
37154 cat >>conftest.$ac_ext <<_ACEOF
37155 /* end confdefs.h.  */
37156 #include <math.h>
37157 int
37158 main ()
37159 {
37160  __builtin_sqrtl(0);
37161   ;
37162   return 0;
37163 }
37164 _ACEOF
37165 rm -f conftest.$ac_objext
37166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37167   (eval $ac_compile) 2>conftest.er1
37168   ac_status=$?
37169   grep -v '^ *+' conftest.er1 >conftest.err
37170   rm -f conftest.er1
37171   cat conftest.err >&5
37172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173   (exit $ac_status); } &&
37174          { ac_try='test -z "$ac_cxx_werror_flag"
37175                          || test ! -s conftest.err'
37176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37177   (eval $ac_try) 2>&5
37178   ac_status=$?
37179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37180   (exit $ac_status); }; } &&
37181          { ac_try='test -s conftest.$ac_objext'
37182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37183   (eval $ac_try) 2>&5
37184   ac_status=$?
37185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37186   (exit $ac_status); }; }; then
37187   glibcxx_cv_func___builtin_sqrtl_use=yes
37188 else
37189   echo "$as_me: failed program was:" >&5
37190 sed 's/^/| /' conftest.$ac_ext >&5
37191
37192 glibcxx_cv_func___builtin_sqrtl_use=no
37193 fi
37194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37195       ac_ext=c
37196 ac_cpp='$CPP $CPPFLAGS'
37197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37200
37201
37202 fi
37203
37204   fi
37205   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
37206 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
37207   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
37208     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
37209 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
37210     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
37211       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
37212   echo $ECHO_N "(cached) $ECHO_C" >&6
37213 else
37214
37215         if test x$gcc_no_link = xyes; then
37216   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37218    { (exit 1); exit 1; }; }
37219 fi
37220 cat >conftest.$ac_ext <<_ACEOF
37221 /* confdefs.h.  */
37222 _ACEOF
37223 cat confdefs.h >>conftest.$ac_ext
37224 cat >>conftest.$ac_ext <<_ACEOF
37225 /* end confdefs.h.  */
37226 #include <math.h>
37227 int
37228 main ()
37229 {
37230  __builtin_sqrtl(0);
37231   ;
37232   return 0;
37233 }
37234 _ACEOF
37235 rm -f conftest.$ac_objext conftest$ac_exeext
37236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37237   (eval $ac_link) 2>conftest.er1
37238   ac_status=$?
37239   grep -v '^ *+' conftest.er1 >conftest.err
37240   rm -f conftest.er1
37241   cat conftest.err >&5
37242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37243   (exit $ac_status); } &&
37244          { ac_try='test -z "$ac_c_werror_flag"
37245                          || test ! -s conftest.err'
37246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37247   (eval $ac_try) 2>&5
37248   ac_status=$?
37249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37250   (exit $ac_status); }; } &&
37251          { ac_try='test -s conftest$ac_exeext'
37252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37253   (eval $ac_try) 2>&5
37254   ac_status=$?
37255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256   (exit $ac_status); }; }; then
37257   glibcxx_cv_func___builtin_sqrtl_link=yes
37258 else
37259   echo "$as_me: failed program was:" >&5
37260 sed 's/^/| /' conftest.$ac_ext >&5
37261
37262 glibcxx_cv_func___builtin_sqrtl_link=no
37263 fi
37264 rm -f conftest.err conftest.$ac_objext \
37265       conftest$ac_exeext conftest.$ac_ext
37266
37267 fi
37268
37269     fi
37270     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
37271 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
37272
37273     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
37274
37275 cat >>confdefs.h <<\_ACEOF
37276 #define HAVE___BUILTIN_SQRTL 1
37277 _ACEOF
37278
37279     fi
37280
37281   fi
37282
37283
37284
37285   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
37286 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
37287   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
37288     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
37289   echo $ECHO_N "(cached) $ECHO_C" >&6
37290 else
37291
37292
37293
37294       ac_ext=cc
37295 ac_cpp='$CXXCPP $CPPFLAGS'
37296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37299
37300       cat >conftest.$ac_ext <<_ACEOF
37301 /* confdefs.h.  */
37302 _ACEOF
37303 cat confdefs.h >>conftest.$ac_ext
37304 cat >>conftest.$ac_ext <<_ACEOF
37305 /* end confdefs.h.  */
37306 #include <math.h>
37307 int
37308 main ()
37309 {
37310  __builtin_sinf(0);
37311   ;
37312   return 0;
37313 }
37314 _ACEOF
37315 rm -f conftest.$ac_objext
37316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37317   (eval $ac_compile) 2>conftest.er1
37318   ac_status=$?
37319   grep -v '^ *+' conftest.er1 >conftest.err
37320   rm -f conftest.er1
37321   cat conftest.err >&5
37322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37323   (exit $ac_status); } &&
37324          { ac_try='test -z "$ac_cxx_werror_flag"
37325                          || test ! -s conftest.err'
37326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37327   (eval $ac_try) 2>&5
37328   ac_status=$?
37329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37330   (exit $ac_status); }; } &&
37331          { ac_try='test -s conftest.$ac_objext'
37332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37333   (eval $ac_try) 2>&5
37334   ac_status=$?
37335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37336   (exit $ac_status); }; }; then
37337   glibcxx_cv_func___builtin_sinf_use=yes
37338 else
37339   echo "$as_me: failed program was:" >&5
37340 sed 's/^/| /' conftest.$ac_ext >&5
37341
37342 glibcxx_cv_func___builtin_sinf_use=no
37343 fi
37344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37345       ac_ext=c
37346 ac_cpp='$CPP $CPPFLAGS'
37347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37350
37351
37352 fi
37353
37354   fi
37355   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
37356 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
37357   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
37358     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
37359 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
37360     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
37361       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
37362   echo $ECHO_N "(cached) $ECHO_C" >&6
37363 else
37364
37365         if test x$gcc_no_link = xyes; then
37366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37368    { (exit 1); exit 1; }; }
37369 fi
37370 cat >conftest.$ac_ext <<_ACEOF
37371 /* confdefs.h.  */
37372 _ACEOF
37373 cat confdefs.h >>conftest.$ac_ext
37374 cat >>conftest.$ac_ext <<_ACEOF
37375 /* end confdefs.h.  */
37376 #include <math.h>
37377 int
37378 main ()
37379 {
37380  __builtin_sinf(0);
37381   ;
37382   return 0;
37383 }
37384 _ACEOF
37385 rm -f conftest.$ac_objext conftest$ac_exeext
37386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37387   (eval $ac_link) 2>conftest.er1
37388   ac_status=$?
37389   grep -v '^ *+' conftest.er1 >conftest.err
37390   rm -f conftest.er1
37391   cat conftest.err >&5
37392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37393   (exit $ac_status); } &&
37394          { ac_try='test -z "$ac_c_werror_flag"
37395                          || test ! -s conftest.err'
37396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37397   (eval $ac_try) 2>&5
37398   ac_status=$?
37399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37400   (exit $ac_status); }; } &&
37401          { ac_try='test -s conftest$ac_exeext'
37402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37403   (eval $ac_try) 2>&5
37404   ac_status=$?
37405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37406   (exit $ac_status); }; }; then
37407   glibcxx_cv_func___builtin_sinf_link=yes
37408 else
37409   echo "$as_me: failed program was:" >&5
37410 sed 's/^/| /' conftest.$ac_ext >&5
37411
37412 glibcxx_cv_func___builtin_sinf_link=no
37413 fi
37414 rm -f conftest.err conftest.$ac_objext \
37415       conftest$ac_exeext conftest.$ac_ext
37416
37417 fi
37418
37419     fi
37420     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37421 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37422
37423     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37424
37425 cat >>confdefs.h <<\_ACEOF
37426 #define HAVE___BUILTIN_SINF 1
37427 _ACEOF
37428
37429     fi
37430
37431   fi
37432
37433
37434   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37435 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37436   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37437     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37438   echo $ECHO_N "(cached) $ECHO_C" >&6
37439 else
37440
37441
37442
37443       ac_ext=cc
37444 ac_cpp='$CXXCPP $CPPFLAGS'
37445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37448
37449       cat >conftest.$ac_ext <<_ACEOF
37450 /* confdefs.h.  */
37451 _ACEOF
37452 cat confdefs.h >>conftest.$ac_ext
37453 cat >>conftest.$ac_ext <<_ACEOF
37454 /* end confdefs.h.  */
37455 #include <math.h>
37456 int
37457 main ()
37458 {
37459  __builtin_sin(0);
37460   ;
37461   return 0;
37462 }
37463 _ACEOF
37464 rm -f conftest.$ac_objext
37465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37466   (eval $ac_compile) 2>conftest.er1
37467   ac_status=$?
37468   grep -v '^ *+' conftest.er1 >conftest.err
37469   rm -f conftest.er1
37470   cat conftest.err >&5
37471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37472   (exit $ac_status); } &&
37473          { ac_try='test -z "$ac_cxx_werror_flag"
37474                          || test ! -s conftest.err'
37475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37476   (eval $ac_try) 2>&5
37477   ac_status=$?
37478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37479   (exit $ac_status); }; } &&
37480          { ac_try='test -s conftest.$ac_objext'
37481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37482   (eval $ac_try) 2>&5
37483   ac_status=$?
37484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37485   (exit $ac_status); }; }; then
37486   glibcxx_cv_func___builtin_sin_use=yes
37487 else
37488   echo "$as_me: failed program was:" >&5
37489 sed 's/^/| /' conftest.$ac_ext >&5
37490
37491 glibcxx_cv_func___builtin_sin_use=no
37492 fi
37493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37494       ac_ext=c
37495 ac_cpp='$CPP $CPPFLAGS'
37496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37499
37500
37501 fi
37502
37503   fi
37504   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37505 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37506   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37507     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37508 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37509     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37510       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37511   echo $ECHO_N "(cached) $ECHO_C" >&6
37512 else
37513
37514         if test x$gcc_no_link = xyes; then
37515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37517    { (exit 1); exit 1; }; }
37518 fi
37519 cat >conftest.$ac_ext <<_ACEOF
37520 /* confdefs.h.  */
37521 _ACEOF
37522 cat confdefs.h >>conftest.$ac_ext
37523 cat >>conftest.$ac_ext <<_ACEOF
37524 /* end confdefs.h.  */
37525 #include <math.h>
37526 int
37527 main ()
37528 {
37529  __builtin_sin(0);
37530   ;
37531   return 0;
37532 }
37533 _ACEOF
37534 rm -f conftest.$ac_objext conftest$ac_exeext
37535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37536   (eval $ac_link) 2>conftest.er1
37537   ac_status=$?
37538   grep -v '^ *+' conftest.er1 >conftest.err
37539   rm -f conftest.er1
37540   cat conftest.err >&5
37541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37542   (exit $ac_status); } &&
37543          { ac_try='test -z "$ac_c_werror_flag"
37544                          || test ! -s conftest.err'
37545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37546   (eval $ac_try) 2>&5
37547   ac_status=$?
37548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37549   (exit $ac_status); }; } &&
37550          { ac_try='test -s conftest$ac_exeext'
37551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37552   (eval $ac_try) 2>&5
37553   ac_status=$?
37554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37555   (exit $ac_status); }; }; then
37556   glibcxx_cv_func___builtin_sin_link=yes
37557 else
37558   echo "$as_me: failed program was:" >&5
37559 sed 's/^/| /' conftest.$ac_ext >&5
37560
37561 glibcxx_cv_func___builtin_sin_link=no
37562 fi
37563 rm -f conftest.err conftest.$ac_objext \
37564       conftest$ac_exeext conftest.$ac_ext
37565
37566 fi
37567
37568     fi
37569     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37570 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37571
37572     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37573
37574 cat >>confdefs.h <<\_ACEOF
37575 #define HAVE___BUILTIN_SIN 1
37576 _ACEOF
37577
37578     fi
37579
37580   fi
37581
37582
37583   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37584 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37585   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37586     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37587   echo $ECHO_N "(cached) $ECHO_C" >&6
37588 else
37589
37590
37591
37592       ac_ext=cc
37593 ac_cpp='$CXXCPP $CPPFLAGS'
37594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37597
37598       cat >conftest.$ac_ext <<_ACEOF
37599 /* confdefs.h.  */
37600 _ACEOF
37601 cat confdefs.h >>conftest.$ac_ext
37602 cat >>conftest.$ac_ext <<_ACEOF
37603 /* end confdefs.h.  */
37604 #include <math.h>
37605 int
37606 main ()
37607 {
37608  __builtin_sinl(0);
37609   ;
37610   return 0;
37611 }
37612 _ACEOF
37613 rm -f conftest.$ac_objext
37614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37615   (eval $ac_compile) 2>conftest.er1
37616   ac_status=$?
37617   grep -v '^ *+' conftest.er1 >conftest.err
37618   rm -f conftest.er1
37619   cat conftest.err >&5
37620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37621   (exit $ac_status); } &&
37622          { ac_try='test -z "$ac_cxx_werror_flag"
37623                          || test ! -s conftest.err'
37624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37625   (eval $ac_try) 2>&5
37626   ac_status=$?
37627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37628   (exit $ac_status); }; } &&
37629          { ac_try='test -s conftest.$ac_objext'
37630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37631   (eval $ac_try) 2>&5
37632   ac_status=$?
37633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37634   (exit $ac_status); }; }; then
37635   glibcxx_cv_func___builtin_sinl_use=yes
37636 else
37637   echo "$as_me: failed program was:" >&5
37638 sed 's/^/| /' conftest.$ac_ext >&5
37639
37640 glibcxx_cv_func___builtin_sinl_use=no
37641 fi
37642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37643       ac_ext=c
37644 ac_cpp='$CPP $CPPFLAGS'
37645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37648
37649
37650 fi
37651
37652   fi
37653   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37654 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37655   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37656     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37657 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37658     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37659       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37660   echo $ECHO_N "(cached) $ECHO_C" >&6
37661 else
37662
37663         if test x$gcc_no_link = xyes; then
37664   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37666    { (exit 1); exit 1; }; }
37667 fi
37668 cat >conftest.$ac_ext <<_ACEOF
37669 /* confdefs.h.  */
37670 _ACEOF
37671 cat confdefs.h >>conftest.$ac_ext
37672 cat >>conftest.$ac_ext <<_ACEOF
37673 /* end confdefs.h.  */
37674 #include <math.h>
37675 int
37676 main ()
37677 {
37678  __builtin_sinl(0);
37679   ;
37680   return 0;
37681 }
37682 _ACEOF
37683 rm -f conftest.$ac_objext conftest$ac_exeext
37684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37685   (eval $ac_link) 2>conftest.er1
37686   ac_status=$?
37687   grep -v '^ *+' conftest.er1 >conftest.err
37688   rm -f conftest.er1
37689   cat conftest.err >&5
37690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691   (exit $ac_status); } &&
37692          { ac_try='test -z "$ac_c_werror_flag"
37693                          || test ! -s conftest.err'
37694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37695   (eval $ac_try) 2>&5
37696   ac_status=$?
37697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37698   (exit $ac_status); }; } &&
37699          { ac_try='test -s conftest$ac_exeext'
37700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37701   (eval $ac_try) 2>&5
37702   ac_status=$?
37703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37704   (exit $ac_status); }; }; then
37705   glibcxx_cv_func___builtin_sinl_link=yes
37706 else
37707   echo "$as_me: failed program was:" >&5
37708 sed 's/^/| /' conftest.$ac_ext >&5
37709
37710 glibcxx_cv_func___builtin_sinl_link=no
37711 fi
37712 rm -f conftest.err conftest.$ac_objext \
37713       conftest$ac_exeext conftest.$ac_ext
37714
37715 fi
37716
37717     fi
37718     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37719 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37720
37721     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37722
37723 cat >>confdefs.h <<\_ACEOF
37724 #define HAVE___BUILTIN_SINL 1
37725 _ACEOF
37726
37727     fi
37728
37729   fi
37730
37731
37732
37733   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37734 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37735   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37736     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37737   echo $ECHO_N "(cached) $ECHO_C" >&6
37738 else
37739
37740
37741
37742       ac_ext=cc
37743 ac_cpp='$CXXCPP $CPPFLAGS'
37744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37747
37748       cat >conftest.$ac_ext <<_ACEOF
37749 /* confdefs.h.  */
37750 _ACEOF
37751 cat confdefs.h >>conftest.$ac_ext
37752 cat >>conftest.$ac_ext <<_ACEOF
37753 /* end confdefs.h.  */
37754 #include <math.h>
37755 int
37756 main ()
37757 {
37758  __builtin_cosf(0);
37759   ;
37760   return 0;
37761 }
37762 _ACEOF
37763 rm -f conftest.$ac_objext
37764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37765   (eval $ac_compile) 2>conftest.er1
37766   ac_status=$?
37767   grep -v '^ *+' conftest.er1 >conftest.err
37768   rm -f conftest.er1
37769   cat conftest.err >&5
37770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37771   (exit $ac_status); } &&
37772          { ac_try='test -z "$ac_cxx_werror_flag"
37773                          || test ! -s conftest.err'
37774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37775   (eval $ac_try) 2>&5
37776   ac_status=$?
37777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37778   (exit $ac_status); }; } &&
37779          { ac_try='test -s conftest.$ac_objext'
37780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37781   (eval $ac_try) 2>&5
37782   ac_status=$?
37783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37784   (exit $ac_status); }; }; then
37785   glibcxx_cv_func___builtin_cosf_use=yes
37786 else
37787   echo "$as_me: failed program was:" >&5
37788 sed 's/^/| /' conftest.$ac_ext >&5
37789
37790 glibcxx_cv_func___builtin_cosf_use=no
37791 fi
37792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37793       ac_ext=c
37794 ac_cpp='$CPP $CPPFLAGS'
37795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37798
37799
37800 fi
37801
37802   fi
37803   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37804 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37805   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37806     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37807 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37808     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37809       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37810   echo $ECHO_N "(cached) $ECHO_C" >&6
37811 else
37812
37813         if test x$gcc_no_link = xyes; then
37814   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37816    { (exit 1); exit 1; }; }
37817 fi
37818 cat >conftest.$ac_ext <<_ACEOF
37819 /* confdefs.h.  */
37820 _ACEOF
37821 cat confdefs.h >>conftest.$ac_ext
37822 cat >>conftest.$ac_ext <<_ACEOF
37823 /* end confdefs.h.  */
37824 #include <math.h>
37825 int
37826 main ()
37827 {
37828  __builtin_cosf(0);
37829   ;
37830   return 0;
37831 }
37832 _ACEOF
37833 rm -f conftest.$ac_objext conftest$ac_exeext
37834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37835   (eval $ac_link) 2>conftest.er1
37836   ac_status=$?
37837   grep -v '^ *+' conftest.er1 >conftest.err
37838   rm -f conftest.er1
37839   cat conftest.err >&5
37840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37841   (exit $ac_status); } &&
37842          { ac_try='test -z "$ac_c_werror_flag"
37843                          || test ! -s conftest.err'
37844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37845   (eval $ac_try) 2>&5
37846   ac_status=$?
37847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848   (exit $ac_status); }; } &&
37849          { ac_try='test -s conftest$ac_exeext'
37850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37851   (eval $ac_try) 2>&5
37852   ac_status=$?
37853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37854   (exit $ac_status); }; }; then
37855   glibcxx_cv_func___builtin_cosf_link=yes
37856 else
37857   echo "$as_me: failed program was:" >&5
37858 sed 's/^/| /' conftest.$ac_ext >&5
37859
37860 glibcxx_cv_func___builtin_cosf_link=no
37861 fi
37862 rm -f conftest.err conftest.$ac_objext \
37863       conftest$ac_exeext conftest.$ac_ext
37864
37865 fi
37866
37867     fi
37868     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37869 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37870
37871     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37872
37873 cat >>confdefs.h <<\_ACEOF
37874 #define HAVE___BUILTIN_COSF 1
37875 _ACEOF
37876
37877     fi
37878
37879   fi
37880
37881
37882   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37883 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37884   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37885     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37886   echo $ECHO_N "(cached) $ECHO_C" >&6
37887 else
37888
37889
37890
37891       ac_ext=cc
37892 ac_cpp='$CXXCPP $CPPFLAGS'
37893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37896
37897       cat >conftest.$ac_ext <<_ACEOF
37898 /* confdefs.h.  */
37899 _ACEOF
37900 cat confdefs.h >>conftest.$ac_ext
37901 cat >>conftest.$ac_ext <<_ACEOF
37902 /* end confdefs.h.  */
37903 #include <math.h>
37904 int
37905 main ()
37906 {
37907  __builtin_cos(0);
37908   ;
37909   return 0;
37910 }
37911 _ACEOF
37912 rm -f conftest.$ac_objext
37913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37914   (eval $ac_compile) 2>conftest.er1
37915   ac_status=$?
37916   grep -v '^ *+' conftest.er1 >conftest.err
37917   rm -f conftest.er1
37918   cat conftest.err >&5
37919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37920   (exit $ac_status); } &&
37921          { ac_try='test -z "$ac_cxx_werror_flag"
37922                          || test ! -s conftest.err'
37923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37924   (eval $ac_try) 2>&5
37925   ac_status=$?
37926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37927   (exit $ac_status); }; } &&
37928          { ac_try='test -s conftest.$ac_objext'
37929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37930   (eval $ac_try) 2>&5
37931   ac_status=$?
37932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37933   (exit $ac_status); }; }; then
37934   glibcxx_cv_func___builtin_cos_use=yes
37935 else
37936   echo "$as_me: failed program was:" >&5
37937 sed 's/^/| /' conftest.$ac_ext >&5
37938
37939 glibcxx_cv_func___builtin_cos_use=no
37940 fi
37941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37942       ac_ext=c
37943 ac_cpp='$CPP $CPPFLAGS'
37944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37947
37948
37949 fi
37950
37951   fi
37952   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37953 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37954   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37955     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37956 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37957     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37958       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37959   echo $ECHO_N "(cached) $ECHO_C" >&6
37960 else
37961
37962         if test x$gcc_no_link = xyes; then
37963   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37965    { (exit 1); exit 1; }; }
37966 fi
37967 cat >conftest.$ac_ext <<_ACEOF
37968 /* confdefs.h.  */
37969 _ACEOF
37970 cat confdefs.h >>conftest.$ac_ext
37971 cat >>conftest.$ac_ext <<_ACEOF
37972 /* end confdefs.h.  */
37973 #include <math.h>
37974 int
37975 main ()
37976 {
37977  __builtin_cos(0);
37978   ;
37979   return 0;
37980 }
37981 _ACEOF
37982 rm -f conftest.$ac_objext conftest$ac_exeext
37983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37984   (eval $ac_link) 2>conftest.er1
37985   ac_status=$?
37986   grep -v '^ *+' conftest.er1 >conftest.err
37987   rm -f conftest.er1
37988   cat conftest.err >&5
37989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37990   (exit $ac_status); } &&
37991          { ac_try='test -z "$ac_c_werror_flag"
37992                          || test ! -s conftest.err'
37993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37994   (eval $ac_try) 2>&5
37995   ac_status=$?
37996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37997   (exit $ac_status); }; } &&
37998          { ac_try='test -s conftest$ac_exeext'
37999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38000   (eval $ac_try) 2>&5
38001   ac_status=$?
38002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38003   (exit $ac_status); }; }; then
38004   glibcxx_cv_func___builtin_cos_link=yes
38005 else
38006   echo "$as_me: failed program was:" >&5
38007 sed 's/^/| /' conftest.$ac_ext >&5
38008
38009 glibcxx_cv_func___builtin_cos_link=no
38010 fi
38011 rm -f conftest.err conftest.$ac_objext \
38012       conftest$ac_exeext conftest.$ac_ext
38013
38014 fi
38015
38016     fi
38017     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
38018 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
38019
38020     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
38021
38022 cat >>confdefs.h <<\_ACEOF
38023 #define HAVE___BUILTIN_COS 1
38024 _ACEOF
38025
38026     fi
38027
38028   fi
38029
38030
38031   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
38032 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
38033   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
38034     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
38035   echo $ECHO_N "(cached) $ECHO_C" >&6
38036 else
38037
38038
38039
38040       ac_ext=cc
38041 ac_cpp='$CXXCPP $CPPFLAGS'
38042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38045
38046       cat >conftest.$ac_ext <<_ACEOF
38047 /* confdefs.h.  */
38048 _ACEOF
38049 cat confdefs.h >>conftest.$ac_ext
38050 cat >>conftest.$ac_ext <<_ACEOF
38051 /* end confdefs.h.  */
38052 #include <math.h>
38053 int
38054 main ()
38055 {
38056  __builtin_cosl(0);
38057   ;
38058   return 0;
38059 }
38060 _ACEOF
38061 rm -f conftest.$ac_objext
38062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38063   (eval $ac_compile) 2>conftest.er1
38064   ac_status=$?
38065   grep -v '^ *+' conftest.er1 >conftest.err
38066   rm -f conftest.er1
38067   cat conftest.err >&5
38068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38069   (exit $ac_status); } &&
38070          { ac_try='test -z "$ac_cxx_werror_flag"
38071                          || test ! -s conftest.err'
38072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38073   (eval $ac_try) 2>&5
38074   ac_status=$?
38075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076   (exit $ac_status); }; } &&
38077          { ac_try='test -s conftest.$ac_objext'
38078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38079   (eval $ac_try) 2>&5
38080   ac_status=$?
38081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38082   (exit $ac_status); }; }; then
38083   glibcxx_cv_func___builtin_cosl_use=yes
38084 else
38085   echo "$as_me: failed program was:" >&5
38086 sed 's/^/| /' conftest.$ac_ext >&5
38087
38088 glibcxx_cv_func___builtin_cosl_use=no
38089 fi
38090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38091       ac_ext=c
38092 ac_cpp='$CPP $CPPFLAGS'
38093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38096
38097
38098 fi
38099
38100   fi
38101   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
38102 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
38103   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
38104     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
38105 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
38106     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
38107       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
38108   echo $ECHO_N "(cached) $ECHO_C" >&6
38109 else
38110
38111         if test x$gcc_no_link = xyes; then
38112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38114    { (exit 1); exit 1; }; }
38115 fi
38116 cat >conftest.$ac_ext <<_ACEOF
38117 /* confdefs.h.  */
38118 _ACEOF
38119 cat confdefs.h >>conftest.$ac_ext
38120 cat >>conftest.$ac_ext <<_ACEOF
38121 /* end confdefs.h.  */
38122 #include <math.h>
38123 int
38124 main ()
38125 {
38126  __builtin_cosl(0);
38127   ;
38128   return 0;
38129 }
38130 _ACEOF
38131 rm -f conftest.$ac_objext conftest$ac_exeext
38132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38133   (eval $ac_link) 2>conftest.er1
38134   ac_status=$?
38135   grep -v '^ *+' conftest.er1 >conftest.err
38136   rm -f conftest.er1
38137   cat conftest.err >&5
38138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38139   (exit $ac_status); } &&
38140          { ac_try='test -z "$ac_c_werror_flag"
38141                          || test ! -s conftest.err'
38142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38143   (eval $ac_try) 2>&5
38144   ac_status=$?
38145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38146   (exit $ac_status); }; } &&
38147          { ac_try='test -s conftest$ac_exeext'
38148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38149   (eval $ac_try) 2>&5
38150   ac_status=$?
38151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38152   (exit $ac_status); }; }; then
38153   glibcxx_cv_func___builtin_cosl_link=yes
38154 else
38155   echo "$as_me: failed program was:" >&5
38156 sed 's/^/| /' conftest.$ac_ext >&5
38157
38158 glibcxx_cv_func___builtin_cosl_link=no
38159 fi
38160 rm -f conftest.err conftest.$ac_objext \
38161       conftest$ac_exeext conftest.$ac_ext
38162
38163 fi
38164
38165     fi
38166     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
38167 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
38168
38169     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
38170
38171 cat >>confdefs.h <<\_ACEOF
38172 #define HAVE___BUILTIN_COSL 1
38173 _ACEOF
38174
38175     fi
38176
38177   fi
38178
38179
38180
38181
38182 echo "$as_me:$LINENO: checking for main in -lm" >&5
38183 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
38184 if test "${ac_cv_lib_m_main+set}" = set; then
38185   echo $ECHO_N "(cached) $ECHO_C" >&6
38186 else
38187   ac_check_lib_save_LIBS=$LIBS
38188 LIBS="-lm  $LIBS"
38189 if test x$gcc_no_link = xyes; then
38190   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38192    { (exit 1); exit 1; }; }
38193 fi
38194 cat >conftest.$ac_ext <<_ACEOF
38195 /* confdefs.h.  */
38196 _ACEOF
38197 cat confdefs.h >>conftest.$ac_ext
38198 cat >>conftest.$ac_ext <<_ACEOF
38199 /* end confdefs.h.  */
38200
38201
38202 int
38203 main ()
38204 {
38205 main ();
38206   ;
38207   return 0;
38208 }
38209 _ACEOF
38210 rm -f conftest.$ac_objext conftest$ac_exeext
38211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38212   (eval $ac_link) 2>conftest.er1
38213   ac_status=$?
38214   grep -v '^ *+' conftest.er1 >conftest.err
38215   rm -f conftest.er1
38216   cat conftest.err >&5
38217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38218   (exit $ac_status); } &&
38219          { ac_try='test -z "$ac_c_werror_flag"
38220                          || test ! -s conftest.err'
38221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38222   (eval $ac_try) 2>&5
38223   ac_status=$?
38224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38225   (exit $ac_status); }; } &&
38226          { ac_try='test -s conftest$ac_exeext'
38227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38228   (eval $ac_try) 2>&5
38229   ac_status=$?
38230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38231   (exit $ac_status); }; }; then
38232   ac_cv_lib_m_main=yes
38233 else
38234   echo "$as_me: failed program was:" >&5
38235 sed 's/^/| /' conftest.$ac_ext >&5
38236
38237 ac_cv_lib_m_main=no
38238 fi
38239 rm -f conftest.err conftest.$ac_objext \
38240       conftest$ac_exeext conftest.$ac_ext
38241 LIBS=$ac_check_lib_save_LIBS
38242 fi
38243 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
38244 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
38245 if test $ac_cv_lib_m_main = yes; then
38246   cat >>confdefs.h <<_ACEOF
38247 #define HAVE_LIBM 1
38248 _ACEOF
38249
38250   LIBS="-lm $LIBS"
38251
38252 fi
38253
38254
38255 for ac_func in copysignf
38256 do
38257 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38258 echo "$as_me:$LINENO: checking for $ac_func" >&5
38259 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38260 if eval "test \"\${$as_ac_var+set}\" = set"; then
38261   echo $ECHO_N "(cached) $ECHO_C" >&6
38262 else
38263   if test x$gcc_no_link = xyes; then
38264   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38266    { (exit 1); exit 1; }; }
38267 fi
38268 cat >conftest.$ac_ext <<_ACEOF
38269 /* confdefs.h.  */
38270 _ACEOF
38271 cat confdefs.h >>conftest.$ac_ext
38272 cat >>conftest.$ac_ext <<_ACEOF
38273 /* end confdefs.h.  */
38274 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38275    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38276 #define $ac_func innocuous_$ac_func
38277
38278 /* System header to define __stub macros and hopefully few prototypes,
38279     which can conflict with char $ac_func (); below.
38280     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38281     <limits.h> exists even on freestanding compilers.  */
38282
38283 #ifdef __STDC__
38284 # include <limits.h>
38285 #else
38286 # include <assert.h>
38287 #endif
38288
38289 #undef $ac_func
38290
38291 /* Override any gcc2 internal prototype to avoid an error.  */
38292 #ifdef __cplusplus
38293 extern "C"
38294 {
38295 #endif
38296 /* We use char because int might match the return type of a gcc2
38297    builtin and then its argument prototype would still apply.  */
38298 char $ac_func ();
38299 /* The GNU C library defines this for functions which it implements
38300     to always fail with ENOSYS.  Some functions are actually named
38301     something starting with __ and the normal name is an alias.  */
38302 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38303 choke me
38304 #else
38305 char (*f) () = $ac_func;
38306 #endif
38307 #ifdef __cplusplus
38308 }
38309 #endif
38310
38311 int
38312 main ()
38313 {
38314 return f != $ac_func;
38315   ;
38316   return 0;
38317 }
38318 _ACEOF
38319 rm -f conftest.$ac_objext conftest$ac_exeext
38320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38321   (eval $ac_link) 2>conftest.er1
38322   ac_status=$?
38323   grep -v '^ *+' conftest.er1 >conftest.err
38324   rm -f conftest.er1
38325   cat conftest.err >&5
38326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38327   (exit $ac_status); } &&
38328          { ac_try='test -z "$ac_c_werror_flag"
38329                          || test ! -s conftest.err'
38330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38331   (eval $ac_try) 2>&5
38332   ac_status=$?
38333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334   (exit $ac_status); }; } &&
38335          { ac_try='test -s conftest$ac_exeext'
38336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38337   (eval $ac_try) 2>&5
38338   ac_status=$?
38339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38340   (exit $ac_status); }; }; then
38341   eval "$as_ac_var=yes"
38342 else
38343   echo "$as_me: failed program was:" >&5
38344 sed 's/^/| /' conftest.$ac_ext >&5
38345
38346 eval "$as_ac_var=no"
38347 fi
38348 rm -f conftest.err conftest.$ac_objext \
38349       conftest$ac_exeext conftest.$ac_ext
38350 fi
38351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38352 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38353 if test `eval echo '${'$as_ac_var'}'` = yes; then
38354   cat >>confdefs.h <<_ACEOF
38355 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38356 _ACEOF
38357
38358 else
38359   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
38360 fi
38361 done
38362
38363
38364
38365 for ac_func in __signbit
38366 do
38367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38368 echo "$as_me:$LINENO: checking for $ac_func" >&5
38369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38370 if eval "test \"\${$as_ac_var+set}\" = set"; then
38371   echo $ECHO_N "(cached) $ECHO_C" >&6
38372 else
38373   if test x$gcc_no_link = xyes; then
38374   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38376    { (exit 1); exit 1; }; }
38377 fi
38378 cat >conftest.$ac_ext <<_ACEOF
38379 /* confdefs.h.  */
38380 _ACEOF
38381 cat confdefs.h >>conftest.$ac_ext
38382 cat >>conftest.$ac_ext <<_ACEOF
38383 /* end confdefs.h.  */
38384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38385    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38386 #define $ac_func innocuous_$ac_func
38387
38388 /* System header to define __stub macros and hopefully few prototypes,
38389     which can conflict with char $ac_func (); below.
38390     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38391     <limits.h> exists even on freestanding compilers.  */
38392
38393 #ifdef __STDC__
38394 # include <limits.h>
38395 #else
38396 # include <assert.h>
38397 #endif
38398
38399 #undef $ac_func
38400
38401 /* Override any gcc2 internal prototype to avoid an error.  */
38402 #ifdef __cplusplus
38403 extern "C"
38404 {
38405 #endif
38406 /* We use char because int might match the return type of a gcc2
38407    builtin and then its argument prototype would still apply.  */
38408 char $ac_func ();
38409 /* The GNU C library defines this for functions which it implements
38410     to always fail with ENOSYS.  Some functions are actually named
38411     something starting with __ and the normal name is an alias.  */
38412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38413 choke me
38414 #else
38415 char (*f) () = $ac_func;
38416 #endif
38417 #ifdef __cplusplus
38418 }
38419 #endif
38420
38421 int
38422 main ()
38423 {
38424 return f != $ac_func;
38425   ;
38426   return 0;
38427 }
38428 _ACEOF
38429 rm -f conftest.$ac_objext conftest$ac_exeext
38430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38431   (eval $ac_link) 2>conftest.er1
38432   ac_status=$?
38433   grep -v '^ *+' conftest.er1 >conftest.err
38434   rm -f conftest.er1
38435   cat conftest.err >&5
38436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38437   (exit $ac_status); } &&
38438          { ac_try='test -z "$ac_c_werror_flag"
38439                          || test ! -s conftest.err'
38440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38441   (eval $ac_try) 2>&5
38442   ac_status=$?
38443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38444   (exit $ac_status); }; } &&
38445          { ac_try='test -s conftest$ac_exeext'
38446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38447   (eval $ac_try) 2>&5
38448   ac_status=$?
38449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38450   (exit $ac_status); }; }; then
38451   eval "$as_ac_var=yes"
38452 else
38453   echo "$as_me: failed program was:" >&5
38454 sed 's/^/| /' conftest.$ac_ext >&5
38455
38456 eval "$as_ac_var=no"
38457 fi
38458 rm -f conftest.err conftest.$ac_objext \
38459       conftest$ac_exeext conftest.$ac_ext
38460 fi
38461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38463 if test `eval echo '${'$as_ac_var'}'` = yes; then
38464   cat >>confdefs.h <<_ACEOF
38465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38466 _ACEOF
38467
38468 else
38469   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38470 fi
38471 done
38472
38473
38474
38475 for ac_func in __signbitf
38476 do
38477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38478 echo "$as_me:$LINENO: checking for $ac_func" >&5
38479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38480 if eval "test \"\${$as_ac_var+set}\" = set"; then
38481   echo $ECHO_N "(cached) $ECHO_C" >&6
38482 else
38483   if test x$gcc_no_link = xyes; then
38484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38486    { (exit 1); exit 1; }; }
38487 fi
38488 cat >conftest.$ac_ext <<_ACEOF
38489 /* confdefs.h.  */
38490 _ACEOF
38491 cat confdefs.h >>conftest.$ac_ext
38492 cat >>conftest.$ac_ext <<_ACEOF
38493 /* end confdefs.h.  */
38494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38495    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38496 #define $ac_func innocuous_$ac_func
38497
38498 /* System header to define __stub macros and hopefully few prototypes,
38499     which can conflict with char $ac_func (); below.
38500     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38501     <limits.h> exists even on freestanding compilers.  */
38502
38503 #ifdef __STDC__
38504 # include <limits.h>
38505 #else
38506 # include <assert.h>
38507 #endif
38508
38509 #undef $ac_func
38510
38511 /* Override any gcc2 internal prototype to avoid an error.  */
38512 #ifdef __cplusplus
38513 extern "C"
38514 {
38515 #endif
38516 /* We use char because int might match the return type of a gcc2
38517    builtin and then its argument prototype would still apply.  */
38518 char $ac_func ();
38519 /* The GNU C library defines this for functions which it implements
38520     to always fail with ENOSYS.  Some functions are actually named
38521     something starting with __ and the normal name is an alias.  */
38522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38523 choke me
38524 #else
38525 char (*f) () = $ac_func;
38526 #endif
38527 #ifdef __cplusplus
38528 }
38529 #endif
38530
38531 int
38532 main ()
38533 {
38534 return f != $ac_func;
38535   ;
38536   return 0;
38537 }
38538 _ACEOF
38539 rm -f conftest.$ac_objext conftest$ac_exeext
38540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38541   (eval $ac_link) 2>conftest.er1
38542   ac_status=$?
38543   grep -v '^ *+' conftest.er1 >conftest.err
38544   rm -f conftest.er1
38545   cat conftest.err >&5
38546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38547   (exit $ac_status); } &&
38548          { ac_try='test -z "$ac_c_werror_flag"
38549                          || test ! -s conftest.err'
38550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38551   (eval $ac_try) 2>&5
38552   ac_status=$?
38553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554   (exit $ac_status); }; } &&
38555          { ac_try='test -s conftest$ac_exeext'
38556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38557   (eval $ac_try) 2>&5
38558   ac_status=$?
38559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38560   (exit $ac_status); }; }; then
38561   eval "$as_ac_var=yes"
38562 else
38563   echo "$as_me: failed program was:" >&5
38564 sed 's/^/| /' conftest.$ac_ext >&5
38565
38566 eval "$as_ac_var=no"
38567 fi
38568 rm -f conftest.err conftest.$ac_objext \
38569       conftest$ac_exeext conftest.$ac_ext
38570 fi
38571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38573 if test `eval echo '${'$as_ac_var'}'` = yes; then
38574   cat >>confdefs.h <<_ACEOF
38575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38576 _ACEOF
38577
38578 else
38579   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38580 fi
38581 done
38582
38583
38584           if test x$ac_cv_func_copysignl = x"yes"; then
38585
38586 for ac_func in __signbitl
38587 do
38588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38589 echo "$as_me:$LINENO: checking for $ac_func" >&5
38590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38591 if eval "test \"\${$as_ac_var+set}\" = set"; then
38592   echo $ECHO_N "(cached) $ECHO_C" >&6
38593 else
38594   if test x$gcc_no_link = xyes; then
38595   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38597    { (exit 1); exit 1; }; }
38598 fi
38599 cat >conftest.$ac_ext <<_ACEOF
38600 /* confdefs.h.  */
38601 _ACEOF
38602 cat confdefs.h >>conftest.$ac_ext
38603 cat >>conftest.$ac_ext <<_ACEOF
38604 /* end confdefs.h.  */
38605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38606    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38607 #define $ac_func innocuous_$ac_func
38608
38609 /* System header to define __stub macros and hopefully few prototypes,
38610     which can conflict with char $ac_func (); below.
38611     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38612     <limits.h> exists even on freestanding compilers.  */
38613
38614 #ifdef __STDC__
38615 # include <limits.h>
38616 #else
38617 # include <assert.h>
38618 #endif
38619
38620 #undef $ac_func
38621
38622 /* Override any gcc2 internal prototype to avoid an error.  */
38623 #ifdef __cplusplus
38624 extern "C"
38625 {
38626 #endif
38627 /* We use char because int might match the return type of a gcc2
38628    builtin and then its argument prototype would still apply.  */
38629 char $ac_func ();
38630 /* The GNU C library defines this for functions which it implements
38631     to always fail with ENOSYS.  Some functions are actually named
38632     something starting with __ and the normal name is an alias.  */
38633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38634 choke me
38635 #else
38636 char (*f) () = $ac_func;
38637 #endif
38638 #ifdef __cplusplus
38639 }
38640 #endif
38641
38642 int
38643 main ()
38644 {
38645 return f != $ac_func;
38646   ;
38647   return 0;
38648 }
38649 _ACEOF
38650 rm -f conftest.$ac_objext conftest$ac_exeext
38651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38652   (eval $ac_link) 2>conftest.er1
38653   ac_status=$?
38654   grep -v '^ *+' conftest.er1 >conftest.err
38655   rm -f conftest.er1
38656   cat conftest.err >&5
38657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38658   (exit $ac_status); } &&
38659          { ac_try='test -z "$ac_c_werror_flag"
38660                          || test ! -s conftest.err'
38661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38662   (eval $ac_try) 2>&5
38663   ac_status=$?
38664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38665   (exit $ac_status); }; } &&
38666          { ac_try='test -s conftest$ac_exeext'
38667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38668   (eval $ac_try) 2>&5
38669   ac_status=$?
38670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38671   (exit $ac_status); }; }; then
38672   eval "$as_ac_var=yes"
38673 else
38674   echo "$as_me: failed program was:" >&5
38675 sed 's/^/| /' conftest.$ac_ext >&5
38676
38677 eval "$as_ac_var=no"
38678 fi
38679 rm -f conftest.err conftest.$ac_objext \
38680       conftest$ac_exeext conftest.$ac_ext
38681 fi
38682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38684 if test `eval echo '${'$as_ac_var'}'` = yes; then
38685   cat >>confdefs.h <<_ACEOF
38686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38687 _ACEOF
38688
38689 else
38690   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38691 fi
38692 done
38693
38694   fi
38695
38696   # Used in libmath/Makefile.am.
38697   if test -n "$LIBMATHOBJS"; then
38698     need_libmath=yes
38699   fi
38700
38701
38702
38703   ac_test_CXXFLAGS="${CXXFLAGS+set}"
38704   ac_save_CXXFLAGS="$CXXFLAGS"
38705   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38706
38707
38708   echo "$as_me:$LINENO: checking for strtold declaration" >&5
38709 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38710   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38711     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38712   echo $ECHO_N "(cached) $ECHO_C" >&6
38713 else
38714
38715
38716
38717       ac_ext=cc
38718 ac_cpp='$CXXCPP $CPPFLAGS'
38719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38722
38723       cat >conftest.$ac_ext <<_ACEOF
38724 /* confdefs.h.  */
38725 _ACEOF
38726 cat confdefs.h >>conftest.$ac_ext
38727 cat >>conftest.$ac_ext <<_ACEOF
38728 /* end confdefs.h.  */
38729 #include <stdlib.h>
38730 int
38731 main ()
38732 {
38733  strtold(0, 0);
38734   ;
38735   return 0;
38736 }
38737 _ACEOF
38738 rm -f conftest.$ac_objext
38739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38740   (eval $ac_compile) 2>conftest.er1
38741   ac_status=$?
38742   grep -v '^ *+' conftest.er1 >conftest.err
38743   rm -f conftest.er1
38744   cat conftest.err >&5
38745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38746   (exit $ac_status); } &&
38747          { ac_try='test -z "$ac_cxx_werror_flag"
38748                          || test ! -s conftest.err'
38749   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38750   (eval $ac_try) 2>&5
38751   ac_status=$?
38752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38753   (exit $ac_status); }; } &&
38754          { ac_try='test -s conftest.$ac_objext'
38755   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38756   (eval $ac_try) 2>&5
38757   ac_status=$?
38758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38759   (exit $ac_status); }; }; then
38760   glibcxx_cv_func_strtold_use=yes
38761 else
38762   echo "$as_me: failed program was:" >&5
38763 sed 's/^/| /' conftest.$ac_ext >&5
38764
38765 glibcxx_cv_func_strtold_use=no
38766 fi
38767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38768       ac_ext=c
38769 ac_cpp='$CPP $CPPFLAGS'
38770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38773
38774
38775 fi
38776
38777   fi
38778   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38779 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38780   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38781
38782 for ac_func in strtold
38783 do
38784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38785 echo "$as_me:$LINENO: checking for $ac_func" >&5
38786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38787 if eval "test \"\${$as_ac_var+set}\" = set"; then
38788   echo $ECHO_N "(cached) $ECHO_C" >&6
38789 else
38790   if test x$gcc_no_link = xyes; then
38791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38793    { (exit 1); exit 1; }; }
38794 fi
38795 cat >conftest.$ac_ext <<_ACEOF
38796 /* confdefs.h.  */
38797 _ACEOF
38798 cat confdefs.h >>conftest.$ac_ext
38799 cat >>conftest.$ac_ext <<_ACEOF
38800 /* end confdefs.h.  */
38801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38803 #define $ac_func innocuous_$ac_func
38804
38805 /* System header to define __stub macros and hopefully few prototypes,
38806     which can conflict with char $ac_func (); below.
38807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38808     <limits.h> exists even on freestanding compilers.  */
38809
38810 #ifdef __STDC__
38811 # include <limits.h>
38812 #else
38813 # include <assert.h>
38814 #endif
38815
38816 #undef $ac_func
38817
38818 /* Override any gcc2 internal prototype to avoid an error.  */
38819 #ifdef __cplusplus
38820 extern "C"
38821 {
38822 #endif
38823 /* We use char because int might match the return type of a gcc2
38824    builtin and then its argument prototype would still apply.  */
38825 char $ac_func ();
38826 /* The GNU C library defines this for functions which it implements
38827     to always fail with ENOSYS.  Some functions are actually named
38828     something starting with __ and the normal name is an alias.  */
38829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38830 choke me
38831 #else
38832 char (*f) () = $ac_func;
38833 #endif
38834 #ifdef __cplusplus
38835 }
38836 #endif
38837
38838 int
38839 main ()
38840 {
38841 return f != $ac_func;
38842   ;
38843   return 0;
38844 }
38845 _ACEOF
38846 rm -f conftest.$ac_objext conftest$ac_exeext
38847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38848   (eval $ac_link) 2>conftest.er1
38849   ac_status=$?
38850   grep -v '^ *+' conftest.er1 >conftest.err
38851   rm -f conftest.er1
38852   cat conftest.err >&5
38853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38854   (exit $ac_status); } &&
38855          { ac_try='test -z "$ac_c_werror_flag"
38856                          || test ! -s conftest.err'
38857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38858   (eval $ac_try) 2>&5
38859   ac_status=$?
38860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38861   (exit $ac_status); }; } &&
38862          { ac_try='test -s conftest$ac_exeext'
38863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38864   (eval $ac_try) 2>&5
38865   ac_status=$?
38866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38867   (exit $ac_status); }; }; then
38868   eval "$as_ac_var=yes"
38869 else
38870   echo "$as_me: failed program was:" >&5
38871 sed 's/^/| /' conftest.$ac_ext >&5
38872
38873 eval "$as_ac_var=no"
38874 fi
38875 rm -f conftest.err conftest.$ac_objext \
38876       conftest$ac_exeext conftest.$ac_ext
38877 fi
38878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38880 if test `eval echo '${'$as_ac_var'}'` = yes; then
38881   cat >>confdefs.h <<_ACEOF
38882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38883 _ACEOF
38884
38885 fi
38886 done
38887
38888   fi
38889
38890
38891
38892
38893
38894   echo "$as_me:$LINENO: checking for strtof declaration" >&5
38895 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38896   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38897     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38898   echo $ECHO_N "(cached) $ECHO_C" >&6
38899 else
38900
38901
38902
38903       ac_ext=cc
38904 ac_cpp='$CXXCPP $CPPFLAGS'
38905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38908
38909       cat >conftest.$ac_ext <<_ACEOF
38910 /* confdefs.h.  */
38911 _ACEOF
38912 cat confdefs.h >>conftest.$ac_ext
38913 cat >>conftest.$ac_ext <<_ACEOF
38914 /* end confdefs.h.  */
38915 #include <stdlib.h>
38916 int
38917 main ()
38918 {
38919  strtof(0, 0);
38920   ;
38921   return 0;
38922 }
38923 _ACEOF
38924 rm -f conftest.$ac_objext
38925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38926   (eval $ac_compile) 2>conftest.er1
38927   ac_status=$?
38928   grep -v '^ *+' conftest.er1 >conftest.err
38929   rm -f conftest.er1
38930   cat conftest.err >&5
38931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38932   (exit $ac_status); } &&
38933          { ac_try='test -z "$ac_cxx_werror_flag"
38934                          || test ! -s conftest.err'
38935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38936   (eval $ac_try) 2>&5
38937   ac_status=$?
38938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38939   (exit $ac_status); }; } &&
38940          { ac_try='test -s conftest.$ac_objext'
38941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38942   (eval $ac_try) 2>&5
38943   ac_status=$?
38944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38945   (exit $ac_status); }; }; then
38946   glibcxx_cv_func_strtof_use=yes
38947 else
38948   echo "$as_me: failed program was:" >&5
38949 sed 's/^/| /' conftest.$ac_ext >&5
38950
38951 glibcxx_cv_func_strtof_use=no
38952 fi
38953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38954       ac_ext=c
38955 ac_cpp='$CPP $CPPFLAGS'
38956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38959
38960
38961 fi
38962
38963   fi
38964   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38965 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38966   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38967
38968 for ac_func in strtof
38969 do
38970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38971 echo "$as_me:$LINENO: checking for $ac_func" >&5
38972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38973 if eval "test \"\${$as_ac_var+set}\" = set"; then
38974   echo $ECHO_N "(cached) $ECHO_C" >&6
38975 else
38976   if test x$gcc_no_link = xyes; then
38977   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38979    { (exit 1); exit 1; }; }
38980 fi
38981 cat >conftest.$ac_ext <<_ACEOF
38982 /* confdefs.h.  */
38983 _ACEOF
38984 cat confdefs.h >>conftest.$ac_ext
38985 cat >>conftest.$ac_ext <<_ACEOF
38986 /* end confdefs.h.  */
38987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38988    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38989 #define $ac_func innocuous_$ac_func
38990
38991 /* System header to define __stub macros and hopefully few prototypes,
38992     which can conflict with char $ac_func (); below.
38993     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38994     <limits.h> exists even on freestanding compilers.  */
38995
38996 #ifdef __STDC__
38997 # include <limits.h>
38998 #else
38999 # include <assert.h>
39000 #endif
39001
39002 #undef $ac_func
39003
39004 /* Override any gcc2 internal prototype to avoid an error.  */
39005 #ifdef __cplusplus
39006 extern "C"
39007 {
39008 #endif
39009 /* We use char because int might match the return type of a gcc2
39010    builtin and then its argument prototype would still apply.  */
39011 char $ac_func ();
39012 /* The GNU C library defines this for functions which it implements
39013     to always fail with ENOSYS.  Some functions are actually named
39014     something starting with __ and the normal name is an alias.  */
39015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39016 choke me
39017 #else
39018 char (*f) () = $ac_func;
39019 #endif
39020 #ifdef __cplusplus
39021 }
39022 #endif
39023
39024 int
39025 main ()
39026 {
39027 return f != $ac_func;
39028   ;
39029   return 0;
39030 }
39031 _ACEOF
39032 rm -f conftest.$ac_objext conftest$ac_exeext
39033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39034   (eval $ac_link) 2>conftest.er1
39035   ac_status=$?
39036   grep -v '^ *+' conftest.er1 >conftest.err
39037   rm -f conftest.er1
39038   cat conftest.err >&5
39039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39040   (exit $ac_status); } &&
39041          { ac_try='test -z "$ac_c_werror_flag"
39042                          || test ! -s conftest.err'
39043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39044   (eval $ac_try) 2>&5
39045   ac_status=$?
39046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39047   (exit $ac_status); }; } &&
39048          { ac_try='test -s conftest$ac_exeext'
39049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39050   (eval $ac_try) 2>&5
39051   ac_status=$?
39052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053   (exit $ac_status); }; }; then
39054   eval "$as_ac_var=yes"
39055 else
39056   echo "$as_me: failed program was:" >&5
39057 sed 's/^/| /' conftest.$ac_ext >&5
39058
39059 eval "$as_ac_var=no"
39060 fi
39061 rm -f conftest.err conftest.$ac_objext \
39062       conftest$ac_exeext conftest.$ac_ext
39063 fi
39064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39066 if test `eval echo '${'$as_ac_var'}'` = yes; then
39067   cat >>confdefs.h <<_ACEOF
39068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39069 _ACEOF
39070
39071 fi
39072 done
39073
39074   fi
39075
39076
39077
39078
39079
39080   CXXFLAGS="$ac_save_CXXFLAGS"
39081
39082
39083   # For showmanyc_helper().
39084
39085
39086 for ac_header in sys/ioctl.h sys/filio.h
39087 do
39088 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39090   echo "$as_me:$LINENO: checking for $ac_header" >&5
39091 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39093   echo $ECHO_N "(cached) $ECHO_C" >&6
39094 fi
39095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39096 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39097 else
39098   # Is the header compilable?
39099 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39100 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39101 cat >conftest.$ac_ext <<_ACEOF
39102 /* confdefs.h.  */
39103 _ACEOF
39104 cat confdefs.h >>conftest.$ac_ext
39105 cat >>conftest.$ac_ext <<_ACEOF
39106 /* end confdefs.h.  */
39107 $ac_includes_default
39108 #include <$ac_header>
39109 _ACEOF
39110 rm -f conftest.$ac_objext
39111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39112   (eval $ac_compile) 2>conftest.er1
39113   ac_status=$?
39114   grep -v '^ *+' conftest.er1 >conftest.err
39115   rm -f conftest.er1
39116   cat conftest.err >&5
39117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39118   (exit $ac_status); } &&
39119          { ac_try='test -z "$ac_c_werror_flag"
39120                          || test ! -s conftest.err'
39121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39122   (eval $ac_try) 2>&5
39123   ac_status=$?
39124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39125   (exit $ac_status); }; } &&
39126          { ac_try='test -s conftest.$ac_objext'
39127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39128   (eval $ac_try) 2>&5
39129   ac_status=$?
39130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39131   (exit $ac_status); }; }; then
39132   ac_header_compiler=yes
39133 else
39134   echo "$as_me: failed program was:" >&5
39135 sed 's/^/| /' conftest.$ac_ext >&5
39136
39137 ac_header_compiler=no
39138 fi
39139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39140 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39141 echo "${ECHO_T}$ac_header_compiler" >&6
39142
39143 # Is the header present?
39144 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39145 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39146 cat >conftest.$ac_ext <<_ACEOF
39147 /* confdefs.h.  */
39148 _ACEOF
39149 cat confdefs.h >>conftest.$ac_ext
39150 cat >>conftest.$ac_ext <<_ACEOF
39151 /* end confdefs.h.  */
39152 #include <$ac_header>
39153 _ACEOF
39154 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39155   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39156   ac_status=$?
39157   grep -v '^ *+' conftest.er1 >conftest.err
39158   rm -f conftest.er1
39159   cat conftest.err >&5
39160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39161   (exit $ac_status); } >/dev/null; then
39162   if test -s conftest.err; then
39163     ac_cpp_err=$ac_c_preproc_warn_flag
39164     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39165   else
39166     ac_cpp_err=
39167   fi
39168 else
39169   ac_cpp_err=yes
39170 fi
39171 if test -z "$ac_cpp_err"; then
39172   ac_header_preproc=yes
39173 else
39174   echo "$as_me: failed program was:" >&5
39175 sed 's/^/| /' conftest.$ac_ext >&5
39176
39177   ac_header_preproc=no
39178 fi
39179 rm -f conftest.err conftest.$ac_ext
39180 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39181 echo "${ECHO_T}$ac_header_preproc" >&6
39182
39183 # So?  What about this header?
39184 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39185   yes:no: )
39186     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39187 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39188     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39189 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39190     ac_header_preproc=yes
39191     ;;
39192   no:yes:* )
39193     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39194 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39195     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39196 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39197     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39198 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39199     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39200 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39201     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39202 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39203     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39204 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39205     (
39206       cat <<\_ASBOX
39207 ## ----------------------------------------- ##
39208 ## Report this to the package-unused lists.  ##
39209 ## ----------------------------------------- ##
39210 _ASBOX
39211     ) |
39212       sed "s/^/$as_me: WARNING:     /" >&2
39213     ;;
39214 esac
39215 echo "$as_me:$LINENO: checking for $ac_header" >&5
39216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39218   echo $ECHO_N "(cached) $ECHO_C" >&6
39219 else
39220   eval "$as_ac_Header=\$ac_header_preproc"
39221 fi
39222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39223 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39224
39225 fi
39226 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39227   cat >>confdefs.h <<_ACEOF
39228 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39229 _ACEOF
39230
39231 fi
39232
39233 done
39234
39235
39236   echo "$as_me:$LINENO: checking for poll" >&5
39237 echo $ECHO_N "checking for poll... $ECHO_C" >&6
39238   if test "${glibcxx_cv_POLL+set}" = set; then
39239   echo $ECHO_N "(cached) $ECHO_C" >&6
39240 else
39241
39242     if test x$gcc_no_link = xyes; then
39243   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39245    { (exit 1); exit 1; }; }
39246 fi
39247 cat >conftest.$ac_ext <<_ACEOF
39248 /* confdefs.h.  */
39249 _ACEOF
39250 cat confdefs.h >>conftest.$ac_ext
39251 cat >>conftest.$ac_ext <<_ACEOF
39252 /* end confdefs.h.  */
39253 #include <poll.h>
39254 int
39255 main ()
39256 {
39257 struct pollfd pfd[1];
39258        pfd[0].events = POLLIN;
39259        poll(pfd, 1, 0);
39260   ;
39261   return 0;
39262 }
39263 _ACEOF
39264 rm -f conftest.$ac_objext conftest$ac_exeext
39265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39266   (eval $ac_link) 2>conftest.er1
39267   ac_status=$?
39268   grep -v '^ *+' conftest.er1 >conftest.err
39269   rm -f conftest.er1
39270   cat conftest.err >&5
39271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39272   (exit $ac_status); } &&
39273          { ac_try='test -z "$ac_c_werror_flag"
39274                          || test ! -s conftest.err'
39275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39276   (eval $ac_try) 2>&5
39277   ac_status=$?
39278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39279   (exit $ac_status); }; } &&
39280          { ac_try='test -s conftest$ac_exeext'
39281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39282   (eval $ac_try) 2>&5
39283   ac_status=$?
39284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39285   (exit $ac_status); }; }; then
39286   glibcxx_cv_POLL=yes
39287 else
39288   echo "$as_me: failed program was:" >&5
39289 sed 's/^/| /' conftest.$ac_ext >&5
39290
39291 glibcxx_cv_POLL=no
39292 fi
39293 rm -f conftest.err conftest.$ac_objext \
39294       conftest$ac_exeext conftest.$ac_ext
39295
39296 fi
39297
39298   if test $glibcxx_cv_POLL = yes; then
39299
39300 cat >>confdefs.h <<\_ACEOF
39301 #define HAVE_POLL 1
39302 _ACEOF
39303
39304   fi
39305   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
39306 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
39307
39308
39309   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
39310 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
39311   if test "${glibcxx_cv_S_ISREG+set}" = set; then
39312   echo $ECHO_N "(cached) $ECHO_C" >&6
39313 else
39314
39315     if test x$gcc_no_link = xyes; then
39316   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39318    { (exit 1); exit 1; }; }
39319 fi
39320 cat >conftest.$ac_ext <<_ACEOF
39321 /* confdefs.h.  */
39322 _ACEOF
39323 cat confdefs.h >>conftest.$ac_ext
39324 cat >>conftest.$ac_ext <<_ACEOF
39325 /* end confdefs.h.  */
39326 #include <sys/stat.h>
39327 int
39328 main ()
39329 {
39330 struct stat buffer;
39331        fstat(0, &buffer);
39332        S_ISREG(buffer.st_mode);
39333   ;
39334   return 0;
39335 }
39336 _ACEOF
39337 rm -f conftest.$ac_objext conftest$ac_exeext
39338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39339   (eval $ac_link) 2>conftest.er1
39340   ac_status=$?
39341   grep -v '^ *+' conftest.er1 >conftest.err
39342   rm -f conftest.er1
39343   cat conftest.err >&5
39344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39345   (exit $ac_status); } &&
39346          { ac_try='test -z "$ac_c_werror_flag"
39347                          || test ! -s conftest.err'
39348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39349   (eval $ac_try) 2>&5
39350   ac_status=$?
39351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39352   (exit $ac_status); }; } &&
39353          { ac_try='test -s conftest$ac_exeext'
39354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39355   (eval $ac_try) 2>&5
39356   ac_status=$?
39357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39358   (exit $ac_status); }; }; then
39359   glibcxx_cv_S_ISREG=yes
39360 else
39361   echo "$as_me: failed program was:" >&5
39362 sed 's/^/| /' conftest.$ac_ext >&5
39363
39364 glibcxx_cv_S_ISREG=no
39365 fi
39366 rm -f conftest.err conftest.$ac_objext \
39367       conftest$ac_exeext conftest.$ac_ext
39368
39369 fi
39370
39371   if test "${glibcxx_cv_S_IFREG+set}" = set; then
39372   echo $ECHO_N "(cached) $ECHO_C" >&6
39373 else
39374
39375     if test x$gcc_no_link = xyes; then
39376   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39378    { (exit 1); exit 1; }; }
39379 fi
39380 cat >conftest.$ac_ext <<_ACEOF
39381 /* confdefs.h.  */
39382 _ACEOF
39383 cat confdefs.h >>conftest.$ac_ext
39384 cat >>conftest.$ac_ext <<_ACEOF
39385 /* end confdefs.h.  */
39386 #include <sys/stat.h>
39387 int
39388 main ()
39389 {
39390 struct stat buffer;
39391        fstat(0, &buffer);
39392        S_IFREG & buffer.st_mode;
39393   ;
39394   return 0;
39395 }
39396 _ACEOF
39397 rm -f conftest.$ac_objext conftest$ac_exeext
39398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39399   (eval $ac_link) 2>conftest.er1
39400   ac_status=$?
39401   grep -v '^ *+' conftest.er1 >conftest.err
39402   rm -f conftest.er1
39403   cat conftest.err >&5
39404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39405   (exit $ac_status); } &&
39406          { ac_try='test -z "$ac_c_werror_flag"
39407                          || test ! -s conftest.err'
39408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39409   (eval $ac_try) 2>&5
39410   ac_status=$?
39411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39412   (exit $ac_status); }; } &&
39413          { ac_try='test -s conftest$ac_exeext'
39414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39415   (eval $ac_try) 2>&5
39416   ac_status=$?
39417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39418   (exit $ac_status); }; }; then
39419   glibcxx_cv_S_IFREG=yes
39420 else
39421   echo "$as_me: failed program was:" >&5
39422 sed 's/^/| /' conftest.$ac_ext >&5
39423
39424 glibcxx_cv_S_IFREG=no
39425 fi
39426 rm -f conftest.err conftest.$ac_objext \
39427       conftest$ac_exeext conftest.$ac_ext
39428
39429 fi
39430
39431   res=no
39432   if test $glibcxx_cv_S_ISREG = yes; then
39433
39434 cat >>confdefs.h <<\_ACEOF
39435 #define HAVE_S_ISREG 1
39436 _ACEOF
39437
39438     res=S_ISREG
39439   elif test $glibcxx_cv_S_IFREG = yes; then
39440
39441 cat >>confdefs.h <<\_ACEOF
39442 #define HAVE_S_IFREG 1
39443 _ACEOF
39444
39445     res=S_IFREG
39446   fi
39447   echo "$as_me:$LINENO: result: $res" >&5
39448 echo "${ECHO_T}$res" >&6
39449
39450
39451   # For xsputn_2().
39452
39453 for ac_header in sys/uio.h
39454 do
39455 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39457   echo "$as_me:$LINENO: checking for $ac_header" >&5
39458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39460   echo $ECHO_N "(cached) $ECHO_C" >&6
39461 fi
39462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39464 else
39465   # Is the header compilable?
39466 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39468 cat >conftest.$ac_ext <<_ACEOF
39469 /* confdefs.h.  */
39470 _ACEOF
39471 cat confdefs.h >>conftest.$ac_ext
39472 cat >>conftest.$ac_ext <<_ACEOF
39473 /* end confdefs.h.  */
39474 $ac_includes_default
39475 #include <$ac_header>
39476 _ACEOF
39477 rm -f conftest.$ac_objext
39478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39479   (eval $ac_compile) 2>conftest.er1
39480   ac_status=$?
39481   grep -v '^ *+' conftest.er1 >conftest.err
39482   rm -f conftest.er1
39483   cat conftest.err >&5
39484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39485   (exit $ac_status); } &&
39486          { ac_try='test -z "$ac_c_werror_flag"
39487                          || test ! -s conftest.err'
39488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39489   (eval $ac_try) 2>&5
39490   ac_status=$?
39491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39492   (exit $ac_status); }; } &&
39493          { ac_try='test -s conftest.$ac_objext'
39494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39495   (eval $ac_try) 2>&5
39496   ac_status=$?
39497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39498   (exit $ac_status); }; }; then
39499   ac_header_compiler=yes
39500 else
39501   echo "$as_me: failed program was:" >&5
39502 sed 's/^/| /' conftest.$ac_ext >&5
39503
39504 ac_header_compiler=no
39505 fi
39506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39507 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39508 echo "${ECHO_T}$ac_header_compiler" >&6
39509
39510 # Is the header present?
39511 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39512 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39513 cat >conftest.$ac_ext <<_ACEOF
39514 /* confdefs.h.  */
39515 _ACEOF
39516 cat confdefs.h >>conftest.$ac_ext
39517 cat >>conftest.$ac_ext <<_ACEOF
39518 /* end confdefs.h.  */
39519 #include <$ac_header>
39520 _ACEOF
39521 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39522   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39523   ac_status=$?
39524   grep -v '^ *+' conftest.er1 >conftest.err
39525   rm -f conftest.er1
39526   cat conftest.err >&5
39527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39528   (exit $ac_status); } >/dev/null; then
39529   if test -s conftest.err; then
39530     ac_cpp_err=$ac_c_preproc_warn_flag
39531     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39532   else
39533     ac_cpp_err=
39534   fi
39535 else
39536   ac_cpp_err=yes
39537 fi
39538 if test -z "$ac_cpp_err"; then
39539   ac_header_preproc=yes
39540 else
39541   echo "$as_me: failed program was:" >&5
39542 sed 's/^/| /' conftest.$ac_ext >&5
39543
39544   ac_header_preproc=no
39545 fi
39546 rm -f conftest.err conftest.$ac_ext
39547 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39548 echo "${ECHO_T}$ac_header_preproc" >&6
39549
39550 # So?  What about this header?
39551 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39552   yes:no: )
39553     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39554 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39555     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39556 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39557     ac_header_preproc=yes
39558     ;;
39559   no:yes:* )
39560     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39561 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39562     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39563 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39564     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39565 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39566     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39567 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39568     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39569 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39570     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39571 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39572     (
39573       cat <<\_ASBOX
39574 ## ----------------------------------------- ##
39575 ## Report this to the package-unused lists.  ##
39576 ## ----------------------------------------- ##
39577 _ASBOX
39578     ) |
39579       sed "s/^/$as_me: WARNING:     /" >&2
39580     ;;
39581 esac
39582 echo "$as_me:$LINENO: checking for $ac_header" >&5
39583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39585   echo $ECHO_N "(cached) $ECHO_C" >&6
39586 else
39587   eval "$as_ac_Header=\$ac_header_preproc"
39588 fi
39589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39590 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39591
39592 fi
39593 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39594   cat >>confdefs.h <<_ACEOF
39595 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39596 _ACEOF
39597
39598 fi
39599
39600 done
39601
39602
39603   echo "$as_me:$LINENO: checking for writev" >&5
39604 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39605   if test "${glibcxx_cv_WRITEV+set}" = set; then
39606   echo $ECHO_N "(cached) $ECHO_C" >&6
39607 else
39608
39609     if test x$gcc_no_link = xyes; then
39610   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39612    { (exit 1); exit 1; }; }
39613 fi
39614 cat >conftest.$ac_ext <<_ACEOF
39615 /* confdefs.h.  */
39616 _ACEOF
39617 cat confdefs.h >>conftest.$ac_ext
39618 cat >>conftest.$ac_ext <<_ACEOF
39619 /* end confdefs.h.  */
39620 #include <sys/uio.h>
39621 int
39622 main ()
39623 {
39624 struct iovec iov[2];
39625        writev(0, iov, 0);
39626   ;
39627   return 0;
39628 }
39629 _ACEOF
39630 rm -f conftest.$ac_objext conftest$ac_exeext
39631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39632   (eval $ac_link) 2>conftest.er1
39633   ac_status=$?
39634   grep -v '^ *+' conftest.er1 >conftest.err
39635   rm -f conftest.er1
39636   cat conftest.err >&5
39637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39638   (exit $ac_status); } &&
39639          { ac_try='test -z "$ac_c_werror_flag"
39640                          || test ! -s conftest.err'
39641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39642   (eval $ac_try) 2>&5
39643   ac_status=$?
39644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39645   (exit $ac_status); }; } &&
39646          { ac_try='test -s conftest$ac_exeext'
39647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39648   (eval $ac_try) 2>&5
39649   ac_status=$?
39650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39651   (exit $ac_status); }; }; then
39652   glibcxx_cv_WRITEV=yes
39653 else
39654   echo "$as_me: failed program was:" >&5
39655 sed 's/^/| /' conftest.$ac_ext >&5
39656
39657 glibcxx_cv_WRITEV=no
39658 fi
39659 rm -f conftest.err conftest.$ac_objext \
39660       conftest$ac_exeext conftest.$ac_ext
39661
39662 fi
39663
39664   if test $glibcxx_cv_WRITEV = yes; then
39665
39666 cat >>confdefs.h <<\_ACEOF
39667 #define HAVE_WRITEV 1
39668 _ACEOF
39669
39670   fi
39671   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39672 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39673
39674
39675   # For the __streamoff_base_type typedef.
39676
39677   echo "$as_me:$LINENO: checking for int64_t" >&5
39678 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39679   if test "${glibcxx_cv_INT64_T+set}" = set; then
39680   echo $ECHO_N "(cached) $ECHO_C" >&6
39681 else
39682
39683     cat >conftest.$ac_ext <<_ACEOF
39684 /* confdefs.h.  */
39685 _ACEOF
39686 cat confdefs.h >>conftest.$ac_ext
39687 cat >>conftest.$ac_ext <<_ACEOF
39688 /* end confdefs.h.  */
39689 #include <stdint.h>
39690 int
39691 main ()
39692 {
39693 int64_t var;
39694   ;
39695   return 0;
39696 }
39697 _ACEOF
39698 rm -f conftest.$ac_objext
39699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39700   (eval $ac_compile) 2>conftest.er1
39701   ac_status=$?
39702   grep -v '^ *+' conftest.er1 >conftest.err
39703   rm -f conftest.er1
39704   cat conftest.err >&5
39705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39706   (exit $ac_status); } &&
39707          { ac_try='test -z "$ac_c_werror_flag"
39708                          || test ! -s conftest.err'
39709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39710   (eval $ac_try) 2>&5
39711   ac_status=$?
39712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39713   (exit $ac_status); }; } &&
39714          { ac_try='test -s conftest.$ac_objext'
39715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39716   (eval $ac_try) 2>&5
39717   ac_status=$?
39718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39719   (exit $ac_status); }; }; then
39720   glibcxx_cv_INT64_T=yes
39721 else
39722   echo "$as_me: failed program was:" >&5
39723 sed 's/^/| /' conftest.$ac_ext >&5
39724
39725 glibcxx_cv_INT64_T=no
39726 fi
39727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39728
39729 fi
39730
39731   if test $glibcxx_cv_INT64_T = yes; then
39732
39733 cat >>confdefs.h <<\_ACEOF
39734 #define HAVE_INT64_T 1
39735 _ACEOF
39736
39737   fi
39738   echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39739 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39740
39741
39742   # For LFS support.
39743
39744
39745
39746   ac_ext=cc
39747 ac_cpp='$CXXCPP $CPPFLAGS'
39748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39751
39752   ac_save_CXXFLAGS="$CXXFLAGS"
39753   CXXFLAGS="$CXXFLAGS -fno-exceptions"
39754   echo "$as_me:$LINENO: checking for LFS support" >&5
39755 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39756   if test "${glibcxx_cv_LFS+set}" = set; then
39757   echo $ECHO_N "(cached) $ECHO_C" >&6
39758 else
39759
39760     if test x$gcc_no_link = xyes; then
39761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39763    { (exit 1); exit 1; }; }
39764 fi
39765 cat >conftest.$ac_ext <<_ACEOF
39766 /* confdefs.h.  */
39767 _ACEOF
39768 cat confdefs.h >>conftest.$ac_ext
39769 cat >>conftest.$ac_ext <<_ACEOF
39770 /* end confdefs.h.  */
39771 #include <unistd.h>
39772        #include <stdio.h>
39773        #include <sys/stat.h>
39774
39775 int
39776 main ()
39777 {
39778 FILE* fp;
39779        fopen64("t", "w");
39780        fseeko64(fp, 0, SEEK_CUR);
39781        ftello64(fp);
39782        lseek64(1, 0, SEEK_CUR);
39783        struct stat64 buf;
39784        fstat64(1, &buf);
39785   ;
39786   return 0;
39787 }
39788 _ACEOF
39789 rm -f conftest.$ac_objext conftest$ac_exeext
39790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39791   (eval $ac_link) 2>conftest.er1
39792   ac_status=$?
39793   grep -v '^ *+' conftest.er1 >conftest.err
39794   rm -f conftest.er1
39795   cat conftest.err >&5
39796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39797   (exit $ac_status); } &&
39798          { ac_try='test -z "$ac_cxx_werror_flag"
39799                          || test ! -s conftest.err'
39800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39801   (eval $ac_try) 2>&5
39802   ac_status=$?
39803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39804   (exit $ac_status); }; } &&
39805          { ac_try='test -s conftest$ac_exeext'
39806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39807   (eval $ac_try) 2>&5
39808   ac_status=$?
39809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39810   (exit $ac_status); }; }; then
39811   glibcxx_cv_LFS=yes
39812 else
39813   echo "$as_me: failed program was:" >&5
39814 sed 's/^/| /' conftest.$ac_ext >&5
39815
39816 glibcxx_cv_LFS=no
39817 fi
39818 rm -f conftest.err conftest.$ac_objext \
39819       conftest$ac_exeext conftest.$ac_ext
39820
39821 fi
39822
39823   if test $glibcxx_cv_LFS = yes; then
39824
39825 cat >>confdefs.h <<\_ACEOF
39826 #define _GLIBCXX_USE_LFS 1
39827 _ACEOF
39828
39829   fi
39830   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39831 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39832   CXXFLAGS="$ac_save_CXXFLAGS"
39833   ac_ext=c
39834 ac_cpp='$CPP $CPPFLAGS'
39835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39838
39839
39840
39841   # For C99 support to TR1.
39842
39843
39844
39845
39846   ac_ext=cc
39847 ac_cpp='$CXXCPP $CPPFLAGS'
39848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39851
39852
39853   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
39854   # undefined and fake C99 facilities may be spuriously enabled.
39855   ac_save_CXXFLAGS="$CXXFLAGS"
39856   CXXFLAGS="$CXXFLAGS -std=c++98"
39857
39858   # Check for the existence of <complex.h> complex math functions used
39859   # by tr1/complex.
39860
39861 for ac_header in complex.h
39862 do
39863 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39864 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39865   echo "$as_me:$LINENO: checking for $ac_header" >&5
39866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39867 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39868   echo $ECHO_N "(cached) $ECHO_C" >&6
39869 fi
39870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39871 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39872 else
39873   # Is the header compilable?
39874 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39875 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39876 cat >conftest.$ac_ext <<_ACEOF
39877 /* confdefs.h.  */
39878 _ACEOF
39879 cat confdefs.h >>conftest.$ac_ext
39880 cat >>conftest.$ac_ext <<_ACEOF
39881 /* end confdefs.h.  */
39882 $ac_includes_default
39883 #include <$ac_header>
39884 _ACEOF
39885 rm -f conftest.$ac_objext
39886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39887   (eval $ac_compile) 2>conftest.er1
39888   ac_status=$?
39889   grep -v '^ *+' conftest.er1 >conftest.err
39890   rm -f conftest.er1
39891   cat conftest.err >&5
39892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39893   (exit $ac_status); } &&
39894          { ac_try='test -z "$ac_cxx_werror_flag"
39895                          || test ! -s conftest.err'
39896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39897   (eval $ac_try) 2>&5
39898   ac_status=$?
39899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39900   (exit $ac_status); }; } &&
39901          { ac_try='test -s conftest.$ac_objext'
39902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39903   (eval $ac_try) 2>&5
39904   ac_status=$?
39905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39906   (exit $ac_status); }; }; then
39907   ac_header_compiler=yes
39908 else
39909   echo "$as_me: failed program was:" >&5
39910 sed 's/^/| /' conftest.$ac_ext >&5
39911
39912 ac_header_compiler=no
39913 fi
39914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39915 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39916 echo "${ECHO_T}$ac_header_compiler" >&6
39917
39918 # Is the header present?
39919 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39920 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39921 cat >conftest.$ac_ext <<_ACEOF
39922 /* confdefs.h.  */
39923 _ACEOF
39924 cat confdefs.h >>conftest.$ac_ext
39925 cat >>conftest.$ac_ext <<_ACEOF
39926 /* end confdefs.h.  */
39927 #include <$ac_header>
39928 _ACEOF
39929 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39930   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39931   ac_status=$?
39932   grep -v '^ *+' conftest.er1 >conftest.err
39933   rm -f conftest.er1
39934   cat conftest.err >&5
39935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39936   (exit $ac_status); } >/dev/null; then
39937   if test -s conftest.err; then
39938     ac_cpp_err=$ac_cxx_preproc_warn_flag
39939     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39940   else
39941     ac_cpp_err=
39942   fi
39943 else
39944   ac_cpp_err=yes
39945 fi
39946 if test -z "$ac_cpp_err"; then
39947   ac_header_preproc=yes
39948 else
39949   echo "$as_me: failed program was:" >&5
39950 sed 's/^/| /' conftest.$ac_ext >&5
39951
39952   ac_header_preproc=no
39953 fi
39954 rm -f conftest.err conftest.$ac_ext
39955 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39956 echo "${ECHO_T}$ac_header_preproc" >&6
39957
39958 # So?  What about this header?
39959 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39960   yes:no: )
39961     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39962 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39963     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39964 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39965     ac_header_preproc=yes
39966     ;;
39967   no:yes:* )
39968     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39969 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39970     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
39971 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
39972     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39973 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39974     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
39975 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
39976     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39977 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39978     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39979 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39980     (
39981       cat <<\_ASBOX
39982 ## ----------------------------------------- ##
39983 ## Report this to the package-unused lists.  ##
39984 ## ----------------------------------------- ##
39985 _ASBOX
39986     ) |
39987       sed "s/^/$as_me: WARNING:     /" >&2
39988     ;;
39989 esac
39990 echo "$as_me:$LINENO: checking for $ac_header" >&5
39991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39993   echo $ECHO_N "(cached) $ECHO_C" >&6
39994 else
39995   eval "$as_ac_Header=\$ac_header_preproc"
39996 fi
39997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39998 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39999
40000 fi
40001 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40002   cat >>confdefs.h <<_ACEOF
40003 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40004 _ACEOF
40005  ac_has_complex_h=yes
40006 else
40007   ac_has_complex_h=no
40008 fi
40009
40010 done
40011
40012   ac_c99_complex_tr1=no;
40013   if test x"$ac_has_complex_h" = x"yes"; then
40014     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
40015 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
40016     cat >conftest.$ac_ext <<_ACEOF
40017 /* confdefs.h.  */
40018 _ACEOF
40019 cat confdefs.h >>conftest.$ac_ext
40020 cat >>conftest.$ac_ext <<_ACEOF
40021 /* end confdefs.h.  */
40022 #include <complex.h>
40023 int
40024 main ()
40025 {
40026 typedef __complex__ float float_type; float_type tmpf;
40027                     cacosf(tmpf);
40028                     casinf(tmpf);
40029                     catanf(tmpf);
40030                     cacoshf(tmpf);
40031                     casinhf(tmpf);
40032                     catanhf(tmpf);
40033                     typedef __complex__ double double_type; double_type tmpd;
40034                     cacos(tmpd);
40035                     casin(tmpd);
40036                     catan(tmpd);
40037                     cacosh(tmpd);
40038                     casinh(tmpd);
40039                     catanh(tmpd);
40040                     typedef __complex__ long double ld_type; ld_type tmpld;
40041                     cacosl(tmpld);
40042                     casinl(tmpld);
40043                     catanl(tmpld);
40044                     cacoshl(tmpld);
40045                     casinhl(tmpld);
40046                     catanhl(tmpld);
40047
40048   ;
40049   return 0;
40050 }
40051 _ACEOF
40052 rm -f conftest.$ac_objext
40053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40054   (eval $ac_compile) 2>conftest.er1
40055   ac_status=$?
40056   grep -v '^ *+' conftest.er1 >conftest.err
40057   rm -f conftest.er1
40058   cat conftest.err >&5
40059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40060   (exit $ac_status); } &&
40061          { ac_try='test -z "$ac_cxx_werror_flag"
40062                          || test ! -s conftest.err'
40063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40064   (eval $ac_try) 2>&5
40065   ac_status=$?
40066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40067   (exit $ac_status); }; } &&
40068          { ac_try='test -s conftest.$ac_objext'
40069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40070   (eval $ac_try) 2>&5
40071   ac_status=$?
40072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40073   (exit $ac_status); }; }; then
40074   ac_c99_complex_tr1=yes
40075 else
40076   echo "$as_me: failed program was:" >&5
40077 sed 's/^/| /' conftest.$ac_ext >&5
40078
40079 ac_c99_complex_tr1=no
40080 fi
40081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40082   fi
40083   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
40084 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
40085   if test x"$ac_c99_complex_tr1" = x"yes"; then
40086
40087 cat >>confdefs.h <<\_ACEOF
40088 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
40089 _ACEOF
40090
40091   fi
40092
40093   # Check for the existence of <ctype.h> functions.
40094   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
40095 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
40096   if test "${ac_c99_ctype_tr1+set}" = set; then
40097   echo $ECHO_N "(cached) $ECHO_C" >&6
40098 else
40099
40100   cat >conftest.$ac_ext <<_ACEOF
40101 /* confdefs.h.  */
40102 _ACEOF
40103 cat confdefs.h >>conftest.$ac_ext
40104 cat >>conftest.$ac_ext <<_ACEOF
40105 /* end confdefs.h.  */
40106 #include <ctype.h>
40107 int
40108 main ()
40109 {
40110 int ch;
40111                   int ret;
40112                   ret = isblank(ch);
40113
40114   ;
40115   return 0;
40116 }
40117 _ACEOF
40118 rm -f conftest.$ac_objext
40119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40120   (eval $ac_compile) 2>conftest.er1
40121   ac_status=$?
40122   grep -v '^ *+' conftest.er1 >conftest.err
40123   rm -f conftest.er1
40124   cat conftest.err >&5
40125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40126   (exit $ac_status); } &&
40127          { ac_try='test -z "$ac_cxx_werror_flag"
40128                          || test ! -s conftest.err'
40129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40130   (eval $ac_try) 2>&5
40131   ac_status=$?
40132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40133   (exit $ac_status); }; } &&
40134          { ac_try='test -s conftest.$ac_objext'
40135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40136   (eval $ac_try) 2>&5
40137   ac_status=$?
40138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139   (exit $ac_status); }; }; then
40140   ac_c99_ctype_tr1=yes
40141 else
40142   echo "$as_me: failed program was:" >&5
40143 sed 's/^/| /' conftest.$ac_ext >&5
40144
40145 ac_c99_ctype_tr1=no
40146 fi
40147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40148
40149 fi
40150
40151   echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
40152 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
40153   if test x"$ac_c99_ctype_tr1" = x"yes"; then
40154
40155 cat >>confdefs.h <<\_ACEOF
40156 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
40157 _ACEOF
40158
40159   fi
40160
40161   # Check for the existence of <fenv.h> functions.
40162
40163 for ac_header in fenv.h
40164 do
40165 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40167   echo "$as_me:$LINENO: checking for $ac_header" >&5
40168 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40170   echo $ECHO_N "(cached) $ECHO_C" >&6
40171 fi
40172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40174 else
40175   # Is the header compilable?
40176 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40177 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40178 cat >conftest.$ac_ext <<_ACEOF
40179 /* confdefs.h.  */
40180 _ACEOF
40181 cat confdefs.h >>conftest.$ac_ext
40182 cat >>conftest.$ac_ext <<_ACEOF
40183 /* end confdefs.h.  */
40184 $ac_includes_default
40185 #include <$ac_header>
40186 _ACEOF
40187 rm -f conftest.$ac_objext
40188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40189   (eval $ac_compile) 2>conftest.er1
40190   ac_status=$?
40191   grep -v '^ *+' conftest.er1 >conftest.err
40192   rm -f conftest.er1
40193   cat conftest.err >&5
40194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40195   (exit $ac_status); } &&
40196          { ac_try='test -z "$ac_cxx_werror_flag"
40197                          || test ! -s conftest.err'
40198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40199   (eval $ac_try) 2>&5
40200   ac_status=$?
40201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40202   (exit $ac_status); }; } &&
40203          { ac_try='test -s conftest.$ac_objext'
40204   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40205   (eval $ac_try) 2>&5
40206   ac_status=$?
40207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40208   (exit $ac_status); }; }; then
40209   ac_header_compiler=yes
40210 else
40211   echo "$as_me: failed program was:" >&5
40212 sed 's/^/| /' conftest.$ac_ext >&5
40213
40214 ac_header_compiler=no
40215 fi
40216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40217 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40218 echo "${ECHO_T}$ac_header_compiler" >&6
40219
40220 # Is the header present?
40221 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40222 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40223 cat >conftest.$ac_ext <<_ACEOF
40224 /* confdefs.h.  */
40225 _ACEOF
40226 cat confdefs.h >>conftest.$ac_ext
40227 cat >>conftest.$ac_ext <<_ACEOF
40228 /* end confdefs.h.  */
40229 #include <$ac_header>
40230 _ACEOF
40231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40232   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40233   ac_status=$?
40234   grep -v '^ *+' conftest.er1 >conftest.err
40235   rm -f conftest.er1
40236   cat conftest.err >&5
40237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40238   (exit $ac_status); } >/dev/null; then
40239   if test -s conftest.err; then
40240     ac_cpp_err=$ac_cxx_preproc_warn_flag
40241     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40242   else
40243     ac_cpp_err=
40244   fi
40245 else
40246   ac_cpp_err=yes
40247 fi
40248 if test -z "$ac_cpp_err"; then
40249   ac_header_preproc=yes
40250 else
40251   echo "$as_me: failed program was:" >&5
40252 sed 's/^/| /' conftest.$ac_ext >&5
40253
40254   ac_header_preproc=no
40255 fi
40256 rm -f conftest.err conftest.$ac_ext
40257 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40258 echo "${ECHO_T}$ac_header_preproc" >&6
40259
40260 # So?  What about this header?
40261 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40262   yes:no: )
40263     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40264 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40265     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40266 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40267     ac_header_preproc=yes
40268     ;;
40269   no:yes:* )
40270     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40271 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40272     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40273 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40274     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40275 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40276     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40277 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40278     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40279 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40280     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40281 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40282     (
40283       cat <<\_ASBOX
40284 ## ----------------------------------------- ##
40285 ## Report this to the package-unused lists.  ##
40286 ## ----------------------------------------- ##
40287 _ASBOX
40288     ) |
40289       sed "s/^/$as_me: WARNING:     /" >&2
40290     ;;
40291 esac
40292 echo "$as_me:$LINENO: checking for $ac_header" >&5
40293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40295   echo $ECHO_N "(cached) $ECHO_C" >&6
40296 else
40297   eval "$as_ac_Header=\$ac_header_preproc"
40298 fi
40299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40301
40302 fi
40303 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40304   cat >>confdefs.h <<_ACEOF
40305 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40306 _ACEOF
40307  ac_has_fenv_h=yes
40308 else
40309   ac_has_fenv_h=no
40310 fi
40311
40312 done
40313
40314   ac_c99_fenv_tr1=no;
40315   if test x"$ac_has_fenv_h" = x"yes"; then
40316     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
40317 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
40318     cat >conftest.$ac_ext <<_ACEOF
40319 /* confdefs.h.  */
40320 _ACEOF
40321 cat confdefs.h >>conftest.$ac_ext
40322 cat >>conftest.$ac_ext <<_ACEOF
40323 /* end confdefs.h.  */
40324 #include <fenv.h>
40325 int
40326 main ()
40327 {
40328 int except, mode;
40329                     fexcept_t* pflag;
40330                     fenv_t* penv;
40331                     int ret;
40332                     ret = feclearexcept(except);
40333                     ret = fegetexceptflag(pflag, except);
40334                     ret = feraiseexcept(except);
40335                     ret = fesetexceptflag(pflag, except);
40336                     ret = fetestexcept(except);
40337                     ret = fegetround();
40338                     ret = fesetround(mode);
40339                     ret = fegetenv(penv);
40340                     ret = feholdexcept(penv);
40341                     ret = fesetenv(penv);
40342                     ret = feupdateenv(penv);
40343
40344   ;
40345   return 0;
40346 }
40347 _ACEOF
40348 rm -f conftest.$ac_objext
40349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40350   (eval $ac_compile) 2>conftest.er1
40351   ac_status=$?
40352   grep -v '^ *+' conftest.er1 >conftest.err
40353   rm -f conftest.er1
40354   cat conftest.err >&5
40355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40356   (exit $ac_status); } &&
40357          { ac_try='test -z "$ac_cxx_werror_flag"
40358                          || test ! -s conftest.err'
40359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40360   (eval $ac_try) 2>&5
40361   ac_status=$?
40362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40363   (exit $ac_status); }; } &&
40364          { ac_try='test -s conftest.$ac_objext'
40365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40366   (eval $ac_try) 2>&5
40367   ac_status=$?
40368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40369   (exit $ac_status); }; }; then
40370   ac_c99_fenv_tr1=yes
40371 else
40372   echo "$as_me: failed program was:" >&5
40373 sed 's/^/| /' conftest.$ac_ext >&5
40374
40375 ac_c99_fenv_tr1=no
40376 fi
40377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40378   fi
40379   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
40380 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
40381   if test x"$ac_c99_fenv_tr1" = x"yes"; then
40382
40383 cat >>confdefs.h <<\_ACEOF
40384 #define _GLIBCXX_USE_C99_FENV_TR1 1
40385 _ACEOF
40386
40387   fi
40388
40389   # Check for the existence of <stdint.h> types.
40390   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
40391 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40392   if test "${ac_c99_stdint_tr1+set}" = set; then
40393   echo $ECHO_N "(cached) $ECHO_C" >&6
40394 else
40395
40396   cat >conftest.$ac_ext <<_ACEOF
40397 /* confdefs.h.  */
40398 _ACEOF
40399 cat confdefs.h >>conftest.$ac_ext
40400 cat >>conftest.$ac_ext <<_ACEOF
40401 /* end confdefs.h.  */
40402 #include <stdint.h>
40403 int
40404 main ()
40405 {
40406 typedef int8_t          my_int8_t;
40407                   typedef int16_t         my_int16_t;
40408                   typedef int32_t         my_int32_t;
40409                   typedef int64_t         my_int64_t;
40410                   typedef int_fast8_t     my_int_fast8_t;
40411                   typedef int_fast16_t    my_int_fast16_t;
40412                   typedef int_fast32_t    my_int_fast32_t;
40413                   typedef int_fast64_t    my_int_fast64_t;
40414                   typedef int_least8_t    my_int_least8_t;
40415                   typedef int_least16_t   my_int_least16_t;
40416                   typedef int_least32_t   my_int_least32_t;
40417                   typedef int_least64_t   my_int_least64_t;
40418                   typedef intmax_t        my_intmax_t;
40419                   typedef intptr_t        my_intptr_t;
40420                   typedef uint8_t         my_uint8_t;
40421                   typedef uint16_t        my_uint16_t;
40422                   typedef uint32_t        my_uint32_t;
40423                   typedef uint64_t        my_uint64_t;
40424                   typedef uint_fast8_t    my_uint_fast8_t;
40425                   typedef uint_fast16_t   my_uint_fast16_t;
40426                   typedef uint_fast32_t   my_uint_fast32_t;
40427                   typedef uint_fast64_t   my_uint_fast64_t;
40428                   typedef uint_least8_t   my_uint_least8_t;
40429                   typedef uint_least16_t  my_uint_least16_t;
40430                   typedef uint_least32_t  my_uint_least32_t;
40431                   typedef uint_least64_t  my_uint_least64_t;
40432                   typedef uintmax_t       my_uintmax_t;
40433                   typedef uintptr_t       my_uintptr_t;
40434
40435   ;
40436   return 0;
40437 }
40438 _ACEOF
40439 rm -f conftest.$ac_objext
40440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40441   (eval $ac_compile) 2>conftest.er1
40442   ac_status=$?
40443   grep -v '^ *+' conftest.er1 >conftest.err
40444   rm -f conftest.er1
40445   cat conftest.err >&5
40446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40447   (exit $ac_status); } &&
40448          { ac_try='test -z "$ac_cxx_werror_flag"
40449                          || test ! -s conftest.err'
40450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40451   (eval $ac_try) 2>&5
40452   ac_status=$?
40453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40454   (exit $ac_status); }; } &&
40455          { ac_try='test -s conftest.$ac_objext'
40456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40457   (eval $ac_try) 2>&5
40458   ac_status=$?
40459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40460   (exit $ac_status); }; }; then
40461   ac_c99_stdint_tr1=yes
40462 else
40463   echo "$as_me: failed program was:" >&5
40464 sed 's/^/| /' conftest.$ac_ext >&5
40465
40466 ac_c99_stdint_tr1=no
40467 fi
40468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40469
40470 fi
40471
40472   echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
40473 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
40474   if test x"$ac_c99_stdint_tr1" = x"yes"; then
40475
40476 cat >>confdefs.h <<\_ACEOF
40477 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40478 _ACEOF
40479
40480   fi
40481
40482   # Check for the existence of <math.h> functions.
40483   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40484 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40485   if test "${ac_c99_math_tr1+set}" = set; then
40486   echo $ECHO_N "(cached) $ECHO_C" >&6
40487 else
40488
40489   cat >conftest.$ac_ext <<_ACEOF
40490 /* confdefs.h.  */
40491 _ACEOF
40492 cat confdefs.h >>conftest.$ac_ext
40493 cat >>conftest.$ac_ext <<_ACEOF
40494 /* end confdefs.h.  */
40495 #include <math.h>
40496 int
40497 main ()
40498 {
40499 typedef double_t  my_double_t;
40500                   typedef float_t   my_float_t;
40501                   acosh(0.0);
40502                   acoshf(0.0f);
40503                   acoshl(0.0l);
40504                   asinh(0.0);
40505                   asinhf(0.0f);
40506                   asinhl(0.0l);
40507                   atanh(0.0);
40508                   atanhf(0.0f);
40509                   atanhl(0.0l);
40510                   cbrt(0.0);
40511                   cbrtf(0.0f);
40512                   cbrtl(0.0l);
40513                   copysign(0.0, 0.0);
40514                   copysignf(0.0f, 0.0f);
40515                   copysignl(0.0l, 0.0l);
40516                   erf(0.0);
40517                   erff(0.0f);
40518                   erfl(0.0l);
40519                   erfc(0.0);
40520                   erfcf(0.0f);
40521                   erfcl(0.0l);
40522                   exp2(0.0);
40523                   exp2f(0.0f);
40524                   exp2l(0.0l);
40525                   expm1(0.0);
40526                   expm1f(0.0f);
40527                   expm1l(0.0l);
40528                   fdim(0.0, 0.0);
40529                   fdimf(0.0f, 0.0f);
40530                   fdiml(0.0l, 0.0l);
40531                   fma(0.0, 0.0, 0.0);
40532                   fmaf(0.0f, 0.0f, 0.0f);
40533                   fmal(0.0l, 0.0l, 0.0l);
40534                   fmax(0.0, 0.0);
40535                   fmaxf(0.0f, 0.0f);
40536                   fmaxl(0.0l, 0.0l);
40537                   fmin(0.0, 0.0);
40538                   fminf(0.0f, 0.0f);
40539                   fminl(0.0l, 0.0l);
40540                   hypot(0.0, 0.0);
40541                   hypotf(0.0f, 0.0f);
40542                   hypotl(0.0l, 0.0l);
40543                   ilogb(0.0);
40544                   ilogbf(0.0f);
40545                   ilogbl(0.0l);
40546                   lgamma(0.0);
40547                   lgammaf(0.0f);
40548                   lgammal(0.0l);
40549                   llrint(0.0);
40550                   llrintf(0.0f);
40551                   llrintl(0.0l);
40552                   llround(0.0);
40553                   llroundf(0.0f);
40554                   llroundl(0.0l);
40555                   log1p(0.0);
40556                   log1pf(0.0f);
40557                   log1pl(0.0l);
40558                   log2(0.0);
40559                   log2f(0.0f);
40560                   log2l(0.0l);
40561                   logb(0.0);
40562                   logbf(0.0f);
40563                   logbl(0.0l);
40564                   lrint(0.0);
40565                   lrintf(0.0f);
40566                   lrintl(0.0l);
40567                   lround(0.0);
40568                   lroundf(0.0f);
40569                   lroundl(0.0l);
40570                   nan(0);
40571                   nanf(0);
40572                   nanl(0);
40573                   nearbyint(0.0);
40574                   nearbyintf(0.0f);
40575                   nearbyintl(0.0l);
40576                   nextafter(0.0, 0.0);
40577                   nextafterf(0.0f, 0.0f);
40578                   nextafterl(0.0l, 0.0l);
40579                   nexttoward(0.0, 0.0);
40580                   nexttowardf(0.0f, 0.0f);
40581                   nexttowardl(0.0l, 0.0l);
40582                   remainder(0.0, 0.0);
40583                   remainderf(0.0f, 0.0f);
40584                   remainderl(0.0l, 0.0l);
40585                   remquo(0.0, 0.0, 0);
40586                   remquo(0.0f, 0.0f, 0);
40587                   remquo(0.0l, 0.0l, 0);
40588                   rint(0.0);
40589                   rintf(0.0f);
40590                   rintl(0.0l);
40591                   round(0.0);
40592                   roundf(0.0f);
40593                   roundl(0.0l);
40594                   scalbln(0.0, 0l);
40595                   scalblnf(0.0f, 0l);
40596                   scalblnl(0.0l, 0l);
40597                   scalbn(0.0, 0);
40598                   scalbnf(0.0f, 0);
40599                   scalbnl(0.0l, 0);
40600                   tgamma(0.0);
40601                   tgammaf(0.0f);
40602                   tgammal(0.0l);
40603                   trunc(0.0);
40604                   truncf(0.0f);
40605                   truncl(0.0l);
40606
40607   ;
40608   return 0;
40609 }
40610 _ACEOF
40611 rm -f conftest.$ac_objext
40612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40613   (eval $ac_compile) 2>conftest.er1
40614   ac_status=$?
40615   grep -v '^ *+' conftest.er1 >conftest.err
40616   rm -f conftest.er1
40617   cat conftest.err >&5
40618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40619   (exit $ac_status); } &&
40620          { ac_try='test -z "$ac_cxx_werror_flag"
40621                          || test ! -s conftest.err'
40622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40623   (eval $ac_try) 2>&5
40624   ac_status=$?
40625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40626   (exit $ac_status); }; } &&
40627          { ac_try='test -s conftest.$ac_objext'
40628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40629   (eval $ac_try) 2>&5
40630   ac_status=$?
40631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632   (exit $ac_status); }; }; then
40633   ac_c99_math_tr1=yes
40634 else
40635   echo "$as_me: failed program was:" >&5
40636 sed 's/^/| /' conftest.$ac_ext >&5
40637
40638 ac_c99_math_tr1=no
40639 fi
40640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40641
40642 fi
40643
40644   echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
40645 echo "${ECHO_T}$ac_c99_math_tr1" >&6
40646   if test x"$ac_c99_math_tr1" = x"yes"; then
40647
40648 cat >>confdefs.h <<\_ACEOF
40649 #define _GLIBCXX_USE_C99_MATH_TR1 1
40650 _ACEOF
40651
40652   fi
40653
40654   # Check for the existence of <inttypes.h> functions (NB: doesn't make
40655   # sense if the previous check fails, per C99, 7.8/1).
40656   ac_c99_inttypes_tr1=no;
40657   if test x"$ac_c99_stdint_tr1" = x"yes"; then
40658     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40659 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40660     cat >conftest.$ac_ext <<_ACEOF
40661 /* confdefs.h.  */
40662 _ACEOF
40663 cat confdefs.h >>conftest.$ac_ext
40664 cat >>conftest.$ac_ext <<_ACEOF
40665 /* end confdefs.h.  */
40666 #include <inttypes.h>
40667 int
40668 main ()
40669 {
40670 intmax_t i, numer, denom, base;
40671                     const char* s;
40672                     char** endptr;
40673                     intmax_t ret = imaxabs(i);
40674                     imaxdiv_t dret = imaxdiv(numer, denom);
40675                     ret = strtoimax(s, endptr, base);
40676                     uintmax_t uret = strtoumax(s, endptr, base);
40677
40678   ;
40679   return 0;
40680 }
40681 _ACEOF
40682 rm -f conftest.$ac_objext
40683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40684   (eval $ac_compile) 2>conftest.er1
40685   ac_status=$?
40686   grep -v '^ *+' conftest.er1 >conftest.err
40687   rm -f conftest.er1
40688   cat conftest.err >&5
40689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40690   (exit $ac_status); } &&
40691          { ac_try='test -z "$ac_cxx_werror_flag"
40692                          || test ! -s conftest.err'
40693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40694   (eval $ac_try) 2>&5
40695   ac_status=$?
40696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40697   (exit $ac_status); }; } &&
40698          { ac_try='test -s conftest.$ac_objext'
40699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40700   (eval $ac_try) 2>&5
40701   ac_status=$?
40702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40703   (exit $ac_status); }; }; then
40704   ac_c99_inttypes_tr1=yes
40705 else
40706   echo "$as_me: failed program was:" >&5
40707 sed 's/^/| /' conftest.$ac_ext >&5
40708
40709 ac_c99_inttypes_tr1=no
40710 fi
40711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40712   fi
40713   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40714 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40715   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40716
40717 cat >>confdefs.h <<\_ACEOF
40718 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40719 _ACEOF
40720
40721   fi
40722
40723   # Check for the existence of the <stdbool.h> header.
40724
40725 for ac_header in stdbool.h
40726 do
40727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40729   echo "$as_me:$LINENO: checking for $ac_header" >&5
40730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40732   echo $ECHO_N "(cached) $ECHO_C" >&6
40733 fi
40734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40736 else
40737   # Is the header compilable?
40738 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40739 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40740 cat >conftest.$ac_ext <<_ACEOF
40741 /* confdefs.h.  */
40742 _ACEOF
40743 cat confdefs.h >>conftest.$ac_ext
40744 cat >>conftest.$ac_ext <<_ACEOF
40745 /* end confdefs.h.  */
40746 $ac_includes_default
40747 #include <$ac_header>
40748 _ACEOF
40749 rm -f conftest.$ac_objext
40750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40751   (eval $ac_compile) 2>conftest.er1
40752   ac_status=$?
40753   grep -v '^ *+' conftest.er1 >conftest.err
40754   rm -f conftest.er1
40755   cat conftest.err >&5
40756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40757   (exit $ac_status); } &&
40758          { ac_try='test -z "$ac_cxx_werror_flag"
40759                          || test ! -s conftest.err'
40760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40761   (eval $ac_try) 2>&5
40762   ac_status=$?
40763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40764   (exit $ac_status); }; } &&
40765          { ac_try='test -s conftest.$ac_objext'
40766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40767   (eval $ac_try) 2>&5
40768   ac_status=$?
40769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40770   (exit $ac_status); }; }; then
40771   ac_header_compiler=yes
40772 else
40773   echo "$as_me: failed program was:" >&5
40774 sed 's/^/| /' conftest.$ac_ext >&5
40775
40776 ac_header_compiler=no
40777 fi
40778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40779 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40780 echo "${ECHO_T}$ac_header_compiler" >&6
40781
40782 # Is the header present?
40783 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40784 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40785 cat >conftest.$ac_ext <<_ACEOF
40786 /* confdefs.h.  */
40787 _ACEOF
40788 cat confdefs.h >>conftest.$ac_ext
40789 cat >>conftest.$ac_ext <<_ACEOF
40790 /* end confdefs.h.  */
40791 #include <$ac_header>
40792 _ACEOF
40793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40794   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40795   ac_status=$?
40796   grep -v '^ *+' conftest.er1 >conftest.err
40797   rm -f conftest.er1
40798   cat conftest.err >&5
40799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40800   (exit $ac_status); } >/dev/null; then
40801   if test -s conftest.err; then
40802     ac_cpp_err=$ac_cxx_preproc_warn_flag
40803     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40804   else
40805     ac_cpp_err=
40806   fi
40807 else
40808   ac_cpp_err=yes
40809 fi
40810 if test -z "$ac_cpp_err"; then
40811   ac_header_preproc=yes
40812 else
40813   echo "$as_me: failed program was:" >&5
40814 sed 's/^/| /' conftest.$ac_ext >&5
40815
40816   ac_header_preproc=no
40817 fi
40818 rm -f conftest.err conftest.$ac_ext
40819 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40820 echo "${ECHO_T}$ac_header_preproc" >&6
40821
40822 # So?  What about this header?
40823 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40824   yes:no: )
40825     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40826 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40827     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40828 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40829     ac_header_preproc=yes
40830     ;;
40831   no:yes:* )
40832     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40833 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40834     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
40835 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
40836     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40837 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40838     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
40839 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
40840     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40841 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40842     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40843 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40844     (
40845       cat <<\_ASBOX
40846 ## ----------------------------------------- ##
40847 ## Report this to the package-unused lists.  ##
40848 ## ----------------------------------------- ##
40849 _ASBOX
40850     ) |
40851       sed "s/^/$as_me: WARNING:     /" >&2
40852     ;;
40853 esac
40854 echo "$as_me:$LINENO: checking for $ac_header" >&5
40855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40857   echo $ECHO_N "(cached) $ECHO_C" >&6
40858 else
40859   eval "$as_ac_Header=\$ac_header_preproc"
40860 fi
40861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40862 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40863
40864 fi
40865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40866   cat >>confdefs.h <<_ACEOF
40867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40868 _ACEOF
40869
40870 fi
40871
40872 done
40873
40874
40875   CXXFLAGS="$ac_save_CXXFLAGS"
40876   ac_ext=c
40877 ac_cpp='$CPP $CPPFLAGS'
40878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40881
40882
40883
40884   # For dev/random and dev/urandom for TR1.
40885
40886
40887   echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
40888 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40889   if test "${ac_random_tr1+set}" = set; then
40890   echo $ECHO_N "(cached) $ECHO_C" >&6
40891 else
40892
40893   if test "$cross_compiling" = yes; then
40894   ac_random_tr1=no
40895 else
40896   cat >conftest.$ac_ext <<_ACEOF
40897 /* confdefs.h.  */
40898 _ACEOF
40899 cat confdefs.h >>conftest.$ac_ext
40900 cat >>conftest.$ac_ext <<_ACEOF
40901 /* end confdefs.h.  */
40902 #include <stdio.h>
40903               int main()
40904               {
40905                 return !(fopen("/dev/random", "r")
40906                          && fopen("/dev/urandom", "r"));
40907               }
40908
40909 _ACEOF
40910 rm -f conftest$ac_exeext
40911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40912   (eval $ac_link) 2>&5
40913   ac_status=$?
40914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40915   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40917   (eval $ac_try) 2>&5
40918   ac_status=$?
40919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40920   (exit $ac_status); }; }; then
40921   ac_random_tr1=yes
40922 else
40923   echo "$as_me: program exited with status $ac_status" >&5
40924 echo "$as_me: failed program was:" >&5
40925 sed 's/^/| /' conftest.$ac_ext >&5
40926
40927 ( exit $ac_status )
40928 ac_random_tr1=no
40929 fi
40930 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40931 fi
40932
40933 fi
40934
40935   echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
40936 echo "${ECHO_T}$ac_random_tr1" >&6
40937   if test x"$ac_random_tr1" = x"yes"; then
40938
40939 cat >>confdefs.h <<\_ACEOF
40940 #define _GLIBCXX_USE_RANDOM_TR1 1
40941 _ACEOF
40942
40943   fi
40944
40945
40946
40947   # For TLS support.
40948
40949    # Check whether --enable-tls or --disable-tls was given.
40950 if test "${enable_tls+set}" = set; then
40951   enableval="$enable_tls"
40952
40953       case "$enableval" in
40954        yes|no) ;;
40955        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
40956 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
40957    { (exit 1); exit 1; }; } ;;
40958       esac
40959
40960 else
40961   enable_tls=yes
40962 fi;
40963
40964   echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
40965 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
40966 if test "${gcc_cv_have_tls+set}" = set; then
40967   echo $ECHO_N "(cached) $ECHO_C" >&6
40968 else
40969
40970     if test "$cross_compiling" = yes; then
40971                 if test x$gcc_no_link = xyes; then
40972   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40974    { (exit 1); exit 1; }; }
40975 fi
40976 cat >conftest.$ac_ext <<_ACEOF
40977 __thread int a; int b; int main() { return a = b; }
40978 _ACEOF
40979 rm -f conftest.$ac_objext conftest$ac_exeext
40980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40981   (eval $ac_link) 2>conftest.er1
40982   ac_status=$?
40983   grep -v '^ *+' conftest.er1 >conftest.err
40984   rm -f conftest.er1
40985   cat conftest.err >&5
40986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40987   (exit $ac_status); } &&
40988          { ac_try='test -z "$ac_c_werror_flag"
40989                          || test ! -s conftest.err'
40990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40991   (eval $ac_try) 2>&5
40992   ac_status=$?
40993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40994   (exit $ac_status); }; } &&
40995          { ac_try='test -s conftest$ac_exeext'
40996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40997   (eval $ac_try) 2>&5
40998   ac_status=$?
40999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41000   (exit $ac_status); }; }; then
41001   gcc_cv_have_tls=yes
41002 else
41003   echo "$as_me: failed program was:" >&5
41004 sed 's/^/| /' conftest.$ac_ext >&5
41005
41006 gcc_cv_have_tls=no
41007 fi
41008 rm -f conftest.err conftest.$ac_objext \
41009       conftest$ac_exeext conftest.$ac_ext
41010
41011
41012 else
41013   cat >conftest.$ac_ext <<_ACEOF
41014 __thread int a; int b; int main() { return a = b; }
41015 _ACEOF
41016 rm -f conftest$ac_exeext
41017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41018   (eval $ac_link) 2>&5
41019   ac_status=$?
41020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41021   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41023   (eval $ac_try) 2>&5
41024   ac_status=$?
41025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41026   (exit $ac_status); }; }; then
41027                       chktls_save_LDFLAGS="$LDFLAGS"
41028       LDFLAGS="-static $LDFLAGS"
41029       if test x$gcc_no_link = xyes; then
41030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41032    { (exit 1); exit 1; }; }
41033 fi
41034 cat >conftest.$ac_ext <<_ACEOF
41035 int main() { return 0; }
41036 _ACEOF
41037 rm -f conftest.$ac_objext conftest$ac_exeext
41038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41039   (eval $ac_link) 2>conftest.er1
41040   ac_status=$?
41041   grep -v '^ *+' conftest.er1 >conftest.err
41042   rm -f conftest.er1
41043   cat conftest.err >&5
41044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41045   (exit $ac_status); } &&
41046          { ac_try='test -z "$ac_c_werror_flag"
41047                          || test ! -s conftest.err'
41048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41049   (eval $ac_try) 2>&5
41050   ac_status=$?
41051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41052   (exit $ac_status); }; } &&
41053          { ac_try='test -s conftest$ac_exeext'
41054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41055   (eval $ac_try) 2>&5
41056   ac_status=$?
41057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41058   (exit $ac_status); }; }; then
41059   if test "$cross_compiling" = yes; then
41060   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41061 See \`config.log' for more details." >&5
41062 echo "$as_me: error: cannot run test program while cross compiling
41063 See \`config.log' for more details." >&2;}
41064    { (exit 1); exit 1; }; }
41065 else
41066   cat >conftest.$ac_ext <<_ACEOF
41067 __thread int a; int b; int main() { return a = b; }
41068 _ACEOF
41069 rm -f conftest$ac_exeext
41070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41071   (eval $ac_link) 2>&5
41072   ac_status=$?
41073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41074   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41076   (eval $ac_try) 2>&5
41077   ac_status=$?
41078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41079   (exit $ac_status); }; }; then
41080   gcc_cv_have_tls=yes
41081 else
41082   echo "$as_me: program exited with status $ac_status" >&5
41083 echo "$as_me: failed program was:" >&5
41084 sed 's/^/| /' conftest.$ac_ext >&5
41085
41086 ( exit $ac_status )
41087 gcc_cv_have_tls=no
41088 fi
41089 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41090 fi
41091 else
41092   echo "$as_me: failed program was:" >&5
41093 sed 's/^/| /' conftest.$ac_ext >&5
41094
41095 gcc_cv_have_tls=yes
41096 fi
41097 rm -f conftest.err conftest.$ac_objext \
41098       conftest$ac_exeext conftest.$ac_ext
41099       LDFLAGS="$chktls_save_LDFLAGS"
41100       if test $gcc_cv_have_tls = yes; then
41101                                                 chktls_save_CFLAGS="$CFLAGS"
41102         thread_CFLAGS=failed
41103         for flag in '' '-pthread' '-lpthread'; do
41104           CFLAGS="$flag $chktls_save_CFLAGS"
41105           if test x$gcc_no_link = xyes; then
41106   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41108    { (exit 1); exit 1; }; }
41109 fi
41110 cat >conftest.$ac_ext <<_ACEOF
41111 /* confdefs.h.  */
41112 _ACEOF
41113 cat confdefs.h >>conftest.$ac_ext
41114 cat >>conftest.$ac_ext <<_ACEOF
41115 /* end confdefs.h.  */
41116 #include <pthread.h>
41117                 void *g(void *d) { return NULL; }
41118 int
41119 main ()
41120 {
41121 pthread_t t; pthread_create(&t,NULL,g,NULL);
41122   ;
41123   return 0;
41124 }
41125 _ACEOF
41126 rm -f conftest.$ac_objext conftest$ac_exeext
41127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41128   (eval $ac_link) 2>conftest.er1
41129   ac_status=$?
41130   grep -v '^ *+' conftest.er1 >conftest.err
41131   rm -f conftest.er1
41132   cat conftest.err >&5
41133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41134   (exit $ac_status); } &&
41135          { ac_try='test -z "$ac_c_werror_flag"
41136                          || test ! -s conftest.err'
41137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41138   (eval $ac_try) 2>&5
41139   ac_status=$?
41140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41141   (exit $ac_status); }; } &&
41142          { ac_try='test -s conftest$ac_exeext'
41143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41144   (eval $ac_try) 2>&5
41145   ac_status=$?
41146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41147   (exit $ac_status); }; }; then
41148   thread_CFLAGS="$flag"
41149 else
41150   echo "$as_me: failed program was:" >&5
41151 sed 's/^/| /' conftest.$ac_ext >&5
41152
41153 fi
41154 rm -f conftest.err conftest.$ac_objext \
41155       conftest$ac_exeext conftest.$ac_ext
41156           if test "X$thread_CFLAGS" != Xfailed; then
41157             break
41158           fi
41159         done
41160         CFLAGS="$chktls_save_CFLAGS"
41161         if test "X$thread_CFLAGS" != Xfailed; then
41162           CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41163           if test "$cross_compiling" = yes; then
41164   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41165 See \`config.log' for more details." >&5
41166 echo "$as_me: error: cannot run test program while cross compiling
41167 See \`config.log' for more details." >&2;}
41168    { (exit 1); exit 1; }; }
41169 else
41170   cat >conftest.$ac_ext <<_ACEOF
41171 /* confdefs.h.  */
41172 _ACEOF
41173 cat confdefs.h >>conftest.$ac_ext
41174 cat >>conftest.$ac_ext <<_ACEOF
41175 /* end confdefs.h.  */
41176 #include <pthread.h>
41177                 __thread int a;
41178                 static int *a_in_other_thread;
41179                 static void *
41180                 thread_func (void *arg)
41181                 {
41182                   a_in_other_thread = &a;
41183                   return (void *)0;
41184                 }
41185 int
41186 main ()
41187 {
41188 pthread_t thread;
41189                 void *thread_retval;
41190                 int *a_in_main_thread;
41191                 if (pthread_create (&thread, (pthread_attr_t *)0,
41192                                     thread_func, (void *)0))
41193                   return 0;
41194                 a_in_main_thread = &a;
41195                 if (pthread_join (thread, &thread_retval))
41196                   return 0;
41197                 return (a_in_other_thread == a_in_main_thread);
41198   ;
41199   return 0;
41200 }
41201 _ACEOF
41202 rm -f conftest$ac_exeext
41203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41204   (eval $ac_link) 2>&5
41205   ac_status=$?
41206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41207   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41209   (eval $ac_try) 2>&5
41210   ac_status=$?
41211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41212   (exit $ac_status); }; }; then
41213   gcc_cv_have_tls=yes
41214 else
41215   echo "$as_me: program exited with status $ac_status" >&5
41216 echo "$as_me: failed program was:" >&5
41217 sed 's/^/| /' conftest.$ac_ext >&5
41218
41219 ( exit $ac_status )
41220 gcc_cv_have_tls=no
41221 fi
41222 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41223 fi
41224           CFLAGS="$chktls_save_CFLAGS"
41225         fi
41226       fi
41227 else
41228   echo "$as_me: program exited with status $ac_status" >&5
41229 echo "$as_me: failed program was:" >&5
41230 sed 's/^/| /' conftest.$ac_ext >&5
41231
41232 ( exit $ac_status )
41233 gcc_cv_have_tls=no
41234 fi
41235 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41236 fi
41237 fi
41238 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41239 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41240   if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41241
41242 cat >>confdefs.h <<\_ACEOF
41243 #define HAVE_TLS 1
41244 _ACEOF
41245
41246   fi
41247
41248   # For _Unwind_GetIPInfo.
41249
41250
41251
41252   ac_ext=cc
41253 ac_cpp='$CXXCPP $CPPFLAGS'
41254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41257
41258   ac_save_CXXFLAGS="$CXXFLAGS"
41259   CXXFLAGS="$CXXFLAGS -fno-exceptions"
41260   echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
41261 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
41262   if test "${gcc_cv_getipinfo+set}" = set; then
41263   echo $ECHO_N "(cached) $ECHO_C" >&6
41264 else
41265
41266   if test x$gcc_no_link = xyes; then
41267   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41269    { (exit 1); exit 1; }; }
41270 fi
41271 cat >conftest.$ac_ext <<_ACEOF
41272 /* confdefs.h.  */
41273 _ACEOF
41274 cat confdefs.h >>conftest.$ac_ext
41275 cat >>conftest.$ac_ext <<_ACEOF
41276 /* end confdefs.h.  */
41277 extern "C" { extern void _Unwind_GetIPInfo(); }
41278 int
41279 main ()
41280 {
41281 _Unwind_GetIPInfo();
41282   ;
41283   return 0;
41284 }
41285 _ACEOF
41286 rm -f conftest.$ac_objext conftest$ac_exeext
41287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41288   (eval $ac_link) 2>conftest.er1
41289   ac_status=$?
41290   grep -v '^ *+' conftest.er1 >conftest.err
41291   rm -f conftest.er1
41292   cat conftest.err >&5
41293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41294   (exit $ac_status); } &&
41295          { ac_try='test -z "$ac_cxx_werror_flag"
41296                          || test ! -s conftest.err'
41297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41298   (eval $ac_try) 2>&5
41299   ac_status=$?
41300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41301   (exit $ac_status); }; } &&
41302          { ac_try='test -s conftest$ac_exeext'
41303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41304   (eval $ac_try) 2>&5
41305   ac_status=$?
41306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307   (exit $ac_status); }; }; then
41308   gcc_cv_getipinfo=yes
41309 else
41310   echo "$as_me: failed program was:" >&5
41311 sed 's/^/| /' conftest.$ac_ext >&5
41312
41313 gcc_cv_getipinfo=no
41314 fi
41315 rm -f conftest.err conftest.$ac_objext \
41316       conftest$ac_exeext conftest.$ac_ext
41317
41318 fi
41319
41320   if test $gcc_cv_getipinfo = yes; then
41321
41322 cat >>confdefs.h <<\_ACEOF
41323 #define HAVE_GETIPINFO 1
41324 _ACEOF
41325
41326   fi
41327   echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
41328 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
41329   CXXFLAGS="$ac_save_CXXFLAGS"
41330   ac_ext=c
41331 ac_cpp='$CPP $CPPFLAGS'
41332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41335
41336
41337
41338
41339   if test "${ac_cv_header_locale_h+set}" = set; then
41340   echo "$as_me:$LINENO: checking for locale.h" >&5
41341 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41342 if test "${ac_cv_header_locale_h+set}" = set; then
41343   echo $ECHO_N "(cached) $ECHO_C" >&6
41344 fi
41345 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41346 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41347 else
41348   # Is the header compilable?
41349 echo "$as_me:$LINENO: checking locale.h usability" >&5
41350 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
41351 cat >conftest.$ac_ext <<_ACEOF
41352 /* confdefs.h.  */
41353 _ACEOF
41354 cat confdefs.h >>conftest.$ac_ext
41355 cat >>conftest.$ac_ext <<_ACEOF
41356 /* end confdefs.h.  */
41357 $ac_includes_default
41358 #include <locale.h>
41359 _ACEOF
41360 rm -f conftest.$ac_objext
41361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41362   (eval $ac_compile) 2>conftest.er1
41363   ac_status=$?
41364   grep -v '^ *+' conftest.er1 >conftest.err
41365   rm -f conftest.er1
41366   cat conftest.err >&5
41367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41368   (exit $ac_status); } &&
41369          { ac_try='test -z "$ac_c_werror_flag"
41370                          || test ! -s conftest.err'
41371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41372   (eval $ac_try) 2>&5
41373   ac_status=$?
41374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41375   (exit $ac_status); }; } &&
41376          { ac_try='test -s conftest.$ac_objext'
41377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41378   (eval $ac_try) 2>&5
41379   ac_status=$?
41380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41381   (exit $ac_status); }; }; then
41382   ac_header_compiler=yes
41383 else
41384   echo "$as_me: failed program was:" >&5
41385 sed 's/^/| /' conftest.$ac_ext >&5
41386
41387 ac_header_compiler=no
41388 fi
41389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41391 echo "${ECHO_T}$ac_header_compiler" >&6
41392
41393 # Is the header present?
41394 echo "$as_me:$LINENO: checking locale.h presence" >&5
41395 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
41396 cat >conftest.$ac_ext <<_ACEOF
41397 /* confdefs.h.  */
41398 _ACEOF
41399 cat confdefs.h >>conftest.$ac_ext
41400 cat >>conftest.$ac_ext <<_ACEOF
41401 /* end confdefs.h.  */
41402 #include <locale.h>
41403 _ACEOF
41404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41405   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41406   ac_status=$?
41407   grep -v '^ *+' conftest.er1 >conftest.err
41408   rm -f conftest.er1
41409   cat conftest.err >&5
41410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41411   (exit $ac_status); } >/dev/null; then
41412   if test -s conftest.err; then
41413     ac_cpp_err=$ac_c_preproc_warn_flag
41414     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41415   else
41416     ac_cpp_err=
41417   fi
41418 else
41419   ac_cpp_err=yes
41420 fi
41421 if test -z "$ac_cpp_err"; then
41422   ac_header_preproc=yes
41423 else
41424   echo "$as_me: failed program was:" >&5
41425 sed 's/^/| /' conftest.$ac_ext >&5
41426
41427   ac_header_preproc=no
41428 fi
41429 rm -f conftest.err conftest.$ac_ext
41430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41431 echo "${ECHO_T}$ac_header_preproc" >&6
41432
41433 # So?  What about this header?
41434 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41435   yes:no: )
41436     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
41437 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
41438     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
41439 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
41440     ac_header_preproc=yes
41441     ;;
41442   no:yes:* )
41443     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
41444 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
41445     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
41446 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
41447     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
41448 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
41449     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
41450 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
41451     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
41452 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
41453     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
41454 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
41455     (
41456       cat <<\_ASBOX
41457 ## ----------------------------------------- ##
41458 ## Report this to the package-unused lists.  ##
41459 ## ----------------------------------------- ##
41460 _ASBOX
41461     ) |
41462       sed "s/^/$as_me: WARNING:     /" >&2
41463     ;;
41464 esac
41465 echo "$as_me:$LINENO: checking for locale.h" >&5
41466 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
41467 if test "${ac_cv_header_locale_h+set}" = set; then
41468   echo $ECHO_N "(cached) $ECHO_C" >&6
41469 else
41470   ac_cv_header_locale_h=$ac_header_preproc
41471 fi
41472 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
41473 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
41474
41475 fi
41476 if test $ac_cv_header_locale_h = yes; then
41477
41478     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
41479 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
41480 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
41481   echo $ECHO_N "(cached) $ECHO_C" >&6
41482 else
41483   if test x$gcc_no_link = xyes; then
41484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41486    { (exit 1); exit 1; }; }
41487 fi
41488 cat >conftest.$ac_ext <<_ACEOF
41489 /* confdefs.h.  */
41490 _ACEOF
41491 cat confdefs.h >>conftest.$ac_ext
41492 cat >>conftest.$ac_ext <<_ACEOF
41493 /* end confdefs.h.  */
41494 #include <locale.h>
41495 int
41496 main ()
41497 {
41498 return LC_MESSAGES
41499   ;
41500   return 0;
41501 }
41502 _ACEOF
41503 rm -f conftest.$ac_objext conftest$ac_exeext
41504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41505   (eval $ac_link) 2>conftest.er1
41506   ac_status=$?
41507   grep -v '^ *+' conftest.er1 >conftest.err
41508   rm -f conftest.er1
41509   cat conftest.err >&5
41510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41511   (exit $ac_status); } &&
41512          { ac_try='test -z "$ac_c_werror_flag"
41513                          || test ! -s conftest.err'
41514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41515   (eval $ac_try) 2>&5
41516   ac_status=$?
41517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41518   (exit $ac_status); }; } &&
41519          { ac_try='test -s conftest$ac_exeext'
41520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41521   (eval $ac_try) 2>&5
41522   ac_status=$?
41523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41524   (exit $ac_status); }; }; then
41525   ac_cv_val_LC_MESSAGES=yes
41526 else
41527   echo "$as_me: failed program was:" >&5
41528 sed 's/^/| /' conftest.$ac_ext >&5
41529
41530 ac_cv_val_LC_MESSAGES=no
41531 fi
41532 rm -f conftest.err conftest.$ac_objext \
41533       conftest$ac_exeext conftest.$ac_ext
41534 fi
41535 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
41536 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
41537     if test $ac_cv_val_LC_MESSAGES = yes; then
41538
41539 cat >>confdefs.h <<\_ACEOF
41540 #define HAVE_LC_MESSAGES 1
41541 _ACEOF
41542
41543     fi
41544
41545 fi
41546
41547
41548
41549
41550   cat >conftest.$ac_ext <<_ACEOF
41551 /* confdefs.h.  */
41552 _ACEOF
41553 cat confdefs.h >>conftest.$ac_ext
41554 cat >>conftest.$ac_ext <<_ACEOF
41555 /* end confdefs.h.  */
41556 #include <setjmp.h>
41557 int
41558 main ()
41559 {
41560 sigjmp_buf env;
41561      while (! sigsetjmp (env, 1))
41562        siglongjmp (env, 1);
41563
41564   ;
41565   return 0;
41566 }
41567 _ACEOF
41568 rm -f conftest.$ac_objext
41569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41570   (eval $ac_compile) 2>conftest.er1
41571   ac_status=$?
41572   grep -v '^ *+' conftest.er1 >conftest.err
41573   rm -f conftest.er1
41574   cat conftest.err >&5
41575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41576   (exit $ac_status); } &&
41577          { ac_try='test -z "$ac_c_werror_flag"
41578                          || test ! -s conftest.err'
41579   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41580   (eval $ac_try) 2>&5
41581   ac_status=$?
41582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41583   (exit $ac_status); }; } &&
41584          { ac_try='test -s conftest.$ac_objext'
41585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41586   (eval $ac_try) 2>&5
41587   ac_status=$?
41588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41589   (exit $ac_status); }; }; then
41590
41591 cat >>confdefs.h <<\_ACEOF
41592 #define HAVE_SIGSETJMP 1
41593 _ACEOF
41594
41595 else
41596   echo "$as_me: failed program was:" >&5
41597 sed 's/^/| /' conftest.$ac_ext >&5
41598
41599 fi
41600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41601
41602   if test x$gcc_no_link = xyes; then
41603   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
41604     ac_cv_func_mmap_fixed_mapped=no
41605   fi
41606 fi
41607 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
41608
41609
41610 for ac_header in stdlib.h unistd.h
41611 do
41612 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41614   echo "$as_me:$LINENO: checking for $ac_header" >&5
41615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41617   echo $ECHO_N "(cached) $ECHO_C" >&6
41618 fi
41619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41621 else
41622   # Is the header compilable?
41623 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41625 cat >conftest.$ac_ext <<_ACEOF
41626 /* confdefs.h.  */
41627 _ACEOF
41628 cat confdefs.h >>conftest.$ac_ext
41629 cat >>conftest.$ac_ext <<_ACEOF
41630 /* end confdefs.h.  */
41631 $ac_includes_default
41632 #include <$ac_header>
41633 _ACEOF
41634 rm -f conftest.$ac_objext
41635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41636   (eval $ac_compile) 2>conftest.er1
41637   ac_status=$?
41638   grep -v '^ *+' conftest.er1 >conftest.err
41639   rm -f conftest.er1
41640   cat conftest.err >&5
41641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41642   (exit $ac_status); } &&
41643          { ac_try='test -z "$ac_c_werror_flag"
41644                          || test ! -s conftest.err'
41645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41646   (eval $ac_try) 2>&5
41647   ac_status=$?
41648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41649   (exit $ac_status); }; } &&
41650          { ac_try='test -s conftest.$ac_objext'
41651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41652   (eval $ac_try) 2>&5
41653   ac_status=$?
41654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41655   (exit $ac_status); }; }; then
41656   ac_header_compiler=yes
41657 else
41658   echo "$as_me: failed program was:" >&5
41659 sed 's/^/| /' conftest.$ac_ext >&5
41660
41661 ac_header_compiler=no
41662 fi
41663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41664 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41665 echo "${ECHO_T}$ac_header_compiler" >&6
41666
41667 # Is the header present?
41668 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41669 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41670 cat >conftest.$ac_ext <<_ACEOF
41671 /* confdefs.h.  */
41672 _ACEOF
41673 cat confdefs.h >>conftest.$ac_ext
41674 cat >>conftest.$ac_ext <<_ACEOF
41675 /* end confdefs.h.  */
41676 #include <$ac_header>
41677 _ACEOF
41678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41679   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41680   ac_status=$?
41681   grep -v '^ *+' conftest.er1 >conftest.err
41682   rm -f conftest.er1
41683   cat conftest.err >&5
41684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41685   (exit $ac_status); } >/dev/null; then
41686   if test -s conftest.err; then
41687     ac_cpp_err=$ac_c_preproc_warn_flag
41688     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
41689   else
41690     ac_cpp_err=
41691   fi
41692 else
41693   ac_cpp_err=yes
41694 fi
41695 if test -z "$ac_cpp_err"; then
41696   ac_header_preproc=yes
41697 else
41698   echo "$as_me: failed program was:" >&5
41699 sed 's/^/| /' conftest.$ac_ext >&5
41700
41701   ac_header_preproc=no
41702 fi
41703 rm -f conftest.err conftest.$ac_ext
41704 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41705 echo "${ECHO_T}$ac_header_preproc" >&6
41706
41707 # So?  What about this header?
41708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
41709   yes:no: )
41710     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41711 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41712     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41713 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41714     ac_header_preproc=yes
41715     ;;
41716   no:yes:* )
41717     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41718 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41719     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
41720 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
41721     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41722 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41723     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
41724 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
41725     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41726 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41727     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41728 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41729     (
41730       cat <<\_ASBOX
41731 ## ----------------------------------------- ##
41732 ## Report this to the package-unused lists.  ##
41733 ## ----------------------------------------- ##
41734 _ASBOX
41735     ) |
41736       sed "s/^/$as_me: WARNING:     /" >&2
41737     ;;
41738 esac
41739 echo "$as_me:$LINENO: checking for $ac_header" >&5
41740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41742   echo $ECHO_N "(cached) $ECHO_C" >&6
41743 else
41744   eval "$as_ac_Header=\$ac_header_preproc"
41745 fi
41746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41748
41749 fi
41750 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41751   cat >>confdefs.h <<_ACEOF
41752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41753 _ACEOF
41754
41755 fi
41756
41757 done
41758
41759
41760 for ac_func in getpagesize
41761 do
41762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41763 echo "$as_me:$LINENO: checking for $ac_func" >&5
41764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41765 if eval "test \"\${$as_ac_var+set}\" = set"; then
41766   echo $ECHO_N "(cached) $ECHO_C" >&6
41767 else
41768   if test x$gcc_no_link = xyes; then
41769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41771    { (exit 1); exit 1; }; }
41772 fi
41773 cat >conftest.$ac_ext <<_ACEOF
41774 /* confdefs.h.  */
41775 _ACEOF
41776 cat confdefs.h >>conftest.$ac_ext
41777 cat >>conftest.$ac_ext <<_ACEOF
41778 /* end confdefs.h.  */
41779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41781 #define $ac_func innocuous_$ac_func
41782
41783 /* System header to define __stub macros and hopefully few prototypes,
41784     which can conflict with char $ac_func (); below.
41785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41786     <limits.h> exists even on freestanding compilers.  */
41787
41788 #ifdef __STDC__
41789 # include <limits.h>
41790 #else
41791 # include <assert.h>
41792 #endif
41793
41794 #undef $ac_func
41795
41796 /* Override any gcc2 internal prototype to avoid an error.  */
41797 #ifdef __cplusplus
41798 extern "C"
41799 {
41800 #endif
41801 /* We use char because int might match the return type of a gcc2
41802    builtin and then its argument prototype would still apply.  */
41803 char $ac_func ();
41804 /* The GNU C library defines this for functions which it implements
41805     to always fail with ENOSYS.  Some functions are actually named
41806     something starting with __ and the normal name is an alias.  */
41807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41808 choke me
41809 #else
41810 char (*f) () = $ac_func;
41811 #endif
41812 #ifdef __cplusplus
41813 }
41814 #endif
41815
41816 int
41817 main ()
41818 {
41819 return f != $ac_func;
41820   ;
41821   return 0;
41822 }
41823 _ACEOF
41824 rm -f conftest.$ac_objext conftest$ac_exeext
41825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41826   (eval $ac_link) 2>conftest.er1
41827   ac_status=$?
41828   grep -v '^ *+' conftest.er1 >conftest.err
41829   rm -f conftest.er1
41830   cat conftest.err >&5
41831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41832   (exit $ac_status); } &&
41833          { ac_try='test -z "$ac_c_werror_flag"
41834                          || test ! -s conftest.err'
41835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41836   (eval $ac_try) 2>&5
41837   ac_status=$?
41838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41839   (exit $ac_status); }; } &&
41840          { ac_try='test -s conftest$ac_exeext'
41841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41842   (eval $ac_try) 2>&5
41843   ac_status=$?
41844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41845   (exit $ac_status); }; }; then
41846   eval "$as_ac_var=yes"
41847 else
41848   echo "$as_me: failed program was:" >&5
41849 sed 's/^/| /' conftest.$ac_ext >&5
41850
41851 eval "$as_ac_var=no"
41852 fi
41853 rm -f conftest.err conftest.$ac_objext \
41854       conftest$ac_exeext conftest.$ac_ext
41855 fi
41856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41858 if test `eval echo '${'$as_ac_var'}'` = yes; then
41859   cat >>confdefs.h <<_ACEOF
41860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41861 _ACEOF
41862
41863 fi
41864 done
41865
41866 echo "$as_me:$LINENO: checking for working mmap" >&5
41867 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
41868 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
41869   echo $ECHO_N "(cached) $ECHO_C" >&6
41870 else
41871   if test "$cross_compiling" = yes; then
41872   ac_cv_func_mmap_fixed_mapped=no
41873 else
41874   cat >conftest.$ac_ext <<_ACEOF
41875 /* confdefs.h.  */
41876 _ACEOF
41877 cat confdefs.h >>conftest.$ac_ext
41878 cat >>conftest.$ac_ext <<_ACEOF
41879 /* end confdefs.h.  */
41880 $ac_includes_default
41881 /* malloc might have been renamed as rpl_malloc. */
41882 #undef malloc
41883
41884 /* Thanks to Mike Haertel and Jim Avera for this test.
41885    Here is a matrix of mmap possibilities:
41886         mmap private not fixed
41887         mmap private fixed at somewhere currently unmapped
41888         mmap private fixed at somewhere already mapped
41889         mmap shared not fixed
41890         mmap shared fixed at somewhere currently unmapped
41891         mmap shared fixed at somewhere already mapped
41892    For private mappings, we should verify that changes cannot be read()
41893    back from the file, nor mmap's back from the file at a different
41894    address.  (There have been systems where private was not correctly
41895    implemented like the infamous i386 svr4.0, and systems where the
41896    VM page cache was not coherent with the file system buffer cache
41897    like early versions of FreeBSD and possibly contemporary NetBSD.)
41898    For shared mappings, we should conversely verify that changes get
41899    propagated back to all the places they're supposed to be.
41900
41901    Grep wants private fixed already mapped.
41902    The main things grep needs to know about mmap are:
41903    * does it exist and is it safe to write into the mmap'd area
41904    * how to use it (BSD variants)  */
41905
41906 #include <fcntl.h>
41907 #include <sys/mman.h>
41908
41909 #if !STDC_HEADERS && !HAVE_STDLIB_H
41910 char *malloc ();
41911 #endif
41912
41913 /* This mess was copied from the GNU getpagesize.h.  */
41914 #if !HAVE_GETPAGESIZE
41915 /* Assume that all systems that can run configure have sys/param.h.  */
41916 # if !HAVE_SYS_PARAM_H
41917 #  define HAVE_SYS_PARAM_H 1
41918 # endif
41919
41920 # ifdef _SC_PAGESIZE
41921 #  define getpagesize() sysconf(_SC_PAGESIZE)
41922 # else /* no _SC_PAGESIZE */
41923 #  if HAVE_SYS_PARAM_H
41924 #   include <sys/param.h>
41925 #   ifdef EXEC_PAGESIZE
41926 #    define getpagesize() EXEC_PAGESIZE
41927 #   else /* no EXEC_PAGESIZE */
41928 #    ifdef NBPG
41929 #     define getpagesize() NBPG * CLSIZE
41930 #     ifndef CLSIZE
41931 #      define CLSIZE 1
41932 #     endif /* no CLSIZE */
41933 #    else /* no NBPG */
41934 #     ifdef NBPC
41935 #      define getpagesize() NBPC
41936 #     else /* no NBPC */
41937 #      ifdef PAGESIZE
41938 #       define getpagesize() PAGESIZE
41939 #      endif /* PAGESIZE */
41940 #     endif /* no NBPC */
41941 #    endif /* no NBPG */
41942 #   endif /* no EXEC_PAGESIZE */
41943 #  else /* no HAVE_SYS_PARAM_H */
41944 #   define getpagesize() 8192   /* punt totally */
41945 #  endif /* no HAVE_SYS_PARAM_H */
41946 # endif /* no _SC_PAGESIZE */
41947
41948 #endif /* no HAVE_GETPAGESIZE */
41949
41950 int
41951 main ()
41952 {
41953   char *data, *data2, *data3;
41954   int i, pagesize;
41955   int fd;
41956
41957   pagesize = getpagesize ();
41958
41959   /* First, make a file with some known garbage in it. */
41960   data = (char *) malloc (pagesize);
41961   if (!data)
41962     exit (1);
41963   for (i = 0; i < pagesize; ++i)
41964     *(data + i) = rand ();
41965   umask (0);
41966   fd = creat ("conftest.mmap", 0600);
41967   if (fd < 0)
41968     exit (1);
41969   if (write (fd, data, pagesize) != pagesize)
41970     exit (1);
41971   close (fd);
41972
41973   /* Next, try to mmap the file at a fixed address which already has
41974      something else allocated at it.  If we can, also make sure that
41975      we see the same garbage.  */
41976   fd = open ("conftest.mmap", O_RDWR);
41977   if (fd < 0)
41978     exit (1);
41979   data2 = (char *) malloc (2 * pagesize);
41980   if (!data2)
41981     exit (1);
41982   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
41983   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
41984                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
41985     exit (1);
41986   for (i = 0; i < pagesize; ++i)
41987     if (*(data + i) != *(data2 + i))
41988       exit (1);
41989
41990   /* Finally, make sure that changes to the mapped area do not
41991      percolate back to the file as seen by read().  (This is a bug on
41992      some variants of i386 svr4.0.)  */
41993   for (i = 0; i < pagesize; ++i)
41994     *(data2 + i) = *(data2 + i) + 1;
41995   data3 = (char *) malloc (pagesize);
41996   if (!data3)
41997     exit (1);
41998   if (read (fd, data3, pagesize) != pagesize)
41999     exit (1);
42000   for (i = 0; i < pagesize; ++i)
42001     if (*(data + i) != *(data3 + i))
42002       exit (1);
42003   close (fd);
42004   exit (0);
42005 }
42006 _ACEOF
42007 rm -f conftest$ac_exeext
42008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42009   (eval $ac_link) 2>&5
42010   ac_status=$?
42011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42012   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42014   (eval $ac_try) 2>&5
42015   ac_status=$?
42016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42017   (exit $ac_status); }; }; then
42018   ac_cv_func_mmap_fixed_mapped=yes
42019 else
42020   echo "$as_me: program exited with status $ac_status" >&5
42021 echo "$as_me: failed program was:" >&5
42022 sed 's/^/| /' conftest.$ac_ext >&5
42023
42024 ( exit $ac_status )
42025 ac_cv_func_mmap_fixed_mapped=no
42026 fi
42027 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42028 fi
42029 fi
42030 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
42031 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
42032 if test $ac_cv_func_mmap_fixed_mapped = yes; then
42033
42034 cat >>confdefs.h <<\_ACEOF
42035 #define HAVE_MMAP 1
42036 _ACEOF
42037
42038 fi
42039 rm -f conftest.mmap
42040
42041 fi
42042
42043   # For iconv support.
42044
42045       if test "X$prefix" = "XNONE"; then
42046     acl_final_prefix="$ac_default_prefix"
42047   else
42048     acl_final_prefix="$prefix"
42049   fi
42050   if test "X$exec_prefix" = "XNONE"; then
42051     acl_final_exec_prefix='${prefix}'
42052   else
42053     acl_final_exec_prefix="$exec_prefix"
42054   fi
42055   acl_save_prefix="$prefix"
42056   prefix="$acl_final_prefix"
42057   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
42058   prefix="$acl_save_prefix"
42059
42060
42061 # Check whether --with-gnu-ld or --without-gnu-ld was given.
42062 if test "${with_gnu_ld+set}" = set; then
42063   withval="$with_gnu_ld"
42064   test "$withval" = no || with_gnu_ld=yes
42065 else
42066   with_gnu_ld=no
42067 fi;
42068 # Prepare PATH_SEPARATOR.
42069 # The user is always right.
42070 if test "${PATH_SEPARATOR+set}" != set; then
42071   echo "#! /bin/sh" >conf$$.sh
42072   echo  "exit 0"   >>conf$$.sh
42073   chmod +x conf$$.sh
42074   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42075     PATH_SEPARATOR=';'
42076   else
42077     PATH_SEPARATOR=:
42078   fi
42079   rm -f conf$$.sh
42080 fi
42081 ac_prog=ld
42082 if test "$GCC" = yes; then
42083   # Check if gcc -print-prog-name=ld gives a path.
42084   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
42085 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
42086   case $host in
42087   *-*-mingw*)
42088     # gcc leaves a trailing carriage return which upsets mingw
42089     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
42090   *)
42091     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
42092   esac
42093   case $ac_prog in
42094     # Accept absolute paths.
42095     [\\/]* | [A-Za-z]:[\\/]*)
42096       re_direlt='/[^/][^/]*/\.\./'
42097       # Canonicalize the path of ld
42098       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
42099       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
42100         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
42101       done
42102       test -z "$LD" && LD="$ac_prog"
42103       ;;
42104   "")
42105     # If it fails, then pretend we aren't using GCC.
42106     ac_prog=ld
42107     ;;
42108   *)
42109     # If it is relative, then search for the first ld in PATH.
42110     with_gnu_ld=unknown
42111     ;;
42112   esac
42113 elif test "$with_gnu_ld" = yes; then
42114   echo "$as_me:$LINENO: checking for GNU ld" >&5
42115 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
42116 else
42117   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
42118 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
42119 fi
42120 if test "${acl_cv_path_LD+set}" = set; then
42121   echo $ECHO_N "(cached) $ECHO_C" >&6
42122 else
42123   if test -z "$LD"; then
42124   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42125   for ac_dir in $PATH; do
42126     test -z "$ac_dir" && ac_dir=.
42127     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
42128       acl_cv_path_LD="$ac_dir/$ac_prog"
42129       # Check to see if the program is GNU ld.  I'd rather use --version,
42130       # but apparently some GNU ld's only accept -v.
42131       # Break only if it was the GNU/non-GNU ld that we prefer.
42132       if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
42133         test "$with_gnu_ld" != no && break
42134       else
42135         test "$with_gnu_ld" != yes && break
42136       fi
42137     fi
42138   done
42139   IFS="$ac_save_ifs"
42140 else
42141   acl_cv_path_LD="$LD" # Let the user override the test with a path.
42142 fi
42143 fi
42144
42145 LD="$acl_cv_path_LD"
42146 if test -n "$LD"; then
42147   echo "$as_me:$LINENO: result: $LD" >&5
42148 echo "${ECHO_T}$LD" >&6
42149 else
42150   echo "$as_me:$LINENO: result: no" >&5
42151 echo "${ECHO_T}no" >&6
42152 fi
42153 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
42154 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
42155    { (exit 1); exit 1; }; }
42156 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
42157 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
42158 if test "${acl_cv_prog_gnu_ld+set}" = set; then
42159   echo $ECHO_N "(cached) $ECHO_C" >&6
42160 else
42161   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
42162 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
42163   acl_cv_prog_gnu_ld=yes
42164 else
42165   acl_cv_prog_gnu_ld=no
42166 fi
42167 fi
42168 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
42169 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
42170 with_gnu_ld=$acl_cv_prog_gnu_ld
42171
42172
42173
42174                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
42175 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
42176 if test "${acl_cv_rpath+set}" = set; then
42177   echo $ECHO_N "(cached) $ECHO_C" >&6
42178 else
42179
42180     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
42181     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
42182     . ./conftest.sh
42183     rm -f ./conftest.sh
42184     acl_cv_rpath=done
42185
42186 fi
42187 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
42188 echo "${ECHO_T}$acl_cv_rpath" >&6
42189   wl="$acl_cv_wl"
42190   libext="$acl_cv_libext"
42191   shlibext="$acl_cv_shlibext"
42192   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
42193   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
42194   hardcode_direct="$acl_cv_hardcode_direct"
42195   hardcode_minus_L="$acl_cv_hardcode_minus_L"
42196     # Check whether --enable-rpath or --disable-rpath was given.
42197 if test "${enable_rpath+set}" = set; then
42198   enableval="$enable_rpath"
42199   :
42200 else
42201   enable_rpath=yes
42202 fi;
42203
42204
42205
42206
42207
42208
42209
42210     use_additional=yes
42211
42212   acl_save_prefix="$prefix"
42213   prefix="$acl_final_prefix"
42214   acl_save_exec_prefix="$exec_prefix"
42215   exec_prefix="$acl_final_exec_prefix"
42216
42217     eval additional_includedir=\"$includedir\"
42218     eval additional_libdir=\"$libdir\"
42219
42220   exec_prefix="$acl_save_exec_prefix"
42221   prefix="$acl_save_prefix"
42222
42223
42224 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
42225 if test "${with_libiconv_prefix+set}" = set; then
42226   withval="$with_libiconv_prefix"
42227
42228     if test "X$withval" = "Xno"; then
42229       use_additional=no
42230     else
42231       if test "X$withval" = "X"; then
42232
42233   acl_save_prefix="$prefix"
42234   prefix="$acl_final_prefix"
42235   acl_save_exec_prefix="$exec_prefix"
42236   exec_prefix="$acl_final_exec_prefix"
42237
42238           eval additional_includedir=\"$includedir\"
42239           eval additional_libdir=\"$libdir\"
42240
42241   exec_prefix="$acl_save_exec_prefix"
42242   prefix="$acl_save_prefix"
42243
42244       else
42245         additional_includedir="$withval/include"
42246         additional_libdir="$withval/lib"
42247       fi
42248     fi
42249
42250 fi;
42251       LIBICONV=
42252   LTLIBICONV=
42253   INCICONV=
42254   rpathdirs=
42255   ltrpathdirs=
42256   names_already_handled=
42257   names_next_round='iconv '
42258   while test -n "$names_next_round"; do
42259     names_this_round="$names_next_round"
42260     names_next_round=
42261     for name in $names_this_round; do
42262       already_handled=
42263       for n in $names_already_handled; do
42264         if test "$n" = "$name"; then
42265           already_handled=yes
42266           break
42267         fi
42268       done
42269       if test -z "$already_handled"; then
42270         names_already_handled="$names_already_handled $name"
42271                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
42272         eval value=\"\$HAVE_LIB$uppername\"
42273         if test -n "$value"; then
42274           if test "$value" = yes; then
42275             eval value=\"\$LIB$uppername\"
42276             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
42277             eval value=\"\$LTLIB$uppername\"
42278             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
42279           else
42280                                     :
42281           fi
42282         else
42283                               found_dir=
42284           found_la=
42285           found_so=
42286           found_a=
42287           if test $use_additional = yes; then
42288             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
42289               found_dir="$additional_libdir"
42290               found_so="$additional_libdir/lib$name.$shlibext"
42291               if test -f "$additional_libdir/lib$name.la"; then
42292                 found_la="$additional_libdir/lib$name.la"
42293               fi
42294             else
42295               if test -f "$additional_libdir/lib$name.$libext"; then
42296                 found_dir="$additional_libdir"
42297                 found_a="$additional_libdir/lib$name.$libext"
42298                 if test -f "$additional_libdir/lib$name.la"; then
42299                   found_la="$additional_libdir/lib$name.la"
42300                 fi
42301               fi
42302             fi
42303           fi
42304           if test "X$found_dir" = "X"; then
42305             for x in $LDFLAGS $LTLIBICONV; do
42306
42307   acl_save_prefix="$prefix"
42308   prefix="$acl_final_prefix"
42309   acl_save_exec_prefix="$exec_prefix"
42310   exec_prefix="$acl_final_exec_prefix"
42311   eval x=\"$x\"
42312   exec_prefix="$acl_save_exec_prefix"
42313   prefix="$acl_save_prefix"
42314
42315               case "$x" in
42316                 -L*)
42317                   dir=`echo "X$x" | sed -e 's/^X-L//'`
42318                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
42319                     found_dir="$dir"
42320                     found_so="$dir/lib$name.$shlibext"
42321                     if test -f "$dir/lib$name.la"; then
42322                       found_la="$dir/lib$name.la"
42323                     fi
42324                   else
42325                     if test -f "$dir/lib$name.$libext"; then
42326                       found_dir="$dir"
42327                       found_a="$dir/lib$name.$libext"
42328                       if test -f "$dir/lib$name.la"; then
42329                         found_la="$dir/lib$name.la"
42330                       fi
42331                     fi
42332                   fi
42333                   ;;
42334               esac
42335               if test "X$found_dir" != "X"; then
42336                 break
42337               fi
42338             done
42339           fi
42340           if test "X$found_dir" != "X"; then
42341                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
42342             if test "X$found_so" != "X"; then
42343                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
42344                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42345               else
42346                                                                                 haveit=
42347                 for x in $ltrpathdirs; do
42348                   if test "X$x" = "X$found_dir"; then
42349                     haveit=yes
42350                     break
42351                   fi
42352                 done
42353                 if test -z "$haveit"; then
42354                   ltrpathdirs="$ltrpathdirs $found_dir"
42355                 fi
42356                                 if test "$hardcode_direct" = yes; then
42357                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42358                 else
42359                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
42360                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42361                                                             haveit=
42362                     for x in $rpathdirs; do
42363                       if test "X$x" = "X$found_dir"; then
42364                         haveit=yes
42365                         break
42366                       fi
42367                     done
42368                     if test -z "$haveit"; then
42369                       rpathdirs="$rpathdirs $found_dir"
42370                     fi
42371                   else
42372                                                                                 haveit=
42373                     for x in $LDFLAGS $LIBICONV; do
42374
42375   acl_save_prefix="$prefix"
42376   prefix="$acl_final_prefix"
42377   acl_save_exec_prefix="$exec_prefix"
42378   exec_prefix="$acl_final_exec_prefix"
42379   eval x=\"$x\"
42380   exec_prefix="$acl_save_exec_prefix"
42381   prefix="$acl_save_prefix"
42382
42383                       if test "X$x" = "X-L$found_dir"; then
42384                         haveit=yes
42385                         break
42386                       fi
42387                     done
42388                     if test -z "$haveit"; then
42389                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
42390                     fi
42391                     if test "$hardcode_minus_L" != no; then
42392                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
42393                     else
42394                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42395                     fi
42396                   fi
42397                 fi
42398               fi
42399             else
42400               if test "X$found_a" != "X"; then
42401                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
42402               else
42403                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
42404               fi
42405             fi
42406                         additional_includedir=
42407             case "$found_dir" in
42408               */lib | */lib/)
42409                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
42410                 additional_includedir="$basedir/include"
42411                 ;;
42412             esac
42413             if test "X$additional_includedir" != "X"; then
42414                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
42415                 haveit=
42416                 if test "X$additional_includedir" = "X/usr/local/include"; then
42417                   if test -n "$GCC"; then
42418                     case $host_os in
42419                       linux*) haveit=yes;;
42420                     esac
42421                   fi
42422                 fi
42423                 if test -z "$haveit"; then
42424                   for x in $CPPFLAGS $INCICONV; do
42425
42426   acl_save_prefix="$prefix"
42427   prefix="$acl_final_prefix"
42428   acl_save_exec_prefix="$exec_prefix"
42429   exec_prefix="$acl_final_exec_prefix"
42430   eval x=\"$x\"
42431   exec_prefix="$acl_save_exec_prefix"
42432   prefix="$acl_save_prefix"
42433
42434                     if test "X$x" = "X-I$additional_includedir"; then
42435                       haveit=yes
42436                       break
42437                     fi
42438                   done
42439                   if test -z "$haveit"; then
42440                     if test -d "$additional_includedir"; then
42441                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
42442                     fi
42443                   fi
42444                 fi
42445               fi
42446             fi
42447                         if test -n "$found_la"; then
42448                                                         save_libdir="$libdir"
42449               case "$found_la" in
42450                 */* | *\\*) . "$found_la" ;;
42451                 *) . "./$found_la" ;;
42452               esac
42453               libdir="$save_libdir"
42454                             for dep in $dependency_libs; do
42455                 case "$dep" in
42456                   -L*)
42457                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
42458                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
42459                       haveit=
42460                       if test "X$additional_libdir" = "X/usr/local/lib"; then
42461                         if test -n "$GCC"; then
42462                           case $host_os in
42463                             linux*) haveit=yes;;
42464                           esac
42465                         fi
42466                       fi
42467                       if test -z "$haveit"; then
42468                         haveit=
42469                         for x in $LDFLAGS $LIBICONV; do
42470
42471   acl_save_prefix="$prefix"
42472   prefix="$acl_final_prefix"
42473   acl_save_exec_prefix="$exec_prefix"
42474   exec_prefix="$acl_final_exec_prefix"
42475   eval x=\"$x\"
42476   exec_prefix="$acl_save_exec_prefix"
42477   prefix="$acl_save_prefix"
42478
42479                           if test "X$x" = "X-L$additional_libdir"; then
42480                             haveit=yes
42481                             break
42482                           fi
42483                         done
42484                         if test -z "$haveit"; then
42485                           if test -d "$additional_libdir"; then
42486                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
42487                           fi
42488                         fi
42489                         haveit=
42490                         for x in $LDFLAGS $LTLIBICONV; do
42491
42492   acl_save_prefix="$prefix"
42493   prefix="$acl_final_prefix"
42494   acl_save_exec_prefix="$exec_prefix"
42495   exec_prefix="$acl_final_exec_prefix"
42496   eval x=\"$x\"
42497   exec_prefix="$acl_save_exec_prefix"
42498   prefix="$acl_save_prefix"
42499
42500                           if test "X$x" = "X-L$additional_libdir"; then
42501                             haveit=yes
42502                             break
42503                           fi
42504                         done
42505                         if test -z "$haveit"; then
42506                           if test -d "$additional_libdir"; then
42507                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
42508                           fi
42509                         fi
42510                       fi
42511                     fi
42512                     ;;
42513                   -R*)
42514                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
42515                     if test "$enable_rpath" != no; then
42516                                                                   haveit=
42517                       for x in $rpathdirs; do
42518                         if test "X$x" = "X$dir"; then
42519                           haveit=yes
42520                           break
42521                         fi
42522                       done
42523                       if test -z "$haveit"; then
42524                         rpathdirs="$rpathdirs $dir"
42525                       fi
42526                                                                   haveit=
42527                       for x in $ltrpathdirs; do
42528                         if test "X$x" = "X$dir"; then
42529                           haveit=yes
42530                           break
42531                         fi
42532                       done
42533                       if test -z "$haveit"; then
42534                         ltrpathdirs="$ltrpathdirs $dir"
42535                       fi
42536                     fi
42537                     ;;
42538                   -l*)
42539                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
42540                     ;;
42541                   *.la)
42542                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
42543                     ;;
42544                   *)
42545                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
42546                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
42547                     ;;
42548                 esac
42549               done
42550             fi
42551           else
42552                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
42553             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
42554           fi
42555         fi
42556       fi
42557     done
42558   done
42559   if test "X$rpathdirs" != "X"; then
42560     if test -n "$hardcode_libdir_separator"; then
42561                         alldirs=
42562       for found_dir in $rpathdirs; do
42563         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
42564       done
42565             acl_save_libdir="$libdir"
42566       libdir="$alldirs"
42567       eval flag=\"$hardcode_libdir_flag_spec\"
42568       libdir="$acl_save_libdir"
42569       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42570     else
42571             for found_dir in $rpathdirs; do
42572         acl_save_libdir="$libdir"
42573         libdir="$found_dir"
42574         eval flag=\"$hardcode_libdir_flag_spec\"
42575         libdir="$acl_save_libdir"
42576         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
42577       done
42578     fi
42579   fi
42580   if test "X$ltrpathdirs" != "X"; then
42581             for found_dir in $ltrpathdirs; do
42582       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
42583     done
42584   fi
42585
42586
42587
42588
42589
42590
42591
42592           am_save_CPPFLAGS="$CPPFLAGS"
42593
42594   for element in $INCICONV; do
42595     haveit=
42596     for x in $CPPFLAGS; do
42597
42598   acl_save_prefix="$prefix"
42599   prefix="$acl_final_prefix"
42600   acl_save_exec_prefix="$exec_prefix"
42601   exec_prefix="$acl_final_exec_prefix"
42602   eval x=\"$x\"
42603   exec_prefix="$acl_save_exec_prefix"
42604   prefix="$acl_save_prefix"
42605
42606       if test "X$x" = "X$element"; then
42607         haveit=yes
42608         break
42609       fi
42610     done
42611     if test -z "$haveit"; then
42612       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
42613     fi
42614   done
42615
42616
42617   echo "$as_me:$LINENO: checking for iconv" >&5
42618 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
42619 if test "${am_cv_func_iconv+set}" = set; then
42620   echo $ECHO_N "(cached) $ECHO_C" >&6
42621 else
42622
42623     am_cv_func_iconv="no, consider installing GNU libiconv"
42624     am_cv_lib_iconv=no
42625     if test x$gcc_no_link = xyes; then
42626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42628    { (exit 1); exit 1; }; }
42629 fi
42630 cat >conftest.$ac_ext <<_ACEOF
42631 /* confdefs.h.  */
42632 _ACEOF
42633 cat confdefs.h >>conftest.$ac_ext
42634 cat >>conftest.$ac_ext <<_ACEOF
42635 /* end confdefs.h.  */
42636 #include <stdlib.h>
42637 #include <iconv.h>
42638 int
42639 main ()
42640 {
42641 iconv_t cd = iconv_open("","");
42642        iconv(cd,NULL,NULL,NULL,NULL);
42643        iconv_close(cd);
42644   ;
42645   return 0;
42646 }
42647 _ACEOF
42648 rm -f conftest.$ac_objext conftest$ac_exeext
42649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42650   (eval $ac_link) 2>conftest.er1
42651   ac_status=$?
42652   grep -v '^ *+' conftest.er1 >conftest.err
42653   rm -f conftest.er1
42654   cat conftest.err >&5
42655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42656   (exit $ac_status); } &&
42657          { ac_try='test -z "$ac_c_werror_flag"
42658                          || test ! -s conftest.err'
42659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42660   (eval $ac_try) 2>&5
42661   ac_status=$?
42662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42663   (exit $ac_status); }; } &&
42664          { ac_try='test -s conftest$ac_exeext'
42665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42666   (eval $ac_try) 2>&5
42667   ac_status=$?
42668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42669   (exit $ac_status); }; }; then
42670   am_cv_func_iconv=yes
42671 else
42672   echo "$as_me: failed program was:" >&5
42673 sed 's/^/| /' conftest.$ac_ext >&5
42674
42675 fi
42676 rm -f conftest.err conftest.$ac_objext \
42677       conftest$ac_exeext conftest.$ac_ext
42678     if test "$am_cv_func_iconv" != yes; then
42679       am_save_LIBS="$LIBS"
42680       LIBS="$LIBS $LIBICONV"
42681       if test x$gcc_no_link = xyes; then
42682   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42684    { (exit 1); exit 1; }; }
42685 fi
42686 cat >conftest.$ac_ext <<_ACEOF
42687 /* confdefs.h.  */
42688 _ACEOF
42689 cat confdefs.h >>conftest.$ac_ext
42690 cat >>conftest.$ac_ext <<_ACEOF
42691 /* end confdefs.h.  */
42692 #include <stdlib.h>
42693 #include <iconv.h>
42694 int
42695 main ()
42696 {
42697 iconv_t cd = iconv_open("","");
42698          iconv(cd,NULL,NULL,NULL,NULL);
42699          iconv_close(cd);
42700   ;
42701   return 0;
42702 }
42703 _ACEOF
42704 rm -f conftest.$ac_objext conftest$ac_exeext
42705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42706   (eval $ac_link) 2>conftest.er1
42707   ac_status=$?
42708   grep -v '^ *+' conftest.er1 >conftest.err
42709   rm -f conftest.er1
42710   cat conftest.err >&5
42711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42712   (exit $ac_status); } &&
42713          { ac_try='test -z "$ac_c_werror_flag"
42714                          || test ! -s conftest.err'
42715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42716   (eval $ac_try) 2>&5
42717   ac_status=$?
42718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42719   (exit $ac_status); }; } &&
42720          { ac_try='test -s conftest$ac_exeext'
42721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42722   (eval $ac_try) 2>&5
42723   ac_status=$?
42724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42725   (exit $ac_status); }; }; then
42726   am_cv_lib_iconv=yes
42727         am_cv_func_iconv=yes
42728 else
42729   echo "$as_me: failed program was:" >&5
42730 sed 's/^/| /' conftest.$ac_ext >&5
42731
42732 fi
42733 rm -f conftest.err conftest.$ac_objext \
42734       conftest$ac_exeext conftest.$ac_ext
42735       LIBS="$am_save_LIBS"
42736     fi
42737
42738 fi
42739 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42740 echo "${ECHO_T}$am_cv_func_iconv" >&6
42741   if test "$am_cv_func_iconv" = yes; then
42742
42743 cat >>confdefs.h <<\_ACEOF
42744 #define HAVE_ICONV 1
42745 _ACEOF
42746
42747   fi
42748   if test "$am_cv_lib_iconv" = yes; then
42749     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42750 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42751     echo "$as_me:$LINENO: result: $LIBICONV" >&5
42752 echo "${ECHO_T}$LIBICONV" >&6
42753   else
42754             CPPFLAGS="$am_save_CPPFLAGS"
42755     LIBICONV=
42756     LTLIBICONV=
42757   fi
42758
42759
42760
42761   if test "$am_cv_func_iconv" = yes; then
42762     echo "$as_me:$LINENO: checking for iconv declaration" >&5
42763 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42764     if test "${am_cv_proto_iconv+set}" = set; then
42765   echo $ECHO_N "(cached) $ECHO_C" >&6
42766 else
42767
42768       cat >conftest.$ac_ext <<_ACEOF
42769 /* confdefs.h.  */
42770 _ACEOF
42771 cat confdefs.h >>conftest.$ac_ext
42772 cat >>conftest.$ac_ext <<_ACEOF
42773 /* end confdefs.h.  */
42774
42775 #include <stdlib.h>
42776 #include <iconv.h>
42777 extern
42778 #ifdef __cplusplus
42779 "C"
42780 #endif
42781 #if defined(__STDC__) || defined(__cplusplus)
42782 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42783 #else
42784 size_t iconv();
42785 #endif
42786
42787 int
42788 main ()
42789 {
42790
42791   ;
42792   return 0;
42793 }
42794 _ACEOF
42795 rm -f conftest.$ac_objext
42796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42797   (eval $ac_compile) 2>conftest.er1
42798   ac_status=$?
42799   grep -v '^ *+' conftest.er1 >conftest.err
42800   rm -f conftest.er1
42801   cat conftest.err >&5
42802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42803   (exit $ac_status); } &&
42804          { ac_try='test -z "$ac_c_werror_flag"
42805                          || test ! -s conftest.err'
42806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42807   (eval $ac_try) 2>&5
42808   ac_status=$?
42809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42810   (exit $ac_status); }; } &&
42811          { ac_try='test -s conftest.$ac_objext'
42812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42813   (eval $ac_try) 2>&5
42814   ac_status=$?
42815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42816   (exit $ac_status); }; }; then
42817   am_cv_proto_iconv_arg1=""
42818 else
42819   echo "$as_me: failed program was:" >&5
42820 sed 's/^/| /' conftest.$ac_ext >&5
42821
42822 am_cv_proto_iconv_arg1="const"
42823 fi
42824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42825       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
42826 fi
42827
42828     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42829     echo "$as_me:$LINENO: result: ${ac_t:-
42830          }$am_cv_proto_iconv" >&5
42831 echo "${ECHO_T}${ac_t:-
42832          }$am_cv_proto_iconv" >&6
42833
42834 cat >>confdefs.h <<_ACEOF
42835 #define ICONV_CONST $am_cv_proto_iconv_arg1
42836 _ACEOF
42837
42838   fi
42839
42840
42841 else
42842
42843   # This lets us hard-code the functionality we know we'll have in the cross
42844   # target environment.  "Let" is a sugar-coated word placed on an especially
42845   # dull and tedious hack, actually.
42846   #
42847   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42848   # that involve linking, can't be used:
42849   #    "cannot open sim-crt0.o"
42850   #    "cannot open crt0.o"
42851   # etc.  All this is because there currently exists no unified, consistent
42852   # way for top level CC information to be passed down to target directories:
42853   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42854   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42855   # crosses can be removed.
42856
42857   # If Canadian cross, then don't pick up tools from the build directory.
42858   # Used only in GLIBCXX_EXPORT_INCLUDES.
42859   if test -n "$with_cross_host" &&
42860      test x"$build_alias" != x"$with_cross_host" &&
42861      test x"$build" != x"$target";
42862   then
42863     CANADIAN=yes
42864   else
42865     CANADIAN=no
42866   fi
42867
42868   # Construct crosses by hand, eliminating bits that need ld...
42869   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
42870   # GLIBCXX_CHECK_MATH_SUPPORT
42871
42872   # First, test for "known" system libraries.  We may be using newlib even
42873   # on a hosted environment.
42874   if test "x${with_newlib}" = "xyes"; then
42875     os_include_dir="os/newlib"
42876     cat >>confdefs.h <<\_ACEOF
42877 #define HAVE_HYPOT 1
42878 _ACEOF
42879
42880
42881     # GLIBCXX_CHECK_STDLIB_SUPPORT
42882     cat >>confdefs.h <<\_ACEOF
42883 #define HAVE_STRTOF 1
42884 _ACEOF
42885
42886     # AC_FUNC_MMAP
42887     cat >>confdefs.h <<\_ACEOF
42888 #define HAVE_MMAP 1
42889 _ACEOF
42890
42891
42892     cat >>confdefs.h <<\_ACEOF
42893 #define HAVE_ACOSF 1
42894 _ACEOF
42895
42896     cat >>confdefs.h <<\_ACEOF
42897 #define HAVE_ASINF 1
42898 _ACEOF
42899
42900     cat >>confdefs.h <<\_ACEOF
42901 #define HAVE_ATAN2F 1
42902 _ACEOF
42903
42904     cat >>confdefs.h <<\_ACEOF
42905 #define HAVE_ATANF 1
42906 _ACEOF
42907
42908     cat >>confdefs.h <<\_ACEOF
42909 #define HAVE_CEILF 1
42910 _ACEOF
42911
42912     cat >>confdefs.h <<\_ACEOF
42913 #define HAVE_COPYSIGN 1
42914 _ACEOF
42915
42916     cat >>confdefs.h <<\_ACEOF
42917 #define HAVE_COPYSIGNF 1
42918 _ACEOF
42919
42920     cat >>confdefs.h <<\_ACEOF
42921 #define HAVE_COSF 1
42922 _ACEOF
42923
42924     cat >>confdefs.h <<\_ACEOF
42925 #define HAVE_COSHF 1
42926 _ACEOF
42927
42928     cat >>confdefs.h <<\_ACEOF
42929 #define HAVE_EXPF 1
42930 _ACEOF
42931
42932     cat >>confdefs.h <<\_ACEOF
42933 #define HAVE_FABSF 1
42934 _ACEOF
42935
42936     cat >>confdefs.h <<\_ACEOF
42937 #define HAVE_FLOORF 1
42938 _ACEOF
42939
42940     cat >>confdefs.h <<\_ACEOF
42941 #define HAVE_FMODF 1
42942 _ACEOF
42943
42944     cat >>confdefs.h <<\_ACEOF
42945 #define HAVE_FREXPF 1
42946 _ACEOF
42947
42948     cat >>confdefs.h <<\_ACEOF
42949 #define HAVE_LDEXPF 1
42950 _ACEOF
42951
42952     cat >>confdefs.h <<\_ACEOF
42953 #define HAVE_LOG10F 1
42954 _ACEOF
42955
42956     cat >>confdefs.h <<\_ACEOF
42957 #define HAVE_LOGF 1
42958 _ACEOF
42959
42960     cat >>confdefs.h <<\_ACEOF
42961 #define HAVE_MODFF 1
42962 _ACEOF
42963
42964     cat >>confdefs.h <<\_ACEOF
42965 #define HAVE_POWF 1
42966 _ACEOF
42967
42968     cat >>confdefs.h <<\_ACEOF
42969 #define HAVE_SINF 1
42970 _ACEOF
42971
42972     cat >>confdefs.h <<\_ACEOF
42973 #define HAVE_SINHF 1
42974 _ACEOF
42975
42976     cat >>confdefs.h <<\_ACEOF
42977 #define HAVE_SQRTF 1
42978 _ACEOF
42979
42980     cat >>confdefs.h <<\_ACEOF
42981 #define HAVE_TANF 1
42982 _ACEOF
42983
42984     cat >>confdefs.h <<\_ACEOF
42985 #define HAVE_TANHF 1
42986 _ACEOF
42987
42988
42989     cat >>confdefs.h <<\_ACEOF
42990 #define HAVE_S_ISREG 1
42991 _ACEOF
42992
42993     cat >>confdefs.h <<\_ACEOF
42994 #define HAVE_S_IFREG 1
42995 _ACEOF
42996
42997
42998     cat >>confdefs.h <<\_ACEOF
42999 #define HAVE_ICONV 1
43000 _ACEOF
43001
43002   else
43003
43004 # Base decisions on target environment.
43005 case "${host}" in
43006   arm*-*-symbianelf*)
43007     # This is a freestanding configuration; there is nothing to do here.
43008     ;;
43009
43010   mips*-sde-elf*)
43011     # These definitions are for the SDE C library rather than newlib.
43012
43013
43014
43015
43016
43017
43018
43019
43020
43021
43022
43023
43024
43025
43026
43027 for ac_header in float.h inttypes.h locale.h \
43028       stdint.h stdlib.h string.h unistd.h wchar.h \
43029       machine/endian.h sys/ioctl.h sys/resource.h \
43030       sys/stat.h sys/time.h sys/types.h sys/uio.h
43031 do
43032 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43034   echo "$as_me:$LINENO: checking for $ac_header" >&5
43035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43037   echo $ECHO_N "(cached) $ECHO_C" >&6
43038 fi
43039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43041 else
43042   # Is the header compilable?
43043 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43044 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43045 cat >conftest.$ac_ext <<_ACEOF
43046 /* confdefs.h.  */
43047 _ACEOF
43048 cat confdefs.h >>conftest.$ac_ext
43049 cat >>conftest.$ac_ext <<_ACEOF
43050 /* end confdefs.h.  */
43051 $ac_includes_default
43052 #include <$ac_header>
43053 _ACEOF
43054 rm -f conftest.$ac_objext
43055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43056   (eval $ac_compile) 2>conftest.er1
43057   ac_status=$?
43058   grep -v '^ *+' conftest.er1 >conftest.err
43059   rm -f conftest.er1
43060   cat conftest.err >&5
43061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43062   (exit $ac_status); } &&
43063          { ac_try='test -z "$ac_c_werror_flag"
43064                          || test ! -s conftest.err'
43065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43066   (eval $ac_try) 2>&5
43067   ac_status=$?
43068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43069   (exit $ac_status); }; } &&
43070          { ac_try='test -s conftest.$ac_objext'
43071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43072   (eval $ac_try) 2>&5
43073   ac_status=$?
43074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43075   (exit $ac_status); }; }; then
43076   ac_header_compiler=yes
43077 else
43078   echo "$as_me: failed program was:" >&5
43079 sed 's/^/| /' conftest.$ac_ext >&5
43080
43081 ac_header_compiler=no
43082 fi
43083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43084 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43085 echo "${ECHO_T}$ac_header_compiler" >&6
43086
43087 # Is the header present?
43088 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43089 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43090 cat >conftest.$ac_ext <<_ACEOF
43091 /* confdefs.h.  */
43092 _ACEOF
43093 cat confdefs.h >>conftest.$ac_ext
43094 cat >>conftest.$ac_ext <<_ACEOF
43095 /* end confdefs.h.  */
43096 #include <$ac_header>
43097 _ACEOF
43098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43099   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43100   ac_status=$?
43101   grep -v '^ *+' conftest.er1 >conftest.err
43102   rm -f conftest.er1
43103   cat conftest.err >&5
43104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43105   (exit $ac_status); } >/dev/null; then
43106   if test -s conftest.err; then
43107     ac_cpp_err=$ac_c_preproc_warn_flag
43108     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
43109   else
43110     ac_cpp_err=
43111   fi
43112 else
43113   ac_cpp_err=yes
43114 fi
43115 if test -z "$ac_cpp_err"; then
43116   ac_header_preproc=yes
43117 else
43118   echo "$as_me: failed program was:" >&5
43119 sed 's/^/| /' conftest.$ac_ext >&5
43120
43121   ac_header_preproc=no
43122 fi
43123 rm -f conftest.err conftest.$ac_ext
43124 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43125 echo "${ECHO_T}$ac_header_preproc" >&6
43126
43127 # So?  What about this header?
43128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
43129   yes:no: )
43130     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
43131 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
43132     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
43133 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
43134     ac_header_preproc=yes
43135     ;;
43136   no:yes:* )
43137     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
43138 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
43139     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
43140 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
43141     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
43142 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
43143     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
43144 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
43145     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
43146 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
43147     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
43148 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
43149     (
43150       cat <<\_ASBOX
43151 ## ----------------------------------------- ##
43152 ## Report this to the package-unused lists.  ##
43153 ## ----------------------------------------- ##
43154 _ASBOX
43155     ) |
43156       sed "s/^/$as_me: WARNING:     /" >&2
43157     ;;
43158 esac
43159 echo "$as_me:$LINENO: checking for $ac_header" >&5
43160 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43162   echo $ECHO_N "(cached) $ECHO_C" >&6
43163 else
43164   eval "$as_ac_Header=\$ac_header_preproc"
43165 fi
43166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43168
43169 fi
43170 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43171   cat >>confdefs.h <<_ACEOF
43172 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43173 _ACEOF
43174
43175 fi
43176
43177 done
43178
43179     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43180
43181
43182   # All these tests are for C++; save the language and the compiler flags.
43183   # The CXXFLAGS thing is suspicious, but based on similar bits previously
43184   # found in GLIBCXX_CONFIGURE.
43185
43186
43187   ac_ext=cc
43188 ac_cpp='$CXXCPP $CPPFLAGS'
43189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43192
43193   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43194   ac_save_CXXFLAGS="$CXXFLAGS"
43195
43196   # Check for maintainer-mode bits.
43197   if test x"$USE_MAINTAINER_MODE" = xno; then
43198     WERROR=''
43199   else
43200     WERROR='-Werror'
43201   fi
43202
43203   # Check for -ffunction-sections -fdata-sections
43204   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
43205 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
43206   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
43207   cat >conftest.$ac_ext <<_ACEOF
43208 /* confdefs.h.  */
43209 _ACEOF
43210 cat confdefs.h >>conftest.$ac_ext
43211 cat >>conftest.$ac_ext <<_ACEOF
43212 /* end confdefs.h.  */
43213 int foo; void bar() { };
43214 int
43215 main ()
43216 {
43217
43218   ;
43219   return 0;
43220 }
43221 _ACEOF
43222 rm -f conftest.$ac_objext
43223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43224   (eval $ac_compile) 2>conftest.er1
43225   ac_status=$?
43226   grep -v '^ *+' conftest.er1 >conftest.err
43227   rm -f conftest.er1
43228   cat conftest.err >&5
43229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43230   (exit $ac_status); } &&
43231          { ac_try='test -z "$ac_cxx_werror_flag"
43232                          || test ! -s conftest.err'
43233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43234   (eval $ac_try) 2>&5
43235   ac_status=$?
43236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43237   (exit $ac_status); }; } &&
43238          { ac_try='test -s conftest.$ac_objext'
43239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43240   (eval $ac_try) 2>&5
43241   ac_status=$?
43242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43243   (exit $ac_status); }; }; then
43244   ac_fdsections=yes
43245 else
43246   echo "$as_me: failed program was:" >&5
43247 sed 's/^/| /' conftest.$ac_ext >&5
43248
43249 ac_fdsections=no
43250 fi
43251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43252   if test "$ac_test_CXXFLAGS" = set; then
43253     CXXFLAGS="$ac_save_CXXFLAGS"
43254   else
43255     # this is the suspicious part
43256     CXXFLAGS=''
43257   fi
43258   if test x"$ac_fdsections" = x"yes"; then
43259     SECTION_FLAGS='-ffunction-sections -fdata-sections'
43260   fi
43261   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
43262 echo "${ECHO_T}$ac_fdsections" >&6
43263
43264   ac_ext=c
43265 ac_cpp='$CPP $CPPFLAGS'
43266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43269
43270
43271
43272
43273
43274   # If we're not using GNU ld, then there's no point in even trying these
43275   # tests.  Check for that first.  We should have already tested for gld
43276   # by now (in libtool), but require it now just to be safe...
43277   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43278   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43279
43280
43281
43282   # The name set by libtool depends on the version of libtool.  Shame on us
43283   # for depending on an impl detail, but c'est la vie.  Older versions used
43284   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43285   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43286   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
43287   # set (hence we're using an older libtool), then set it.
43288   if test x${with_gnu_ld+set} != xset; then
43289     if test x${ac_cv_prog_gnu_ld+set} != xset; then
43290       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
43291       with_gnu_ld=no
43292     else
43293       with_gnu_ld=$ac_cv_prog_gnu_ld
43294     fi
43295   fi
43296
43297   # Start by getting the version number.  I think the libtool test already
43298   # does some of this, but throws away the result.
43299   glibcxx_ld_is_gold=no
43300   if test x"$with_gnu_ld" = x"yes"; then
43301     echo "$as_me:$LINENO: checking for ld version" >&5
43302 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
43303
43304     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43305       glibcxx_ld_is_gold=yes
43306     fi
43307     ldver=`$LD --version 2>/dev/null | head -1 | \
43308            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
43309
43310     glibcxx_gnu_ld_version=`echo $ldver | \
43311            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43312     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
43313 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
43314   fi
43315
43316   # Set --gc-sections.
43317   glibcxx_have_gc_sections=no
43318   if test "$glibcxx_ld_is_gold" = "yes"; then
43319     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43320       glibcxx_have_gc_sections=yes
43321     fi
43322   else
43323     glibcxx_gcsections_min_ld=21602
43324     if test x"$with_gnu_ld" = x"yes" &&
43325         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43326       glibcxx_have_gc_sections=yes
43327     fi
43328   fi
43329   if test "$glibcxx_have_gc_sections" = "yes"; then
43330     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
43331     # NB: This flag only works reliably after 2.16.1. Configure tests
43332     # for this are difficult, so hard wire a value that should work.
43333
43334     ac_test_CFLAGS="${CFLAGS+set}"
43335     ac_save_CFLAGS="$CFLAGS"
43336     CFLAGS='-Wl,--gc-sections'
43337
43338     # Check for -Wl,--gc-sections
43339     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
43340 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
43341     if test x$gcc_no_link = xyes; then
43342   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43344    { (exit 1); exit 1; }; }
43345 fi
43346 cat >conftest.$ac_ext <<_ACEOF
43347 /* confdefs.h.  */
43348 _ACEOF
43349 cat confdefs.h >>conftest.$ac_ext
43350 cat >>conftest.$ac_ext <<_ACEOF
43351 /* end confdefs.h.  */
43352  int one(void) { return 1; }
43353      int two(void) { return 2; }
43354
43355 int
43356 main ()
43357 {
43358  two();
43359   ;
43360   return 0;
43361 }
43362 _ACEOF
43363 rm -f conftest.$ac_objext conftest$ac_exeext
43364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43365   (eval $ac_link) 2>conftest.er1
43366   ac_status=$?
43367   grep -v '^ *+' conftest.er1 >conftest.err
43368   rm -f conftest.er1
43369   cat conftest.err >&5
43370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43371   (exit $ac_status); } &&
43372          { ac_try='test -z "$ac_c_werror_flag"
43373                          || test ! -s conftest.err'
43374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43375   (eval $ac_try) 2>&5
43376   ac_status=$?
43377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43378   (exit $ac_status); }; } &&
43379          { ac_try='test -s conftest$ac_exeext'
43380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43381   (eval $ac_try) 2>&5
43382   ac_status=$?
43383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43384   (exit $ac_status); }; }; then
43385   ac_gcsections=yes
43386 else
43387   echo "$as_me: failed program was:" >&5
43388 sed 's/^/| /' conftest.$ac_ext >&5
43389
43390 ac_gcsections=no
43391 fi
43392 rm -f conftest.err conftest.$ac_objext \
43393       conftest$ac_exeext conftest.$ac_ext
43394     if test "$ac_gcsections" = "yes"; then
43395       rm -f conftest.c
43396       touch conftest.c
43397       if $CC -c conftest.c; then
43398         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43399            grep "Warning: gc-sections option ignored" > /dev/null; then
43400           ac_gcsections=no
43401         fi
43402       fi
43403       rm -f conftest.c conftest.o conftest
43404     fi
43405     if test "$ac_gcsections" = "yes"; then
43406       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43407     fi
43408     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
43409 echo "${ECHO_T}$ac_gcsections" >&6
43410
43411     if test "$ac_test_CFLAGS" = set; then
43412       CFLAGS="$ac_save_CFLAGS"
43413     else
43414       # this is the suspicious part
43415       CFLAGS=''
43416     fi
43417   fi
43418
43419   # Set -z,relro.
43420   # Note this is only for shared objects.
43421   ac_ld_relro=no
43422   if test x"$with_gnu_ld" = x"yes"; then
43423     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
43424 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
43425     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43426     if test -n "$cxx_z_relo"; then
43427       OPT_LDFLAGS="-Wl,-z,relro"
43428       ac_ld_relro=yes
43429     fi
43430     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
43431 echo "${ECHO_T}$ac_ld_relro" >&6
43432   fi
43433
43434   # Set linker optimization flags.
43435   if test x"$with_gnu_ld" = x"yes"; then
43436     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43437   fi
43438
43439
43440
43441
43442
43443   ac_test_CXXFLAGS="${CXXFLAGS+set}"
43444   ac_save_CXXFLAGS="$CXXFLAGS"
43445   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43446
43447     echo "$as_me:$LINENO: checking for sin in -lm" >&5
43448 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
43449 if test "${ac_cv_lib_m_sin+set}" = set; then
43450   echo $ECHO_N "(cached) $ECHO_C" >&6
43451 else
43452   ac_check_lib_save_LIBS=$LIBS
43453 LIBS="-lm  $LIBS"
43454 if test x$gcc_no_link = xyes; then
43455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43457    { (exit 1); exit 1; }; }
43458 fi
43459 cat >conftest.$ac_ext <<_ACEOF
43460 /* confdefs.h.  */
43461 _ACEOF
43462 cat confdefs.h >>conftest.$ac_ext
43463 cat >>conftest.$ac_ext <<_ACEOF
43464 /* end confdefs.h.  */
43465
43466 /* Override any gcc2 internal prototype to avoid an error.  */
43467 #ifdef __cplusplus
43468 extern "C"
43469 #endif
43470 /* We use char because int might match the return type of a gcc2
43471    builtin and then its argument prototype would still apply.  */
43472 char sin ();
43473 int
43474 main ()
43475 {
43476 sin ();
43477   ;
43478   return 0;
43479 }
43480 _ACEOF
43481 rm -f conftest.$ac_objext conftest$ac_exeext
43482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43483   (eval $ac_link) 2>conftest.er1
43484   ac_status=$?
43485   grep -v '^ *+' conftest.er1 >conftest.err
43486   rm -f conftest.er1
43487   cat conftest.err >&5
43488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43489   (exit $ac_status); } &&
43490          { ac_try='test -z "$ac_c_werror_flag"
43491                          || test ! -s conftest.err'
43492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43493   (eval $ac_try) 2>&5
43494   ac_status=$?
43495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43496   (exit $ac_status); }; } &&
43497          { ac_try='test -s conftest$ac_exeext'
43498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43499   (eval $ac_try) 2>&5
43500   ac_status=$?
43501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43502   (exit $ac_status); }; }; then
43503   ac_cv_lib_m_sin=yes
43504 else
43505   echo "$as_me: failed program was:" >&5
43506 sed 's/^/| /' conftest.$ac_ext >&5
43507
43508 ac_cv_lib_m_sin=no
43509 fi
43510 rm -f conftest.err conftest.$ac_objext \
43511       conftest$ac_exeext conftest.$ac_ext
43512 LIBS=$ac_check_lib_save_LIBS
43513 fi
43514 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
43515 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
43516 if test $ac_cv_lib_m_sin = yes; then
43517   libm="-lm"
43518 fi
43519
43520   ac_save_LIBS="$LIBS"
43521   LIBS="$LIBS $libm"
43522
43523
43524
43525   echo "$as_me:$LINENO: checking for isinf declaration" >&5
43526 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
43527   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
43528     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
43529   echo $ECHO_N "(cached) $ECHO_C" >&6
43530 else
43531
43532
43533
43534       ac_ext=cc
43535 ac_cpp='$CXXCPP $CPPFLAGS'
43536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43539
43540       cat >conftest.$ac_ext <<_ACEOF
43541 /* confdefs.h.  */
43542 _ACEOF
43543 cat confdefs.h >>conftest.$ac_ext
43544 cat >>conftest.$ac_ext <<_ACEOF
43545 /* end confdefs.h.  */
43546 #include <math.h>
43547                       #ifdef HAVE_IEEEFP_H
43548                       #include <ieeefp.h>
43549                       #endif
43550
43551 int
43552 main ()
43553 {
43554  isinf(0);
43555   ;
43556   return 0;
43557 }
43558 _ACEOF
43559 rm -f conftest.$ac_objext
43560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43561   (eval $ac_compile) 2>conftest.er1
43562   ac_status=$?
43563   grep -v '^ *+' conftest.er1 >conftest.err
43564   rm -f conftest.er1
43565   cat conftest.err >&5
43566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43567   (exit $ac_status); } &&
43568          { ac_try='test -z "$ac_cxx_werror_flag"
43569                          || test ! -s conftest.err'
43570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43571   (eval $ac_try) 2>&5
43572   ac_status=$?
43573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43574   (exit $ac_status); }; } &&
43575          { ac_try='test -s conftest.$ac_objext'
43576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43577   (eval $ac_try) 2>&5
43578   ac_status=$?
43579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43580   (exit $ac_status); }; }; then
43581   glibcxx_cv_func_isinf_use=yes
43582 else
43583   echo "$as_me: failed program was:" >&5
43584 sed 's/^/| /' conftest.$ac_ext >&5
43585
43586 glibcxx_cv_func_isinf_use=no
43587 fi
43588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43589       ac_ext=c
43590 ac_cpp='$CPP $CPPFLAGS'
43591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43594
43595
43596 fi
43597
43598   fi
43599   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
43600 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
43601
43602   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
43603
43604 for ac_func in isinf
43605 do
43606 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43607 echo "$as_me:$LINENO: checking for $ac_func" >&5
43608 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43609 if eval "test \"\${$as_ac_var+set}\" = set"; then
43610   echo $ECHO_N "(cached) $ECHO_C" >&6
43611 else
43612   if test x$gcc_no_link = xyes; then
43613   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43615    { (exit 1); exit 1; }; }
43616 fi
43617 cat >conftest.$ac_ext <<_ACEOF
43618 /* confdefs.h.  */
43619 _ACEOF
43620 cat confdefs.h >>conftest.$ac_ext
43621 cat >>conftest.$ac_ext <<_ACEOF
43622 /* end confdefs.h.  */
43623 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43624    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43625 #define $ac_func innocuous_$ac_func
43626
43627 /* System header to define __stub macros and hopefully few prototypes,
43628     which can conflict with char $ac_func (); below.
43629     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43630     <limits.h> exists even on freestanding compilers.  */
43631
43632 #ifdef __STDC__
43633 # include <limits.h>
43634 #else
43635 # include <assert.h>
43636 #endif
43637
43638 #undef $ac_func
43639
43640 /* Override any gcc2 internal prototype to avoid an error.  */
43641 #ifdef __cplusplus
43642 extern "C"
43643 {
43644 #endif
43645 /* We use char because int might match the return type of a gcc2
43646    builtin and then its argument prototype would still apply.  */
43647 char $ac_func ();
43648 /* The GNU C library defines this for functions which it implements
43649     to always fail with ENOSYS.  Some functions are actually named
43650     something starting with __ and the normal name is an alias.  */
43651 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43652 choke me
43653 #else
43654 char (*f) () = $ac_func;
43655 #endif
43656 #ifdef __cplusplus
43657 }
43658 #endif
43659
43660 int
43661 main ()
43662 {
43663 return f != $ac_func;
43664   ;
43665   return 0;
43666 }
43667 _ACEOF
43668 rm -f conftest.$ac_objext conftest$ac_exeext
43669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43670   (eval $ac_link) 2>conftest.er1
43671   ac_status=$?
43672   grep -v '^ *+' conftest.er1 >conftest.err
43673   rm -f conftest.er1
43674   cat conftest.err >&5
43675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43676   (exit $ac_status); } &&
43677          { ac_try='test -z "$ac_c_werror_flag"
43678                          || test ! -s conftest.err'
43679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43680   (eval $ac_try) 2>&5
43681   ac_status=$?
43682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43683   (exit $ac_status); }; } &&
43684          { ac_try='test -s conftest$ac_exeext'
43685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43686   (eval $ac_try) 2>&5
43687   ac_status=$?
43688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43689   (exit $ac_status); }; }; then
43690   eval "$as_ac_var=yes"
43691 else
43692   echo "$as_me: failed program was:" >&5
43693 sed 's/^/| /' conftest.$ac_ext >&5
43694
43695 eval "$as_ac_var=no"
43696 fi
43697 rm -f conftest.err conftest.$ac_objext \
43698       conftest$ac_exeext conftest.$ac_ext
43699 fi
43700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43701 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43702 if test `eval echo '${'$as_ac_var'}'` = yes; then
43703   cat >>confdefs.h <<_ACEOF
43704 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43705 _ACEOF
43706
43707 fi
43708 done
43709
43710   else
43711
43712   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
43713 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
43714   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
43715     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
43716   echo $ECHO_N "(cached) $ECHO_C" >&6
43717 else
43718
43719
43720
43721       ac_ext=cc
43722 ac_cpp='$CXXCPP $CPPFLAGS'
43723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43726
43727       cat >conftest.$ac_ext <<_ACEOF
43728 /* confdefs.h.  */
43729 _ACEOF
43730 cat confdefs.h >>conftest.$ac_ext
43731 cat >>conftest.$ac_ext <<_ACEOF
43732 /* end confdefs.h.  */
43733 #include <math.h>
43734                       #ifdef HAVE_IEEEFP_H
43735                       #include <ieeefp.h>
43736                       #endif
43737
43738 int
43739 main ()
43740 {
43741  _isinf(0);
43742   ;
43743   return 0;
43744 }
43745 _ACEOF
43746 rm -f conftest.$ac_objext
43747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43748   (eval $ac_compile) 2>conftest.er1
43749   ac_status=$?
43750   grep -v '^ *+' conftest.er1 >conftest.err
43751   rm -f conftest.er1
43752   cat conftest.err >&5
43753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43754   (exit $ac_status); } &&
43755          { ac_try='test -z "$ac_cxx_werror_flag"
43756                          || test ! -s conftest.err'
43757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43758   (eval $ac_try) 2>&5
43759   ac_status=$?
43760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43761   (exit $ac_status); }; } &&
43762          { ac_try='test -s conftest.$ac_objext'
43763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43764   (eval $ac_try) 2>&5
43765   ac_status=$?
43766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43767   (exit $ac_status); }; }; then
43768   glibcxx_cv_func__isinf_use=yes
43769 else
43770   echo "$as_me: failed program was:" >&5
43771 sed 's/^/| /' conftest.$ac_ext >&5
43772
43773 glibcxx_cv_func__isinf_use=no
43774 fi
43775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43776       ac_ext=c
43777 ac_cpp='$CPP $CPPFLAGS'
43778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43781
43782
43783 fi
43784
43785   fi
43786   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
43787 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
43788
43789     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
43790
43791 for ac_func in _isinf
43792 do
43793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43794 echo "$as_me:$LINENO: checking for $ac_func" >&5
43795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43796 if eval "test \"\${$as_ac_var+set}\" = set"; then
43797   echo $ECHO_N "(cached) $ECHO_C" >&6
43798 else
43799   if test x$gcc_no_link = xyes; then
43800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43802    { (exit 1); exit 1; }; }
43803 fi
43804 cat >conftest.$ac_ext <<_ACEOF
43805 /* confdefs.h.  */
43806 _ACEOF
43807 cat confdefs.h >>conftest.$ac_ext
43808 cat >>conftest.$ac_ext <<_ACEOF
43809 /* end confdefs.h.  */
43810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43811    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43812 #define $ac_func innocuous_$ac_func
43813
43814 /* System header to define __stub macros and hopefully few prototypes,
43815     which can conflict with char $ac_func (); below.
43816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43817     <limits.h> exists even on freestanding compilers.  */
43818
43819 #ifdef __STDC__
43820 # include <limits.h>
43821 #else
43822 # include <assert.h>
43823 #endif
43824
43825 #undef $ac_func
43826
43827 /* Override any gcc2 internal prototype to avoid an error.  */
43828 #ifdef __cplusplus
43829 extern "C"
43830 {
43831 #endif
43832 /* We use char because int might match the return type of a gcc2
43833    builtin and then its argument prototype would still apply.  */
43834 char $ac_func ();
43835 /* The GNU C library defines this for functions which it implements
43836     to always fail with ENOSYS.  Some functions are actually named
43837     something starting with __ and the normal name is an alias.  */
43838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43839 choke me
43840 #else
43841 char (*f) () = $ac_func;
43842 #endif
43843 #ifdef __cplusplus
43844 }
43845 #endif
43846
43847 int
43848 main ()
43849 {
43850 return f != $ac_func;
43851   ;
43852   return 0;
43853 }
43854 _ACEOF
43855 rm -f conftest.$ac_objext conftest$ac_exeext
43856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43857   (eval $ac_link) 2>conftest.er1
43858   ac_status=$?
43859   grep -v '^ *+' conftest.er1 >conftest.err
43860   rm -f conftest.er1
43861   cat conftest.err >&5
43862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43863   (exit $ac_status); } &&
43864          { ac_try='test -z "$ac_c_werror_flag"
43865                          || test ! -s conftest.err'
43866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43867   (eval $ac_try) 2>&5
43868   ac_status=$?
43869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43870   (exit $ac_status); }; } &&
43871          { ac_try='test -s conftest$ac_exeext'
43872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43873   (eval $ac_try) 2>&5
43874   ac_status=$?
43875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43876   (exit $ac_status); }; }; then
43877   eval "$as_ac_var=yes"
43878 else
43879   echo "$as_me: failed program was:" >&5
43880 sed 's/^/| /' conftest.$ac_ext >&5
43881
43882 eval "$as_ac_var=no"
43883 fi
43884 rm -f conftest.err conftest.$ac_objext \
43885       conftest$ac_exeext conftest.$ac_ext
43886 fi
43887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43889 if test `eval echo '${'$as_ac_var'}'` = yes; then
43890   cat >>confdefs.h <<_ACEOF
43891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43892 _ACEOF
43893
43894 fi
43895 done
43896
43897     fi
43898   fi
43899
43900
43901
43902
43903
43904
43905   echo "$as_me:$LINENO: checking for isnan declaration" >&5
43906 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
43907   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
43908     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
43909   echo $ECHO_N "(cached) $ECHO_C" >&6
43910 else
43911
43912
43913
43914       ac_ext=cc
43915 ac_cpp='$CXXCPP $CPPFLAGS'
43916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43919
43920       cat >conftest.$ac_ext <<_ACEOF
43921 /* confdefs.h.  */
43922 _ACEOF
43923 cat confdefs.h >>conftest.$ac_ext
43924 cat >>conftest.$ac_ext <<_ACEOF
43925 /* end confdefs.h.  */
43926 #include <math.h>
43927                       #ifdef HAVE_IEEEFP_H
43928                       #include <ieeefp.h>
43929                       #endif
43930
43931 int
43932 main ()
43933 {
43934  isnan(0);
43935   ;
43936   return 0;
43937 }
43938 _ACEOF
43939 rm -f conftest.$ac_objext
43940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43941   (eval $ac_compile) 2>conftest.er1
43942   ac_status=$?
43943   grep -v '^ *+' conftest.er1 >conftest.err
43944   rm -f conftest.er1
43945   cat conftest.err >&5
43946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43947   (exit $ac_status); } &&
43948          { ac_try='test -z "$ac_cxx_werror_flag"
43949                          || test ! -s conftest.err'
43950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43951   (eval $ac_try) 2>&5
43952   ac_status=$?
43953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43954   (exit $ac_status); }; } &&
43955          { ac_try='test -s conftest.$ac_objext'
43956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43957   (eval $ac_try) 2>&5
43958   ac_status=$?
43959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43960   (exit $ac_status); }; }; then
43961   glibcxx_cv_func_isnan_use=yes
43962 else
43963   echo "$as_me: failed program was:" >&5
43964 sed 's/^/| /' conftest.$ac_ext >&5
43965
43966 glibcxx_cv_func_isnan_use=no
43967 fi
43968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43969       ac_ext=c
43970 ac_cpp='$CPP $CPPFLAGS'
43971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43974
43975
43976 fi
43977
43978   fi
43979   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43980 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43981
43982   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43983
43984 for ac_func in isnan
43985 do
43986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43987 echo "$as_me:$LINENO: checking for $ac_func" >&5
43988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43989 if eval "test \"\${$as_ac_var+set}\" = set"; then
43990   echo $ECHO_N "(cached) $ECHO_C" >&6
43991 else
43992   if test x$gcc_no_link = xyes; then
43993   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43995    { (exit 1); exit 1; }; }
43996 fi
43997 cat >conftest.$ac_ext <<_ACEOF
43998 /* confdefs.h.  */
43999 _ACEOF
44000 cat confdefs.h >>conftest.$ac_ext
44001 cat >>conftest.$ac_ext <<_ACEOF
44002 /* end confdefs.h.  */
44003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44004    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44005 #define $ac_func innocuous_$ac_func
44006
44007 /* System header to define __stub macros and hopefully few prototypes,
44008     which can conflict with char $ac_func (); below.
44009     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44010     <limits.h> exists even on freestanding compilers.  */
44011
44012 #ifdef __STDC__
44013 # include <limits.h>
44014 #else
44015 # include <assert.h>
44016 #endif
44017
44018 #undef $ac_func
44019
44020 /* Override any gcc2 internal prototype to avoid an error.  */
44021 #ifdef __cplusplus
44022 extern "C"
44023 {
44024 #endif
44025 /* We use char because int might match the return type of a gcc2
44026    builtin and then its argument prototype would still apply.  */
44027 char $ac_func ();
44028 /* The GNU C library defines this for functions which it implements
44029     to always fail with ENOSYS.  Some functions are actually named
44030     something starting with __ and the normal name is an alias.  */
44031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44032 choke me
44033 #else
44034 char (*f) () = $ac_func;
44035 #endif
44036 #ifdef __cplusplus
44037 }
44038 #endif
44039
44040 int
44041 main ()
44042 {
44043 return f != $ac_func;
44044   ;
44045   return 0;
44046 }
44047 _ACEOF
44048 rm -f conftest.$ac_objext conftest$ac_exeext
44049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44050   (eval $ac_link) 2>conftest.er1
44051   ac_status=$?
44052   grep -v '^ *+' conftest.er1 >conftest.err
44053   rm -f conftest.er1
44054   cat conftest.err >&5
44055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44056   (exit $ac_status); } &&
44057          { ac_try='test -z "$ac_c_werror_flag"
44058                          || test ! -s conftest.err'
44059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44060   (eval $ac_try) 2>&5
44061   ac_status=$?
44062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44063   (exit $ac_status); }; } &&
44064          { ac_try='test -s conftest$ac_exeext'
44065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44066   (eval $ac_try) 2>&5
44067   ac_status=$?
44068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44069   (exit $ac_status); }; }; then
44070   eval "$as_ac_var=yes"
44071 else
44072   echo "$as_me: failed program was:" >&5
44073 sed 's/^/| /' conftest.$ac_ext >&5
44074
44075 eval "$as_ac_var=no"
44076 fi
44077 rm -f conftest.err conftest.$ac_objext \
44078       conftest$ac_exeext conftest.$ac_ext
44079 fi
44080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44082 if test `eval echo '${'$as_ac_var'}'` = yes; then
44083   cat >>confdefs.h <<_ACEOF
44084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44085 _ACEOF
44086
44087 fi
44088 done
44089
44090   else
44091
44092   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
44093 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
44094   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44095     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
44096   echo $ECHO_N "(cached) $ECHO_C" >&6
44097 else
44098
44099
44100
44101       ac_ext=cc
44102 ac_cpp='$CXXCPP $CPPFLAGS'
44103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44106
44107       cat >conftest.$ac_ext <<_ACEOF
44108 /* confdefs.h.  */
44109 _ACEOF
44110 cat confdefs.h >>conftest.$ac_ext
44111 cat >>conftest.$ac_ext <<_ACEOF
44112 /* end confdefs.h.  */
44113 #include <math.h>
44114                       #ifdef HAVE_IEEEFP_H
44115                       #include <ieeefp.h>
44116                       #endif
44117
44118 int
44119 main ()
44120 {
44121  _isnan(0);
44122   ;
44123   return 0;
44124 }
44125 _ACEOF
44126 rm -f conftest.$ac_objext
44127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44128   (eval $ac_compile) 2>conftest.er1
44129   ac_status=$?
44130   grep -v '^ *+' conftest.er1 >conftest.err
44131   rm -f conftest.er1
44132   cat conftest.err >&5
44133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44134   (exit $ac_status); } &&
44135          { ac_try='test -z "$ac_cxx_werror_flag"
44136                          || test ! -s conftest.err'
44137   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44138   (eval $ac_try) 2>&5
44139   ac_status=$?
44140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44141   (exit $ac_status); }; } &&
44142          { ac_try='test -s conftest.$ac_objext'
44143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44144   (eval $ac_try) 2>&5
44145   ac_status=$?
44146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44147   (exit $ac_status); }; }; then
44148   glibcxx_cv_func__isnan_use=yes
44149 else
44150   echo "$as_me: failed program was:" >&5
44151 sed 's/^/| /' conftest.$ac_ext >&5
44152
44153 glibcxx_cv_func__isnan_use=no
44154 fi
44155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44156       ac_ext=c
44157 ac_cpp='$CPP $CPPFLAGS'
44158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44161
44162
44163 fi
44164
44165   fi
44166   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
44167 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
44168
44169     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44170
44171 for ac_func in _isnan
44172 do
44173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44174 echo "$as_me:$LINENO: checking for $ac_func" >&5
44175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44176 if eval "test \"\${$as_ac_var+set}\" = set"; then
44177   echo $ECHO_N "(cached) $ECHO_C" >&6
44178 else
44179   if test x$gcc_no_link = xyes; then
44180   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44182    { (exit 1); exit 1; }; }
44183 fi
44184 cat >conftest.$ac_ext <<_ACEOF
44185 /* confdefs.h.  */
44186 _ACEOF
44187 cat confdefs.h >>conftest.$ac_ext
44188 cat >>conftest.$ac_ext <<_ACEOF
44189 /* end confdefs.h.  */
44190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44191    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44192 #define $ac_func innocuous_$ac_func
44193
44194 /* System header to define __stub macros and hopefully few prototypes,
44195     which can conflict with char $ac_func (); below.
44196     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44197     <limits.h> exists even on freestanding compilers.  */
44198
44199 #ifdef __STDC__
44200 # include <limits.h>
44201 #else
44202 # include <assert.h>
44203 #endif
44204
44205 #undef $ac_func
44206
44207 /* Override any gcc2 internal prototype to avoid an error.  */
44208 #ifdef __cplusplus
44209 extern "C"
44210 {
44211 #endif
44212 /* We use char because int might match the return type of a gcc2
44213    builtin and then its argument prototype would still apply.  */
44214 char $ac_func ();
44215 /* The GNU C library defines this for functions which it implements
44216     to always fail with ENOSYS.  Some functions are actually named
44217     something starting with __ and the normal name is an alias.  */
44218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44219 choke me
44220 #else
44221 char (*f) () = $ac_func;
44222 #endif
44223 #ifdef __cplusplus
44224 }
44225 #endif
44226
44227 int
44228 main ()
44229 {
44230 return f != $ac_func;
44231   ;
44232   return 0;
44233 }
44234 _ACEOF
44235 rm -f conftest.$ac_objext conftest$ac_exeext
44236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44237   (eval $ac_link) 2>conftest.er1
44238   ac_status=$?
44239   grep -v '^ *+' conftest.er1 >conftest.err
44240   rm -f conftest.er1
44241   cat conftest.err >&5
44242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44243   (exit $ac_status); } &&
44244          { ac_try='test -z "$ac_c_werror_flag"
44245                          || test ! -s conftest.err'
44246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44247   (eval $ac_try) 2>&5
44248   ac_status=$?
44249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44250   (exit $ac_status); }; } &&
44251          { ac_try='test -s conftest$ac_exeext'
44252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44253   (eval $ac_try) 2>&5
44254   ac_status=$?
44255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44256   (exit $ac_status); }; }; then
44257   eval "$as_ac_var=yes"
44258 else
44259   echo "$as_me: failed program was:" >&5
44260 sed 's/^/| /' conftest.$ac_ext >&5
44261
44262 eval "$as_ac_var=no"
44263 fi
44264 rm -f conftest.err conftest.$ac_objext \
44265       conftest$ac_exeext conftest.$ac_ext
44266 fi
44267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44269 if test `eval echo '${'$as_ac_var'}'` = yes; then
44270   cat >>confdefs.h <<_ACEOF
44271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44272 _ACEOF
44273
44274 fi
44275 done
44276
44277     fi
44278   fi
44279
44280
44281
44282
44283
44284
44285   echo "$as_me:$LINENO: checking for finite declaration" >&5
44286 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
44287   if test x${glibcxx_cv_func_finite_use+set} != xset; then
44288     if test "${glibcxx_cv_func_finite_use+set}" = set; then
44289   echo $ECHO_N "(cached) $ECHO_C" >&6
44290 else
44291
44292
44293
44294       ac_ext=cc
44295 ac_cpp='$CXXCPP $CPPFLAGS'
44296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44299
44300       cat >conftest.$ac_ext <<_ACEOF
44301 /* confdefs.h.  */
44302 _ACEOF
44303 cat confdefs.h >>conftest.$ac_ext
44304 cat >>conftest.$ac_ext <<_ACEOF
44305 /* end confdefs.h.  */
44306 #include <math.h>
44307                       #ifdef HAVE_IEEEFP_H
44308                       #include <ieeefp.h>
44309                       #endif
44310
44311 int
44312 main ()
44313 {
44314  finite(0);
44315   ;
44316   return 0;
44317 }
44318 _ACEOF
44319 rm -f conftest.$ac_objext
44320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44321   (eval $ac_compile) 2>conftest.er1
44322   ac_status=$?
44323   grep -v '^ *+' conftest.er1 >conftest.err
44324   rm -f conftest.er1
44325   cat conftest.err >&5
44326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44327   (exit $ac_status); } &&
44328          { ac_try='test -z "$ac_cxx_werror_flag"
44329                          || test ! -s conftest.err'
44330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44331   (eval $ac_try) 2>&5
44332   ac_status=$?
44333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44334   (exit $ac_status); }; } &&
44335          { ac_try='test -s conftest.$ac_objext'
44336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44337   (eval $ac_try) 2>&5
44338   ac_status=$?
44339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44340   (exit $ac_status); }; }; then
44341   glibcxx_cv_func_finite_use=yes
44342 else
44343   echo "$as_me: failed program was:" >&5
44344 sed 's/^/| /' conftest.$ac_ext >&5
44345
44346 glibcxx_cv_func_finite_use=no
44347 fi
44348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44349       ac_ext=c
44350 ac_cpp='$CPP $CPPFLAGS'
44351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44354
44355
44356 fi
44357
44358   fi
44359   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
44360 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
44361
44362   if test x$glibcxx_cv_func_finite_use = x"yes"; then
44363
44364 for ac_func in finite
44365 do
44366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44367 echo "$as_me:$LINENO: checking for $ac_func" >&5
44368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44369 if eval "test \"\${$as_ac_var+set}\" = set"; then
44370   echo $ECHO_N "(cached) $ECHO_C" >&6
44371 else
44372   if test x$gcc_no_link = xyes; then
44373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44375    { (exit 1); exit 1; }; }
44376 fi
44377 cat >conftest.$ac_ext <<_ACEOF
44378 /* confdefs.h.  */
44379 _ACEOF
44380 cat confdefs.h >>conftest.$ac_ext
44381 cat >>conftest.$ac_ext <<_ACEOF
44382 /* end confdefs.h.  */
44383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44384    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44385 #define $ac_func innocuous_$ac_func
44386
44387 /* System header to define __stub macros and hopefully few prototypes,
44388     which can conflict with char $ac_func (); below.
44389     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44390     <limits.h> exists even on freestanding compilers.  */
44391
44392 #ifdef __STDC__
44393 # include <limits.h>
44394 #else
44395 # include <assert.h>
44396 #endif
44397
44398 #undef $ac_func
44399
44400 /* Override any gcc2 internal prototype to avoid an error.  */
44401 #ifdef __cplusplus
44402 extern "C"
44403 {
44404 #endif
44405 /* We use char because int might match the return type of a gcc2
44406    builtin and then its argument prototype would still apply.  */
44407 char $ac_func ();
44408 /* The GNU C library defines this for functions which it implements
44409     to always fail with ENOSYS.  Some functions are actually named
44410     something starting with __ and the normal name is an alias.  */
44411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44412 choke me
44413 #else
44414 char (*f) () = $ac_func;
44415 #endif
44416 #ifdef __cplusplus
44417 }
44418 #endif
44419
44420 int
44421 main ()
44422 {
44423 return f != $ac_func;
44424   ;
44425   return 0;
44426 }
44427 _ACEOF
44428 rm -f conftest.$ac_objext conftest$ac_exeext
44429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44430   (eval $ac_link) 2>conftest.er1
44431   ac_status=$?
44432   grep -v '^ *+' conftest.er1 >conftest.err
44433   rm -f conftest.er1
44434   cat conftest.err >&5
44435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44436   (exit $ac_status); } &&
44437          { ac_try='test -z "$ac_c_werror_flag"
44438                          || test ! -s conftest.err'
44439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44440   (eval $ac_try) 2>&5
44441   ac_status=$?
44442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44443   (exit $ac_status); }; } &&
44444          { ac_try='test -s conftest$ac_exeext'
44445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44446   (eval $ac_try) 2>&5
44447   ac_status=$?
44448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44449   (exit $ac_status); }; }; then
44450   eval "$as_ac_var=yes"
44451 else
44452   echo "$as_me: failed program was:" >&5
44453 sed 's/^/| /' conftest.$ac_ext >&5
44454
44455 eval "$as_ac_var=no"
44456 fi
44457 rm -f conftest.err conftest.$ac_objext \
44458       conftest$ac_exeext conftest.$ac_ext
44459 fi
44460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44462 if test `eval echo '${'$as_ac_var'}'` = yes; then
44463   cat >>confdefs.h <<_ACEOF
44464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44465 _ACEOF
44466
44467 fi
44468 done
44469
44470   else
44471
44472   echo "$as_me:$LINENO: checking for _finite declaration" >&5
44473 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
44474   if test x${glibcxx_cv_func__finite_use+set} != xset; then
44475     if test "${glibcxx_cv_func__finite_use+set}" = set; then
44476   echo $ECHO_N "(cached) $ECHO_C" >&6
44477 else
44478
44479
44480
44481       ac_ext=cc
44482 ac_cpp='$CXXCPP $CPPFLAGS'
44483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44486
44487       cat >conftest.$ac_ext <<_ACEOF
44488 /* confdefs.h.  */
44489 _ACEOF
44490 cat confdefs.h >>conftest.$ac_ext
44491 cat >>conftest.$ac_ext <<_ACEOF
44492 /* end confdefs.h.  */
44493 #include <math.h>
44494                       #ifdef HAVE_IEEEFP_H
44495                       #include <ieeefp.h>
44496                       #endif
44497
44498 int
44499 main ()
44500 {
44501  _finite(0);
44502   ;
44503   return 0;
44504 }
44505 _ACEOF
44506 rm -f conftest.$ac_objext
44507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44508   (eval $ac_compile) 2>conftest.er1
44509   ac_status=$?
44510   grep -v '^ *+' conftest.er1 >conftest.err
44511   rm -f conftest.er1
44512   cat conftest.err >&5
44513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44514   (exit $ac_status); } &&
44515          { ac_try='test -z "$ac_cxx_werror_flag"
44516                          || test ! -s conftest.err'
44517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44518   (eval $ac_try) 2>&5
44519   ac_status=$?
44520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44521   (exit $ac_status); }; } &&
44522          { ac_try='test -s conftest.$ac_objext'
44523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44524   (eval $ac_try) 2>&5
44525   ac_status=$?
44526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44527   (exit $ac_status); }; }; then
44528   glibcxx_cv_func__finite_use=yes
44529 else
44530   echo "$as_me: failed program was:" >&5
44531 sed 's/^/| /' conftest.$ac_ext >&5
44532
44533 glibcxx_cv_func__finite_use=no
44534 fi
44535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44536       ac_ext=c
44537 ac_cpp='$CPP $CPPFLAGS'
44538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44541
44542
44543 fi
44544
44545   fi
44546   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
44547 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
44548
44549     if test x$glibcxx_cv_func__finite_use = x"yes"; then
44550
44551 for ac_func in _finite
44552 do
44553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44554 echo "$as_me:$LINENO: checking for $ac_func" >&5
44555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44556 if eval "test \"\${$as_ac_var+set}\" = set"; then
44557   echo $ECHO_N "(cached) $ECHO_C" >&6
44558 else
44559   if test x$gcc_no_link = xyes; then
44560   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44562    { (exit 1); exit 1; }; }
44563 fi
44564 cat >conftest.$ac_ext <<_ACEOF
44565 /* confdefs.h.  */
44566 _ACEOF
44567 cat confdefs.h >>conftest.$ac_ext
44568 cat >>conftest.$ac_ext <<_ACEOF
44569 /* end confdefs.h.  */
44570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44571    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44572 #define $ac_func innocuous_$ac_func
44573
44574 /* System header to define __stub macros and hopefully few prototypes,
44575     which can conflict with char $ac_func (); below.
44576     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44577     <limits.h> exists even on freestanding compilers.  */
44578
44579 #ifdef __STDC__
44580 # include <limits.h>
44581 #else
44582 # include <assert.h>
44583 #endif
44584
44585 #undef $ac_func
44586
44587 /* Override any gcc2 internal prototype to avoid an error.  */
44588 #ifdef __cplusplus
44589 extern "C"
44590 {
44591 #endif
44592 /* We use char because int might match the return type of a gcc2
44593    builtin and then its argument prototype would still apply.  */
44594 char $ac_func ();
44595 /* The GNU C library defines this for functions which it implements
44596     to always fail with ENOSYS.  Some functions are actually named
44597     something starting with __ and the normal name is an alias.  */
44598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44599 choke me
44600 #else
44601 char (*f) () = $ac_func;
44602 #endif
44603 #ifdef __cplusplus
44604 }
44605 #endif
44606
44607 int
44608 main ()
44609 {
44610 return f != $ac_func;
44611   ;
44612   return 0;
44613 }
44614 _ACEOF
44615 rm -f conftest.$ac_objext conftest$ac_exeext
44616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44617   (eval $ac_link) 2>conftest.er1
44618   ac_status=$?
44619   grep -v '^ *+' conftest.er1 >conftest.err
44620   rm -f conftest.er1
44621   cat conftest.err >&5
44622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44623   (exit $ac_status); } &&
44624          { ac_try='test -z "$ac_c_werror_flag"
44625                          || test ! -s conftest.err'
44626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44627   (eval $ac_try) 2>&5
44628   ac_status=$?
44629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44630   (exit $ac_status); }; } &&
44631          { ac_try='test -s conftest$ac_exeext'
44632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44633   (eval $ac_try) 2>&5
44634   ac_status=$?
44635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44636   (exit $ac_status); }; }; then
44637   eval "$as_ac_var=yes"
44638 else
44639   echo "$as_me: failed program was:" >&5
44640 sed 's/^/| /' conftest.$ac_ext >&5
44641
44642 eval "$as_ac_var=no"
44643 fi
44644 rm -f conftest.err conftest.$ac_objext \
44645       conftest$ac_exeext conftest.$ac_ext
44646 fi
44647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44649 if test `eval echo '${'$as_ac_var'}'` = yes; then
44650   cat >>confdefs.h <<_ACEOF
44651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44652 _ACEOF
44653
44654 fi
44655 done
44656
44657     fi
44658   fi
44659
44660
44661
44662
44663
44664
44665   echo "$as_me:$LINENO: checking for copysign declaration" >&5
44666 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
44667   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
44668     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
44669   echo $ECHO_N "(cached) $ECHO_C" >&6
44670 else
44671
44672
44673
44674       ac_ext=cc
44675 ac_cpp='$CXXCPP $CPPFLAGS'
44676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44679
44680       cat >conftest.$ac_ext <<_ACEOF
44681 /* confdefs.h.  */
44682 _ACEOF
44683 cat confdefs.h >>conftest.$ac_ext
44684 cat >>conftest.$ac_ext <<_ACEOF
44685 /* end confdefs.h.  */
44686 #include <math.h>
44687 int
44688 main ()
44689 {
44690  copysign(0, 0);
44691   ;
44692   return 0;
44693 }
44694 _ACEOF
44695 rm -f conftest.$ac_objext
44696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44697   (eval $ac_compile) 2>conftest.er1
44698   ac_status=$?
44699   grep -v '^ *+' conftest.er1 >conftest.err
44700   rm -f conftest.er1
44701   cat conftest.err >&5
44702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44703   (exit $ac_status); } &&
44704          { ac_try='test -z "$ac_cxx_werror_flag"
44705                          || test ! -s conftest.err'
44706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44707   (eval $ac_try) 2>&5
44708   ac_status=$?
44709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44710   (exit $ac_status); }; } &&
44711          { ac_try='test -s conftest.$ac_objext'
44712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44713   (eval $ac_try) 2>&5
44714   ac_status=$?
44715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44716   (exit $ac_status); }; }; then
44717   glibcxx_cv_func_copysign_use=yes
44718 else
44719   echo "$as_me: failed program was:" >&5
44720 sed 's/^/| /' conftest.$ac_ext >&5
44721
44722 glibcxx_cv_func_copysign_use=no
44723 fi
44724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44725       ac_ext=c
44726 ac_cpp='$CPP $CPPFLAGS'
44727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44730
44731
44732 fi
44733
44734   fi
44735   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
44736 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
44737
44738   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
44739
44740 for ac_func in copysign
44741 do
44742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44743 echo "$as_me:$LINENO: checking for $ac_func" >&5
44744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44745 if eval "test \"\${$as_ac_var+set}\" = set"; then
44746   echo $ECHO_N "(cached) $ECHO_C" >&6
44747 else
44748   if test x$gcc_no_link = xyes; then
44749   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44751    { (exit 1); exit 1; }; }
44752 fi
44753 cat >conftest.$ac_ext <<_ACEOF
44754 /* confdefs.h.  */
44755 _ACEOF
44756 cat confdefs.h >>conftest.$ac_ext
44757 cat >>conftest.$ac_ext <<_ACEOF
44758 /* end confdefs.h.  */
44759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44760    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44761 #define $ac_func innocuous_$ac_func
44762
44763 /* System header to define __stub macros and hopefully few prototypes,
44764     which can conflict with char $ac_func (); below.
44765     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44766     <limits.h> exists even on freestanding compilers.  */
44767
44768 #ifdef __STDC__
44769 # include <limits.h>
44770 #else
44771 # include <assert.h>
44772 #endif
44773
44774 #undef $ac_func
44775
44776 /* Override any gcc2 internal prototype to avoid an error.  */
44777 #ifdef __cplusplus
44778 extern "C"
44779 {
44780 #endif
44781 /* We use char because int might match the return type of a gcc2
44782    builtin and then its argument prototype would still apply.  */
44783 char $ac_func ();
44784 /* The GNU C library defines this for functions which it implements
44785     to always fail with ENOSYS.  Some functions are actually named
44786     something starting with __ and the normal name is an alias.  */
44787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44788 choke me
44789 #else
44790 char (*f) () = $ac_func;
44791 #endif
44792 #ifdef __cplusplus
44793 }
44794 #endif
44795
44796 int
44797 main ()
44798 {
44799 return f != $ac_func;
44800   ;
44801   return 0;
44802 }
44803 _ACEOF
44804 rm -f conftest.$ac_objext conftest$ac_exeext
44805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44806   (eval $ac_link) 2>conftest.er1
44807   ac_status=$?
44808   grep -v '^ *+' conftest.er1 >conftest.err
44809   rm -f conftest.er1
44810   cat conftest.err >&5
44811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44812   (exit $ac_status); } &&
44813          { ac_try='test -z "$ac_c_werror_flag"
44814                          || test ! -s conftest.err'
44815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44816   (eval $ac_try) 2>&5
44817   ac_status=$?
44818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44819   (exit $ac_status); }; } &&
44820          { ac_try='test -s conftest$ac_exeext'
44821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44822   (eval $ac_try) 2>&5
44823   ac_status=$?
44824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44825   (exit $ac_status); }; }; then
44826   eval "$as_ac_var=yes"
44827 else
44828   echo "$as_me: failed program was:" >&5
44829 sed 's/^/| /' conftest.$ac_ext >&5
44830
44831 eval "$as_ac_var=no"
44832 fi
44833 rm -f conftest.err conftest.$ac_objext \
44834       conftest$ac_exeext conftest.$ac_ext
44835 fi
44836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44838 if test `eval echo '${'$as_ac_var'}'` = yes; then
44839   cat >>confdefs.h <<_ACEOF
44840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44841 _ACEOF
44842
44843 fi
44844 done
44845
44846   else
44847
44848   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
44849 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
44850   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
44851     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
44852   echo $ECHO_N "(cached) $ECHO_C" >&6
44853 else
44854
44855
44856
44857       ac_ext=cc
44858 ac_cpp='$CXXCPP $CPPFLAGS'
44859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44862
44863       cat >conftest.$ac_ext <<_ACEOF
44864 /* confdefs.h.  */
44865 _ACEOF
44866 cat confdefs.h >>conftest.$ac_ext
44867 cat >>conftest.$ac_ext <<_ACEOF
44868 /* end confdefs.h.  */
44869 #include <math.h>
44870 int
44871 main ()
44872 {
44873  _copysign(0, 0);
44874   ;
44875   return 0;
44876 }
44877 _ACEOF
44878 rm -f conftest.$ac_objext
44879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44880   (eval $ac_compile) 2>conftest.er1
44881   ac_status=$?
44882   grep -v '^ *+' conftest.er1 >conftest.err
44883   rm -f conftest.er1
44884   cat conftest.err >&5
44885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44886   (exit $ac_status); } &&
44887          { ac_try='test -z "$ac_cxx_werror_flag"
44888                          || test ! -s conftest.err'
44889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44890   (eval $ac_try) 2>&5
44891   ac_status=$?
44892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44893   (exit $ac_status); }; } &&
44894          { ac_try='test -s conftest.$ac_objext'
44895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44896   (eval $ac_try) 2>&5
44897   ac_status=$?
44898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899   (exit $ac_status); }; }; then
44900   glibcxx_cv_func__copysign_use=yes
44901 else
44902   echo "$as_me: failed program was:" >&5
44903 sed 's/^/| /' conftest.$ac_ext >&5
44904
44905 glibcxx_cv_func__copysign_use=no
44906 fi
44907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44908       ac_ext=c
44909 ac_cpp='$CPP $CPPFLAGS'
44910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44913
44914
44915 fi
44916
44917   fi
44918   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
44919 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
44920
44921     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
44922
44923 for ac_func in _copysign
44924 do
44925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44926 echo "$as_me:$LINENO: checking for $ac_func" >&5
44927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44928 if eval "test \"\${$as_ac_var+set}\" = set"; then
44929   echo $ECHO_N "(cached) $ECHO_C" >&6
44930 else
44931   if test x$gcc_no_link = xyes; then
44932   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44934    { (exit 1); exit 1; }; }
44935 fi
44936 cat >conftest.$ac_ext <<_ACEOF
44937 /* confdefs.h.  */
44938 _ACEOF
44939 cat confdefs.h >>conftest.$ac_ext
44940 cat >>conftest.$ac_ext <<_ACEOF
44941 /* end confdefs.h.  */
44942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44943    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44944 #define $ac_func innocuous_$ac_func
44945
44946 /* System header to define __stub macros and hopefully few prototypes,
44947     which can conflict with char $ac_func (); below.
44948     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44949     <limits.h> exists even on freestanding compilers.  */
44950
44951 #ifdef __STDC__
44952 # include <limits.h>
44953 #else
44954 # include <assert.h>
44955 #endif
44956
44957 #undef $ac_func
44958
44959 /* Override any gcc2 internal prototype to avoid an error.  */
44960 #ifdef __cplusplus
44961 extern "C"
44962 {
44963 #endif
44964 /* We use char because int might match the return type of a gcc2
44965    builtin and then its argument prototype would still apply.  */
44966 char $ac_func ();
44967 /* The GNU C library defines this for functions which it implements
44968     to always fail with ENOSYS.  Some functions are actually named
44969     something starting with __ and the normal name is an alias.  */
44970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44971 choke me
44972 #else
44973 char (*f) () = $ac_func;
44974 #endif
44975 #ifdef __cplusplus
44976 }
44977 #endif
44978
44979 int
44980 main ()
44981 {
44982 return f != $ac_func;
44983   ;
44984   return 0;
44985 }
44986 _ACEOF
44987 rm -f conftest.$ac_objext conftest$ac_exeext
44988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44989   (eval $ac_link) 2>conftest.er1
44990   ac_status=$?
44991   grep -v '^ *+' conftest.er1 >conftest.err
44992   rm -f conftest.er1
44993   cat conftest.err >&5
44994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44995   (exit $ac_status); } &&
44996          { ac_try='test -z "$ac_c_werror_flag"
44997                          || test ! -s conftest.err'
44998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44999   (eval $ac_try) 2>&5
45000   ac_status=$?
45001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45002   (exit $ac_status); }; } &&
45003          { ac_try='test -s conftest$ac_exeext'
45004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45005   (eval $ac_try) 2>&5
45006   ac_status=$?
45007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45008   (exit $ac_status); }; }; then
45009   eval "$as_ac_var=yes"
45010 else
45011   echo "$as_me: failed program was:" >&5
45012 sed 's/^/| /' conftest.$ac_ext >&5
45013
45014 eval "$as_ac_var=no"
45015 fi
45016 rm -f conftest.err conftest.$ac_objext \
45017       conftest$ac_exeext conftest.$ac_ext
45018 fi
45019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45021 if test `eval echo '${'$as_ac_var'}'` = yes; then
45022   cat >>confdefs.h <<_ACEOF
45023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45024 _ACEOF
45025
45026 fi
45027 done
45028
45029     fi
45030   fi
45031
45032
45033
45034
45035
45036
45037   echo "$as_me:$LINENO: checking for sincos declaration" >&5
45038 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
45039   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45040     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
45041   echo $ECHO_N "(cached) $ECHO_C" >&6
45042 else
45043
45044
45045
45046       ac_ext=cc
45047 ac_cpp='$CXXCPP $CPPFLAGS'
45048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45051
45052       cat >conftest.$ac_ext <<_ACEOF
45053 /* confdefs.h.  */
45054 _ACEOF
45055 cat confdefs.h >>conftest.$ac_ext
45056 cat >>conftest.$ac_ext <<_ACEOF
45057 /* end confdefs.h.  */
45058 #include <math.h>
45059 int
45060 main ()
45061 {
45062  sincos(0, 0, 0);
45063   ;
45064   return 0;
45065 }
45066 _ACEOF
45067 rm -f conftest.$ac_objext
45068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45069   (eval $ac_compile) 2>conftest.er1
45070   ac_status=$?
45071   grep -v '^ *+' conftest.er1 >conftest.err
45072   rm -f conftest.er1
45073   cat conftest.err >&5
45074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45075   (exit $ac_status); } &&
45076          { ac_try='test -z "$ac_cxx_werror_flag"
45077                          || test ! -s conftest.err'
45078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45079   (eval $ac_try) 2>&5
45080   ac_status=$?
45081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45082   (exit $ac_status); }; } &&
45083          { ac_try='test -s conftest.$ac_objext'
45084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45085   (eval $ac_try) 2>&5
45086   ac_status=$?
45087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45088   (exit $ac_status); }; }; then
45089   glibcxx_cv_func_sincos_use=yes
45090 else
45091   echo "$as_me: failed program was:" >&5
45092 sed 's/^/| /' conftest.$ac_ext >&5
45093
45094 glibcxx_cv_func_sincos_use=no
45095 fi
45096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45097       ac_ext=c
45098 ac_cpp='$CPP $CPPFLAGS'
45099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45102
45103
45104 fi
45105
45106   fi
45107   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
45108 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
45109
45110   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45111
45112 for ac_func in sincos
45113 do
45114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45115 echo "$as_me:$LINENO: checking for $ac_func" >&5
45116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45117 if eval "test \"\${$as_ac_var+set}\" = set"; then
45118   echo $ECHO_N "(cached) $ECHO_C" >&6
45119 else
45120   if test x$gcc_no_link = xyes; then
45121   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45123    { (exit 1); exit 1; }; }
45124 fi
45125 cat >conftest.$ac_ext <<_ACEOF
45126 /* confdefs.h.  */
45127 _ACEOF
45128 cat confdefs.h >>conftest.$ac_ext
45129 cat >>conftest.$ac_ext <<_ACEOF
45130 /* end confdefs.h.  */
45131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45132    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45133 #define $ac_func innocuous_$ac_func
45134
45135 /* System header to define __stub macros and hopefully few prototypes,
45136     which can conflict with char $ac_func (); below.
45137     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45138     <limits.h> exists even on freestanding compilers.  */
45139
45140 #ifdef __STDC__
45141 # include <limits.h>
45142 #else
45143 # include <assert.h>
45144 #endif
45145
45146 #undef $ac_func
45147
45148 /* Override any gcc2 internal prototype to avoid an error.  */
45149 #ifdef __cplusplus
45150 extern "C"
45151 {
45152 #endif
45153 /* We use char because int might match the return type of a gcc2
45154    builtin and then its argument prototype would still apply.  */
45155 char $ac_func ();
45156 /* The GNU C library defines this for functions which it implements
45157     to always fail with ENOSYS.  Some functions are actually named
45158     something starting with __ and the normal name is an alias.  */
45159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45160 choke me
45161 #else
45162 char (*f) () = $ac_func;
45163 #endif
45164 #ifdef __cplusplus
45165 }
45166 #endif
45167
45168 int
45169 main ()
45170 {
45171 return f != $ac_func;
45172   ;
45173   return 0;
45174 }
45175 _ACEOF
45176 rm -f conftest.$ac_objext conftest$ac_exeext
45177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45178   (eval $ac_link) 2>conftest.er1
45179   ac_status=$?
45180   grep -v '^ *+' conftest.er1 >conftest.err
45181   rm -f conftest.er1
45182   cat conftest.err >&5
45183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45184   (exit $ac_status); } &&
45185          { ac_try='test -z "$ac_c_werror_flag"
45186                          || test ! -s conftest.err'
45187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45188   (eval $ac_try) 2>&5
45189   ac_status=$?
45190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45191   (exit $ac_status); }; } &&
45192          { ac_try='test -s conftest$ac_exeext'
45193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45194   (eval $ac_try) 2>&5
45195   ac_status=$?
45196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45197   (exit $ac_status); }; }; then
45198   eval "$as_ac_var=yes"
45199 else
45200   echo "$as_me: failed program was:" >&5
45201 sed 's/^/| /' conftest.$ac_ext >&5
45202
45203 eval "$as_ac_var=no"
45204 fi
45205 rm -f conftest.err conftest.$ac_objext \
45206       conftest$ac_exeext conftest.$ac_ext
45207 fi
45208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45210 if test `eval echo '${'$as_ac_var'}'` = yes; then
45211   cat >>confdefs.h <<_ACEOF
45212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45213 _ACEOF
45214
45215 fi
45216 done
45217
45218   else
45219
45220   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
45221 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
45222   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45223     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
45224   echo $ECHO_N "(cached) $ECHO_C" >&6
45225 else
45226
45227
45228
45229       ac_ext=cc
45230 ac_cpp='$CXXCPP $CPPFLAGS'
45231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45234
45235       cat >conftest.$ac_ext <<_ACEOF
45236 /* confdefs.h.  */
45237 _ACEOF
45238 cat confdefs.h >>conftest.$ac_ext
45239 cat >>conftest.$ac_ext <<_ACEOF
45240 /* end confdefs.h.  */
45241 #include <math.h>
45242 int
45243 main ()
45244 {
45245  _sincos(0, 0, 0);
45246   ;
45247   return 0;
45248 }
45249 _ACEOF
45250 rm -f conftest.$ac_objext
45251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45252   (eval $ac_compile) 2>conftest.er1
45253   ac_status=$?
45254   grep -v '^ *+' conftest.er1 >conftest.err
45255   rm -f conftest.er1
45256   cat conftest.err >&5
45257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45258   (exit $ac_status); } &&
45259          { ac_try='test -z "$ac_cxx_werror_flag"
45260                          || test ! -s conftest.err'
45261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45262   (eval $ac_try) 2>&5
45263   ac_status=$?
45264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45265   (exit $ac_status); }; } &&
45266          { ac_try='test -s conftest.$ac_objext'
45267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45268   (eval $ac_try) 2>&5
45269   ac_status=$?
45270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45271   (exit $ac_status); }; }; then
45272   glibcxx_cv_func__sincos_use=yes
45273 else
45274   echo "$as_me: failed program was:" >&5
45275 sed 's/^/| /' conftest.$ac_ext >&5
45276
45277 glibcxx_cv_func__sincos_use=no
45278 fi
45279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45280       ac_ext=c
45281 ac_cpp='$CPP $CPPFLAGS'
45282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45285
45286
45287 fi
45288
45289   fi
45290   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
45291 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
45292
45293     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45294
45295 for ac_func in _sincos
45296 do
45297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45298 echo "$as_me:$LINENO: checking for $ac_func" >&5
45299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45300 if eval "test \"\${$as_ac_var+set}\" = set"; then
45301   echo $ECHO_N "(cached) $ECHO_C" >&6
45302 else
45303   if test x$gcc_no_link = xyes; then
45304   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45306    { (exit 1); exit 1; }; }
45307 fi
45308 cat >conftest.$ac_ext <<_ACEOF
45309 /* confdefs.h.  */
45310 _ACEOF
45311 cat confdefs.h >>conftest.$ac_ext
45312 cat >>conftest.$ac_ext <<_ACEOF
45313 /* end confdefs.h.  */
45314 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45315    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45316 #define $ac_func innocuous_$ac_func
45317
45318 /* System header to define __stub macros and hopefully few prototypes,
45319     which can conflict with char $ac_func (); below.
45320     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45321     <limits.h> exists even on freestanding compilers.  */
45322
45323 #ifdef __STDC__
45324 # include <limits.h>
45325 #else
45326 # include <assert.h>
45327 #endif
45328
45329 #undef $ac_func
45330
45331 /* Override any gcc2 internal prototype to avoid an error.  */
45332 #ifdef __cplusplus
45333 extern "C"
45334 {
45335 #endif
45336 /* We use char because int might match the return type of a gcc2
45337    builtin and then its argument prototype would still apply.  */
45338 char $ac_func ();
45339 /* The GNU C library defines this for functions which it implements
45340     to always fail with ENOSYS.  Some functions are actually named
45341     something starting with __ and the normal name is an alias.  */
45342 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45343 choke me
45344 #else
45345 char (*f) () = $ac_func;
45346 #endif
45347 #ifdef __cplusplus
45348 }
45349 #endif
45350
45351 int
45352 main ()
45353 {
45354 return f != $ac_func;
45355   ;
45356   return 0;
45357 }
45358 _ACEOF
45359 rm -f conftest.$ac_objext conftest$ac_exeext
45360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45361   (eval $ac_link) 2>conftest.er1
45362   ac_status=$?
45363   grep -v '^ *+' conftest.er1 >conftest.err
45364   rm -f conftest.er1
45365   cat conftest.err >&5
45366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45367   (exit $ac_status); } &&
45368          { ac_try='test -z "$ac_c_werror_flag"
45369                          || test ! -s conftest.err'
45370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45371   (eval $ac_try) 2>&5
45372   ac_status=$?
45373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45374   (exit $ac_status); }; } &&
45375          { ac_try='test -s conftest$ac_exeext'
45376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45377   (eval $ac_try) 2>&5
45378   ac_status=$?
45379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45380   (exit $ac_status); }; }; then
45381   eval "$as_ac_var=yes"
45382 else
45383   echo "$as_me: failed program was:" >&5
45384 sed 's/^/| /' conftest.$ac_ext >&5
45385
45386 eval "$as_ac_var=no"
45387 fi
45388 rm -f conftest.err conftest.$ac_objext \
45389       conftest$ac_exeext conftest.$ac_ext
45390 fi
45391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45393 if test `eval echo '${'$as_ac_var'}'` = yes; then
45394   cat >>confdefs.h <<_ACEOF
45395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45396 _ACEOF
45397
45398 fi
45399 done
45400
45401     fi
45402   fi
45403
45404
45405
45406
45407
45408
45409   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
45410 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
45411   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45412     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
45413   echo $ECHO_N "(cached) $ECHO_C" >&6
45414 else
45415
45416
45417
45418       ac_ext=cc
45419 ac_cpp='$CXXCPP $CPPFLAGS'
45420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45423
45424       cat >conftest.$ac_ext <<_ACEOF
45425 /* confdefs.h.  */
45426 _ACEOF
45427 cat confdefs.h >>conftest.$ac_ext
45428 cat >>conftest.$ac_ext <<_ACEOF
45429 /* end confdefs.h.  */
45430 #include <math.h>
45431                       #ifdef HAVE_IEEEFP_H
45432                       #include <ieeefp.h>
45433                       #endif
45434
45435 int
45436 main ()
45437 {
45438  fpclass(0);
45439   ;
45440   return 0;
45441 }
45442 _ACEOF
45443 rm -f conftest.$ac_objext
45444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45445   (eval $ac_compile) 2>conftest.er1
45446   ac_status=$?
45447   grep -v '^ *+' conftest.er1 >conftest.err
45448   rm -f conftest.er1
45449   cat conftest.err >&5
45450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45451   (exit $ac_status); } &&
45452          { ac_try='test -z "$ac_cxx_werror_flag"
45453                          || test ! -s conftest.err'
45454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45455   (eval $ac_try) 2>&5
45456   ac_status=$?
45457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45458   (exit $ac_status); }; } &&
45459          { ac_try='test -s conftest.$ac_objext'
45460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45461   (eval $ac_try) 2>&5
45462   ac_status=$?
45463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45464   (exit $ac_status); }; }; then
45465   glibcxx_cv_func_fpclass_use=yes
45466 else
45467   echo "$as_me: failed program was:" >&5
45468 sed 's/^/| /' conftest.$ac_ext >&5
45469
45470 glibcxx_cv_func_fpclass_use=no
45471 fi
45472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45473       ac_ext=c
45474 ac_cpp='$CPP $CPPFLAGS'
45475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45478
45479
45480 fi
45481
45482   fi
45483   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
45484 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
45485
45486   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45487
45488 for ac_func in fpclass
45489 do
45490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45491 echo "$as_me:$LINENO: checking for $ac_func" >&5
45492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45493 if eval "test \"\${$as_ac_var+set}\" = set"; then
45494   echo $ECHO_N "(cached) $ECHO_C" >&6
45495 else
45496   if test x$gcc_no_link = xyes; then
45497   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45499    { (exit 1); exit 1; }; }
45500 fi
45501 cat >conftest.$ac_ext <<_ACEOF
45502 /* confdefs.h.  */
45503 _ACEOF
45504 cat confdefs.h >>conftest.$ac_ext
45505 cat >>conftest.$ac_ext <<_ACEOF
45506 /* end confdefs.h.  */
45507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45508    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45509 #define $ac_func innocuous_$ac_func
45510
45511 /* System header to define __stub macros and hopefully few prototypes,
45512     which can conflict with char $ac_func (); below.
45513     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45514     <limits.h> exists even on freestanding compilers.  */
45515
45516 #ifdef __STDC__
45517 # include <limits.h>
45518 #else
45519 # include <assert.h>
45520 #endif
45521
45522 #undef $ac_func
45523
45524 /* Override any gcc2 internal prototype to avoid an error.  */
45525 #ifdef __cplusplus
45526 extern "C"
45527 {
45528 #endif
45529 /* We use char because int might match the return type of a gcc2
45530    builtin and then its argument prototype would still apply.  */
45531 char $ac_func ();
45532 /* The GNU C library defines this for functions which it implements
45533     to always fail with ENOSYS.  Some functions are actually named
45534     something starting with __ and the normal name is an alias.  */
45535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45536 choke me
45537 #else
45538 char (*f) () = $ac_func;
45539 #endif
45540 #ifdef __cplusplus
45541 }
45542 #endif
45543
45544 int
45545 main ()
45546 {
45547 return f != $ac_func;
45548   ;
45549   return 0;
45550 }
45551 _ACEOF
45552 rm -f conftest.$ac_objext conftest$ac_exeext
45553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45554   (eval $ac_link) 2>conftest.er1
45555   ac_status=$?
45556   grep -v '^ *+' conftest.er1 >conftest.err
45557   rm -f conftest.er1
45558   cat conftest.err >&5
45559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45560   (exit $ac_status); } &&
45561          { ac_try='test -z "$ac_c_werror_flag"
45562                          || test ! -s conftest.err'
45563   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45564   (eval $ac_try) 2>&5
45565   ac_status=$?
45566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45567   (exit $ac_status); }; } &&
45568          { ac_try='test -s conftest$ac_exeext'
45569   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45570   (eval $ac_try) 2>&5
45571   ac_status=$?
45572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45573   (exit $ac_status); }; }; then
45574   eval "$as_ac_var=yes"
45575 else
45576   echo "$as_me: failed program was:" >&5
45577 sed 's/^/| /' conftest.$ac_ext >&5
45578
45579 eval "$as_ac_var=no"
45580 fi
45581 rm -f conftest.err conftest.$ac_objext \
45582       conftest$ac_exeext conftest.$ac_ext
45583 fi
45584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45586 if test `eval echo '${'$as_ac_var'}'` = yes; then
45587   cat >>confdefs.h <<_ACEOF
45588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45589 _ACEOF
45590
45591 fi
45592 done
45593
45594   else
45595
45596   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
45597 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
45598   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45599     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
45600   echo $ECHO_N "(cached) $ECHO_C" >&6
45601 else
45602
45603
45604
45605       ac_ext=cc
45606 ac_cpp='$CXXCPP $CPPFLAGS'
45607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45610
45611       cat >conftest.$ac_ext <<_ACEOF
45612 /* confdefs.h.  */
45613 _ACEOF
45614 cat confdefs.h >>conftest.$ac_ext
45615 cat >>conftest.$ac_ext <<_ACEOF
45616 /* end confdefs.h.  */
45617 #include <math.h>
45618                       #ifdef HAVE_IEEEFP_H
45619                       #include <ieeefp.h>
45620                       #endif
45621
45622 int
45623 main ()
45624 {
45625  _fpclass(0);
45626   ;
45627   return 0;
45628 }
45629 _ACEOF
45630 rm -f conftest.$ac_objext
45631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45632   (eval $ac_compile) 2>conftest.er1
45633   ac_status=$?
45634   grep -v '^ *+' conftest.er1 >conftest.err
45635   rm -f conftest.er1
45636   cat conftest.err >&5
45637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45638   (exit $ac_status); } &&
45639          { ac_try='test -z "$ac_cxx_werror_flag"
45640                          || test ! -s conftest.err'
45641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45642   (eval $ac_try) 2>&5
45643   ac_status=$?
45644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45645   (exit $ac_status); }; } &&
45646          { ac_try='test -s conftest.$ac_objext'
45647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45648   (eval $ac_try) 2>&5
45649   ac_status=$?
45650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45651   (exit $ac_status); }; }; then
45652   glibcxx_cv_func__fpclass_use=yes
45653 else
45654   echo "$as_me: failed program was:" >&5
45655 sed 's/^/| /' conftest.$ac_ext >&5
45656
45657 glibcxx_cv_func__fpclass_use=no
45658 fi
45659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45660       ac_ext=c
45661 ac_cpp='$CPP $CPPFLAGS'
45662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45665
45666
45667 fi
45668
45669   fi
45670   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
45671 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
45672
45673     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45674
45675 for ac_func in _fpclass
45676 do
45677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45678 echo "$as_me:$LINENO: checking for $ac_func" >&5
45679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45680 if eval "test \"\${$as_ac_var+set}\" = set"; then
45681   echo $ECHO_N "(cached) $ECHO_C" >&6
45682 else
45683   if test x$gcc_no_link = xyes; then
45684   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45686    { (exit 1); exit 1; }; }
45687 fi
45688 cat >conftest.$ac_ext <<_ACEOF
45689 /* confdefs.h.  */
45690 _ACEOF
45691 cat confdefs.h >>conftest.$ac_ext
45692 cat >>conftest.$ac_ext <<_ACEOF
45693 /* end confdefs.h.  */
45694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45695    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45696 #define $ac_func innocuous_$ac_func
45697
45698 /* System header to define __stub macros and hopefully few prototypes,
45699     which can conflict with char $ac_func (); below.
45700     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45701     <limits.h> exists even on freestanding compilers.  */
45702
45703 #ifdef __STDC__
45704 # include <limits.h>
45705 #else
45706 # include <assert.h>
45707 #endif
45708
45709 #undef $ac_func
45710
45711 /* Override any gcc2 internal prototype to avoid an error.  */
45712 #ifdef __cplusplus
45713 extern "C"
45714 {
45715 #endif
45716 /* We use char because int might match the return type of a gcc2
45717    builtin and then its argument prototype would still apply.  */
45718 char $ac_func ();
45719 /* The GNU C library defines this for functions which it implements
45720     to always fail with ENOSYS.  Some functions are actually named
45721     something starting with __ and the normal name is an alias.  */
45722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45723 choke me
45724 #else
45725 char (*f) () = $ac_func;
45726 #endif
45727 #ifdef __cplusplus
45728 }
45729 #endif
45730
45731 int
45732 main ()
45733 {
45734 return f != $ac_func;
45735   ;
45736   return 0;
45737 }
45738 _ACEOF
45739 rm -f conftest.$ac_objext conftest$ac_exeext
45740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45741   (eval $ac_link) 2>conftest.er1
45742   ac_status=$?
45743   grep -v '^ *+' conftest.er1 >conftest.err
45744   rm -f conftest.er1
45745   cat conftest.err >&5
45746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45747   (exit $ac_status); } &&
45748          { ac_try='test -z "$ac_c_werror_flag"
45749                          || test ! -s conftest.err'
45750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45751   (eval $ac_try) 2>&5
45752   ac_status=$?
45753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45754   (exit $ac_status); }; } &&
45755          { ac_try='test -s conftest$ac_exeext'
45756   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45757   (eval $ac_try) 2>&5
45758   ac_status=$?
45759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45760   (exit $ac_status); }; }; then
45761   eval "$as_ac_var=yes"
45762 else
45763   echo "$as_me: failed program was:" >&5
45764 sed 's/^/| /' conftest.$ac_ext >&5
45765
45766 eval "$as_ac_var=no"
45767 fi
45768 rm -f conftest.err conftest.$ac_objext \
45769       conftest$ac_exeext conftest.$ac_ext
45770 fi
45771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45773 if test `eval echo '${'$as_ac_var'}'` = yes; then
45774   cat >>confdefs.h <<_ACEOF
45775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45776 _ACEOF
45777
45778 fi
45779 done
45780
45781     fi
45782   fi
45783
45784
45785
45786
45787
45788
45789   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
45790 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
45791   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45792     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
45793   echo $ECHO_N "(cached) $ECHO_C" >&6
45794 else
45795
45796
45797
45798       ac_ext=cc
45799 ac_cpp='$CXXCPP $CPPFLAGS'
45800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45803
45804       cat >conftest.$ac_ext <<_ACEOF
45805 /* confdefs.h.  */
45806 _ACEOF
45807 cat confdefs.h >>conftest.$ac_ext
45808 cat >>conftest.$ac_ext <<_ACEOF
45809 /* end confdefs.h.  */
45810 #include <math.h>
45811                       #ifdef HAVE_IEEEFP_H
45812                       #include <ieeefp.h>
45813                       #endif
45814
45815 int
45816 main ()
45817 {
45818  qfpclass(0);
45819   ;
45820   return 0;
45821 }
45822 _ACEOF
45823 rm -f conftest.$ac_objext
45824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45825   (eval $ac_compile) 2>conftest.er1
45826   ac_status=$?
45827   grep -v '^ *+' conftest.er1 >conftest.err
45828   rm -f conftest.er1
45829   cat conftest.err >&5
45830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45831   (exit $ac_status); } &&
45832          { ac_try='test -z "$ac_cxx_werror_flag"
45833                          || test ! -s conftest.err'
45834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45835   (eval $ac_try) 2>&5
45836   ac_status=$?
45837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45838   (exit $ac_status); }; } &&
45839          { ac_try='test -s conftest.$ac_objext'
45840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45841   (eval $ac_try) 2>&5
45842   ac_status=$?
45843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45844   (exit $ac_status); }; }; then
45845   glibcxx_cv_func_qfpclass_use=yes
45846 else
45847   echo "$as_me: failed program was:" >&5
45848 sed 's/^/| /' conftest.$ac_ext >&5
45849
45850 glibcxx_cv_func_qfpclass_use=no
45851 fi
45852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45853       ac_ext=c
45854 ac_cpp='$CPP $CPPFLAGS'
45855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45858
45859
45860 fi
45861
45862   fi
45863   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
45864 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
45865
45866   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45867
45868 for ac_func in qfpclass
45869 do
45870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45871 echo "$as_me:$LINENO: checking for $ac_func" >&5
45872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45873 if eval "test \"\${$as_ac_var+set}\" = set"; then
45874   echo $ECHO_N "(cached) $ECHO_C" >&6
45875 else
45876   if test x$gcc_no_link = xyes; then
45877   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45878 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45879    { (exit 1); exit 1; }; }
45880 fi
45881 cat >conftest.$ac_ext <<_ACEOF
45882 /* confdefs.h.  */
45883 _ACEOF
45884 cat confdefs.h >>conftest.$ac_ext
45885 cat >>conftest.$ac_ext <<_ACEOF
45886 /* end confdefs.h.  */
45887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45888    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45889 #define $ac_func innocuous_$ac_func
45890
45891 /* System header to define __stub macros and hopefully few prototypes,
45892     which can conflict with char $ac_func (); below.
45893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45894     <limits.h> exists even on freestanding compilers.  */
45895
45896 #ifdef __STDC__
45897 # include <limits.h>
45898 #else
45899 # include <assert.h>
45900 #endif
45901
45902 #undef $ac_func
45903
45904 /* Override any gcc2 internal prototype to avoid an error.  */
45905 #ifdef __cplusplus
45906 extern "C"
45907 {
45908 #endif
45909 /* We use char because int might match the return type of a gcc2
45910    builtin and then its argument prototype would still apply.  */
45911 char $ac_func ();
45912 /* The GNU C library defines this for functions which it implements
45913     to always fail with ENOSYS.  Some functions are actually named
45914     something starting with __ and the normal name is an alias.  */
45915 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45916 choke me
45917 #else
45918 char (*f) () = $ac_func;
45919 #endif
45920 #ifdef __cplusplus
45921 }
45922 #endif
45923
45924 int
45925 main ()
45926 {
45927 return f != $ac_func;
45928   ;
45929   return 0;
45930 }
45931 _ACEOF
45932 rm -f conftest.$ac_objext conftest$ac_exeext
45933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45934   (eval $ac_link) 2>conftest.er1
45935   ac_status=$?
45936   grep -v '^ *+' conftest.er1 >conftest.err
45937   rm -f conftest.er1
45938   cat conftest.err >&5
45939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45940   (exit $ac_status); } &&
45941          { ac_try='test -z "$ac_c_werror_flag"
45942                          || test ! -s conftest.err'
45943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45944   (eval $ac_try) 2>&5
45945   ac_status=$?
45946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45947   (exit $ac_status); }; } &&
45948          { ac_try='test -s conftest$ac_exeext'
45949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45950   (eval $ac_try) 2>&5
45951   ac_status=$?
45952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45953   (exit $ac_status); }; }; then
45954   eval "$as_ac_var=yes"
45955 else
45956   echo "$as_me: failed program was:" >&5
45957 sed 's/^/| /' conftest.$ac_ext >&5
45958
45959 eval "$as_ac_var=no"
45960 fi
45961 rm -f conftest.err conftest.$ac_objext \
45962       conftest$ac_exeext conftest.$ac_ext
45963 fi
45964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45966 if test `eval echo '${'$as_ac_var'}'` = yes; then
45967   cat >>confdefs.h <<_ACEOF
45968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45969 _ACEOF
45970
45971 fi
45972 done
45973
45974   else
45975
45976   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
45977 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
45978   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45979     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
45980   echo $ECHO_N "(cached) $ECHO_C" >&6
45981 else
45982
45983
45984
45985       ac_ext=cc
45986 ac_cpp='$CXXCPP $CPPFLAGS'
45987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45990
45991       cat >conftest.$ac_ext <<_ACEOF
45992 /* confdefs.h.  */
45993 _ACEOF
45994 cat confdefs.h >>conftest.$ac_ext
45995 cat >>conftest.$ac_ext <<_ACEOF
45996 /* end confdefs.h.  */
45997 #include <math.h>
45998                       #ifdef HAVE_IEEEFP_H
45999                       #include <ieeefp.h>
46000                       #endif
46001
46002 int
46003 main ()
46004 {
46005  _qfpclass(0);
46006   ;
46007   return 0;
46008 }
46009 _ACEOF
46010 rm -f conftest.$ac_objext
46011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46012   (eval $ac_compile) 2>conftest.er1
46013   ac_status=$?
46014   grep -v '^ *+' conftest.er1 >conftest.err
46015   rm -f conftest.er1
46016   cat conftest.err >&5
46017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46018   (exit $ac_status); } &&
46019          { ac_try='test -z "$ac_cxx_werror_flag"
46020                          || test ! -s conftest.err'
46021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46022   (eval $ac_try) 2>&5
46023   ac_status=$?
46024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46025   (exit $ac_status); }; } &&
46026          { ac_try='test -s conftest.$ac_objext'
46027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46028   (eval $ac_try) 2>&5
46029   ac_status=$?
46030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46031   (exit $ac_status); }; }; then
46032   glibcxx_cv_func__qfpclass_use=yes
46033 else
46034   echo "$as_me: failed program was:" >&5
46035 sed 's/^/| /' conftest.$ac_ext >&5
46036
46037 glibcxx_cv_func__qfpclass_use=no
46038 fi
46039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46040       ac_ext=c
46041 ac_cpp='$CPP $CPPFLAGS'
46042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46045
46046
46047 fi
46048
46049   fi
46050   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
46051 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
46052
46053     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46054
46055 for ac_func in _qfpclass
46056 do
46057 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46058 echo "$as_me:$LINENO: checking for $ac_func" >&5
46059 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46060 if eval "test \"\${$as_ac_var+set}\" = set"; then
46061   echo $ECHO_N "(cached) $ECHO_C" >&6
46062 else
46063   if test x$gcc_no_link = xyes; then
46064   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46065 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46066    { (exit 1); exit 1; }; }
46067 fi
46068 cat >conftest.$ac_ext <<_ACEOF
46069 /* confdefs.h.  */
46070 _ACEOF
46071 cat confdefs.h >>conftest.$ac_ext
46072 cat >>conftest.$ac_ext <<_ACEOF
46073 /* end confdefs.h.  */
46074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46075    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46076 #define $ac_func innocuous_$ac_func
46077
46078 /* System header to define __stub macros and hopefully few prototypes,
46079     which can conflict with char $ac_func (); below.
46080     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46081     <limits.h> exists even on freestanding compilers.  */
46082
46083 #ifdef __STDC__
46084 # include <limits.h>
46085 #else
46086 # include <assert.h>
46087 #endif
46088
46089 #undef $ac_func
46090
46091 /* Override any gcc2 internal prototype to avoid an error.  */
46092 #ifdef __cplusplus
46093 extern "C"
46094 {
46095 #endif
46096 /* We use char because int might match the return type of a gcc2
46097    builtin and then its argument prototype would still apply.  */
46098 char $ac_func ();
46099 /* The GNU C library defines this for functions which it implements
46100     to always fail with ENOSYS.  Some functions are actually named
46101     something starting with __ and the normal name is an alias.  */
46102 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46103 choke me
46104 #else
46105 char (*f) () = $ac_func;
46106 #endif
46107 #ifdef __cplusplus
46108 }
46109 #endif
46110
46111 int
46112 main ()
46113 {
46114 return f != $ac_func;
46115   ;
46116   return 0;
46117 }
46118 _ACEOF
46119 rm -f conftest.$ac_objext conftest$ac_exeext
46120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46121   (eval $ac_link) 2>conftest.er1
46122   ac_status=$?
46123   grep -v '^ *+' conftest.er1 >conftest.err
46124   rm -f conftest.er1
46125   cat conftest.err >&5
46126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46127   (exit $ac_status); } &&
46128          { ac_try='test -z "$ac_c_werror_flag"
46129                          || test ! -s conftest.err'
46130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46131   (eval $ac_try) 2>&5
46132   ac_status=$?
46133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46134   (exit $ac_status); }; } &&
46135          { ac_try='test -s conftest$ac_exeext'
46136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46137   (eval $ac_try) 2>&5
46138   ac_status=$?
46139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46140   (exit $ac_status); }; }; then
46141   eval "$as_ac_var=yes"
46142 else
46143   echo "$as_me: failed program was:" >&5
46144 sed 's/^/| /' conftest.$ac_ext >&5
46145
46146 eval "$as_ac_var=no"
46147 fi
46148 rm -f conftest.err conftest.$ac_objext \
46149       conftest$ac_exeext conftest.$ac_ext
46150 fi
46151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46153 if test `eval echo '${'$as_ac_var'}'` = yes; then
46154   cat >>confdefs.h <<_ACEOF
46155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46156 _ACEOF
46157
46158 fi
46159 done
46160
46161     fi
46162   fi
46163
46164
46165
46166
46167
46168
46169   echo "$as_me:$LINENO: checking for hypot declaration" >&5
46170 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
46171   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46172     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
46173   echo $ECHO_N "(cached) $ECHO_C" >&6
46174 else
46175
46176
46177
46178       ac_ext=cc
46179 ac_cpp='$CXXCPP $CPPFLAGS'
46180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46183
46184       cat >conftest.$ac_ext <<_ACEOF
46185 /* confdefs.h.  */
46186 _ACEOF
46187 cat confdefs.h >>conftest.$ac_ext
46188 cat >>conftest.$ac_ext <<_ACEOF
46189 /* end confdefs.h.  */
46190 #include <math.h>
46191 int
46192 main ()
46193 {
46194  hypot(0, 0);
46195   ;
46196   return 0;
46197 }
46198 _ACEOF
46199 rm -f conftest.$ac_objext
46200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46201   (eval $ac_compile) 2>conftest.er1
46202   ac_status=$?
46203   grep -v '^ *+' conftest.er1 >conftest.err
46204   rm -f conftest.er1
46205   cat conftest.err >&5
46206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46207   (exit $ac_status); } &&
46208          { ac_try='test -z "$ac_cxx_werror_flag"
46209                          || test ! -s conftest.err'
46210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46211   (eval $ac_try) 2>&5
46212   ac_status=$?
46213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46214   (exit $ac_status); }; } &&
46215          { ac_try='test -s conftest.$ac_objext'
46216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46217   (eval $ac_try) 2>&5
46218   ac_status=$?
46219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46220   (exit $ac_status); }; }; then
46221   glibcxx_cv_func_hypot_use=yes
46222 else
46223   echo "$as_me: failed program was:" >&5
46224 sed 's/^/| /' conftest.$ac_ext >&5
46225
46226 glibcxx_cv_func_hypot_use=no
46227 fi
46228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46229       ac_ext=c
46230 ac_cpp='$CPP $CPPFLAGS'
46231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46234
46235
46236 fi
46237
46238   fi
46239   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
46240 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
46241
46242   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46243
46244 for ac_func in hypot
46245 do
46246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46247 echo "$as_me:$LINENO: checking for $ac_func" >&5
46248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46249 if eval "test \"\${$as_ac_var+set}\" = set"; then
46250   echo $ECHO_N "(cached) $ECHO_C" >&6
46251 else
46252   if test x$gcc_no_link = xyes; then
46253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46255    { (exit 1); exit 1; }; }
46256 fi
46257 cat >conftest.$ac_ext <<_ACEOF
46258 /* confdefs.h.  */
46259 _ACEOF
46260 cat confdefs.h >>conftest.$ac_ext
46261 cat >>conftest.$ac_ext <<_ACEOF
46262 /* end confdefs.h.  */
46263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46264    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46265 #define $ac_func innocuous_$ac_func
46266
46267 /* System header to define __stub macros and hopefully few prototypes,
46268     which can conflict with char $ac_func (); below.
46269     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46270     <limits.h> exists even on freestanding compilers.  */
46271
46272 #ifdef __STDC__
46273 # include <limits.h>
46274 #else
46275 # include <assert.h>
46276 #endif
46277
46278 #undef $ac_func
46279
46280 /* Override any gcc2 internal prototype to avoid an error.  */
46281 #ifdef __cplusplus
46282 extern "C"
46283 {
46284 #endif
46285 /* We use char because int might match the return type of a gcc2
46286    builtin and then its argument prototype would still apply.  */
46287 char $ac_func ();
46288 /* The GNU C library defines this for functions which it implements
46289     to always fail with ENOSYS.  Some functions are actually named
46290     something starting with __ and the normal name is an alias.  */
46291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46292 choke me
46293 #else
46294 char (*f) () = $ac_func;
46295 #endif
46296 #ifdef __cplusplus
46297 }
46298 #endif
46299
46300 int
46301 main ()
46302 {
46303 return f != $ac_func;
46304   ;
46305   return 0;
46306 }
46307 _ACEOF
46308 rm -f conftest.$ac_objext conftest$ac_exeext
46309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46310   (eval $ac_link) 2>conftest.er1
46311   ac_status=$?
46312   grep -v '^ *+' conftest.er1 >conftest.err
46313   rm -f conftest.er1
46314   cat conftest.err >&5
46315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46316   (exit $ac_status); } &&
46317          { ac_try='test -z "$ac_c_werror_flag"
46318                          || test ! -s conftest.err'
46319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46320   (eval $ac_try) 2>&5
46321   ac_status=$?
46322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46323   (exit $ac_status); }; } &&
46324          { ac_try='test -s conftest$ac_exeext'
46325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46326   (eval $ac_try) 2>&5
46327   ac_status=$?
46328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46329   (exit $ac_status); }; }; then
46330   eval "$as_ac_var=yes"
46331 else
46332   echo "$as_me: failed program was:" >&5
46333 sed 's/^/| /' conftest.$ac_ext >&5
46334
46335 eval "$as_ac_var=no"
46336 fi
46337 rm -f conftest.err conftest.$ac_objext \
46338       conftest$ac_exeext conftest.$ac_ext
46339 fi
46340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46342 if test `eval echo '${'$as_ac_var'}'` = yes; then
46343   cat >>confdefs.h <<_ACEOF
46344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46345 _ACEOF
46346
46347 fi
46348 done
46349
46350   else
46351
46352   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
46353 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
46354   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46355     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
46356   echo $ECHO_N "(cached) $ECHO_C" >&6
46357 else
46358
46359
46360
46361       ac_ext=cc
46362 ac_cpp='$CXXCPP $CPPFLAGS'
46363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46366
46367       cat >conftest.$ac_ext <<_ACEOF
46368 /* confdefs.h.  */
46369 _ACEOF
46370 cat confdefs.h >>conftest.$ac_ext
46371 cat >>conftest.$ac_ext <<_ACEOF
46372 /* end confdefs.h.  */
46373 #include <math.h>
46374 int
46375 main ()
46376 {
46377  _hypot(0, 0);
46378   ;
46379   return 0;
46380 }
46381 _ACEOF
46382 rm -f conftest.$ac_objext
46383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46384   (eval $ac_compile) 2>conftest.er1
46385   ac_status=$?
46386   grep -v '^ *+' conftest.er1 >conftest.err
46387   rm -f conftest.er1
46388   cat conftest.err >&5
46389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46390   (exit $ac_status); } &&
46391          { ac_try='test -z "$ac_cxx_werror_flag"
46392                          || test ! -s conftest.err'
46393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46394   (eval $ac_try) 2>&5
46395   ac_status=$?
46396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46397   (exit $ac_status); }; } &&
46398          { ac_try='test -s conftest.$ac_objext'
46399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46400   (eval $ac_try) 2>&5
46401   ac_status=$?
46402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46403   (exit $ac_status); }; }; then
46404   glibcxx_cv_func__hypot_use=yes
46405 else
46406   echo "$as_me: failed program was:" >&5
46407 sed 's/^/| /' conftest.$ac_ext >&5
46408
46409 glibcxx_cv_func__hypot_use=no
46410 fi
46411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46412       ac_ext=c
46413 ac_cpp='$CPP $CPPFLAGS'
46414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46417
46418
46419 fi
46420
46421   fi
46422   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
46423 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
46424
46425     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46426
46427 for ac_func in _hypot
46428 do
46429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46430 echo "$as_me:$LINENO: checking for $ac_func" >&5
46431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46432 if eval "test \"\${$as_ac_var+set}\" = set"; then
46433   echo $ECHO_N "(cached) $ECHO_C" >&6
46434 else
46435   if test x$gcc_no_link = xyes; then
46436   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46438    { (exit 1); exit 1; }; }
46439 fi
46440 cat >conftest.$ac_ext <<_ACEOF
46441 /* confdefs.h.  */
46442 _ACEOF
46443 cat confdefs.h >>conftest.$ac_ext
46444 cat >>conftest.$ac_ext <<_ACEOF
46445 /* end confdefs.h.  */
46446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46447    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46448 #define $ac_func innocuous_$ac_func
46449
46450 /* System header to define __stub macros and hopefully few prototypes,
46451     which can conflict with char $ac_func (); below.
46452     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46453     <limits.h> exists even on freestanding compilers.  */
46454
46455 #ifdef __STDC__
46456 # include <limits.h>
46457 #else
46458 # include <assert.h>
46459 #endif
46460
46461 #undef $ac_func
46462
46463 /* Override any gcc2 internal prototype to avoid an error.  */
46464 #ifdef __cplusplus
46465 extern "C"
46466 {
46467 #endif
46468 /* We use char because int might match the return type of a gcc2
46469    builtin and then its argument prototype would still apply.  */
46470 char $ac_func ();
46471 /* The GNU C library defines this for functions which it implements
46472     to always fail with ENOSYS.  Some functions are actually named
46473     something starting with __ and the normal name is an alias.  */
46474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46475 choke me
46476 #else
46477 char (*f) () = $ac_func;
46478 #endif
46479 #ifdef __cplusplus
46480 }
46481 #endif
46482
46483 int
46484 main ()
46485 {
46486 return f != $ac_func;
46487   ;
46488   return 0;
46489 }
46490 _ACEOF
46491 rm -f conftest.$ac_objext conftest$ac_exeext
46492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46493   (eval $ac_link) 2>conftest.er1
46494   ac_status=$?
46495   grep -v '^ *+' conftest.er1 >conftest.err
46496   rm -f conftest.er1
46497   cat conftest.err >&5
46498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46499   (exit $ac_status); } &&
46500          { ac_try='test -z "$ac_c_werror_flag"
46501                          || test ! -s conftest.err'
46502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46503   (eval $ac_try) 2>&5
46504   ac_status=$?
46505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46506   (exit $ac_status); }; } &&
46507          { ac_try='test -s conftest$ac_exeext'
46508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46509   (eval $ac_try) 2>&5
46510   ac_status=$?
46511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46512   (exit $ac_status); }; }; then
46513   eval "$as_ac_var=yes"
46514 else
46515   echo "$as_me: failed program was:" >&5
46516 sed 's/^/| /' conftest.$ac_ext >&5
46517
46518 eval "$as_ac_var=no"
46519 fi
46520 rm -f conftest.err conftest.$ac_objext \
46521       conftest$ac_exeext conftest.$ac_ext
46522 fi
46523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46525 if test `eval echo '${'$as_ac_var'}'` = yes; then
46526   cat >>confdefs.h <<_ACEOF
46527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46528 _ACEOF
46529
46530 fi
46531 done
46532
46533     fi
46534   fi
46535
46536
46537
46538
46539
46540
46541     echo "$as_me:$LINENO: checking for float trig functions" >&5
46542 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
46543   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
46544   echo $ECHO_N "(cached) $ECHO_C" >&6
46545 else
46546
46547
46548
46549     ac_ext=cc
46550 ac_cpp='$CXXCPP $CPPFLAGS'
46551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46554
46555     cat >conftest.$ac_ext <<_ACEOF
46556 /* confdefs.h.  */
46557 _ACEOF
46558 cat confdefs.h >>conftest.$ac_ext
46559 cat >>conftest.$ac_ext <<_ACEOF
46560 /* end confdefs.h.  */
46561 #include <math.h>
46562 int
46563 main ()
46564 {
46565 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46566   ;
46567   return 0;
46568 }
46569 _ACEOF
46570 rm -f conftest.$ac_objext
46571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46572   (eval $ac_compile) 2>conftest.er1
46573   ac_status=$?
46574   grep -v '^ *+' conftest.er1 >conftest.err
46575   rm -f conftest.er1
46576   cat conftest.err >&5
46577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46578   (exit $ac_status); } &&
46579          { ac_try='test -z "$ac_cxx_werror_flag"
46580                          || test ! -s conftest.err'
46581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46582   (eval $ac_try) 2>&5
46583   ac_status=$?
46584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46585   (exit $ac_status); }; } &&
46586          { ac_try='test -s conftest.$ac_objext'
46587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46588   (eval $ac_try) 2>&5
46589   ac_status=$?
46590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46591   (exit $ac_status); }; }; then
46592   glibcxx_cv_func_float_trig_use=yes
46593 else
46594   echo "$as_me: failed program was:" >&5
46595 sed 's/^/| /' conftest.$ac_ext >&5
46596
46597 glibcxx_cv_func_float_trig_use=no
46598 fi
46599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46600     ac_ext=c
46601 ac_cpp='$CPP $CPPFLAGS'
46602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46605
46606 fi
46607
46608   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
46609 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
46610   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46611
46612
46613
46614
46615
46616
46617
46618
46619
46620 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46621 do
46622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46623 echo "$as_me:$LINENO: checking for $ac_func" >&5
46624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46625 if eval "test \"\${$as_ac_var+set}\" = set"; then
46626   echo $ECHO_N "(cached) $ECHO_C" >&6
46627 else
46628   if test x$gcc_no_link = xyes; then
46629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46631    { (exit 1); exit 1; }; }
46632 fi
46633 cat >conftest.$ac_ext <<_ACEOF
46634 /* confdefs.h.  */
46635 _ACEOF
46636 cat confdefs.h >>conftest.$ac_ext
46637 cat >>conftest.$ac_ext <<_ACEOF
46638 /* end confdefs.h.  */
46639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46640    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46641 #define $ac_func innocuous_$ac_func
46642
46643 /* System header to define __stub macros and hopefully few prototypes,
46644     which can conflict with char $ac_func (); below.
46645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46646     <limits.h> exists even on freestanding compilers.  */
46647
46648 #ifdef __STDC__
46649 # include <limits.h>
46650 #else
46651 # include <assert.h>
46652 #endif
46653
46654 #undef $ac_func
46655
46656 /* Override any gcc2 internal prototype to avoid an error.  */
46657 #ifdef __cplusplus
46658 extern "C"
46659 {
46660 #endif
46661 /* We use char because int might match the return type of a gcc2
46662    builtin and then its argument prototype would still apply.  */
46663 char $ac_func ();
46664 /* The GNU C library defines this for functions which it implements
46665     to always fail with ENOSYS.  Some functions are actually named
46666     something starting with __ and the normal name is an alias.  */
46667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46668 choke me
46669 #else
46670 char (*f) () = $ac_func;
46671 #endif
46672 #ifdef __cplusplus
46673 }
46674 #endif
46675
46676 int
46677 main ()
46678 {
46679 return f != $ac_func;
46680   ;
46681   return 0;
46682 }
46683 _ACEOF
46684 rm -f conftest.$ac_objext conftest$ac_exeext
46685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46686   (eval $ac_link) 2>conftest.er1
46687   ac_status=$?
46688   grep -v '^ *+' conftest.er1 >conftest.err
46689   rm -f conftest.er1
46690   cat conftest.err >&5
46691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46692   (exit $ac_status); } &&
46693          { ac_try='test -z "$ac_c_werror_flag"
46694                          || test ! -s conftest.err'
46695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46696   (eval $ac_try) 2>&5
46697   ac_status=$?
46698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46699   (exit $ac_status); }; } &&
46700          { ac_try='test -s conftest$ac_exeext'
46701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46702   (eval $ac_try) 2>&5
46703   ac_status=$?
46704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46705   (exit $ac_status); }; }; then
46706   eval "$as_ac_var=yes"
46707 else
46708   echo "$as_me: failed program was:" >&5
46709 sed 's/^/| /' conftest.$ac_ext >&5
46710
46711 eval "$as_ac_var=no"
46712 fi
46713 rm -f conftest.err conftest.$ac_objext \
46714       conftest$ac_exeext conftest.$ac_ext
46715 fi
46716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46718 if test `eval echo '${'$as_ac_var'}'` = yes; then
46719   cat >>confdefs.h <<_ACEOF
46720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46721 _ACEOF
46722
46723 fi
46724 done
46725
46726   else
46727     echo "$as_me:$LINENO: checking for _float trig functions" >&5
46728 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
46729     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
46730   echo $ECHO_N "(cached) $ECHO_C" >&6
46731 else
46732
46733
46734
46735       ac_ext=cc
46736 ac_cpp='$CXXCPP $CPPFLAGS'
46737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46740
46741       cat >conftest.$ac_ext <<_ACEOF
46742 /* confdefs.h.  */
46743 _ACEOF
46744 cat confdefs.h >>conftest.$ac_ext
46745 cat >>conftest.$ac_ext <<_ACEOF
46746 /* end confdefs.h.  */
46747 #include <math.h>
46748 int
46749 main ()
46750 {
46751 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46752   ;
46753   return 0;
46754 }
46755 _ACEOF
46756 rm -f conftest.$ac_objext
46757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46758   (eval $ac_compile) 2>conftest.er1
46759   ac_status=$?
46760   grep -v '^ *+' conftest.er1 >conftest.err
46761   rm -f conftest.er1
46762   cat conftest.err >&5
46763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46764   (exit $ac_status); } &&
46765          { ac_try='test -z "$ac_cxx_werror_flag"
46766                          || test ! -s conftest.err'
46767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46768   (eval $ac_try) 2>&5
46769   ac_status=$?
46770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46771   (exit $ac_status); }; } &&
46772          { ac_try='test -s conftest.$ac_objext'
46773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46774   (eval $ac_try) 2>&5
46775   ac_status=$?
46776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46777   (exit $ac_status); }; }; then
46778   glibcxx_cv_func__float_trig_use=yes
46779 else
46780   echo "$as_me: failed program was:" >&5
46781 sed 's/^/| /' conftest.$ac_ext >&5
46782
46783 glibcxx_cv_func__float_trig_use=no
46784 fi
46785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46786       ac_ext=c
46787 ac_cpp='$CPP $CPPFLAGS'
46788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46791
46792 fi
46793
46794     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
46795 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
46796     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46797
46798
46799
46800
46801
46802
46803
46804
46805
46806 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46807 do
46808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46809 echo "$as_me:$LINENO: checking for $ac_func" >&5
46810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46811 if eval "test \"\${$as_ac_var+set}\" = set"; then
46812   echo $ECHO_N "(cached) $ECHO_C" >&6
46813 else
46814   if test x$gcc_no_link = xyes; then
46815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46817    { (exit 1); exit 1; }; }
46818 fi
46819 cat >conftest.$ac_ext <<_ACEOF
46820 /* confdefs.h.  */
46821 _ACEOF
46822 cat confdefs.h >>conftest.$ac_ext
46823 cat >>conftest.$ac_ext <<_ACEOF
46824 /* end confdefs.h.  */
46825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46827 #define $ac_func innocuous_$ac_func
46828
46829 /* System header to define __stub macros and hopefully few prototypes,
46830     which can conflict with char $ac_func (); below.
46831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46832     <limits.h> exists even on freestanding compilers.  */
46833
46834 #ifdef __STDC__
46835 # include <limits.h>
46836 #else
46837 # include <assert.h>
46838 #endif
46839
46840 #undef $ac_func
46841
46842 /* Override any gcc2 internal prototype to avoid an error.  */
46843 #ifdef __cplusplus
46844 extern "C"
46845 {
46846 #endif
46847 /* We use char because int might match the return type of a gcc2
46848    builtin and then its argument prototype would still apply.  */
46849 char $ac_func ();
46850 /* The GNU C library defines this for functions which it implements
46851     to always fail with ENOSYS.  Some functions are actually named
46852     something starting with __ and the normal name is an alias.  */
46853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46854 choke me
46855 #else
46856 char (*f) () = $ac_func;
46857 #endif
46858 #ifdef __cplusplus
46859 }
46860 #endif
46861
46862 int
46863 main ()
46864 {
46865 return f != $ac_func;
46866   ;
46867   return 0;
46868 }
46869 _ACEOF
46870 rm -f conftest.$ac_objext conftest$ac_exeext
46871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46872   (eval $ac_link) 2>conftest.er1
46873   ac_status=$?
46874   grep -v '^ *+' conftest.er1 >conftest.err
46875   rm -f conftest.er1
46876   cat conftest.err >&5
46877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46878   (exit $ac_status); } &&
46879          { ac_try='test -z "$ac_c_werror_flag"
46880                          || test ! -s conftest.err'
46881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46882   (eval $ac_try) 2>&5
46883   ac_status=$?
46884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46885   (exit $ac_status); }; } &&
46886          { ac_try='test -s conftest$ac_exeext'
46887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46888   (eval $ac_try) 2>&5
46889   ac_status=$?
46890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46891   (exit $ac_status); }; }; then
46892   eval "$as_ac_var=yes"
46893 else
46894   echo "$as_me: failed program was:" >&5
46895 sed 's/^/| /' conftest.$ac_ext >&5
46896
46897 eval "$as_ac_var=no"
46898 fi
46899 rm -f conftest.err conftest.$ac_objext \
46900       conftest$ac_exeext conftest.$ac_ext
46901 fi
46902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46904 if test `eval echo '${'$as_ac_var'}'` = yes; then
46905   cat >>confdefs.h <<_ACEOF
46906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46907 _ACEOF
46908
46909 fi
46910 done
46911
46912     fi
46913   fi
46914
46915
46916
46917
46918
46919
46920
46921
46922
46923
46924
46925
46926
46927
46928     echo "$as_me:$LINENO: checking for float round functions" >&5
46929 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
46930   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
46931   echo $ECHO_N "(cached) $ECHO_C" >&6
46932 else
46933
46934
46935
46936     ac_ext=cc
46937 ac_cpp='$CXXCPP $CPPFLAGS'
46938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46941
46942     cat >conftest.$ac_ext <<_ACEOF
46943 /* confdefs.h.  */
46944 _ACEOF
46945 cat confdefs.h >>conftest.$ac_ext
46946 cat >>conftest.$ac_ext <<_ACEOF
46947 /* end confdefs.h.  */
46948 #include <math.h>
46949 int
46950 main ()
46951 {
46952 ceilf (0); floorf (0);
46953   ;
46954   return 0;
46955 }
46956 _ACEOF
46957 rm -f conftest.$ac_objext
46958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46959   (eval $ac_compile) 2>conftest.er1
46960   ac_status=$?
46961   grep -v '^ *+' conftest.er1 >conftest.err
46962   rm -f conftest.er1
46963   cat conftest.err >&5
46964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46965   (exit $ac_status); } &&
46966          { ac_try='test -z "$ac_cxx_werror_flag"
46967                          || test ! -s conftest.err'
46968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46969   (eval $ac_try) 2>&5
46970   ac_status=$?
46971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46972   (exit $ac_status); }; } &&
46973          { ac_try='test -s conftest.$ac_objext'
46974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46975   (eval $ac_try) 2>&5
46976   ac_status=$?
46977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46978   (exit $ac_status); }; }; then
46979   glibcxx_cv_func_float_round_use=yes
46980 else
46981   echo "$as_me: failed program was:" >&5
46982 sed 's/^/| /' conftest.$ac_ext >&5
46983
46984 glibcxx_cv_func_float_round_use=no
46985 fi
46986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46987     ac_ext=c
46988 ac_cpp='$CPP $CPPFLAGS'
46989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46992
46993 fi
46994
46995   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
46996 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
46997   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46998
46999
47000 for ac_func in ceilf floorf
47001 do
47002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47003 echo "$as_me:$LINENO: checking for $ac_func" >&5
47004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47005 if eval "test \"\${$as_ac_var+set}\" = set"; then
47006   echo $ECHO_N "(cached) $ECHO_C" >&6
47007 else
47008   if test x$gcc_no_link = xyes; then
47009   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47011    { (exit 1); exit 1; }; }
47012 fi
47013 cat >conftest.$ac_ext <<_ACEOF
47014 /* confdefs.h.  */
47015 _ACEOF
47016 cat confdefs.h >>conftest.$ac_ext
47017 cat >>conftest.$ac_ext <<_ACEOF
47018 /* end confdefs.h.  */
47019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47020    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47021 #define $ac_func innocuous_$ac_func
47022
47023 /* System header to define __stub macros and hopefully few prototypes,
47024     which can conflict with char $ac_func (); below.
47025     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47026     <limits.h> exists even on freestanding compilers.  */
47027
47028 #ifdef __STDC__
47029 # include <limits.h>
47030 #else
47031 # include <assert.h>
47032 #endif
47033
47034 #undef $ac_func
47035
47036 /* Override any gcc2 internal prototype to avoid an error.  */
47037 #ifdef __cplusplus
47038 extern "C"
47039 {
47040 #endif
47041 /* We use char because int might match the return type of a gcc2
47042    builtin and then its argument prototype would still apply.  */
47043 char $ac_func ();
47044 /* The GNU C library defines this for functions which it implements
47045     to always fail with ENOSYS.  Some functions are actually named
47046     something starting with __ and the normal name is an alias.  */
47047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47048 choke me
47049 #else
47050 char (*f) () = $ac_func;
47051 #endif
47052 #ifdef __cplusplus
47053 }
47054 #endif
47055
47056 int
47057 main ()
47058 {
47059 return f != $ac_func;
47060   ;
47061   return 0;
47062 }
47063 _ACEOF
47064 rm -f conftest.$ac_objext conftest$ac_exeext
47065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47066   (eval $ac_link) 2>conftest.er1
47067   ac_status=$?
47068   grep -v '^ *+' conftest.er1 >conftest.err
47069   rm -f conftest.er1
47070   cat conftest.err >&5
47071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47072   (exit $ac_status); } &&
47073          { ac_try='test -z "$ac_c_werror_flag"
47074                          || test ! -s conftest.err'
47075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47076   (eval $ac_try) 2>&5
47077   ac_status=$?
47078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47079   (exit $ac_status); }; } &&
47080          { ac_try='test -s conftest$ac_exeext'
47081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47082   (eval $ac_try) 2>&5
47083   ac_status=$?
47084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47085   (exit $ac_status); }; }; then
47086   eval "$as_ac_var=yes"
47087 else
47088   echo "$as_me: failed program was:" >&5
47089 sed 's/^/| /' conftest.$ac_ext >&5
47090
47091 eval "$as_ac_var=no"
47092 fi
47093 rm -f conftest.err conftest.$ac_objext \
47094       conftest$ac_exeext conftest.$ac_ext
47095 fi
47096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47098 if test `eval echo '${'$as_ac_var'}'` = yes; then
47099   cat >>confdefs.h <<_ACEOF
47100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47101 _ACEOF
47102
47103 fi
47104 done
47105
47106   else
47107     echo "$as_me:$LINENO: checking for _float round functions" >&5
47108 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47109     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47110   echo $ECHO_N "(cached) $ECHO_C" >&6
47111 else
47112
47113
47114
47115       ac_ext=cc
47116 ac_cpp='$CXXCPP $CPPFLAGS'
47117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47120
47121       cat >conftest.$ac_ext <<_ACEOF
47122 /* confdefs.h.  */
47123 _ACEOF
47124 cat confdefs.h >>conftest.$ac_ext
47125 cat >>conftest.$ac_ext <<_ACEOF
47126 /* end confdefs.h.  */
47127 #include <math.h>
47128 int
47129 main ()
47130 {
47131 _ceilf (0); _floorf (0);
47132   ;
47133   return 0;
47134 }
47135 _ACEOF
47136 rm -f conftest.$ac_objext
47137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47138   (eval $ac_compile) 2>conftest.er1
47139   ac_status=$?
47140   grep -v '^ *+' conftest.er1 >conftest.err
47141   rm -f conftest.er1
47142   cat conftest.err >&5
47143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47144   (exit $ac_status); } &&
47145          { ac_try='test -z "$ac_cxx_werror_flag"
47146                          || test ! -s conftest.err'
47147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47148   (eval $ac_try) 2>&5
47149   ac_status=$?
47150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47151   (exit $ac_status); }; } &&
47152          { ac_try='test -s conftest.$ac_objext'
47153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47154   (eval $ac_try) 2>&5
47155   ac_status=$?
47156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47157   (exit $ac_status); }; }; then
47158   glibcxx_cv_func__float_round_use=yes
47159 else
47160   echo "$as_me: failed program was:" >&5
47161 sed 's/^/| /' conftest.$ac_ext >&5
47162
47163 glibcxx_cv_func__float_round_use=no
47164 fi
47165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47166       ac_ext=c
47167 ac_cpp='$CPP $CPPFLAGS'
47168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47171
47172 fi
47173
47174     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47175 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47176     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47177
47178
47179 for ac_func in _ceilf _floorf
47180 do
47181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47182 echo "$as_me:$LINENO: checking for $ac_func" >&5
47183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47184 if eval "test \"\${$as_ac_var+set}\" = set"; then
47185   echo $ECHO_N "(cached) $ECHO_C" >&6
47186 else
47187   if test x$gcc_no_link = xyes; then
47188   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47190    { (exit 1); exit 1; }; }
47191 fi
47192 cat >conftest.$ac_ext <<_ACEOF
47193 /* confdefs.h.  */
47194 _ACEOF
47195 cat confdefs.h >>conftest.$ac_ext
47196 cat >>conftest.$ac_ext <<_ACEOF
47197 /* end confdefs.h.  */
47198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47200 #define $ac_func innocuous_$ac_func
47201
47202 /* System header to define __stub macros and hopefully few prototypes,
47203     which can conflict with char $ac_func (); below.
47204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47205     <limits.h> exists even on freestanding compilers.  */
47206
47207 #ifdef __STDC__
47208 # include <limits.h>
47209 #else
47210 # include <assert.h>
47211 #endif
47212
47213 #undef $ac_func
47214
47215 /* Override any gcc2 internal prototype to avoid an error.  */
47216 #ifdef __cplusplus
47217 extern "C"
47218 {
47219 #endif
47220 /* We use char because int might match the return type of a gcc2
47221    builtin and then its argument prototype would still apply.  */
47222 char $ac_func ();
47223 /* The GNU C library defines this for functions which it implements
47224     to always fail with ENOSYS.  Some functions are actually named
47225     something starting with __ and the normal name is an alias.  */
47226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47227 choke me
47228 #else
47229 char (*f) () = $ac_func;
47230 #endif
47231 #ifdef __cplusplus
47232 }
47233 #endif
47234
47235 int
47236 main ()
47237 {
47238 return f != $ac_func;
47239   ;
47240   return 0;
47241 }
47242 _ACEOF
47243 rm -f conftest.$ac_objext conftest$ac_exeext
47244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47245   (eval $ac_link) 2>conftest.er1
47246   ac_status=$?
47247   grep -v '^ *+' conftest.er1 >conftest.err
47248   rm -f conftest.er1
47249   cat conftest.err >&5
47250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47251   (exit $ac_status); } &&
47252          { ac_try='test -z "$ac_c_werror_flag"
47253                          || test ! -s conftest.err'
47254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47255   (eval $ac_try) 2>&5
47256   ac_status=$?
47257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47258   (exit $ac_status); }; } &&
47259          { ac_try='test -s conftest$ac_exeext'
47260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47261   (eval $ac_try) 2>&5
47262   ac_status=$?
47263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47264   (exit $ac_status); }; }; then
47265   eval "$as_ac_var=yes"
47266 else
47267   echo "$as_me: failed program was:" >&5
47268 sed 's/^/| /' conftest.$ac_ext >&5
47269
47270 eval "$as_ac_var=no"
47271 fi
47272 rm -f conftest.err conftest.$ac_objext \
47273       conftest$ac_exeext conftest.$ac_ext
47274 fi
47275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47277 if test `eval echo '${'$as_ac_var'}'` = yes; then
47278   cat >>confdefs.h <<_ACEOF
47279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47280 _ACEOF
47281
47282 fi
47283 done
47284
47285     fi
47286   fi
47287
47288
47289
47290
47291
47292
47293
47294
47295   echo "$as_me:$LINENO: checking for expf declaration" >&5
47296 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
47297   if test x${glibcxx_cv_func_expf_use+set} != xset; then
47298     if test "${glibcxx_cv_func_expf_use+set}" = set; then
47299   echo $ECHO_N "(cached) $ECHO_C" >&6
47300 else
47301
47302
47303
47304       ac_ext=cc
47305 ac_cpp='$CXXCPP $CPPFLAGS'
47306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47309
47310       cat >conftest.$ac_ext <<_ACEOF
47311 /* confdefs.h.  */
47312 _ACEOF
47313 cat confdefs.h >>conftest.$ac_ext
47314 cat >>conftest.$ac_ext <<_ACEOF
47315 /* end confdefs.h.  */
47316 #include <math.h>
47317                       #ifdef HAVE_IEEEFP_H
47318                       #include <ieeefp.h>
47319                       #endif
47320
47321 int
47322 main ()
47323 {
47324  expf(0);
47325   ;
47326   return 0;
47327 }
47328 _ACEOF
47329 rm -f conftest.$ac_objext
47330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47331   (eval $ac_compile) 2>conftest.er1
47332   ac_status=$?
47333   grep -v '^ *+' conftest.er1 >conftest.err
47334   rm -f conftest.er1
47335   cat conftest.err >&5
47336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47337   (exit $ac_status); } &&
47338          { ac_try='test -z "$ac_cxx_werror_flag"
47339                          || test ! -s conftest.err'
47340   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47341   (eval $ac_try) 2>&5
47342   ac_status=$?
47343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47344   (exit $ac_status); }; } &&
47345          { ac_try='test -s conftest.$ac_objext'
47346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47347   (eval $ac_try) 2>&5
47348   ac_status=$?
47349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47350   (exit $ac_status); }; }; then
47351   glibcxx_cv_func_expf_use=yes
47352 else
47353   echo "$as_me: failed program was:" >&5
47354 sed 's/^/| /' conftest.$ac_ext >&5
47355
47356 glibcxx_cv_func_expf_use=no
47357 fi
47358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47359       ac_ext=c
47360 ac_cpp='$CPP $CPPFLAGS'
47361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47364
47365
47366 fi
47367
47368   fi
47369   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
47370 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
47371
47372   if test x$glibcxx_cv_func_expf_use = x"yes"; then
47373
47374 for ac_func in expf
47375 do
47376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47377 echo "$as_me:$LINENO: checking for $ac_func" >&5
47378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47379 if eval "test \"\${$as_ac_var+set}\" = set"; then
47380   echo $ECHO_N "(cached) $ECHO_C" >&6
47381 else
47382   if test x$gcc_no_link = xyes; then
47383   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47385    { (exit 1); exit 1; }; }
47386 fi
47387 cat >conftest.$ac_ext <<_ACEOF
47388 /* confdefs.h.  */
47389 _ACEOF
47390 cat confdefs.h >>conftest.$ac_ext
47391 cat >>conftest.$ac_ext <<_ACEOF
47392 /* end confdefs.h.  */
47393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47394    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47395 #define $ac_func innocuous_$ac_func
47396
47397 /* System header to define __stub macros and hopefully few prototypes,
47398     which can conflict with char $ac_func (); below.
47399     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47400     <limits.h> exists even on freestanding compilers.  */
47401
47402 #ifdef __STDC__
47403 # include <limits.h>
47404 #else
47405 # include <assert.h>
47406 #endif
47407
47408 #undef $ac_func
47409
47410 /* Override any gcc2 internal prototype to avoid an error.  */
47411 #ifdef __cplusplus
47412 extern "C"
47413 {
47414 #endif
47415 /* We use char because int might match the return type of a gcc2
47416    builtin and then its argument prototype would still apply.  */
47417 char $ac_func ();
47418 /* The GNU C library defines this for functions which it implements
47419     to always fail with ENOSYS.  Some functions are actually named
47420     something starting with __ and the normal name is an alias.  */
47421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47422 choke me
47423 #else
47424 char (*f) () = $ac_func;
47425 #endif
47426 #ifdef __cplusplus
47427 }
47428 #endif
47429
47430 int
47431 main ()
47432 {
47433 return f != $ac_func;
47434   ;
47435   return 0;
47436 }
47437 _ACEOF
47438 rm -f conftest.$ac_objext conftest$ac_exeext
47439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47440   (eval $ac_link) 2>conftest.er1
47441   ac_status=$?
47442   grep -v '^ *+' conftest.er1 >conftest.err
47443   rm -f conftest.er1
47444   cat conftest.err >&5
47445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47446   (exit $ac_status); } &&
47447          { ac_try='test -z "$ac_c_werror_flag"
47448                          || test ! -s conftest.err'
47449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47450   (eval $ac_try) 2>&5
47451   ac_status=$?
47452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47453   (exit $ac_status); }; } &&
47454          { ac_try='test -s conftest$ac_exeext'
47455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47456   (eval $ac_try) 2>&5
47457   ac_status=$?
47458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47459   (exit $ac_status); }; }; then
47460   eval "$as_ac_var=yes"
47461 else
47462   echo "$as_me: failed program was:" >&5
47463 sed 's/^/| /' conftest.$ac_ext >&5
47464
47465 eval "$as_ac_var=no"
47466 fi
47467 rm -f conftest.err conftest.$ac_objext \
47468       conftest$ac_exeext conftest.$ac_ext
47469 fi
47470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47471 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47472 if test `eval echo '${'$as_ac_var'}'` = yes; then
47473   cat >>confdefs.h <<_ACEOF
47474 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47475 _ACEOF
47476
47477 fi
47478 done
47479
47480   else
47481
47482   echo "$as_me:$LINENO: checking for _expf declaration" >&5
47483 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
47484   if test x${glibcxx_cv_func__expf_use+set} != xset; then
47485     if test "${glibcxx_cv_func__expf_use+set}" = set; then
47486   echo $ECHO_N "(cached) $ECHO_C" >&6
47487 else
47488
47489
47490
47491       ac_ext=cc
47492 ac_cpp='$CXXCPP $CPPFLAGS'
47493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47496
47497       cat >conftest.$ac_ext <<_ACEOF
47498 /* confdefs.h.  */
47499 _ACEOF
47500 cat confdefs.h >>conftest.$ac_ext
47501 cat >>conftest.$ac_ext <<_ACEOF
47502 /* end confdefs.h.  */
47503 #include <math.h>
47504                       #ifdef HAVE_IEEEFP_H
47505                       #include <ieeefp.h>
47506                       #endif
47507
47508 int
47509 main ()
47510 {
47511  _expf(0);
47512   ;
47513   return 0;
47514 }
47515 _ACEOF
47516 rm -f conftest.$ac_objext
47517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47518   (eval $ac_compile) 2>conftest.er1
47519   ac_status=$?
47520   grep -v '^ *+' conftest.er1 >conftest.err
47521   rm -f conftest.er1
47522   cat conftest.err >&5
47523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47524   (exit $ac_status); } &&
47525          { ac_try='test -z "$ac_cxx_werror_flag"
47526                          || test ! -s conftest.err'
47527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47528   (eval $ac_try) 2>&5
47529   ac_status=$?
47530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47531   (exit $ac_status); }; } &&
47532          { ac_try='test -s conftest.$ac_objext'
47533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47534   (eval $ac_try) 2>&5
47535   ac_status=$?
47536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47537   (exit $ac_status); }; }; then
47538   glibcxx_cv_func__expf_use=yes
47539 else
47540   echo "$as_me: failed program was:" >&5
47541 sed 's/^/| /' conftest.$ac_ext >&5
47542
47543 glibcxx_cv_func__expf_use=no
47544 fi
47545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47546       ac_ext=c
47547 ac_cpp='$CPP $CPPFLAGS'
47548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47551
47552
47553 fi
47554
47555   fi
47556   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
47557 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
47558
47559     if test x$glibcxx_cv_func__expf_use = x"yes"; then
47560
47561 for ac_func in _expf
47562 do
47563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47564 echo "$as_me:$LINENO: checking for $ac_func" >&5
47565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47566 if eval "test \"\${$as_ac_var+set}\" = set"; then
47567   echo $ECHO_N "(cached) $ECHO_C" >&6
47568 else
47569   if test x$gcc_no_link = xyes; then
47570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47572    { (exit 1); exit 1; }; }
47573 fi
47574 cat >conftest.$ac_ext <<_ACEOF
47575 /* confdefs.h.  */
47576 _ACEOF
47577 cat confdefs.h >>conftest.$ac_ext
47578 cat >>conftest.$ac_ext <<_ACEOF
47579 /* end confdefs.h.  */
47580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47581    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47582 #define $ac_func innocuous_$ac_func
47583
47584 /* System header to define __stub macros and hopefully few prototypes,
47585     which can conflict with char $ac_func (); below.
47586     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47587     <limits.h> exists even on freestanding compilers.  */
47588
47589 #ifdef __STDC__
47590 # include <limits.h>
47591 #else
47592 # include <assert.h>
47593 #endif
47594
47595 #undef $ac_func
47596
47597 /* Override any gcc2 internal prototype to avoid an error.  */
47598 #ifdef __cplusplus
47599 extern "C"
47600 {
47601 #endif
47602 /* We use char because int might match the return type of a gcc2
47603    builtin and then its argument prototype would still apply.  */
47604 char $ac_func ();
47605 /* The GNU C library defines this for functions which it implements
47606     to always fail with ENOSYS.  Some functions are actually named
47607     something starting with __ and the normal name is an alias.  */
47608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47609 choke me
47610 #else
47611 char (*f) () = $ac_func;
47612 #endif
47613 #ifdef __cplusplus
47614 }
47615 #endif
47616
47617 int
47618 main ()
47619 {
47620 return f != $ac_func;
47621   ;
47622   return 0;
47623 }
47624 _ACEOF
47625 rm -f conftest.$ac_objext conftest$ac_exeext
47626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47627   (eval $ac_link) 2>conftest.er1
47628   ac_status=$?
47629   grep -v '^ *+' conftest.er1 >conftest.err
47630   rm -f conftest.er1
47631   cat conftest.err >&5
47632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47633   (exit $ac_status); } &&
47634          { ac_try='test -z "$ac_c_werror_flag"
47635                          || test ! -s conftest.err'
47636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47637   (eval $ac_try) 2>&5
47638   ac_status=$?
47639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47640   (exit $ac_status); }; } &&
47641          { ac_try='test -s conftest$ac_exeext'
47642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47643   (eval $ac_try) 2>&5
47644   ac_status=$?
47645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47646   (exit $ac_status); }; }; then
47647   eval "$as_ac_var=yes"
47648 else
47649   echo "$as_me: failed program was:" >&5
47650 sed 's/^/| /' conftest.$ac_ext >&5
47651
47652 eval "$as_ac_var=no"
47653 fi
47654 rm -f conftest.err conftest.$ac_objext \
47655       conftest$ac_exeext conftest.$ac_ext
47656 fi
47657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47659 if test `eval echo '${'$as_ac_var'}'` = yes; then
47660   cat >>confdefs.h <<_ACEOF
47661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47662 _ACEOF
47663
47664 fi
47665 done
47666
47667     fi
47668   fi
47669
47670
47671
47672
47673
47674
47675   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
47676 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
47677   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47678     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
47679   echo $ECHO_N "(cached) $ECHO_C" >&6
47680 else
47681
47682
47683
47684       ac_ext=cc
47685 ac_cpp='$CXXCPP $CPPFLAGS'
47686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47689
47690       cat >conftest.$ac_ext <<_ACEOF
47691 /* confdefs.h.  */
47692 _ACEOF
47693 cat confdefs.h >>conftest.$ac_ext
47694 cat >>conftest.$ac_ext <<_ACEOF
47695 /* end confdefs.h.  */
47696 #include <math.h>
47697                       #ifdef HAVE_IEEEFP_H
47698                       #include <ieeefp.h>
47699                       #endif
47700
47701 int
47702 main ()
47703 {
47704  isnanf(0);
47705   ;
47706   return 0;
47707 }
47708 _ACEOF
47709 rm -f conftest.$ac_objext
47710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47711   (eval $ac_compile) 2>conftest.er1
47712   ac_status=$?
47713   grep -v '^ *+' conftest.er1 >conftest.err
47714   rm -f conftest.er1
47715   cat conftest.err >&5
47716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47717   (exit $ac_status); } &&
47718          { ac_try='test -z "$ac_cxx_werror_flag"
47719                          || test ! -s conftest.err'
47720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47721   (eval $ac_try) 2>&5
47722   ac_status=$?
47723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47724   (exit $ac_status); }; } &&
47725          { ac_try='test -s conftest.$ac_objext'
47726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47727   (eval $ac_try) 2>&5
47728   ac_status=$?
47729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47730   (exit $ac_status); }; }; then
47731   glibcxx_cv_func_isnanf_use=yes
47732 else
47733   echo "$as_me: failed program was:" >&5
47734 sed 's/^/| /' conftest.$ac_ext >&5
47735
47736 glibcxx_cv_func_isnanf_use=no
47737 fi
47738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47739       ac_ext=c
47740 ac_cpp='$CPP $CPPFLAGS'
47741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47744
47745
47746 fi
47747
47748   fi
47749   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
47750 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
47751
47752   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47753
47754 for ac_func in isnanf
47755 do
47756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47757 echo "$as_me:$LINENO: checking for $ac_func" >&5
47758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47759 if eval "test \"\${$as_ac_var+set}\" = set"; then
47760   echo $ECHO_N "(cached) $ECHO_C" >&6
47761 else
47762   if test x$gcc_no_link = xyes; then
47763   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47765    { (exit 1); exit 1; }; }
47766 fi
47767 cat >conftest.$ac_ext <<_ACEOF
47768 /* confdefs.h.  */
47769 _ACEOF
47770 cat confdefs.h >>conftest.$ac_ext
47771 cat >>conftest.$ac_ext <<_ACEOF
47772 /* end confdefs.h.  */
47773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47774    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47775 #define $ac_func innocuous_$ac_func
47776
47777 /* System header to define __stub macros and hopefully few prototypes,
47778     which can conflict with char $ac_func (); below.
47779     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47780     <limits.h> exists even on freestanding compilers.  */
47781
47782 #ifdef __STDC__
47783 # include <limits.h>
47784 #else
47785 # include <assert.h>
47786 #endif
47787
47788 #undef $ac_func
47789
47790 /* Override any gcc2 internal prototype to avoid an error.  */
47791 #ifdef __cplusplus
47792 extern "C"
47793 {
47794 #endif
47795 /* We use char because int might match the return type of a gcc2
47796    builtin and then its argument prototype would still apply.  */
47797 char $ac_func ();
47798 /* The GNU C library defines this for functions which it implements
47799     to always fail with ENOSYS.  Some functions are actually named
47800     something starting with __ and the normal name is an alias.  */
47801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47802 choke me
47803 #else
47804 char (*f) () = $ac_func;
47805 #endif
47806 #ifdef __cplusplus
47807 }
47808 #endif
47809
47810 int
47811 main ()
47812 {
47813 return f != $ac_func;
47814   ;
47815   return 0;
47816 }
47817 _ACEOF
47818 rm -f conftest.$ac_objext conftest$ac_exeext
47819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47820   (eval $ac_link) 2>conftest.er1
47821   ac_status=$?
47822   grep -v '^ *+' conftest.er1 >conftest.err
47823   rm -f conftest.er1
47824   cat conftest.err >&5
47825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47826   (exit $ac_status); } &&
47827          { ac_try='test -z "$ac_c_werror_flag"
47828                          || test ! -s conftest.err'
47829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47830   (eval $ac_try) 2>&5
47831   ac_status=$?
47832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47833   (exit $ac_status); }; } &&
47834          { ac_try='test -s conftest$ac_exeext'
47835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47836   (eval $ac_try) 2>&5
47837   ac_status=$?
47838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47839   (exit $ac_status); }; }; then
47840   eval "$as_ac_var=yes"
47841 else
47842   echo "$as_me: failed program was:" >&5
47843 sed 's/^/| /' conftest.$ac_ext >&5
47844
47845 eval "$as_ac_var=no"
47846 fi
47847 rm -f conftest.err conftest.$ac_objext \
47848       conftest$ac_exeext conftest.$ac_ext
47849 fi
47850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47852 if test `eval echo '${'$as_ac_var'}'` = yes; then
47853   cat >>confdefs.h <<_ACEOF
47854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47855 _ACEOF
47856
47857 fi
47858 done
47859
47860   else
47861
47862   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
47863 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
47864   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47865     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
47866   echo $ECHO_N "(cached) $ECHO_C" >&6
47867 else
47868
47869
47870
47871       ac_ext=cc
47872 ac_cpp='$CXXCPP $CPPFLAGS'
47873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47876
47877       cat >conftest.$ac_ext <<_ACEOF
47878 /* confdefs.h.  */
47879 _ACEOF
47880 cat confdefs.h >>conftest.$ac_ext
47881 cat >>conftest.$ac_ext <<_ACEOF
47882 /* end confdefs.h.  */
47883 #include <math.h>
47884                       #ifdef HAVE_IEEEFP_H
47885                       #include <ieeefp.h>
47886                       #endif
47887
47888 int
47889 main ()
47890 {
47891  _isnanf(0);
47892   ;
47893   return 0;
47894 }
47895 _ACEOF
47896 rm -f conftest.$ac_objext
47897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47898   (eval $ac_compile) 2>conftest.er1
47899   ac_status=$?
47900   grep -v '^ *+' conftest.er1 >conftest.err
47901   rm -f conftest.er1
47902   cat conftest.err >&5
47903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47904   (exit $ac_status); } &&
47905          { ac_try='test -z "$ac_cxx_werror_flag"
47906                          || test ! -s conftest.err'
47907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47908   (eval $ac_try) 2>&5
47909   ac_status=$?
47910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47911   (exit $ac_status); }; } &&
47912          { ac_try='test -s conftest.$ac_objext'
47913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47914   (eval $ac_try) 2>&5
47915   ac_status=$?
47916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47917   (exit $ac_status); }; }; then
47918   glibcxx_cv_func__isnanf_use=yes
47919 else
47920   echo "$as_me: failed program was:" >&5
47921 sed 's/^/| /' conftest.$ac_ext >&5
47922
47923 glibcxx_cv_func__isnanf_use=no
47924 fi
47925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47926       ac_ext=c
47927 ac_cpp='$CPP $CPPFLAGS'
47928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47931
47932
47933 fi
47934
47935   fi
47936   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
47937 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
47938
47939     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47940
47941 for ac_func in _isnanf
47942 do
47943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47944 echo "$as_me:$LINENO: checking for $ac_func" >&5
47945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47946 if eval "test \"\${$as_ac_var+set}\" = set"; then
47947   echo $ECHO_N "(cached) $ECHO_C" >&6
47948 else
47949   if test x$gcc_no_link = xyes; then
47950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47952    { (exit 1); exit 1; }; }
47953 fi
47954 cat >conftest.$ac_ext <<_ACEOF
47955 /* confdefs.h.  */
47956 _ACEOF
47957 cat confdefs.h >>conftest.$ac_ext
47958 cat >>conftest.$ac_ext <<_ACEOF
47959 /* end confdefs.h.  */
47960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47961    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47962 #define $ac_func innocuous_$ac_func
47963
47964 /* System header to define __stub macros and hopefully few prototypes,
47965     which can conflict with char $ac_func (); below.
47966     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47967     <limits.h> exists even on freestanding compilers.  */
47968
47969 #ifdef __STDC__
47970 # include <limits.h>
47971 #else
47972 # include <assert.h>
47973 #endif
47974
47975 #undef $ac_func
47976
47977 /* Override any gcc2 internal prototype to avoid an error.  */
47978 #ifdef __cplusplus
47979 extern "C"
47980 {
47981 #endif
47982 /* We use char because int might match the return type of a gcc2
47983    builtin and then its argument prototype would still apply.  */
47984 char $ac_func ();
47985 /* The GNU C library defines this for functions which it implements
47986     to always fail with ENOSYS.  Some functions are actually named
47987     something starting with __ and the normal name is an alias.  */
47988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47989 choke me
47990 #else
47991 char (*f) () = $ac_func;
47992 #endif
47993 #ifdef __cplusplus
47994 }
47995 #endif
47996
47997 int
47998 main ()
47999 {
48000 return f != $ac_func;
48001   ;
48002   return 0;
48003 }
48004 _ACEOF
48005 rm -f conftest.$ac_objext conftest$ac_exeext
48006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48007   (eval $ac_link) 2>conftest.er1
48008   ac_status=$?
48009   grep -v '^ *+' conftest.er1 >conftest.err
48010   rm -f conftest.er1
48011   cat conftest.err >&5
48012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48013   (exit $ac_status); } &&
48014          { ac_try='test -z "$ac_c_werror_flag"
48015                          || test ! -s conftest.err'
48016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48017   (eval $ac_try) 2>&5
48018   ac_status=$?
48019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48020   (exit $ac_status); }; } &&
48021          { ac_try='test -s conftest$ac_exeext'
48022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48023   (eval $ac_try) 2>&5
48024   ac_status=$?
48025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48026   (exit $ac_status); }; }; then
48027   eval "$as_ac_var=yes"
48028 else
48029   echo "$as_me: failed program was:" >&5
48030 sed 's/^/| /' conftest.$ac_ext >&5
48031
48032 eval "$as_ac_var=no"
48033 fi
48034 rm -f conftest.err conftest.$ac_objext \
48035       conftest$ac_exeext conftest.$ac_ext
48036 fi
48037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48039 if test `eval echo '${'$as_ac_var'}'` = yes; then
48040   cat >>confdefs.h <<_ACEOF
48041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48042 _ACEOF
48043
48044 fi
48045 done
48046
48047     fi
48048   fi
48049
48050
48051
48052
48053
48054
48055   echo "$as_me:$LINENO: checking for isinff declaration" >&5
48056 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
48057   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48058     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
48059   echo $ECHO_N "(cached) $ECHO_C" >&6
48060 else
48061
48062
48063
48064       ac_ext=cc
48065 ac_cpp='$CXXCPP $CPPFLAGS'
48066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48069
48070       cat >conftest.$ac_ext <<_ACEOF
48071 /* confdefs.h.  */
48072 _ACEOF
48073 cat confdefs.h >>conftest.$ac_ext
48074 cat >>conftest.$ac_ext <<_ACEOF
48075 /* end confdefs.h.  */
48076 #include <math.h>
48077                       #ifdef HAVE_IEEEFP_H
48078                       #include <ieeefp.h>
48079                       #endif
48080
48081 int
48082 main ()
48083 {
48084  isinff(0);
48085   ;
48086   return 0;
48087 }
48088 _ACEOF
48089 rm -f conftest.$ac_objext
48090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48091   (eval $ac_compile) 2>conftest.er1
48092   ac_status=$?
48093   grep -v '^ *+' conftest.er1 >conftest.err
48094   rm -f conftest.er1
48095   cat conftest.err >&5
48096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48097   (exit $ac_status); } &&
48098          { ac_try='test -z "$ac_cxx_werror_flag"
48099                          || test ! -s conftest.err'
48100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48101   (eval $ac_try) 2>&5
48102   ac_status=$?
48103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48104   (exit $ac_status); }; } &&
48105          { ac_try='test -s conftest.$ac_objext'
48106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48107   (eval $ac_try) 2>&5
48108   ac_status=$?
48109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48110   (exit $ac_status); }; }; then
48111   glibcxx_cv_func_isinff_use=yes
48112 else
48113   echo "$as_me: failed program was:" >&5
48114 sed 's/^/| /' conftest.$ac_ext >&5
48115
48116 glibcxx_cv_func_isinff_use=no
48117 fi
48118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48119       ac_ext=c
48120 ac_cpp='$CPP $CPPFLAGS'
48121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48124
48125
48126 fi
48127
48128   fi
48129   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
48130 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
48131
48132   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48133
48134 for ac_func in isinff
48135 do
48136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48137 echo "$as_me:$LINENO: checking for $ac_func" >&5
48138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48139 if eval "test \"\${$as_ac_var+set}\" = set"; then
48140   echo $ECHO_N "(cached) $ECHO_C" >&6
48141 else
48142   if test x$gcc_no_link = xyes; then
48143   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48145    { (exit 1); exit 1; }; }
48146 fi
48147 cat >conftest.$ac_ext <<_ACEOF
48148 /* confdefs.h.  */
48149 _ACEOF
48150 cat confdefs.h >>conftest.$ac_ext
48151 cat >>conftest.$ac_ext <<_ACEOF
48152 /* end confdefs.h.  */
48153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48154    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48155 #define $ac_func innocuous_$ac_func
48156
48157 /* System header to define __stub macros and hopefully few prototypes,
48158     which can conflict with char $ac_func (); below.
48159     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48160     <limits.h> exists even on freestanding compilers.  */
48161
48162 #ifdef __STDC__
48163 # include <limits.h>
48164 #else
48165 # include <assert.h>
48166 #endif
48167
48168 #undef $ac_func
48169
48170 /* Override any gcc2 internal prototype to avoid an error.  */
48171 #ifdef __cplusplus
48172 extern "C"
48173 {
48174 #endif
48175 /* We use char because int might match the return type of a gcc2
48176    builtin and then its argument prototype would still apply.  */
48177 char $ac_func ();
48178 /* The GNU C library defines this for functions which it implements
48179     to always fail with ENOSYS.  Some functions are actually named
48180     something starting with __ and the normal name is an alias.  */
48181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48182 choke me
48183 #else
48184 char (*f) () = $ac_func;
48185 #endif
48186 #ifdef __cplusplus
48187 }
48188 #endif
48189
48190 int
48191 main ()
48192 {
48193 return f != $ac_func;
48194   ;
48195   return 0;
48196 }
48197 _ACEOF
48198 rm -f conftest.$ac_objext conftest$ac_exeext
48199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48200   (eval $ac_link) 2>conftest.er1
48201   ac_status=$?
48202   grep -v '^ *+' conftest.er1 >conftest.err
48203   rm -f conftest.er1
48204   cat conftest.err >&5
48205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48206   (exit $ac_status); } &&
48207          { ac_try='test -z "$ac_c_werror_flag"
48208                          || test ! -s conftest.err'
48209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48210   (eval $ac_try) 2>&5
48211   ac_status=$?
48212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48213   (exit $ac_status); }; } &&
48214          { ac_try='test -s conftest$ac_exeext'
48215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48216   (eval $ac_try) 2>&5
48217   ac_status=$?
48218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48219   (exit $ac_status); }; }; then
48220   eval "$as_ac_var=yes"
48221 else
48222   echo "$as_me: failed program was:" >&5
48223 sed 's/^/| /' conftest.$ac_ext >&5
48224
48225 eval "$as_ac_var=no"
48226 fi
48227 rm -f conftest.err conftest.$ac_objext \
48228       conftest$ac_exeext conftest.$ac_ext
48229 fi
48230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48232 if test `eval echo '${'$as_ac_var'}'` = yes; then
48233   cat >>confdefs.h <<_ACEOF
48234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48235 _ACEOF
48236
48237 fi
48238 done
48239
48240   else
48241
48242   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
48243 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
48244   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48245     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
48246   echo $ECHO_N "(cached) $ECHO_C" >&6
48247 else
48248
48249
48250
48251       ac_ext=cc
48252 ac_cpp='$CXXCPP $CPPFLAGS'
48253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48256
48257       cat >conftest.$ac_ext <<_ACEOF
48258 /* confdefs.h.  */
48259 _ACEOF
48260 cat confdefs.h >>conftest.$ac_ext
48261 cat >>conftest.$ac_ext <<_ACEOF
48262 /* end confdefs.h.  */
48263 #include <math.h>
48264                       #ifdef HAVE_IEEEFP_H
48265                       #include <ieeefp.h>
48266                       #endif
48267
48268 int
48269 main ()
48270 {
48271  _isinff(0);
48272   ;
48273   return 0;
48274 }
48275 _ACEOF
48276 rm -f conftest.$ac_objext
48277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48278   (eval $ac_compile) 2>conftest.er1
48279   ac_status=$?
48280   grep -v '^ *+' conftest.er1 >conftest.err
48281   rm -f conftest.er1
48282   cat conftest.err >&5
48283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48284   (exit $ac_status); } &&
48285          { ac_try='test -z "$ac_cxx_werror_flag"
48286                          || test ! -s conftest.err'
48287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48288   (eval $ac_try) 2>&5
48289   ac_status=$?
48290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48291   (exit $ac_status); }; } &&
48292          { ac_try='test -s conftest.$ac_objext'
48293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48294   (eval $ac_try) 2>&5
48295   ac_status=$?
48296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48297   (exit $ac_status); }; }; then
48298   glibcxx_cv_func__isinff_use=yes
48299 else
48300   echo "$as_me: failed program was:" >&5
48301 sed 's/^/| /' conftest.$ac_ext >&5
48302
48303 glibcxx_cv_func__isinff_use=no
48304 fi
48305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48306       ac_ext=c
48307 ac_cpp='$CPP $CPPFLAGS'
48308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48311
48312
48313 fi
48314
48315   fi
48316   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
48317 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
48318
48319     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48320
48321 for ac_func in _isinff
48322 do
48323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48324 echo "$as_me:$LINENO: checking for $ac_func" >&5
48325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48326 if eval "test \"\${$as_ac_var+set}\" = set"; then
48327   echo $ECHO_N "(cached) $ECHO_C" >&6
48328 else
48329   if test x$gcc_no_link = xyes; then
48330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48332    { (exit 1); exit 1; }; }
48333 fi
48334 cat >conftest.$ac_ext <<_ACEOF
48335 /* confdefs.h.  */
48336 _ACEOF
48337 cat confdefs.h >>conftest.$ac_ext
48338 cat >>conftest.$ac_ext <<_ACEOF
48339 /* end confdefs.h.  */
48340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48341    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48342 #define $ac_func innocuous_$ac_func
48343
48344 /* System header to define __stub macros and hopefully few prototypes,
48345     which can conflict with char $ac_func (); below.
48346     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48347     <limits.h> exists even on freestanding compilers.  */
48348
48349 #ifdef __STDC__
48350 # include <limits.h>
48351 #else
48352 # include <assert.h>
48353 #endif
48354
48355 #undef $ac_func
48356
48357 /* Override any gcc2 internal prototype to avoid an error.  */
48358 #ifdef __cplusplus
48359 extern "C"
48360 {
48361 #endif
48362 /* We use char because int might match the return type of a gcc2
48363    builtin and then its argument prototype would still apply.  */
48364 char $ac_func ();
48365 /* The GNU C library defines this for functions which it implements
48366     to always fail with ENOSYS.  Some functions are actually named
48367     something starting with __ and the normal name is an alias.  */
48368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48369 choke me
48370 #else
48371 char (*f) () = $ac_func;
48372 #endif
48373 #ifdef __cplusplus
48374 }
48375 #endif
48376
48377 int
48378 main ()
48379 {
48380 return f != $ac_func;
48381   ;
48382   return 0;
48383 }
48384 _ACEOF
48385 rm -f conftest.$ac_objext conftest$ac_exeext
48386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48387   (eval $ac_link) 2>conftest.er1
48388   ac_status=$?
48389   grep -v '^ *+' conftest.er1 >conftest.err
48390   rm -f conftest.er1
48391   cat conftest.err >&5
48392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48393   (exit $ac_status); } &&
48394          { ac_try='test -z "$ac_c_werror_flag"
48395                          || test ! -s conftest.err'
48396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48397   (eval $ac_try) 2>&5
48398   ac_status=$?
48399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48400   (exit $ac_status); }; } &&
48401          { ac_try='test -s conftest$ac_exeext'
48402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48403   (eval $ac_try) 2>&5
48404   ac_status=$?
48405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48406   (exit $ac_status); }; }; then
48407   eval "$as_ac_var=yes"
48408 else
48409   echo "$as_me: failed program was:" >&5
48410 sed 's/^/| /' conftest.$ac_ext >&5
48411
48412 eval "$as_ac_var=no"
48413 fi
48414 rm -f conftest.err conftest.$ac_objext \
48415       conftest$ac_exeext conftest.$ac_ext
48416 fi
48417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48419 if test `eval echo '${'$as_ac_var'}'` = yes; then
48420   cat >>confdefs.h <<_ACEOF
48421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48422 _ACEOF
48423
48424 fi
48425 done
48426
48427     fi
48428   fi
48429
48430
48431
48432
48433
48434
48435   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
48436 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
48437   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48438     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
48439   echo $ECHO_N "(cached) $ECHO_C" >&6
48440 else
48441
48442
48443
48444       ac_ext=cc
48445 ac_cpp='$CXXCPP $CPPFLAGS'
48446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48449
48450       cat >conftest.$ac_ext <<_ACEOF
48451 /* confdefs.h.  */
48452 _ACEOF
48453 cat confdefs.h >>conftest.$ac_ext
48454 cat >>conftest.$ac_ext <<_ACEOF
48455 /* end confdefs.h.  */
48456 #include <math.h>
48457 int
48458 main ()
48459 {
48460  atan2f(0, 0);
48461   ;
48462   return 0;
48463 }
48464 _ACEOF
48465 rm -f conftest.$ac_objext
48466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48467   (eval $ac_compile) 2>conftest.er1
48468   ac_status=$?
48469   grep -v '^ *+' conftest.er1 >conftest.err
48470   rm -f conftest.er1
48471   cat conftest.err >&5
48472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48473   (exit $ac_status); } &&
48474          { ac_try='test -z "$ac_cxx_werror_flag"
48475                          || test ! -s conftest.err'
48476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48477   (eval $ac_try) 2>&5
48478   ac_status=$?
48479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48480   (exit $ac_status); }; } &&
48481          { ac_try='test -s conftest.$ac_objext'
48482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48483   (eval $ac_try) 2>&5
48484   ac_status=$?
48485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48486   (exit $ac_status); }; }; then
48487   glibcxx_cv_func_atan2f_use=yes
48488 else
48489   echo "$as_me: failed program was:" >&5
48490 sed 's/^/| /' conftest.$ac_ext >&5
48491
48492 glibcxx_cv_func_atan2f_use=no
48493 fi
48494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48495       ac_ext=c
48496 ac_cpp='$CPP $CPPFLAGS'
48497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48500
48501
48502 fi
48503
48504   fi
48505   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
48506 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
48507
48508   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48509
48510 for ac_func in atan2f
48511 do
48512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48513 echo "$as_me:$LINENO: checking for $ac_func" >&5
48514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48515 if eval "test \"\${$as_ac_var+set}\" = set"; then
48516   echo $ECHO_N "(cached) $ECHO_C" >&6
48517 else
48518   if test x$gcc_no_link = xyes; then
48519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48521    { (exit 1); exit 1; }; }
48522 fi
48523 cat >conftest.$ac_ext <<_ACEOF
48524 /* confdefs.h.  */
48525 _ACEOF
48526 cat confdefs.h >>conftest.$ac_ext
48527 cat >>conftest.$ac_ext <<_ACEOF
48528 /* end confdefs.h.  */
48529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48530    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48531 #define $ac_func innocuous_$ac_func
48532
48533 /* System header to define __stub macros and hopefully few prototypes,
48534     which can conflict with char $ac_func (); below.
48535     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48536     <limits.h> exists even on freestanding compilers.  */
48537
48538 #ifdef __STDC__
48539 # include <limits.h>
48540 #else
48541 # include <assert.h>
48542 #endif
48543
48544 #undef $ac_func
48545
48546 /* Override any gcc2 internal prototype to avoid an error.  */
48547 #ifdef __cplusplus
48548 extern "C"
48549 {
48550 #endif
48551 /* We use char because int might match the return type of a gcc2
48552    builtin and then its argument prototype would still apply.  */
48553 char $ac_func ();
48554 /* The GNU C library defines this for functions which it implements
48555     to always fail with ENOSYS.  Some functions are actually named
48556     something starting with __ and the normal name is an alias.  */
48557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48558 choke me
48559 #else
48560 char (*f) () = $ac_func;
48561 #endif
48562 #ifdef __cplusplus
48563 }
48564 #endif
48565
48566 int
48567 main ()
48568 {
48569 return f != $ac_func;
48570   ;
48571   return 0;
48572 }
48573 _ACEOF
48574 rm -f conftest.$ac_objext conftest$ac_exeext
48575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48576   (eval $ac_link) 2>conftest.er1
48577   ac_status=$?
48578   grep -v '^ *+' conftest.er1 >conftest.err
48579   rm -f conftest.er1
48580   cat conftest.err >&5
48581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48582   (exit $ac_status); } &&
48583          { ac_try='test -z "$ac_c_werror_flag"
48584                          || test ! -s conftest.err'
48585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48586   (eval $ac_try) 2>&5
48587   ac_status=$?
48588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48589   (exit $ac_status); }; } &&
48590          { ac_try='test -s conftest$ac_exeext'
48591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48592   (eval $ac_try) 2>&5
48593   ac_status=$?
48594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48595   (exit $ac_status); }; }; then
48596   eval "$as_ac_var=yes"
48597 else
48598   echo "$as_me: failed program was:" >&5
48599 sed 's/^/| /' conftest.$ac_ext >&5
48600
48601 eval "$as_ac_var=no"
48602 fi
48603 rm -f conftest.err conftest.$ac_objext \
48604       conftest$ac_exeext conftest.$ac_ext
48605 fi
48606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48608 if test `eval echo '${'$as_ac_var'}'` = yes; then
48609   cat >>confdefs.h <<_ACEOF
48610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48611 _ACEOF
48612
48613 fi
48614 done
48615
48616   else
48617
48618   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
48619 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
48620   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48621     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
48622   echo $ECHO_N "(cached) $ECHO_C" >&6
48623 else
48624
48625
48626
48627       ac_ext=cc
48628 ac_cpp='$CXXCPP $CPPFLAGS'
48629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48632
48633       cat >conftest.$ac_ext <<_ACEOF
48634 /* confdefs.h.  */
48635 _ACEOF
48636 cat confdefs.h >>conftest.$ac_ext
48637 cat >>conftest.$ac_ext <<_ACEOF
48638 /* end confdefs.h.  */
48639 #include <math.h>
48640 int
48641 main ()
48642 {
48643  _atan2f(0, 0);
48644   ;
48645   return 0;
48646 }
48647 _ACEOF
48648 rm -f conftest.$ac_objext
48649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48650   (eval $ac_compile) 2>conftest.er1
48651   ac_status=$?
48652   grep -v '^ *+' conftest.er1 >conftest.err
48653   rm -f conftest.er1
48654   cat conftest.err >&5
48655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48656   (exit $ac_status); } &&
48657          { ac_try='test -z "$ac_cxx_werror_flag"
48658                          || test ! -s conftest.err'
48659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48660   (eval $ac_try) 2>&5
48661   ac_status=$?
48662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48663   (exit $ac_status); }; } &&
48664          { ac_try='test -s conftest.$ac_objext'
48665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48666   (eval $ac_try) 2>&5
48667   ac_status=$?
48668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48669   (exit $ac_status); }; }; then
48670   glibcxx_cv_func__atan2f_use=yes
48671 else
48672   echo "$as_me: failed program was:" >&5
48673 sed 's/^/| /' conftest.$ac_ext >&5
48674
48675 glibcxx_cv_func__atan2f_use=no
48676 fi
48677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48678       ac_ext=c
48679 ac_cpp='$CPP $CPPFLAGS'
48680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48683
48684
48685 fi
48686
48687   fi
48688   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
48689 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
48690
48691     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48692
48693 for ac_func in _atan2f
48694 do
48695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48696 echo "$as_me:$LINENO: checking for $ac_func" >&5
48697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48698 if eval "test \"\${$as_ac_var+set}\" = set"; then
48699   echo $ECHO_N "(cached) $ECHO_C" >&6
48700 else
48701   if test x$gcc_no_link = xyes; then
48702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48704    { (exit 1); exit 1; }; }
48705 fi
48706 cat >conftest.$ac_ext <<_ACEOF
48707 /* confdefs.h.  */
48708 _ACEOF
48709 cat confdefs.h >>conftest.$ac_ext
48710 cat >>conftest.$ac_ext <<_ACEOF
48711 /* end confdefs.h.  */
48712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48713    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48714 #define $ac_func innocuous_$ac_func
48715
48716 /* System header to define __stub macros and hopefully few prototypes,
48717     which can conflict with char $ac_func (); below.
48718     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48719     <limits.h> exists even on freestanding compilers.  */
48720
48721 #ifdef __STDC__
48722 # include <limits.h>
48723 #else
48724 # include <assert.h>
48725 #endif
48726
48727 #undef $ac_func
48728
48729 /* Override any gcc2 internal prototype to avoid an error.  */
48730 #ifdef __cplusplus
48731 extern "C"
48732 {
48733 #endif
48734 /* We use char because int might match the return type of a gcc2
48735    builtin and then its argument prototype would still apply.  */
48736 char $ac_func ();
48737 /* The GNU C library defines this for functions which it implements
48738     to always fail with ENOSYS.  Some functions are actually named
48739     something starting with __ and the normal name is an alias.  */
48740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48741 choke me
48742 #else
48743 char (*f) () = $ac_func;
48744 #endif
48745 #ifdef __cplusplus
48746 }
48747 #endif
48748
48749 int
48750 main ()
48751 {
48752 return f != $ac_func;
48753   ;
48754   return 0;
48755 }
48756 _ACEOF
48757 rm -f conftest.$ac_objext conftest$ac_exeext
48758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48759   (eval $ac_link) 2>conftest.er1
48760   ac_status=$?
48761   grep -v '^ *+' conftest.er1 >conftest.err
48762   rm -f conftest.er1
48763   cat conftest.err >&5
48764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48765   (exit $ac_status); } &&
48766          { ac_try='test -z "$ac_c_werror_flag"
48767                          || test ! -s conftest.err'
48768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48769   (eval $ac_try) 2>&5
48770   ac_status=$?
48771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48772   (exit $ac_status); }; } &&
48773          { ac_try='test -s conftest$ac_exeext'
48774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48775   (eval $ac_try) 2>&5
48776   ac_status=$?
48777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48778   (exit $ac_status); }; }; then
48779   eval "$as_ac_var=yes"
48780 else
48781   echo "$as_me: failed program was:" >&5
48782 sed 's/^/| /' conftest.$ac_ext >&5
48783
48784 eval "$as_ac_var=no"
48785 fi
48786 rm -f conftest.err conftest.$ac_objext \
48787       conftest$ac_exeext conftest.$ac_ext
48788 fi
48789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48791 if test `eval echo '${'$as_ac_var'}'` = yes; then
48792   cat >>confdefs.h <<_ACEOF
48793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48794 _ACEOF
48795
48796 fi
48797 done
48798
48799     fi
48800   fi
48801
48802
48803
48804
48805
48806
48807   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
48808 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
48809   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48810     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
48811   echo $ECHO_N "(cached) $ECHO_C" >&6
48812 else
48813
48814
48815
48816       ac_ext=cc
48817 ac_cpp='$CXXCPP $CPPFLAGS'
48818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48821
48822       cat >conftest.$ac_ext <<_ACEOF
48823 /* confdefs.h.  */
48824 _ACEOF
48825 cat confdefs.h >>conftest.$ac_ext
48826 cat >>conftest.$ac_ext <<_ACEOF
48827 /* end confdefs.h.  */
48828 #include <math.h>
48829                       #ifdef HAVE_IEEEFP_H
48830                       #include <ieeefp.h>
48831                       #endif
48832
48833 int
48834 main ()
48835 {
48836  fabsf(0);
48837   ;
48838   return 0;
48839 }
48840 _ACEOF
48841 rm -f conftest.$ac_objext
48842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48843   (eval $ac_compile) 2>conftest.er1
48844   ac_status=$?
48845   grep -v '^ *+' conftest.er1 >conftest.err
48846   rm -f conftest.er1
48847   cat conftest.err >&5
48848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48849   (exit $ac_status); } &&
48850          { ac_try='test -z "$ac_cxx_werror_flag"
48851                          || test ! -s conftest.err'
48852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48853   (eval $ac_try) 2>&5
48854   ac_status=$?
48855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48856   (exit $ac_status); }; } &&
48857          { ac_try='test -s conftest.$ac_objext'
48858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48859   (eval $ac_try) 2>&5
48860   ac_status=$?
48861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48862   (exit $ac_status); }; }; then
48863   glibcxx_cv_func_fabsf_use=yes
48864 else
48865   echo "$as_me: failed program was:" >&5
48866 sed 's/^/| /' conftest.$ac_ext >&5
48867
48868 glibcxx_cv_func_fabsf_use=no
48869 fi
48870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48871       ac_ext=c
48872 ac_cpp='$CPP $CPPFLAGS'
48873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48876
48877
48878 fi
48879
48880   fi
48881   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
48882 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
48883
48884   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48885
48886 for ac_func in fabsf
48887 do
48888 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48889 echo "$as_me:$LINENO: checking for $ac_func" >&5
48890 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48891 if eval "test \"\${$as_ac_var+set}\" = set"; then
48892   echo $ECHO_N "(cached) $ECHO_C" >&6
48893 else
48894   if test x$gcc_no_link = xyes; then
48895   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48897    { (exit 1); exit 1; }; }
48898 fi
48899 cat >conftest.$ac_ext <<_ACEOF
48900 /* confdefs.h.  */
48901 _ACEOF
48902 cat confdefs.h >>conftest.$ac_ext
48903 cat >>conftest.$ac_ext <<_ACEOF
48904 /* end confdefs.h.  */
48905 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48906    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48907 #define $ac_func innocuous_$ac_func
48908
48909 /* System header to define __stub macros and hopefully few prototypes,
48910     which can conflict with char $ac_func (); below.
48911     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48912     <limits.h> exists even on freestanding compilers.  */
48913
48914 #ifdef __STDC__
48915 # include <limits.h>
48916 #else
48917 # include <assert.h>
48918 #endif
48919
48920 #undef $ac_func
48921
48922 /* Override any gcc2 internal prototype to avoid an error.  */
48923 #ifdef __cplusplus
48924 extern "C"
48925 {
48926 #endif
48927 /* We use char because int might match the return type of a gcc2
48928    builtin and then its argument prototype would still apply.  */
48929 char $ac_func ();
48930 /* The GNU C library defines this for functions which it implements
48931     to always fail with ENOSYS.  Some functions are actually named
48932     something starting with __ and the normal name is an alias.  */
48933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48934 choke me
48935 #else
48936 char (*f) () = $ac_func;
48937 #endif
48938 #ifdef __cplusplus
48939 }
48940 #endif
48941
48942 int
48943 main ()
48944 {
48945 return f != $ac_func;
48946   ;
48947   return 0;
48948 }
48949 _ACEOF
48950 rm -f conftest.$ac_objext conftest$ac_exeext
48951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48952   (eval $ac_link) 2>conftest.er1
48953   ac_status=$?
48954   grep -v '^ *+' conftest.er1 >conftest.err
48955   rm -f conftest.er1
48956   cat conftest.err >&5
48957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48958   (exit $ac_status); } &&
48959          { ac_try='test -z "$ac_c_werror_flag"
48960                          || test ! -s conftest.err'
48961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48962   (eval $ac_try) 2>&5
48963   ac_status=$?
48964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48965   (exit $ac_status); }; } &&
48966          { ac_try='test -s conftest$ac_exeext'
48967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48968   (eval $ac_try) 2>&5
48969   ac_status=$?
48970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48971   (exit $ac_status); }; }; then
48972   eval "$as_ac_var=yes"
48973 else
48974   echo "$as_me: failed program was:" >&5
48975 sed 's/^/| /' conftest.$ac_ext >&5
48976
48977 eval "$as_ac_var=no"
48978 fi
48979 rm -f conftest.err conftest.$ac_objext \
48980       conftest$ac_exeext conftest.$ac_ext
48981 fi
48982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48984 if test `eval echo '${'$as_ac_var'}'` = yes; then
48985   cat >>confdefs.h <<_ACEOF
48986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48987 _ACEOF
48988
48989 fi
48990 done
48991
48992   else
48993
48994   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
48995 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
48996   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48997     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
48998   echo $ECHO_N "(cached) $ECHO_C" >&6
48999 else
49000
49001
49002
49003       ac_ext=cc
49004 ac_cpp='$CXXCPP $CPPFLAGS'
49005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49008
49009       cat >conftest.$ac_ext <<_ACEOF
49010 /* confdefs.h.  */
49011 _ACEOF
49012 cat confdefs.h >>conftest.$ac_ext
49013 cat >>conftest.$ac_ext <<_ACEOF
49014 /* end confdefs.h.  */
49015 #include <math.h>
49016                       #ifdef HAVE_IEEEFP_H
49017                       #include <ieeefp.h>
49018                       #endif
49019
49020 int
49021 main ()
49022 {
49023  _fabsf(0);
49024   ;
49025   return 0;
49026 }
49027 _ACEOF
49028 rm -f conftest.$ac_objext
49029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49030   (eval $ac_compile) 2>conftest.er1
49031   ac_status=$?
49032   grep -v '^ *+' conftest.er1 >conftest.err
49033   rm -f conftest.er1
49034   cat conftest.err >&5
49035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49036   (exit $ac_status); } &&
49037          { ac_try='test -z "$ac_cxx_werror_flag"
49038                          || test ! -s conftest.err'
49039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49040   (eval $ac_try) 2>&5
49041   ac_status=$?
49042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49043   (exit $ac_status); }; } &&
49044          { ac_try='test -s conftest.$ac_objext'
49045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49046   (eval $ac_try) 2>&5
49047   ac_status=$?
49048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49049   (exit $ac_status); }; }; then
49050   glibcxx_cv_func__fabsf_use=yes
49051 else
49052   echo "$as_me: failed program was:" >&5
49053 sed 's/^/| /' conftest.$ac_ext >&5
49054
49055 glibcxx_cv_func__fabsf_use=no
49056 fi
49057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49058       ac_ext=c
49059 ac_cpp='$CPP $CPPFLAGS'
49060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49063
49064
49065 fi
49066
49067   fi
49068   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
49069 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
49070
49071     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49072
49073 for ac_func in _fabsf
49074 do
49075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49076 echo "$as_me:$LINENO: checking for $ac_func" >&5
49077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49078 if eval "test \"\${$as_ac_var+set}\" = set"; then
49079   echo $ECHO_N "(cached) $ECHO_C" >&6
49080 else
49081   if test x$gcc_no_link = xyes; then
49082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49084    { (exit 1); exit 1; }; }
49085 fi
49086 cat >conftest.$ac_ext <<_ACEOF
49087 /* confdefs.h.  */
49088 _ACEOF
49089 cat confdefs.h >>conftest.$ac_ext
49090 cat >>conftest.$ac_ext <<_ACEOF
49091 /* end confdefs.h.  */
49092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49093    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49094 #define $ac_func innocuous_$ac_func
49095
49096 /* System header to define __stub macros and hopefully few prototypes,
49097     which can conflict with char $ac_func (); below.
49098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49099     <limits.h> exists even on freestanding compilers.  */
49100
49101 #ifdef __STDC__
49102 # include <limits.h>
49103 #else
49104 # include <assert.h>
49105 #endif
49106
49107 #undef $ac_func
49108
49109 /* Override any gcc2 internal prototype to avoid an error.  */
49110 #ifdef __cplusplus
49111 extern "C"
49112 {
49113 #endif
49114 /* We use char because int might match the return type of a gcc2
49115    builtin and then its argument prototype would still apply.  */
49116 char $ac_func ();
49117 /* The GNU C library defines this for functions which it implements
49118     to always fail with ENOSYS.  Some functions are actually named
49119     something starting with __ and the normal name is an alias.  */
49120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49121 choke me
49122 #else
49123 char (*f) () = $ac_func;
49124 #endif
49125 #ifdef __cplusplus
49126 }
49127 #endif
49128
49129 int
49130 main ()
49131 {
49132 return f != $ac_func;
49133   ;
49134   return 0;
49135 }
49136 _ACEOF
49137 rm -f conftest.$ac_objext conftest$ac_exeext
49138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49139   (eval $ac_link) 2>conftest.er1
49140   ac_status=$?
49141   grep -v '^ *+' conftest.er1 >conftest.err
49142   rm -f conftest.er1
49143   cat conftest.err >&5
49144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49145   (exit $ac_status); } &&
49146          { ac_try='test -z "$ac_c_werror_flag"
49147                          || test ! -s conftest.err'
49148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49149   (eval $ac_try) 2>&5
49150   ac_status=$?
49151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49152   (exit $ac_status); }; } &&
49153          { ac_try='test -s conftest$ac_exeext'
49154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49155   (eval $ac_try) 2>&5
49156   ac_status=$?
49157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49158   (exit $ac_status); }; }; then
49159   eval "$as_ac_var=yes"
49160 else
49161   echo "$as_me: failed program was:" >&5
49162 sed 's/^/| /' conftest.$ac_ext >&5
49163
49164 eval "$as_ac_var=no"
49165 fi
49166 rm -f conftest.err conftest.$ac_objext \
49167       conftest$ac_exeext conftest.$ac_ext
49168 fi
49169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49171 if test `eval echo '${'$as_ac_var'}'` = yes; then
49172   cat >>confdefs.h <<_ACEOF
49173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49174 _ACEOF
49175
49176 fi
49177 done
49178
49179     fi
49180   fi
49181
49182
49183
49184
49185
49186
49187   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
49188 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
49189   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49190     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
49191   echo $ECHO_N "(cached) $ECHO_C" >&6
49192 else
49193
49194
49195
49196       ac_ext=cc
49197 ac_cpp='$CXXCPP $CPPFLAGS'
49198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49201
49202       cat >conftest.$ac_ext <<_ACEOF
49203 /* confdefs.h.  */
49204 _ACEOF
49205 cat confdefs.h >>conftest.$ac_ext
49206 cat >>conftest.$ac_ext <<_ACEOF
49207 /* end confdefs.h.  */
49208 #include <math.h>
49209 int
49210 main ()
49211 {
49212  fmodf(0, 0);
49213   ;
49214   return 0;
49215 }
49216 _ACEOF
49217 rm -f conftest.$ac_objext
49218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49219   (eval $ac_compile) 2>conftest.er1
49220   ac_status=$?
49221   grep -v '^ *+' conftest.er1 >conftest.err
49222   rm -f conftest.er1
49223   cat conftest.err >&5
49224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49225   (exit $ac_status); } &&
49226          { ac_try='test -z "$ac_cxx_werror_flag"
49227                          || test ! -s conftest.err'
49228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49229   (eval $ac_try) 2>&5
49230   ac_status=$?
49231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49232   (exit $ac_status); }; } &&
49233          { ac_try='test -s conftest.$ac_objext'
49234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49235   (eval $ac_try) 2>&5
49236   ac_status=$?
49237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49238   (exit $ac_status); }; }; then
49239   glibcxx_cv_func_fmodf_use=yes
49240 else
49241   echo "$as_me: failed program was:" >&5
49242 sed 's/^/| /' conftest.$ac_ext >&5
49243
49244 glibcxx_cv_func_fmodf_use=no
49245 fi
49246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49247       ac_ext=c
49248 ac_cpp='$CPP $CPPFLAGS'
49249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49252
49253
49254 fi
49255
49256   fi
49257   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
49258 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
49259
49260   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49261
49262 for ac_func in fmodf
49263 do
49264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49265 echo "$as_me:$LINENO: checking for $ac_func" >&5
49266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49267 if eval "test \"\${$as_ac_var+set}\" = set"; then
49268   echo $ECHO_N "(cached) $ECHO_C" >&6
49269 else
49270   if test x$gcc_no_link = xyes; then
49271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49273    { (exit 1); exit 1; }; }
49274 fi
49275 cat >conftest.$ac_ext <<_ACEOF
49276 /* confdefs.h.  */
49277 _ACEOF
49278 cat confdefs.h >>conftest.$ac_ext
49279 cat >>conftest.$ac_ext <<_ACEOF
49280 /* end confdefs.h.  */
49281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49282    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49283 #define $ac_func innocuous_$ac_func
49284
49285 /* System header to define __stub macros and hopefully few prototypes,
49286     which can conflict with char $ac_func (); below.
49287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49288     <limits.h> exists even on freestanding compilers.  */
49289
49290 #ifdef __STDC__
49291 # include <limits.h>
49292 #else
49293 # include <assert.h>
49294 #endif
49295
49296 #undef $ac_func
49297
49298 /* Override any gcc2 internal prototype to avoid an error.  */
49299 #ifdef __cplusplus
49300 extern "C"
49301 {
49302 #endif
49303 /* We use char because int might match the return type of a gcc2
49304    builtin and then its argument prototype would still apply.  */
49305 char $ac_func ();
49306 /* The GNU C library defines this for functions which it implements
49307     to always fail with ENOSYS.  Some functions are actually named
49308     something starting with __ and the normal name is an alias.  */
49309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49310 choke me
49311 #else
49312 char (*f) () = $ac_func;
49313 #endif
49314 #ifdef __cplusplus
49315 }
49316 #endif
49317
49318 int
49319 main ()
49320 {
49321 return f != $ac_func;
49322   ;
49323   return 0;
49324 }
49325 _ACEOF
49326 rm -f conftest.$ac_objext conftest$ac_exeext
49327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49328   (eval $ac_link) 2>conftest.er1
49329   ac_status=$?
49330   grep -v '^ *+' conftest.er1 >conftest.err
49331   rm -f conftest.er1
49332   cat conftest.err >&5
49333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49334   (exit $ac_status); } &&
49335          { ac_try='test -z "$ac_c_werror_flag"
49336                          || test ! -s conftest.err'
49337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49338   (eval $ac_try) 2>&5
49339   ac_status=$?
49340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49341   (exit $ac_status); }; } &&
49342          { ac_try='test -s conftest$ac_exeext'
49343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49344   (eval $ac_try) 2>&5
49345   ac_status=$?
49346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49347   (exit $ac_status); }; }; then
49348   eval "$as_ac_var=yes"
49349 else
49350   echo "$as_me: failed program was:" >&5
49351 sed 's/^/| /' conftest.$ac_ext >&5
49352
49353 eval "$as_ac_var=no"
49354 fi
49355 rm -f conftest.err conftest.$ac_objext \
49356       conftest$ac_exeext conftest.$ac_ext
49357 fi
49358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49360 if test `eval echo '${'$as_ac_var'}'` = yes; then
49361   cat >>confdefs.h <<_ACEOF
49362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49363 _ACEOF
49364
49365 fi
49366 done
49367
49368   else
49369
49370   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
49371 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
49372   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49373     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
49374   echo $ECHO_N "(cached) $ECHO_C" >&6
49375 else
49376
49377
49378
49379       ac_ext=cc
49380 ac_cpp='$CXXCPP $CPPFLAGS'
49381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49384
49385       cat >conftest.$ac_ext <<_ACEOF
49386 /* confdefs.h.  */
49387 _ACEOF
49388 cat confdefs.h >>conftest.$ac_ext
49389 cat >>conftest.$ac_ext <<_ACEOF
49390 /* end confdefs.h.  */
49391 #include <math.h>
49392 int
49393 main ()
49394 {
49395  _fmodf(0, 0);
49396   ;
49397   return 0;
49398 }
49399 _ACEOF
49400 rm -f conftest.$ac_objext
49401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49402   (eval $ac_compile) 2>conftest.er1
49403   ac_status=$?
49404   grep -v '^ *+' conftest.er1 >conftest.err
49405   rm -f conftest.er1
49406   cat conftest.err >&5
49407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49408   (exit $ac_status); } &&
49409          { ac_try='test -z "$ac_cxx_werror_flag"
49410                          || test ! -s conftest.err'
49411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49412   (eval $ac_try) 2>&5
49413   ac_status=$?
49414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49415   (exit $ac_status); }; } &&
49416          { ac_try='test -s conftest.$ac_objext'
49417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49418   (eval $ac_try) 2>&5
49419   ac_status=$?
49420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49421   (exit $ac_status); }; }; then
49422   glibcxx_cv_func__fmodf_use=yes
49423 else
49424   echo "$as_me: failed program was:" >&5
49425 sed 's/^/| /' conftest.$ac_ext >&5
49426
49427 glibcxx_cv_func__fmodf_use=no
49428 fi
49429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49430       ac_ext=c
49431 ac_cpp='$CPP $CPPFLAGS'
49432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49435
49436
49437 fi
49438
49439   fi
49440   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
49441 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
49442
49443     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49444
49445 for ac_func in _fmodf
49446 do
49447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49448 echo "$as_me:$LINENO: checking for $ac_func" >&5
49449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49450 if eval "test \"\${$as_ac_var+set}\" = set"; then
49451   echo $ECHO_N "(cached) $ECHO_C" >&6
49452 else
49453   if test x$gcc_no_link = xyes; then
49454   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49456    { (exit 1); exit 1; }; }
49457 fi
49458 cat >conftest.$ac_ext <<_ACEOF
49459 /* confdefs.h.  */
49460 _ACEOF
49461 cat confdefs.h >>conftest.$ac_ext
49462 cat >>conftest.$ac_ext <<_ACEOF
49463 /* end confdefs.h.  */
49464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49465    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49466 #define $ac_func innocuous_$ac_func
49467
49468 /* System header to define __stub macros and hopefully few prototypes,
49469     which can conflict with char $ac_func (); below.
49470     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49471     <limits.h> exists even on freestanding compilers.  */
49472
49473 #ifdef __STDC__
49474 # include <limits.h>
49475 #else
49476 # include <assert.h>
49477 #endif
49478
49479 #undef $ac_func
49480
49481 /* Override any gcc2 internal prototype to avoid an error.  */
49482 #ifdef __cplusplus
49483 extern "C"
49484 {
49485 #endif
49486 /* We use char because int might match the return type of a gcc2
49487    builtin and then its argument prototype would still apply.  */
49488 char $ac_func ();
49489 /* The GNU C library defines this for functions which it implements
49490     to always fail with ENOSYS.  Some functions are actually named
49491     something starting with __ and the normal name is an alias.  */
49492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49493 choke me
49494 #else
49495 char (*f) () = $ac_func;
49496 #endif
49497 #ifdef __cplusplus
49498 }
49499 #endif
49500
49501 int
49502 main ()
49503 {
49504 return f != $ac_func;
49505   ;
49506   return 0;
49507 }
49508 _ACEOF
49509 rm -f conftest.$ac_objext conftest$ac_exeext
49510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49511   (eval $ac_link) 2>conftest.er1
49512   ac_status=$?
49513   grep -v '^ *+' conftest.er1 >conftest.err
49514   rm -f conftest.er1
49515   cat conftest.err >&5
49516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49517   (exit $ac_status); } &&
49518          { ac_try='test -z "$ac_c_werror_flag"
49519                          || test ! -s conftest.err'
49520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49521   (eval $ac_try) 2>&5
49522   ac_status=$?
49523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49524   (exit $ac_status); }; } &&
49525          { ac_try='test -s conftest$ac_exeext'
49526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49527   (eval $ac_try) 2>&5
49528   ac_status=$?
49529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49530   (exit $ac_status); }; }; then
49531   eval "$as_ac_var=yes"
49532 else
49533   echo "$as_me: failed program was:" >&5
49534 sed 's/^/| /' conftest.$ac_ext >&5
49535
49536 eval "$as_ac_var=no"
49537 fi
49538 rm -f conftest.err conftest.$ac_objext \
49539       conftest$ac_exeext conftest.$ac_ext
49540 fi
49541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49543 if test `eval echo '${'$as_ac_var'}'` = yes; then
49544   cat >>confdefs.h <<_ACEOF
49545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49546 _ACEOF
49547
49548 fi
49549 done
49550
49551     fi
49552   fi
49553
49554
49555
49556
49557
49558
49559   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
49560 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
49561   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49562     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
49563   echo $ECHO_N "(cached) $ECHO_C" >&6
49564 else
49565
49566
49567
49568       ac_ext=cc
49569 ac_cpp='$CXXCPP $CPPFLAGS'
49570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49573
49574       cat >conftest.$ac_ext <<_ACEOF
49575 /* confdefs.h.  */
49576 _ACEOF
49577 cat confdefs.h >>conftest.$ac_ext
49578 cat >>conftest.$ac_ext <<_ACEOF
49579 /* end confdefs.h.  */
49580 #include <math.h>
49581 int
49582 main ()
49583 {
49584  frexpf(0, 0);
49585   ;
49586   return 0;
49587 }
49588 _ACEOF
49589 rm -f conftest.$ac_objext
49590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49591   (eval $ac_compile) 2>conftest.er1
49592   ac_status=$?
49593   grep -v '^ *+' conftest.er1 >conftest.err
49594   rm -f conftest.er1
49595   cat conftest.err >&5
49596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49597   (exit $ac_status); } &&
49598          { ac_try='test -z "$ac_cxx_werror_flag"
49599                          || test ! -s conftest.err'
49600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49601   (eval $ac_try) 2>&5
49602   ac_status=$?
49603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49604   (exit $ac_status); }; } &&
49605          { ac_try='test -s conftest.$ac_objext'
49606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49607   (eval $ac_try) 2>&5
49608   ac_status=$?
49609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49610   (exit $ac_status); }; }; then
49611   glibcxx_cv_func_frexpf_use=yes
49612 else
49613   echo "$as_me: failed program was:" >&5
49614 sed 's/^/| /' conftest.$ac_ext >&5
49615
49616 glibcxx_cv_func_frexpf_use=no
49617 fi
49618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49619       ac_ext=c
49620 ac_cpp='$CPP $CPPFLAGS'
49621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49624
49625
49626 fi
49627
49628   fi
49629   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
49630 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
49631
49632   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49633
49634 for ac_func in frexpf
49635 do
49636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49637 echo "$as_me:$LINENO: checking for $ac_func" >&5
49638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49639 if eval "test \"\${$as_ac_var+set}\" = set"; then
49640   echo $ECHO_N "(cached) $ECHO_C" >&6
49641 else
49642   if test x$gcc_no_link = xyes; then
49643   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49645    { (exit 1); exit 1; }; }
49646 fi
49647 cat >conftest.$ac_ext <<_ACEOF
49648 /* confdefs.h.  */
49649 _ACEOF
49650 cat confdefs.h >>conftest.$ac_ext
49651 cat >>conftest.$ac_ext <<_ACEOF
49652 /* end confdefs.h.  */
49653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49654    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49655 #define $ac_func innocuous_$ac_func
49656
49657 /* System header to define __stub macros and hopefully few prototypes,
49658     which can conflict with char $ac_func (); below.
49659     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49660     <limits.h> exists even on freestanding compilers.  */
49661
49662 #ifdef __STDC__
49663 # include <limits.h>
49664 #else
49665 # include <assert.h>
49666 #endif
49667
49668 #undef $ac_func
49669
49670 /* Override any gcc2 internal prototype to avoid an error.  */
49671 #ifdef __cplusplus
49672 extern "C"
49673 {
49674 #endif
49675 /* We use char because int might match the return type of a gcc2
49676    builtin and then its argument prototype would still apply.  */
49677 char $ac_func ();
49678 /* The GNU C library defines this for functions which it implements
49679     to always fail with ENOSYS.  Some functions are actually named
49680     something starting with __ and the normal name is an alias.  */
49681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49682 choke me
49683 #else
49684 char (*f) () = $ac_func;
49685 #endif
49686 #ifdef __cplusplus
49687 }
49688 #endif
49689
49690 int
49691 main ()
49692 {
49693 return f != $ac_func;
49694   ;
49695   return 0;
49696 }
49697 _ACEOF
49698 rm -f conftest.$ac_objext conftest$ac_exeext
49699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49700   (eval $ac_link) 2>conftest.er1
49701   ac_status=$?
49702   grep -v '^ *+' conftest.er1 >conftest.err
49703   rm -f conftest.er1
49704   cat conftest.err >&5
49705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49706   (exit $ac_status); } &&
49707          { ac_try='test -z "$ac_c_werror_flag"
49708                          || test ! -s conftest.err'
49709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49710   (eval $ac_try) 2>&5
49711   ac_status=$?
49712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49713   (exit $ac_status); }; } &&
49714          { ac_try='test -s conftest$ac_exeext'
49715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49716   (eval $ac_try) 2>&5
49717   ac_status=$?
49718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49719   (exit $ac_status); }; }; then
49720   eval "$as_ac_var=yes"
49721 else
49722   echo "$as_me: failed program was:" >&5
49723 sed 's/^/| /' conftest.$ac_ext >&5
49724
49725 eval "$as_ac_var=no"
49726 fi
49727 rm -f conftest.err conftest.$ac_objext \
49728       conftest$ac_exeext conftest.$ac_ext
49729 fi
49730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49732 if test `eval echo '${'$as_ac_var'}'` = yes; then
49733   cat >>confdefs.h <<_ACEOF
49734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49735 _ACEOF
49736
49737 fi
49738 done
49739
49740   else
49741
49742   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
49743 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
49744   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49745     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
49746   echo $ECHO_N "(cached) $ECHO_C" >&6
49747 else
49748
49749
49750
49751       ac_ext=cc
49752 ac_cpp='$CXXCPP $CPPFLAGS'
49753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49756
49757       cat >conftest.$ac_ext <<_ACEOF
49758 /* confdefs.h.  */
49759 _ACEOF
49760 cat confdefs.h >>conftest.$ac_ext
49761 cat >>conftest.$ac_ext <<_ACEOF
49762 /* end confdefs.h.  */
49763 #include <math.h>
49764 int
49765 main ()
49766 {
49767  _frexpf(0, 0);
49768   ;
49769   return 0;
49770 }
49771 _ACEOF
49772 rm -f conftest.$ac_objext
49773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49774   (eval $ac_compile) 2>conftest.er1
49775   ac_status=$?
49776   grep -v '^ *+' conftest.er1 >conftest.err
49777   rm -f conftest.er1
49778   cat conftest.err >&5
49779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49780   (exit $ac_status); } &&
49781          { ac_try='test -z "$ac_cxx_werror_flag"
49782                          || test ! -s conftest.err'
49783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49784   (eval $ac_try) 2>&5
49785   ac_status=$?
49786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49787   (exit $ac_status); }; } &&
49788          { ac_try='test -s conftest.$ac_objext'
49789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49790   (eval $ac_try) 2>&5
49791   ac_status=$?
49792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49793   (exit $ac_status); }; }; then
49794   glibcxx_cv_func__frexpf_use=yes
49795 else
49796   echo "$as_me: failed program was:" >&5
49797 sed 's/^/| /' conftest.$ac_ext >&5
49798
49799 glibcxx_cv_func__frexpf_use=no
49800 fi
49801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49802       ac_ext=c
49803 ac_cpp='$CPP $CPPFLAGS'
49804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49807
49808
49809 fi
49810
49811   fi
49812   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
49813 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
49814
49815     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49816
49817 for ac_func in _frexpf
49818 do
49819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49820 echo "$as_me:$LINENO: checking for $ac_func" >&5
49821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49822 if eval "test \"\${$as_ac_var+set}\" = set"; then
49823   echo $ECHO_N "(cached) $ECHO_C" >&6
49824 else
49825   if test x$gcc_no_link = xyes; then
49826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49828    { (exit 1); exit 1; }; }
49829 fi
49830 cat >conftest.$ac_ext <<_ACEOF
49831 /* confdefs.h.  */
49832 _ACEOF
49833 cat confdefs.h >>conftest.$ac_ext
49834 cat >>conftest.$ac_ext <<_ACEOF
49835 /* end confdefs.h.  */
49836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49837    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49838 #define $ac_func innocuous_$ac_func
49839
49840 /* System header to define __stub macros and hopefully few prototypes,
49841     which can conflict with char $ac_func (); below.
49842     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49843     <limits.h> exists even on freestanding compilers.  */
49844
49845 #ifdef __STDC__
49846 # include <limits.h>
49847 #else
49848 # include <assert.h>
49849 #endif
49850
49851 #undef $ac_func
49852
49853 /* Override any gcc2 internal prototype to avoid an error.  */
49854 #ifdef __cplusplus
49855 extern "C"
49856 {
49857 #endif
49858 /* We use char because int might match the return type of a gcc2
49859    builtin and then its argument prototype would still apply.  */
49860 char $ac_func ();
49861 /* The GNU C library defines this for functions which it implements
49862     to always fail with ENOSYS.  Some functions are actually named
49863     something starting with __ and the normal name is an alias.  */
49864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49865 choke me
49866 #else
49867 char (*f) () = $ac_func;
49868 #endif
49869 #ifdef __cplusplus
49870 }
49871 #endif
49872
49873 int
49874 main ()
49875 {
49876 return f != $ac_func;
49877   ;
49878   return 0;
49879 }
49880 _ACEOF
49881 rm -f conftest.$ac_objext conftest$ac_exeext
49882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49883   (eval $ac_link) 2>conftest.er1
49884   ac_status=$?
49885   grep -v '^ *+' conftest.er1 >conftest.err
49886   rm -f conftest.er1
49887   cat conftest.err >&5
49888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49889   (exit $ac_status); } &&
49890          { ac_try='test -z "$ac_c_werror_flag"
49891                          || test ! -s conftest.err'
49892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49893   (eval $ac_try) 2>&5
49894   ac_status=$?
49895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49896   (exit $ac_status); }; } &&
49897          { ac_try='test -s conftest$ac_exeext'
49898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49899   (eval $ac_try) 2>&5
49900   ac_status=$?
49901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49902   (exit $ac_status); }; }; then
49903   eval "$as_ac_var=yes"
49904 else
49905   echo "$as_me: failed program was:" >&5
49906 sed 's/^/| /' conftest.$ac_ext >&5
49907
49908 eval "$as_ac_var=no"
49909 fi
49910 rm -f conftest.err conftest.$ac_objext \
49911       conftest$ac_exeext conftest.$ac_ext
49912 fi
49913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49915 if test `eval echo '${'$as_ac_var'}'` = yes; then
49916   cat >>confdefs.h <<_ACEOF
49917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49918 _ACEOF
49919
49920 fi
49921 done
49922
49923     fi
49924   fi
49925
49926
49927
49928
49929
49930
49931   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
49932 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
49933   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49934     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
49935   echo $ECHO_N "(cached) $ECHO_C" >&6
49936 else
49937
49938
49939
49940       ac_ext=cc
49941 ac_cpp='$CXXCPP $CPPFLAGS'
49942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49945
49946       cat >conftest.$ac_ext <<_ACEOF
49947 /* confdefs.h.  */
49948 _ACEOF
49949 cat confdefs.h >>conftest.$ac_ext
49950 cat >>conftest.$ac_ext <<_ACEOF
49951 /* end confdefs.h.  */
49952 #include <math.h>
49953 int
49954 main ()
49955 {
49956  hypotf(0, 0);
49957   ;
49958   return 0;
49959 }
49960 _ACEOF
49961 rm -f conftest.$ac_objext
49962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49963   (eval $ac_compile) 2>conftest.er1
49964   ac_status=$?
49965   grep -v '^ *+' conftest.er1 >conftest.err
49966   rm -f conftest.er1
49967   cat conftest.err >&5
49968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49969   (exit $ac_status); } &&
49970          { ac_try='test -z "$ac_cxx_werror_flag"
49971                          || test ! -s conftest.err'
49972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49973   (eval $ac_try) 2>&5
49974   ac_status=$?
49975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49976   (exit $ac_status); }; } &&
49977          { ac_try='test -s conftest.$ac_objext'
49978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49979   (eval $ac_try) 2>&5
49980   ac_status=$?
49981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49982   (exit $ac_status); }; }; then
49983   glibcxx_cv_func_hypotf_use=yes
49984 else
49985   echo "$as_me: failed program was:" >&5
49986 sed 's/^/| /' conftest.$ac_ext >&5
49987
49988 glibcxx_cv_func_hypotf_use=no
49989 fi
49990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49991       ac_ext=c
49992 ac_cpp='$CPP $CPPFLAGS'
49993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49996
49997
49998 fi
49999
50000   fi
50001   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
50002 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
50003
50004   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50005
50006 for ac_func in hypotf
50007 do
50008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50009 echo "$as_me:$LINENO: checking for $ac_func" >&5
50010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50011 if eval "test \"\${$as_ac_var+set}\" = set"; then
50012   echo $ECHO_N "(cached) $ECHO_C" >&6
50013 else
50014   if test x$gcc_no_link = xyes; then
50015   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50017    { (exit 1); exit 1; }; }
50018 fi
50019 cat >conftest.$ac_ext <<_ACEOF
50020 /* confdefs.h.  */
50021 _ACEOF
50022 cat confdefs.h >>conftest.$ac_ext
50023 cat >>conftest.$ac_ext <<_ACEOF
50024 /* end confdefs.h.  */
50025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50026    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50027 #define $ac_func innocuous_$ac_func
50028
50029 /* System header to define __stub macros and hopefully few prototypes,
50030     which can conflict with char $ac_func (); below.
50031     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50032     <limits.h> exists even on freestanding compilers.  */
50033
50034 #ifdef __STDC__
50035 # include <limits.h>
50036 #else
50037 # include <assert.h>
50038 #endif
50039
50040 #undef $ac_func
50041
50042 /* Override any gcc2 internal prototype to avoid an error.  */
50043 #ifdef __cplusplus
50044 extern "C"
50045 {
50046 #endif
50047 /* We use char because int might match the return type of a gcc2
50048    builtin and then its argument prototype would still apply.  */
50049 char $ac_func ();
50050 /* The GNU C library defines this for functions which it implements
50051     to always fail with ENOSYS.  Some functions are actually named
50052     something starting with __ and the normal name is an alias.  */
50053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50054 choke me
50055 #else
50056 char (*f) () = $ac_func;
50057 #endif
50058 #ifdef __cplusplus
50059 }
50060 #endif
50061
50062 int
50063 main ()
50064 {
50065 return f != $ac_func;
50066   ;
50067   return 0;
50068 }
50069 _ACEOF
50070 rm -f conftest.$ac_objext conftest$ac_exeext
50071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50072   (eval $ac_link) 2>conftest.er1
50073   ac_status=$?
50074   grep -v '^ *+' conftest.er1 >conftest.err
50075   rm -f conftest.er1
50076   cat conftest.err >&5
50077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50078   (exit $ac_status); } &&
50079          { ac_try='test -z "$ac_c_werror_flag"
50080                          || test ! -s conftest.err'
50081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50082   (eval $ac_try) 2>&5
50083   ac_status=$?
50084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50085   (exit $ac_status); }; } &&
50086          { ac_try='test -s conftest$ac_exeext'
50087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50088   (eval $ac_try) 2>&5
50089   ac_status=$?
50090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50091   (exit $ac_status); }; }; then
50092   eval "$as_ac_var=yes"
50093 else
50094   echo "$as_me: failed program was:" >&5
50095 sed 's/^/| /' conftest.$ac_ext >&5
50096
50097 eval "$as_ac_var=no"
50098 fi
50099 rm -f conftest.err conftest.$ac_objext \
50100       conftest$ac_exeext conftest.$ac_ext
50101 fi
50102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50104 if test `eval echo '${'$as_ac_var'}'` = yes; then
50105   cat >>confdefs.h <<_ACEOF
50106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50107 _ACEOF
50108
50109 fi
50110 done
50111
50112   else
50113
50114   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
50115 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
50116   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50117     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
50118   echo $ECHO_N "(cached) $ECHO_C" >&6
50119 else
50120
50121
50122
50123       ac_ext=cc
50124 ac_cpp='$CXXCPP $CPPFLAGS'
50125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50128
50129       cat >conftest.$ac_ext <<_ACEOF
50130 /* confdefs.h.  */
50131 _ACEOF
50132 cat confdefs.h >>conftest.$ac_ext
50133 cat >>conftest.$ac_ext <<_ACEOF
50134 /* end confdefs.h.  */
50135 #include <math.h>
50136 int
50137 main ()
50138 {
50139  _hypotf(0, 0);
50140   ;
50141   return 0;
50142 }
50143 _ACEOF
50144 rm -f conftest.$ac_objext
50145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50146   (eval $ac_compile) 2>conftest.er1
50147   ac_status=$?
50148   grep -v '^ *+' conftest.er1 >conftest.err
50149   rm -f conftest.er1
50150   cat conftest.err >&5
50151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50152   (exit $ac_status); } &&
50153          { ac_try='test -z "$ac_cxx_werror_flag"
50154                          || test ! -s conftest.err'
50155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50156   (eval $ac_try) 2>&5
50157   ac_status=$?
50158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50159   (exit $ac_status); }; } &&
50160          { ac_try='test -s conftest.$ac_objext'
50161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50162   (eval $ac_try) 2>&5
50163   ac_status=$?
50164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50165   (exit $ac_status); }; }; then
50166   glibcxx_cv_func__hypotf_use=yes
50167 else
50168   echo "$as_me: failed program was:" >&5
50169 sed 's/^/| /' conftest.$ac_ext >&5
50170
50171 glibcxx_cv_func__hypotf_use=no
50172 fi
50173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50174       ac_ext=c
50175 ac_cpp='$CPP $CPPFLAGS'
50176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50179
50180
50181 fi
50182
50183   fi
50184   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
50185 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
50186
50187     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50188
50189 for ac_func in _hypotf
50190 do
50191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50192 echo "$as_me:$LINENO: checking for $ac_func" >&5
50193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50194 if eval "test \"\${$as_ac_var+set}\" = set"; then
50195   echo $ECHO_N "(cached) $ECHO_C" >&6
50196 else
50197   if test x$gcc_no_link = xyes; then
50198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50200    { (exit 1); exit 1; }; }
50201 fi
50202 cat >conftest.$ac_ext <<_ACEOF
50203 /* confdefs.h.  */
50204 _ACEOF
50205 cat confdefs.h >>conftest.$ac_ext
50206 cat >>conftest.$ac_ext <<_ACEOF
50207 /* end confdefs.h.  */
50208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50209    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50210 #define $ac_func innocuous_$ac_func
50211
50212 /* System header to define __stub macros and hopefully few prototypes,
50213     which can conflict with char $ac_func (); below.
50214     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50215     <limits.h> exists even on freestanding compilers.  */
50216
50217 #ifdef __STDC__
50218 # include <limits.h>
50219 #else
50220 # include <assert.h>
50221 #endif
50222
50223 #undef $ac_func
50224
50225 /* Override any gcc2 internal prototype to avoid an error.  */
50226 #ifdef __cplusplus
50227 extern "C"
50228 {
50229 #endif
50230 /* We use char because int might match the return type of a gcc2
50231    builtin and then its argument prototype would still apply.  */
50232 char $ac_func ();
50233 /* The GNU C library defines this for functions which it implements
50234     to always fail with ENOSYS.  Some functions are actually named
50235     something starting with __ and the normal name is an alias.  */
50236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50237 choke me
50238 #else
50239 char (*f) () = $ac_func;
50240 #endif
50241 #ifdef __cplusplus
50242 }
50243 #endif
50244
50245 int
50246 main ()
50247 {
50248 return f != $ac_func;
50249   ;
50250   return 0;
50251 }
50252 _ACEOF
50253 rm -f conftest.$ac_objext conftest$ac_exeext
50254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50255   (eval $ac_link) 2>conftest.er1
50256   ac_status=$?
50257   grep -v '^ *+' conftest.er1 >conftest.err
50258   rm -f conftest.er1
50259   cat conftest.err >&5
50260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50261   (exit $ac_status); } &&
50262          { ac_try='test -z "$ac_c_werror_flag"
50263                          || test ! -s conftest.err'
50264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50265   (eval $ac_try) 2>&5
50266   ac_status=$?
50267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50268   (exit $ac_status); }; } &&
50269          { ac_try='test -s conftest$ac_exeext'
50270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50271   (eval $ac_try) 2>&5
50272   ac_status=$?
50273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50274   (exit $ac_status); }; }; then
50275   eval "$as_ac_var=yes"
50276 else
50277   echo "$as_me: failed program was:" >&5
50278 sed 's/^/| /' conftest.$ac_ext >&5
50279
50280 eval "$as_ac_var=no"
50281 fi
50282 rm -f conftest.err conftest.$ac_objext \
50283       conftest$ac_exeext conftest.$ac_ext
50284 fi
50285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50287 if test `eval echo '${'$as_ac_var'}'` = yes; then
50288   cat >>confdefs.h <<_ACEOF
50289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50290 _ACEOF
50291
50292 fi
50293 done
50294
50295     fi
50296   fi
50297
50298
50299
50300
50301
50302
50303   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
50304 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
50305   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50306     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
50307   echo $ECHO_N "(cached) $ECHO_C" >&6
50308 else
50309
50310
50311
50312       ac_ext=cc
50313 ac_cpp='$CXXCPP $CPPFLAGS'
50314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50317
50318       cat >conftest.$ac_ext <<_ACEOF
50319 /* confdefs.h.  */
50320 _ACEOF
50321 cat confdefs.h >>conftest.$ac_ext
50322 cat >>conftest.$ac_ext <<_ACEOF
50323 /* end confdefs.h.  */
50324 #include <math.h>
50325 int
50326 main ()
50327 {
50328  ldexpf(0, 0);
50329   ;
50330   return 0;
50331 }
50332 _ACEOF
50333 rm -f conftest.$ac_objext
50334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50335   (eval $ac_compile) 2>conftest.er1
50336   ac_status=$?
50337   grep -v '^ *+' conftest.er1 >conftest.err
50338   rm -f conftest.er1
50339   cat conftest.err >&5
50340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50341   (exit $ac_status); } &&
50342          { ac_try='test -z "$ac_cxx_werror_flag"
50343                          || test ! -s conftest.err'
50344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50345   (eval $ac_try) 2>&5
50346   ac_status=$?
50347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50348   (exit $ac_status); }; } &&
50349          { ac_try='test -s conftest.$ac_objext'
50350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50351   (eval $ac_try) 2>&5
50352   ac_status=$?
50353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50354   (exit $ac_status); }; }; then
50355   glibcxx_cv_func_ldexpf_use=yes
50356 else
50357   echo "$as_me: failed program was:" >&5
50358 sed 's/^/| /' conftest.$ac_ext >&5
50359
50360 glibcxx_cv_func_ldexpf_use=no
50361 fi
50362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50363       ac_ext=c
50364 ac_cpp='$CPP $CPPFLAGS'
50365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50368
50369
50370 fi
50371
50372   fi
50373   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
50374 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
50375
50376   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50377
50378 for ac_func in ldexpf
50379 do
50380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50381 echo "$as_me:$LINENO: checking for $ac_func" >&5
50382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50383 if eval "test \"\${$as_ac_var+set}\" = set"; then
50384   echo $ECHO_N "(cached) $ECHO_C" >&6
50385 else
50386   if test x$gcc_no_link = xyes; then
50387   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50389    { (exit 1); exit 1; }; }
50390 fi
50391 cat >conftest.$ac_ext <<_ACEOF
50392 /* confdefs.h.  */
50393 _ACEOF
50394 cat confdefs.h >>conftest.$ac_ext
50395 cat >>conftest.$ac_ext <<_ACEOF
50396 /* end confdefs.h.  */
50397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50398    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50399 #define $ac_func innocuous_$ac_func
50400
50401 /* System header to define __stub macros and hopefully few prototypes,
50402     which can conflict with char $ac_func (); below.
50403     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50404     <limits.h> exists even on freestanding compilers.  */
50405
50406 #ifdef __STDC__
50407 # include <limits.h>
50408 #else
50409 # include <assert.h>
50410 #endif
50411
50412 #undef $ac_func
50413
50414 /* Override any gcc2 internal prototype to avoid an error.  */
50415 #ifdef __cplusplus
50416 extern "C"
50417 {
50418 #endif
50419 /* We use char because int might match the return type of a gcc2
50420    builtin and then its argument prototype would still apply.  */
50421 char $ac_func ();
50422 /* The GNU C library defines this for functions which it implements
50423     to always fail with ENOSYS.  Some functions are actually named
50424     something starting with __ and the normal name is an alias.  */
50425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50426 choke me
50427 #else
50428 char (*f) () = $ac_func;
50429 #endif
50430 #ifdef __cplusplus
50431 }
50432 #endif
50433
50434 int
50435 main ()
50436 {
50437 return f != $ac_func;
50438   ;
50439   return 0;
50440 }
50441 _ACEOF
50442 rm -f conftest.$ac_objext conftest$ac_exeext
50443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50444   (eval $ac_link) 2>conftest.er1
50445   ac_status=$?
50446   grep -v '^ *+' conftest.er1 >conftest.err
50447   rm -f conftest.er1
50448   cat conftest.err >&5
50449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50450   (exit $ac_status); } &&
50451          { ac_try='test -z "$ac_c_werror_flag"
50452                          || test ! -s conftest.err'
50453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50454   (eval $ac_try) 2>&5
50455   ac_status=$?
50456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50457   (exit $ac_status); }; } &&
50458          { ac_try='test -s conftest$ac_exeext'
50459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50460   (eval $ac_try) 2>&5
50461   ac_status=$?
50462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50463   (exit $ac_status); }; }; then
50464   eval "$as_ac_var=yes"
50465 else
50466   echo "$as_me: failed program was:" >&5
50467 sed 's/^/| /' conftest.$ac_ext >&5
50468
50469 eval "$as_ac_var=no"
50470 fi
50471 rm -f conftest.err conftest.$ac_objext \
50472       conftest$ac_exeext conftest.$ac_ext
50473 fi
50474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50476 if test `eval echo '${'$as_ac_var'}'` = yes; then
50477   cat >>confdefs.h <<_ACEOF
50478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50479 _ACEOF
50480
50481 fi
50482 done
50483
50484   else
50485
50486   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
50487 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
50488   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50489     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
50490   echo $ECHO_N "(cached) $ECHO_C" >&6
50491 else
50492
50493
50494
50495       ac_ext=cc
50496 ac_cpp='$CXXCPP $CPPFLAGS'
50497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50500
50501       cat >conftest.$ac_ext <<_ACEOF
50502 /* confdefs.h.  */
50503 _ACEOF
50504 cat confdefs.h >>conftest.$ac_ext
50505 cat >>conftest.$ac_ext <<_ACEOF
50506 /* end confdefs.h.  */
50507 #include <math.h>
50508 int
50509 main ()
50510 {
50511  _ldexpf(0, 0);
50512   ;
50513   return 0;
50514 }
50515 _ACEOF
50516 rm -f conftest.$ac_objext
50517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50518   (eval $ac_compile) 2>conftest.er1
50519   ac_status=$?
50520   grep -v '^ *+' conftest.er1 >conftest.err
50521   rm -f conftest.er1
50522   cat conftest.err >&5
50523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50524   (exit $ac_status); } &&
50525          { ac_try='test -z "$ac_cxx_werror_flag"
50526                          || test ! -s conftest.err'
50527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50528   (eval $ac_try) 2>&5
50529   ac_status=$?
50530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50531   (exit $ac_status); }; } &&
50532          { ac_try='test -s conftest.$ac_objext'
50533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50534   (eval $ac_try) 2>&5
50535   ac_status=$?
50536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50537   (exit $ac_status); }; }; then
50538   glibcxx_cv_func__ldexpf_use=yes
50539 else
50540   echo "$as_me: failed program was:" >&5
50541 sed 's/^/| /' conftest.$ac_ext >&5
50542
50543 glibcxx_cv_func__ldexpf_use=no
50544 fi
50545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50546       ac_ext=c
50547 ac_cpp='$CPP $CPPFLAGS'
50548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50551
50552
50553 fi
50554
50555   fi
50556   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
50557 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
50558
50559     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50560
50561 for ac_func in _ldexpf
50562 do
50563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50564 echo "$as_me:$LINENO: checking for $ac_func" >&5
50565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50566 if eval "test \"\${$as_ac_var+set}\" = set"; then
50567   echo $ECHO_N "(cached) $ECHO_C" >&6
50568 else
50569   if test x$gcc_no_link = xyes; then
50570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50572    { (exit 1); exit 1; }; }
50573 fi
50574 cat >conftest.$ac_ext <<_ACEOF
50575 /* confdefs.h.  */
50576 _ACEOF
50577 cat confdefs.h >>conftest.$ac_ext
50578 cat >>conftest.$ac_ext <<_ACEOF
50579 /* end confdefs.h.  */
50580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50581    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50582 #define $ac_func innocuous_$ac_func
50583
50584 /* System header to define __stub macros and hopefully few prototypes,
50585     which can conflict with char $ac_func (); below.
50586     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50587     <limits.h> exists even on freestanding compilers.  */
50588
50589 #ifdef __STDC__
50590 # include <limits.h>
50591 #else
50592 # include <assert.h>
50593 #endif
50594
50595 #undef $ac_func
50596
50597 /* Override any gcc2 internal prototype to avoid an error.  */
50598 #ifdef __cplusplus
50599 extern "C"
50600 {
50601 #endif
50602 /* We use char because int might match the return type of a gcc2
50603    builtin and then its argument prototype would still apply.  */
50604 char $ac_func ();
50605 /* The GNU C library defines this for functions which it implements
50606     to always fail with ENOSYS.  Some functions are actually named
50607     something starting with __ and the normal name is an alias.  */
50608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50609 choke me
50610 #else
50611 char (*f) () = $ac_func;
50612 #endif
50613 #ifdef __cplusplus
50614 }
50615 #endif
50616
50617 int
50618 main ()
50619 {
50620 return f != $ac_func;
50621   ;
50622   return 0;
50623 }
50624 _ACEOF
50625 rm -f conftest.$ac_objext conftest$ac_exeext
50626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50627   (eval $ac_link) 2>conftest.er1
50628   ac_status=$?
50629   grep -v '^ *+' conftest.er1 >conftest.err
50630   rm -f conftest.er1
50631   cat conftest.err >&5
50632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50633   (exit $ac_status); } &&
50634          { ac_try='test -z "$ac_c_werror_flag"
50635                          || test ! -s conftest.err'
50636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50637   (eval $ac_try) 2>&5
50638   ac_status=$?
50639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50640   (exit $ac_status); }; } &&
50641          { ac_try='test -s conftest$ac_exeext'
50642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50643   (eval $ac_try) 2>&5
50644   ac_status=$?
50645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50646   (exit $ac_status); }; }; then
50647   eval "$as_ac_var=yes"
50648 else
50649   echo "$as_me: failed program was:" >&5
50650 sed 's/^/| /' conftest.$ac_ext >&5
50651
50652 eval "$as_ac_var=no"
50653 fi
50654 rm -f conftest.err conftest.$ac_objext \
50655       conftest$ac_exeext conftest.$ac_ext
50656 fi
50657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50659 if test `eval echo '${'$as_ac_var'}'` = yes; then
50660   cat >>confdefs.h <<_ACEOF
50661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50662 _ACEOF
50663
50664 fi
50665 done
50666
50667     fi
50668   fi
50669
50670
50671
50672
50673
50674
50675   echo "$as_me:$LINENO: checking for logf declaration" >&5
50676 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
50677   if test x${glibcxx_cv_func_logf_use+set} != xset; then
50678     if test "${glibcxx_cv_func_logf_use+set}" = set; then
50679   echo $ECHO_N "(cached) $ECHO_C" >&6
50680 else
50681
50682
50683
50684       ac_ext=cc
50685 ac_cpp='$CXXCPP $CPPFLAGS'
50686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50689
50690       cat >conftest.$ac_ext <<_ACEOF
50691 /* confdefs.h.  */
50692 _ACEOF
50693 cat confdefs.h >>conftest.$ac_ext
50694 cat >>conftest.$ac_ext <<_ACEOF
50695 /* end confdefs.h.  */
50696 #include <math.h>
50697                       #ifdef HAVE_IEEEFP_H
50698                       #include <ieeefp.h>
50699                       #endif
50700
50701 int
50702 main ()
50703 {
50704  logf(0);
50705   ;
50706   return 0;
50707 }
50708 _ACEOF
50709 rm -f conftest.$ac_objext
50710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50711   (eval $ac_compile) 2>conftest.er1
50712   ac_status=$?
50713   grep -v '^ *+' conftest.er1 >conftest.err
50714   rm -f conftest.er1
50715   cat conftest.err >&5
50716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50717   (exit $ac_status); } &&
50718          { ac_try='test -z "$ac_cxx_werror_flag"
50719                          || test ! -s conftest.err'
50720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50721   (eval $ac_try) 2>&5
50722   ac_status=$?
50723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50724   (exit $ac_status); }; } &&
50725          { ac_try='test -s conftest.$ac_objext'
50726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50727   (eval $ac_try) 2>&5
50728   ac_status=$?
50729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50730   (exit $ac_status); }; }; then
50731   glibcxx_cv_func_logf_use=yes
50732 else
50733   echo "$as_me: failed program was:" >&5
50734 sed 's/^/| /' conftest.$ac_ext >&5
50735
50736 glibcxx_cv_func_logf_use=no
50737 fi
50738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50739       ac_ext=c
50740 ac_cpp='$CPP $CPPFLAGS'
50741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50744
50745
50746 fi
50747
50748   fi
50749   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
50750 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
50751
50752   if test x$glibcxx_cv_func_logf_use = x"yes"; then
50753
50754 for ac_func in logf
50755 do
50756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50757 echo "$as_me:$LINENO: checking for $ac_func" >&5
50758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50759 if eval "test \"\${$as_ac_var+set}\" = set"; then
50760   echo $ECHO_N "(cached) $ECHO_C" >&6
50761 else
50762   if test x$gcc_no_link = xyes; then
50763   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50765    { (exit 1); exit 1; }; }
50766 fi
50767 cat >conftest.$ac_ext <<_ACEOF
50768 /* confdefs.h.  */
50769 _ACEOF
50770 cat confdefs.h >>conftest.$ac_ext
50771 cat >>conftest.$ac_ext <<_ACEOF
50772 /* end confdefs.h.  */
50773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50774    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50775 #define $ac_func innocuous_$ac_func
50776
50777 /* System header to define __stub macros and hopefully few prototypes,
50778     which can conflict with char $ac_func (); below.
50779     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50780     <limits.h> exists even on freestanding compilers.  */
50781
50782 #ifdef __STDC__
50783 # include <limits.h>
50784 #else
50785 # include <assert.h>
50786 #endif
50787
50788 #undef $ac_func
50789
50790 /* Override any gcc2 internal prototype to avoid an error.  */
50791 #ifdef __cplusplus
50792 extern "C"
50793 {
50794 #endif
50795 /* We use char because int might match the return type of a gcc2
50796    builtin and then its argument prototype would still apply.  */
50797 char $ac_func ();
50798 /* The GNU C library defines this for functions which it implements
50799     to always fail with ENOSYS.  Some functions are actually named
50800     something starting with __ and the normal name is an alias.  */
50801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50802 choke me
50803 #else
50804 char (*f) () = $ac_func;
50805 #endif
50806 #ifdef __cplusplus
50807 }
50808 #endif
50809
50810 int
50811 main ()
50812 {
50813 return f != $ac_func;
50814   ;
50815   return 0;
50816 }
50817 _ACEOF
50818 rm -f conftest.$ac_objext conftest$ac_exeext
50819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50820   (eval $ac_link) 2>conftest.er1
50821   ac_status=$?
50822   grep -v '^ *+' conftest.er1 >conftest.err
50823   rm -f conftest.er1
50824   cat conftest.err >&5
50825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50826   (exit $ac_status); } &&
50827          { ac_try='test -z "$ac_c_werror_flag"
50828                          || test ! -s conftest.err'
50829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50830   (eval $ac_try) 2>&5
50831   ac_status=$?
50832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50833   (exit $ac_status); }; } &&
50834          { ac_try='test -s conftest$ac_exeext'
50835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50836   (eval $ac_try) 2>&5
50837   ac_status=$?
50838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50839   (exit $ac_status); }; }; then
50840   eval "$as_ac_var=yes"
50841 else
50842   echo "$as_me: failed program was:" >&5
50843 sed 's/^/| /' conftest.$ac_ext >&5
50844
50845 eval "$as_ac_var=no"
50846 fi
50847 rm -f conftest.err conftest.$ac_objext \
50848       conftest$ac_exeext conftest.$ac_ext
50849 fi
50850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50852 if test `eval echo '${'$as_ac_var'}'` = yes; then
50853   cat >>confdefs.h <<_ACEOF
50854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50855 _ACEOF
50856
50857 fi
50858 done
50859
50860   else
50861
50862   echo "$as_me:$LINENO: checking for _logf declaration" >&5
50863 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
50864   if test x${glibcxx_cv_func__logf_use+set} != xset; then
50865     if test "${glibcxx_cv_func__logf_use+set}" = set; then
50866   echo $ECHO_N "(cached) $ECHO_C" >&6
50867 else
50868
50869
50870
50871       ac_ext=cc
50872 ac_cpp='$CXXCPP $CPPFLAGS'
50873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50876
50877       cat >conftest.$ac_ext <<_ACEOF
50878 /* confdefs.h.  */
50879 _ACEOF
50880 cat confdefs.h >>conftest.$ac_ext
50881 cat >>conftest.$ac_ext <<_ACEOF
50882 /* end confdefs.h.  */
50883 #include <math.h>
50884                       #ifdef HAVE_IEEEFP_H
50885                       #include <ieeefp.h>
50886                       #endif
50887
50888 int
50889 main ()
50890 {
50891  _logf(0);
50892   ;
50893   return 0;
50894 }
50895 _ACEOF
50896 rm -f conftest.$ac_objext
50897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50898   (eval $ac_compile) 2>conftest.er1
50899   ac_status=$?
50900   grep -v '^ *+' conftest.er1 >conftest.err
50901   rm -f conftest.er1
50902   cat conftest.err >&5
50903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50904   (exit $ac_status); } &&
50905          { ac_try='test -z "$ac_cxx_werror_flag"
50906                          || test ! -s conftest.err'
50907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50908   (eval $ac_try) 2>&5
50909   ac_status=$?
50910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50911   (exit $ac_status); }; } &&
50912          { ac_try='test -s conftest.$ac_objext'
50913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50914   (eval $ac_try) 2>&5
50915   ac_status=$?
50916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50917   (exit $ac_status); }; }; then
50918   glibcxx_cv_func__logf_use=yes
50919 else
50920   echo "$as_me: failed program was:" >&5
50921 sed 's/^/| /' conftest.$ac_ext >&5
50922
50923 glibcxx_cv_func__logf_use=no
50924 fi
50925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50926       ac_ext=c
50927 ac_cpp='$CPP $CPPFLAGS'
50928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50931
50932
50933 fi
50934
50935   fi
50936   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
50937 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
50938
50939     if test x$glibcxx_cv_func__logf_use = x"yes"; then
50940
50941 for ac_func in _logf
50942 do
50943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50944 echo "$as_me:$LINENO: checking for $ac_func" >&5
50945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50946 if eval "test \"\${$as_ac_var+set}\" = set"; then
50947   echo $ECHO_N "(cached) $ECHO_C" >&6
50948 else
50949   if test x$gcc_no_link = xyes; then
50950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50952    { (exit 1); exit 1; }; }
50953 fi
50954 cat >conftest.$ac_ext <<_ACEOF
50955 /* confdefs.h.  */
50956 _ACEOF
50957 cat confdefs.h >>conftest.$ac_ext
50958 cat >>conftest.$ac_ext <<_ACEOF
50959 /* end confdefs.h.  */
50960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50961    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
50962 #define $ac_func innocuous_$ac_func
50963
50964 /* System header to define __stub macros and hopefully few prototypes,
50965     which can conflict with char $ac_func (); below.
50966     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50967     <limits.h> exists even on freestanding compilers.  */
50968
50969 #ifdef __STDC__
50970 # include <limits.h>
50971 #else
50972 # include <assert.h>
50973 #endif
50974
50975 #undef $ac_func
50976
50977 /* Override any gcc2 internal prototype to avoid an error.  */
50978 #ifdef __cplusplus
50979 extern "C"
50980 {
50981 #endif
50982 /* We use char because int might match the return type of a gcc2
50983    builtin and then its argument prototype would still apply.  */
50984 char $ac_func ();
50985 /* The GNU C library defines this for functions which it implements
50986     to always fail with ENOSYS.  Some functions are actually named
50987     something starting with __ and the normal name is an alias.  */
50988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50989 choke me
50990 #else
50991 char (*f) () = $ac_func;
50992 #endif
50993 #ifdef __cplusplus
50994 }
50995 #endif
50996
50997 int
50998 main ()
50999 {
51000 return f != $ac_func;
51001   ;
51002   return 0;
51003 }
51004 _ACEOF
51005 rm -f conftest.$ac_objext conftest$ac_exeext
51006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51007   (eval $ac_link) 2>conftest.er1
51008   ac_status=$?
51009   grep -v '^ *+' conftest.er1 >conftest.err
51010   rm -f conftest.er1
51011   cat conftest.err >&5
51012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51013   (exit $ac_status); } &&
51014          { ac_try='test -z "$ac_c_werror_flag"
51015                          || test ! -s conftest.err'
51016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51017   (eval $ac_try) 2>&5
51018   ac_status=$?
51019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51020   (exit $ac_status); }; } &&
51021          { ac_try='test -s conftest$ac_exeext'
51022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51023   (eval $ac_try) 2>&5
51024   ac_status=$?
51025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51026   (exit $ac_status); }; }; then
51027   eval "$as_ac_var=yes"
51028 else
51029   echo "$as_me: failed program was:" >&5
51030 sed 's/^/| /' conftest.$ac_ext >&5
51031
51032 eval "$as_ac_var=no"
51033 fi
51034 rm -f conftest.err conftest.$ac_objext \
51035       conftest$ac_exeext conftest.$ac_ext
51036 fi
51037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51039 if test `eval echo '${'$as_ac_var'}'` = yes; then
51040   cat >>confdefs.h <<_ACEOF
51041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51042 _ACEOF
51043
51044 fi
51045 done
51046
51047     fi
51048   fi
51049
51050
51051
51052
51053
51054
51055   echo "$as_me:$LINENO: checking for log10f declaration" >&5
51056 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
51057   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51058     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
51059   echo $ECHO_N "(cached) $ECHO_C" >&6
51060 else
51061
51062
51063
51064       ac_ext=cc
51065 ac_cpp='$CXXCPP $CPPFLAGS'
51066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51069
51070       cat >conftest.$ac_ext <<_ACEOF
51071 /* confdefs.h.  */
51072 _ACEOF
51073 cat confdefs.h >>conftest.$ac_ext
51074 cat >>conftest.$ac_ext <<_ACEOF
51075 /* end confdefs.h.  */
51076 #include <math.h>
51077                       #ifdef HAVE_IEEEFP_H
51078                       #include <ieeefp.h>
51079                       #endif
51080
51081 int
51082 main ()
51083 {
51084  log10f(0);
51085   ;
51086   return 0;
51087 }
51088 _ACEOF
51089 rm -f conftest.$ac_objext
51090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51091   (eval $ac_compile) 2>conftest.er1
51092   ac_status=$?
51093   grep -v '^ *+' conftest.er1 >conftest.err
51094   rm -f conftest.er1
51095   cat conftest.err >&5
51096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51097   (exit $ac_status); } &&
51098          { ac_try='test -z "$ac_cxx_werror_flag"
51099                          || test ! -s conftest.err'
51100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51101   (eval $ac_try) 2>&5
51102   ac_status=$?
51103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51104   (exit $ac_status); }; } &&
51105          { ac_try='test -s conftest.$ac_objext'
51106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51107   (eval $ac_try) 2>&5
51108   ac_status=$?
51109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51110   (exit $ac_status); }; }; then
51111   glibcxx_cv_func_log10f_use=yes
51112 else
51113   echo "$as_me: failed program was:" >&5
51114 sed 's/^/| /' conftest.$ac_ext >&5
51115
51116 glibcxx_cv_func_log10f_use=no
51117 fi
51118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51119       ac_ext=c
51120 ac_cpp='$CPP $CPPFLAGS'
51121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51124
51125
51126 fi
51127
51128   fi
51129   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
51130 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
51131
51132   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51133
51134 for ac_func in log10f
51135 do
51136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51137 echo "$as_me:$LINENO: checking for $ac_func" >&5
51138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51139 if eval "test \"\${$as_ac_var+set}\" = set"; then
51140   echo $ECHO_N "(cached) $ECHO_C" >&6
51141 else
51142   if test x$gcc_no_link = xyes; then
51143   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51145    { (exit 1); exit 1; }; }
51146 fi
51147 cat >conftest.$ac_ext <<_ACEOF
51148 /* confdefs.h.  */
51149 _ACEOF
51150 cat confdefs.h >>conftest.$ac_ext
51151 cat >>conftest.$ac_ext <<_ACEOF
51152 /* end confdefs.h.  */
51153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51154    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51155 #define $ac_func innocuous_$ac_func
51156
51157 /* System header to define __stub macros and hopefully few prototypes,
51158     which can conflict with char $ac_func (); below.
51159     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51160     <limits.h> exists even on freestanding compilers.  */
51161
51162 #ifdef __STDC__
51163 # include <limits.h>
51164 #else
51165 # include <assert.h>
51166 #endif
51167
51168 #undef $ac_func
51169
51170 /* Override any gcc2 internal prototype to avoid an error.  */
51171 #ifdef __cplusplus
51172 extern "C"
51173 {
51174 #endif
51175 /* We use char because int might match the return type of a gcc2
51176    builtin and then its argument prototype would still apply.  */
51177 char $ac_func ();
51178 /* The GNU C library defines this for functions which it implements
51179     to always fail with ENOSYS.  Some functions are actually named
51180     something starting with __ and the normal name is an alias.  */
51181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51182 choke me
51183 #else
51184 char (*f) () = $ac_func;
51185 #endif
51186 #ifdef __cplusplus
51187 }
51188 #endif
51189
51190 int
51191 main ()
51192 {
51193 return f != $ac_func;
51194   ;
51195   return 0;
51196 }
51197 _ACEOF
51198 rm -f conftest.$ac_objext conftest$ac_exeext
51199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51200   (eval $ac_link) 2>conftest.er1
51201   ac_status=$?
51202   grep -v '^ *+' conftest.er1 >conftest.err
51203   rm -f conftest.er1
51204   cat conftest.err >&5
51205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51206   (exit $ac_status); } &&
51207          { ac_try='test -z "$ac_c_werror_flag"
51208                          || test ! -s conftest.err'
51209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51210   (eval $ac_try) 2>&5
51211   ac_status=$?
51212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51213   (exit $ac_status); }; } &&
51214          { ac_try='test -s conftest$ac_exeext'
51215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51216   (eval $ac_try) 2>&5
51217   ac_status=$?
51218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51219   (exit $ac_status); }; }; then
51220   eval "$as_ac_var=yes"
51221 else
51222   echo "$as_me: failed program was:" >&5
51223 sed 's/^/| /' conftest.$ac_ext >&5
51224
51225 eval "$as_ac_var=no"
51226 fi
51227 rm -f conftest.err conftest.$ac_objext \
51228       conftest$ac_exeext conftest.$ac_ext
51229 fi
51230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51232 if test `eval echo '${'$as_ac_var'}'` = yes; then
51233   cat >>confdefs.h <<_ACEOF
51234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51235 _ACEOF
51236
51237 fi
51238 done
51239
51240   else
51241
51242   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
51243 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
51244   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51245     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
51246   echo $ECHO_N "(cached) $ECHO_C" >&6
51247 else
51248
51249
51250
51251       ac_ext=cc
51252 ac_cpp='$CXXCPP $CPPFLAGS'
51253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51256
51257       cat >conftest.$ac_ext <<_ACEOF
51258 /* confdefs.h.  */
51259 _ACEOF
51260 cat confdefs.h >>conftest.$ac_ext
51261 cat >>conftest.$ac_ext <<_ACEOF
51262 /* end confdefs.h.  */
51263 #include <math.h>
51264                       #ifdef HAVE_IEEEFP_H
51265                       #include <ieeefp.h>
51266                       #endif
51267
51268 int
51269 main ()
51270 {
51271  _log10f(0);
51272   ;
51273   return 0;
51274 }
51275 _ACEOF
51276 rm -f conftest.$ac_objext
51277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51278   (eval $ac_compile) 2>conftest.er1
51279   ac_status=$?
51280   grep -v '^ *+' conftest.er1 >conftest.err
51281   rm -f conftest.er1
51282   cat conftest.err >&5
51283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51284   (exit $ac_status); } &&
51285          { ac_try='test -z "$ac_cxx_werror_flag"
51286                          || test ! -s conftest.err'
51287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51288   (eval $ac_try) 2>&5
51289   ac_status=$?
51290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51291   (exit $ac_status); }; } &&
51292          { ac_try='test -s conftest.$ac_objext'
51293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51294   (eval $ac_try) 2>&5
51295   ac_status=$?
51296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51297   (exit $ac_status); }; }; then
51298   glibcxx_cv_func__log10f_use=yes
51299 else
51300   echo "$as_me: failed program was:" >&5
51301 sed 's/^/| /' conftest.$ac_ext >&5
51302
51303 glibcxx_cv_func__log10f_use=no
51304 fi
51305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51306       ac_ext=c
51307 ac_cpp='$CPP $CPPFLAGS'
51308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51311
51312
51313 fi
51314
51315   fi
51316   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
51317 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
51318
51319     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51320
51321 for ac_func in _log10f
51322 do
51323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51324 echo "$as_me:$LINENO: checking for $ac_func" >&5
51325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51326 if eval "test \"\${$as_ac_var+set}\" = set"; then
51327   echo $ECHO_N "(cached) $ECHO_C" >&6
51328 else
51329   if test x$gcc_no_link = xyes; then
51330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51332    { (exit 1); exit 1; }; }
51333 fi
51334 cat >conftest.$ac_ext <<_ACEOF
51335 /* confdefs.h.  */
51336 _ACEOF
51337 cat confdefs.h >>conftest.$ac_ext
51338 cat >>conftest.$ac_ext <<_ACEOF
51339 /* end confdefs.h.  */
51340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51341    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51342 #define $ac_func innocuous_$ac_func
51343
51344 /* System header to define __stub macros and hopefully few prototypes,
51345     which can conflict with char $ac_func (); below.
51346     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51347     <limits.h> exists even on freestanding compilers.  */
51348
51349 #ifdef __STDC__
51350 # include <limits.h>
51351 #else
51352 # include <assert.h>
51353 #endif
51354
51355 #undef $ac_func
51356
51357 /* Override any gcc2 internal prototype to avoid an error.  */
51358 #ifdef __cplusplus
51359 extern "C"
51360 {
51361 #endif
51362 /* We use char because int might match the return type of a gcc2
51363    builtin and then its argument prototype would still apply.  */
51364 char $ac_func ();
51365 /* The GNU C library defines this for functions which it implements
51366     to always fail with ENOSYS.  Some functions are actually named
51367     something starting with __ and the normal name is an alias.  */
51368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51369 choke me
51370 #else
51371 char (*f) () = $ac_func;
51372 #endif
51373 #ifdef __cplusplus
51374 }
51375 #endif
51376
51377 int
51378 main ()
51379 {
51380 return f != $ac_func;
51381   ;
51382   return 0;
51383 }
51384 _ACEOF
51385 rm -f conftest.$ac_objext conftest$ac_exeext
51386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51387   (eval $ac_link) 2>conftest.er1
51388   ac_status=$?
51389   grep -v '^ *+' conftest.er1 >conftest.err
51390   rm -f conftest.er1
51391   cat conftest.err >&5
51392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51393   (exit $ac_status); } &&
51394          { ac_try='test -z "$ac_c_werror_flag"
51395                          || test ! -s conftest.err'
51396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51397   (eval $ac_try) 2>&5
51398   ac_status=$?
51399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51400   (exit $ac_status); }; } &&
51401          { ac_try='test -s conftest$ac_exeext'
51402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51403   (eval $ac_try) 2>&5
51404   ac_status=$?
51405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51406   (exit $ac_status); }; }; then
51407   eval "$as_ac_var=yes"
51408 else
51409   echo "$as_me: failed program was:" >&5
51410 sed 's/^/| /' conftest.$ac_ext >&5
51411
51412 eval "$as_ac_var=no"
51413 fi
51414 rm -f conftest.err conftest.$ac_objext \
51415       conftest$ac_exeext conftest.$ac_ext
51416 fi
51417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51419 if test `eval echo '${'$as_ac_var'}'` = yes; then
51420   cat >>confdefs.h <<_ACEOF
51421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51422 _ACEOF
51423
51424 fi
51425 done
51426
51427     fi
51428   fi
51429
51430
51431
51432
51433
51434
51435   echo "$as_me:$LINENO: checking for modff declaration" >&5
51436 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
51437   if test x${glibcxx_cv_func_modff_use+set} != xset; then
51438     if test "${glibcxx_cv_func_modff_use+set}" = set; then
51439   echo $ECHO_N "(cached) $ECHO_C" >&6
51440 else
51441
51442
51443
51444       ac_ext=cc
51445 ac_cpp='$CXXCPP $CPPFLAGS'
51446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51449
51450       cat >conftest.$ac_ext <<_ACEOF
51451 /* confdefs.h.  */
51452 _ACEOF
51453 cat confdefs.h >>conftest.$ac_ext
51454 cat >>conftest.$ac_ext <<_ACEOF
51455 /* end confdefs.h.  */
51456 #include <math.h>
51457 int
51458 main ()
51459 {
51460  modff(0, 0);
51461   ;
51462   return 0;
51463 }
51464 _ACEOF
51465 rm -f conftest.$ac_objext
51466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51467   (eval $ac_compile) 2>conftest.er1
51468   ac_status=$?
51469   grep -v '^ *+' conftest.er1 >conftest.err
51470   rm -f conftest.er1
51471   cat conftest.err >&5
51472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51473   (exit $ac_status); } &&
51474          { ac_try='test -z "$ac_cxx_werror_flag"
51475                          || test ! -s conftest.err'
51476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51477   (eval $ac_try) 2>&5
51478   ac_status=$?
51479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51480   (exit $ac_status); }; } &&
51481          { ac_try='test -s conftest.$ac_objext'
51482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51483   (eval $ac_try) 2>&5
51484   ac_status=$?
51485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51486   (exit $ac_status); }; }; then
51487   glibcxx_cv_func_modff_use=yes
51488 else
51489   echo "$as_me: failed program was:" >&5
51490 sed 's/^/| /' conftest.$ac_ext >&5
51491
51492 glibcxx_cv_func_modff_use=no
51493 fi
51494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51495       ac_ext=c
51496 ac_cpp='$CPP $CPPFLAGS'
51497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51500
51501
51502 fi
51503
51504   fi
51505   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
51506 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
51507
51508   if test x$glibcxx_cv_func_modff_use = x"yes"; then
51509
51510 for ac_func in modff
51511 do
51512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51513 echo "$as_me:$LINENO: checking for $ac_func" >&5
51514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51515 if eval "test \"\${$as_ac_var+set}\" = set"; then
51516   echo $ECHO_N "(cached) $ECHO_C" >&6
51517 else
51518   if test x$gcc_no_link = xyes; then
51519   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51521    { (exit 1); exit 1; }; }
51522 fi
51523 cat >conftest.$ac_ext <<_ACEOF
51524 /* confdefs.h.  */
51525 _ACEOF
51526 cat confdefs.h >>conftest.$ac_ext
51527 cat >>conftest.$ac_ext <<_ACEOF
51528 /* end confdefs.h.  */
51529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51530    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51531 #define $ac_func innocuous_$ac_func
51532
51533 /* System header to define __stub macros and hopefully few prototypes,
51534     which can conflict with char $ac_func (); below.
51535     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51536     <limits.h> exists even on freestanding compilers.  */
51537
51538 #ifdef __STDC__
51539 # include <limits.h>
51540 #else
51541 # include <assert.h>
51542 #endif
51543
51544 #undef $ac_func
51545
51546 /* Override any gcc2 internal prototype to avoid an error.  */
51547 #ifdef __cplusplus
51548 extern "C"
51549 {
51550 #endif
51551 /* We use char because int might match the return type of a gcc2
51552    builtin and then its argument prototype would still apply.  */
51553 char $ac_func ();
51554 /* The GNU C library defines this for functions which it implements
51555     to always fail with ENOSYS.  Some functions are actually named
51556     something starting with __ and the normal name is an alias.  */
51557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51558 choke me
51559 #else
51560 char (*f) () = $ac_func;
51561 #endif
51562 #ifdef __cplusplus
51563 }
51564 #endif
51565
51566 int
51567 main ()
51568 {
51569 return f != $ac_func;
51570   ;
51571   return 0;
51572 }
51573 _ACEOF
51574 rm -f conftest.$ac_objext conftest$ac_exeext
51575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51576   (eval $ac_link) 2>conftest.er1
51577   ac_status=$?
51578   grep -v '^ *+' conftest.er1 >conftest.err
51579   rm -f conftest.er1
51580   cat conftest.err >&5
51581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51582   (exit $ac_status); } &&
51583          { ac_try='test -z "$ac_c_werror_flag"
51584                          || test ! -s conftest.err'
51585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51586   (eval $ac_try) 2>&5
51587   ac_status=$?
51588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51589   (exit $ac_status); }; } &&
51590          { ac_try='test -s conftest$ac_exeext'
51591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51592   (eval $ac_try) 2>&5
51593   ac_status=$?
51594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51595   (exit $ac_status); }; }; then
51596   eval "$as_ac_var=yes"
51597 else
51598   echo "$as_me: failed program was:" >&5
51599 sed 's/^/| /' conftest.$ac_ext >&5
51600
51601 eval "$as_ac_var=no"
51602 fi
51603 rm -f conftest.err conftest.$ac_objext \
51604       conftest$ac_exeext conftest.$ac_ext
51605 fi
51606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51608 if test `eval echo '${'$as_ac_var'}'` = yes; then
51609   cat >>confdefs.h <<_ACEOF
51610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51611 _ACEOF
51612
51613 fi
51614 done
51615
51616   else
51617
51618   echo "$as_me:$LINENO: checking for _modff declaration" >&5
51619 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
51620   if test x${glibcxx_cv_func__modff_use+set} != xset; then
51621     if test "${glibcxx_cv_func__modff_use+set}" = set; then
51622   echo $ECHO_N "(cached) $ECHO_C" >&6
51623 else
51624
51625
51626
51627       ac_ext=cc
51628 ac_cpp='$CXXCPP $CPPFLAGS'
51629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51632
51633       cat >conftest.$ac_ext <<_ACEOF
51634 /* confdefs.h.  */
51635 _ACEOF
51636 cat confdefs.h >>conftest.$ac_ext
51637 cat >>conftest.$ac_ext <<_ACEOF
51638 /* end confdefs.h.  */
51639 #include <math.h>
51640 int
51641 main ()
51642 {
51643  _modff(0, 0);
51644   ;
51645   return 0;
51646 }
51647 _ACEOF
51648 rm -f conftest.$ac_objext
51649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51650   (eval $ac_compile) 2>conftest.er1
51651   ac_status=$?
51652   grep -v '^ *+' conftest.er1 >conftest.err
51653   rm -f conftest.er1
51654   cat conftest.err >&5
51655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51656   (exit $ac_status); } &&
51657          { ac_try='test -z "$ac_cxx_werror_flag"
51658                          || test ! -s conftest.err'
51659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51660   (eval $ac_try) 2>&5
51661   ac_status=$?
51662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51663   (exit $ac_status); }; } &&
51664          { ac_try='test -s conftest.$ac_objext'
51665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51666   (eval $ac_try) 2>&5
51667   ac_status=$?
51668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51669   (exit $ac_status); }; }; then
51670   glibcxx_cv_func__modff_use=yes
51671 else
51672   echo "$as_me: failed program was:" >&5
51673 sed 's/^/| /' conftest.$ac_ext >&5
51674
51675 glibcxx_cv_func__modff_use=no
51676 fi
51677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51678       ac_ext=c
51679 ac_cpp='$CPP $CPPFLAGS'
51680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51683
51684
51685 fi
51686
51687   fi
51688   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
51689 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
51690
51691     if test x$glibcxx_cv_func__modff_use = x"yes"; then
51692
51693 for ac_func in _modff
51694 do
51695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51696 echo "$as_me:$LINENO: checking for $ac_func" >&5
51697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51698 if eval "test \"\${$as_ac_var+set}\" = set"; then
51699   echo $ECHO_N "(cached) $ECHO_C" >&6
51700 else
51701   if test x$gcc_no_link = xyes; then
51702   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51704    { (exit 1); exit 1; }; }
51705 fi
51706 cat >conftest.$ac_ext <<_ACEOF
51707 /* confdefs.h.  */
51708 _ACEOF
51709 cat confdefs.h >>conftest.$ac_ext
51710 cat >>conftest.$ac_ext <<_ACEOF
51711 /* end confdefs.h.  */
51712 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51713    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51714 #define $ac_func innocuous_$ac_func
51715
51716 /* System header to define __stub macros and hopefully few prototypes,
51717     which can conflict with char $ac_func (); below.
51718     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51719     <limits.h> exists even on freestanding compilers.  */
51720
51721 #ifdef __STDC__
51722 # include <limits.h>
51723 #else
51724 # include <assert.h>
51725 #endif
51726
51727 #undef $ac_func
51728
51729 /* Override any gcc2 internal prototype to avoid an error.  */
51730 #ifdef __cplusplus
51731 extern "C"
51732 {
51733 #endif
51734 /* We use char because int might match the return type of a gcc2
51735    builtin and then its argument prototype would still apply.  */
51736 char $ac_func ();
51737 /* The GNU C library defines this for functions which it implements
51738     to always fail with ENOSYS.  Some functions are actually named
51739     something starting with __ and the normal name is an alias.  */
51740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51741 choke me
51742 #else
51743 char (*f) () = $ac_func;
51744 #endif
51745 #ifdef __cplusplus
51746 }
51747 #endif
51748
51749 int
51750 main ()
51751 {
51752 return f != $ac_func;
51753   ;
51754   return 0;
51755 }
51756 _ACEOF
51757 rm -f conftest.$ac_objext conftest$ac_exeext
51758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51759   (eval $ac_link) 2>conftest.er1
51760   ac_status=$?
51761   grep -v '^ *+' conftest.er1 >conftest.err
51762   rm -f conftest.er1
51763   cat conftest.err >&5
51764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51765   (exit $ac_status); } &&
51766          { ac_try='test -z "$ac_c_werror_flag"
51767                          || test ! -s conftest.err'
51768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51769   (eval $ac_try) 2>&5
51770   ac_status=$?
51771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51772   (exit $ac_status); }; } &&
51773          { ac_try='test -s conftest$ac_exeext'
51774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51775   (eval $ac_try) 2>&5
51776   ac_status=$?
51777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51778   (exit $ac_status); }; }; then
51779   eval "$as_ac_var=yes"
51780 else
51781   echo "$as_me: failed program was:" >&5
51782 sed 's/^/| /' conftest.$ac_ext >&5
51783
51784 eval "$as_ac_var=no"
51785 fi
51786 rm -f conftest.err conftest.$ac_objext \
51787       conftest$ac_exeext conftest.$ac_ext
51788 fi
51789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51791 if test `eval echo '${'$as_ac_var'}'` = yes; then
51792   cat >>confdefs.h <<_ACEOF
51793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51794 _ACEOF
51795
51796 fi
51797 done
51798
51799     fi
51800   fi
51801
51802
51803
51804
51805
51806
51807   echo "$as_me:$LINENO: checking for modf declaration" >&5
51808 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
51809   if test x${glibcxx_cv_func_modf_use+set} != xset; then
51810     if test "${glibcxx_cv_func_modf_use+set}" = set; then
51811   echo $ECHO_N "(cached) $ECHO_C" >&6
51812 else
51813
51814
51815
51816       ac_ext=cc
51817 ac_cpp='$CXXCPP $CPPFLAGS'
51818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51821
51822       cat >conftest.$ac_ext <<_ACEOF
51823 /* confdefs.h.  */
51824 _ACEOF
51825 cat confdefs.h >>conftest.$ac_ext
51826 cat >>conftest.$ac_ext <<_ACEOF
51827 /* end confdefs.h.  */
51828 #include <math.h>
51829 int
51830 main ()
51831 {
51832  modf(0, 0);
51833   ;
51834   return 0;
51835 }
51836 _ACEOF
51837 rm -f conftest.$ac_objext
51838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51839   (eval $ac_compile) 2>conftest.er1
51840   ac_status=$?
51841   grep -v '^ *+' conftest.er1 >conftest.err
51842   rm -f conftest.er1
51843   cat conftest.err >&5
51844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51845   (exit $ac_status); } &&
51846          { ac_try='test -z "$ac_cxx_werror_flag"
51847                          || test ! -s conftest.err'
51848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51849   (eval $ac_try) 2>&5
51850   ac_status=$?
51851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51852   (exit $ac_status); }; } &&
51853          { ac_try='test -s conftest.$ac_objext'
51854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51855   (eval $ac_try) 2>&5
51856   ac_status=$?
51857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51858   (exit $ac_status); }; }; then
51859   glibcxx_cv_func_modf_use=yes
51860 else
51861   echo "$as_me: failed program was:" >&5
51862 sed 's/^/| /' conftest.$ac_ext >&5
51863
51864 glibcxx_cv_func_modf_use=no
51865 fi
51866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51867       ac_ext=c
51868 ac_cpp='$CPP $CPPFLAGS'
51869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51872
51873
51874 fi
51875
51876   fi
51877   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
51878 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
51879
51880   if test x$glibcxx_cv_func_modf_use = x"yes"; then
51881
51882 for ac_func in modf
51883 do
51884 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51885 echo "$as_me:$LINENO: checking for $ac_func" >&5
51886 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51887 if eval "test \"\${$as_ac_var+set}\" = set"; then
51888   echo $ECHO_N "(cached) $ECHO_C" >&6
51889 else
51890   if test x$gcc_no_link = xyes; then
51891   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51893    { (exit 1); exit 1; }; }
51894 fi
51895 cat >conftest.$ac_ext <<_ACEOF
51896 /* confdefs.h.  */
51897 _ACEOF
51898 cat confdefs.h >>conftest.$ac_ext
51899 cat >>conftest.$ac_ext <<_ACEOF
51900 /* end confdefs.h.  */
51901 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51902    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
51903 #define $ac_func innocuous_$ac_func
51904
51905 /* System header to define __stub macros and hopefully few prototypes,
51906     which can conflict with char $ac_func (); below.
51907     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51908     <limits.h> exists even on freestanding compilers.  */
51909
51910 #ifdef __STDC__
51911 # include <limits.h>
51912 #else
51913 # include <assert.h>
51914 #endif
51915
51916 #undef $ac_func
51917
51918 /* Override any gcc2 internal prototype to avoid an error.  */
51919 #ifdef __cplusplus
51920 extern "C"
51921 {
51922 #endif
51923 /* We use char because int might match the return type of a gcc2
51924    builtin and then its argument prototype would still apply.  */
51925 char $ac_func ();
51926 /* The GNU C library defines this for functions which it implements
51927     to always fail with ENOSYS.  Some functions are actually named
51928     something starting with __ and the normal name is an alias.  */
51929 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51930 choke me
51931 #else
51932 char (*f) () = $ac_func;
51933 #endif
51934 #ifdef __cplusplus
51935 }
51936 #endif
51937
51938 int
51939 main ()
51940 {
51941 return f != $ac_func;
51942   ;
51943   return 0;
51944 }
51945 _ACEOF
51946 rm -f conftest.$ac_objext conftest$ac_exeext
51947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51948   (eval $ac_link) 2>conftest.er1
51949   ac_status=$?
51950   grep -v '^ *+' conftest.er1 >conftest.err
51951   rm -f conftest.er1
51952   cat conftest.err >&5
51953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51954   (exit $ac_status); } &&
51955          { ac_try='test -z "$ac_c_werror_flag"
51956                          || test ! -s conftest.err'
51957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51958   (eval $ac_try) 2>&5
51959   ac_status=$?
51960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51961   (exit $ac_status); }; } &&
51962          { ac_try='test -s conftest$ac_exeext'
51963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51964   (eval $ac_try) 2>&5
51965   ac_status=$?
51966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51967   (exit $ac_status); }; }; then
51968   eval "$as_ac_var=yes"
51969 else
51970   echo "$as_me: failed program was:" >&5
51971 sed 's/^/| /' conftest.$ac_ext >&5
51972
51973 eval "$as_ac_var=no"
51974 fi
51975 rm -f conftest.err conftest.$ac_objext \
51976       conftest$ac_exeext conftest.$ac_ext
51977 fi
51978 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51979 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51980 if test `eval echo '${'$as_ac_var'}'` = yes; then
51981   cat >>confdefs.h <<_ACEOF
51982 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51983 _ACEOF
51984
51985 fi
51986 done
51987
51988   else
51989
51990   echo "$as_me:$LINENO: checking for _modf declaration" >&5
51991 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
51992   if test x${glibcxx_cv_func__modf_use+set} != xset; then
51993     if test "${glibcxx_cv_func__modf_use+set}" = set; then
51994   echo $ECHO_N "(cached) $ECHO_C" >&6
51995 else
51996
51997
51998
51999       ac_ext=cc
52000 ac_cpp='$CXXCPP $CPPFLAGS'
52001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52004
52005       cat >conftest.$ac_ext <<_ACEOF
52006 /* confdefs.h.  */
52007 _ACEOF
52008 cat confdefs.h >>conftest.$ac_ext
52009 cat >>conftest.$ac_ext <<_ACEOF
52010 /* end confdefs.h.  */
52011 #include <math.h>
52012 int
52013 main ()
52014 {
52015  _modf(0, 0);
52016   ;
52017   return 0;
52018 }
52019 _ACEOF
52020 rm -f conftest.$ac_objext
52021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52022   (eval $ac_compile) 2>conftest.er1
52023   ac_status=$?
52024   grep -v '^ *+' conftest.er1 >conftest.err
52025   rm -f conftest.er1
52026   cat conftest.err >&5
52027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52028   (exit $ac_status); } &&
52029          { ac_try='test -z "$ac_cxx_werror_flag"
52030                          || test ! -s conftest.err'
52031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52032   (eval $ac_try) 2>&5
52033   ac_status=$?
52034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52035   (exit $ac_status); }; } &&
52036          { ac_try='test -s conftest.$ac_objext'
52037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52038   (eval $ac_try) 2>&5
52039   ac_status=$?
52040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52041   (exit $ac_status); }; }; then
52042   glibcxx_cv_func__modf_use=yes
52043 else
52044   echo "$as_me: failed program was:" >&5
52045 sed 's/^/| /' conftest.$ac_ext >&5
52046
52047 glibcxx_cv_func__modf_use=no
52048 fi
52049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52050       ac_ext=c
52051 ac_cpp='$CPP $CPPFLAGS'
52052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52055
52056
52057 fi
52058
52059   fi
52060   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
52061 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
52062
52063     if test x$glibcxx_cv_func__modf_use = x"yes"; then
52064
52065 for ac_func in _modf
52066 do
52067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52068 echo "$as_me:$LINENO: checking for $ac_func" >&5
52069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52070 if eval "test \"\${$as_ac_var+set}\" = set"; then
52071   echo $ECHO_N "(cached) $ECHO_C" >&6
52072 else
52073   if test x$gcc_no_link = xyes; then
52074   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52076    { (exit 1); exit 1; }; }
52077 fi
52078 cat >conftest.$ac_ext <<_ACEOF
52079 /* confdefs.h.  */
52080 _ACEOF
52081 cat confdefs.h >>conftest.$ac_ext
52082 cat >>conftest.$ac_ext <<_ACEOF
52083 /* end confdefs.h.  */
52084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52085    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52086 #define $ac_func innocuous_$ac_func
52087
52088 /* System header to define __stub macros and hopefully few prototypes,
52089     which can conflict with char $ac_func (); below.
52090     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52091     <limits.h> exists even on freestanding compilers.  */
52092
52093 #ifdef __STDC__
52094 # include <limits.h>
52095 #else
52096 # include <assert.h>
52097 #endif
52098
52099 #undef $ac_func
52100
52101 /* Override any gcc2 internal prototype to avoid an error.  */
52102 #ifdef __cplusplus
52103 extern "C"
52104 {
52105 #endif
52106 /* We use char because int might match the return type of a gcc2
52107    builtin and then its argument prototype would still apply.  */
52108 char $ac_func ();
52109 /* The GNU C library defines this for functions which it implements
52110     to always fail with ENOSYS.  Some functions are actually named
52111     something starting with __ and the normal name is an alias.  */
52112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52113 choke me
52114 #else
52115 char (*f) () = $ac_func;
52116 #endif
52117 #ifdef __cplusplus
52118 }
52119 #endif
52120
52121 int
52122 main ()
52123 {
52124 return f != $ac_func;
52125   ;
52126   return 0;
52127 }
52128 _ACEOF
52129 rm -f conftest.$ac_objext conftest$ac_exeext
52130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52131   (eval $ac_link) 2>conftest.er1
52132   ac_status=$?
52133   grep -v '^ *+' conftest.er1 >conftest.err
52134   rm -f conftest.er1
52135   cat conftest.err >&5
52136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52137   (exit $ac_status); } &&
52138          { ac_try='test -z "$ac_c_werror_flag"
52139                          || test ! -s conftest.err'
52140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52141   (eval $ac_try) 2>&5
52142   ac_status=$?
52143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52144   (exit $ac_status); }; } &&
52145          { ac_try='test -s conftest$ac_exeext'
52146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52147   (eval $ac_try) 2>&5
52148   ac_status=$?
52149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52150   (exit $ac_status); }; }; then
52151   eval "$as_ac_var=yes"
52152 else
52153   echo "$as_me: failed program was:" >&5
52154 sed 's/^/| /' conftest.$ac_ext >&5
52155
52156 eval "$as_ac_var=no"
52157 fi
52158 rm -f conftest.err conftest.$ac_objext \
52159       conftest$ac_exeext conftest.$ac_ext
52160 fi
52161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52163 if test `eval echo '${'$as_ac_var'}'` = yes; then
52164   cat >>confdefs.h <<_ACEOF
52165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52166 _ACEOF
52167
52168 fi
52169 done
52170
52171     fi
52172   fi
52173
52174
52175
52176
52177
52178
52179   echo "$as_me:$LINENO: checking for powf declaration" >&5
52180 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
52181   if test x${glibcxx_cv_func_powf_use+set} != xset; then
52182     if test "${glibcxx_cv_func_powf_use+set}" = set; then
52183   echo $ECHO_N "(cached) $ECHO_C" >&6
52184 else
52185
52186
52187
52188       ac_ext=cc
52189 ac_cpp='$CXXCPP $CPPFLAGS'
52190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52193
52194       cat >conftest.$ac_ext <<_ACEOF
52195 /* confdefs.h.  */
52196 _ACEOF
52197 cat confdefs.h >>conftest.$ac_ext
52198 cat >>conftest.$ac_ext <<_ACEOF
52199 /* end confdefs.h.  */
52200 #include <math.h>
52201 int
52202 main ()
52203 {
52204  powf(0, 0);
52205   ;
52206   return 0;
52207 }
52208 _ACEOF
52209 rm -f conftest.$ac_objext
52210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52211   (eval $ac_compile) 2>conftest.er1
52212   ac_status=$?
52213   grep -v '^ *+' conftest.er1 >conftest.err
52214   rm -f conftest.er1
52215   cat conftest.err >&5
52216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52217   (exit $ac_status); } &&
52218          { ac_try='test -z "$ac_cxx_werror_flag"
52219                          || test ! -s conftest.err'
52220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52221   (eval $ac_try) 2>&5
52222   ac_status=$?
52223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52224   (exit $ac_status); }; } &&
52225          { ac_try='test -s conftest.$ac_objext'
52226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52227   (eval $ac_try) 2>&5
52228   ac_status=$?
52229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52230   (exit $ac_status); }; }; then
52231   glibcxx_cv_func_powf_use=yes
52232 else
52233   echo "$as_me: failed program was:" >&5
52234 sed 's/^/| /' conftest.$ac_ext >&5
52235
52236 glibcxx_cv_func_powf_use=no
52237 fi
52238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52239       ac_ext=c
52240 ac_cpp='$CPP $CPPFLAGS'
52241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52244
52245
52246 fi
52247
52248   fi
52249   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
52250 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
52251
52252   if test x$glibcxx_cv_func_powf_use = x"yes"; then
52253
52254 for ac_func in powf
52255 do
52256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52257 echo "$as_me:$LINENO: checking for $ac_func" >&5
52258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52259 if eval "test \"\${$as_ac_var+set}\" = set"; then
52260   echo $ECHO_N "(cached) $ECHO_C" >&6
52261 else
52262   if test x$gcc_no_link = xyes; then
52263   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52265    { (exit 1); exit 1; }; }
52266 fi
52267 cat >conftest.$ac_ext <<_ACEOF
52268 /* confdefs.h.  */
52269 _ACEOF
52270 cat confdefs.h >>conftest.$ac_ext
52271 cat >>conftest.$ac_ext <<_ACEOF
52272 /* end confdefs.h.  */
52273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52274    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52275 #define $ac_func innocuous_$ac_func
52276
52277 /* System header to define __stub macros and hopefully few prototypes,
52278     which can conflict with char $ac_func (); below.
52279     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52280     <limits.h> exists even on freestanding compilers.  */
52281
52282 #ifdef __STDC__
52283 # include <limits.h>
52284 #else
52285 # include <assert.h>
52286 #endif
52287
52288 #undef $ac_func
52289
52290 /* Override any gcc2 internal prototype to avoid an error.  */
52291 #ifdef __cplusplus
52292 extern "C"
52293 {
52294 #endif
52295 /* We use char because int might match the return type of a gcc2
52296    builtin and then its argument prototype would still apply.  */
52297 char $ac_func ();
52298 /* The GNU C library defines this for functions which it implements
52299     to always fail with ENOSYS.  Some functions are actually named
52300     something starting with __ and the normal name is an alias.  */
52301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52302 choke me
52303 #else
52304 char (*f) () = $ac_func;
52305 #endif
52306 #ifdef __cplusplus
52307 }
52308 #endif
52309
52310 int
52311 main ()
52312 {
52313 return f != $ac_func;
52314   ;
52315   return 0;
52316 }
52317 _ACEOF
52318 rm -f conftest.$ac_objext conftest$ac_exeext
52319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52320   (eval $ac_link) 2>conftest.er1
52321   ac_status=$?
52322   grep -v '^ *+' conftest.er1 >conftest.err
52323   rm -f conftest.er1
52324   cat conftest.err >&5
52325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52326   (exit $ac_status); } &&
52327          { ac_try='test -z "$ac_c_werror_flag"
52328                          || test ! -s conftest.err'
52329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52330   (eval $ac_try) 2>&5
52331   ac_status=$?
52332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52333   (exit $ac_status); }; } &&
52334          { ac_try='test -s conftest$ac_exeext'
52335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52336   (eval $ac_try) 2>&5
52337   ac_status=$?
52338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52339   (exit $ac_status); }; }; then
52340   eval "$as_ac_var=yes"
52341 else
52342   echo "$as_me: failed program was:" >&5
52343 sed 's/^/| /' conftest.$ac_ext >&5
52344
52345 eval "$as_ac_var=no"
52346 fi
52347 rm -f conftest.err conftest.$ac_objext \
52348       conftest$ac_exeext conftest.$ac_ext
52349 fi
52350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52352 if test `eval echo '${'$as_ac_var'}'` = yes; then
52353   cat >>confdefs.h <<_ACEOF
52354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52355 _ACEOF
52356
52357 fi
52358 done
52359
52360   else
52361
52362   echo "$as_me:$LINENO: checking for _powf declaration" >&5
52363 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
52364   if test x${glibcxx_cv_func__powf_use+set} != xset; then
52365     if test "${glibcxx_cv_func__powf_use+set}" = set; then
52366   echo $ECHO_N "(cached) $ECHO_C" >&6
52367 else
52368
52369
52370
52371       ac_ext=cc
52372 ac_cpp='$CXXCPP $CPPFLAGS'
52373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52376
52377       cat >conftest.$ac_ext <<_ACEOF
52378 /* confdefs.h.  */
52379 _ACEOF
52380 cat confdefs.h >>conftest.$ac_ext
52381 cat >>conftest.$ac_ext <<_ACEOF
52382 /* end confdefs.h.  */
52383 #include <math.h>
52384 int
52385 main ()
52386 {
52387  _powf(0, 0);
52388   ;
52389   return 0;
52390 }
52391 _ACEOF
52392 rm -f conftest.$ac_objext
52393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52394   (eval $ac_compile) 2>conftest.er1
52395   ac_status=$?
52396   grep -v '^ *+' conftest.er1 >conftest.err
52397   rm -f conftest.er1
52398   cat conftest.err >&5
52399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52400   (exit $ac_status); } &&
52401          { ac_try='test -z "$ac_cxx_werror_flag"
52402                          || test ! -s conftest.err'
52403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52404   (eval $ac_try) 2>&5
52405   ac_status=$?
52406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52407   (exit $ac_status); }; } &&
52408          { ac_try='test -s conftest.$ac_objext'
52409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52410   (eval $ac_try) 2>&5
52411   ac_status=$?
52412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52413   (exit $ac_status); }; }; then
52414   glibcxx_cv_func__powf_use=yes
52415 else
52416   echo "$as_me: failed program was:" >&5
52417 sed 's/^/| /' conftest.$ac_ext >&5
52418
52419 glibcxx_cv_func__powf_use=no
52420 fi
52421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52422       ac_ext=c
52423 ac_cpp='$CPP $CPPFLAGS'
52424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52427
52428
52429 fi
52430
52431   fi
52432   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
52433 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
52434
52435     if test x$glibcxx_cv_func__powf_use = x"yes"; then
52436
52437 for ac_func in _powf
52438 do
52439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52440 echo "$as_me:$LINENO: checking for $ac_func" >&5
52441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52442 if eval "test \"\${$as_ac_var+set}\" = set"; then
52443   echo $ECHO_N "(cached) $ECHO_C" >&6
52444 else
52445   if test x$gcc_no_link = xyes; then
52446   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52448    { (exit 1); exit 1; }; }
52449 fi
52450 cat >conftest.$ac_ext <<_ACEOF
52451 /* confdefs.h.  */
52452 _ACEOF
52453 cat confdefs.h >>conftest.$ac_ext
52454 cat >>conftest.$ac_ext <<_ACEOF
52455 /* end confdefs.h.  */
52456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52457    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52458 #define $ac_func innocuous_$ac_func
52459
52460 /* System header to define __stub macros and hopefully few prototypes,
52461     which can conflict with char $ac_func (); below.
52462     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52463     <limits.h> exists even on freestanding compilers.  */
52464
52465 #ifdef __STDC__
52466 # include <limits.h>
52467 #else
52468 # include <assert.h>
52469 #endif
52470
52471 #undef $ac_func
52472
52473 /* Override any gcc2 internal prototype to avoid an error.  */
52474 #ifdef __cplusplus
52475 extern "C"
52476 {
52477 #endif
52478 /* We use char because int might match the return type of a gcc2
52479    builtin and then its argument prototype would still apply.  */
52480 char $ac_func ();
52481 /* The GNU C library defines this for functions which it implements
52482     to always fail with ENOSYS.  Some functions are actually named
52483     something starting with __ and the normal name is an alias.  */
52484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52485 choke me
52486 #else
52487 char (*f) () = $ac_func;
52488 #endif
52489 #ifdef __cplusplus
52490 }
52491 #endif
52492
52493 int
52494 main ()
52495 {
52496 return f != $ac_func;
52497   ;
52498   return 0;
52499 }
52500 _ACEOF
52501 rm -f conftest.$ac_objext conftest$ac_exeext
52502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52503   (eval $ac_link) 2>conftest.er1
52504   ac_status=$?
52505   grep -v '^ *+' conftest.er1 >conftest.err
52506   rm -f conftest.er1
52507   cat conftest.err >&5
52508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52509   (exit $ac_status); } &&
52510          { ac_try='test -z "$ac_c_werror_flag"
52511                          || test ! -s conftest.err'
52512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52513   (eval $ac_try) 2>&5
52514   ac_status=$?
52515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52516   (exit $ac_status); }; } &&
52517          { ac_try='test -s conftest$ac_exeext'
52518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52519   (eval $ac_try) 2>&5
52520   ac_status=$?
52521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52522   (exit $ac_status); }; }; then
52523   eval "$as_ac_var=yes"
52524 else
52525   echo "$as_me: failed program was:" >&5
52526 sed 's/^/| /' conftest.$ac_ext >&5
52527
52528 eval "$as_ac_var=no"
52529 fi
52530 rm -f conftest.err conftest.$ac_objext \
52531       conftest$ac_exeext conftest.$ac_ext
52532 fi
52533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52535 if test `eval echo '${'$as_ac_var'}'` = yes; then
52536   cat >>confdefs.h <<_ACEOF
52537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52538 _ACEOF
52539
52540 fi
52541 done
52542
52543     fi
52544   fi
52545
52546
52547
52548
52549
52550
52551   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
52552 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
52553   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
52554     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
52555   echo $ECHO_N "(cached) $ECHO_C" >&6
52556 else
52557
52558
52559
52560       ac_ext=cc
52561 ac_cpp='$CXXCPP $CPPFLAGS'
52562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52565
52566       cat >conftest.$ac_ext <<_ACEOF
52567 /* confdefs.h.  */
52568 _ACEOF
52569 cat confdefs.h >>conftest.$ac_ext
52570 cat >>conftest.$ac_ext <<_ACEOF
52571 /* end confdefs.h.  */
52572 #include <math.h>
52573                       #ifdef HAVE_IEEEFP_H
52574                       #include <ieeefp.h>
52575                       #endif
52576
52577 int
52578 main ()
52579 {
52580  sqrtf(0);
52581   ;
52582   return 0;
52583 }
52584 _ACEOF
52585 rm -f conftest.$ac_objext
52586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52587   (eval $ac_compile) 2>conftest.er1
52588   ac_status=$?
52589   grep -v '^ *+' conftest.er1 >conftest.err
52590   rm -f conftest.er1
52591   cat conftest.err >&5
52592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52593   (exit $ac_status); } &&
52594          { ac_try='test -z "$ac_cxx_werror_flag"
52595                          || test ! -s conftest.err'
52596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52597   (eval $ac_try) 2>&5
52598   ac_status=$?
52599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52600   (exit $ac_status); }; } &&
52601          { ac_try='test -s conftest.$ac_objext'
52602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52603   (eval $ac_try) 2>&5
52604   ac_status=$?
52605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52606   (exit $ac_status); }; }; then
52607   glibcxx_cv_func_sqrtf_use=yes
52608 else
52609   echo "$as_me: failed program was:" >&5
52610 sed 's/^/| /' conftest.$ac_ext >&5
52611
52612 glibcxx_cv_func_sqrtf_use=no
52613 fi
52614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52615       ac_ext=c
52616 ac_cpp='$CPP $CPPFLAGS'
52617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52620
52621
52622 fi
52623
52624   fi
52625   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
52626 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
52627
52628   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
52629
52630 for ac_func in sqrtf
52631 do
52632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52633 echo "$as_me:$LINENO: checking for $ac_func" >&5
52634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52635 if eval "test \"\${$as_ac_var+set}\" = set"; then
52636   echo $ECHO_N "(cached) $ECHO_C" >&6
52637 else
52638   if test x$gcc_no_link = xyes; then
52639   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52641    { (exit 1); exit 1; }; }
52642 fi
52643 cat >conftest.$ac_ext <<_ACEOF
52644 /* confdefs.h.  */
52645 _ACEOF
52646 cat confdefs.h >>conftest.$ac_ext
52647 cat >>conftest.$ac_ext <<_ACEOF
52648 /* end confdefs.h.  */
52649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52650    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52651 #define $ac_func innocuous_$ac_func
52652
52653 /* System header to define __stub macros and hopefully few prototypes,
52654     which can conflict with char $ac_func (); below.
52655     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52656     <limits.h> exists even on freestanding compilers.  */
52657
52658 #ifdef __STDC__
52659 # include <limits.h>
52660 #else
52661 # include <assert.h>
52662 #endif
52663
52664 #undef $ac_func
52665
52666 /* Override any gcc2 internal prototype to avoid an error.  */
52667 #ifdef __cplusplus
52668 extern "C"
52669 {
52670 #endif
52671 /* We use char because int might match the return type of a gcc2
52672    builtin and then its argument prototype would still apply.  */
52673 char $ac_func ();
52674 /* The GNU C library defines this for functions which it implements
52675     to always fail with ENOSYS.  Some functions are actually named
52676     something starting with __ and the normal name is an alias.  */
52677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52678 choke me
52679 #else
52680 char (*f) () = $ac_func;
52681 #endif
52682 #ifdef __cplusplus
52683 }
52684 #endif
52685
52686 int
52687 main ()
52688 {
52689 return f != $ac_func;
52690   ;
52691   return 0;
52692 }
52693 _ACEOF
52694 rm -f conftest.$ac_objext conftest$ac_exeext
52695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52696   (eval $ac_link) 2>conftest.er1
52697   ac_status=$?
52698   grep -v '^ *+' conftest.er1 >conftest.err
52699   rm -f conftest.er1
52700   cat conftest.err >&5
52701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52702   (exit $ac_status); } &&
52703          { ac_try='test -z "$ac_c_werror_flag"
52704                          || test ! -s conftest.err'
52705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52706   (eval $ac_try) 2>&5
52707   ac_status=$?
52708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52709   (exit $ac_status); }; } &&
52710          { ac_try='test -s conftest$ac_exeext'
52711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52712   (eval $ac_try) 2>&5
52713   ac_status=$?
52714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52715   (exit $ac_status); }; }; then
52716   eval "$as_ac_var=yes"
52717 else
52718   echo "$as_me: failed program was:" >&5
52719 sed 's/^/| /' conftest.$ac_ext >&5
52720
52721 eval "$as_ac_var=no"
52722 fi
52723 rm -f conftest.err conftest.$ac_objext \
52724       conftest$ac_exeext conftest.$ac_ext
52725 fi
52726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52728 if test `eval echo '${'$as_ac_var'}'` = yes; then
52729   cat >>confdefs.h <<_ACEOF
52730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52731 _ACEOF
52732
52733 fi
52734 done
52735
52736   else
52737
52738   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
52739 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
52740   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
52741     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
52742   echo $ECHO_N "(cached) $ECHO_C" >&6
52743 else
52744
52745
52746
52747       ac_ext=cc
52748 ac_cpp='$CXXCPP $CPPFLAGS'
52749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52752
52753       cat >conftest.$ac_ext <<_ACEOF
52754 /* confdefs.h.  */
52755 _ACEOF
52756 cat confdefs.h >>conftest.$ac_ext
52757 cat >>conftest.$ac_ext <<_ACEOF
52758 /* end confdefs.h.  */
52759 #include <math.h>
52760                       #ifdef HAVE_IEEEFP_H
52761                       #include <ieeefp.h>
52762                       #endif
52763
52764 int
52765 main ()
52766 {
52767  _sqrtf(0);
52768   ;
52769   return 0;
52770 }
52771 _ACEOF
52772 rm -f conftest.$ac_objext
52773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52774   (eval $ac_compile) 2>conftest.er1
52775   ac_status=$?
52776   grep -v '^ *+' conftest.er1 >conftest.err
52777   rm -f conftest.er1
52778   cat conftest.err >&5
52779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52780   (exit $ac_status); } &&
52781          { ac_try='test -z "$ac_cxx_werror_flag"
52782                          || test ! -s conftest.err'
52783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52784   (eval $ac_try) 2>&5
52785   ac_status=$?
52786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52787   (exit $ac_status); }; } &&
52788          { ac_try='test -s conftest.$ac_objext'
52789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52790   (eval $ac_try) 2>&5
52791   ac_status=$?
52792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52793   (exit $ac_status); }; }; then
52794   glibcxx_cv_func__sqrtf_use=yes
52795 else
52796   echo "$as_me: failed program was:" >&5
52797 sed 's/^/| /' conftest.$ac_ext >&5
52798
52799 glibcxx_cv_func__sqrtf_use=no
52800 fi
52801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52802       ac_ext=c
52803 ac_cpp='$CPP $CPPFLAGS'
52804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52807
52808
52809 fi
52810
52811   fi
52812   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
52813 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
52814
52815     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
52816
52817 for ac_func in _sqrtf
52818 do
52819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52820 echo "$as_me:$LINENO: checking for $ac_func" >&5
52821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52822 if eval "test \"\${$as_ac_var+set}\" = set"; then
52823   echo $ECHO_N "(cached) $ECHO_C" >&6
52824 else
52825   if test x$gcc_no_link = xyes; then
52826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52828    { (exit 1); exit 1; }; }
52829 fi
52830 cat >conftest.$ac_ext <<_ACEOF
52831 /* confdefs.h.  */
52832 _ACEOF
52833 cat confdefs.h >>conftest.$ac_ext
52834 cat >>conftest.$ac_ext <<_ACEOF
52835 /* end confdefs.h.  */
52836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52837    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52838 #define $ac_func innocuous_$ac_func
52839
52840 /* System header to define __stub macros and hopefully few prototypes,
52841     which can conflict with char $ac_func (); below.
52842     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52843     <limits.h> exists even on freestanding compilers.  */
52844
52845 #ifdef __STDC__
52846 # include <limits.h>
52847 #else
52848 # include <assert.h>
52849 #endif
52850
52851 #undef $ac_func
52852
52853 /* Override any gcc2 internal prototype to avoid an error.  */
52854 #ifdef __cplusplus
52855 extern "C"
52856 {
52857 #endif
52858 /* We use char because int might match the return type of a gcc2
52859    builtin and then its argument prototype would still apply.  */
52860 char $ac_func ();
52861 /* The GNU C library defines this for functions which it implements
52862     to always fail with ENOSYS.  Some functions are actually named
52863     something starting with __ and the normal name is an alias.  */
52864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52865 choke me
52866 #else
52867 char (*f) () = $ac_func;
52868 #endif
52869 #ifdef __cplusplus
52870 }
52871 #endif
52872
52873 int
52874 main ()
52875 {
52876 return f != $ac_func;
52877   ;
52878   return 0;
52879 }
52880 _ACEOF
52881 rm -f conftest.$ac_objext conftest$ac_exeext
52882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52883   (eval $ac_link) 2>conftest.er1
52884   ac_status=$?
52885   grep -v '^ *+' conftest.er1 >conftest.err
52886   rm -f conftest.er1
52887   cat conftest.err >&5
52888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52889   (exit $ac_status); } &&
52890          { ac_try='test -z "$ac_c_werror_flag"
52891                          || test ! -s conftest.err'
52892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52893   (eval $ac_try) 2>&5
52894   ac_status=$?
52895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52896   (exit $ac_status); }; } &&
52897          { ac_try='test -s conftest$ac_exeext'
52898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52899   (eval $ac_try) 2>&5
52900   ac_status=$?
52901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52902   (exit $ac_status); }; }; then
52903   eval "$as_ac_var=yes"
52904 else
52905   echo "$as_me: failed program was:" >&5
52906 sed 's/^/| /' conftest.$ac_ext >&5
52907
52908 eval "$as_ac_var=no"
52909 fi
52910 rm -f conftest.err conftest.$ac_objext \
52911       conftest$ac_exeext conftest.$ac_ext
52912 fi
52913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52915 if test `eval echo '${'$as_ac_var'}'` = yes; then
52916   cat >>confdefs.h <<_ACEOF
52917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52918 _ACEOF
52919
52920 fi
52921 done
52922
52923     fi
52924   fi
52925
52926
52927
52928
52929
52930
52931   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
52932 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
52933   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
52934     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
52935   echo $ECHO_N "(cached) $ECHO_C" >&6
52936 else
52937
52938
52939
52940       ac_ext=cc
52941 ac_cpp='$CXXCPP $CPPFLAGS'
52942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52945
52946       cat >conftest.$ac_ext <<_ACEOF
52947 /* confdefs.h.  */
52948 _ACEOF
52949 cat confdefs.h >>conftest.$ac_ext
52950 cat >>conftest.$ac_ext <<_ACEOF
52951 /* end confdefs.h.  */
52952 #include <math.h>
52953 int
52954 main ()
52955 {
52956  sincosf(0, 0, 0);
52957   ;
52958   return 0;
52959 }
52960 _ACEOF
52961 rm -f conftest.$ac_objext
52962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52963   (eval $ac_compile) 2>conftest.er1
52964   ac_status=$?
52965   grep -v '^ *+' conftest.er1 >conftest.err
52966   rm -f conftest.er1
52967   cat conftest.err >&5
52968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52969   (exit $ac_status); } &&
52970          { ac_try='test -z "$ac_cxx_werror_flag"
52971                          || test ! -s conftest.err'
52972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52973   (eval $ac_try) 2>&5
52974   ac_status=$?
52975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52976   (exit $ac_status); }; } &&
52977          { ac_try='test -s conftest.$ac_objext'
52978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52979   (eval $ac_try) 2>&5
52980   ac_status=$?
52981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52982   (exit $ac_status); }; }; then
52983   glibcxx_cv_func_sincosf_use=yes
52984 else
52985   echo "$as_me: failed program was:" >&5
52986 sed 's/^/| /' conftest.$ac_ext >&5
52987
52988 glibcxx_cv_func_sincosf_use=no
52989 fi
52990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52991       ac_ext=c
52992 ac_cpp='$CPP $CPPFLAGS'
52993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52996
52997
52998 fi
52999
53000   fi
53001   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
53002 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
53003
53004   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53005
53006 for ac_func in sincosf
53007 do
53008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53009 echo "$as_me:$LINENO: checking for $ac_func" >&5
53010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53011 if eval "test \"\${$as_ac_var+set}\" = set"; then
53012   echo $ECHO_N "(cached) $ECHO_C" >&6
53013 else
53014   if test x$gcc_no_link = xyes; then
53015   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53017    { (exit 1); exit 1; }; }
53018 fi
53019 cat >conftest.$ac_ext <<_ACEOF
53020 /* confdefs.h.  */
53021 _ACEOF
53022 cat confdefs.h >>conftest.$ac_ext
53023 cat >>conftest.$ac_ext <<_ACEOF
53024 /* end confdefs.h.  */
53025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53026    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53027 #define $ac_func innocuous_$ac_func
53028
53029 /* System header to define __stub macros and hopefully few prototypes,
53030     which can conflict with char $ac_func (); below.
53031     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53032     <limits.h> exists even on freestanding compilers.  */
53033
53034 #ifdef __STDC__
53035 # include <limits.h>
53036 #else
53037 # include <assert.h>
53038 #endif
53039
53040 #undef $ac_func
53041
53042 /* Override any gcc2 internal prototype to avoid an error.  */
53043 #ifdef __cplusplus
53044 extern "C"
53045 {
53046 #endif
53047 /* We use char because int might match the return type of a gcc2
53048    builtin and then its argument prototype would still apply.  */
53049 char $ac_func ();
53050 /* The GNU C library defines this for functions which it implements
53051     to always fail with ENOSYS.  Some functions are actually named
53052     something starting with __ and the normal name is an alias.  */
53053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53054 choke me
53055 #else
53056 char (*f) () = $ac_func;
53057 #endif
53058 #ifdef __cplusplus
53059 }
53060 #endif
53061
53062 int
53063 main ()
53064 {
53065 return f != $ac_func;
53066   ;
53067   return 0;
53068 }
53069 _ACEOF
53070 rm -f conftest.$ac_objext conftest$ac_exeext
53071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53072   (eval $ac_link) 2>conftest.er1
53073   ac_status=$?
53074   grep -v '^ *+' conftest.er1 >conftest.err
53075   rm -f conftest.er1
53076   cat conftest.err >&5
53077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53078   (exit $ac_status); } &&
53079          { ac_try='test -z "$ac_c_werror_flag"
53080                          || test ! -s conftest.err'
53081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53082   (eval $ac_try) 2>&5
53083   ac_status=$?
53084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53085   (exit $ac_status); }; } &&
53086          { ac_try='test -s conftest$ac_exeext'
53087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53088   (eval $ac_try) 2>&5
53089   ac_status=$?
53090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53091   (exit $ac_status); }; }; then
53092   eval "$as_ac_var=yes"
53093 else
53094   echo "$as_me: failed program was:" >&5
53095 sed 's/^/| /' conftest.$ac_ext >&5
53096
53097 eval "$as_ac_var=no"
53098 fi
53099 rm -f conftest.err conftest.$ac_objext \
53100       conftest$ac_exeext conftest.$ac_ext
53101 fi
53102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53104 if test `eval echo '${'$as_ac_var'}'` = yes; then
53105   cat >>confdefs.h <<_ACEOF
53106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53107 _ACEOF
53108
53109 fi
53110 done
53111
53112   else
53113
53114   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
53115 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
53116   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53117     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
53118   echo $ECHO_N "(cached) $ECHO_C" >&6
53119 else
53120
53121
53122
53123       ac_ext=cc
53124 ac_cpp='$CXXCPP $CPPFLAGS'
53125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53128
53129       cat >conftest.$ac_ext <<_ACEOF
53130 /* confdefs.h.  */
53131 _ACEOF
53132 cat confdefs.h >>conftest.$ac_ext
53133 cat >>conftest.$ac_ext <<_ACEOF
53134 /* end confdefs.h.  */
53135 #include <math.h>
53136 int
53137 main ()
53138 {
53139  _sincosf(0, 0, 0);
53140   ;
53141   return 0;
53142 }
53143 _ACEOF
53144 rm -f conftest.$ac_objext
53145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53146   (eval $ac_compile) 2>conftest.er1
53147   ac_status=$?
53148   grep -v '^ *+' conftest.er1 >conftest.err
53149   rm -f conftest.er1
53150   cat conftest.err >&5
53151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53152   (exit $ac_status); } &&
53153          { ac_try='test -z "$ac_cxx_werror_flag"
53154                          || test ! -s conftest.err'
53155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53156   (eval $ac_try) 2>&5
53157   ac_status=$?
53158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53159   (exit $ac_status); }; } &&
53160          { ac_try='test -s conftest.$ac_objext'
53161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53162   (eval $ac_try) 2>&5
53163   ac_status=$?
53164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53165   (exit $ac_status); }; }; then
53166   glibcxx_cv_func__sincosf_use=yes
53167 else
53168   echo "$as_me: failed program was:" >&5
53169 sed 's/^/| /' conftest.$ac_ext >&5
53170
53171 glibcxx_cv_func__sincosf_use=no
53172 fi
53173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53174       ac_ext=c
53175 ac_cpp='$CPP $CPPFLAGS'
53176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53179
53180
53181 fi
53182
53183   fi
53184   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
53185 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
53186
53187     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53188
53189 for ac_func in _sincosf
53190 do
53191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53192 echo "$as_me:$LINENO: checking for $ac_func" >&5
53193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53194 if eval "test \"\${$as_ac_var+set}\" = set"; then
53195   echo $ECHO_N "(cached) $ECHO_C" >&6
53196 else
53197   if test x$gcc_no_link = xyes; then
53198   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53200    { (exit 1); exit 1; }; }
53201 fi
53202 cat >conftest.$ac_ext <<_ACEOF
53203 /* confdefs.h.  */
53204 _ACEOF
53205 cat confdefs.h >>conftest.$ac_ext
53206 cat >>conftest.$ac_ext <<_ACEOF
53207 /* end confdefs.h.  */
53208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53209    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53210 #define $ac_func innocuous_$ac_func
53211
53212 /* System header to define __stub macros and hopefully few prototypes,
53213     which can conflict with char $ac_func (); below.
53214     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53215     <limits.h> exists even on freestanding compilers.  */
53216
53217 #ifdef __STDC__
53218 # include <limits.h>
53219 #else
53220 # include <assert.h>
53221 #endif
53222
53223 #undef $ac_func
53224
53225 /* Override any gcc2 internal prototype to avoid an error.  */
53226 #ifdef __cplusplus
53227 extern "C"
53228 {
53229 #endif
53230 /* We use char because int might match the return type of a gcc2
53231    builtin and then its argument prototype would still apply.  */
53232 char $ac_func ();
53233 /* The GNU C library defines this for functions which it implements
53234     to always fail with ENOSYS.  Some functions are actually named
53235     something starting with __ and the normal name is an alias.  */
53236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53237 choke me
53238 #else
53239 char (*f) () = $ac_func;
53240 #endif
53241 #ifdef __cplusplus
53242 }
53243 #endif
53244
53245 int
53246 main ()
53247 {
53248 return f != $ac_func;
53249   ;
53250   return 0;
53251 }
53252 _ACEOF
53253 rm -f conftest.$ac_objext conftest$ac_exeext
53254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53255   (eval $ac_link) 2>conftest.er1
53256   ac_status=$?
53257   grep -v '^ *+' conftest.er1 >conftest.err
53258   rm -f conftest.er1
53259   cat conftest.err >&5
53260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53261   (exit $ac_status); } &&
53262          { ac_try='test -z "$ac_c_werror_flag"
53263                          || test ! -s conftest.err'
53264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53265   (eval $ac_try) 2>&5
53266   ac_status=$?
53267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53268   (exit $ac_status); }; } &&
53269          { ac_try='test -s conftest$ac_exeext'
53270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53271   (eval $ac_try) 2>&5
53272   ac_status=$?
53273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53274   (exit $ac_status); }; }; then
53275   eval "$as_ac_var=yes"
53276 else
53277   echo "$as_me: failed program was:" >&5
53278 sed 's/^/| /' conftest.$ac_ext >&5
53279
53280 eval "$as_ac_var=no"
53281 fi
53282 rm -f conftest.err conftest.$ac_objext \
53283       conftest$ac_exeext conftest.$ac_ext
53284 fi
53285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53287 if test `eval echo '${'$as_ac_var'}'` = yes; then
53288   cat >>confdefs.h <<_ACEOF
53289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53290 _ACEOF
53291
53292 fi
53293 done
53294
53295     fi
53296   fi
53297
53298
53299
53300
53301
53302
53303   echo "$as_me:$LINENO: checking for finitef declaration" >&5
53304 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
53305   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53306     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
53307   echo $ECHO_N "(cached) $ECHO_C" >&6
53308 else
53309
53310
53311
53312       ac_ext=cc
53313 ac_cpp='$CXXCPP $CPPFLAGS'
53314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53317
53318       cat >conftest.$ac_ext <<_ACEOF
53319 /* confdefs.h.  */
53320 _ACEOF
53321 cat confdefs.h >>conftest.$ac_ext
53322 cat >>conftest.$ac_ext <<_ACEOF
53323 /* end confdefs.h.  */
53324 #include <math.h>
53325                       #ifdef HAVE_IEEEFP_H
53326                       #include <ieeefp.h>
53327                       #endif
53328
53329 int
53330 main ()
53331 {
53332  finitef(0);
53333   ;
53334   return 0;
53335 }
53336 _ACEOF
53337 rm -f conftest.$ac_objext
53338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53339   (eval $ac_compile) 2>conftest.er1
53340   ac_status=$?
53341   grep -v '^ *+' conftest.er1 >conftest.err
53342   rm -f conftest.er1
53343   cat conftest.err >&5
53344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53345   (exit $ac_status); } &&
53346          { ac_try='test -z "$ac_cxx_werror_flag"
53347                          || test ! -s conftest.err'
53348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53349   (eval $ac_try) 2>&5
53350   ac_status=$?
53351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53352   (exit $ac_status); }; } &&
53353          { ac_try='test -s conftest.$ac_objext'
53354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53355   (eval $ac_try) 2>&5
53356   ac_status=$?
53357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53358   (exit $ac_status); }; }; then
53359   glibcxx_cv_func_finitef_use=yes
53360 else
53361   echo "$as_me: failed program was:" >&5
53362 sed 's/^/| /' conftest.$ac_ext >&5
53363
53364 glibcxx_cv_func_finitef_use=no
53365 fi
53366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53367       ac_ext=c
53368 ac_cpp='$CPP $CPPFLAGS'
53369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53372
53373
53374 fi
53375
53376   fi
53377   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
53378 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
53379
53380   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53381
53382 for ac_func in finitef
53383 do
53384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53385 echo "$as_me:$LINENO: checking for $ac_func" >&5
53386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53387 if eval "test \"\${$as_ac_var+set}\" = set"; then
53388   echo $ECHO_N "(cached) $ECHO_C" >&6
53389 else
53390   if test x$gcc_no_link = xyes; then
53391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53393    { (exit 1); exit 1; }; }
53394 fi
53395 cat >conftest.$ac_ext <<_ACEOF
53396 /* confdefs.h.  */
53397 _ACEOF
53398 cat confdefs.h >>conftest.$ac_ext
53399 cat >>conftest.$ac_ext <<_ACEOF
53400 /* end confdefs.h.  */
53401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53402    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53403 #define $ac_func innocuous_$ac_func
53404
53405 /* System header to define __stub macros and hopefully few prototypes,
53406     which can conflict with char $ac_func (); below.
53407     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53408     <limits.h> exists even on freestanding compilers.  */
53409
53410 #ifdef __STDC__
53411 # include <limits.h>
53412 #else
53413 # include <assert.h>
53414 #endif
53415
53416 #undef $ac_func
53417
53418 /* Override any gcc2 internal prototype to avoid an error.  */
53419 #ifdef __cplusplus
53420 extern "C"
53421 {
53422 #endif
53423 /* We use char because int might match the return type of a gcc2
53424    builtin and then its argument prototype would still apply.  */
53425 char $ac_func ();
53426 /* The GNU C library defines this for functions which it implements
53427     to always fail with ENOSYS.  Some functions are actually named
53428     something starting with __ and the normal name is an alias.  */
53429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53430 choke me
53431 #else
53432 char (*f) () = $ac_func;
53433 #endif
53434 #ifdef __cplusplus
53435 }
53436 #endif
53437
53438 int
53439 main ()
53440 {
53441 return f != $ac_func;
53442   ;
53443   return 0;
53444 }
53445 _ACEOF
53446 rm -f conftest.$ac_objext conftest$ac_exeext
53447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53448   (eval $ac_link) 2>conftest.er1
53449   ac_status=$?
53450   grep -v '^ *+' conftest.er1 >conftest.err
53451   rm -f conftest.er1
53452   cat conftest.err >&5
53453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53454   (exit $ac_status); } &&
53455          { ac_try='test -z "$ac_c_werror_flag"
53456                          || test ! -s conftest.err'
53457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53458   (eval $ac_try) 2>&5
53459   ac_status=$?
53460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53461   (exit $ac_status); }; } &&
53462          { ac_try='test -s conftest$ac_exeext'
53463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53464   (eval $ac_try) 2>&5
53465   ac_status=$?
53466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53467   (exit $ac_status); }; }; then
53468   eval "$as_ac_var=yes"
53469 else
53470   echo "$as_me: failed program was:" >&5
53471 sed 's/^/| /' conftest.$ac_ext >&5
53472
53473 eval "$as_ac_var=no"
53474 fi
53475 rm -f conftest.err conftest.$ac_objext \
53476       conftest$ac_exeext conftest.$ac_ext
53477 fi
53478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53480 if test `eval echo '${'$as_ac_var'}'` = yes; then
53481   cat >>confdefs.h <<_ACEOF
53482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53483 _ACEOF
53484
53485 fi
53486 done
53487
53488   else
53489
53490   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
53491 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
53492   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53493     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
53494   echo $ECHO_N "(cached) $ECHO_C" >&6
53495 else
53496
53497
53498
53499       ac_ext=cc
53500 ac_cpp='$CXXCPP $CPPFLAGS'
53501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53504
53505       cat >conftest.$ac_ext <<_ACEOF
53506 /* confdefs.h.  */
53507 _ACEOF
53508 cat confdefs.h >>conftest.$ac_ext
53509 cat >>conftest.$ac_ext <<_ACEOF
53510 /* end confdefs.h.  */
53511 #include <math.h>
53512                       #ifdef HAVE_IEEEFP_H
53513                       #include <ieeefp.h>
53514                       #endif
53515
53516 int
53517 main ()
53518 {
53519  _finitef(0);
53520   ;
53521   return 0;
53522 }
53523 _ACEOF
53524 rm -f conftest.$ac_objext
53525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53526   (eval $ac_compile) 2>conftest.er1
53527   ac_status=$?
53528   grep -v '^ *+' conftest.er1 >conftest.err
53529   rm -f conftest.er1
53530   cat conftest.err >&5
53531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53532   (exit $ac_status); } &&
53533          { ac_try='test -z "$ac_cxx_werror_flag"
53534                          || test ! -s conftest.err'
53535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53536   (eval $ac_try) 2>&5
53537   ac_status=$?
53538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53539   (exit $ac_status); }; } &&
53540          { ac_try='test -s conftest.$ac_objext'
53541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53542   (eval $ac_try) 2>&5
53543   ac_status=$?
53544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53545   (exit $ac_status); }; }; then
53546   glibcxx_cv_func__finitef_use=yes
53547 else
53548   echo "$as_me: failed program was:" >&5
53549 sed 's/^/| /' conftest.$ac_ext >&5
53550
53551 glibcxx_cv_func__finitef_use=no
53552 fi
53553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53554       ac_ext=c
53555 ac_cpp='$CPP $CPPFLAGS'
53556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53559
53560
53561 fi
53562
53563   fi
53564   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
53565 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
53566
53567     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
53568
53569 for ac_func in _finitef
53570 do
53571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53572 echo "$as_me:$LINENO: checking for $ac_func" >&5
53573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53574 if eval "test \"\${$as_ac_var+set}\" = set"; then
53575   echo $ECHO_N "(cached) $ECHO_C" >&6
53576 else
53577   if test x$gcc_no_link = xyes; then
53578   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53580    { (exit 1); exit 1; }; }
53581 fi
53582 cat >conftest.$ac_ext <<_ACEOF
53583 /* confdefs.h.  */
53584 _ACEOF
53585 cat confdefs.h >>conftest.$ac_ext
53586 cat >>conftest.$ac_ext <<_ACEOF
53587 /* end confdefs.h.  */
53588 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53589    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53590 #define $ac_func innocuous_$ac_func
53591
53592 /* System header to define __stub macros and hopefully few prototypes,
53593     which can conflict with char $ac_func (); below.
53594     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53595     <limits.h> exists even on freestanding compilers.  */
53596
53597 #ifdef __STDC__
53598 # include <limits.h>
53599 #else
53600 # include <assert.h>
53601 #endif
53602
53603 #undef $ac_func
53604
53605 /* Override any gcc2 internal prototype to avoid an error.  */
53606 #ifdef __cplusplus
53607 extern "C"
53608 {
53609 #endif
53610 /* We use char because int might match the return type of a gcc2
53611    builtin and then its argument prototype would still apply.  */
53612 char $ac_func ();
53613 /* The GNU C library defines this for functions which it implements
53614     to always fail with ENOSYS.  Some functions are actually named
53615     something starting with __ and the normal name is an alias.  */
53616 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53617 choke me
53618 #else
53619 char (*f) () = $ac_func;
53620 #endif
53621 #ifdef __cplusplus
53622 }
53623 #endif
53624
53625 int
53626 main ()
53627 {
53628 return f != $ac_func;
53629   ;
53630   return 0;
53631 }
53632 _ACEOF
53633 rm -f conftest.$ac_objext conftest$ac_exeext
53634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53635   (eval $ac_link) 2>conftest.er1
53636   ac_status=$?
53637   grep -v '^ *+' conftest.er1 >conftest.err
53638   rm -f conftest.er1
53639   cat conftest.err >&5
53640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53641   (exit $ac_status); } &&
53642          { ac_try='test -z "$ac_c_werror_flag"
53643                          || test ! -s conftest.err'
53644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53645   (eval $ac_try) 2>&5
53646   ac_status=$?
53647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53648   (exit $ac_status); }; } &&
53649          { ac_try='test -s conftest$ac_exeext'
53650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53651   (eval $ac_try) 2>&5
53652   ac_status=$?
53653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53654   (exit $ac_status); }; }; then
53655   eval "$as_ac_var=yes"
53656 else
53657   echo "$as_me: failed program was:" >&5
53658 sed 's/^/| /' conftest.$ac_ext >&5
53659
53660 eval "$as_ac_var=no"
53661 fi
53662 rm -f conftest.err conftest.$ac_objext \
53663       conftest$ac_exeext conftest.$ac_ext
53664 fi
53665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53666 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53667 if test `eval echo '${'$as_ac_var'}'` = yes; then
53668   cat >>confdefs.h <<_ACEOF
53669 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53670 _ACEOF
53671
53672 fi
53673 done
53674
53675     fi
53676   fi
53677
53678
53679
53680
53681
53682
53683     echo "$as_me:$LINENO: checking for long double trig functions" >&5
53684 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
53685   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
53686   echo $ECHO_N "(cached) $ECHO_C" >&6
53687 else
53688
53689
53690
53691     ac_ext=cc
53692 ac_cpp='$CXXCPP $CPPFLAGS'
53693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53696
53697     cat >conftest.$ac_ext <<_ACEOF
53698 /* confdefs.h.  */
53699 _ACEOF
53700 cat confdefs.h >>conftest.$ac_ext
53701 cat >>conftest.$ac_ext <<_ACEOF
53702 /* end confdefs.h.  */
53703 #include <math.h>
53704 int
53705 main ()
53706 {
53707 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
53708   ;
53709   return 0;
53710 }
53711 _ACEOF
53712 rm -f conftest.$ac_objext
53713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53714   (eval $ac_compile) 2>conftest.er1
53715   ac_status=$?
53716   grep -v '^ *+' conftest.er1 >conftest.err
53717   rm -f conftest.er1
53718   cat conftest.err >&5
53719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53720   (exit $ac_status); } &&
53721          { ac_try='test -z "$ac_cxx_werror_flag"
53722                          || test ! -s conftest.err'
53723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53724   (eval $ac_try) 2>&5
53725   ac_status=$?
53726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53727   (exit $ac_status); }; } &&
53728          { ac_try='test -s conftest.$ac_objext'
53729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53730   (eval $ac_try) 2>&5
53731   ac_status=$?
53732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53733   (exit $ac_status); }; }; then
53734   glibcxx_cv_func_long_double_trig_use=yes
53735 else
53736   echo "$as_me: failed program was:" >&5
53737 sed 's/^/| /' conftest.$ac_ext >&5
53738
53739 glibcxx_cv_func_long_double_trig_use=no
53740 fi
53741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53742     ac_ext=c
53743 ac_cpp='$CPP $CPPFLAGS'
53744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53747
53748 fi
53749
53750   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
53751 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
53752   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
53753
53754
53755
53756
53757
53758
53759
53760
53761
53762 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
53763 do
53764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53765 echo "$as_me:$LINENO: checking for $ac_func" >&5
53766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53767 if eval "test \"\${$as_ac_var+set}\" = set"; then
53768   echo $ECHO_N "(cached) $ECHO_C" >&6
53769 else
53770   if test x$gcc_no_link = xyes; then
53771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53773    { (exit 1); exit 1; }; }
53774 fi
53775 cat >conftest.$ac_ext <<_ACEOF
53776 /* confdefs.h.  */
53777 _ACEOF
53778 cat confdefs.h >>conftest.$ac_ext
53779 cat >>conftest.$ac_ext <<_ACEOF
53780 /* end confdefs.h.  */
53781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53782    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53783 #define $ac_func innocuous_$ac_func
53784
53785 /* System header to define __stub macros and hopefully few prototypes,
53786     which can conflict with char $ac_func (); below.
53787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53788     <limits.h> exists even on freestanding compilers.  */
53789
53790 #ifdef __STDC__
53791 # include <limits.h>
53792 #else
53793 # include <assert.h>
53794 #endif
53795
53796 #undef $ac_func
53797
53798 /* Override any gcc2 internal prototype to avoid an error.  */
53799 #ifdef __cplusplus
53800 extern "C"
53801 {
53802 #endif
53803 /* We use char because int might match the return type of a gcc2
53804    builtin and then its argument prototype would still apply.  */
53805 char $ac_func ();
53806 /* The GNU C library defines this for functions which it implements
53807     to always fail with ENOSYS.  Some functions are actually named
53808     something starting with __ and the normal name is an alias.  */
53809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53810 choke me
53811 #else
53812 char (*f) () = $ac_func;
53813 #endif
53814 #ifdef __cplusplus
53815 }
53816 #endif
53817
53818 int
53819 main ()
53820 {
53821 return f != $ac_func;
53822   ;
53823   return 0;
53824 }
53825 _ACEOF
53826 rm -f conftest.$ac_objext conftest$ac_exeext
53827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53828   (eval $ac_link) 2>conftest.er1
53829   ac_status=$?
53830   grep -v '^ *+' conftest.er1 >conftest.err
53831   rm -f conftest.er1
53832   cat conftest.err >&5
53833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53834   (exit $ac_status); } &&
53835          { ac_try='test -z "$ac_c_werror_flag"
53836                          || test ! -s conftest.err'
53837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53838   (eval $ac_try) 2>&5
53839   ac_status=$?
53840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53841   (exit $ac_status); }; } &&
53842          { ac_try='test -s conftest$ac_exeext'
53843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53844   (eval $ac_try) 2>&5
53845   ac_status=$?
53846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53847   (exit $ac_status); }; }; then
53848   eval "$as_ac_var=yes"
53849 else
53850   echo "$as_me: failed program was:" >&5
53851 sed 's/^/| /' conftest.$ac_ext >&5
53852
53853 eval "$as_ac_var=no"
53854 fi
53855 rm -f conftest.err conftest.$ac_objext \
53856       conftest$ac_exeext conftest.$ac_ext
53857 fi
53858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53860 if test `eval echo '${'$as_ac_var'}'` = yes; then
53861   cat >>confdefs.h <<_ACEOF
53862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53863 _ACEOF
53864
53865 fi
53866 done
53867
53868   else
53869     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
53870 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
53871     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
53872   echo $ECHO_N "(cached) $ECHO_C" >&6
53873 else
53874
53875
53876
53877       ac_ext=cc
53878 ac_cpp='$CXXCPP $CPPFLAGS'
53879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53882
53883       cat >conftest.$ac_ext <<_ACEOF
53884 /* confdefs.h.  */
53885 _ACEOF
53886 cat confdefs.h >>conftest.$ac_ext
53887 cat >>conftest.$ac_ext <<_ACEOF
53888 /* end confdefs.h.  */
53889 #include <math.h>
53890 int
53891 main ()
53892 {
53893 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
53894   ;
53895   return 0;
53896 }
53897 _ACEOF
53898 rm -f conftest.$ac_objext
53899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53900   (eval $ac_compile) 2>conftest.er1
53901   ac_status=$?
53902   grep -v '^ *+' conftest.er1 >conftest.err
53903   rm -f conftest.er1
53904   cat conftest.err >&5
53905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53906   (exit $ac_status); } &&
53907          { ac_try='test -z "$ac_cxx_werror_flag"
53908                          || test ! -s conftest.err'
53909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53910   (eval $ac_try) 2>&5
53911   ac_status=$?
53912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53913   (exit $ac_status); }; } &&
53914          { ac_try='test -s conftest.$ac_objext'
53915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53916   (eval $ac_try) 2>&5
53917   ac_status=$?
53918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53919   (exit $ac_status); }; }; then
53920   glibcxx_cv_func__long_double_trig_use=yes
53921 else
53922   echo "$as_me: failed program was:" >&5
53923 sed 's/^/| /' conftest.$ac_ext >&5
53924
53925 glibcxx_cv_func__long_double_trig_use=no
53926 fi
53927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53928       ac_ext=c
53929 ac_cpp='$CPP $CPPFLAGS'
53930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53933
53934 fi
53935
53936     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
53937 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
53938     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
53939
53940
53941
53942
53943
53944
53945
53946
53947
53948 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
53949 do
53950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53951 echo "$as_me:$LINENO: checking for $ac_func" >&5
53952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53953 if eval "test \"\${$as_ac_var+set}\" = set"; then
53954   echo $ECHO_N "(cached) $ECHO_C" >&6
53955 else
53956   if test x$gcc_no_link = xyes; then
53957   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53959    { (exit 1); exit 1; }; }
53960 fi
53961 cat >conftest.$ac_ext <<_ACEOF
53962 /* confdefs.h.  */
53963 _ACEOF
53964 cat confdefs.h >>conftest.$ac_ext
53965 cat >>conftest.$ac_ext <<_ACEOF
53966 /* end confdefs.h.  */
53967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53968    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53969 #define $ac_func innocuous_$ac_func
53970
53971 /* System header to define __stub macros and hopefully few prototypes,
53972     which can conflict with char $ac_func (); below.
53973     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53974     <limits.h> exists even on freestanding compilers.  */
53975
53976 #ifdef __STDC__
53977 # include <limits.h>
53978 #else
53979 # include <assert.h>
53980 #endif
53981
53982 #undef $ac_func
53983
53984 /* Override any gcc2 internal prototype to avoid an error.  */
53985 #ifdef __cplusplus
53986 extern "C"
53987 {
53988 #endif
53989 /* We use char because int might match the return type of a gcc2
53990    builtin and then its argument prototype would still apply.  */
53991 char $ac_func ();
53992 /* The GNU C library defines this for functions which it implements
53993     to always fail with ENOSYS.  Some functions are actually named
53994     something starting with __ and the normal name is an alias.  */
53995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53996 choke me
53997 #else
53998 char (*f) () = $ac_func;
53999 #endif
54000 #ifdef __cplusplus
54001 }
54002 #endif
54003
54004 int
54005 main ()
54006 {
54007 return f != $ac_func;
54008   ;
54009   return 0;
54010 }
54011 _ACEOF
54012 rm -f conftest.$ac_objext conftest$ac_exeext
54013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54014   (eval $ac_link) 2>conftest.er1
54015   ac_status=$?
54016   grep -v '^ *+' conftest.er1 >conftest.err
54017   rm -f conftest.er1
54018   cat conftest.err >&5
54019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54020   (exit $ac_status); } &&
54021          { ac_try='test -z "$ac_c_werror_flag"
54022                          || test ! -s conftest.err'
54023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54024   (eval $ac_try) 2>&5
54025   ac_status=$?
54026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54027   (exit $ac_status); }; } &&
54028          { ac_try='test -s conftest$ac_exeext'
54029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54030   (eval $ac_try) 2>&5
54031   ac_status=$?
54032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54033   (exit $ac_status); }; }; then
54034   eval "$as_ac_var=yes"
54035 else
54036   echo "$as_me: failed program was:" >&5
54037 sed 's/^/| /' conftest.$ac_ext >&5
54038
54039 eval "$as_ac_var=no"
54040 fi
54041 rm -f conftest.err conftest.$ac_objext \
54042       conftest$ac_exeext conftest.$ac_ext
54043 fi
54044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54046 if test `eval echo '${'$as_ac_var'}'` = yes; then
54047   cat >>confdefs.h <<_ACEOF
54048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54049 _ACEOF
54050
54051 fi
54052 done
54053
54054     fi
54055   fi
54056
54057
54058
54059
54060
54061
54062
54063
54064
54065
54066
54067
54068
54069
54070     echo "$as_me:$LINENO: checking for long double round functions" >&5
54071 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
54072   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
54073   echo $ECHO_N "(cached) $ECHO_C" >&6
54074 else
54075
54076
54077
54078     ac_ext=cc
54079 ac_cpp='$CXXCPP $CPPFLAGS'
54080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54083
54084     cat >conftest.$ac_ext <<_ACEOF
54085 /* confdefs.h.  */
54086 _ACEOF
54087 cat confdefs.h >>conftest.$ac_ext
54088 cat >>conftest.$ac_ext <<_ACEOF
54089 /* end confdefs.h.  */
54090 #include <math.h>
54091 int
54092 main ()
54093 {
54094 ceill (0); floorl (0);
54095   ;
54096   return 0;
54097 }
54098 _ACEOF
54099 rm -f conftest.$ac_objext
54100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54101   (eval $ac_compile) 2>conftest.er1
54102   ac_status=$?
54103   grep -v '^ *+' conftest.er1 >conftest.err
54104   rm -f conftest.er1
54105   cat conftest.err >&5
54106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54107   (exit $ac_status); } &&
54108          { ac_try='test -z "$ac_cxx_werror_flag"
54109                          || test ! -s conftest.err'
54110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54111   (eval $ac_try) 2>&5
54112   ac_status=$?
54113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54114   (exit $ac_status); }; } &&
54115          { ac_try='test -s conftest.$ac_objext'
54116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54117   (eval $ac_try) 2>&5
54118   ac_status=$?
54119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54120   (exit $ac_status); }; }; then
54121   glibcxx_cv_func_long_double_round_use=yes
54122 else
54123   echo "$as_me: failed program was:" >&5
54124 sed 's/^/| /' conftest.$ac_ext >&5
54125
54126 glibcxx_cv_func_long_double_round_use=no
54127 fi
54128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54129     ac_ext=c
54130 ac_cpp='$CPP $CPPFLAGS'
54131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54134
54135 fi
54136
54137   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
54138 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
54139   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54140
54141
54142 for ac_func in ceill floorl
54143 do
54144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54145 echo "$as_me:$LINENO: checking for $ac_func" >&5
54146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54147 if eval "test \"\${$as_ac_var+set}\" = set"; then
54148   echo $ECHO_N "(cached) $ECHO_C" >&6
54149 else
54150   if test x$gcc_no_link = xyes; then
54151   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54153    { (exit 1); exit 1; }; }
54154 fi
54155 cat >conftest.$ac_ext <<_ACEOF
54156 /* confdefs.h.  */
54157 _ACEOF
54158 cat confdefs.h >>conftest.$ac_ext
54159 cat >>conftest.$ac_ext <<_ACEOF
54160 /* end confdefs.h.  */
54161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54162    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54163 #define $ac_func innocuous_$ac_func
54164
54165 /* System header to define __stub macros and hopefully few prototypes,
54166     which can conflict with char $ac_func (); below.
54167     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54168     <limits.h> exists even on freestanding compilers.  */
54169
54170 #ifdef __STDC__
54171 # include <limits.h>
54172 #else
54173 # include <assert.h>
54174 #endif
54175
54176 #undef $ac_func
54177
54178 /* Override any gcc2 internal prototype to avoid an error.  */
54179 #ifdef __cplusplus
54180 extern "C"
54181 {
54182 #endif
54183 /* We use char because int might match the return type of a gcc2
54184    builtin and then its argument prototype would still apply.  */
54185 char $ac_func ();
54186 /* The GNU C library defines this for functions which it implements
54187     to always fail with ENOSYS.  Some functions are actually named
54188     something starting with __ and the normal name is an alias.  */
54189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54190 choke me
54191 #else
54192 char (*f) () = $ac_func;
54193 #endif
54194 #ifdef __cplusplus
54195 }
54196 #endif
54197
54198 int
54199 main ()
54200 {
54201 return f != $ac_func;
54202   ;
54203   return 0;
54204 }
54205 _ACEOF
54206 rm -f conftest.$ac_objext conftest$ac_exeext
54207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54208   (eval $ac_link) 2>conftest.er1
54209   ac_status=$?
54210   grep -v '^ *+' conftest.er1 >conftest.err
54211   rm -f conftest.er1
54212   cat conftest.err >&5
54213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54214   (exit $ac_status); } &&
54215          { ac_try='test -z "$ac_c_werror_flag"
54216                          || test ! -s conftest.err'
54217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54218   (eval $ac_try) 2>&5
54219   ac_status=$?
54220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54221   (exit $ac_status); }; } &&
54222          { ac_try='test -s conftest$ac_exeext'
54223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54224   (eval $ac_try) 2>&5
54225   ac_status=$?
54226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54227   (exit $ac_status); }; }; then
54228   eval "$as_ac_var=yes"
54229 else
54230   echo "$as_me: failed program was:" >&5
54231 sed 's/^/| /' conftest.$ac_ext >&5
54232
54233 eval "$as_ac_var=no"
54234 fi
54235 rm -f conftest.err conftest.$ac_objext \
54236       conftest$ac_exeext conftest.$ac_ext
54237 fi
54238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54240 if test `eval echo '${'$as_ac_var'}'` = yes; then
54241   cat >>confdefs.h <<_ACEOF
54242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54243 _ACEOF
54244
54245 fi
54246 done
54247
54248   else
54249     echo "$as_me:$LINENO: checking for _long double round functions" >&5
54250 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
54251     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
54252   echo $ECHO_N "(cached) $ECHO_C" >&6
54253 else
54254
54255
54256
54257       ac_ext=cc
54258 ac_cpp='$CXXCPP $CPPFLAGS'
54259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54262
54263       cat >conftest.$ac_ext <<_ACEOF
54264 /* confdefs.h.  */
54265 _ACEOF
54266 cat confdefs.h >>conftest.$ac_ext
54267 cat >>conftest.$ac_ext <<_ACEOF
54268 /* end confdefs.h.  */
54269 #include <math.h>
54270 int
54271 main ()
54272 {
54273 _ceill (0); _floorl (0);
54274   ;
54275   return 0;
54276 }
54277 _ACEOF
54278 rm -f conftest.$ac_objext
54279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54280   (eval $ac_compile) 2>conftest.er1
54281   ac_status=$?
54282   grep -v '^ *+' conftest.er1 >conftest.err
54283   rm -f conftest.er1
54284   cat conftest.err >&5
54285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54286   (exit $ac_status); } &&
54287          { ac_try='test -z "$ac_cxx_werror_flag"
54288                          || test ! -s conftest.err'
54289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54290   (eval $ac_try) 2>&5
54291   ac_status=$?
54292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54293   (exit $ac_status); }; } &&
54294          { ac_try='test -s conftest.$ac_objext'
54295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54296   (eval $ac_try) 2>&5
54297   ac_status=$?
54298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54299   (exit $ac_status); }; }; then
54300   glibcxx_cv_func__long_double_round_use=yes
54301 else
54302   echo "$as_me: failed program was:" >&5
54303 sed 's/^/| /' conftest.$ac_ext >&5
54304
54305 glibcxx_cv_func__long_double_round_use=no
54306 fi
54307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54308       ac_ext=c
54309 ac_cpp='$CPP $CPPFLAGS'
54310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54313
54314 fi
54315
54316     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
54317 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
54318     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54319
54320
54321 for ac_func in _ceill _floorl
54322 do
54323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54324 echo "$as_me:$LINENO: checking for $ac_func" >&5
54325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54326 if eval "test \"\${$as_ac_var+set}\" = set"; then
54327   echo $ECHO_N "(cached) $ECHO_C" >&6
54328 else
54329   if test x$gcc_no_link = xyes; then
54330   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54332    { (exit 1); exit 1; }; }
54333 fi
54334 cat >conftest.$ac_ext <<_ACEOF
54335 /* confdefs.h.  */
54336 _ACEOF
54337 cat confdefs.h >>conftest.$ac_ext
54338 cat >>conftest.$ac_ext <<_ACEOF
54339 /* end confdefs.h.  */
54340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54341    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54342 #define $ac_func innocuous_$ac_func
54343
54344 /* System header to define __stub macros and hopefully few prototypes,
54345     which can conflict with char $ac_func (); below.
54346     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54347     <limits.h> exists even on freestanding compilers.  */
54348
54349 #ifdef __STDC__
54350 # include <limits.h>
54351 #else
54352 # include <assert.h>
54353 #endif
54354
54355 #undef $ac_func
54356
54357 /* Override any gcc2 internal prototype to avoid an error.  */
54358 #ifdef __cplusplus
54359 extern "C"
54360 {
54361 #endif
54362 /* We use char because int might match the return type of a gcc2
54363    builtin and then its argument prototype would still apply.  */
54364 char $ac_func ();
54365 /* The GNU C library defines this for functions which it implements
54366     to always fail with ENOSYS.  Some functions are actually named
54367     something starting with __ and the normal name is an alias.  */
54368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54369 choke me
54370 #else
54371 char (*f) () = $ac_func;
54372 #endif
54373 #ifdef __cplusplus
54374 }
54375 #endif
54376
54377 int
54378 main ()
54379 {
54380 return f != $ac_func;
54381   ;
54382   return 0;
54383 }
54384 _ACEOF
54385 rm -f conftest.$ac_objext conftest$ac_exeext
54386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54387   (eval $ac_link) 2>conftest.er1
54388   ac_status=$?
54389   grep -v '^ *+' conftest.er1 >conftest.err
54390   rm -f conftest.er1
54391   cat conftest.err >&5
54392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54393   (exit $ac_status); } &&
54394          { ac_try='test -z "$ac_c_werror_flag"
54395                          || test ! -s conftest.err'
54396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54397   (eval $ac_try) 2>&5
54398   ac_status=$?
54399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54400   (exit $ac_status); }; } &&
54401          { ac_try='test -s conftest$ac_exeext'
54402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54403   (eval $ac_try) 2>&5
54404   ac_status=$?
54405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54406   (exit $ac_status); }; }; then
54407   eval "$as_ac_var=yes"
54408 else
54409   echo "$as_me: failed program was:" >&5
54410 sed 's/^/| /' conftest.$ac_ext >&5
54411
54412 eval "$as_ac_var=no"
54413 fi
54414 rm -f conftest.err conftest.$ac_objext \
54415       conftest$ac_exeext conftest.$ac_ext
54416 fi
54417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54419 if test `eval echo '${'$as_ac_var'}'` = yes; then
54420   cat >>confdefs.h <<_ACEOF
54421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54422 _ACEOF
54423
54424 fi
54425 done
54426
54427     fi
54428   fi
54429
54430
54431
54432
54433
54434
54435
54436
54437   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
54438 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
54439   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54440     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
54441   echo $ECHO_N "(cached) $ECHO_C" >&6
54442 else
54443
54444
54445
54446       ac_ext=cc
54447 ac_cpp='$CXXCPP $CPPFLAGS'
54448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54451
54452       cat >conftest.$ac_ext <<_ACEOF
54453 /* confdefs.h.  */
54454 _ACEOF
54455 cat confdefs.h >>conftest.$ac_ext
54456 cat >>conftest.$ac_ext <<_ACEOF
54457 /* end confdefs.h.  */
54458 #include <math.h>
54459                       #ifdef HAVE_IEEEFP_H
54460                       #include <ieeefp.h>
54461                       #endif
54462
54463 int
54464 main ()
54465 {
54466  isnanl(0);
54467   ;
54468   return 0;
54469 }
54470 _ACEOF
54471 rm -f conftest.$ac_objext
54472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54473   (eval $ac_compile) 2>conftest.er1
54474   ac_status=$?
54475   grep -v '^ *+' conftest.er1 >conftest.err
54476   rm -f conftest.er1
54477   cat conftest.err >&5
54478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54479   (exit $ac_status); } &&
54480          { ac_try='test -z "$ac_cxx_werror_flag"
54481                          || test ! -s conftest.err'
54482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54483   (eval $ac_try) 2>&5
54484   ac_status=$?
54485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54486   (exit $ac_status); }; } &&
54487          { ac_try='test -s conftest.$ac_objext'
54488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54489   (eval $ac_try) 2>&5
54490   ac_status=$?
54491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54492   (exit $ac_status); }; }; then
54493   glibcxx_cv_func_isnanl_use=yes
54494 else
54495   echo "$as_me: failed program was:" >&5
54496 sed 's/^/| /' conftest.$ac_ext >&5
54497
54498 glibcxx_cv_func_isnanl_use=no
54499 fi
54500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54501       ac_ext=c
54502 ac_cpp='$CPP $CPPFLAGS'
54503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54506
54507
54508 fi
54509
54510   fi
54511   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
54512 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
54513
54514   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54515
54516 for ac_func in isnanl
54517 do
54518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54519 echo "$as_me:$LINENO: checking for $ac_func" >&5
54520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54521 if eval "test \"\${$as_ac_var+set}\" = set"; then
54522   echo $ECHO_N "(cached) $ECHO_C" >&6
54523 else
54524   if test x$gcc_no_link = xyes; then
54525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54527    { (exit 1); exit 1; }; }
54528 fi
54529 cat >conftest.$ac_ext <<_ACEOF
54530 /* confdefs.h.  */
54531 _ACEOF
54532 cat confdefs.h >>conftest.$ac_ext
54533 cat >>conftest.$ac_ext <<_ACEOF
54534 /* end confdefs.h.  */
54535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54536    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54537 #define $ac_func innocuous_$ac_func
54538
54539 /* System header to define __stub macros and hopefully few prototypes,
54540     which can conflict with char $ac_func (); below.
54541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54542     <limits.h> exists even on freestanding compilers.  */
54543
54544 #ifdef __STDC__
54545 # include <limits.h>
54546 #else
54547 # include <assert.h>
54548 #endif
54549
54550 #undef $ac_func
54551
54552 /* Override any gcc2 internal prototype to avoid an error.  */
54553 #ifdef __cplusplus
54554 extern "C"
54555 {
54556 #endif
54557 /* We use char because int might match the return type of a gcc2
54558    builtin and then its argument prototype would still apply.  */
54559 char $ac_func ();
54560 /* The GNU C library defines this for functions which it implements
54561     to always fail with ENOSYS.  Some functions are actually named
54562     something starting with __ and the normal name is an alias.  */
54563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54564 choke me
54565 #else
54566 char (*f) () = $ac_func;
54567 #endif
54568 #ifdef __cplusplus
54569 }
54570 #endif
54571
54572 int
54573 main ()
54574 {
54575 return f != $ac_func;
54576   ;
54577   return 0;
54578 }
54579 _ACEOF
54580 rm -f conftest.$ac_objext conftest$ac_exeext
54581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54582   (eval $ac_link) 2>conftest.er1
54583   ac_status=$?
54584   grep -v '^ *+' conftest.er1 >conftest.err
54585   rm -f conftest.er1
54586   cat conftest.err >&5
54587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54588   (exit $ac_status); } &&
54589          { ac_try='test -z "$ac_c_werror_flag"
54590                          || test ! -s conftest.err'
54591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54592   (eval $ac_try) 2>&5
54593   ac_status=$?
54594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54595   (exit $ac_status); }; } &&
54596          { ac_try='test -s conftest$ac_exeext'
54597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54598   (eval $ac_try) 2>&5
54599   ac_status=$?
54600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54601   (exit $ac_status); }; }; then
54602   eval "$as_ac_var=yes"
54603 else
54604   echo "$as_me: failed program was:" >&5
54605 sed 's/^/| /' conftest.$ac_ext >&5
54606
54607 eval "$as_ac_var=no"
54608 fi
54609 rm -f conftest.err conftest.$ac_objext \
54610       conftest$ac_exeext conftest.$ac_ext
54611 fi
54612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54614 if test `eval echo '${'$as_ac_var'}'` = yes; then
54615   cat >>confdefs.h <<_ACEOF
54616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54617 _ACEOF
54618
54619 fi
54620 done
54621
54622   else
54623
54624   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
54625 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
54626   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54627     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
54628   echo $ECHO_N "(cached) $ECHO_C" >&6
54629 else
54630
54631
54632
54633       ac_ext=cc
54634 ac_cpp='$CXXCPP $CPPFLAGS'
54635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54638
54639       cat >conftest.$ac_ext <<_ACEOF
54640 /* confdefs.h.  */
54641 _ACEOF
54642 cat confdefs.h >>conftest.$ac_ext
54643 cat >>conftest.$ac_ext <<_ACEOF
54644 /* end confdefs.h.  */
54645 #include <math.h>
54646                       #ifdef HAVE_IEEEFP_H
54647                       #include <ieeefp.h>
54648                       #endif
54649
54650 int
54651 main ()
54652 {
54653  _isnanl(0);
54654   ;
54655   return 0;
54656 }
54657 _ACEOF
54658 rm -f conftest.$ac_objext
54659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54660   (eval $ac_compile) 2>conftest.er1
54661   ac_status=$?
54662   grep -v '^ *+' conftest.er1 >conftest.err
54663   rm -f conftest.er1
54664   cat conftest.err >&5
54665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54666   (exit $ac_status); } &&
54667          { ac_try='test -z "$ac_cxx_werror_flag"
54668                          || test ! -s conftest.err'
54669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54670   (eval $ac_try) 2>&5
54671   ac_status=$?
54672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54673   (exit $ac_status); }; } &&
54674          { ac_try='test -s conftest.$ac_objext'
54675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54676   (eval $ac_try) 2>&5
54677   ac_status=$?
54678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54679   (exit $ac_status); }; }; then
54680   glibcxx_cv_func__isnanl_use=yes
54681 else
54682   echo "$as_me: failed program was:" >&5
54683 sed 's/^/| /' conftest.$ac_ext >&5
54684
54685 glibcxx_cv_func__isnanl_use=no
54686 fi
54687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54688       ac_ext=c
54689 ac_cpp='$CPP $CPPFLAGS'
54690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54693
54694
54695 fi
54696
54697   fi
54698   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
54699 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
54700
54701     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54702
54703 for ac_func in _isnanl
54704 do
54705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54706 echo "$as_me:$LINENO: checking for $ac_func" >&5
54707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54708 if eval "test \"\${$as_ac_var+set}\" = set"; then
54709   echo $ECHO_N "(cached) $ECHO_C" >&6
54710 else
54711   if test x$gcc_no_link = xyes; then
54712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54714    { (exit 1); exit 1; }; }
54715 fi
54716 cat >conftest.$ac_ext <<_ACEOF
54717 /* confdefs.h.  */
54718 _ACEOF
54719 cat confdefs.h >>conftest.$ac_ext
54720 cat >>conftest.$ac_ext <<_ACEOF
54721 /* end confdefs.h.  */
54722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54723    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54724 #define $ac_func innocuous_$ac_func
54725
54726 /* System header to define __stub macros and hopefully few prototypes,
54727     which can conflict with char $ac_func (); below.
54728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54729     <limits.h> exists even on freestanding compilers.  */
54730
54731 #ifdef __STDC__
54732 # include <limits.h>
54733 #else
54734 # include <assert.h>
54735 #endif
54736
54737 #undef $ac_func
54738
54739 /* Override any gcc2 internal prototype to avoid an error.  */
54740 #ifdef __cplusplus
54741 extern "C"
54742 {
54743 #endif
54744 /* We use char because int might match the return type of a gcc2
54745    builtin and then its argument prototype would still apply.  */
54746 char $ac_func ();
54747 /* The GNU C library defines this for functions which it implements
54748     to always fail with ENOSYS.  Some functions are actually named
54749     something starting with __ and the normal name is an alias.  */
54750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54751 choke me
54752 #else
54753 char (*f) () = $ac_func;
54754 #endif
54755 #ifdef __cplusplus
54756 }
54757 #endif
54758
54759 int
54760 main ()
54761 {
54762 return f != $ac_func;
54763   ;
54764   return 0;
54765 }
54766 _ACEOF
54767 rm -f conftest.$ac_objext conftest$ac_exeext
54768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54769   (eval $ac_link) 2>conftest.er1
54770   ac_status=$?
54771   grep -v '^ *+' conftest.er1 >conftest.err
54772   rm -f conftest.er1
54773   cat conftest.err >&5
54774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54775   (exit $ac_status); } &&
54776          { ac_try='test -z "$ac_c_werror_flag"
54777                          || test ! -s conftest.err'
54778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54779   (eval $ac_try) 2>&5
54780   ac_status=$?
54781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54782   (exit $ac_status); }; } &&
54783          { ac_try='test -s conftest$ac_exeext'
54784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54785   (eval $ac_try) 2>&5
54786   ac_status=$?
54787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54788   (exit $ac_status); }; }; then
54789   eval "$as_ac_var=yes"
54790 else
54791   echo "$as_me: failed program was:" >&5
54792 sed 's/^/| /' conftest.$ac_ext >&5
54793
54794 eval "$as_ac_var=no"
54795 fi
54796 rm -f conftest.err conftest.$ac_objext \
54797       conftest$ac_exeext conftest.$ac_ext
54798 fi
54799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54801 if test `eval echo '${'$as_ac_var'}'` = yes; then
54802   cat >>confdefs.h <<_ACEOF
54803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54804 _ACEOF
54805
54806 fi
54807 done
54808
54809     fi
54810   fi
54811
54812
54813
54814
54815
54816
54817   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
54818 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
54819   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54820     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
54821   echo $ECHO_N "(cached) $ECHO_C" >&6
54822 else
54823
54824
54825
54826       ac_ext=cc
54827 ac_cpp='$CXXCPP $CPPFLAGS'
54828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54831
54832       cat >conftest.$ac_ext <<_ACEOF
54833 /* confdefs.h.  */
54834 _ACEOF
54835 cat confdefs.h >>conftest.$ac_ext
54836 cat >>conftest.$ac_ext <<_ACEOF
54837 /* end confdefs.h.  */
54838 #include <math.h>
54839                       #ifdef HAVE_IEEEFP_H
54840                       #include <ieeefp.h>
54841                       #endif
54842
54843 int
54844 main ()
54845 {
54846  isinfl(0);
54847   ;
54848   return 0;
54849 }
54850 _ACEOF
54851 rm -f conftest.$ac_objext
54852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54853   (eval $ac_compile) 2>conftest.er1
54854   ac_status=$?
54855   grep -v '^ *+' conftest.er1 >conftest.err
54856   rm -f conftest.er1
54857   cat conftest.err >&5
54858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54859   (exit $ac_status); } &&
54860          { ac_try='test -z "$ac_cxx_werror_flag"
54861                          || test ! -s conftest.err'
54862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54863   (eval $ac_try) 2>&5
54864   ac_status=$?
54865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54866   (exit $ac_status); }; } &&
54867          { ac_try='test -s conftest.$ac_objext'
54868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54869   (eval $ac_try) 2>&5
54870   ac_status=$?
54871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54872   (exit $ac_status); }; }; then
54873   glibcxx_cv_func_isinfl_use=yes
54874 else
54875   echo "$as_me: failed program was:" >&5
54876 sed 's/^/| /' conftest.$ac_ext >&5
54877
54878 glibcxx_cv_func_isinfl_use=no
54879 fi
54880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54881       ac_ext=c
54882 ac_cpp='$CPP $CPPFLAGS'
54883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54886
54887
54888 fi
54889
54890   fi
54891   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
54892 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
54893
54894   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54895
54896 for ac_func in isinfl
54897 do
54898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54899 echo "$as_me:$LINENO: checking for $ac_func" >&5
54900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54901 if eval "test \"\${$as_ac_var+set}\" = set"; then
54902   echo $ECHO_N "(cached) $ECHO_C" >&6
54903 else
54904   if test x$gcc_no_link = xyes; then
54905   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54907    { (exit 1); exit 1; }; }
54908 fi
54909 cat >conftest.$ac_ext <<_ACEOF
54910 /* confdefs.h.  */
54911 _ACEOF
54912 cat confdefs.h >>conftest.$ac_ext
54913 cat >>conftest.$ac_ext <<_ACEOF
54914 /* end confdefs.h.  */
54915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54916    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54917 #define $ac_func innocuous_$ac_func
54918
54919 /* System header to define __stub macros and hopefully few prototypes,
54920     which can conflict with char $ac_func (); below.
54921     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54922     <limits.h> exists even on freestanding compilers.  */
54923
54924 #ifdef __STDC__
54925 # include <limits.h>
54926 #else
54927 # include <assert.h>
54928 #endif
54929
54930 #undef $ac_func
54931
54932 /* Override any gcc2 internal prototype to avoid an error.  */
54933 #ifdef __cplusplus
54934 extern "C"
54935 {
54936 #endif
54937 /* We use char because int might match the return type of a gcc2
54938    builtin and then its argument prototype would still apply.  */
54939 char $ac_func ();
54940 /* The GNU C library defines this for functions which it implements
54941     to always fail with ENOSYS.  Some functions are actually named
54942     something starting with __ and the normal name is an alias.  */
54943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54944 choke me
54945 #else
54946 char (*f) () = $ac_func;
54947 #endif
54948 #ifdef __cplusplus
54949 }
54950 #endif
54951
54952 int
54953 main ()
54954 {
54955 return f != $ac_func;
54956   ;
54957   return 0;
54958 }
54959 _ACEOF
54960 rm -f conftest.$ac_objext conftest$ac_exeext
54961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54962   (eval $ac_link) 2>conftest.er1
54963   ac_status=$?
54964   grep -v '^ *+' conftest.er1 >conftest.err
54965   rm -f conftest.er1
54966   cat conftest.err >&5
54967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54968   (exit $ac_status); } &&
54969          { ac_try='test -z "$ac_c_werror_flag"
54970                          || test ! -s conftest.err'
54971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54972   (eval $ac_try) 2>&5
54973   ac_status=$?
54974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54975   (exit $ac_status); }; } &&
54976          { ac_try='test -s conftest$ac_exeext'
54977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54978   (eval $ac_try) 2>&5
54979   ac_status=$?
54980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54981   (exit $ac_status); }; }; then
54982   eval "$as_ac_var=yes"
54983 else
54984   echo "$as_me: failed program was:" >&5
54985 sed 's/^/| /' conftest.$ac_ext >&5
54986
54987 eval "$as_ac_var=no"
54988 fi
54989 rm -f conftest.err conftest.$ac_objext \
54990       conftest$ac_exeext conftest.$ac_ext
54991 fi
54992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54994 if test `eval echo '${'$as_ac_var'}'` = yes; then
54995   cat >>confdefs.h <<_ACEOF
54996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54997 _ACEOF
54998
54999 fi
55000 done
55001
55002   else
55003
55004   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
55005 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
55006   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55007     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
55008   echo $ECHO_N "(cached) $ECHO_C" >&6
55009 else
55010
55011
55012
55013       ac_ext=cc
55014 ac_cpp='$CXXCPP $CPPFLAGS'
55015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55018
55019       cat >conftest.$ac_ext <<_ACEOF
55020 /* confdefs.h.  */
55021 _ACEOF
55022 cat confdefs.h >>conftest.$ac_ext
55023 cat >>conftest.$ac_ext <<_ACEOF
55024 /* end confdefs.h.  */
55025 #include <math.h>
55026                       #ifdef HAVE_IEEEFP_H
55027                       #include <ieeefp.h>
55028                       #endif
55029
55030 int
55031 main ()
55032 {
55033  _isinfl(0);
55034   ;
55035   return 0;
55036 }
55037 _ACEOF
55038 rm -f conftest.$ac_objext
55039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55040   (eval $ac_compile) 2>conftest.er1
55041   ac_status=$?
55042   grep -v '^ *+' conftest.er1 >conftest.err
55043   rm -f conftest.er1
55044   cat conftest.err >&5
55045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55046   (exit $ac_status); } &&
55047          { ac_try='test -z "$ac_cxx_werror_flag"
55048                          || test ! -s conftest.err'
55049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55050   (eval $ac_try) 2>&5
55051   ac_status=$?
55052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55053   (exit $ac_status); }; } &&
55054          { ac_try='test -s conftest.$ac_objext'
55055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55056   (eval $ac_try) 2>&5
55057   ac_status=$?
55058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55059   (exit $ac_status); }; }; then
55060   glibcxx_cv_func__isinfl_use=yes
55061 else
55062   echo "$as_me: failed program was:" >&5
55063 sed 's/^/| /' conftest.$ac_ext >&5
55064
55065 glibcxx_cv_func__isinfl_use=no
55066 fi
55067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55068       ac_ext=c
55069 ac_cpp='$CPP $CPPFLAGS'
55070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55073
55074
55075 fi
55076
55077   fi
55078   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
55079 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
55080
55081     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55082
55083 for ac_func in _isinfl
55084 do
55085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55086 echo "$as_me:$LINENO: checking for $ac_func" >&5
55087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55088 if eval "test \"\${$as_ac_var+set}\" = set"; then
55089   echo $ECHO_N "(cached) $ECHO_C" >&6
55090 else
55091   if test x$gcc_no_link = xyes; then
55092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55094    { (exit 1); exit 1; }; }
55095 fi
55096 cat >conftest.$ac_ext <<_ACEOF
55097 /* confdefs.h.  */
55098 _ACEOF
55099 cat confdefs.h >>conftest.$ac_ext
55100 cat >>conftest.$ac_ext <<_ACEOF
55101 /* end confdefs.h.  */
55102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55103    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55104 #define $ac_func innocuous_$ac_func
55105
55106 /* System header to define __stub macros and hopefully few prototypes,
55107     which can conflict with char $ac_func (); below.
55108     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55109     <limits.h> exists even on freestanding compilers.  */
55110
55111 #ifdef __STDC__
55112 # include <limits.h>
55113 #else
55114 # include <assert.h>
55115 #endif
55116
55117 #undef $ac_func
55118
55119 /* Override any gcc2 internal prototype to avoid an error.  */
55120 #ifdef __cplusplus
55121 extern "C"
55122 {
55123 #endif
55124 /* We use char because int might match the return type of a gcc2
55125    builtin and then its argument prototype would still apply.  */
55126 char $ac_func ();
55127 /* The GNU C library defines this for functions which it implements
55128     to always fail with ENOSYS.  Some functions are actually named
55129     something starting with __ and the normal name is an alias.  */
55130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55131 choke me
55132 #else
55133 char (*f) () = $ac_func;
55134 #endif
55135 #ifdef __cplusplus
55136 }
55137 #endif
55138
55139 int
55140 main ()
55141 {
55142 return f != $ac_func;
55143   ;
55144   return 0;
55145 }
55146 _ACEOF
55147 rm -f conftest.$ac_objext conftest$ac_exeext
55148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55149   (eval $ac_link) 2>conftest.er1
55150   ac_status=$?
55151   grep -v '^ *+' conftest.er1 >conftest.err
55152   rm -f conftest.er1
55153   cat conftest.err >&5
55154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55155   (exit $ac_status); } &&
55156          { ac_try='test -z "$ac_c_werror_flag"
55157                          || test ! -s conftest.err'
55158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55159   (eval $ac_try) 2>&5
55160   ac_status=$?
55161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55162   (exit $ac_status); }; } &&
55163          { ac_try='test -s conftest$ac_exeext'
55164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55165   (eval $ac_try) 2>&5
55166   ac_status=$?
55167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55168   (exit $ac_status); }; }; then
55169   eval "$as_ac_var=yes"
55170 else
55171   echo "$as_me: failed program was:" >&5
55172 sed 's/^/| /' conftest.$ac_ext >&5
55173
55174 eval "$as_ac_var=no"
55175 fi
55176 rm -f conftest.err conftest.$ac_objext \
55177       conftest$ac_exeext conftest.$ac_ext
55178 fi
55179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55181 if test `eval echo '${'$as_ac_var'}'` = yes; then
55182   cat >>confdefs.h <<_ACEOF
55183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55184 _ACEOF
55185
55186 fi
55187 done
55188
55189     fi
55190   fi
55191
55192
55193
55194
55195
55196
55197   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
55198 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
55199   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
55200     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
55201   echo $ECHO_N "(cached) $ECHO_C" >&6
55202 else
55203
55204
55205
55206       ac_ext=cc
55207 ac_cpp='$CXXCPP $CPPFLAGS'
55208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55211
55212       cat >conftest.$ac_ext <<_ACEOF
55213 /* confdefs.h.  */
55214 _ACEOF
55215 cat confdefs.h >>conftest.$ac_ext
55216 cat >>conftest.$ac_ext <<_ACEOF
55217 /* end confdefs.h.  */
55218 #include <math.h>
55219 int
55220 main ()
55221 {
55222  copysignl(0, 0);
55223   ;
55224   return 0;
55225 }
55226 _ACEOF
55227 rm -f conftest.$ac_objext
55228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55229   (eval $ac_compile) 2>conftest.er1
55230   ac_status=$?
55231   grep -v '^ *+' conftest.er1 >conftest.err
55232   rm -f conftest.er1
55233   cat conftest.err >&5
55234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55235   (exit $ac_status); } &&
55236          { ac_try='test -z "$ac_cxx_werror_flag"
55237                          || test ! -s conftest.err'
55238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55239   (eval $ac_try) 2>&5
55240   ac_status=$?
55241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55242   (exit $ac_status); }; } &&
55243          { ac_try='test -s conftest.$ac_objext'
55244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55245   (eval $ac_try) 2>&5
55246   ac_status=$?
55247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55248   (exit $ac_status); }; }; then
55249   glibcxx_cv_func_copysignl_use=yes
55250 else
55251   echo "$as_me: failed program was:" >&5
55252 sed 's/^/| /' conftest.$ac_ext >&5
55253
55254 glibcxx_cv_func_copysignl_use=no
55255 fi
55256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55257       ac_ext=c
55258 ac_cpp='$CPP $CPPFLAGS'
55259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55262
55263
55264 fi
55265
55266   fi
55267   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
55268 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
55269
55270   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
55271
55272 for ac_func in copysignl
55273 do
55274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55275 echo "$as_me:$LINENO: checking for $ac_func" >&5
55276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55277 if eval "test \"\${$as_ac_var+set}\" = set"; then
55278   echo $ECHO_N "(cached) $ECHO_C" >&6
55279 else
55280   if test x$gcc_no_link = xyes; then
55281   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55283    { (exit 1); exit 1; }; }
55284 fi
55285 cat >conftest.$ac_ext <<_ACEOF
55286 /* confdefs.h.  */
55287 _ACEOF
55288 cat confdefs.h >>conftest.$ac_ext
55289 cat >>conftest.$ac_ext <<_ACEOF
55290 /* end confdefs.h.  */
55291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55292    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55293 #define $ac_func innocuous_$ac_func
55294
55295 /* System header to define __stub macros and hopefully few prototypes,
55296     which can conflict with char $ac_func (); below.
55297     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55298     <limits.h> exists even on freestanding compilers.  */
55299
55300 #ifdef __STDC__
55301 # include <limits.h>
55302 #else
55303 # include <assert.h>
55304 #endif
55305
55306 #undef $ac_func
55307
55308 /* Override any gcc2 internal prototype to avoid an error.  */
55309 #ifdef __cplusplus
55310 extern "C"
55311 {
55312 #endif
55313 /* We use char because int might match the return type of a gcc2
55314    builtin and then its argument prototype would still apply.  */
55315 char $ac_func ();
55316 /* The GNU C library defines this for functions which it implements
55317     to always fail with ENOSYS.  Some functions are actually named
55318     something starting with __ and the normal name is an alias.  */
55319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55320 choke me
55321 #else
55322 char (*f) () = $ac_func;
55323 #endif
55324 #ifdef __cplusplus
55325 }
55326 #endif
55327
55328 int
55329 main ()
55330 {
55331 return f != $ac_func;
55332   ;
55333   return 0;
55334 }
55335 _ACEOF
55336 rm -f conftest.$ac_objext conftest$ac_exeext
55337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55338   (eval $ac_link) 2>conftest.er1
55339   ac_status=$?
55340   grep -v '^ *+' conftest.er1 >conftest.err
55341   rm -f conftest.er1
55342   cat conftest.err >&5
55343   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55344   (exit $ac_status); } &&
55345          { ac_try='test -z "$ac_c_werror_flag"
55346                          || test ! -s conftest.err'
55347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55348   (eval $ac_try) 2>&5
55349   ac_status=$?
55350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55351   (exit $ac_status); }; } &&
55352          { ac_try='test -s conftest$ac_exeext'
55353   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55354   (eval $ac_try) 2>&5
55355   ac_status=$?
55356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55357   (exit $ac_status); }; }; then
55358   eval "$as_ac_var=yes"
55359 else
55360   echo "$as_me: failed program was:" >&5
55361 sed 's/^/| /' conftest.$ac_ext >&5
55362
55363 eval "$as_ac_var=no"
55364 fi
55365 rm -f conftest.err conftest.$ac_objext \
55366       conftest$ac_exeext conftest.$ac_ext
55367 fi
55368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55370 if test `eval echo '${'$as_ac_var'}'` = yes; then
55371   cat >>confdefs.h <<_ACEOF
55372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55373 _ACEOF
55374
55375 fi
55376 done
55377
55378   else
55379
55380   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
55381 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
55382   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
55383     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
55384   echo $ECHO_N "(cached) $ECHO_C" >&6
55385 else
55386
55387
55388
55389       ac_ext=cc
55390 ac_cpp='$CXXCPP $CPPFLAGS'
55391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55394
55395       cat >conftest.$ac_ext <<_ACEOF
55396 /* confdefs.h.  */
55397 _ACEOF
55398 cat confdefs.h >>conftest.$ac_ext
55399 cat >>conftest.$ac_ext <<_ACEOF
55400 /* end confdefs.h.  */
55401 #include <math.h>
55402 int
55403 main ()
55404 {
55405  _copysignl(0, 0);
55406   ;
55407   return 0;
55408 }
55409 _ACEOF
55410 rm -f conftest.$ac_objext
55411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55412   (eval $ac_compile) 2>conftest.er1
55413   ac_status=$?
55414   grep -v '^ *+' conftest.er1 >conftest.err
55415   rm -f conftest.er1
55416   cat conftest.err >&5
55417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55418   (exit $ac_status); } &&
55419          { ac_try='test -z "$ac_cxx_werror_flag"
55420                          || test ! -s conftest.err'
55421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55422   (eval $ac_try) 2>&5
55423   ac_status=$?
55424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55425   (exit $ac_status); }; } &&
55426          { ac_try='test -s conftest.$ac_objext'
55427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55428   (eval $ac_try) 2>&5
55429   ac_status=$?
55430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55431   (exit $ac_status); }; }; then
55432   glibcxx_cv_func__copysignl_use=yes
55433 else
55434   echo "$as_me: failed program was:" >&5
55435 sed 's/^/| /' conftest.$ac_ext >&5
55436
55437 glibcxx_cv_func__copysignl_use=no
55438 fi
55439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55440       ac_ext=c
55441 ac_cpp='$CPP $CPPFLAGS'
55442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55445
55446
55447 fi
55448
55449   fi
55450   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
55451 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
55452
55453     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
55454
55455 for ac_func in _copysignl
55456 do
55457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55458 echo "$as_me:$LINENO: checking for $ac_func" >&5
55459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55460 if eval "test \"\${$as_ac_var+set}\" = set"; then
55461   echo $ECHO_N "(cached) $ECHO_C" >&6
55462 else
55463   if test x$gcc_no_link = xyes; then
55464   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55466    { (exit 1); exit 1; }; }
55467 fi
55468 cat >conftest.$ac_ext <<_ACEOF
55469 /* confdefs.h.  */
55470 _ACEOF
55471 cat confdefs.h >>conftest.$ac_ext
55472 cat >>conftest.$ac_ext <<_ACEOF
55473 /* end confdefs.h.  */
55474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55475    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55476 #define $ac_func innocuous_$ac_func
55477
55478 /* System header to define __stub macros and hopefully few prototypes,
55479     which can conflict with char $ac_func (); below.
55480     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55481     <limits.h> exists even on freestanding compilers.  */
55482
55483 #ifdef __STDC__
55484 # include <limits.h>
55485 #else
55486 # include <assert.h>
55487 #endif
55488
55489 #undef $ac_func
55490
55491 /* Override any gcc2 internal prototype to avoid an error.  */
55492 #ifdef __cplusplus
55493 extern "C"
55494 {
55495 #endif
55496 /* We use char because int might match the return type of a gcc2
55497    builtin and then its argument prototype would still apply.  */
55498 char $ac_func ();
55499 /* The GNU C library defines this for functions which it implements
55500     to always fail with ENOSYS.  Some functions are actually named
55501     something starting with __ and the normal name is an alias.  */
55502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55503 choke me
55504 #else
55505 char (*f) () = $ac_func;
55506 #endif
55507 #ifdef __cplusplus
55508 }
55509 #endif
55510
55511 int
55512 main ()
55513 {
55514 return f != $ac_func;
55515   ;
55516   return 0;
55517 }
55518 _ACEOF
55519 rm -f conftest.$ac_objext conftest$ac_exeext
55520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55521   (eval $ac_link) 2>conftest.er1
55522   ac_status=$?
55523   grep -v '^ *+' conftest.er1 >conftest.err
55524   rm -f conftest.er1
55525   cat conftest.err >&5
55526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55527   (exit $ac_status); } &&
55528          { ac_try='test -z "$ac_c_werror_flag"
55529                          || test ! -s conftest.err'
55530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55531   (eval $ac_try) 2>&5
55532   ac_status=$?
55533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55534   (exit $ac_status); }; } &&
55535          { ac_try='test -s conftest$ac_exeext'
55536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55537   (eval $ac_try) 2>&5
55538   ac_status=$?
55539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55540   (exit $ac_status); }; }; then
55541   eval "$as_ac_var=yes"
55542 else
55543   echo "$as_me: failed program was:" >&5
55544 sed 's/^/| /' conftest.$ac_ext >&5
55545
55546 eval "$as_ac_var=no"
55547 fi
55548 rm -f conftest.err conftest.$ac_objext \
55549       conftest$ac_exeext conftest.$ac_ext
55550 fi
55551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55553 if test `eval echo '${'$as_ac_var'}'` = yes; then
55554   cat >>confdefs.h <<_ACEOF
55555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55556 _ACEOF
55557
55558 fi
55559 done
55560
55561     fi
55562   fi
55563
55564
55565
55566
55567
55568
55569   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
55570 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
55571   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55572     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
55573   echo $ECHO_N "(cached) $ECHO_C" >&6
55574 else
55575
55576
55577
55578       ac_ext=cc
55579 ac_cpp='$CXXCPP $CPPFLAGS'
55580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55583
55584       cat >conftest.$ac_ext <<_ACEOF
55585 /* confdefs.h.  */
55586 _ACEOF
55587 cat confdefs.h >>conftest.$ac_ext
55588 cat >>conftest.$ac_ext <<_ACEOF
55589 /* end confdefs.h.  */
55590 #include <math.h>
55591 int
55592 main ()
55593 {
55594  atan2l(0, 0);
55595   ;
55596   return 0;
55597 }
55598 _ACEOF
55599 rm -f conftest.$ac_objext
55600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55601   (eval $ac_compile) 2>conftest.er1
55602   ac_status=$?
55603   grep -v '^ *+' conftest.er1 >conftest.err
55604   rm -f conftest.er1
55605   cat conftest.err >&5
55606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55607   (exit $ac_status); } &&
55608          { ac_try='test -z "$ac_cxx_werror_flag"
55609                          || test ! -s conftest.err'
55610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55611   (eval $ac_try) 2>&5
55612   ac_status=$?
55613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55614   (exit $ac_status); }; } &&
55615          { ac_try='test -s conftest.$ac_objext'
55616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55617   (eval $ac_try) 2>&5
55618   ac_status=$?
55619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55620   (exit $ac_status); }; }; then
55621   glibcxx_cv_func_atan2l_use=yes
55622 else
55623   echo "$as_me: failed program was:" >&5
55624 sed 's/^/| /' conftest.$ac_ext >&5
55625
55626 glibcxx_cv_func_atan2l_use=no
55627 fi
55628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55629       ac_ext=c
55630 ac_cpp='$CPP $CPPFLAGS'
55631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55634
55635
55636 fi
55637
55638   fi
55639   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
55640 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
55641
55642   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55643
55644 for ac_func in atan2l
55645 do
55646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55647 echo "$as_me:$LINENO: checking for $ac_func" >&5
55648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55649 if eval "test \"\${$as_ac_var+set}\" = set"; then
55650   echo $ECHO_N "(cached) $ECHO_C" >&6
55651 else
55652   if test x$gcc_no_link = xyes; then
55653   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55655    { (exit 1); exit 1; }; }
55656 fi
55657 cat >conftest.$ac_ext <<_ACEOF
55658 /* confdefs.h.  */
55659 _ACEOF
55660 cat confdefs.h >>conftest.$ac_ext
55661 cat >>conftest.$ac_ext <<_ACEOF
55662 /* end confdefs.h.  */
55663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55664    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55665 #define $ac_func innocuous_$ac_func
55666
55667 /* System header to define __stub macros and hopefully few prototypes,
55668     which can conflict with char $ac_func (); below.
55669     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55670     <limits.h> exists even on freestanding compilers.  */
55671
55672 #ifdef __STDC__
55673 # include <limits.h>
55674 #else
55675 # include <assert.h>
55676 #endif
55677
55678 #undef $ac_func
55679
55680 /* Override any gcc2 internal prototype to avoid an error.  */
55681 #ifdef __cplusplus
55682 extern "C"
55683 {
55684 #endif
55685 /* We use char because int might match the return type of a gcc2
55686    builtin and then its argument prototype would still apply.  */
55687 char $ac_func ();
55688 /* The GNU C library defines this for functions which it implements
55689     to always fail with ENOSYS.  Some functions are actually named
55690     something starting with __ and the normal name is an alias.  */
55691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55692 choke me
55693 #else
55694 char (*f) () = $ac_func;
55695 #endif
55696 #ifdef __cplusplus
55697 }
55698 #endif
55699
55700 int
55701 main ()
55702 {
55703 return f != $ac_func;
55704   ;
55705   return 0;
55706 }
55707 _ACEOF
55708 rm -f conftest.$ac_objext conftest$ac_exeext
55709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55710   (eval $ac_link) 2>conftest.er1
55711   ac_status=$?
55712   grep -v '^ *+' conftest.er1 >conftest.err
55713   rm -f conftest.er1
55714   cat conftest.err >&5
55715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55716   (exit $ac_status); } &&
55717          { ac_try='test -z "$ac_c_werror_flag"
55718                          || test ! -s conftest.err'
55719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55720   (eval $ac_try) 2>&5
55721   ac_status=$?
55722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55723   (exit $ac_status); }; } &&
55724          { ac_try='test -s conftest$ac_exeext'
55725   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55726   (eval $ac_try) 2>&5
55727   ac_status=$?
55728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55729   (exit $ac_status); }; }; then
55730   eval "$as_ac_var=yes"
55731 else
55732   echo "$as_me: failed program was:" >&5
55733 sed 's/^/| /' conftest.$ac_ext >&5
55734
55735 eval "$as_ac_var=no"
55736 fi
55737 rm -f conftest.err conftest.$ac_objext \
55738       conftest$ac_exeext conftest.$ac_ext
55739 fi
55740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55742 if test `eval echo '${'$as_ac_var'}'` = yes; then
55743   cat >>confdefs.h <<_ACEOF
55744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55745 _ACEOF
55746
55747 fi
55748 done
55749
55750   else
55751
55752   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
55753 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
55754   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55755     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
55756   echo $ECHO_N "(cached) $ECHO_C" >&6
55757 else
55758
55759
55760
55761       ac_ext=cc
55762 ac_cpp='$CXXCPP $CPPFLAGS'
55763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55766
55767       cat >conftest.$ac_ext <<_ACEOF
55768 /* confdefs.h.  */
55769 _ACEOF
55770 cat confdefs.h >>conftest.$ac_ext
55771 cat >>conftest.$ac_ext <<_ACEOF
55772 /* end confdefs.h.  */
55773 #include <math.h>
55774 int
55775 main ()
55776 {
55777  _atan2l(0, 0);
55778   ;
55779   return 0;
55780 }
55781 _ACEOF
55782 rm -f conftest.$ac_objext
55783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55784   (eval $ac_compile) 2>conftest.er1
55785   ac_status=$?
55786   grep -v '^ *+' conftest.er1 >conftest.err
55787   rm -f conftest.er1
55788   cat conftest.err >&5
55789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55790   (exit $ac_status); } &&
55791          { ac_try='test -z "$ac_cxx_werror_flag"
55792                          || test ! -s conftest.err'
55793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55794   (eval $ac_try) 2>&5
55795   ac_status=$?
55796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55797   (exit $ac_status); }; } &&
55798          { ac_try='test -s conftest.$ac_objext'
55799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55800   (eval $ac_try) 2>&5
55801   ac_status=$?
55802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55803   (exit $ac_status); }; }; then
55804   glibcxx_cv_func__atan2l_use=yes
55805 else
55806   echo "$as_me: failed program was:" >&5
55807 sed 's/^/| /' conftest.$ac_ext >&5
55808
55809 glibcxx_cv_func__atan2l_use=no
55810 fi
55811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55812       ac_ext=c
55813 ac_cpp='$CPP $CPPFLAGS'
55814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55817
55818
55819 fi
55820
55821   fi
55822   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
55823 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
55824
55825     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55826
55827 for ac_func in _atan2l
55828 do
55829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55830 echo "$as_me:$LINENO: checking for $ac_func" >&5
55831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55832 if eval "test \"\${$as_ac_var+set}\" = set"; then
55833   echo $ECHO_N "(cached) $ECHO_C" >&6
55834 else
55835   if test x$gcc_no_link = xyes; then
55836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55838    { (exit 1); exit 1; }; }
55839 fi
55840 cat >conftest.$ac_ext <<_ACEOF
55841 /* confdefs.h.  */
55842 _ACEOF
55843 cat confdefs.h >>conftest.$ac_ext
55844 cat >>conftest.$ac_ext <<_ACEOF
55845 /* end confdefs.h.  */
55846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55847    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55848 #define $ac_func innocuous_$ac_func
55849
55850 /* System header to define __stub macros and hopefully few prototypes,
55851     which can conflict with char $ac_func (); below.
55852     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55853     <limits.h> exists even on freestanding compilers.  */
55854
55855 #ifdef __STDC__
55856 # include <limits.h>
55857 #else
55858 # include <assert.h>
55859 #endif
55860
55861 #undef $ac_func
55862
55863 /* Override any gcc2 internal prototype to avoid an error.  */
55864 #ifdef __cplusplus
55865 extern "C"
55866 {
55867 #endif
55868 /* We use char because int might match the return type of a gcc2
55869    builtin and then its argument prototype would still apply.  */
55870 char $ac_func ();
55871 /* The GNU C library defines this for functions which it implements
55872     to always fail with ENOSYS.  Some functions are actually named
55873     something starting with __ and the normal name is an alias.  */
55874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55875 choke me
55876 #else
55877 char (*f) () = $ac_func;
55878 #endif
55879 #ifdef __cplusplus
55880 }
55881 #endif
55882
55883 int
55884 main ()
55885 {
55886 return f != $ac_func;
55887   ;
55888   return 0;
55889 }
55890 _ACEOF
55891 rm -f conftest.$ac_objext conftest$ac_exeext
55892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55893   (eval $ac_link) 2>conftest.er1
55894   ac_status=$?
55895   grep -v '^ *+' conftest.er1 >conftest.err
55896   rm -f conftest.er1
55897   cat conftest.err >&5
55898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55899   (exit $ac_status); } &&
55900          { ac_try='test -z "$ac_c_werror_flag"
55901                          || test ! -s conftest.err'
55902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55903   (eval $ac_try) 2>&5
55904   ac_status=$?
55905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55906   (exit $ac_status); }; } &&
55907          { ac_try='test -s conftest$ac_exeext'
55908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55909   (eval $ac_try) 2>&5
55910   ac_status=$?
55911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55912   (exit $ac_status); }; }; then
55913   eval "$as_ac_var=yes"
55914 else
55915   echo "$as_me: failed program was:" >&5
55916 sed 's/^/| /' conftest.$ac_ext >&5
55917
55918 eval "$as_ac_var=no"
55919 fi
55920 rm -f conftest.err conftest.$ac_objext \
55921       conftest$ac_exeext conftest.$ac_ext
55922 fi
55923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55925 if test `eval echo '${'$as_ac_var'}'` = yes; then
55926   cat >>confdefs.h <<_ACEOF
55927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55928 _ACEOF
55929
55930 fi
55931 done
55932
55933     fi
55934   fi
55935
55936
55937
55938
55939
55940
55941   echo "$as_me:$LINENO: checking for expl declaration" >&5
55942 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
55943   if test x${glibcxx_cv_func_expl_use+set} != xset; then
55944     if test "${glibcxx_cv_func_expl_use+set}" = set; then
55945   echo $ECHO_N "(cached) $ECHO_C" >&6
55946 else
55947
55948
55949
55950       ac_ext=cc
55951 ac_cpp='$CXXCPP $CPPFLAGS'
55952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55955
55956       cat >conftest.$ac_ext <<_ACEOF
55957 /* confdefs.h.  */
55958 _ACEOF
55959 cat confdefs.h >>conftest.$ac_ext
55960 cat >>conftest.$ac_ext <<_ACEOF
55961 /* end confdefs.h.  */
55962 #include <math.h>
55963                       #ifdef HAVE_IEEEFP_H
55964                       #include <ieeefp.h>
55965                       #endif
55966
55967 int
55968 main ()
55969 {
55970  expl(0);
55971   ;
55972   return 0;
55973 }
55974 _ACEOF
55975 rm -f conftest.$ac_objext
55976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55977   (eval $ac_compile) 2>conftest.er1
55978   ac_status=$?
55979   grep -v '^ *+' conftest.er1 >conftest.err
55980   rm -f conftest.er1
55981   cat conftest.err >&5
55982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55983   (exit $ac_status); } &&
55984          { ac_try='test -z "$ac_cxx_werror_flag"
55985                          || test ! -s conftest.err'
55986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55987   (eval $ac_try) 2>&5
55988   ac_status=$?
55989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55990   (exit $ac_status); }; } &&
55991          { ac_try='test -s conftest.$ac_objext'
55992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55993   (eval $ac_try) 2>&5
55994   ac_status=$?
55995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55996   (exit $ac_status); }; }; then
55997   glibcxx_cv_func_expl_use=yes
55998 else
55999   echo "$as_me: failed program was:" >&5
56000 sed 's/^/| /' conftest.$ac_ext >&5
56001
56002 glibcxx_cv_func_expl_use=no
56003 fi
56004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56005       ac_ext=c
56006 ac_cpp='$CPP $CPPFLAGS'
56007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56010
56011
56012 fi
56013
56014   fi
56015   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
56016 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
56017
56018   if test x$glibcxx_cv_func_expl_use = x"yes"; then
56019
56020 for ac_func in expl
56021 do
56022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56023 echo "$as_me:$LINENO: checking for $ac_func" >&5
56024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56025 if eval "test \"\${$as_ac_var+set}\" = set"; then
56026   echo $ECHO_N "(cached) $ECHO_C" >&6
56027 else
56028   if test x$gcc_no_link = xyes; then
56029   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56031    { (exit 1); exit 1; }; }
56032 fi
56033 cat >conftest.$ac_ext <<_ACEOF
56034 /* confdefs.h.  */
56035 _ACEOF
56036 cat confdefs.h >>conftest.$ac_ext
56037 cat >>conftest.$ac_ext <<_ACEOF
56038 /* end confdefs.h.  */
56039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56040    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56041 #define $ac_func innocuous_$ac_func
56042
56043 /* System header to define __stub macros and hopefully few prototypes,
56044     which can conflict with char $ac_func (); below.
56045     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56046     <limits.h> exists even on freestanding compilers.  */
56047
56048 #ifdef __STDC__
56049 # include <limits.h>
56050 #else
56051 # include <assert.h>
56052 #endif
56053
56054 #undef $ac_func
56055
56056 /* Override any gcc2 internal prototype to avoid an error.  */
56057 #ifdef __cplusplus
56058 extern "C"
56059 {
56060 #endif
56061 /* We use char because int might match the return type of a gcc2
56062    builtin and then its argument prototype would still apply.  */
56063 char $ac_func ();
56064 /* The GNU C library defines this for functions which it implements
56065     to always fail with ENOSYS.  Some functions are actually named
56066     something starting with __ and the normal name is an alias.  */
56067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56068 choke me
56069 #else
56070 char (*f) () = $ac_func;
56071 #endif
56072 #ifdef __cplusplus
56073 }
56074 #endif
56075
56076 int
56077 main ()
56078 {
56079 return f != $ac_func;
56080   ;
56081   return 0;
56082 }
56083 _ACEOF
56084 rm -f conftest.$ac_objext conftest$ac_exeext
56085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56086   (eval $ac_link) 2>conftest.er1
56087   ac_status=$?
56088   grep -v '^ *+' conftest.er1 >conftest.err
56089   rm -f conftest.er1
56090   cat conftest.err >&5
56091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56092   (exit $ac_status); } &&
56093          { ac_try='test -z "$ac_c_werror_flag"
56094                          || test ! -s conftest.err'
56095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56096   (eval $ac_try) 2>&5
56097   ac_status=$?
56098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56099   (exit $ac_status); }; } &&
56100          { ac_try='test -s conftest$ac_exeext'
56101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56102   (eval $ac_try) 2>&5
56103   ac_status=$?
56104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56105   (exit $ac_status); }; }; then
56106   eval "$as_ac_var=yes"
56107 else
56108   echo "$as_me: failed program was:" >&5
56109 sed 's/^/| /' conftest.$ac_ext >&5
56110
56111 eval "$as_ac_var=no"
56112 fi
56113 rm -f conftest.err conftest.$ac_objext \
56114       conftest$ac_exeext conftest.$ac_ext
56115 fi
56116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56118 if test `eval echo '${'$as_ac_var'}'` = yes; then
56119   cat >>confdefs.h <<_ACEOF
56120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56121 _ACEOF
56122
56123 fi
56124 done
56125
56126   else
56127
56128   echo "$as_me:$LINENO: checking for _expl declaration" >&5
56129 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
56130   if test x${glibcxx_cv_func__expl_use+set} != xset; then
56131     if test "${glibcxx_cv_func__expl_use+set}" = set; then
56132   echo $ECHO_N "(cached) $ECHO_C" >&6
56133 else
56134
56135
56136
56137       ac_ext=cc
56138 ac_cpp='$CXXCPP $CPPFLAGS'
56139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56142
56143       cat >conftest.$ac_ext <<_ACEOF
56144 /* confdefs.h.  */
56145 _ACEOF
56146 cat confdefs.h >>conftest.$ac_ext
56147 cat >>conftest.$ac_ext <<_ACEOF
56148 /* end confdefs.h.  */
56149 #include <math.h>
56150                       #ifdef HAVE_IEEEFP_H
56151                       #include <ieeefp.h>
56152                       #endif
56153
56154 int
56155 main ()
56156 {
56157  _expl(0);
56158   ;
56159   return 0;
56160 }
56161 _ACEOF
56162 rm -f conftest.$ac_objext
56163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56164   (eval $ac_compile) 2>conftest.er1
56165   ac_status=$?
56166   grep -v '^ *+' conftest.er1 >conftest.err
56167   rm -f conftest.er1
56168   cat conftest.err >&5
56169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56170   (exit $ac_status); } &&
56171          { ac_try='test -z "$ac_cxx_werror_flag"
56172                          || test ! -s conftest.err'
56173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56174   (eval $ac_try) 2>&5
56175   ac_status=$?
56176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56177   (exit $ac_status); }; } &&
56178          { ac_try='test -s conftest.$ac_objext'
56179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56180   (eval $ac_try) 2>&5
56181   ac_status=$?
56182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56183   (exit $ac_status); }; }; then
56184   glibcxx_cv_func__expl_use=yes
56185 else
56186   echo "$as_me: failed program was:" >&5
56187 sed 's/^/| /' conftest.$ac_ext >&5
56188
56189 glibcxx_cv_func__expl_use=no
56190 fi
56191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56192       ac_ext=c
56193 ac_cpp='$CPP $CPPFLAGS'
56194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56197
56198
56199 fi
56200
56201   fi
56202   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
56203 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
56204
56205     if test x$glibcxx_cv_func__expl_use = x"yes"; then
56206
56207 for ac_func in _expl
56208 do
56209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56210 echo "$as_me:$LINENO: checking for $ac_func" >&5
56211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56212 if eval "test \"\${$as_ac_var+set}\" = set"; then
56213   echo $ECHO_N "(cached) $ECHO_C" >&6
56214 else
56215   if test x$gcc_no_link = xyes; then
56216   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56218    { (exit 1); exit 1; }; }
56219 fi
56220 cat >conftest.$ac_ext <<_ACEOF
56221 /* confdefs.h.  */
56222 _ACEOF
56223 cat confdefs.h >>conftest.$ac_ext
56224 cat >>conftest.$ac_ext <<_ACEOF
56225 /* end confdefs.h.  */
56226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56227    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56228 #define $ac_func innocuous_$ac_func
56229
56230 /* System header to define __stub macros and hopefully few prototypes,
56231     which can conflict with char $ac_func (); below.
56232     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56233     <limits.h> exists even on freestanding compilers.  */
56234
56235 #ifdef __STDC__
56236 # include <limits.h>
56237 #else
56238 # include <assert.h>
56239 #endif
56240
56241 #undef $ac_func
56242
56243 /* Override any gcc2 internal prototype to avoid an error.  */
56244 #ifdef __cplusplus
56245 extern "C"
56246 {
56247 #endif
56248 /* We use char because int might match the return type of a gcc2
56249    builtin and then its argument prototype would still apply.  */
56250 char $ac_func ();
56251 /* The GNU C library defines this for functions which it implements
56252     to always fail with ENOSYS.  Some functions are actually named
56253     something starting with __ and the normal name is an alias.  */
56254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56255 choke me
56256 #else
56257 char (*f) () = $ac_func;
56258 #endif
56259 #ifdef __cplusplus
56260 }
56261 #endif
56262
56263 int
56264 main ()
56265 {
56266 return f != $ac_func;
56267   ;
56268   return 0;
56269 }
56270 _ACEOF
56271 rm -f conftest.$ac_objext conftest$ac_exeext
56272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56273   (eval $ac_link) 2>conftest.er1
56274   ac_status=$?
56275   grep -v '^ *+' conftest.er1 >conftest.err
56276   rm -f conftest.er1
56277   cat conftest.err >&5
56278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56279   (exit $ac_status); } &&
56280          { ac_try='test -z "$ac_c_werror_flag"
56281                          || test ! -s conftest.err'
56282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56283   (eval $ac_try) 2>&5
56284   ac_status=$?
56285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56286   (exit $ac_status); }; } &&
56287          { ac_try='test -s conftest$ac_exeext'
56288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56289   (eval $ac_try) 2>&5
56290   ac_status=$?
56291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56292   (exit $ac_status); }; }; then
56293   eval "$as_ac_var=yes"
56294 else
56295   echo "$as_me: failed program was:" >&5
56296 sed 's/^/| /' conftest.$ac_ext >&5
56297
56298 eval "$as_ac_var=no"
56299 fi
56300 rm -f conftest.err conftest.$ac_objext \
56301       conftest$ac_exeext conftest.$ac_ext
56302 fi
56303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56305 if test `eval echo '${'$as_ac_var'}'` = yes; then
56306   cat >>confdefs.h <<_ACEOF
56307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56308 _ACEOF
56309
56310 fi
56311 done
56312
56313     fi
56314   fi
56315
56316
56317
56318
56319
56320
56321   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
56322 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
56323   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56324     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
56325   echo $ECHO_N "(cached) $ECHO_C" >&6
56326 else
56327
56328
56329
56330       ac_ext=cc
56331 ac_cpp='$CXXCPP $CPPFLAGS'
56332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56335
56336       cat >conftest.$ac_ext <<_ACEOF
56337 /* confdefs.h.  */
56338 _ACEOF
56339 cat confdefs.h >>conftest.$ac_ext
56340 cat >>conftest.$ac_ext <<_ACEOF
56341 /* end confdefs.h.  */
56342 #include <math.h>
56343                       #ifdef HAVE_IEEEFP_H
56344                       #include <ieeefp.h>
56345                       #endif
56346
56347 int
56348 main ()
56349 {
56350  fabsl(0);
56351   ;
56352   return 0;
56353 }
56354 _ACEOF
56355 rm -f conftest.$ac_objext
56356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56357   (eval $ac_compile) 2>conftest.er1
56358   ac_status=$?
56359   grep -v '^ *+' conftest.er1 >conftest.err
56360   rm -f conftest.er1
56361   cat conftest.err >&5
56362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56363   (exit $ac_status); } &&
56364          { ac_try='test -z "$ac_cxx_werror_flag"
56365                          || test ! -s conftest.err'
56366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56367   (eval $ac_try) 2>&5
56368   ac_status=$?
56369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56370   (exit $ac_status); }; } &&
56371          { ac_try='test -s conftest.$ac_objext'
56372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56373   (eval $ac_try) 2>&5
56374   ac_status=$?
56375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56376   (exit $ac_status); }; }; then
56377   glibcxx_cv_func_fabsl_use=yes
56378 else
56379   echo "$as_me: failed program was:" >&5
56380 sed 's/^/| /' conftest.$ac_ext >&5
56381
56382 glibcxx_cv_func_fabsl_use=no
56383 fi
56384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56385       ac_ext=c
56386 ac_cpp='$CPP $CPPFLAGS'
56387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56390
56391
56392 fi
56393
56394   fi
56395   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
56396 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
56397
56398   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56399
56400 for ac_func in fabsl
56401 do
56402 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56403 echo "$as_me:$LINENO: checking for $ac_func" >&5
56404 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56405 if eval "test \"\${$as_ac_var+set}\" = set"; then
56406   echo $ECHO_N "(cached) $ECHO_C" >&6
56407 else
56408   if test x$gcc_no_link = xyes; then
56409   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56411    { (exit 1); exit 1; }; }
56412 fi
56413 cat >conftest.$ac_ext <<_ACEOF
56414 /* confdefs.h.  */
56415 _ACEOF
56416 cat confdefs.h >>conftest.$ac_ext
56417 cat >>conftest.$ac_ext <<_ACEOF
56418 /* end confdefs.h.  */
56419 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56420    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56421 #define $ac_func innocuous_$ac_func
56422
56423 /* System header to define __stub macros and hopefully few prototypes,
56424     which can conflict with char $ac_func (); below.
56425     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56426     <limits.h> exists even on freestanding compilers.  */
56427
56428 #ifdef __STDC__
56429 # include <limits.h>
56430 #else
56431 # include <assert.h>
56432 #endif
56433
56434 #undef $ac_func
56435
56436 /* Override any gcc2 internal prototype to avoid an error.  */
56437 #ifdef __cplusplus
56438 extern "C"
56439 {
56440 #endif
56441 /* We use char because int might match the return type of a gcc2
56442    builtin and then its argument prototype would still apply.  */
56443 char $ac_func ();
56444 /* The GNU C library defines this for functions which it implements
56445     to always fail with ENOSYS.  Some functions are actually named
56446     something starting with __ and the normal name is an alias.  */
56447 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56448 choke me
56449 #else
56450 char (*f) () = $ac_func;
56451 #endif
56452 #ifdef __cplusplus
56453 }
56454 #endif
56455
56456 int
56457 main ()
56458 {
56459 return f != $ac_func;
56460   ;
56461   return 0;
56462 }
56463 _ACEOF
56464 rm -f conftest.$ac_objext conftest$ac_exeext
56465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56466   (eval $ac_link) 2>conftest.er1
56467   ac_status=$?
56468   grep -v '^ *+' conftest.er1 >conftest.err
56469   rm -f conftest.er1
56470   cat conftest.err >&5
56471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56472   (exit $ac_status); } &&
56473          { ac_try='test -z "$ac_c_werror_flag"
56474                          || test ! -s conftest.err'
56475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56476   (eval $ac_try) 2>&5
56477   ac_status=$?
56478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56479   (exit $ac_status); }; } &&
56480          { ac_try='test -s conftest$ac_exeext'
56481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56482   (eval $ac_try) 2>&5
56483   ac_status=$?
56484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56485   (exit $ac_status); }; }; then
56486   eval "$as_ac_var=yes"
56487 else
56488   echo "$as_me: failed program was:" >&5
56489 sed 's/^/| /' conftest.$ac_ext >&5
56490
56491 eval "$as_ac_var=no"
56492 fi
56493 rm -f conftest.err conftest.$ac_objext \
56494       conftest$ac_exeext conftest.$ac_ext
56495 fi
56496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56497 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56498 if test `eval echo '${'$as_ac_var'}'` = yes; then
56499   cat >>confdefs.h <<_ACEOF
56500 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56501 _ACEOF
56502
56503 fi
56504 done
56505
56506   else
56507
56508   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
56509 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
56510   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56511     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
56512   echo $ECHO_N "(cached) $ECHO_C" >&6
56513 else
56514
56515
56516
56517       ac_ext=cc
56518 ac_cpp='$CXXCPP $CPPFLAGS'
56519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56522
56523       cat >conftest.$ac_ext <<_ACEOF
56524 /* confdefs.h.  */
56525 _ACEOF
56526 cat confdefs.h >>conftest.$ac_ext
56527 cat >>conftest.$ac_ext <<_ACEOF
56528 /* end confdefs.h.  */
56529 #include <math.h>
56530                       #ifdef HAVE_IEEEFP_H
56531                       #include <ieeefp.h>
56532                       #endif
56533
56534 int
56535 main ()
56536 {
56537  _fabsl(0);
56538   ;
56539   return 0;
56540 }
56541 _ACEOF
56542 rm -f conftest.$ac_objext
56543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56544   (eval $ac_compile) 2>conftest.er1
56545   ac_status=$?
56546   grep -v '^ *+' conftest.er1 >conftest.err
56547   rm -f conftest.er1
56548   cat conftest.err >&5
56549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56550   (exit $ac_status); } &&
56551          { ac_try='test -z "$ac_cxx_werror_flag"
56552                          || test ! -s conftest.err'
56553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56554   (eval $ac_try) 2>&5
56555   ac_status=$?
56556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56557   (exit $ac_status); }; } &&
56558          { ac_try='test -s conftest.$ac_objext'
56559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56560   (eval $ac_try) 2>&5
56561   ac_status=$?
56562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56563   (exit $ac_status); }; }; then
56564   glibcxx_cv_func__fabsl_use=yes
56565 else
56566   echo "$as_me: failed program was:" >&5
56567 sed 's/^/| /' conftest.$ac_ext >&5
56568
56569 glibcxx_cv_func__fabsl_use=no
56570 fi
56571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56572       ac_ext=c
56573 ac_cpp='$CPP $CPPFLAGS'
56574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56577
56578
56579 fi
56580
56581   fi
56582   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
56583 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
56584
56585     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56586
56587 for ac_func in _fabsl
56588 do
56589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56590 echo "$as_me:$LINENO: checking for $ac_func" >&5
56591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56592 if eval "test \"\${$as_ac_var+set}\" = set"; then
56593   echo $ECHO_N "(cached) $ECHO_C" >&6
56594 else
56595   if test x$gcc_no_link = xyes; then
56596   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56598    { (exit 1); exit 1; }; }
56599 fi
56600 cat >conftest.$ac_ext <<_ACEOF
56601 /* confdefs.h.  */
56602 _ACEOF
56603 cat confdefs.h >>conftest.$ac_ext
56604 cat >>conftest.$ac_ext <<_ACEOF
56605 /* end confdefs.h.  */
56606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56607    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56608 #define $ac_func innocuous_$ac_func
56609
56610 /* System header to define __stub macros and hopefully few prototypes,
56611     which can conflict with char $ac_func (); below.
56612     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56613     <limits.h> exists even on freestanding compilers.  */
56614
56615 #ifdef __STDC__
56616 # include <limits.h>
56617 #else
56618 # include <assert.h>
56619 #endif
56620
56621 #undef $ac_func
56622
56623 /* Override any gcc2 internal prototype to avoid an error.  */
56624 #ifdef __cplusplus
56625 extern "C"
56626 {
56627 #endif
56628 /* We use char because int might match the return type of a gcc2
56629    builtin and then its argument prototype would still apply.  */
56630 char $ac_func ();
56631 /* The GNU C library defines this for functions which it implements
56632     to always fail with ENOSYS.  Some functions are actually named
56633     something starting with __ and the normal name is an alias.  */
56634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56635 choke me
56636 #else
56637 char (*f) () = $ac_func;
56638 #endif
56639 #ifdef __cplusplus
56640 }
56641 #endif
56642
56643 int
56644 main ()
56645 {
56646 return f != $ac_func;
56647   ;
56648   return 0;
56649 }
56650 _ACEOF
56651 rm -f conftest.$ac_objext conftest$ac_exeext
56652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56653   (eval $ac_link) 2>conftest.er1
56654   ac_status=$?
56655   grep -v '^ *+' conftest.er1 >conftest.err
56656   rm -f conftest.er1
56657   cat conftest.err >&5
56658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56659   (exit $ac_status); } &&
56660          { ac_try='test -z "$ac_c_werror_flag"
56661                          || test ! -s conftest.err'
56662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56663   (eval $ac_try) 2>&5
56664   ac_status=$?
56665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56666   (exit $ac_status); }; } &&
56667          { ac_try='test -s conftest$ac_exeext'
56668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56669   (eval $ac_try) 2>&5
56670   ac_status=$?
56671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56672   (exit $ac_status); }; }; then
56673   eval "$as_ac_var=yes"
56674 else
56675   echo "$as_me: failed program was:" >&5
56676 sed 's/^/| /' conftest.$ac_ext >&5
56677
56678 eval "$as_ac_var=no"
56679 fi
56680 rm -f conftest.err conftest.$ac_objext \
56681       conftest$ac_exeext conftest.$ac_ext
56682 fi
56683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56685 if test `eval echo '${'$as_ac_var'}'` = yes; then
56686   cat >>confdefs.h <<_ACEOF
56687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56688 _ACEOF
56689
56690 fi
56691 done
56692
56693     fi
56694   fi
56695
56696
56697
56698
56699
56700
56701   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
56702 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
56703   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56704     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
56705   echo $ECHO_N "(cached) $ECHO_C" >&6
56706 else
56707
56708
56709
56710       ac_ext=cc
56711 ac_cpp='$CXXCPP $CPPFLAGS'
56712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56715
56716       cat >conftest.$ac_ext <<_ACEOF
56717 /* confdefs.h.  */
56718 _ACEOF
56719 cat confdefs.h >>conftest.$ac_ext
56720 cat >>conftest.$ac_ext <<_ACEOF
56721 /* end confdefs.h.  */
56722 #include <math.h>
56723 int
56724 main ()
56725 {
56726  fmodl(0, 0);
56727   ;
56728   return 0;
56729 }
56730 _ACEOF
56731 rm -f conftest.$ac_objext
56732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56733   (eval $ac_compile) 2>conftest.er1
56734   ac_status=$?
56735   grep -v '^ *+' conftest.er1 >conftest.err
56736   rm -f conftest.er1
56737   cat conftest.err >&5
56738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56739   (exit $ac_status); } &&
56740          { ac_try='test -z "$ac_cxx_werror_flag"
56741                          || test ! -s conftest.err'
56742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56743   (eval $ac_try) 2>&5
56744   ac_status=$?
56745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56746   (exit $ac_status); }; } &&
56747          { ac_try='test -s conftest.$ac_objext'
56748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56749   (eval $ac_try) 2>&5
56750   ac_status=$?
56751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56752   (exit $ac_status); }; }; then
56753   glibcxx_cv_func_fmodl_use=yes
56754 else
56755   echo "$as_me: failed program was:" >&5
56756 sed 's/^/| /' conftest.$ac_ext >&5
56757
56758 glibcxx_cv_func_fmodl_use=no
56759 fi
56760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56761       ac_ext=c
56762 ac_cpp='$CPP $CPPFLAGS'
56763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56766
56767
56768 fi
56769
56770   fi
56771   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
56772 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
56773
56774   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56775
56776 for ac_func in fmodl
56777 do
56778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56779 echo "$as_me:$LINENO: checking for $ac_func" >&5
56780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56781 if eval "test \"\${$as_ac_var+set}\" = set"; then
56782   echo $ECHO_N "(cached) $ECHO_C" >&6
56783 else
56784   if test x$gcc_no_link = xyes; then
56785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56787    { (exit 1); exit 1; }; }
56788 fi
56789 cat >conftest.$ac_ext <<_ACEOF
56790 /* confdefs.h.  */
56791 _ACEOF
56792 cat confdefs.h >>conftest.$ac_ext
56793 cat >>conftest.$ac_ext <<_ACEOF
56794 /* end confdefs.h.  */
56795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56796    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56797 #define $ac_func innocuous_$ac_func
56798
56799 /* System header to define __stub macros and hopefully few prototypes,
56800     which can conflict with char $ac_func (); below.
56801     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56802     <limits.h> exists even on freestanding compilers.  */
56803
56804 #ifdef __STDC__
56805 # include <limits.h>
56806 #else
56807 # include <assert.h>
56808 #endif
56809
56810 #undef $ac_func
56811
56812 /* Override any gcc2 internal prototype to avoid an error.  */
56813 #ifdef __cplusplus
56814 extern "C"
56815 {
56816 #endif
56817 /* We use char because int might match the return type of a gcc2
56818    builtin and then its argument prototype would still apply.  */
56819 char $ac_func ();
56820 /* The GNU C library defines this for functions which it implements
56821     to always fail with ENOSYS.  Some functions are actually named
56822     something starting with __ and the normal name is an alias.  */
56823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56824 choke me
56825 #else
56826 char (*f) () = $ac_func;
56827 #endif
56828 #ifdef __cplusplus
56829 }
56830 #endif
56831
56832 int
56833 main ()
56834 {
56835 return f != $ac_func;
56836   ;
56837   return 0;
56838 }
56839 _ACEOF
56840 rm -f conftest.$ac_objext conftest$ac_exeext
56841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56842   (eval $ac_link) 2>conftest.er1
56843   ac_status=$?
56844   grep -v '^ *+' conftest.er1 >conftest.err
56845   rm -f conftest.er1
56846   cat conftest.err >&5
56847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56848   (exit $ac_status); } &&
56849          { ac_try='test -z "$ac_c_werror_flag"
56850                          || test ! -s conftest.err'
56851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56852   (eval $ac_try) 2>&5
56853   ac_status=$?
56854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56855   (exit $ac_status); }; } &&
56856          { ac_try='test -s conftest$ac_exeext'
56857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56858   (eval $ac_try) 2>&5
56859   ac_status=$?
56860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56861   (exit $ac_status); }; }; then
56862   eval "$as_ac_var=yes"
56863 else
56864   echo "$as_me: failed program was:" >&5
56865 sed 's/^/| /' conftest.$ac_ext >&5
56866
56867 eval "$as_ac_var=no"
56868 fi
56869 rm -f conftest.err conftest.$ac_objext \
56870       conftest$ac_exeext conftest.$ac_ext
56871 fi
56872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56874 if test `eval echo '${'$as_ac_var'}'` = yes; then
56875   cat >>confdefs.h <<_ACEOF
56876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56877 _ACEOF
56878
56879 fi
56880 done
56881
56882   else
56883
56884   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
56885 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
56886   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56887     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
56888   echo $ECHO_N "(cached) $ECHO_C" >&6
56889 else
56890
56891
56892
56893       ac_ext=cc
56894 ac_cpp='$CXXCPP $CPPFLAGS'
56895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56898
56899       cat >conftest.$ac_ext <<_ACEOF
56900 /* confdefs.h.  */
56901 _ACEOF
56902 cat confdefs.h >>conftest.$ac_ext
56903 cat >>conftest.$ac_ext <<_ACEOF
56904 /* end confdefs.h.  */
56905 #include <math.h>
56906 int
56907 main ()
56908 {
56909  _fmodl(0, 0);
56910   ;
56911   return 0;
56912 }
56913 _ACEOF
56914 rm -f conftest.$ac_objext
56915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56916   (eval $ac_compile) 2>conftest.er1
56917   ac_status=$?
56918   grep -v '^ *+' conftest.er1 >conftest.err
56919   rm -f conftest.er1
56920   cat conftest.err >&5
56921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56922   (exit $ac_status); } &&
56923          { ac_try='test -z "$ac_cxx_werror_flag"
56924                          || test ! -s conftest.err'
56925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56926   (eval $ac_try) 2>&5
56927   ac_status=$?
56928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56929   (exit $ac_status); }; } &&
56930          { ac_try='test -s conftest.$ac_objext'
56931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56932   (eval $ac_try) 2>&5
56933   ac_status=$?
56934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56935   (exit $ac_status); }; }; then
56936   glibcxx_cv_func__fmodl_use=yes
56937 else
56938   echo "$as_me: failed program was:" >&5
56939 sed 's/^/| /' conftest.$ac_ext >&5
56940
56941 glibcxx_cv_func__fmodl_use=no
56942 fi
56943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56944       ac_ext=c
56945 ac_cpp='$CPP $CPPFLAGS'
56946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56949
56950
56951 fi
56952
56953   fi
56954   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
56955 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
56956
56957     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56958
56959 for ac_func in _fmodl
56960 do
56961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56962 echo "$as_me:$LINENO: checking for $ac_func" >&5
56963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56964 if eval "test \"\${$as_ac_var+set}\" = set"; then
56965   echo $ECHO_N "(cached) $ECHO_C" >&6
56966 else
56967   if test x$gcc_no_link = xyes; then
56968   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56970    { (exit 1); exit 1; }; }
56971 fi
56972 cat >conftest.$ac_ext <<_ACEOF
56973 /* confdefs.h.  */
56974 _ACEOF
56975 cat confdefs.h >>conftest.$ac_ext
56976 cat >>conftest.$ac_ext <<_ACEOF
56977 /* end confdefs.h.  */
56978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56979    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56980 #define $ac_func innocuous_$ac_func
56981
56982 /* System header to define __stub macros and hopefully few prototypes,
56983     which can conflict with char $ac_func (); below.
56984     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56985     <limits.h> exists even on freestanding compilers.  */
56986
56987 #ifdef __STDC__
56988 # include <limits.h>
56989 #else
56990 # include <assert.h>
56991 #endif
56992
56993 #undef $ac_func
56994
56995 /* Override any gcc2 internal prototype to avoid an error.  */
56996 #ifdef __cplusplus
56997 extern "C"
56998 {
56999 #endif
57000 /* We use char because int might match the return type of a gcc2
57001    builtin and then its argument prototype would still apply.  */
57002 char $ac_func ();
57003 /* The GNU C library defines this for functions which it implements
57004     to always fail with ENOSYS.  Some functions are actually named
57005     something starting with __ and the normal name is an alias.  */
57006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57007 choke me
57008 #else
57009 char (*f) () = $ac_func;
57010 #endif
57011 #ifdef __cplusplus
57012 }
57013 #endif
57014
57015 int
57016 main ()
57017 {
57018 return f != $ac_func;
57019   ;
57020   return 0;
57021 }
57022 _ACEOF
57023 rm -f conftest.$ac_objext conftest$ac_exeext
57024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57025   (eval $ac_link) 2>conftest.er1
57026   ac_status=$?
57027   grep -v '^ *+' conftest.er1 >conftest.err
57028   rm -f conftest.er1
57029   cat conftest.err >&5
57030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57031   (exit $ac_status); } &&
57032          { ac_try='test -z "$ac_c_werror_flag"
57033                          || test ! -s conftest.err'
57034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57035   (eval $ac_try) 2>&5
57036   ac_status=$?
57037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57038   (exit $ac_status); }; } &&
57039          { ac_try='test -s conftest$ac_exeext'
57040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57041   (eval $ac_try) 2>&5
57042   ac_status=$?
57043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57044   (exit $ac_status); }; }; then
57045   eval "$as_ac_var=yes"
57046 else
57047   echo "$as_me: failed program was:" >&5
57048 sed 's/^/| /' conftest.$ac_ext >&5
57049
57050 eval "$as_ac_var=no"
57051 fi
57052 rm -f conftest.err conftest.$ac_objext \
57053       conftest$ac_exeext conftest.$ac_ext
57054 fi
57055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57057 if test `eval echo '${'$as_ac_var'}'` = yes; then
57058   cat >>confdefs.h <<_ACEOF
57059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57060 _ACEOF
57061
57062 fi
57063 done
57064
57065     fi
57066   fi
57067
57068
57069
57070
57071
57072
57073   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
57074 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
57075   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57076     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
57077   echo $ECHO_N "(cached) $ECHO_C" >&6
57078 else
57079
57080
57081
57082       ac_ext=cc
57083 ac_cpp='$CXXCPP $CPPFLAGS'
57084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57087
57088       cat >conftest.$ac_ext <<_ACEOF
57089 /* confdefs.h.  */
57090 _ACEOF
57091 cat confdefs.h >>conftest.$ac_ext
57092 cat >>conftest.$ac_ext <<_ACEOF
57093 /* end confdefs.h.  */
57094 #include <math.h>
57095 int
57096 main ()
57097 {
57098  frexpl(0, 0);
57099   ;
57100   return 0;
57101 }
57102 _ACEOF
57103 rm -f conftest.$ac_objext
57104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57105   (eval $ac_compile) 2>conftest.er1
57106   ac_status=$?
57107   grep -v '^ *+' conftest.er1 >conftest.err
57108   rm -f conftest.er1
57109   cat conftest.err >&5
57110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57111   (exit $ac_status); } &&
57112          { ac_try='test -z "$ac_cxx_werror_flag"
57113                          || test ! -s conftest.err'
57114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57115   (eval $ac_try) 2>&5
57116   ac_status=$?
57117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57118   (exit $ac_status); }; } &&
57119          { ac_try='test -s conftest.$ac_objext'
57120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57121   (eval $ac_try) 2>&5
57122   ac_status=$?
57123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57124   (exit $ac_status); }; }; then
57125   glibcxx_cv_func_frexpl_use=yes
57126 else
57127   echo "$as_me: failed program was:" >&5
57128 sed 's/^/| /' conftest.$ac_ext >&5
57129
57130 glibcxx_cv_func_frexpl_use=no
57131 fi
57132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57133       ac_ext=c
57134 ac_cpp='$CPP $CPPFLAGS'
57135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57138
57139
57140 fi
57141
57142   fi
57143   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
57144 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
57145
57146   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57147
57148 for ac_func in frexpl
57149 do
57150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57151 echo "$as_me:$LINENO: checking for $ac_func" >&5
57152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57153 if eval "test \"\${$as_ac_var+set}\" = set"; then
57154   echo $ECHO_N "(cached) $ECHO_C" >&6
57155 else
57156   if test x$gcc_no_link = xyes; then
57157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57159    { (exit 1); exit 1; }; }
57160 fi
57161 cat >conftest.$ac_ext <<_ACEOF
57162 /* confdefs.h.  */
57163 _ACEOF
57164 cat confdefs.h >>conftest.$ac_ext
57165 cat >>conftest.$ac_ext <<_ACEOF
57166 /* end confdefs.h.  */
57167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57168    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57169 #define $ac_func innocuous_$ac_func
57170
57171 /* System header to define __stub macros and hopefully few prototypes,
57172     which can conflict with char $ac_func (); below.
57173     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57174     <limits.h> exists even on freestanding compilers.  */
57175
57176 #ifdef __STDC__
57177 # include <limits.h>
57178 #else
57179 # include <assert.h>
57180 #endif
57181
57182 #undef $ac_func
57183
57184 /* Override any gcc2 internal prototype to avoid an error.  */
57185 #ifdef __cplusplus
57186 extern "C"
57187 {
57188 #endif
57189 /* We use char because int might match the return type of a gcc2
57190    builtin and then its argument prototype would still apply.  */
57191 char $ac_func ();
57192 /* The GNU C library defines this for functions which it implements
57193     to always fail with ENOSYS.  Some functions are actually named
57194     something starting with __ and the normal name is an alias.  */
57195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57196 choke me
57197 #else
57198 char (*f) () = $ac_func;
57199 #endif
57200 #ifdef __cplusplus
57201 }
57202 #endif
57203
57204 int
57205 main ()
57206 {
57207 return f != $ac_func;
57208   ;
57209   return 0;
57210 }
57211 _ACEOF
57212 rm -f conftest.$ac_objext conftest$ac_exeext
57213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57214   (eval $ac_link) 2>conftest.er1
57215   ac_status=$?
57216   grep -v '^ *+' conftest.er1 >conftest.err
57217   rm -f conftest.er1
57218   cat conftest.err >&5
57219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57220   (exit $ac_status); } &&
57221          { ac_try='test -z "$ac_c_werror_flag"
57222                          || test ! -s conftest.err'
57223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57224   (eval $ac_try) 2>&5
57225   ac_status=$?
57226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57227   (exit $ac_status); }; } &&
57228          { ac_try='test -s conftest$ac_exeext'
57229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57230   (eval $ac_try) 2>&5
57231   ac_status=$?
57232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57233   (exit $ac_status); }; }; then
57234   eval "$as_ac_var=yes"
57235 else
57236   echo "$as_me: failed program was:" >&5
57237 sed 's/^/| /' conftest.$ac_ext >&5
57238
57239 eval "$as_ac_var=no"
57240 fi
57241 rm -f conftest.err conftest.$ac_objext \
57242       conftest$ac_exeext conftest.$ac_ext
57243 fi
57244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57246 if test `eval echo '${'$as_ac_var'}'` = yes; then
57247   cat >>confdefs.h <<_ACEOF
57248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57249 _ACEOF
57250
57251 fi
57252 done
57253
57254   else
57255
57256   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
57257 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
57258   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57259     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
57260   echo $ECHO_N "(cached) $ECHO_C" >&6
57261 else
57262
57263
57264
57265       ac_ext=cc
57266 ac_cpp='$CXXCPP $CPPFLAGS'
57267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57270
57271       cat >conftest.$ac_ext <<_ACEOF
57272 /* confdefs.h.  */
57273 _ACEOF
57274 cat confdefs.h >>conftest.$ac_ext
57275 cat >>conftest.$ac_ext <<_ACEOF
57276 /* end confdefs.h.  */
57277 #include <math.h>
57278 int
57279 main ()
57280 {
57281  _frexpl(0, 0);
57282   ;
57283   return 0;
57284 }
57285 _ACEOF
57286 rm -f conftest.$ac_objext
57287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57288   (eval $ac_compile) 2>conftest.er1
57289   ac_status=$?
57290   grep -v '^ *+' conftest.er1 >conftest.err
57291   rm -f conftest.er1
57292   cat conftest.err >&5
57293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57294   (exit $ac_status); } &&
57295          { ac_try='test -z "$ac_cxx_werror_flag"
57296                          || test ! -s conftest.err'
57297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57298   (eval $ac_try) 2>&5
57299   ac_status=$?
57300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57301   (exit $ac_status); }; } &&
57302          { ac_try='test -s conftest.$ac_objext'
57303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57304   (eval $ac_try) 2>&5
57305   ac_status=$?
57306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57307   (exit $ac_status); }; }; then
57308   glibcxx_cv_func__frexpl_use=yes
57309 else
57310   echo "$as_me: failed program was:" >&5
57311 sed 's/^/| /' conftest.$ac_ext >&5
57312
57313 glibcxx_cv_func__frexpl_use=no
57314 fi
57315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57316       ac_ext=c
57317 ac_cpp='$CPP $CPPFLAGS'
57318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57321
57322
57323 fi
57324
57325   fi
57326   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
57327 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
57328
57329     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57330
57331 for ac_func in _frexpl
57332 do
57333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57334 echo "$as_me:$LINENO: checking for $ac_func" >&5
57335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57336 if eval "test \"\${$as_ac_var+set}\" = set"; then
57337   echo $ECHO_N "(cached) $ECHO_C" >&6
57338 else
57339   if test x$gcc_no_link = xyes; then
57340   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57342    { (exit 1); exit 1; }; }
57343 fi
57344 cat >conftest.$ac_ext <<_ACEOF
57345 /* confdefs.h.  */
57346 _ACEOF
57347 cat confdefs.h >>conftest.$ac_ext
57348 cat >>conftest.$ac_ext <<_ACEOF
57349 /* end confdefs.h.  */
57350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57351    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57352 #define $ac_func innocuous_$ac_func
57353
57354 /* System header to define __stub macros and hopefully few prototypes,
57355     which can conflict with char $ac_func (); below.
57356     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57357     <limits.h> exists even on freestanding compilers.  */
57358
57359 #ifdef __STDC__
57360 # include <limits.h>
57361 #else
57362 # include <assert.h>
57363 #endif
57364
57365 #undef $ac_func
57366
57367 /* Override any gcc2 internal prototype to avoid an error.  */
57368 #ifdef __cplusplus
57369 extern "C"
57370 {
57371 #endif
57372 /* We use char because int might match the return type of a gcc2
57373    builtin and then its argument prototype would still apply.  */
57374 char $ac_func ();
57375 /* The GNU C library defines this for functions which it implements
57376     to always fail with ENOSYS.  Some functions are actually named
57377     something starting with __ and the normal name is an alias.  */
57378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57379 choke me
57380 #else
57381 char (*f) () = $ac_func;
57382 #endif
57383 #ifdef __cplusplus
57384 }
57385 #endif
57386
57387 int
57388 main ()
57389 {
57390 return f != $ac_func;
57391   ;
57392   return 0;
57393 }
57394 _ACEOF
57395 rm -f conftest.$ac_objext conftest$ac_exeext
57396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57397   (eval $ac_link) 2>conftest.er1
57398   ac_status=$?
57399   grep -v '^ *+' conftest.er1 >conftest.err
57400   rm -f conftest.er1
57401   cat conftest.err >&5
57402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57403   (exit $ac_status); } &&
57404          { ac_try='test -z "$ac_c_werror_flag"
57405                          || test ! -s conftest.err'
57406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57407   (eval $ac_try) 2>&5
57408   ac_status=$?
57409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57410   (exit $ac_status); }; } &&
57411          { ac_try='test -s conftest$ac_exeext'
57412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57413   (eval $ac_try) 2>&5
57414   ac_status=$?
57415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57416   (exit $ac_status); }; }; then
57417   eval "$as_ac_var=yes"
57418 else
57419   echo "$as_me: failed program was:" >&5
57420 sed 's/^/| /' conftest.$ac_ext >&5
57421
57422 eval "$as_ac_var=no"
57423 fi
57424 rm -f conftest.err conftest.$ac_objext \
57425       conftest$ac_exeext conftest.$ac_ext
57426 fi
57427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57429 if test `eval echo '${'$as_ac_var'}'` = yes; then
57430   cat >>confdefs.h <<_ACEOF
57431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57432 _ACEOF
57433
57434 fi
57435 done
57436
57437     fi
57438   fi
57439
57440
57441
57442
57443
57444
57445   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
57446 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
57447   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57448     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
57449   echo $ECHO_N "(cached) $ECHO_C" >&6
57450 else
57451
57452
57453
57454       ac_ext=cc
57455 ac_cpp='$CXXCPP $CPPFLAGS'
57456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57459
57460       cat >conftest.$ac_ext <<_ACEOF
57461 /* confdefs.h.  */
57462 _ACEOF
57463 cat confdefs.h >>conftest.$ac_ext
57464 cat >>conftest.$ac_ext <<_ACEOF
57465 /* end confdefs.h.  */
57466 #include <math.h>
57467 int
57468 main ()
57469 {
57470  hypotl(0, 0);
57471   ;
57472   return 0;
57473 }
57474 _ACEOF
57475 rm -f conftest.$ac_objext
57476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57477   (eval $ac_compile) 2>conftest.er1
57478   ac_status=$?
57479   grep -v '^ *+' conftest.er1 >conftest.err
57480   rm -f conftest.er1
57481   cat conftest.err >&5
57482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57483   (exit $ac_status); } &&
57484          { ac_try='test -z "$ac_cxx_werror_flag"
57485                          || test ! -s conftest.err'
57486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57487   (eval $ac_try) 2>&5
57488   ac_status=$?
57489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57490   (exit $ac_status); }; } &&
57491          { ac_try='test -s conftest.$ac_objext'
57492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57493   (eval $ac_try) 2>&5
57494   ac_status=$?
57495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57496   (exit $ac_status); }; }; then
57497   glibcxx_cv_func_hypotl_use=yes
57498 else
57499   echo "$as_me: failed program was:" >&5
57500 sed 's/^/| /' conftest.$ac_ext >&5
57501
57502 glibcxx_cv_func_hypotl_use=no
57503 fi
57504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57505       ac_ext=c
57506 ac_cpp='$CPP $CPPFLAGS'
57507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57510
57511
57512 fi
57513
57514   fi
57515   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
57516 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
57517
57518   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57519
57520 for ac_func in hypotl
57521 do
57522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57523 echo "$as_me:$LINENO: checking for $ac_func" >&5
57524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57525 if eval "test \"\${$as_ac_var+set}\" = set"; then
57526   echo $ECHO_N "(cached) $ECHO_C" >&6
57527 else
57528   if test x$gcc_no_link = xyes; then
57529   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57531    { (exit 1); exit 1; }; }
57532 fi
57533 cat >conftest.$ac_ext <<_ACEOF
57534 /* confdefs.h.  */
57535 _ACEOF
57536 cat confdefs.h >>conftest.$ac_ext
57537 cat >>conftest.$ac_ext <<_ACEOF
57538 /* end confdefs.h.  */
57539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57540    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57541 #define $ac_func innocuous_$ac_func
57542
57543 /* System header to define __stub macros and hopefully few prototypes,
57544     which can conflict with char $ac_func (); below.
57545     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57546     <limits.h> exists even on freestanding compilers.  */
57547
57548 #ifdef __STDC__
57549 # include <limits.h>
57550 #else
57551 # include <assert.h>
57552 #endif
57553
57554 #undef $ac_func
57555
57556 /* Override any gcc2 internal prototype to avoid an error.  */
57557 #ifdef __cplusplus
57558 extern "C"
57559 {
57560 #endif
57561 /* We use char because int might match the return type of a gcc2
57562    builtin and then its argument prototype would still apply.  */
57563 char $ac_func ();
57564 /* The GNU C library defines this for functions which it implements
57565     to always fail with ENOSYS.  Some functions are actually named
57566     something starting with __ and the normal name is an alias.  */
57567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57568 choke me
57569 #else
57570 char (*f) () = $ac_func;
57571 #endif
57572 #ifdef __cplusplus
57573 }
57574 #endif
57575
57576 int
57577 main ()
57578 {
57579 return f != $ac_func;
57580   ;
57581   return 0;
57582 }
57583 _ACEOF
57584 rm -f conftest.$ac_objext conftest$ac_exeext
57585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57586   (eval $ac_link) 2>conftest.er1
57587   ac_status=$?
57588   grep -v '^ *+' conftest.er1 >conftest.err
57589   rm -f conftest.er1
57590   cat conftest.err >&5
57591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57592   (exit $ac_status); } &&
57593          { ac_try='test -z "$ac_c_werror_flag"
57594                          || test ! -s conftest.err'
57595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57596   (eval $ac_try) 2>&5
57597   ac_status=$?
57598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57599   (exit $ac_status); }; } &&
57600          { ac_try='test -s conftest$ac_exeext'
57601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57602   (eval $ac_try) 2>&5
57603   ac_status=$?
57604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57605   (exit $ac_status); }; }; then
57606   eval "$as_ac_var=yes"
57607 else
57608   echo "$as_me: failed program was:" >&5
57609 sed 's/^/| /' conftest.$ac_ext >&5
57610
57611 eval "$as_ac_var=no"
57612 fi
57613 rm -f conftest.err conftest.$ac_objext \
57614       conftest$ac_exeext conftest.$ac_ext
57615 fi
57616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57618 if test `eval echo '${'$as_ac_var'}'` = yes; then
57619   cat >>confdefs.h <<_ACEOF
57620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57621 _ACEOF
57622
57623 fi
57624 done
57625
57626   else
57627
57628   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
57629 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
57630   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57631     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
57632   echo $ECHO_N "(cached) $ECHO_C" >&6
57633 else
57634
57635
57636
57637       ac_ext=cc
57638 ac_cpp='$CXXCPP $CPPFLAGS'
57639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57642
57643       cat >conftest.$ac_ext <<_ACEOF
57644 /* confdefs.h.  */
57645 _ACEOF
57646 cat confdefs.h >>conftest.$ac_ext
57647 cat >>conftest.$ac_ext <<_ACEOF
57648 /* end confdefs.h.  */
57649 #include <math.h>
57650 int
57651 main ()
57652 {
57653  _hypotl(0, 0);
57654   ;
57655   return 0;
57656 }
57657 _ACEOF
57658 rm -f conftest.$ac_objext
57659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57660   (eval $ac_compile) 2>conftest.er1
57661   ac_status=$?
57662   grep -v '^ *+' conftest.er1 >conftest.err
57663   rm -f conftest.er1
57664   cat conftest.err >&5
57665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57666   (exit $ac_status); } &&
57667          { ac_try='test -z "$ac_cxx_werror_flag"
57668                          || test ! -s conftest.err'
57669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57670   (eval $ac_try) 2>&5
57671   ac_status=$?
57672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57673   (exit $ac_status); }; } &&
57674          { ac_try='test -s conftest.$ac_objext'
57675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57676   (eval $ac_try) 2>&5
57677   ac_status=$?
57678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57679   (exit $ac_status); }; }; then
57680   glibcxx_cv_func__hypotl_use=yes
57681 else
57682   echo "$as_me: failed program was:" >&5
57683 sed 's/^/| /' conftest.$ac_ext >&5
57684
57685 glibcxx_cv_func__hypotl_use=no
57686 fi
57687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57688       ac_ext=c
57689 ac_cpp='$CPP $CPPFLAGS'
57690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57693
57694
57695 fi
57696
57697   fi
57698   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
57699 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
57700
57701     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57702
57703 for ac_func in _hypotl
57704 do
57705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57706 echo "$as_me:$LINENO: checking for $ac_func" >&5
57707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57708 if eval "test \"\${$as_ac_var+set}\" = set"; then
57709   echo $ECHO_N "(cached) $ECHO_C" >&6
57710 else
57711   if test x$gcc_no_link = xyes; then
57712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57714    { (exit 1); exit 1; }; }
57715 fi
57716 cat >conftest.$ac_ext <<_ACEOF
57717 /* confdefs.h.  */
57718 _ACEOF
57719 cat confdefs.h >>conftest.$ac_ext
57720 cat >>conftest.$ac_ext <<_ACEOF
57721 /* end confdefs.h.  */
57722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57723    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57724 #define $ac_func innocuous_$ac_func
57725
57726 /* System header to define __stub macros and hopefully few prototypes,
57727     which can conflict with char $ac_func (); below.
57728     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57729     <limits.h> exists even on freestanding compilers.  */
57730
57731 #ifdef __STDC__
57732 # include <limits.h>
57733 #else
57734 # include <assert.h>
57735 #endif
57736
57737 #undef $ac_func
57738
57739 /* Override any gcc2 internal prototype to avoid an error.  */
57740 #ifdef __cplusplus
57741 extern "C"
57742 {
57743 #endif
57744 /* We use char because int might match the return type of a gcc2
57745    builtin and then its argument prototype would still apply.  */
57746 char $ac_func ();
57747 /* The GNU C library defines this for functions which it implements
57748     to always fail with ENOSYS.  Some functions are actually named
57749     something starting with __ and the normal name is an alias.  */
57750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57751 choke me
57752 #else
57753 char (*f) () = $ac_func;
57754 #endif
57755 #ifdef __cplusplus
57756 }
57757 #endif
57758
57759 int
57760 main ()
57761 {
57762 return f != $ac_func;
57763   ;
57764   return 0;
57765 }
57766 _ACEOF
57767 rm -f conftest.$ac_objext conftest$ac_exeext
57768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57769   (eval $ac_link) 2>conftest.er1
57770   ac_status=$?
57771   grep -v '^ *+' conftest.er1 >conftest.err
57772   rm -f conftest.er1
57773   cat conftest.err >&5
57774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57775   (exit $ac_status); } &&
57776          { ac_try='test -z "$ac_c_werror_flag"
57777                          || test ! -s conftest.err'
57778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57779   (eval $ac_try) 2>&5
57780   ac_status=$?
57781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57782   (exit $ac_status); }; } &&
57783          { ac_try='test -s conftest$ac_exeext'
57784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57785   (eval $ac_try) 2>&5
57786   ac_status=$?
57787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57788   (exit $ac_status); }; }; then
57789   eval "$as_ac_var=yes"
57790 else
57791   echo "$as_me: failed program was:" >&5
57792 sed 's/^/| /' conftest.$ac_ext >&5
57793
57794 eval "$as_ac_var=no"
57795 fi
57796 rm -f conftest.err conftest.$ac_objext \
57797       conftest$ac_exeext conftest.$ac_ext
57798 fi
57799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57801 if test `eval echo '${'$as_ac_var'}'` = yes; then
57802   cat >>confdefs.h <<_ACEOF
57803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57804 _ACEOF
57805
57806 fi
57807 done
57808
57809     fi
57810   fi
57811
57812
57813
57814
57815
57816
57817   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
57818 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
57819   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57820     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
57821   echo $ECHO_N "(cached) $ECHO_C" >&6
57822 else
57823
57824
57825
57826       ac_ext=cc
57827 ac_cpp='$CXXCPP $CPPFLAGS'
57828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57831
57832       cat >conftest.$ac_ext <<_ACEOF
57833 /* confdefs.h.  */
57834 _ACEOF
57835 cat confdefs.h >>conftest.$ac_ext
57836 cat >>conftest.$ac_ext <<_ACEOF
57837 /* end confdefs.h.  */
57838 #include <math.h>
57839 int
57840 main ()
57841 {
57842  ldexpl(0, 0);
57843   ;
57844   return 0;
57845 }
57846 _ACEOF
57847 rm -f conftest.$ac_objext
57848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57849   (eval $ac_compile) 2>conftest.er1
57850   ac_status=$?
57851   grep -v '^ *+' conftest.er1 >conftest.err
57852   rm -f conftest.er1
57853   cat conftest.err >&5
57854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57855   (exit $ac_status); } &&
57856          { ac_try='test -z "$ac_cxx_werror_flag"
57857                          || test ! -s conftest.err'
57858   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57859   (eval $ac_try) 2>&5
57860   ac_status=$?
57861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57862   (exit $ac_status); }; } &&
57863          { ac_try='test -s conftest.$ac_objext'
57864   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57865   (eval $ac_try) 2>&5
57866   ac_status=$?
57867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57868   (exit $ac_status); }; }; then
57869   glibcxx_cv_func_ldexpl_use=yes
57870 else
57871   echo "$as_me: failed program was:" >&5
57872 sed 's/^/| /' conftest.$ac_ext >&5
57873
57874 glibcxx_cv_func_ldexpl_use=no
57875 fi
57876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57877       ac_ext=c
57878 ac_cpp='$CPP $CPPFLAGS'
57879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57882
57883
57884 fi
57885
57886   fi
57887   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
57888 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
57889
57890   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57891
57892 for ac_func in ldexpl
57893 do
57894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57895 echo "$as_me:$LINENO: checking for $ac_func" >&5
57896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57897 if eval "test \"\${$as_ac_var+set}\" = set"; then
57898   echo $ECHO_N "(cached) $ECHO_C" >&6
57899 else
57900   if test x$gcc_no_link = xyes; then
57901   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57903    { (exit 1); exit 1; }; }
57904 fi
57905 cat >conftest.$ac_ext <<_ACEOF
57906 /* confdefs.h.  */
57907 _ACEOF
57908 cat confdefs.h >>conftest.$ac_ext
57909 cat >>conftest.$ac_ext <<_ACEOF
57910 /* end confdefs.h.  */
57911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57912    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57913 #define $ac_func innocuous_$ac_func
57914
57915 /* System header to define __stub macros and hopefully few prototypes,
57916     which can conflict with char $ac_func (); below.
57917     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57918     <limits.h> exists even on freestanding compilers.  */
57919
57920 #ifdef __STDC__
57921 # include <limits.h>
57922 #else
57923 # include <assert.h>
57924 #endif
57925
57926 #undef $ac_func
57927
57928 /* Override any gcc2 internal prototype to avoid an error.  */
57929 #ifdef __cplusplus
57930 extern "C"
57931 {
57932 #endif
57933 /* We use char because int might match the return type of a gcc2
57934    builtin and then its argument prototype would still apply.  */
57935 char $ac_func ();
57936 /* The GNU C library defines this for functions which it implements
57937     to always fail with ENOSYS.  Some functions are actually named
57938     something starting with __ and the normal name is an alias.  */
57939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57940 choke me
57941 #else
57942 char (*f) () = $ac_func;
57943 #endif
57944 #ifdef __cplusplus
57945 }
57946 #endif
57947
57948 int
57949 main ()
57950 {
57951 return f != $ac_func;
57952   ;
57953   return 0;
57954 }
57955 _ACEOF
57956 rm -f conftest.$ac_objext conftest$ac_exeext
57957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57958   (eval $ac_link) 2>conftest.er1
57959   ac_status=$?
57960   grep -v '^ *+' conftest.er1 >conftest.err
57961   rm -f conftest.er1
57962   cat conftest.err >&5
57963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57964   (exit $ac_status); } &&
57965          { ac_try='test -z "$ac_c_werror_flag"
57966                          || test ! -s conftest.err'
57967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57968   (eval $ac_try) 2>&5
57969   ac_status=$?
57970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57971   (exit $ac_status); }; } &&
57972          { ac_try='test -s conftest$ac_exeext'
57973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57974   (eval $ac_try) 2>&5
57975   ac_status=$?
57976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57977   (exit $ac_status); }; }; then
57978   eval "$as_ac_var=yes"
57979 else
57980   echo "$as_me: failed program was:" >&5
57981 sed 's/^/| /' conftest.$ac_ext >&5
57982
57983 eval "$as_ac_var=no"
57984 fi
57985 rm -f conftest.err conftest.$ac_objext \
57986       conftest$ac_exeext conftest.$ac_ext
57987 fi
57988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57990 if test `eval echo '${'$as_ac_var'}'` = yes; then
57991   cat >>confdefs.h <<_ACEOF
57992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57993 _ACEOF
57994
57995 fi
57996 done
57997
57998   else
57999
58000   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
58001 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
58002   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58003     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
58004   echo $ECHO_N "(cached) $ECHO_C" >&6
58005 else
58006
58007
58008
58009       ac_ext=cc
58010 ac_cpp='$CXXCPP $CPPFLAGS'
58011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58014
58015       cat >conftest.$ac_ext <<_ACEOF
58016 /* confdefs.h.  */
58017 _ACEOF
58018 cat confdefs.h >>conftest.$ac_ext
58019 cat >>conftest.$ac_ext <<_ACEOF
58020 /* end confdefs.h.  */
58021 #include <math.h>
58022 int
58023 main ()
58024 {
58025  _ldexpl(0, 0);
58026   ;
58027   return 0;
58028 }
58029 _ACEOF
58030 rm -f conftest.$ac_objext
58031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58032   (eval $ac_compile) 2>conftest.er1
58033   ac_status=$?
58034   grep -v '^ *+' conftest.er1 >conftest.err
58035   rm -f conftest.er1
58036   cat conftest.err >&5
58037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58038   (exit $ac_status); } &&
58039          { ac_try='test -z "$ac_cxx_werror_flag"
58040                          || test ! -s conftest.err'
58041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58042   (eval $ac_try) 2>&5
58043   ac_status=$?
58044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58045   (exit $ac_status); }; } &&
58046          { ac_try='test -s conftest.$ac_objext'
58047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58048   (eval $ac_try) 2>&5
58049   ac_status=$?
58050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58051   (exit $ac_status); }; }; then
58052   glibcxx_cv_func__ldexpl_use=yes
58053 else
58054   echo "$as_me: failed program was:" >&5
58055 sed 's/^/| /' conftest.$ac_ext >&5
58056
58057 glibcxx_cv_func__ldexpl_use=no
58058 fi
58059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58060       ac_ext=c
58061 ac_cpp='$CPP $CPPFLAGS'
58062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58065
58066
58067 fi
58068
58069   fi
58070   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
58071 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
58072
58073     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58074
58075 for ac_func in _ldexpl
58076 do
58077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58078 echo "$as_me:$LINENO: checking for $ac_func" >&5
58079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58080 if eval "test \"\${$as_ac_var+set}\" = set"; then
58081   echo $ECHO_N "(cached) $ECHO_C" >&6
58082 else
58083   if test x$gcc_no_link = xyes; then
58084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58086    { (exit 1); exit 1; }; }
58087 fi
58088 cat >conftest.$ac_ext <<_ACEOF
58089 /* confdefs.h.  */
58090 _ACEOF
58091 cat confdefs.h >>conftest.$ac_ext
58092 cat >>conftest.$ac_ext <<_ACEOF
58093 /* end confdefs.h.  */
58094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58095    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58096 #define $ac_func innocuous_$ac_func
58097
58098 /* System header to define __stub macros and hopefully few prototypes,
58099     which can conflict with char $ac_func (); below.
58100     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58101     <limits.h> exists even on freestanding compilers.  */
58102
58103 #ifdef __STDC__
58104 # include <limits.h>
58105 #else
58106 # include <assert.h>
58107 #endif
58108
58109 #undef $ac_func
58110
58111 /* Override any gcc2 internal prototype to avoid an error.  */
58112 #ifdef __cplusplus
58113 extern "C"
58114 {
58115 #endif
58116 /* We use char because int might match the return type of a gcc2
58117    builtin and then its argument prototype would still apply.  */
58118 char $ac_func ();
58119 /* The GNU C library defines this for functions which it implements
58120     to always fail with ENOSYS.  Some functions are actually named
58121     something starting with __ and the normal name is an alias.  */
58122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58123 choke me
58124 #else
58125 char (*f) () = $ac_func;
58126 #endif
58127 #ifdef __cplusplus
58128 }
58129 #endif
58130
58131 int
58132 main ()
58133 {
58134 return f != $ac_func;
58135   ;
58136   return 0;
58137 }
58138 _ACEOF
58139 rm -f conftest.$ac_objext conftest$ac_exeext
58140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58141   (eval $ac_link) 2>conftest.er1
58142   ac_status=$?
58143   grep -v '^ *+' conftest.er1 >conftest.err
58144   rm -f conftest.er1
58145   cat conftest.err >&5
58146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58147   (exit $ac_status); } &&
58148          { ac_try='test -z "$ac_c_werror_flag"
58149                          || test ! -s conftest.err'
58150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58151   (eval $ac_try) 2>&5
58152   ac_status=$?
58153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58154   (exit $ac_status); }; } &&
58155          { ac_try='test -s conftest$ac_exeext'
58156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58157   (eval $ac_try) 2>&5
58158   ac_status=$?
58159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58160   (exit $ac_status); }; }; then
58161   eval "$as_ac_var=yes"
58162 else
58163   echo "$as_me: failed program was:" >&5
58164 sed 's/^/| /' conftest.$ac_ext >&5
58165
58166 eval "$as_ac_var=no"
58167 fi
58168 rm -f conftest.err conftest.$ac_objext \
58169       conftest$ac_exeext conftest.$ac_ext
58170 fi
58171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58173 if test `eval echo '${'$as_ac_var'}'` = yes; then
58174   cat >>confdefs.h <<_ACEOF
58175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58176 _ACEOF
58177
58178 fi
58179 done
58180
58181     fi
58182   fi
58183
58184
58185
58186
58187
58188
58189   echo "$as_me:$LINENO: checking for logl declaration" >&5
58190 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
58191   if test x${glibcxx_cv_func_logl_use+set} != xset; then
58192     if test "${glibcxx_cv_func_logl_use+set}" = set; then
58193   echo $ECHO_N "(cached) $ECHO_C" >&6
58194 else
58195
58196
58197
58198       ac_ext=cc
58199 ac_cpp='$CXXCPP $CPPFLAGS'
58200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58203
58204       cat >conftest.$ac_ext <<_ACEOF
58205 /* confdefs.h.  */
58206 _ACEOF
58207 cat confdefs.h >>conftest.$ac_ext
58208 cat >>conftest.$ac_ext <<_ACEOF
58209 /* end confdefs.h.  */
58210 #include <math.h>
58211                       #ifdef HAVE_IEEEFP_H
58212                       #include <ieeefp.h>
58213                       #endif
58214
58215 int
58216 main ()
58217 {
58218  logl(0);
58219   ;
58220   return 0;
58221 }
58222 _ACEOF
58223 rm -f conftest.$ac_objext
58224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58225   (eval $ac_compile) 2>conftest.er1
58226   ac_status=$?
58227   grep -v '^ *+' conftest.er1 >conftest.err
58228   rm -f conftest.er1
58229   cat conftest.err >&5
58230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58231   (exit $ac_status); } &&
58232          { ac_try='test -z "$ac_cxx_werror_flag"
58233                          || test ! -s conftest.err'
58234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58235   (eval $ac_try) 2>&5
58236   ac_status=$?
58237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58238   (exit $ac_status); }; } &&
58239          { ac_try='test -s conftest.$ac_objext'
58240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58241   (eval $ac_try) 2>&5
58242   ac_status=$?
58243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58244   (exit $ac_status); }; }; then
58245   glibcxx_cv_func_logl_use=yes
58246 else
58247   echo "$as_me: failed program was:" >&5
58248 sed 's/^/| /' conftest.$ac_ext >&5
58249
58250 glibcxx_cv_func_logl_use=no
58251 fi
58252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58253       ac_ext=c
58254 ac_cpp='$CPP $CPPFLAGS'
58255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58258
58259
58260 fi
58261
58262   fi
58263   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
58264 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
58265
58266   if test x$glibcxx_cv_func_logl_use = x"yes"; then
58267
58268 for ac_func in logl
58269 do
58270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58271 echo "$as_me:$LINENO: checking for $ac_func" >&5
58272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58273 if eval "test \"\${$as_ac_var+set}\" = set"; then
58274   echo $ECHO_N "(cached) $ECHO_C" >&6
58275 else
58276   if test x$gcc_no_link = xyes; then
58277   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58279    { (exit 1); exit 1; }; }
58280 fi
58281 cat >conftest.$ac_ext <<_ACEOF
58282 /* confdefs.h.  */
58283 _ACEOF
58284 cat confdefs.h >>conftest.$ac_ext
58285 cat >>conftest.$ac_ext <<_ACEOF
58286 /* end confdefs.h.  */
58287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58288    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58289 #define $ac_func innocuous_$ac_func
58290
58291 /* System header to define __stub macros and hopefully few prototypes,
58292     which can conflict with char $ac_func (); below.
58293     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58294     <limits.h> exists even on freestanding compilers.  */
58295
58296 #ifdef __STDC__
58297 # include <limits.h>
58298 #else
58299 # include <assert.h>
58300 #endif
58301
58302 #undef $ac_func
58303
58304 /* Override any gcc2 internal prototype to avoid an error.  */
58305 #ifdef __cplusplus
58306 extern "C"
58307 {
58308 #endif
58309 /* We use char because int might match the return type of a gcc2
58310    builtin and then its argument prototype would still apply.  */
58311 char $ac_func ();
58312 /* The GNU C library defines this for functions which it implements
58313     to always fail with ENOSYS.  Some functions are actually named
58314     something starting with __ and the normal name is an alias.  */
58315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58316 choke me
58317 #else
58318 char (*f) () = $ac_func;
58319 #endif
58320 #ifdef __cplusplus
58321 }
58322 #endif
58323
58324 int
58325 main ()
58326 {
58327 return f != $ac_func;
58328   ;
58329   return 0;
58330 }
58331 _ACEOF
58332 rm -f conftest.$ac_objext conftest$ac_exeext
58333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58334   (eval $ac_link) 2>conftest.er1
58335   ac_status=$?
58336   grep -v '^ *+' conftest.er1 >conftest.err
58337   rm -f conftest.er1
58338   cat conftest.err >&5
58339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58340   (exit $ac_status); } &&
58341          { ac_try='test -z "$ac_c_werror_flag"
58342                          || test ! -s conftest.err'
58343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58344   (eval $ac_try) 2>&5
58345   ac_status=$?
58346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58347   (exit $ac_status); }; } &&
58348          { ac_try='test -s conftest$ac_exeext'
58349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58350   (eval $ac_try) 2>&5
58351   ac_status=$?
58352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58353   (exit $ac_status); }; }; then
58354   eval "$as_ac_var=yes"
58355 else
58356   echo "$as_me: failed program was:" >&5
58357 sed 's/^/| /' conftest.$ac_ext >&5
58358
58359 eval "$as_ac_var=no"
58360 fi
58361 rm -f conftest.err conftest.$ac_objext \
58362       conftest$ac_exeext conftest.$ac_ext
58363 fi
58364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58366 if test `eval echo '${'$as_ac_var'}'` = yes; then
58367   cat >>confdefs.h <<_ACEOF
58368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58369 _ACEOF
58370
58371 fi
58372 done
58373
58374   else
58375
58376   echo "$as_me:$LINENO: checking for _logl declaration" >&5
58377 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
58378   if test x${glibcxx_cv_func__logl_use+set} != xset; then
58379     if test "${glibcxx_cv_func__logl_use+set}" = set; then
58380   echo $ECHO_N "(cached) $ECHO_C" >&6
58381 else
58382
58383
58384
58385       ac_ext=cc
58386 ac_cpp='$CXXCPP $CPPFLAGS'
58387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58390
58391       cat >conftest.$ac_ext <<_ACEOF
58392 /* confdefs.h.  */
58393 _ACEOF
58394 cat confdefs.h >>conftest.$ac_ext
58395 cat >>conftest.$ac_ext <<_ACEOF
58396 /* end confdefs.h.  */
58397 #include <math.h>
58398                       #ifdef HAVE_IEEEFP_H
58399                       #include <ieeefp.h>
58400                       #endif
58401
58402 int
58403 main ()
58404 {
58405  _logl(0);
58406   ;
58407   return 0;
58408 }
58409 _ACEOF
58410 rm -f conftest.$ac_objext
58411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58412   (eval $ac_compile) 2>conftest.er1
58413   ac_status=$?
58414   grep -v '^ *+' conftest.er1 >conftest.err
58415   rm -f conftest.er1
58416   cat conftest.err >&5
58417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58418   (exit $ac_status); } &&
58419          { ac_try='test -z "$ac_cxx_werror_flag"
58420                          || test ! -s conftest.err'
58421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58422   (eval $ac_try) 2>&5
58423   ac_status=$?
58424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58425   (exit $ac_status); }; } &&
58426          { ac_try='test -s conftest.$ac_objext'
58427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58428   (eval $ac_try) 2>&5
58429   ac_status=$?
58430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58431   (exit $ac_status); }; }; then
58432   glibcxx_cv_func__logl_use=yes
58433 else
58434   echo "$as_me: failed program was:" >&5
58435 sed 's/^/| /' conftest.$ac_ext >&5
58436
58437 glibcxx_cv_func__logl_use=no
58438 fi
58439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58440       ac_ext=c
58441 ac_cpp='$CPP $CPPFLAGS'
58442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58445
58446
58447 fi
58448
58449   fi
58450   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
58451 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
58452
58453     if test x$glibcxx_cv_func__logl_use = x"yes"; then
58454
58455 for ac_func in _logl
58456 do
58457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58458 echo "$as_me:$LINENO: checking for $ac_func" >&5
58459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58460 if eval "test \"\${$as_ac_var+set}\" = set"; then
58461   echo $ECHO_N "(cached) $ECHO_C" >&6
58462 else
58463   if test x$gcc_no_link = xyes; then
58464   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58466    { (exit 1); exit 1; }; }
58467 fi
58468 cat >conftest.$ac_ext <<_ACEOF
58469 /* confdefs.h.  */
58470 _ACEOF
58471 cat confdefs.h >>conftest.$ac_ext
58472 cat >>conftest.$ac_ext <<_ACEOF
58473 /* end confdefs.h.  */
58474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58475    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58476 #define $ac_func innocuous_$ac_func
58477
58478 /* System header to define __stub macros and hopefully few prototypes,
58479     which can conflict with char $ac_func (); below.
58480     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58481     <limits.h> exists even on freestanding compilers.  */
58482
58483 #ifdef __STDC__
58484 # include <limits.h>
58485 #else
58486 # include <assert.h>
58487 #endif
58488
58489 #undef $ac_func
58490
58491 /* Override any gcc2 internal prototype to avoid an error.  */
58492 #ifdef __cplusplus
58493 extern "C"
58494 {
58495 #endif
58496 /* We use char because int might match the return type of a gcc2
58497    builtin and then its argument prototype would still apply.  */
58498 char $ac_func ();
58499 /* The GNU C library defines this for functions which it implements
58500     to always fail with ENOSYS.  Some functions are actually named
58501     something starting with __ and the normal name is an alias.  */
58502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58503 choke me
58504 #else
58505 char (*f) () = $ac_func;
58506 #endif
58507 #ifdef __cplusplus
58508 }
58509 #endif
58510
58511 int
58512 main ()
58513 {
58514 return f != $ac_func;
58515   ;
58516   return 0;
58517 }
58518 _ACEOF
58519 rm -f conftest.$ac_objext conftest$ac_exeext
58520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58521   (eval $ac_link) 2>conftest.er1
58522   ac_status=$?
58523   grep -v '^ *+' conftest.er1 >conftest.err
58524   rm -f conftest.er1
58525   cat conftest.err >&5
58526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58527   (exit $ac_status); } &&
58528          { ac_try='test -z "$ac_c_werror_flag"
58529                          || test ! -s conftest.err'
58530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58531   (eval $ac_try) 2>&5
58532   ac_status=$?
58533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58534   (exit $ac_status); }; } &&
58535          { ac_try='test -s conftest$ac_exeext'
58536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58537   (eval $ac_try) 2>&5
58538   ac_status=$?
58539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58540   (exit $ac_status); }; }; then
58541   eval "$as_ac_var=yes"
58542 else
58543   echo "$as_me: failed program was:" >&5
58544 sed 's/^/| /' conftest.$ac_ext >&5
58545
58546 eval "$as_ac_var=no"
58547 fi
58548 rm -f conftest.err conftest.$ac_objext \
58549       conftest$ac_exeext conftest.$ac_ext
58550 fi
58551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58553 if test `eval echo '${'$as_ac_var'}'` = yes; then
58554   cat >>confdefs.h <<_ACEOF
58555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58556 _ACEOF
58557
58558 fi
58559 done
58560
58561     fi
58562   fi
58563
58564
58565
58566
58567
58568
58569   echo "$as_me:$LINENO: checking for log10l declaration" >&5
58570 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
58571   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58572     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
58573   echo $ECHO_N "(cached) $ECHO_C" >&6
58574 else
58575
58576
58577
58578       ac_ext=cc
58579 ac_cpp='$CXXCPP $CPPFLAGS'
58580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58583
58584       cat >conftest.$ac_ext <<_ACEOF
58585 /* confdefs.h.  */
58586 _ACEOF
58587 cat confdefs.h >>conftest.$ac_ext
58588 cat >>conftest.$ac_ext <<_ACEOF
58589 /* end confdefs.h.  */
58590 #include <math.h>
58591                       #ifdef HAVE_IEEEFP_H
58592                       #include <ieeefp.h>
58593                       #endif
58594
58595 int
58596 main ()
58597 {
58598  log10l(0);
58599   ;
58600   return 0;
58601 }
58602 _ACEOF
58603 rm -f conftest.$ac_objext
58604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58605   (eval $ac_compile) 2>conftest.er1
58606   ac_status=$?
58607   grep -v '^ *+' conftest.er1 >conftest.err
58608   rm -f conftest.er1
58609   cat conftest.err >&5
58610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58611   (exit $ac_status); } &&
58612          { ac_try='test -z "$ac_cxx_werror_flag"
58613                          || test ! -s conftest.err'
58614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58615   (eval $ac_try) 2>&5
58616   ac_status=$?
58617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58618   (exit $ac_status); }; } &&
58619          { ac_try='test -s conftest.$ac_objext'
58620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58621   (eval $ac_try) 2>&5
58622   ac_status=$?
58623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58624   (exit $ac_status); }; }; then
58625   glibcxx_cv_func_log10l_use=yes
58626 else
58627   echo "$as_me: failed program was:" >&5
58628 sed 's/^/| /' conftest.$ac_ext >&5
58629
58630 glibcxx_cv_func_log10l_use=no
58631 fi
58632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58633       ac_ext=c
58634 ac_cpp='$CPP $CPPFLAGS'
58635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58638
58639
58640 fi
58641
58642   fi
58643   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
58644 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
58645
58646   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58647
58648 for ac_func in log10l
58649 do
58650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58651 echo "$as_me:$LINENO: checking for $ac_func" >&5
58652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58653 if eval "test \"\${$as_ac_var+set}\" = set"; then
58654   echo $ECHO_N "(cached) $ECHO_C" >&6
58655 else
58656   if test x$gcc_no_link = xyes; then
58657   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58659    { (exit 1); exit 1; }; }
58660 fi
58661 cat >conftest.$ac_ext <<_ACEOF
58662 /* confdefs.h.  */
58663 _ACEOF
58664 cat confdefs.h >>conftest.$ac_ext
58665 cat >>conftest.$ac_ext <<_ACEOF
58666 /* end confdefs.h.  */
58667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58668    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58669 #define $ac_func innocuous_$ac_func
58670
58671 /* System header to define __stub macros and hopefully few prototypes,
58672     which can conflict with char $ac_func (); below.
58673     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58674     <limits.h> exists even on freestanding compilers.  */
58675
58676 #ifdef __STDC__
58677 # include <limits.h>
58678 #else
58679 # include <assert.h>
58680 #endif
58681
58682 #undef $ac_func
58683
58684 /* Override any gcc2 internal prototype to avoid an error.  */
58685 #ifdef __cplusplus
58686 extern "C"
58687 {
58688 #endif
58689 /* We use char because int might match the return type of a gcc2
58690    builtin and then its argument prototype would still apply.  */
58691 char $ac_func ();
58692 /* The GNU C library defines this for functions which it implements
58693     to always fail with ENOSYS.  Some functions are actually named
58694     something starting with __ and the normal name is an alias.  */
58695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58696 choke me
58697 #else
58698 char (*f) () = $ac_func;
58699 #endif
58700 #ifdef __cplusplus
58701 }
58702 #endif
58703
58704 int
58705 main ()
58706 {
58707 return f != $ac_func;
58708   ;
58709   return 0;
58710 }
58711 _ACEOF
58712 rm -f conftest.$ac_objext conftest$ac_exeext
58713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58714   (eval $ac_link) 2>conftest.er1
58715   ac_status=$?
58716   grep -v '^ *+' conftest.er1 >conftest.err
58717   rm -f conftest.er1
58718   cat conftest.err >&5
58719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58720   (exit $ac_status); } &&
58721          { ac_try='test -z "$ac_c_werror_flag"
58722                          || test ! -s conftest.err'
58723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58724   (eval $ac_try) 2>&5
58725   ac_status=$?
58726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58727   (exit $ac_status); }; } &&
58728          { ac_try='test -s conftest$ac_exeext'
58729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58730   (eval $ac_try) 2>&5
58731   ac_status=$?
58732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58733   (exit $ac_status); }; }; then
58734   eval "$as_ac_var=yes"
58735 else
58736   echo "$as_me: failed program was:" >&5
58737 sed 's/^/| /' conftest.$ac_ext >&5
58738
58739 eval "$as_ac_var=no"
58740 fi
58741 rm -f conftest.err conftest.$ac_objext \
58742       conftest$ac_exeext conftest.$ac_ext
58743 fi
58744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58746 if test `eval echo '${'$as_ac_var'}'` = yes; then
58747   cat >>confdefs.h <<_ACEOF
58748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58749 _ACEOF
58750
58751 fi
58752 done
58753
58754   else
58755
58756   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
58757 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
58758   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58759     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
58760   echo $ECHO_N "(cached) $ECHO_C" >&6
58761 else
58762
58763
58764
58765       ac_ext=cc
58766 ac_cpp='$CXXCPP $CPPFLAGS'
58767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58770
58771       cat >conftest.$ac_ext <<_ACEOF
58772 /* confdefs.h.  */
58773 _ACEOF
58774 cat confdefs.h >>conftest.$ac_ext
58775 cat >>conftest.$ac_ext <<_ACEOF
58776 /* end confdefs.h.  */
58777 #include <math.h>
58778                       #ifdef HAVE_IEEEFP_H
58779                       #include <ieeefp.h>
58780                       #endif
58781
58782 int
58783 main ()
58784 {
58785  _log10l(0);
58786   ;
58787   return 0;
58788 }
58789 _ACEOF
58790 rm -f conftest.$ac_objext
58791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58792   (eval $ac_compile) 2>conftest.er1
58793   ac_status=$?
58794   grep -v '^ *+' conftest.er1 >conftest.err
58795   rm -f conftest.er1
58796   cat conftest.err >&5
58797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58798   (exit $ac_status); } &&
58799          { ac_try='test -z "$ac_cxx_werror_flag"
58800                          || test ! -s conftest.err'
58801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58802   (eval $ac_try) 2>&5
58803   ac_status=$?
58804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58805   (exit $ac_status); }; } &&
58806          { ac_try='test -s conftest.$ac_objext'
58807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58808   (eval $ac_try) 2>&5
58809   ac_status=$?
58810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58811   (exit $ac_status); }; }; then
58812   glibcxx_cv_func__log10l_use=yes
58813 else
58814   echo "$as_me: failed program was:" >&5
58815 sed 's/^/| /' conftest.$ac_ext >&5
58816
58817 glibcxx_cv_func__log10l_use=no
58818 fi
58819 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58820       ac_ext=c
58821 ac_cpp='$CPP $CPPFLAGS'
58822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58825
58826
58827 fi
58828
58829   fi
58830   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
58831 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
58832
58833     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58834
58835 for ac_func in _log10l
58836 do
58837 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58838 echo "$as_me:$LINENO: checking for $ac_func" >&5
58839 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58840 if eval "test \"\${$as_ac_var+set}\" = set"; then
58841   echo $ECHO_N "(cached) $ECHO_C" >&6
58842 else
58843   if test x$gcc_no_link = xyes; then
58844   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58846    { (exit 1); exit 1; }; }
58847 fi
58848 cat >conftest.$ac_ext <<_ACEOF
58849 /* confdefs.h.  */
58850 _ACEOF
58851 cat confdefs.h >>conftest.$ac_ext
58852 cat >>conftest.$ac_ext <<_ACEOF
58853 /* end confdefs.h.  */
58854 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58855    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58856 #define $ac_func innocuous_$ac_func
58857
58858 /* System header to define __stub macros and hopefully few prototypes,
58859     which can conflict with char $ac_func (); below.
58860     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58861     <limits.h> exists even on freestanding compilers.  */
58862
58863 #ifdef __STDC__
58864 # include <limits.h>
58865 #else
58866 # include <assert.h>
58867 #endif
58868
58869 #undef $ac_func
58870
58871 /* Override any gcc2 internal prototype to avoid an error.  */
58872 #ifdef __cplusplus
58873 extern "C"
58874 {
58875 #endif
58876 /* We use char because int might match the return type of a gcc2
58877    builtin and then its argument prototype would still apply.  */
58878 char $ac_func ();
58879 /* The GNU C library defines this for functions which it implements
58880     to always fail with ENOSYS.  Some functions are actually named
58881     something starting with __ and the normal name is an alias.  */
58882 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58883 choke me
58884 #else
58885 char (*f) () = $ac_func;
58886 #endif
58887 #ifdef __cplusplus
58888 }
58889 #endif
58890
58891 int
58892 main ()
58893 {
58894 return f != $ac_func;
58895   ;
58896   return 0;
58897 }
58898 _ACEOF
58899 rm -f conftest.$ac_objext conftest$ac_exeext
58900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58901   (eval $ac_link) 2>conftest.er1
58902   ac_status=$?
58903   grep -v '^ *+' conftest.er1 >conftest.err
58904   rm -f conftest.er1
58905   cat conftest.err >&5
58906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58907   (exit $ac_status); } &&
58908          { ac_try='test -z "$ac_c_werror_flag"
58909                          || test ! -s conftest.err'
58910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58911   (eval $ac_try) 2>&5
58912   ac_status=$?
58913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58914   (exit $ac_status); }; } &&
58915          { ac_try='test -s conftest$ac_exeext'
58916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58917   (eval $ac_try) 2>&5
58918   ac_status=$?
58919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58920   (exit $ac_status); }; }; then
58921   eval "$as_ac_var=yes"
58922 else
58923   echo "$as_me: failed program was:" >&5
58924 sed 's/^/| /' conftest.$ac_ext >&5
58925
58926 eval "$as_ac_var=no"
58927 fi
58928 rm -f conftest.err conftest.$ac_objext \
58929       conftest$ac_exeext conftest.$ac_ext
58930 fi
58931 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58932 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58933 if test `eval echo '${'$as_ac_var'}'` = yes; then
58934   cat >>confdefs.h <<_ACEOF
58935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58936 _ACEOF
58937
58938 fi
58939 done
58940
58941     fi
58942   fi
58943
58944
58945
58946
58947
58948
58949   echo "$as_me:$LINENO: checking for modfl declaration" >&5
58950 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
58951   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58952     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
58953   echo $ECHO_N "(cached) $ECHO_C" >&6
58954 else
58955
58956
58957
58958       ac_ext=cc
58959 ac_cpp='$CXXCPP $CPPFLAGS'
58960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58963
58964       cat >conftest.$ac_ext <<_ACEOF
58965 /* confdefs.h.  */
58966 _ACEOF
58967 cat confdefs.h >>conftest.$ac_ext
58968 cat >>conftest.$ac_ext <<_ACEOF
58969 /* end confdefs.h.  */
58970 #include <math.h>
58971 int
58972 main ()
58973 {
58974  modfl(0, 0);
58975   ;
58976   return 0;
58977 }
58978 _ACEOF
58979 rm -f conftest.$ac_objext
58980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58981   (eval $ac_compile) 2>conftest.er1
58982   ac_status=$?
58983   grep -v '^ *+' conftest.er1 >conftest.err
58984   rm -f conftest.er1
58985   cat conftest.err >&5
58986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58987   (exit $ac_status); } &&
58988          { ac_try='test -z "$ac_cxx_werror_flag"
58989                          || test ! -s conftest.err'
58990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58991   (eval $ac_try) 2>&5
58992   ac_status=$?
58993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58994   (exit $ac_status); }; } &&
58995          { ac_try='test -s conftest.$ac_objext'
58996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58997   (eval $ac_try) 2>&5
58998   ac_status=$?
58999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59000   (exit $ac_status); }; }; then
59001   glibcxx_cv_func_modfl_use=yes
59002 else
59003   echo "$as_me: failed program was:" >&5
59004 sed 's/^/| /' conftest.$ac_ext >&5
59005
59006 glibcxx_cv_func_modfl_use=no
59007 fi
59008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59009       ac_ext=c
59010 ac_cpp='$CPP $CPPFLAGS'
59011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59014
59015
59016 fi
59017
59018   fi
59019   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
59020 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
59021
59022   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59023
59024 for ac_func in modfl
59025 do
59026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59027 echo "$as_me:$LINENO: checking for $ac_func" >&5
59028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59029 if eval "test \"\${$as_ac_var+set}\" = set"; then
59030   echo $ECHO_N "(cached) $ECHO_C" >&6
59031 else
59032   if test x$gcc_no_link = xyes; then
59033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59035    { (exit 1); exit 1; }; }
59036 fi
59037 cat >conftest.$ac_ext <<_ACEOF
59038 /* confdefs.h.  */
59039 _ACEOF
59040 cat confdefs.h >>conftest.$ac_ext
59041 cat >>conftest.$ac_ext <<_ACEOF
59042 /* end confdefs.h.  */
59043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59044    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59045 #define $ac_func innocuous_$ac_func
59046
59047 /* System header to define __stub macros and hopefully few prototypes,
59048     which can conflict with char $ac_func (); below.
59049     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59050     <limits.h> exists even on freestanding compilers.  */
59051
59052 #ifdef __STDC__
59053 # include <limits.h>
59054 #else
59055 # include <assert.h>
59056 #endif
59057
59058 #undef $ac_func
59059
59060 /* Override any gcc2 internal prototype to avoid an error.  */
59061 #ifdef __cplusplus
59062 extern "C"
59063 {
59064 #endif
59065 /* We use char because int might match the return type of a gcc2
59066    builtin and then its argument prototype would still apply.  */
59067 char $ac_func ();
59068 /* The GNU C library defines this for functions which it implements
59069     to always fail with ENOSYS.  Some functions are actually named
59070     something starting with __ and the normal name is an alias.  */
59071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59072 choke me
59073 #else
59074 char (*f) () = $ac_func;
59075 #endif
59076 #ifdef __cplusplus
59077 }
59078 #endif
59079
59080 int
59081 main ()
59082 {
59083 return f != $ac_func;
59084   ;
59085   return 0;
59086 }
59087 _ACEOF
59088 rm -f conftest.$ac_objext conftest$ac_exeext
59089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59090   (eval $ac_link) 2>conftest.er1
59091   ac_status=$?
59092   grep -v '^ *+' conftest.er1 >conftest.err
59093   rm -f conftest.er1
59094   cat conftest.err >&5
59095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59096   (exit $ac_status); } &&
59097          { ac_try='test -z "$ac_c_werror_flag"
59098                          || test ! -s conftest.err'
59099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59100   (eval $ac_try) 2>&5
59101   ac_status=$?
59102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59103   (exit $ac_status); }; } &&
59104          { ac_try='test -s conftest$ac_exeext'
59105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59106   (eval $ac_try) 2>&5
59107   ac_status=$?
59108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59109   (exit $ac_status); }; }; then
59110   eval "$as_ac_var=yes"
59111 else
59112   echo "$as_me: failed program was:" >&5
59113 sed 's/^/| /' conftest.$ac_ext >&5
59114
59115 eval "$as_ac_var=no"
59116 fi
59117 rm -f conftest.err conftest.$ac_objext \
59118       conftest$ac_exeext conftest.$ac_ext
59119 fi
59120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59122 if test `eval echo '${'$as_ac_var'}'` = yes; then
59123   cat >>confdefs.h <<_ACEOF
59124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59125 _ACEOF
59126
59127 fi
59128 done
59129
59130   else
59131
59132   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
59133 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
59134   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59135     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
59136   echo $ECHO_N "(cached) $ECHO_C" >&6
59137 else
59138
59139
59140
59141       ac_ext=cc
59142 ac_cpp='$CXXCPP $CPPFLAGS'
59143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59146
59147       cat >conftest.$ac_ext <<_ACEOF
59148 /* confdefs.h.  */
59149 _ACEOF
59150 cat confdefs.h >>conftest.$ac_ext
59151 cat >>conftest.$ac_ext <<_ACEOF
59152 /* end confdefs.h.  */
59153 #include <math.h>
59154 int
59155 main ()
59156 {
59157  _modfl(0, 0);
59158   ;
59159   return 0;
59160 }
59161 _ACEOF
59162 rm -f conftest.$ac_objext
59163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59164   (eval $ac_compile) 2>conftest.er1
59165   ac_status=$?
59166   grep -v '^ *+' conftest.er1 >conftest.err
59167   rm -f conftest.er1
59168   cat conftest.err >&5
59169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59170   (exit $ac_status); } &&
59171          { ac_try='test -z "$ac_cxx_werror_flag"
59172                          || test ! -s conftest.err'
59173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59174   (eval $ac_try) 2>&5
59175   ac_status=$?
59176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59177   (exit $ac_status); }; } &&
59178          { ac_try='test -s conftest.$ac_objext'
59179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59180   (eval $ac_try) 2>&5
59181   ac_status=$?
59182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59183   (exit $ac_status); }; }; then
59184   glibcxx_cv_func__modfl_use=yes
59185 else
59186   echo "$as_me: failed program was:" >&5
59187 sed 's/^/| /' conftest.$ac_ext >&5
59188
59189 glibcxx_cv_func__modfl_use=no
59190 fi
59191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59192       ac_ext=c
59193 ac_cpp='$CPP $CPPFLAGS'
59194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59197
59198
59199 fi
59200
59201   fi
59202   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
59203 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
59204
59205     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59206
59207 for ac_func in _modfl
59208 do
59209 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59210 echo "$as_me:$LINENO: checking for $ac_func" >&5
59211 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59212 if eval "test \"\${$as_ac_var+set}\" = set"; then
59213   echo $ECHO_N "(cached) $ECHO_C" >&6
59214 else
59215   if test x$gcc_no_link = xyes; then
59216   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59217 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59218    { (exit 1); exit 1; }; }
59219 fi
59220 cat >conftest.$ac_ext <<_ACEOF
59221 /* confdefs.h.  */
59222 _ACEOF
59223 cat confdefs.h >>conftest.$ac_ext
59224 cat >>conftest.$ac_ext <<_ACEOF
59225 /* end confdefs.h.  */
59226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59227    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59228 #define $ac_func innocuous_$ac_func
59229
59230 /* System header to define __stub macros and hopefully few prototypes,
59231     which can conflict with char $ac_func (); below.
59232     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59233     <limits.h> exists even on freestanding compilers.  */
59234
59235 #ifdef __STDC__
59236 # include <limits.h>
59237 #else
59238 # include <assert.h>
59239 #endif
59240
59241 #undef $ac_func
59242
59243 /* Override any gcc2 internal prototype to avoid an error.  */
59244 #ifdef __cplusplus
59245 extern "C"
59246 {
59247 #endif
59248 /* We use char because int might match the return type of a gcc2
59249    builtin and then its argument prototype would still apply.  */
59250 char $ac_func ();
59251 /* The GNU C library defines this for functions which it implements
59252     to always fail with ENOSYS.  Some functions are actually named
59253     something starting with __ and the normal name is an alias.  */
59254 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59255 choke me
59256 #else
59257 char (*f) () = $ac_func;
59258 #endif
59259 #ifdef __cplusplus
59260 }
59261 #endif
59262
59263 int
59264 main ()
59265 {
59266 return f != $ac_func;
59267   ;
59268   return 0;
59269 }
59270 _ACEOF
59271 rm -f conftest.$ac_objext conftest$ac_exeext
59272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59273   (eval $ac_link) 2>conftest.er1
59274   ac_status=$?
59275   grep -v '^ *+' conftest.er1 >conftest.err
59276   rm -f conftest.er1
59277   cat conftest.err >&5
59278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59279   (exit $ac_status); } &&
59280          { ac_try='test -z "$ac_c_werror_flag"
59281                          || test ! -s conftest.err'
59282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59283   (eval $ac_try) 2>&5
59284   ac_status=$?
59285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59286   (exit $ac_status); }; } &&
59287          { ac_try='test -s conftest$ac_exeext'
59288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59289   (eval $ac_try) 2>&5
59290   ac_status=$?
59291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59292   (exit $ac_status); }; }; then
59293   eval "$as_ac_var=yes"
59294 else
59295   echo "$as_me: failed program was:" >&5
59296 sed 's/^/| /' conftest.$ac_ext >&5
59297
59298 eval "$as_ac_var=no"
59299 fi
59300 rm -f conftest.err conftest.$ac_objext \
59301       conftest$ac_exeext conftest.$ac_ext
59302 fi
59303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59304 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59305 if test `eval echo '${'$as_ac_var'}'` = yes; then
59306   cat >>confdefs.h <<_ACEOF
59307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59308 _ACEOF
59309
59310 fi
59311 done
59312
59313     fi
59314   fi
59315
59316
59317
59318
59319
59320
59321   echo "$as_me:$LINENO: checking for powl declaration" >&5
59322 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
59323   if test x${glibcxx_cv_func_powl_use+set} != xset; then
59324     if test "${glibcxx_cv_func_powl_use+set}" = set; then
59325   echo $ECHO_N "(cached) $ECHO_C" >&6
59326 else
59327
59328
59329
59330       ac_ext=cc
59331 ac_cpp='$CXXCPP $CPPFLAGS'
59332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59335
59336       cat >conftest.$ac_ext <<_ACEOF
59337 /* confdefs.h.  */
59338 _ACEOF
59339 cat confdefs.h >>conftest.$ac_ext
59340 cat >>conftest.$ac_ext <<_ACEOF
59341 /* end confdefs.h.  */
59342 #include <math.h>
59343 int
59344 main ()
59345 {
59346  powl(0, 0);
59347   ;
59348   return 0;
59349 }
59350 _ACEOF
59351 rm -f conftest.$ac_objext
59352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59353   (eval $ac_compile) 2>conftest.er1
59354   ac_status=$?
59355   grep -v '^ *+' conftest.er1 >conftest.err
59356   rm -f conftest.er1
59357   cat conftest.err >&5
59358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59359   (exit $ac_status); } &&
59360          { ac_try='test -z "$ac_cxx_werror_flag"
59361                          || test ! -s conftest.err'
59362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59363   (eval $ac_try) 2>&5
59364   ac_status=$?
59365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59366   (exit $ac_status); }; } &&
59367          { ac_try='test -s conftest.$ac_objext'
59368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59369   (eval $ac_try) 2>&5
59370   ac_status=$?
59371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59372   (exit $ac_status); }; }; then
59373   glibcxx_cv_func_powl_use=yes
59374 else
59375   echo "$as_me: failed program was:" >&5
59376 sed 's/^/| /' conftest.$ac_ext >&5
59377
59378 glibcxx_cv_func_powl_use=no
59379 fi
59380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59381       ac_ext=c
59382 ac_cpp='$CPP $CPPFLAGS'
59383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59386
59387
59388 fi
59389
59390   fi
59391   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
59392 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
59393
59394   if test x$glibcxx_cv_func_powl_use = x"yes"; then
59395
59396 for ac_func in powl
59397 do
59398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59399 echo "$as_me:$LINENO: checking for $ac_func" >&5
59400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59401 if eval "test \"\${$as_ac_var+set}\" = set"; then
59402   echo $ECHO_N "(cached) $ECHO_C" >&6
59403 else
59404   if test x$gcc_no_link = xyes; then
59405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59407    { (exit 1); exit 1; }; }
59408 fi
59409 cat >conftest.$ac_ext <<_ACEOF
59410 /* confdefs.h.  */
59411 _ACEOF
59412 cat confdefs.h >>conftest.$ac_ext
59413 cat >>conftest.$ac_ext <<_ACEOF
59414 /* end confdefs.h.  */
59415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59416    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59417 #define $ac_func innocuous_$ac_func
59418
59419 /* System header to define __stub macros and hopefully few prototypes,
59420     which can conflict with char $ac_func (); below.
59421     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59422     <limits.h> exists even on freestanding compilers.  */
59423
59424 #ifdef __STDC__
59425 # include <limits.h>
59426 #else
59427 # include <assert.h>
59428 #endif
59429
59430 #undef $ac_func
59431
59432 /* Override any gcc2 internal prototype to avoid an error.  */
59433 #ifdef __cplusplus
59434 extern "C"
59435 {
59436 #endif
59437 /* We use char because int might match the return type of a gcc2
59438    builtin and then its argument prototype would still apply.  */
59439 char $ac_func ();
59440 /* The GNU C library defines this for functions which it implements
59441     to always fail with ENOSYS.  Some functions are actually named
59442     something starting with __ and the normal name is an alias.  */
59443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59444 choke me
59445 #else
59446 char (*f) () = $ac_func;
59447 #endif
59448 #ifdef __cplusplus
59449 }
59450 #endif
59451
59452 int
59453 main ()
59454 {
59455 return f != $ac_func;
59456   ;
59457   return 0;
59458 }
59459 _ACEOF
59460 rm -f conftest.$ac_objext conftest$ac_exeext
59461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59462   (eval $ac_link) 2>conftest.er1
59463   ac_status=$?
59464   grep -v '^ *+' conftest.er1 >conftest.err
59465   rm -f conftest.er1
59466   cat conftest.err >&5
59467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59468   (exit $ac_status); } &&
59469          { ac_try='test -z "$ac_c_werror_flag"
59470                          || test ! -s conftest.err'
59471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59472   (eval $ac_try) 2>&5
59473   ac_status=$?
59474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59475   (exit $ac_status); }; } &&
59476          { ac_try='test -s conftest$ac_exeext'
59477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59478   (eval $ac_try) 2>&5
59479   ac_status=$?
59480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59481   (exit $ac_status); }; }; then
59482   eval "$as_ac_var=yes"
59483 else
59484   echo "$as_me: failed program was:" >&5
59485 sed 's/^/| /' conftest.$ac_ext >&5
59486
59487 eval "$as_ac_var=no"
59488 fi
59489 rm -f conftest.err conftest.$ac_objext \
59490       conftest$ac_exeext conftest.$ac_ext
59491 fi
59492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59494 if test `eval echo '${'$as_ac_var'}'` = yes; then
59495   cat >>confdefs.h <<_ACEOF
59496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59497 _ACEOF
59498
59499 fi
59500 done
59501
59502   else
59503
59504   echo "$as_me:$LINENO: checking for _powl declaration" >&5
59505 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
59506   if test x${glibcxx_cv_func__powl_use+set} != xset; then
59507     if test "${glibcxx_cv_func__powl_use+set}" = set; then
59508   echo $ECHO_N "(cached) $ECHO_C" >&6
59509 else
59510
59511
59512
59513       ac_ext=cc
59514 ac_cpp='$CXXCPP $CPPFLAGS'
59515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59518
59519       cat >conftest.$ac_ext <<_ACEOF
59520 /* confdefs.h.  */
59521 _ACEOF
59522 cat confdefs.h >>conftest.$ac_ext
59523 cat >>conftest.$ac_ext <<_ACEOF
59524 /* end confdefs.h.  */
59525 #include <math.h>
59526 int
59527 main ()
59528 {
59529  _powl(0, 0);
59530   ;
59531   return 0;
59532 }
59533 _ACEOF
59534 rm -f conftest.$ac_objext
59535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59536   (eval $ac_compile) 2>conftest.er1
59537   ac_status=$?
59538   grep -v '^ *+' conftest.er1 >conftest.err
59539   rm -f conftest.er1
59540   cat conftest.err >&5
59541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59542   (exit $ac_status); } &&
59543          { ac_try='test -z "$ac_cxx_werror_flag"
59544                          || test ! -s conftest.err'
59545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59546   (eval $ac_try) 2>&5
59547   ac_status=$?
59548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59549   (exit $ac_status); }; } &&
59550          { ac_try='test -s conftest.$ac_objext'
59551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59552   (eval $ac_try) 2>&5
59553   ac_status=$?
59554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59555   (exit $ac_status); }; }; then
59556   glibcxx_cv_func__powl_use=yes
59557 else
59558   echo "$as_me: failed program was:" >&5
59559 sed 's/^/| /' conftest.$ac_ext >&5
59560
59561 glibcxx_cv_func__powl_use=no
59562 fi
59563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59564       ac_ext=c
59565 ac_cpp='$CPP $CPPFLAGS'
59566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59569
59570
59571 fi
59572
59573   fi
59574   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
59575 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
59576
59577     if test x$glibcxx_cv_func__powl_use = x"yes"; then
59578
59579 for ac_func in _powl
59580 do
59581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59582 echo "$as_me:$LINENO: checking for $ac_func" >&5
59583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59584 if eval "test \"\${$as_ac_var+set}\" = set"; then
59585   echo $ECHO_N "(cached) $ECHO_C" >&6
59586 else
59587   if test x$gcc_no_link = xyes; then
59588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59590    { (exit 1); exit 1; }; }
59591 fi
59592 cat >conftest.$ac_ext <<_ACEOF
59593 /* confdefs.h.  */
59594 _ACEOF
59595 cat confdefs.h >>conftest.$ac_ext
59596 cat >>conftest.$ac_ext <<_ACEOF
59597 /* end confdefs.h.  */
59598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59599    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59600 #define $ac_func innocuous_$ac_func
59601
59602 /* System header to define __stub macros and hopefully few prototypes,
59603     which can conflict with char $ac_func (); below.
59604     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59605     <limits.h> exists even on freestanding compilers.  */
59606
59607 #ifdef __STDC__
59608 # include <limits.h>
59609 #else
59610 # include <assert.h>
59611 #endif
59612
59613 #undef $ac_func
59614
59615 /* Override any gcc2 internal prototype to avoid an error.  */
59616 #ifdef __cplusplus
59617 extern "C"
59618 {
59619 #endif
59620 /* We use char because int might match the return type of a gcc2
59621    builtin and then its argument prototype would still apply.  */
59622 char $ac_func ();
59623 /* The GNU C library defines this for functions which it implements
59624     to always fail with ENOSYS.  Some functions are actually named
59625     something starting with __ and the normal name is an alias.  */
59626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59627 choke me
59628 #else
59629 char (*f) () = $ac_func;
59630 #endif
59631 #ifdef __cplusplus
59632 }
59633 #endif
59634
59635 int
59636 main ()
59637 {
59638 return f != $ac_func;
59639   ;
59640   return 0;
59641 }
59642 _ACEOF
59643 rm -f conftest.$ac_objext conftest$ac_exeext
59644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59645   (eval $ac_link) 2>conftest.er1
59646   ac_status=$?
59647   grep -v '^ *+' conftest.er1 >conftest.err
59648   rm -f conftest.er1
59649   cat conftest.err >&5
59650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59651   (exit $ac_status); } &&
59652          { ac_try='test -z "$ac_c_werror_flag"
59653                          || test ! -s conftest.err'
59654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59655   (eval $ac_try) 2>&5
59656   ac_status=$?
59657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59658   (exit $ac_status); }; } &&
59659          { ac_try='test -s conftest$ac_exeext'
59660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59661   (eval $ac_try) 2>&5
59662   ac_status=$?
59663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59664   (exit $ac_status); }; }; then
59665   eval "$as_ac_var=yes"
59666 else
59667   echo "$as_me: failed program was:" >&5
59668 sed 's/^/| /' conftest.$ac_ext >&5
59669
59670 eval "$as_ac_var=no"
59671 fi
59672 rm -f conftest.err conftest.$ac_objext \
59673       conftest$ac_exeext conftest.$ac_ext
59674 fi
59675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59677 if test `eval echo '${'$as_ac_var'}'` = yes; then
59678   cat >>confdefs.h <<_ACEOF
59679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59680 _ACEOF
59681
59682 fi
59683 done
59684
59685     fi
59686   fi
59687
59688
59689
59690
59691
59692
59693   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
59694 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
59695   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59696     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
59697   echo $ECHO_N "(cached) $ECHO_C" >&6
59698 else
59699
59700
59701
59702       ac_ext=cc
59703 ac_cpp='$CXXCPP $CPPFLAGS'
59704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59707
59708       cat >conftest.$ac_ext <<_ACEOF
59709 /* confdefs.h.  */
59710 _ACEOF
59711 cat confdefs.h >>conftest.$ac_ext
59712 cat >>conftest.$ac_ext <<_ACEOF
59713 /* end confdefs.h.  */
59714 #include <math.h>
59715                       #ifdef HAVE_IEEEFP_H
59716                       #include <ieeefp.h>
59717                       #endif
59718
59719 int
59720 main ()
59721 {
59722  sqrtl(0);
59723   ;
59724   return 0;
59725 }
59726 _ACEOF
59727 rm -f conftest.$ac_objext
59728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59729   (eval $ac_compile) 2>conftest.er1
59730   ac_status=$?
59731   grep -v '^ *+' conftest.er1 >conftest.err
59732   rm -f conftest.er1
59733   cat conftest.err >&5
59734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59735   (exit $ac_status); } &&
59736          { ac_try='test -z "$ac_cxx_werror_flag"
59737                          || test ! -s conftest.err'
59738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59739   (eval $ac_try) 2>&5
59740   ac_status=$?
59741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59742   (exit $ac_status); }; } &&
59743          { ac_try='test -s conftest.$ac_objext'
59744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59745   (eval $ac_try) 2>&5
59746   ac_status=$?
59747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59748   (exit $ac_status); }; }; then
59749   glibcxx_cv_func_sqrtl_use=yes
59750 else
59751   echo "$as_me: failed program was:" >&5
59752 sed 's/^/| /' conftest.$ac_ext >&5
59753
59754 glibcxx_cv_func_sqrtl_use=no
59755 fi
59756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59757       ac_ext=c
59758 ac_cpp='$CPP $CPPFLAGS'
59759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59762
59763
59764 fi
59765
59766   fi
59767   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
59768 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
59769
59770   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59771
59772 for ac_func in sqrtl
59773 do
59774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59775 echo "$as_me:$LINENO: checking for $ac_func" >&5
59776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59777 if eval "test \"\${$as_ac_var+set}\" = set"; then
59778   echo $ECHO_N "(cached) $ECHO_C" >&6
59779 else
59780   if test x$gcc_no_link = xyes; then
59781   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59783    { (exit 1); exit 1; }; }
59784 fi
59785 cat >conftest.$ac_ext <<_ACEOF
59786 /* confdefs.h.  */
59787 _ACEOF
59788 cat confdefs.h >>conftest.$ac_ext
59789 cat >>conftest.$ac_ext <<_ACEOF
59790 /* end confdefs.h.  */
59791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59792    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59793 #define $ac_func innocuous_$ac_func
59794
59795 /* System header to define __stub macros and hopefully few prototypes,
59796     which can conflict with char $ac_func (); below.
59797     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59798     <limits.h> exists even on freestanding compilers.  */
59799
59800 #ifdef __STDC__
59801 # include <limits.h>
59802 #else
59803 # include <assert.h>
59804 #endif
59805
59806 #undef $ac_func
59807
59808 /* Override any gcc2 internal prototype to avoid an error.  */
59809 #ifdef __cplusplus
59810 extern "C"
59811 {
59812 #endif
59813 /* We use char because int might match the return type of a gcc2
59814    builtin and then its argument prototype would still apply.  */
59815 char $ac_func ();
59816 /* The GNU C library defines this for functions which it implements
59817     to always fail with ENOSYS.  Some functions are actually named
59818     something starting with __ and the normal name is an alias.  */
59819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59820 choke me
59821 #else
59822 char (*f) () = $ac_func;
59823 #endif
59824 #ifdef __cplusplus
59825 }
59826 #endif
59827
59828 int
59829 main ()
59830 {
59831 return f != $ac_func;
59832   ;
59833   return 0;
59834 }
59835 _ACEOF
59836 rm -f conftest.$ac_objext conftest$ac_exeext
59837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59838   (eval $ac_link) 2>conftest.er1
59839   ac_status=$?
59840   grep -v '^ *+' conftest.er1 >conftest.err
59841   rm -f conftest.er1
59842   cat conftest.err >&5
59843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59844   (exit $ac_status); } &&
59845          { ac_try='test -z "$ac_c_werror_flag"
59846                          || test ! -s conftest.err'
59847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59848   (eval $ac_try) 2>&5
59849   ac_status=$?
59850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59851   (exit $ac_status); }; } &&
59852          { ac_try='test -s conftest$ac_exeext'
59853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59854   (eval $ac_try) 2>&5
59855   ac_status=$?
59856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59857   (exit $ac_status); }; }; then
59858   eval "$as_ac_var=yes"
59859 else
59860   echo "$as_me: failed program was:" >&5
59861 sed 's/^/| /' conftest.$ac_ext >&5
59862
59863 eval "$as_ac_var=no"
59864 fi
59865 rm -f conftest.err conftest.$ac_objext \
59866       conftest$ac_exeext conftest.$ac_ext
59867 fi
59868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59870 if test `eval echo '${'$as_ac_var'}'` = yes; then
59871   cat >>confdefs.h <<_ACEOF
59872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59873 _ACEOF
59874
59875 fi
59876 done
59877
59878   else
59879
59880   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
59881 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
59882   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59883     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
59884   echo $ECHO_N "(cached) $ECHO_C" >&6
59885 else
59886
59887
59888
59889       ac_ext=cc
59890 ac_cpp='$CXXCPP $CPPFLAGS'
59891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59894
59895       cat >conftest.$ac_ext <<_ACEOF
59896 /* confdefs.h.  */
59897 _ACEOF
59898 cat confdefs.h >>conftest.$ac_ext
59899 cat >>conftest.$ac_ext <<_ACEOF
59900 /* end confdefs.h.  */
59901 #include <math.h>
59902                       #ifdef HAVE_IEEEFP_H
59903                       #include <ieeefp.h>
59904                       #endif
59905
59906 int
59907 main ()
59908 {
59909  _sqrtl(0);
59910   ;
59911   return 0;
59912 }
59913 _ACEOF
59914 rm -f conftest.$ac_objext
59915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59916   (eval $ac_compile) 2>conftest.er1
59917   ac_status=$?
59918   grep -v '^ *+' conftest.er1 >conftest.err
59919   rm -f conftest.er1
59920   cat conftest.err >&5
59921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59922   (exit $ac_status); } &&
59923          { ac_try='test -z "$ac_cxx_werror_flag"
59924                          || test ! -s conftest.err'
59925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59926   (eval $ac_try) 2>&5
59927   ac_status=$?
59928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59929   (exit $ac_status); }; } &&
59930          { ac_try='test -s conftest.$ac_objext'
59931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59932   (eval $ac_try) 2>&5
59933   ac_status=$?
59934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59935   (exit $ac_status); }; }; then
59936   glibcxx_cv_func__sqrtl_use=yes
59937 else
59938   echo "$as_me: failed program was:" >&5
59939 sed 's/^/| /' conftest.$ac_ext >&5
59940
59941 glibcxx_cv_func__sqrtl_use=no
59942 fi
59943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59944       ac_ext=c
59945 ac_cpp='$CPP $CPPFLAGS'
59946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59949
59950
59951 fi
59952
59953   fi
59954   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
59955 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
59956
59957     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59958
59959 for ac_func in _sqrtl
59960 do
59961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59962 echo "$as_me:$LINENO: checking for $ac_func" >&5
59963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59964 if eval "test \"\${$as_ac_var+set}\" = set"; then
59965   echo $ECHO_N "(cached) $ECHO_C" >&6
59966 else
59967   if test x$gcc_no_link = xyes; then
59968   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59970    { (exit 1); exit 1; }; }
59971 fi
59972 cat >conftest.$ac_ext <<_ACEOF
59973 /* confdefs.h.  */
59974 _ACEOF
59975 cat confdefs.h >>conftest.$ac_ext
59976 cat >>conftest.$ac_ext <<_ACEOF
59977 /* end confdefs.h.  */
59978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59979    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59980 #define $ac_func innocuous_$ac_func
59981
59982 /* System header to define __stub macros and hopefully few prototypes,
59983     which can conflict with char $ac_func (); below.
59984     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59985     <limits.h> exists even on freestanding compilers.  */
59986
59987 #ifdef __STDC__
59988 # include <limits.h>
59989 #else
59990 # include <assert.h>
59991 #endif
59992
59993 #undef $ac_func
59994
59995 /* Override any gcc2 internal prototype to avoid an error.  */
59996 #ifdef __cplusplus
59997 extern "C"
59998 {
59999 #endif
60000 /* We use char because int might match the return type of a gcc2
60001    builtin and then its argument prototype would still apply.  */
60002 char $ac_func ();
60003 /* The GNU C library defines this for functions which it implements
60004     to always fail with ENOSYS.  Some functions are actually named
60005     something starting with __ and the normal name is an alias.  */
60006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60007 choke me
60008 #else
60009 char (*f) () = $ac_func;
60010 #endif
60011 #ifdef __cplusplus
60012 }
60013 #endif
60014
60015 int
60016 main ()
60017 {
60018 return f != $ac_func;
60019   ;
60020   return 0;
60021 }
60022 _ACEOF
60023 rm -f conftest.$ac_objext conftest$ac_exeext
60024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60025   (eval $ac_link) 2>conftest.er1
60026   ac_status=$?
60027   grep -v '^ *+' conftest.er1 >conftest.err
60028   rm -f conftest.er1
60029   cat conftest.err >&5
60030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60031   (exit $ac_status); } &&
60032          { ac_try='test -z "$ac_c_werror_flag"
60033                          || test ! -s conftest.err'
60034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60035   (eval $ac_try) 2>&5
60036   ac_status=$?
60037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60038   (exit $ac_status); }; } &&
60039          { ac_try='test -s conftest$ac_exeext'
60040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60041   (eval $ac_try) 2>&5
60042   ac_status=$?
60043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60044   (exit $ac_status); }; }; then
60045   eval "$as_ac_var=yes"
60046 else
60047   echo "$as_me: failed program was:" >&5
60048 sed 's/^/| /' conftest.$ac_ext >&5
60049
60050 eval "$as_ac_var=no"
60051 fi
60052 rm -f conftest.err conftest.$ac_objext \
60053       conftest$ac_exeext conftest.$ac_ext
60054 fi
60055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60057 if test `eval echo '${'$as_ac_var'}'` = yes; then
60058   cat >>confdefs.h <<_ACEOF
60059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60060 _ACEOF
60061
60062 fi
60063 done
60064
60065     fi
60066   fi
60067
60068
60069
60070
60071
60072
60073   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
60074 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
60075   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60076     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
60077   echo $ECHO_N "(cached) $ECHO_C" >&6
60078 else
60079
60080
60081
60082       ac_ext=cc
60083 ac_cpp='$CXXCPP $CPPFLAGS'
60084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60087
60088       cat >conftest.$ac_ext <<_ACEOF
60089 /* confdefs.h.  */
60090 _ACEOF
60091 cat confdefs.h >>conftest.$ac_ext
60092 cat >>conftest.$ac_ext <<_ACEOF
60093 /* end confdefs.h.  */
60094 #include <math.h>
60095 int
60096 main ()
60097 {
60098  sincosl(0, 0, 0);
60099   ;
60100   return 0;
60101 }
60102 _ACEOF
60103 rm -f conftest.$ac_objext
60104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60105   (eval $ac_compile) 2>conftest.er1
60106   ac_status=$?
60107   grep -v '^ *+' conftest.er1 >conftest.err
60108   rm -f conftest.er1
60109   cat conftest.err >&5
60110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60111   (exit $ac_status); } &&
60112          { ac_try='test -z "$ac_cxx_werror_flag"
60113                          || test ! -s conftest.err'
60114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60115   (eval $ac_try) 2>&5
60116   ac_status=$?
60117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60118   (exit $ac_status); }; } &&
60119          { ac_try='test -s conftest.$ac_objext'
60120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60121   (eval $ac_try) 2>&5
60122   ac_status=$?
60123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60124   (exit $ac_status); }; }; then
60125   glibcxx_cv_func_sincosl_use=yes
60126 else
60127   echo "$as_me: failed program was:" >&5
60128 sed 's/^/| /' conftest.$ac_ext >&5
60129
60130 glibcxx_cv_func_sincosl_use=no
60131 fi
60132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60133       ac_ext=c
60134 ac_cpp='$CPP $CPPFLAGS'
60135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60138
60139
60140 fi
60141
60142   fi
60143   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
60144 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
60145
60146   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60147
60148 for ac_func in sincosl
60149 do
60150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60151 echo "$as_me:$LINENO: checking for $ac_func" >&5
60152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60153 if eval "test \"\${$as_ac_var+set}\" = set"; then
60154   echo $ECHO_N "(cached) $ECHO_C" >&6
60155 else
60156   if test x$gcc_no_link = xyes; then
60157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60159    { (exit 1); exit 1; }; }
60160 fi
60161 cat >conftest.$ac_ext <<_ACEOF
60162 /* confdefs.h.  */
60163 _ACEOF
60164 cat confdefs.h >>conftest.$ac_ext
60165 cat >>conftest.$ac_ext <<_ACEOF
60166 /* end confdefs.h.  */
60167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60168    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60169 #define $ac_func innocuous_$ac_func
60170
60171 /* System header to define __stub macros and hopefully few prototypes,
60172     which can conflict with char $ac_func (); below.
60173     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60174     <limits.h> exists even on freestanding compilers.  */
60175
60176 #ifdef __STDC__
60177 # include <limits.h>
60178 #else
60179 # include <assert.h>
60180 #endif
60181
60182 #undef $ac_func
60183
60184 /* Override any gcc2 internal prototype to avoid an error.  */
60185 #ifdef __cplusplus
60186 extern "C"
60187 {
60188 #endif
60189 /* We use char because int might match the return type of a gcc2
60190    builtin and then its argument prototype would still apply.  */
60191 char $ac_func ();
60192 /* The GNU C library defines this for functions which it implements
60193     to always fail with ENOSYS.  Some functions are actually named
60194     something starting with __ and the normal name is an alias.  */
60195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60196 choke me
60197 #else
60198 char (*f) () = $ac_func;
60199 #endif
60200 #ifdef __cplusplus
60201 }
60202 #endif
60203
60204 int
60205 main ()
60206 {
60207 return f != $ac_func;
60208   ;
60209   return 0;
60210 }
60211 _ACEOF
60212 rm -f conftest.$ac_objext conftest$ac_exeext
60213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60214   (eval $ac_link) 2>conftest.er1
60215   ac_status=$?
60216   grep -v '^ *+' conftest.er1 >conftest.err
60217   rm -f conftest.er1
60218   cat conftest.err >&5
60219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60220   (exit $ac_status); } &&
60221          { ac_try='test -z "$ac_c_werror_flag"
60222                          || test ! -s conftest.err'
60223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60224   (eval $ac_try) 2>&5
60225   ac_status=$?
60226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60227   (exit $ac_status); }; } &&
60228          { ac_try='test -s conftest$ac_exeext'
60229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60230   (eval $ac_try) 2>&5
60231   ac_status=$?
60232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60233   (exit $ac_status); }; }; then
60234   eval "$as_ac_var=yes"
60235 else
60236   echo "$as_me: failed program was:" >&5
60237 sed 's/^/| /' conftest.$ac_ext >&5
60238
60239 eval "$as_ac_var=no"
60240 fi
60241 rm -f conftest.err conftest.$ac_objext \
60242       conftest$ac_exeext conftest.$ac_ext
60243 fi
60244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60246 if test `eval echo '${'$as_ac_var'}'` = yes; then
60247   cat >>confdefs.h <<_ACEOF
60248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60249 _ACEOF
60250
60251 fi
60252 done
60253
60254   else
60255
60256   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
60257 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
60258   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60259     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
60260   echo $ECHO_N "(cached) $ECHO_C" >&6
60261 else
60262
60263
60264
60265       ac_ext=cc
60266 ac_cpp='$CXXCPP $CPPFLAGS'
60267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60270
60271       cat >conftest.$ac_ext <<_ACEOF
60272 /* confdefs.h.  */
60273 _ACEOF
60274 cat confdefs.h >>conftest.$ac_ext
60275 cat >>conftest.$ac_ext <<_ACEOF
60276 /* end confdefs.h.  */
60277 #include <math.h>
60278 int
60279 main ()
60280 {
60281  _sincosl(0, 0, 0);
60282   ;
60283   return 0;
60284 }
60285 _ACEOF
60286 rm -f conftest.$ac_objext
60287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60288   (eval $ac_compile) 2>conftest.er1
60289   ac_status=$?
60290   grep -v '^ *+' conftest.er1 >conftest.err
60291   rm -f conftest.er1
60292   cat conftest.err >&5
60293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60294   (exit $ac_status); } &&
60295          { ac_try='test -z "$ac_cxx_werror_flag"
60296                          || test ! -s conftest.err'
60297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60298   (eval $ac_try) 2>&5
60299   ac_status=$?
60300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60301   (exit $ac_status); }; } &&
60302          { ac_try='test -s conftest.$ac_objext'
60303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60304   (eval $ac_try) 2>&5
60305   ac_status=$?
60306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60307   (exit $ac_status); }; }; then
60308   glibcxx_cv_func__sincosl_use=yes
60309 else
60310   echo "$as_me: failed program was:" >&5
60311 sed 's/^/| /' conftest.$ac_ext >&5
60312
60313 glibcxx_cv_func__sincosl_use=no
60314 fi
60315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60316       ac_ext=c
60317 ac_cpp='$CPP $CPPFLAGS'
60318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60321
60322
60323 fi
60324
60325   fi
60326   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
60327 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
60328
60329     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60330
60331 for ac_func in _sincosl
60332 do
60333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60334 echo "$as_me:$LINENO: checking for $ac_func" >&5
60335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60336 if eval "test \"\${$as_ac_var+set}\" = set"; then
60337   echo $ECHO_N "(cached) $ECHO_C" >&6
60338 else
60339   if test x$gcc_no_link = xyes; then
60340   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60342    { (exit 1); exit 1; }; }
60343 fi
60344 cat >conftest.$ac_ext <<_ACEOF
60345 /* confdefs.h.  */
60346 _ACEOF
60347 cat confdefs.h >>conftest.$ac_ext
60348 cat >>conftest.$ac_ext <<_ACEOF
60349 /* end confdefs.h.  */
60350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60351    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60352 #define $ac_func innocuous_$ac_func
60353
60354 /* System header to define __stub macros and hopefully few prototypes,
60355     which can conflict with char $ac_func (); below.
60356     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60357     <limits.h> exists even on freestanding compilers.  */
60358
60359 #ifdef __STDC__
60360 # include <limits.h>
60361 #else
60362 # include <assert.h>
60363 #endif
60364
60365 #undef $ac_func
60366
60367 /* Override any gcc2 internal prototype to avoid an error.  */
60368 #ifdef __cplusplus
60369 extern "C"
60370 {
60371 #endif
60372 /* We use char because int might match the return type of a gcc2
60373    builtin and then its argument prototype would still apply.  */
60374 char $ac_func ();
60375 /* The GNU C library defines this for functions which it implements
60376     to always fail with ENOSYS.  Some functions are actually named
60377     something starting with __ and the normal name is an alias.  */
60378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60379 choke me
60380 #else
60381 char (*f) () = $ac_func;
60382 #endif
60383 #ifdef __cplusplus
60384 }
60385 #endif
60386
60387 int
60388 main ()
60389 {
60390 return f != $ac_func;
60391   ;
60392   return 0;
60393 }
60394 _ACEOF
60395 rm -f conftest.$ac_objext conftest$ac_exeext
60396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60397   (eval $ac_link) 2>conftest.er1
60398   ac_status=$?
60399   grep -v '^ *+' conftest.er1 >conftest.err
60400   rm -f conftest.er1
60401   cat conftest.err >&5
60402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60403   (exit $ac_status); } &&
60404          { ac_try='test -z "$ac_c_werror_flag"
60405                          || test ! -s conftest.err'
60406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60407   (eval $ac_try) 2>&5
60408   ac_status=$?
60409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60410   (exit $ac_status); }; } &&
60411          { ac_try='test -s conftest$ac_exeext'
60412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60413   (eval $ac_try) 2>&5
60414   ac_status=$?
60415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60416   (exit $ac_status); }; }; then
60417   eval "$as_ac_var=yes"
60418 else
60419   echo "$as_me: failed program was:" >&5
60420 sed 's/^/| /' conftest.$ac_ext >&5
60421
60422 eval "$as_ac_var=no"
60423 fi
60424 rm -f conftest.err conftest.$ac_objext \
60425       conftest$ac_exeext conftest.$ac_ext
60426 fi
60427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60429 if test `eval echo '${'$as_ac_var'}'` = yes; then
60430   cat >>confdefs.h <<_ACEOF
60431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60432 _ACEOF
60433
60434 fi
60435 done
60436
60437     fi
60438   fi
60439
60440
60441
60442
60443
60444
60445   echo "$as_me:$LINENO: checking for finitel declaration" >&5
60446 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
60447   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60448     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
60449   echo $ECHO_N "(cached) $ECHO_C" >&6
60450 else
60451
60452
60453
60454       ac_ext=cc
60455 ac_cpp='$CXXCPP $CPPFLAGS'
60456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60459
60460       cat >conftest.$ac_ext <<_ACEOF
60461 /* confdefs.h.  */
60462 _ACEOF
60463 cat confdefs.h >>conftest.$ac_ext
60464 cat >>conftest.$ac_ext <<_ACEOF
60465 /* end confdefs.h.  */
60466 #include <math.h>
60467                       #ifdef HAVE_IEEEFP_H
60468                       #include <ieeefp.h>
60469                       #endif
60470
60471 int
60472 main ()
60473 {
60474  finitel(0);
60475   ;
60476   return 0;
60477 }
60478 _ACEOF
60479 rm -f conftest.$ac_objext
60480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60481   (eval $ac_compile) 2>conftest.er1
60482   ac_status=$?
60483   grep -v '^ *+' conftest.er1 >conftest.err
60484   rm -f conftest.er1
60485   cat conftest.err >&5
60486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60487   (exit $ac_status); } &&
60488          { ac_try='test -z "$ac_cxx_werror_flag"
60489                          || test ! -s conftest.err'
60490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60491   (eval $ac_try) 2>&5
60492   ac_status=$?
60493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60494   (exit $ac_status); }; } &&
60495          { ac_try='test -s conftest.$ac_objext'
60496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60497   (eval $ac_try) 2>&5
60498   ac_status=$?
60499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60500   (exit $ac_status); }; }; then
60501   glibcxx_cv_func_finitel_use=yes
60502 else
60503   echo "$as_me: failed program was:" >&5
60504 sed 's/^/| /' conftest.$ac_ext >&5
60505
60506 glibcxx_cv_func_finitel_use=no
60507 fi
60508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60509       ac_ext=c
60510 ac_cpp='$CPP $CPPFLAGS'
60511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60514
60515
60516 fi
60517
60518   fi
60519   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
60520 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
60521
60522   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60523
60524 for ac_func in finitel
60525 do
60526 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60527 echo "$as_me:$LINENO: checking for $ac_func" >&5
60528 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60529 if eval "test \"\${$as_ac_var+set}\" = set"; then
60530   echo $ECHO_N "(cached) $ECHO_C" >&6
60531 else
60532   if test x$gcc_no_link = xyes; then
60533   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60535    { (exit 1); exit 1; }; }
60536 fi
60537 cat >conftest.$ac_ext <<_ACEOF
60538 /* confdefs.h.  */
60539 _ACEOF
60540 cat confdefs.h >>conftest.$ac_ext
60541 cat >>conftest.$ac_ext <<_ACEOF
60542 /* end confdefs.h.  */
60543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60544    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60545 #define $ac_func innocuous_$ac_func
60546
60547 /* System header to define __stub macros and hopefully few prototypes,
60548     which can conflict with char $ac_func (); below.
60549     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60550     <limits.h> exists even on freestanding compilers.  */
60551
60552 #ifdef __STDC__
60553 # include <limits.h>
60554 #else
60555 # include <assert.h>
60556 #endif
60557
60558 #undef $ac_func
60559
60560 /* Override any gcc2 internal prototype to avoid an error.  */
60561 #ifdef __cplusplus
60562 extern "C"
60563 {
60564 #endif
60565 /* We use char because int might match the return type of a gcc2
60566    builtin and then its argument prototype would still apply.  */
60567 char $ac_func ();
60568 /* The GNU C library defines this for functions which it implements
60569     to always fail with ENOSYS.  Some functions are actually named
60570     something starting with __ and the normal name is an alias.  */
60571 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60572 choke me
60573 #else
60574 char (*f) () = $ac_func;
60575 #endif
60576 #ifdef __cplusplus
60577 }
60578 #endif
60579
60580 int
60581 main ()
60582 {
60583 return f != $ac_func;
60584   ;
60585   return 0;
60586 }
60587 _ACEOF
60588 rm -f conftest.$ac_objext conftest$ac_exeext
60589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60590   (eval $ac_link) 2>conftest.er1
60591   ac_status=$?
60592   grep -v '^ *+' conftest.er1 >conftest.err
60593   rm -f conftest.er1
60594   cat conftest.err >&5
60595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60596   (exit $ac_status); } &&
60597          { ac_try='test -z "$ac_c_werror_flag"
60598                          || test ! -s conftest.err'
60599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60600   (eval $ac_try) 2>&5
60601   ac_status=$?
60602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60603   (exit $ac_status); }; } &&
60604          { ac_try='test -s conftest$ac_exeext'
60605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60606   (eval $ac_try) 2>&5
60607   ac_status=$?
60608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60609   (exit $ac_status); }; }; then
60610   eval "$as_ac_var=yes"
60611 else
60612   echo "$as_me: failed program was:" >&5
60613 sed 's/^/| /' conftest.$ac_ext >&5
60614
60615 eval "$as_ac_var=no"
60616 fi
60617 rm -f conftest.err conftest.$ac_objext \
60618       conftest$ac_exeext conftest.$ac_ext
60619 fi
60620 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60621 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60622 if test `eval echo '${'$as_ac_var'}'` = yes; then
60623   cat >>confdefs.h <<_ACEOF
60624 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60625 _ACEOF
60626
60627 fi
60628 done
60629
60630   else
60631
60632   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
60633 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
60634   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60635     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
60636   echo $ECHO_N "(cached) $ECHO_C" >&6
60637 else
60638
60639
60640
60641       ac_ext=cc
60642 ac_cpp='$CXXCPP $CPPFLAGS'
60643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60646
60647       cat >conftest.$ac_ext <<_ACEOF
60648 /* confdefs.h.  */
60649 _ACEOF
60650 cat confdefs.h >>conftest.$ac_ext
60651 cat >>conftest.$ac_ext <<_ACEOF
60652 /* end confdefs.h.  */
60653 #include <math.h>
60654                       #ifdef HAVE_IEEEFP_H
60655                       #include <ieeefp.h>
60656                       #endif
60657
60658 int
60659 main ()
60660 {
60661  _finitel(0);
60662   ;
60663   return 0;
60664 }
60665 _ACEOF
60666 rm -f conftest.$ac_objext
60667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60668   (eval $ac_compile) 2>conftest.er1
60669   ac_status=$?
60670   grep -v '^ *+' conftest.er1 >conftest.err
60671   rm -f conftest.er1
60672   cat conftest.err >&5
60673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60674   (exit $ac_status); } &&
60675          { ac_try='test -z "$ac_cxx_werror_flag"
60676                          || test ! -s conftest.err'
60677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60678   (eval $ac_try) 2>&5
60679   ac_status=$?
60680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60681   (exit $ac_status); }; } &&
60682          { ac_try='test -s conftest.$ac_objext'
60683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60684   (eval $ac_try) 2>&5
60685   ac_status=$?
60686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60687   (exit $ac_status); }; }; then
60688   glibcxx_cv_func__finitel_use=yes
60689 else
60690   echo "$as_me: failed program was:" >&5
60691 sed 's/^/| /' conftest.$ac_ext >&5
60692
60693 glibcxx_cv_func__finitel_use=no
60694 fi
60695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60696       ac_ext=c
60697 ac_cpp='$CPP $CPPFLAGS'
60698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60701
60702
60703 fi
60704
60705   fi
60706   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
60707 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
60708
60709     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60710
60711 for ac_func in _finitel
60712 do
60713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60714 echo "$as_me:$LINENO: checking for $ac_func" >&5
60715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60716 if eval "test \"\${$as_ac_var+set}\" = set"; then
60717   echo $ECHO_N "(cached) $ECHO_C" >&6
60718 else
60719   if test x$gcc_no_link = xyes; then
60720   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60722    { (exit 1); exit 1; }; }
60723 fi
60724 cat >conftest.$ac_ext <<_ACEOF
60725 /* confdefs.h.  */
60726 _ACEOF
60727 cat confdefs.h >>conftest.$ac_ext
60728 cat >>conftest.$ac_ext <<_ACEOF
60729 /* end confdefs.h.  */
60730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60731    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60732 #define $ac_func innocuous_$ac_func
60733
60734 /* System header to define __stub macros and hopefully few prototypes,
60735     which can conflict with char $ac_func (); below.
60736     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60737     <limits.h> exists even on freestanding compilers.  */
60738
60739 #ifdef __STDC__
60740 # include <limits.h>
60741 #else
60742 # include <assert.h>
60743 #endif
60744
60745 #undef $ac_func
60746
60747 /* Override any gcc2 internal prototype to avoid an error.  */
60748 #ifdef __cplusplus
60749 extern "C"
60750 {
60751 #endif
60752 /* We use char because int might match the return type of a gcc2
60753    builtin and then its argument prototype would still apply.  */
60754 char $ac_func ();
60755 /* The GNU C library defines this for functions which it implements
60756     to always fail with ENOSYS.  Some functions are actually named
60757     something starting with __ and the normal name is an alias.  */
60758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60759 choke me
60760 #else
60761 char (*f) () = $ac_func;
60762 #endif
60763 #ifdef __cplusplus
60764 }
60765 #endif
60766
60767 int
60768 main ()
60769 {
60770 return f != $ac_func;
60771   ;
60772   return 0;
60773 }
60774 _ACEOF
60775 rm -f conftest.$ac_objext conftest$ac_exeext
60776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60777   (eval $ac_link) 2>conftest.er1
60778   ac_status=$?
60779   grep -v '^ *+' conftest.er1 >conftest.err
60780   rm -f conftest.er1
60781   cat conftest.err >&5
60782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60783   (exit $ac_status); } &&
60784          { ac_try='test -z "$ac_c_werror_flag"
60785                          || test ! -s conftest.err'
60786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60787   (eval $ac_try) 2>&5
60788   ac_status=$?
60789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60790   (exit $ac_status); }; } &&
60791          { ac_try='test -s conftest$ac_exeext'
60792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60793   (eval $ac_try) 2>&5
60794   ac_status=$?
60795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60796   (exit $ac_status); }; }; then
60797   eval "$as_ac_var=yes"
60798 else
60799   echo "$as_me: failed program was:" >&5
60800 sed 's/^/| /' conftest.$ac_ext >&5
60801
60802 eval "$as_ac_var=no"
60803 fi
60804 rm -f conftest.err conftest.$ac_objext \
60805       conftest$ac_exeext conftest.$ac_ext
60806 fi
60807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60809 if test `eval echo '${'$as_ac_var'}'` = yes; then
60810   cat >>confdefs.h <<_ACEOF
60811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60812 _ACEOF
60813
60814 fi
60815 done
60816
60817     fi
60818   fi
60819
60820
60821
60822
60823
60824   LIBS="$ac_save_LIBS"
60825   CXXFLAGS="$ac_save_CXXFLAGS"
60826
60827
60828
60829   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
60830 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
60831   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
60832     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
60833   echo $ECHO_N "(cached) $ECHO_C" >&6
60834 else
60835
60836
60837
60838       ac_ext=cc
60839 ac_cpp='$CXXCPP $CPPFLAGS'
60840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60843
60844       cat >conftest.$ac_ext <<_ACEOF
60845 /* confdefs.h.  */
60846 _ACEOF
60847 cat confdefs.h >>conftest.$ac_ext
60848 cat >>conftest.$ac_ext <<_ACEOF
60849 /* end confdefs.h.  */
60850 #include <math.h>
60851 int
60852 main ()
60853 {
60854  __builtin_abs(0);
60855   ;
60856   return 0;
60857 }
60858 _ACEOF
60859 rm -f conftest.$ac_objext
60860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60861   (eval $ac_compile) 2>conftest.er1
60862   ac_status=$?
60863   grep -v '^ *+' conftest.er1 >conftest.err
60864   rm -f conftest.er1
60865   cat conftest.err >&5
60866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60867   (exit $ac_status); } &&
60868          { ac_try='test -z "$ac_cxx_werror_flag"
60869                          || test ! -s conftest.err'
60870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60871   (eval $ac_try) 2>&5
60872   ac_status=$?
60873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60874   (exit $ac_status); }; } &&
60875          { ac_try='test -s conftest.$ac_objext'
60876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60877   (eval $ac_try) 2>&5
60878   ac_status=$?
60879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60880   (exit $ac_status); }; }; then
60881   glibcxx_cv_func___builtin_abs_use=yes
60882 else
60883   echo "$as_me: failed program was:" >&5
60884 sed 's/^/| /' conftest.$ac_ext >&5
60885
60886 glibcxx_cv_func___builtin_abs_use=no
60887 fi
60888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60889       ac_ext=c
60890 ac_cpp='$CPP $CPPFLAGS'
60891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60894
60895
60896 fi
60897
60898   fi
60899   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
60900 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
60901   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
60902     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
60903 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
60904     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
60905       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
60906   echo $ECHO_N "(cached) $ECHO_C" >&6
60907 else
60908
60909         if test x$gcc_no_link = xyes; then
60910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60912    { (exit 1); exit 1; }; }
60913 fi
60914 cat >conftest.$ac_ext <<_ACEOF
60915 /* confdefs.h.  */
60916 _ACEOF
60917 cat confdefs.h >>conftest.$ac_ext
60918 cat >>conftest.$ac_ext <<_ACEOF
60919 /* end confdefs.h.  */
60920 #include <math.h>
60921 int
60922 main ()
60923 {
60924  __builtin_abs(0);
60925   ;
60926   return 0;
60927 }
60928 _ACEOF
60929 rm -f conftest.$ac_objext conftest$ac_exeext
60930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60931   (eval $ac_link) 2>conftest.er1
60932   ac_status=$?
60933   grep -v '^ *+' conftest.er1 >conftest.err
60934   rm -f conftest.er1
60935   cat conftest.err >&5
60936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60937   (exit $ac_status); } &&
60938          { ac_try='test -z "$ac_c_werror_flag"
60939                          || test ! -s conftest.err'
60940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60941   (eval $ac_try) 2>&5
60942   ac_status=$?
60943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60944   (exit $ac_status); }; } &&
60945          { ac_try='test -s conftest$ac_exeext'
60946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60947   (eval $ac_try) 2>&5
60948   ac_status=$?
60949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60950   (exit $ac_status); }; }; then
60951   glibcxx_cv_func___builtin_abs_link=yes
60952 else
60953   echo "$as_me: failed program was:" >&5
60954 sed 's/^/| /' conftest.$ac_ext >&5
60955
60956 glibcxx_cv_func___builtin_abs_link=no
60957 fi
60958 rm -f conftest.err conftest.$ac_objext \
60959       conftest$ac_exeext conftest.$ac_ext
60960
60961 fi
60962
60963     fi
60964     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
60965 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
60966
60967     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
60968
60969 cat >>confdefs.h <<\_ACEOF
60970 #define HAVE___BUILTIN_ABS 1
60971 _ACEOF
60972
60973     fi
60974
60975   fi
60976
60977
60978   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
60979 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
60980   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
60981     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
60982   echo $ECHO_N "(cached) $ECHO_C" >&6
60983 else
60984
60985
60986
60987       ac_ext=cc
60988 ac_cpp='$CXXCPP $CPPFLAGS'
60989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60992
60993       cat >conftest.$ac_ext <<_ACEOF
60994 /* confdefs.h.  */
60995 _ACEOF
60996 cat confdefs.h >>conftest.$ac_ext
60997 cat >>conftest.$ac_ext <<_ACEOF
60998 /* end confdefs.h.  */
60999 #include <math.h>
61000 int
61001 main ()
61002 {
61003  __builtin_fabsf(0);
61004   ;
61005   return 0;
61006 }
61007 _ACEOF
61008 rm -f conftest.$ac_objext
61009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61010   (eval $ac_compile) 2>conftest.er1
61011   ac_status=$?
61012   grep -v '^ *+' conftest.er1 >conftest.err
61013   rm -f conftest.er1
61014   cat conftest.err >&5
61015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61016   (exit $ac_status); } &&
61017          { ac_try='test -z "$ac_cxx_werror_flag"
61018                          || test ! -s conftest.err'
61019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61020   (eval $ac_try) 2>&5
61021   ac_status=$?
61022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61023   (exit $ac_status); }; } &&
61024          { ac_try='test -s conftest.$ac_objext'
61025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61026   (eval $ac_try) 2>&5
61027   ac_status=$?
61028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61029   (exit $ac_status); }; }; then
61030   glibcxx_cv_func___builtin_fabsf_use=yes
61031 else
61032   echo "$as_me: failed program was:" >&5
61033 sed 's/^/| /' conftest.$ac_ext >&5
61034
61035 glibcxx_cv_func___builtin_fabsf_use=no
61036 fi
61037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61038       ac_ext=c
61039 ac_cpp='$CPP $CPPFLAGS'
61040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61043
61044
61045 fi
61046
61047   fi
61048   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
61049 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
61050   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
61051     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
61052 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
61053     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
61054       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
61055   echo $ECHO_N "(cached) $ECHO_C" >&6
61056 else
61057
61058         if test x$gcc_no_link = xyes; then
61059   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61061    { (exit 1); exit 1; }; }
61062 fi
61063 cat >conftest.$ac_ext <<_ACEOF
61064 /* confdefs.h.  */
61065 _ACEOF
61066 cat confdefs.h >>conftest.$ac_ext
61067 cat >>conftest.$ac_ext <<_ACEOF
61068 /* end confdefs.h.  */
61069 #include <math.h>
61070 int
61071 main ()
61072 {
61073  __builtin_fabsf(0);
61074   ;
61075   return 0;
61076 }
61077 _ACEOF
61078 rm -f conftest.$ac_objext conftest$ac_exeext
61079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61080   (eval $ac_link) 2>conftest.er1
61081   ac_status=$?
61082   grep -v '^ *+' conftest.er1 >conftest.err
61083   rm -f conftest.er1
61084   cat conftest.err >&5
61085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61086   (exit $ac_status); } &&
61087          { ac_try='test -z "$ac_c_werror_flag"
61088                          || test ! -s conftest.err'
61089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61090   (eval $ac_try) 2>&5
61091   ac_status=$?
61092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61093   (exit $ac_status); }; } &&
61094          { ac_try='test -s conftest$ac_exeext'
61095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61096   (eval $ac_try) 2>&5
61097   ac_status=$?
61098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61099   (exit $ac_status); }; }; then
61100   glibcxx_cv_func___builtin_fabsf_link=yes
61101 else
61102   echo "$as_me: failed program was:" >&5
61103 sed 's/^/| /' conftest.$ac_ext >&5
61104
61105 glibcxx_cv_func___builtin_fabsf_link=no
61106 fi
61107 rm -f conftest.err conftest.$ac_objext \
61108       conftest$ac_exeext conftest.$ac_ext
61109
61110 fi
61111
61112     fi
61113     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
61114 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
61115
61116     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
61117
61118 cat >>confdefs.h <<\_ACEOF
61119 #define HAVE___BUILTIN_FABSF 1
61120 _ACEOF
61121
61122     fi
61123
61124   fi
61125
61126
61127   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
61128 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
61129   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
61130     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
61131   echo $ECHO_N "(cached) $ECHO_C" >&6
61132 else
61133
61134
61135
61136       ac_ext=cc
61137 ac_cpp='$CXXCPP $CPPFLAGS'
61138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61141
61142       cat >conftest.$ac_ext <<_ACEOF
61143 /* confdefs.h.  */
61144 _ACEOF
61145 cat confdefs.h >>conftest.$ac_ext
61146 cat >>conftest.$ac_ext <<_ACEOF
61147 /* end confdefs.h.  */
61148 #include <math.h>
61149 int
61150 main ()
61151 {
61152  __builtin_fabs(0);
61153   ;
61154   return 0;
61155 }
61156 _ACEOF
61157 rm -f conftest.$ac_objext
61158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61159   (eval $ac_compile) 2>conftest.er1
61160   ac_status=$?
61161   grep -v '^ *+' conftest.er1 >conftest.err
61162   rm -f conftest.er1
61163   cat conftest.err >&5
61164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61165   (exit $ac_status); } &&
61166          { ac_try='test -z "$ac_cxx_werror_flag"
61167                          || test ! -s conftest.err'
61168   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61169   (eval $ac_try) 2>&5
61170   ac_status=$?
61171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61172   (exit $ac_status); }; } &&
61173          { ac_try='test -s conftest.$ac_objext'
61174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61175   (eval $ac_try) 2>&5
61176   ac_status=$?
61177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61178   (exit $ac_status); }; }; then
61179   glibcxx_cv_func___builtin_fabs_use=yes
61180 else
61181   echo "$as_me: failed program was:" >&5
61182 sed 's/^/| /' conftest.$ac_ext >&5
61183
61184 glibcxx_cv_func___builtin_fabs_use=no
61185 fi
61186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61187       ac_ext=c
61188 ac_cpp='$CPP $CPPFLAGS'
61189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61192
61193
61194 fi
61195
61196   fi
61197   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
61198 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
61199   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
61200     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
61201 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
61202     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
61203       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
61204   echo $ECHO_N "(cached) $ECHO_C" >&6
61205 else
61206
61207         if test x$gcc_no_link = xyes; then
61208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61210    { (exit 1); exit 1; }; }
61211 fi
61212 cat >conftest.$ac_ext <<_ACEOF
61213 /* confdefs.h.  */
61214 _ACEOF
61215 cat confdefs.h >>conftest.$ac_ext
61216 cat >>conftest.$ac_ext <<_ACEOF
61217 /* end confdefs.h.  */
61218 #include <math.h>
61219 int
61220 main ()
61221 {
61222  __builtin_fabs(0);
61223   ;
61224   return 0;
61225 }
61226 _ACEOF
61227 rm -f conftest.$ac_objext conftest$ac_exeext
61228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61229   (eval $ac_link) 2>conftest.er1
61230   ac_status=$?
61231   grep -v '^ *+' conftest.er1 >conftest.err
61232   rm -f conftest.er1
61233   cat conftest.err >&5
61234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61235   (exit $ac_status); } &&
61236          { ac_try='test -z "$ac_c_werror_flag"
61237                          || test ! -s conftest.err'
61238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61239   (eval $ac_try) 2>&5
61240   ac_status=$?
61241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61242   (exit $ac_status); }; } &&
61243          { ac_try='test -s conftest$ac_exeext'
61244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61245   (eval $ac_try) 2>&5
61246   ac_status=$?
61247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61248   (exit $ac_status); }; }; then
61249   glibcxx_cv_func___builtin_fabs_link=yes
61250 else
61251   echo "$as_me: failed program was:" >&5
61252 sed 's/^/| /' conftest.$ac_ext >&5
61253
61254 glibcxx_cv_func___builtin_fabs_link=no
61255 fi
61256 rm -f conftest.err conftest.$ac_objext \
61257       conftest$ac_exeext conftest.$ac_ext
61258
61259 fi
61260
61261     fi
61262     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
61263 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
61264
61265     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
61266
61267 cat >>confdefs.h <<\_ACEOF
61268 #define HAVE___BUILTIN_FABS 1
61269 _ACEOF
61270
61271     fi
61272
61273   fi
61274
61275
61276   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
61277 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
61278   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
61279     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
61280   echo $ECHO_N "(cached) $ECHO_C" >&6
61281 else
61282
61283
61284
61285       ac_ext=cc
61286 ac_cpp='$CXXCPP $CPPFLAGS'
61287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61290
61291       cat >conftest.$ac_ext <<_ACEOF
61292 /* confdefs.h.  */
61293 _ACEOF
61294 cat confdefs.h >>conftest.$ac_ext
61295 cat >>conftest.$ac_ext <<_ACEOF
61296 /* end confdefs.h.  */
61297 #include <math.h>
61298 int
61299 main ()
61300 {
61301  __builtin_fabsl(0);
61302   ;
61303   return 0;
61304 }
61305 _ACEOF
61306 rm -f conftest.$ac_objext
61307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61308   (eval $ac_compile) 2>conftest.er1
61309   ac_status=$?
61310   grep -v '^ *+' conftest.er1 >conftest.err
61311   rm -f conftest.er1
61312   cat conftest.err >&5
61313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61314   (exit $ac_status); } &&
61315          { ac_try='test -z "$ac_cxx_werror_flag"
61316                          || test ! -s conftest.err'
61317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61318   (eval $ac_try) 2>&5
61319   ac_status=$?
61320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61321   (exit $ac_status); }; } &&
61322          { ac_try='test -s conftest.$ac_objext'
61323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61324   (eval $ac_try) 2>&5
61325   ac_status=$?
61326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61327   (exit $ac_status); }; }; then
61328   glibcxx_cv_func___builtin_fabsl_use=yes
61329 else
61330   echo "$as_me: failed program was:" >&5
61331 sed 's/^/| /' conftest.$ac_ext >&5
61332
61333 glibcxx_cv_func___builtin_fabsl_use=no
61334 fi
61335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61336       ac_ext=c
61337 ac_cpp='$CPP $CPPFLAGS'
61338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61341
61342
61343 fi
61344
61345   fi
61346   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
61347 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
61348   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
61349     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
61350 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
61351     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
61352       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
61353   echo $ECHO_N "(cached) $ECHO_C" >&6
61354 else
61355
61356         if test x$gcc_no_link = xyes; then
61357   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61359    { (exit 1); exit 1; }; }
61360 fi
61361 cat >conftest.$ac_ext <<_ACEOF
61362 /* confdefs.h.  */
61363 _ACEOF
61364 cat confdefs.h >>conftest.$ac_ext
61365 cat >>conftest.$ac_ext <<_ACEOF
61366 /* end confdefs.h.  */
61367 #include <math.h>
61368 int
61369 main ()
61370 {
61371  __builtin_fabsl(0);
61372   ;
61373   return 0;
61374 }
61375 _ACEOF
61376 rm -f conftest.$ac_objext conftest$ac_exeext
61377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61378   (eval $ac_link) 2>conftest.er1
61379   ac_status=$?
61380   grep -v '^ *+' conftest.er1 >conftest.err
61381   rm -f conftest.er1
61382   cat conftest.err >&5
61383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61384   (exit $ac_status); } &&
61385          { ac_try='test -z "$ac_c_werror_flag"
61386                          || test ! -s conftest.err'
61387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61388   (eval $ac_try) 2>&5
61389   ac_status=$?
61390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61391   (exit $ac_status); }; } &&
61392          { ac_try='test -s conftest$ac_exeext'
61393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61394   (eval $ac_try) 2>&5
61395   ac_status=$?
61396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61397   (exit $ac_status); }; }; then
61398   glibcxx_cv_func___builtin_fabsl_link=yes
61399 else
61400   echo "$as_me: failed program was:" >&5
61401 sed 's/^/| /' conftest.$ac_ext >&5
61402
61403 glibcxx_cv_func___builtin_fabsl_link=no
61404 fi
61405 rm -f conftest.err conftest.$ac_objext \
61406       conftest$ac_exeext conftest.$ac_ext
61407
61408 fi
61409
61410     fi
61411     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
61412 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
61413
61414     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
61415
61416 cat >>confdefs.h <<\_ACEOF
61417 #define HAVE___BUILTIN_FABSL 1
61418 _ACEOF
61419
61420     fi
61421
61422   fi
61423
61424
61425   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
61426 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
61427   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
61428     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
61429   echo $ECHO_N "(cached) $ECHO_C" >&6
61430 else
61431
61432
61433
61434       ac_ext=cc
61435 ac_cpp='$CXXCPP $CPPFLAGS'
61436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61439
61440       cat >conftest.$ac_ext <<_ACEOF
61441 /* confdefs.h.  */
61442 _ACEOF
61443 cat confdefs.h >>conftest.$ac_ext
61444 cat >>conftest.$ac_ext <<_ACEOF
61445 /* end confdefs.h.  */
61446 #include <math.h>
61447 int
61448 main ()
61449 {
61450  __builtin_labs(0);
61451   ;
61452   return 0;
61453 }
61454 _ACEOF
61455 rm -f conftest.$ac_objext
61456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61457   (eval $ac_compile) 2>conftest.er1
61458   ac_status=$?
61459   grep -v '^ *+' conftest.er1 >conftest.err
61460   rm -f conftest.er1
61461   cat conftest.err >&5
61462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61463   (exit $ac_status); } &&
61464          { ac_try='test -z "$ac_cxx_werror_flag"
61465                          || test ! -s conftest.err'
61466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61467   (eval $ac_try) 2>&5
61468   ac_status=$?
61469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61470   (exit $ac_status); }; } &&
61471          { ac_try='test -s conftest.$ac_objext'
61472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61473   (eval $ac_try) 2>&5
61474   ac_status=$?
61475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61476   (exit $ac_status); }; }; then
61477   glibcxx_cv_func___builtin_labs_use=yes
61478 else
61479   echo "$as_me: failed program was:" >&5
61480 sed 's/^/| /' conftest.$ac_ext >&5
61481
61482 glibcxx_cv_func___builtin_labs_use=no
61483 fi
61484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61485       ac_ext=c
61486 ac_cpp='$CPP $CPPFLAGS'
61487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61490
61491
61492 fi
61493
61494   fi
61495   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
61496 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
61497   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
61498     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
61499 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
61500     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
61501       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
61502   echo $ECHO_N "(cached) $ECHO_C" >&6
61503 else
61504
61505         if test x$gcc_no_link = xyes; then
61506   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61508    { (exit 1); exit 1; }; }
61509 fi
61510 cat >conftest.$ac_ext <<_ACEOF
61511 /* confdefs.h.  */
61512 _ACEOF
61513 cat confdefs.h >>conftest.$ac_ext
61514 cat >>conftest.$ac_ext <<_ACEOF
61515 /* end confdefs.h.  */
61516 #include <math.h>
61517 int
61518 main ()
61519 {
61520  __builtin_labs(0);
61521   ;
61522   return 0;
61523 }
61524 _ACEOF
61525 rm -f conftest.$ac_objext conftest$ac_exeext
61526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61527   (eval $ac_link) 2>conftest.er1
61528   ac_status=$?
61529   grep -v '^ *+' conftest.er1 >conftest.err
61530   rm -f conftest.er1
61531   cat conftest.err >&5
61532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61533   (exit $ac_status); } &&
61534          { ac_try='test -z "$ac_c_werror_flag"
61535                          || test ! -s conftest.err'
61536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61537   (eval $ac_try) 2>&5
61538   ac_status=$?
61539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61540   (exit $ac_status); }; } &&
61541          { ac_try='test -s conftest$ac_exeext'
61542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61543   (eval $ac_try) 2>&5
61544   ac_status=$?
61545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61546   (exit $ac_status); }; }; then
61547   glibcxx_cv_func___builtin_labs_link=yes
61548 else
61549   echo "$as_me: failed program was:" >&5
61550 sed 's/^/| /' conftest.$ac_ext >&5
61551
61552 glibcxx_cv_func___builtin_labs_link=no
61553 fi
61554 rm -f conftest.err conftest.$ac_objext \
61555       conftest$ac_exeext conftest.$ac_ext
61556
61557 fi
61558
61559     fi
61560     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
61561 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
61562
61563     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
61564
61565 cat >>confdefs.h <<\_ACEOF
61566 #define HAVE___BUILTIN_LABS 1
61567 _ACEOF
61568
61569     fi
61570
61571   fi
61572
61573
61574
61575   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
61576 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
61577   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
61578     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
61579   echo $ECHO_N "(cached) $ECHO_C" >&6
61580 else
61581
61582
61583
61584       ac_ext=cc
61585 ac_cpp='$CXXCPP $CPPFLAGS'
61586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61589
61590       cat >conftest.$ac_ext <<_ACEOF
61591 /* confdefs.h.  */
61592 _ACEOF
61593 cat confdefs.h >>conftest.$ac_ext
61594 cat >>conftest.$ac_ext <<_ACEOF
61595 /* end confdefs.h.  */
61596 #include <math.h>
61597 int
61598 main ()
61599 {
61600  __builtin_sqrtf(0);
61601   ;
61602   return 0;
61603 }
61604 _ACEOF
61605 rm -f conftest.$ac_objext
61606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61607   (eval $ac_compile) 2>conftest.er1
61608   ac_status=$?
61609   grep -v '^ *+' conftest.er1 >conftest.err
61610   rm -f conftest.er1
61611   cat conftest.err >&5
61612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61613   (exit $ac_status); } &&
61614          { ac_try='test -z "$ac_cxx_werror_flag"
61615                          || test ! -s conftest.err'
61616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61617   (eval $ac_try) 2>&5
61618   ac_status=$?
61619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61620   (exit $ac_status); }; } &&
61621          { ac_try='test -s conftest.$ac_objext'
61622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61623   (eval $ac_try) 2>&5
61624   ac_status=$?
61625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61626   (exit $ac_status); }; }; then
61627   glibcxx_cv_func___builtin_sqrtf_use=yes
61628 else
61629   echo "$as_me: failed program was:" >&5
61630 sed 's/^/| /' conftest.$ac_ext >&5
61631
61632 glibcxx_cv_func___builtin_sqrtf_use=no
61633 fi
61634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61635       ac_ext=c
61636 ac_cpp='$CPP $CPPFLAGS'
61637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61640
61641
61642 fi
61643
61644   fi
61645   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
61646 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
61647   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
61648     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
61649 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
61650     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
61651       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
61652   echo $ECHO_N "(cached) $ECHO_C" >&6
61653 else
61654
61655         if test x$gcc_no_link = xyes; then
61656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61658    { (exit 1); exit 1; }; }
61659 fi
61660 cat >conftest.$ac_ext <<_ACEOF
61661 /* confdefs.h.  */
61662 _ACEOF
61663 cat confdefs.h >>conftest.$ac_ext
61664 cat >>conftest.$ac_ext <<_ACEOF
61665 /* end confdefs.h.  */
61666 #include <math.h>
61667 int
61668 main ()
61669 {
61670  __builtin_sqrtf(0);
61671   ;
61672   return 0;
61673 }
61674 _ACEOF
61675 rm -f conftest.$ac_objext conftest$ac_exeext
61676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61677   (eval $ac_link) 2>conftest.er1
61678   ac_status=$?
61679   grep -v '^ *+' conftest.er1 >conftest.err
61680   rm -f conftest.er1
61681   cat conftest.err >&5
61682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61683   (exit $ac_status); } &&
61684          { ac_try='test -z "$ac_c_werror_flag"
61685                          || test ! -s conftest.err'
61686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61687   (eval $ac_try) 2>&5
61688   ac_status=$?
61689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61690   (exit $ac_status); }; } &&
61691          { ac_try='test -s conftest$ac_exeext'
61692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61693   (eval $ac_try) 2>&5
61694   ac_status=$?
61695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61696   (exit $ac_status); }; }; then
61697   glibcxx_cv_func___builtin_sqrtf_link=yes
61698 else
61699   echo "$as_me: failed program was:" >&5
61700 sed 's/^/| /' conftest.$ac_ext >&5
61701
61702 glibcxx_cv_func___builtin_sqrtf_link=no
61703 fi
61704 rm -f conftest.err conftest.$ac_objext \
61705       conftest$ac_exeext conftest.$ac_ext
61706
61707 fi
61708
61709     fi
61710     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
61711 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
61712
61713     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
61714
61715 cat >>confdefs.h <<\_ACEOF
61716 #define HAVE___BUILTIN_SQRTF 1
61717 _ACEOF
61718
61719     fi
61720
61721   fi
61722
61723
61724   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
61725 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
61726   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
61727     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
61728   echo $ECHO_N "(cached) $ECHO_C" >&6
61729 else
61730
61731
61732
61733       ac_ext=cc
61734 ac_cpp='$CXXCPP $CPPFLAGS'
61735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61738
61739       cat >conftest.$ac_ext <<_ACEOF
61740 /* confdefs.h.  */
61741 _ACEOF
61742 cat confdefs.h >>conftest.$ac_ext
61743 cat >>conftest.$ac_ext <<_ACEOF
61744 /* end confdefs.h.  */
61745 #include <math.h>
61746 int
61747 main ()
61748 {
61749  __builtin_sqrt(0);
61750   ;
61751   return 0;
61752 }
61753 _ACEOF
61754 rm -f conftest.$ac_objext
61755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61756   (eval $ac_compile) 2>conftest.er1
61757   ac_status=$?
61758   grep -v '^ *+' conftest.er1 >conftest.err
61759   rm -f conftest.er1
61760   cat conftest.err >&5
61761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61762   (exit $ac_status); } &&
61763          { ac_try='test -z "$ac_cxx_werror_flag"
61764                          || test ! -s conftest.err'
61765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61766   (eval $ac_try) 2>&5
61767   ac_status=$?
61768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61769   (exit $ac_status); }; } &&
61770          { ac_try='test -s conftest.$ac_objext'
61771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61772   (eval $ac_try) 2>&5
61773   ac_status=$?
61774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61775   (exit $ac_status); }; }; then
61776   glibcxx_cv_func___builtin_sqrt_use=yes
61777 else
61778   echo "$as_me: failed program was:" >&5
61779 sed 's/^/| /' conftest.$ac_ext >&5
61780
61781 glibcxx_cv_func___builtin_sqrt_use=no
61782 fi
61783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61784       ac_ext=c
61785 ac_cpp='$CPP $CPPFLAGS'
61786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61789
61790
61791 fi
61792
61793   fi
61794   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
61795 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
61796   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
61797     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
61798 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
61799     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
61800       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
61801   echo $ECHO_N "(cached) $ECHO_C" >&6
61802 else
61803
61804         if test x$gcc_no_link = xyes; then
61805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61807    { (exit 1); exit 1; }; }
61808 fi
61809 cat >conftest.$ac_ext <<_ACEOF
61810 /* confdefs.h.  */
61811 _ACEOF
61812 cat confdefs.h >>conftest.$ac_ext
61813 cat >>conftest.$ac_ext <<_ACEOF
61814 /* end confdefs.h.  */
61815 #include <math.h>
61816 int
61817 main ()
61818 {
61819  __builtin_sqrt(0);
61820   ;
61821   return 0;
61822 }
61823 _ACEOF
61824 rm -f conftest.$ac_objext conftest$ac_exeext
61825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61826   (eval $ac_link) 2>conftest.er1
61827   ac_status=$?
61828   grep -v '^ *+' conftest.er1 >conftest.err
61829   rm -f conftest.er1
61830   cat conftest.err >&5
61831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61832   (exit $ac_status); } &&
61833          { ac_try='test -z "$ac_c_werror_flag"
61834                          || test ! -s conftest.err'
61835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61836   (eval $ac_try) 2>&5
61837   ac_status=$?
61838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61839   (exit $ac_status); }; } &&
61840          { ac_try='test -s conftest$ac_exeext'
61841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61842   (eval $ac_try) 2>&5
61843   ac_status=$?
61844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61845   (exit $ac_status); }; }; then
61846   glibcxx_cv_func___builtin_sqrt_link=yes
61847 else
61848   echo "$as_me: failed program was:" >&5
61849 sed 's/^/| /' conftest.$ac_ext >&5
61850
61851 glibcxx_cv_func___builtin_sqrt_link=no
61852 fi
61853 rm -f conftest.err conftest.$ac_objext \
61854       conftest$ac_exeext conftest.$ac_ext
61855
61856 fi
61857
61858     fi
61859     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
61860 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
61861
61862     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
61863
61864 cat >>confdefs.h <<\_ACEOF
61865 #define HAVE___BUILTIN_SQRT 1
61866 _ACEOF
61867
61868     fi
61869
61870   fi
61871
61872
61873   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
61874 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
61875   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
61876     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
61877   echo $ECHO_N "(cached) $ECHO_C" >&6
61878 else
61879
61880
61881
61882       ac_ext=cc
61883 ac_cpp='$CXXCPP $CPPFLAGS'
61884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61887
61888       cat >conftest.$ac_ext <<_ACEOF
61889 /* confdefs.h.  */
61890 _ACEOF
61891 cat confdefs.h >>conftest.$ac_ext
61892 cat >>conftest.$ac_ext <<_ACEOF
61893 /* end confdefs.h.  */
61894 #include <math.h>
61895 int
61896 main ()
61897 {
61898  __builtin_sqrtl(0);
61899   ;
61900   return 0;
61901 }
61902 _ACEOF
61903 rm -f conftest.$ac_objext
61904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61905   (eval $ac_compile) 2>conftest.er1
61906   ac_status=$?
61907   grep -v '^ *+' conftest.er1 >conftest.err
61908   rm -f conftest.er1
61909   cat conftest.err >&5
61910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61911   (exit $ac_status); } &&
61912          { ac_try='test -z "$ac_cxx_werror_flag"
61913                          || test ! -s conftest.err'
61914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61915   (eval $ac_try) 2>&5
61916   ac_status=$?
61917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61918   (exit $ac_status); }; } &&
61919          { ac_try='test -s conftest.$ac_objext'
61920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61921   (eval $ac_try) 2>&5
61922   ac_status=$?
61923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61924   (exit $ac_status); }; }; then
61925   glibcxx_cv_func___builtin_sqrtl_use=yes
61926 else
61927   echo "$as_me: failed program was:" >&5
61928 sed 's/^/| /' conftest.$ac_ext >&5
61929
61930 glibcxx_cv_func___builtin_sqrtl_use=no
61931 fi
61932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61933       ac_ext=c
61934 ac_cpp='$CPP $CPPFLAGS'
61935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61938
61939
61940 fi
61941
61942   fi
61943   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
61944 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
61945   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
61946     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
61947 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
61948     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
61949       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
61950   echo $ECHO_N "(cached) $ECHO_C" >&6
61951 else
61952
61953         if test x$gcc_no_link = xyes; then
61954   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61956    { (exit 1); exit 1; }; }
61957 fi
61958 cat >conftest.$ac_ext <<_ACEOF
61959 /* confdefs.h.  */
61960 _ACEOF
61961 cat confdefs.h >>conftest.$ac_ext
61962 cat >>conftest.$ac_ext <<_ACEOF
61963 /* end confdefs.h.  */
61964 #include <math.h>
61965 int
61966 main ()
61967 {
61968  __builtin_sqrtl(0);
61969   ;
61970   return 0;
61971 }
61972 _ACEOF
61973 rm -f conftest.$ac_objext conftest$ac_exeext
61974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61975   (eval $ac_link) 2>conftest.er1
61976   ac_status=$?
61977   grep -v '^ *+' conftest.er1 >conftest.err
61978   rm -f conftest.er1
61979   cat conftest.err >&5
61980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61981   (exit $ac_status); } &&
61982          { ac_try='test -z "$ac_c_werror_flag"
61983                          || test ! -s conftest.err'
61984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61985   (eval $ac_try) 2>&5
61986   ac_status=$?
61987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61988   (exit $ac_status); }; } &&
61989          { ac_try='test -s conftest$ac_exeext'
61990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61991   (eval $ac_try) 2>&5
61992   ac_status=$?
61993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61994   (exit $ac_status); }; }; then
61995   glibcxx_cv_func___builtin_sqrtl_link=yes
61996 else
61997   echo "$as_me: failed program was:" >&5
61998 sed 's/^/| /' conftest.$ac_ext >&5
61999
62000 glibcxx_cv_func___builtin_sqrtl_link=no
62001 fi
62002 rm -f conftest.err conftest.$ac_objext \
62003       conftest$ac_exeext conftest.$ac_ext
62004
62005 fi
62006
62007     fi
62008     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
62009 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
62010
62011     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
62012
62013 cat >>confdefs.h <<\_ACEOF
62014 #define HAVE___BUILTIN_SQRTL 1
62015 _ACEOF
62016
62017     fi
62018
62019   fi
62020
62021
62022
62023   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
62024 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
62025   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
62026     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
62027   echo $ECHO_N "(cached) $ECHO_C" >&6
62028 else
62029
62030
62031
62032       ac_ext=cc
62033 ac_cpp='$CXXCPP $CPPFLAGS'
62034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62037
62038       cat >conftest.$ac_ext <<_ACEOF
62039 /* confdefs.h.  */
62040 _ACEOF
62041 cat confdefs.h >>conftest.$ac_ext
62042 cat >>conftest.$ac_ext <<_ACEOF
62043 /* end confdefs.h.  */
62044 #include <math.h>
62045 int
62046 main ()
62047 {
62048  __builtin_sinf(0);
62049   ;
62050   return 0;
62051 }
62052 _ACEOF
62053 rm -f conftest.$ac_objext
62054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62055   (eval $ac_compile) 2>conftest.er1
62056   ac_status=$?
62057   grep -v '^ *+' conftest.er1 >conftest.err
62058   rm -f conftest.er1
62059   cat conftest.err >&5
62060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62061   (exit $ac_status); } &&
62062          { ac_try='test -z "$ac_cxx_werror_flag"
62063                          || test ! -s conftest.err'
62064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62065   (eval $ac_try) 2>&5
62066   ac_status=$?
62067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62068   (exit $ac_status); }; } &&
62069          { ac_try='test -s conftest.$ac_objext'
62070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62071   (eval $ac_try) 2>&5
62072   ac_status=$?
62073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62074   (exit $ac_status); }; }; then
62075   glibcxx_cv_func___builtin_sinf_use=yes
62076 else
62077   echo "$as_me: failed program was:" >&5
62078 sed 's/^/| /' conftest.$ac_ext >&5
62079
62080 glibcxx_cv_func___builtin_sinf_use=no
62081 fi
62082 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62083       ac_ext=c
62084 ac_cpp='$CPP $CPPFLAGS'
62085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62088
62089
62090 fi
62091
62092   fi
62093   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
62094 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
62095   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
62096     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
62097 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
62098     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
62099       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
62100   echo $ECHO_N "(cached) $ECHO_C" >&6
62101 else
62102
62103         if test x$gcc_no_link = xyes; then
62104   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62106    { (exit 1); exit 1; }; }
62107 fi
62108 cat >conftest.$ac_ext <<_ACEOF
62109 /* confdefs.h.  */
62110 _ACEOF
62111 cat confdefs.h >>conftest.$ac_ext
62112 cat >>conftest.$ac_ext <<_ACEOF
62113 /* end confdefs.h.  */
62114 #include <math.h>
62115 int
62116 main ()
62117 {
62118  __builtin_sinf(0);
62119   ;
62120   return 0;
62121 }
62122 _ACEOF
62123 rm -f conftest.$ac_objext conftest$ac_exeext
62124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62125   (eval $ac_link) 2>conftest.er1
62126   ac_status=$?
62127   grep -v '^ *+' conftest.er1 >conftest.err
62128   rm -f conftest.er1
62129   cat conftest.err >&5
62130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62131   (exit $ac_status); } &&
62132          { ac_try='test -z "$ac_c_werror_flag"
62133                          || test ! -s conftest.err'
62134   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62135   (eval $ac_try) 2>&5
62136   ac_status=$?
62137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62138   (exit $ac_status); }; } &&
62139          { ac_try='test -s conftest$ac_exeext'
62140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62141   (eval $ac_try) 2>&5
62142   ac_status=$?
62143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62144   (exit $ac_status); }; }; then
62145   glibcxx_cv_func___builtin_sinf_link=yes
62146 else
62147   echo "$as_me: failed program was:" >&5
62148 sed 's/^/| /' conftest.$ac_ext >&5
62149
62150 glibcxx_cv_func___builtin_sinf_link=no
62151 fi
62152 rm -f conftest.err conftest.$ac_objext \
62153       conftest$ac_exeext conftest.$ac_ext
62154
62155 fi
62156
62157     fi
62158     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
62159 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
62160
62161     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
62162
62163 cat >>confdefs.h <<\_ACEOF
62164 #define HAVE___BUILTIN_SINF 1
62165 _ACEOF
62166
62167     fi
62168
62169   fi
62170
62171
62172   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
62173 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
62174   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
62175     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
62176   echo $ECHO_N "(cached) $ECHO_C" >&6
62177 else
62178
62179
62180
62181       ac_ext=cc
62182 ac_cpp='$CXXCPP $CPPFLAGS'
62183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62186
62187       cat >conftest.$ac_ext <<_ACEOF
62188 /* confdefs.h.  */
62189 _ACEOF
62190 cat confdefs.h >>conftest.$ac_ext
62191 cat >>conftest.$ac_ext <<_ACEOF
62192 /* end confdefs.h.  */
62193 #include <math.h>
62194 int
62195 main ()
62196 {
62197  __builtin_sin(0);
62198   ;
62199   return 0;
62200 }
62201 _ACEOF
62202 rm -f conftest.$ac_objext
62203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62204   (eval $ac_compile) 2>conftest.er1
62205   ac_status=$?
62206   grep -v '^ *+' conftest.er1 >conftest.err
62207   rm -f conftest.er1
62208   cat conftest.err >&5
62209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62210   (exit $ac_status); } &&
62211          { ac_try='test -z "$ac_cxx_werror_flag"
62212                          || test ! -s conftest.err'
62213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62214   (eval $ac_try) 2>&5
62215   ac_status=$?
62216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62217   (exit $ac_status); }; } &&
62218          { ac_try='test -s conftest.$ac_objext'
62219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62220   (eval $ac_try) 2>&5
62221   ac_status=$?
62222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62223   (exit $ac_status); }; }; then
62224   glibcxx_cv_func___builtin_sin_use=yes
62225 else
62226   echo "$as_me: failed program was:" >&5
62227 sed 's/^/| /' conftest.$ac_ext >&5
62228
62229 glibcxx_cv_func___builtin_sin_use=no
62230 fi
62231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62232       ac_ext=c
62233 ac_cpp='$CPP $CPPFLAGS'
62234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62237
62238
62239 fi
62240
62241   fi
62242   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
62243 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
62244   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
62245     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
62246 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
62247     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
62248       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
62249   echo $ECHO_N "(cached) $ECHO_C" >&6
62250 else
62251
62252         if test x$gcc_no_link = xyes; then
62253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62255    { (exit 1); exit 1; }; }
62256 fi
62257 cat >conftest.$ac_ext <<_ACEOF
62258 /* confdefs.h.  */
62259 _ACEOF
62260 cat confdefs.h >>conftest.$ac_ext
62261 cat >>conftest.$ac_ext <<_ACEOF
62262 /* end confdefs.h.  */
62263 #include <math.h>
62264 int
62265 main ()
62266 {
62267  __builtin_sin(0);
62268   ;
62269   return 0;
62270 }
62271 _ACEOF
62272 rm -f conftest.$ac_objext conftest$ac_exeext
62273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62274   (eval $ac_link) 2>conftest.er1
62275   ac_status=$?
62276   grep -v '^ *+' conftest.er1 >conftest.err
62277   rm -f conftest.er1
62278   cat conftest.err >&5
62279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62280   (exit $ac_status); } &&
62281          { ac_try='test -z "$ac_c_werror_flag"
62282                          || test ! -s conftest.err'
62283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62284   (eval $ac_try) 2>&5
62285   ac_status=$?
62286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62287   (exit $ac_status); }; } &&
62288          { ac_try='test -s conftest$ac_exeext'
62289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62290   (eval $ac_try) 2>&5
62291   ac_status=$?
62292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62293   (exit $ac_status); }; }; then
62294   glibcxx_cv_func___builtin_sin_link=yes
62295 else
62296   echo "$as_me: failed program was:" >&5
62297 sed 's/^/| /' conftest.$ac_ext >&5
62298
62299 glibcxx_cv_func___builtin_sin_link=no
62300 fi
62301 rm -f conftest.err conftest.$ac_objext \
62302       conftest$ac_exeext conftest.$ac_ext
62303
62304 fi
62305
62306     fi
62307     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
62308 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
62309
62310     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
62311
62312 cat >>confdefs.h <<\_ACEOF
62313 #define HAVE___BUILTIN_SIN 1
62314 _ACEOF
62315
62316     fi
62317
62318   fi
62319
62320
62321   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
62322 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
62323   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
62324     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
62325   echo $ECHO_N "(cached) $ECHO_C" >&6
62326 else
62327
62328
62329
62330       ac_ext=cc
62331 ac_cpp='$CXXCPP $CPPFLAGS'
62332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62335
62336       cat >conftest.$ac_ext <<_ACEOF
62337 /* confdefs.h.  */
62338 _ACEOF
62339 cat confdefs.h >>conftest.$ac_ext
62340 cat >>conftest.$ac_ext <<_ACEOF
62341 /* end confdefs.h.  */
62342 #include <math.h>
62343 int
62344 main ()
62345 {
62346  __builtin_sinl(0);
62347   ;
62348   return 0;
62349 }
62350 _ACEOF
62351 rm -f conftest.$ac_objext
62352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62353   (eval $ac_compile) 2>conftest.er1
62354   ac_status=$?
62355   grep -v '^ *+' conftest.er1 >conftest.err
62356   rm -f conftest.er1
62357   cat conftest.err >&5
62358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62359   (exit $ac_status); } &&
62360          { ac_try='test -z "$ac_cxx_werror_flag"
62361                          || test ! -s conftest.err'
62362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62363   (eval $ac_try) 2>&5
62364   ac_status=$?
62365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62366   (exit $ac_status); }; } &&
62367          { ac_try='test -s conftest.$ac_objext'
62368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62369   (eval $ac_try) 2>&5
62370   ac_status=$?
62371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62372   (exit $ac_status); }; }; then
62373   glibcxx_cv_func___builtin_sinl_use=yes
62374 else
62375   echo "$as_me: failed program was:" >&5
62376 sed 's/^/| /' conftest.$ac_ext >&5
62377
62378 glibcxx_cv_func___builtin_sinl_use=no
62379 fi
62380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62381       ac_ext=c
62382 ac_cpp='$CPP $CPPFLAGS'
62383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62386
62387
62388 fi
62389
62390   fi
62391   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
62392 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
62393   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
62394     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
62395 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
62396     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
62397       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
62398   echo $ECHO_N "(cached) $ECHO_C" >&6
62399 else
62400
62401         if test x$gcc_no_link = xyes; then
62402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62404    { (exit 1); exit 1; }; }
62405 fi
62406 cat >conftest.$ac_ext <<_ACEOF
62407 /* confdefs.h.  */
62408 _ACEOF
62409 cat confdefs.h >>conftest.$ac_ext
62410 cat >>conftest.$ac_ext <<_ACEOF
62411 /* end confdefs.h.  */
62412 #include <math.h>
62413 int
62414 main ()
62415 {
62416  __builtin_sinl(0);
62417   ;
62418   return 0;
62419 }
62420 _ACEOF
62421 rm -f conftest.$ac_objext conftest$ac_exeext
62422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62423   (eval $ac_link) 2>conftest.er1
62424   ac_status=$?
62425   grep -v '^ *+' conftest.er1 >conftest.err
62426   rm -f conftest.er1
62427   cat conftest.err >&5
62428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62429   (exit $ac_status); } &&
62430          { ac_try='test -z "$ac_c_werror_flag"
62431                          || test ! -s conftest.err'
62432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62433   (eval $ac_try) 2>&5
62434   ac_status=$?
62435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62436   (exit $ac_status); }; } &&
62437          { ac_try='test -s conftest$ac_exeext'
62438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62439   (eval $ac_try) 2>&5
62440   ac_status=$?
62441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62442   (exit $ac_status); }; }; then
62443   glibcxx_cv_func___builtin_sinl_link=yes
62444 else
62445   echo "$as_me: failed program was:" >&5
62446 sed 's/^/| /' conftest.$ac_ext >&5
62447
62448 glibcxx_cv_func___builtin_sinl_link=no
62449 fi
62450 rm -f conftest.err conftest.$ac_objext \
62451       conftest$ac_exeext conftest.$ac_ext
62452
62453 fi
62454
62455     fi
62456     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
62457 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
62458
62459     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
62460
62461 cat >>confdefs.h <<\_ACEOF
62462 #define HAVE___BUILTIN_SINL 1
62463 _ACEOF
62464
62465     fi
62466
62467   fi
62468
62469
62470
62471   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
62472 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
62473   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
62474     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
62475   echo $ECHO_N "(cached) $ECHO_C" >&6
62476 else
62477
62478
62479
62480       ac_ext=cc
62481 ac_cpp='$CXXCPP $CPPFLAGS'
62482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62485
62486       cat >conftest.$ac_ext <<_ACEOF
62487 /* confdefs.h.  */
62488 _ACEOF
62489 cat confdefs.h >>conftest.$ac_ext
62490 cat >>conftest.$ac_ext <<_ACEOF
62491 /* end confdefs.h.  */
62492 #include <math.h>
62493 int
62494 main ()
62495 {
62496  __builtin_cosf(0);
62497   ;
62498   return 0;
62499 }
62500 _ACEOF
62501 rm -f conftest.$ac_objext
62502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62503   (eval $ac_compile) 2>conftest.er1
62504   ac_status=$?
62505   grep -v '^ *+' conftest.er1 >conftest.err
62506   rm -f conftest.er1
62507   cat conftest.err >&5
62508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62509   (exit $ac_status); } &&
62510          { ac_try='test -z "$ac_cxx_werror_flag"
62511                          || test ! -s conftest.err'
62512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62513   (eval $ac_try) 2>&5
62514   ac_status=$?
62515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62516   (exit $ac_status); }; } &&
62517          { ac_try='test -s conftest.$ac_objext'
62518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62519   (eval $ac_try) 2>&5
62520   ac_status=$?
62521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62522   (exit $ac_status); }; }; then
62523   glibcxx_cv_func___builtin_cosf_use=yes
62524 else
62525   echo "$as_me: failed program was:" >&5
62526 sed 's/^/| /' conftest.$ac_ext >&5
62527
62528 glibcxx_cv_func___builtin_cosf_use=no
62529 fi
62530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62531       ac_ext=c
62532 ac_cpp='$CPP $CPPFLAGS'
62533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62536
62537
62538 fi
62539
62540   fi
62541   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
62542 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
62543   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
62544     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
62545 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
62546     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
62547       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
62548   echo $ECHO_N "(cached) $ECHO_C" >&6
62549 else
62550
62551         if test x$gcc_no_link = xyes; then
62552   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62554    { (exit 1); exit 1; }; }
62555 fi
62556 cat >conftest.$ac_ext <<_ACEOF
62557 /* confdefs.h.  */
62558 _ACEOF
62559 cat confdefs.h >>conftest.$ac_ext
62560 cat >>conftest.$ac_ext <<_ACEOF
62561 /* end confdefs.h.  */
62562 #include <math.h>
62563 int
62564 main ()
62565 {
62566  __builtin_cosf(0);
62567   ;
62568   return 0;
62569 }
62570 _ACEOF
62571 rm -f conftest.$ac_objext conftest$ac_exeext
62572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62573   (eval $ac_link) 2>conftest.er1
62574   ac_status=$?
62575   grep -v '^ *+' conftest.er1 >conftest.err
62576   rm -f conftest.er1
62577   cat conftest.err >&5
62578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62579   (exit $ac_status); } &&
62580          { ac_try='test -z "$ac_c_werror_flag"
62581                          || test ! -s conftest.err'
62582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62583   (eval $ac_try) 2>&5
62584   ac_status=$?
62585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62586   (exit $ac_status); }; } &&
62587          { ac_try='test -s conftest$ac_exeext'
62588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62589   (eval $ac_try) 2>&5
62590   ac_status=$?
62591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62592   (exit $ac_status); }; }; then
62593   glibcxx_cv_func___builtin_cosf_link=yes
62594 else
62595   echo "$as_me: failed program was:" >&5
62596 sed 's/^/| /' conftest.$ac_ext >&5
62597
62598 glibcxx_cv_func___builtin_cosf_link=no
62599 fi
62600 rm -f conftest.err conftest.$ac_objext \
62601       conftest$ac_exeext conftest.$ac_ext
62602
62603 fi
62604
62605     fi
62606     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
62607 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
62608
62609     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
62610
62611 cat >>confdefs.h <<\_ACEOF
62612 #define HAVE___BUILTIN_COSF 1
62613 _ACEOF
62614
62615     fi
62616
62617   fi
62618
62619
62620   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
62621 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
62622   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
62623     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
62624   echo $ECHO_N "(cached) $ECHO_C" >&6
62625 else
62626
62627
62628
62629       ac_ext=cc
62630 ac_cpp='$CXXCPP $CPPFLAGS'
62631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62634
62635       cat >conftest.$ac_ext <<_ACEOF
62636 /* confdefs.h.  */
62637 _ACEOF
62638 cat confdefs.h >>conftest.$ac_ext
62639 cat >>conftest.$ac_ext <<_ACEOF
62640 /* end confdefs.h.  */
62641 #include <math.h>
62642 int
62643 main ()
62644 {
62645  __builtin_cos(0);
62646   ;
62647   return 0;
62648 }
62649 _ACEOF
62650 rm -f conftest.$ac_objext
62651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62652   (eval $ac_compile) 2>conftest.er1
62653   ac_status=$?
62654   grep -v '^ *+' conftest.er1 >conftest.err
62655   rm -f conftest.er1
62656   cat conftest.err >&5
62657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62658   (exit $ac_status); } &&
62659          { ac_try='test -z "$ac_cxx_werror_flag"
62660                          || test ! -s conftest.err'
62661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62662   (eval $ac_try) 2>&5
62663   ac_status=$?
62664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62665   (exit $ac_status); }; } &&
62666          { ac_try='test -s conftest.$ac_objext'
62667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62668   (eval $ac_try) 2>&5
62669   ac_status=$?
62670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62671   (exit $ac_status); }; }; then
62672   glibcxx_cv_func___builtin_cos_use=yes
62673 else
62674   echo "$as_me: failed program was:" >&5
62675 sed 's/^/| /' conftest.$ac_ext >&5
62676
62677 glibcxx_cv_func___builtin_cos_use=no
62678 fi
62679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62680       ac_ext=c
62681 ac_cpp='$CPP $CPPFLAGS'
62682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62685
62686
62687 fi
62688
62689   fi
62690   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
62691 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
62692   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
62693     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
62694 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
62695     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
62696       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
62697   echo $ECHO_N "(cached) $ECHO_C" >&6
62698 else
62699
62700         if test x$gcc_no_link = xyes; then
62701   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62703    { (exit 1); exit 1; }; }
62704 fi
62705 cat >conftest.$ac_ext <<_ACEOF
62706 /* confdefs.h.  */
62707 _ACEOF
62708 cat confdefs.h >>conftest.$ac_ext
62709 cat >>conftest.$ac_ext <<_ACEOF
62710 /* end confdefs.h.  */
62711 #include <math.h>
62712 int
62713 main ()
62714 {
62715  __builtin_cos(0);
62716   ;
62717   return 0;
62718 }
62719 _ACEOF
62720 rm -f conftest.$ac_objext conftest$ac_exeext
62721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62722   (eval $ac_link) 2>conftest.er1
62723   ac_status=$?
62724   grep -v '^ *+' conftest.er1 >conftest.err
62725   rm -f conftest.er1
62726   cat conftest.err >&5
62727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62728   (exit $ac_status); } &&
62729          { ac_try='test -z "$ac_c_werror_flag"
62730                          || test ! -s conftest.err'
62731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62732   (eval $ac_try) 2>&5
62733   ac_status=$?
62734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62735   (exit $ac_status); }; } &&
62736          { ac_try='test -s conftest$ac_exeext'
62737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62738   (eval $ac_try) 2>&5
62739   ac_status=$?
62740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62741   (exit $ac_status); }; }; then
62742   glibcxx_cv_func___builtin_cos_link=yes
62743 else
62744   echo "$as_me: failed program was:" >&5
62745 sed 's/^/| /' conftest.$ac_ext >&5
62746
62747 glibcxx_cv_func___builtin_cos_link=no
62748 fi
62749 rm -f conftest.err conftest.$ac_objext \
62750       conftest$ac_exeext conftest.$ac_ext
62751
62752 fi
62753
62754     fi
62755     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
62756 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
62757
62758     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
62759
62760 cat >>confdefs.h <<\_ACEOF
62761 #define HAVE___BUILTIN_COS 1
62762 _ACEOF
62763
62764     fi
62765
62766   fi
62767
62768
62769   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
62770 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
62771   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
62772     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
62773   echo $ECHO_N "(cached) $ECHO_C" >&6
62774 else
62775
62776
62777
62778       ac_ext=cc
62779 ac_cpp='$CXXCPP $CPPFLAGS'
62780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62783
62784       cat >conftest.$ac_ext <<_ACEOF
62785 /* confdefs.h.  */
62786 _ACEOF
62787 cat confdefs.h >>conftest.$ac_ext
62788 cat >>conftest.$ac_ext <<_ACEOF
62789 /* end confdefs.h.  */
62790 #include <math.h>
62791 int
62792 main ()
62793 {
62794  __builtin_cosl(0);
62795   ;
62796   return 0;
62797 }
62798 _ACEOF
62799 rm -f conftest.$ac_objext
62800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62801   (eval $ac_compile) 2>conftest.er1
62802   ac_status=$?
62803   grep -v '^ *+' conftest.er1 >conftest.err
62804   rm -f conftest.er1
62805   cat conftest.err >&5
62806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62807   (exit $ac_status); } &&
62808          { ac_try='test -z "$ac_cxx_werror_flag"
62809                          || test ! -s conftest.err'
62810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62811   (eval $ac_try) 2>&5
62812   ac_status=$?
62813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62814   (exit $ac_status); }; } &&
62815          { ac_try='test -s conftest.$ac_objext'
62816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62817   (eval $ac_try) 2>&5
62818   ac_status=$?
62819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62820   (exit $ac_status); }; }; then
62821   glibcxx_cv_func___builtin_cosl_use=yes
62822 else
62823   echo "$as_me: failed program was:" >&5
62824 sed 's/^/| /' conftest.$ac_ext >&5
62825
62826 glibcxx_cv_func___builtin_cosl_use=no
62827 fi
62828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62829       ac_ext=c
62830 ac_cpp='$CPP $CPPFLAGS'
62831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62834
62835
62836 fi
62837
62838   fi
62839   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
62840 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
62841   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
62842     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
62843 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
62844     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
62845       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
62846   echo $ECHO_N "(cached) $ECHO_C" >&6
62847 else
62848
62849         if test x$gcc_no_link = xyes; then
62850   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62852    { (exit 1); exit 1; }; }
62853 fi
62854 cat >conftest.$ac_ext <<_ACEOF
62855 /* confdefs.h.  */
62856 _ACEOF
62857 cat confdefs.h >>conftest.$ac_ext
62858 cat >>conftest.$ac_ext <<_ACEOF
62859 /* end confdefs.h.  */
62860 #include <math.h>
62861 int
62862 main ()
62863 {
62864  __builtin_cosl(0);
62865   ;
62866   return 0;
62867 }
62868 _ACEOF
62869 rm -f conftest.$ac_objext conftest$ac_exeext
62870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62871   (eval $ac_link) 2>conftest.er1
62872   ac_status=$?
62873   grep -v '^ *+' conftest.er1 >conftest.err
62874   rm -f conftest.er1
62875   cat conftest.err >&5
62876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62877   (exit $ac_status); } &&
62878          { ac_try='test -z "$ac_c_werror_flag"
62879                          || test ! -s conftest.err'
62880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62881   (eval $ac_try) 2>&5
62882   ac_status=$?
62883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62884   (exit $ac_status); }; } &&
62885          { ac_try='test -s conftest$ac_exeext'
62886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62887   (eval $ac_try) 2>&5
62888   ac_status=$?
62889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62890   (exit $ac_status); }; }; then
62891   glibcxx_cv_func___builtin_cosl_link=yes
62892 else
62893   echo "$as_me: failed program was:" >&5
62894 sed 's/^/| /' conftest.$ac_ext >&5
62895
62896 glibcxx_cv_func___builtin_cosl_link=no
62897 fi
62898 rm -f conftest.err conftest.$ac_objext \
62899       conftest$ac_exeext conftest.$ac_ext
62900
62901 fi
62902
62903     fi
62904     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
62905 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
62906
62907     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
62908
62909 cat >>confdefs.h <<\_ACEOF
62910 #define HAVE___BUILTIN_COSL 1
62911 _ACEOF
62912
62913     fi
62914
62915   fi
62916
62917
62918
62919
62920 echo "$as_me:$LINENO: checking for main in -lm" >&5
62921 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
62922 if test "${ac_cv_lib_m_main+set}" = set; then
62923   echo $ECHO_N "(cached) $ECHO_C" >&6
62924 else
62925   ac_check_lib_save_LIBS=$LIBS
62926 LIBS="-lm  $LIBS"
62927 if test x$gcc_no_link = xyes; then
62928   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62930    { (exit 1); exit 1; }; }
62931 fi
62932 cat >conftest.$ac_ext <<_ACEOF
62933 /* confdefs.h.  */
62934 _ACEOF
62935 cat confdefs.h >>conftest.$ac_ext
62936 cat >>conftest.$ac_ext <<_ACEOF
62937 /* end confdefs.h.  */
62938
62939
62940 int
62941 main ()
62942 {
62943 main ();
62944   ;
62945   return 0;
62946 }
62947 _ACEOF
62948 rm -f conftest.$ac_objext conftest$ac_exeext
62949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62950   (eval $ac_link) 2>conftest.er1
62951   ac_status=$?
62952   grep -v '^ *+' conftest.er1 >conftest.err
62953   rm -f conftest.er1
62954   cat conftest.err >&5
62955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62956   (exit $ac_status); } &&
62957          { ac_try='test -z "$ac_c_werror_flag"
62958                          || test ! -s conftest.err'
62959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62960   (eval $ac_try) 2>&5
62961   ac_status=$?
62962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62963   (exit $ac_status); }; } &&
62964          { ac_try='test -s conftest$ac_exeext'
62965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62966   (eval $ac_try) 2>&5
62967   ac_status=$?
62968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62969   (exit $ac_status); }; }; then
62970   ac_cv_lib_m_main=yes
62971 else
62972   echo "$as_me: failed program was:" >&5
62973 sed 's/^/| /' conftest.$ac_ext >&5
62974
62975 ac_cv_lib_m_main=no
62976 fi
62977 rm -f conftest.err conftest.$ac_objext \
62978       conftest$ac_exeext conftest.$ac_ext
62979 LIBS=$ac_check_lib_save_LIBS
62980 fi
62981 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
62982 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
62983 if test $ac_cv_lib_m_main = yes; then
62984   cat >>confdefs.h <<_ACEOF
62985 #define HAVE_LIBM 1
62986 _ACEOF
62987
62988   LIBS="-lm $LIBS"
62989
62990 fi
62991
62992
62993 for ac_func in copysignf
62994 do
62995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62996 echo "$as_me:$LINENO: checking for $ac_func" >&5
62997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62998 if eval "test \"\${$as_ac_var+set}\" = set"; then
62999   echo $ECHO_N "(cached) $ECHO_C" >&6
63000 else
63001   if test x$gcc_no_link = xyes; then
63002   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63004    { (exit 1); exit 1; }; }
63005 fi
63006 cat >conftest.$ac_ext <<_ACEOF
63007 /* confdefs.h.  */
63008 _ACEOF
63009 cat confdefs.h >>conftest.$ac_ext
63010 cat >>conftest.$ac_ext <<_ACEOF
63011 /* end confdefs.h.  */
63012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63013    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63014 #define $ac_func innocuous_$ac_func
63015
63016 /* System header to define __stub macros and hopefully few prototypes,
63017     which can conflict with char $ac_func (); below.
63018     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63019     <limits.h> exists even on freestanding compilers.  */
63020
63021 #ifdef __STDC__
63022 # include <limits.h>
63023 #else
63024 # include <assert.h>
63025 #endif
63026
63027 #undef $ac_func
63028
63029 /* Override any gcc2 internal prototype to avoid an error.  */
63030 #ifdef __cplusplus
63031 extern "C"
63032 {
63033 #endif
63034 /* We use char because int might match the return type of a gcc2
63035    builtin and then its argument prototype would still apply.  */
63036 char $ac_func ();
63037 /* The GNU C library defines this for functions which it implements
63038     to always fail with ENOSYS.  Some functions are actually named
63039     something starting with __ and the normal name is an alias.  */
63040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63041 choke me
63042 #else
63043 char (*f) () = $ac_func;
63044 #endif
63045 #ifdef __cplusplus
63046 }
63047 #endif
63048
63049 int
63050 main ()
63051 {
63052 return f != $ac_func;
63053   ;
63054   return 0;
63055 }
63056 _ACEOF
63057 rm -f conftest.$ac_objext conftest$ac_exeext
63058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63059   (eval $ac_link) 2>conftest.er1
63060   ac_status=$?
63061   grep -v '^ *+' conftest.er1 >conftest.err
63062   rm -f conftest.er1
63063   cat conftest.err >&5
63064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63065   (exit $ac_status); } &&
63066          { ac_try='test -z "$ac_c_werror_flag"
63067                          || test ! -s conftest.err'
63068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63069   (eval $ac_try) 2>&5
63070   ac_status=$?
63071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63072   (exit $ac_status); }; } &&
63073          { ac_try='test -s conftest$ac_exeext'
63074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63075   (eval $ac_try) 2>&5
63076   ac_status=$?
63077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63078   (exit $ac_status); }; }; then
63079   eval "$as_ac_var=yes"
63080 else
63081   echo "$as_me: failed program was:" >&5
63082 sed 's/^/| /' conftest.$ac_ext >&5
63083
63084 eval "$as_ac_var=no"
63085 fi
63086 rm -f conftest.err conftest.$ac_objext \
63087       conftest$ac_exeext conftest.$ac_ext
63088 fi
63089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63091 if test `eval echo '${'$as_ac_var'}'` = yes; then
63092   cat >>confdefs.h <<_ACEOF
63093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63094 _ACEOF
63095
63096 else
63097   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63098 fi
63099 done
63100
63101
63102
63103 for ac_func in __signbit
63104 do
63105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63106 echo "$as_me:$LINENO: checking for $ac_func" >&5
63107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63108 if eval "test \"\${$as_ac_var+set}\" = set"; then
63109   echo $ECHO_N "(cached) $ECHO_C" >&6
63110 else
63111   if test x$gcc_no_link = xyes; then
63112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63114    { (exit 1); exit 1; }; }
63115 fi
63116 cat >conftest.$ac_ext <<_ACEOF
63117 /* confdefs.h.  */
63118 _ACEOF
63119 cat confdefs.h >>conftest.$ac_ext
63120 cat >>conftest.$ac_ext <<_ACEOF
63121 /* end confdefs.h.  */
63122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63123    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63124 #define $ac_func innocuous_$ac_func
63125
63126 /* System header to define __stub macros and hopefully few prototypes,
63127     which can conflict with char $ac_func (); below.
63128     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63129     <limits.h> exists even on freestanding compilers.  */
63130
63131 #ifdef __STDC__
63132 # include <limits.h>
63133 #else
63134 # include <assert.h>
63135 #endif
63136
63137 #undef $ac_func
63138
63139 /* Override any gcc2 internal prototype to avoid an error.  */
63140 #ifdef __cplusplus
63141 extern "C"
63142 {
63143 #endif
63144 /* We use char because int might match the return type of a gcc2
63145    builtin and then its argument prototype would still apply.  */
63146 char $ac_func ();
63147 /* The GNU C library defines this for functions which it implements
63148     to always fail with ENOSYS.  Some functions are actually named
63149     something starting with __ and the normal name is an alias.  */
63150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63151 choke me
63152 #else
63153 char (*f) () = $ac_func;
63154 #endif
63155 #ifdef __cplusplus
63156 }
63157 #endif
63158
63159 int
63160 main ()
63161 {
63162 return f != $ac_func;
63163   ;
63164   return 0;
63165 }
63166 _ACEOF
63167 rm -f conftest.$ac_objext conftest$ac_exeext
63168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63169   (eval $ac_link) 2>conftest.er1
63170   ac_status=$?
63171   grep -v '^ *+' conftest.er1 >conftest.err
63172   rm -f conftest.er1
63173   cat conftest.err >&5
63174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63175   (exit $ac_status); } &&
63176          { ac_try='test -z "$ac_c_werror_flag"
63177                          || test ! -s conftest.err'
63178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63179   (eval $ac_try) 2>&5
63180   ac_status=$?
63181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63182   (exit $ac_status); }; } &&
63183          { ac_try='test -s conftest$ac_exeext'
63184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63185   (eval $ac_try) 2>&5
63186   ac_status=$?
63187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63188   (exit $ac_status); }; }; then
63189   eval "$as_ac_var=yes"
63190 else
63191   echo "$as_me: failed program was:" >&5
63192 sed 's/^/| /' conftest.$ac_ext >&5
63193
63194 eval "$as_ac_var=no"
63195 fi
63196 rm -f conftest.err conftest.$ac_objext \
63197       conftest$ac_exeext conftest.$ac_ext
63198 fi
63199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63201 if test `eval echo '${'$as_ac_var'}'` = yes; then
63202   cat >>confdefs.h <<_ACEOF
63203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63204 _ACEOF
63205
63206 else
63207   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
63208 fi
63209 done
63210
63211
63212
63213 for ac_func in __signbitf
63214 do
63215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63216 echo "$as_me:$LINENO: checking for $ac_func" >&5
63217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63218 if eval "test \"\${$as_ac_var+set}\" = set"; then
63219   echo $ECHO_N "(cached) $ECHO_C" >&6
63220 else
63221   if test x$gcc_no_link = xyes; then
63222   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63224    { (exit 1); exit 1; }; }
63225 fi
63226 cat >conftest.$ac_ext <<_ACEOF
63227 /* confdefs.h.  */
63228 _ACEOF
63229 cat confdefs.h >>conftest.$ac_ext
63230 cat >>conftest.$ac_ext <<_ACEOF
63231 /* end confdefs.h.  */
63232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63233    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63234 #define $ac_func innocuous_$ac_func
63235
63236 /* System header to define __stub macros and hopefully few prototypes,
63237     which can conflict with char $ac_func (); below.
63238     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63239     <limits.h> exists even on freestanding compilers.  */
63240
63241 #ifdef __STDC__
63242 # include <limits.h>
63243 #else
63244 # include <assert.h>
63245 #endif
63246
63247 #undef $ac_func
63248
63249 /* Override any gcc2 internal prototype to avoid an error.  */
63250 #ifdef __cplusplus
63251 extern "C"
63252 {
63253 #endif
63254 /* We use char because int might match the return type of a gcc2
63255    builtin and then its argument prototype would still apply.  */
63256 char $ac_func ();
63257 /* The GNU C library defines this for functions which it implements
63258     to always fail with ENOSYS.  Some functions are actually named
63259     something starting with __ and the normal name is an alias.  */
63260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63261 choke me
63262 #else
63263 char (*f) () = $ac_func;
63264 #endif
63265 #ifdef __cplusplus
63266 }
63267 #endif
63268
63269 int
63270 main ()
63271 {
63272 return f != $ac_func;
63273   ;
63274   return 0;
63275 }
63276 _ACEOF
63277 rm -f conftest.$ac_objext conftest$ac_exeext
63278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63279   (eval $ac_link) 2>conftest.er1
63280   ac_status=$?
63281   grep -v '^ *+' conftest.er1 >conftest.err
63282   rm -f conftest.er1
63283   cat conftest.err >&5
63284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63285   (exit $ac_status); } &&
63286          { ac_try='test -z "$ac_c_werror_flag"
63287                          || test ! -s conftest.err'
63288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63289   (eval $ac_try) 2>&5
63290   ac_status=$?
63291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63292   (exit $ac_status); }; } &&
63293          { ac_try='test -s conftest$ac_exeext'
63294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63295   (eval $ac_try) 2>&5
63296   ac_status=$?
63297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63298   (exit $ac_status); }; }; then
63299   eval "$as_ac_var=yes"
63300 else
63301   echo "$as_me: failed program was:" >&5
63302 sed 's/^/| /' conftest.$ac_ext >&5
63303
63304 eval "$as_ac_var=no"
63305 fi
63306 rm -f conftest.err conftest.$ac_objext \
63307       conftest$ac_exeext conftest.$ac_ext
63308 fi
63309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63311 if test `eval echo '${'$as_ac_var'}'` = yes; then
63312   cat >>confdefs.h <<_ACEOF
63313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63314 _ACEOF
63315
63316 else
63317   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
63318 fi
63319 done
63320
63321
63322           if test x$ac_cv_func_copysignl = x"yes"; then
63323
63324 for ac_func in __signbitl
63325 do
63326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63327 echo "$as_me:$LINENO: checking for $ac_func" >&5
63328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63329 if eval "test \"\${$as_ac_var+set}\" = set"; then
63330   echo $ECHO_N "(cached) $ECHO_C" >&6
63331 else
63332   if test x$gcc_no_link = xyes; then
63333   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63335    { (exit 1); exit 1; }; }
63336 fi
63337 cat >conftest.$ac_ext <<_ACEOF
63338 /* confdefs.h.  */
63339 _ACEOF
63340 cat confdefs.h >>conftest.$ac_ext
63341 cat >>conftest.$ac_ext <<_ACEOF
63342 /* end confdefs.h.  */
63343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63344    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63345 #define $ac_func innocuous_$ac_func
63346
63347 /* System header to define __stub macros and hopefully few prototypes,
63348     which can conflict with char $ac_func (); below.
63349     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63350     <limits.h> exists even on freestanding compilers.  */
63351
63352 #ifdef __STDC__
63353 # include <limits.h>
63354 #else
63355 # include <assert.h>
63356 #endif
63357
63358 #undef $ac_func
63359
63360 /* Override any gcc2 internal prototype to avoid an error.  */
63361 #ifdef __cplusplus
63362 extern "C"
63363 {
63364 #endif
63365 /* We use char because int might match the return type of a gcc2
63366    builtin and then its argument prototype would still apply.  */
63367 char $ac_func ();
63368 /* The GNU C library defines this for functions which it implements
63369     to always fail with ENOSYS.  Some functions are actually named
63370     something starting with __ and the normal name is an alias.  */
63371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63372 choke me
63373 #else
63374 char (*f) () = $ac_func;
63375 #endif
63376 #ifdef __cplusplus
63377 }
63378 #endif
63379
63380 int
63381 main ()
63382 {
63383 return f != $ac_func;
63384   ;
63385   return 0;
63386 }
63387 _ACEOF
63388 rm -f conftest.$ac_objext conftest$ac_exeext
63389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63390   (eval $ac_link) 2>conftest.er1
63391   ac_status=$?
63392   grep -v '^ *+' conftest.er1 >conftest.err
63393   rm -f conftest.er1
63394   cat conftest.err >&5
63395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63396   (exit $ac_status); } &&
63397          { ac_try='test -z "$ac_c_werror_flag"
63398                          || test ! -s conftest.err'
63399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63400   (eval $ac_try) 2>&5
63401   ac_status=$?
63402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63403   (exit $ac_status); }; } &&
63404          { ac_try='test -s conftest$ac_exeext'
63405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63406   (eval $ac_try) 2>&5
63407   ac_status=$?
63408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63409   (exit $ac_status); }; }; then
63410   eval "$as_ac_var=yes"
63411 else
63412   echo "$as_me: failed program was:" >&5
63413 sed 's/^/| /' conftest.$ac_ext >&5
63414
63415 eval "$as_ac_var=no"
63416 fi
63417 rm -f conftest.err conftest.$ac_objext \
63418       conftest$ac_exeext conftest.$ac_ext
63419 fi
63420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63422 if test `eval echo '${'$as_ac_var'}'` = yes; then
63423   cat >>confdefs.h <<_ACEOF
63424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63425 _ACEOF
63426
63427 else
63428   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
63429 fi
63430 done
63431
63432   fi
63433
63434   # Used in libmath/Makefile.am.
63435   if test -n "$LIBMATHOBJS"; then
63436     need_libmath=yes
63437   fi
63438
63439
63440
63441   ac_test_CXXFLAGS="${CXXFLAGS+set}"
63442   ac_save_CXXFLAGS="$CXXFLAGS"
63443   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63444
63445
63446   echo "$as_me:$LINENO: checking for strtold declaration" >&5
63447 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
63448   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63449     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
63450   echo $ECHO_N "(cached) $ECHO_C" >&6
63451 else
63452
63453
63454
63455       ac_ext=cc
63456 ac_cpp='$CXXCPP $CPPFLAGS'
63457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63460
63461       cat >conftest.$ac_ext <<_ACEOF
63462 /* confdefs.h.  */
63463 _ACEOF
63464 cat confdefs.h >>conftest.$ac_ext
63465 cat >>conftest.$ac_ext <<_ACEOF
63466 /* end confdefs.h.  */
63467 #include <stdlib.h>
63468 int
63469 main ()
63470 {
63471  strtold(0, 0);
63472   ;
63473   return 0;
63474 }
63475 _ACEOF
63476 rm -f conftest.$ac_objext
63477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63478   (eval $ac_compile) 2>conftest.er1
63479   ac_status=$?
63480   grep -v '^ *+' conftest.er1 >conftest.err
63481   rm -f conftest.er1
63482   cat conftest.err >&5
63483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63484   (exit $ac_status); } &&
63485          { ac_try='test -z "$ac_cxx_werror_flag"
63486                          || test ! -s conftest.err'
63487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63488   (eval $ac_try) 2>&5
63489   ac_status=$?
63490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63491   (exit $ac_status); }; } &&
63492          { ac_try='test -s conftest.$ac_objext'
63493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63494   (eval $ac_try) 2>&5
63495   ac_status=$?
63496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63497   (exit $ac_status); }; }; then
63498   glibcxx_cv_func_strtold_use=yes
63499 else
63500   echo "$as_me: failed program was:" >&5
63501 sed 's/^/| /' conftest.$ac_ext >&5
63502
63503 glibcxx_cv_func_strtold_use=no
63504 fi
63505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63506       ac_ext=c
63507 ac_cpp='$CPP $CPPFLAGS'
63508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63511
63512
63513 fi
63514
63515   fi
63516   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
63517 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
63518   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63519
63520 for ac_func in strtold
63521 do
63522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63523 echo "$as_me:$LINENO: checking for $ac_func" >&5
63524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63525 if eval "test \"\${$as_ac_var+set}\" = set"; then
63526   echo $ECHO_N "(cached) $ECHO_C" >&6
63527 else
63528   if test x$gcc_no_link = xyes; then
63529   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63531    { (exit 1); exit 1; }; }
63532 fi
63533 cat >conftest.$ac_ext <<_ACEOF
63534 /* confdefs.h.  */
63535 _ACEOF
63536 cat confdefs.h >>conftest.$ac_ext
63537 cat >>conftest.$ac_ext <<_ACEOF
63538 /* end confdefs.h.  */
63539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63540    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63541 #define $ac_func innocuous_$ac_func
63542
63543 /* System header to define __stub macros and hopefully few prototypes,
63544     which can conflict with char $ac_func (); below.
63545     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63546     <limits.h> exists even on freestanding compilers.  */
63547
63548 #ifdef __STDC__
63549 # include <limits.h>
63550 #else
63551 # include <assert.h>
63552 #endif
63553
63554 #undef $ac_func
63555
63556 /* Override any gcc2 internal prototype to avoid an error.  */
63557 #ifdef __cplusplus
63558 extern "C"
63559 {
63560 #endif
63561 /* We use char because int might match the return type of a gcc2
63562    builtin and then its argument prototype would still apply.  */
63563 char $ac_func ();
63564 /* The GNU C library defines this for functions which it implements
63565     to always fail with ENOSYS.  Some functions are actually named
63566     something starting with __ and the normal name is an alias.  */
63567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63568 choke me
63569 #else
63570 char (*f) () = $ac_func;
63571 #endif
63572 #ifdef __cplusplus
63573 }
63574 #endif
63575
63576 int
63577 main ()
63578 {
63579 return f != $ac_func;
63580   ;
63581   return 0;
63582 }
63583 _ACEOF
63584 rm -f conftest.$ac_objext conftest$ac_exeext
63585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63586   (eval $ac_link) 2>conftest.er1
63587   ac_status=$?
63588   grep -v '^ *+' conftest.er1 >conftest.err
63589   rm -f conftest.er1
63590   cat conftest.err >&5
63591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63592   (exit $ac_status); } &&
63593          { ac_try='test -z "$ac_c_werror_flag"
63594                          || test ! -s conftest.err'
63595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63596   (eval $ac_try) 2>&5
63597   ac_status=$?
63598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63599   (exit $ac_status); }; } &&
63600          { ac_try='test -s conftest$ac_exeext'
63601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63602   (eval $ac_try) 2>&5
63603   ac_status=$?
63604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63605   (exit $ac_status); }; }; then
63606   eval "$as_ac_var=yes"
63607 else
63608   echo "$as_me: failed program was:" >&5
63609 sed 's/^/| /' conftest.$ac_ext >&5
63610
63611 eval "$as_ac_var=no"
63612 fi
63613 rm -f conftest.err conftest.$ac_objext \
63614       conftest$ac_exeext conftest.$ac_ext
63615 fi
63616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63618 if test `eval echo '${'$as_ac_var'}'` = yes; then
63619   cat >>confdefs.h <<_ACEOF
63620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63621 _ACEOF
63622
63623 fi
63624 done
63625
63626   fi
63627
63628
63629
63630
63631
63632   echo "$as_me:$LINENO: checking for strtof declaration" >&5
63633 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
63634   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63635     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
63636   echo $ECHO_N "(cached) $ECHO_C" >&6
63637 else
63638
63639
63640
63641       ac_ext=cc
63642 ac_cpp='$CXXCPP $CPPFLAGS'
63643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63646
63647       cat >conftest.$ac_ext <<_ACEOF
63648 /* confdefs.h.  */
63649 _ACEOF
63650 cat confdefs.h >>conftest.$ac_ext
63651 cat >>conftest.$ac_ext <<_ACEOF
63652 /* end confdefs.h.  */
63653 #include <stdlib.h>
63654 int
63655 main ()
63656 {
63657  strtof(0, 0);
63658   ;
63659   return 0;
63660 }
63661 _ACEOF
63662 rm -f conftest.$ac_objext
63663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63664   (eval $ac_compile) 2>conftest.er1
63665   ac_status=$?
63666   grep -v '^ *+' conftest.er1 >conftest.err
63667   rm -f conftest.er1
63668   cat conftest.err >&5
63669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63670   (exit $ac_status); } &&
63671          { ac_try='test -z "$ac_cxx_werror_flag"
63672                          || test ! -s conftest.err'
63673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63674   (eval $ac_try) 2>&5
63675   ac_status=$?
63676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63677   (exit $ac_status); }; } &&
63678          { ac_try='test -s conftest.$ac_objext'
63679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63680   (eval $ac_try) 2>&5
63681   ac_status=$?
63682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63683   (exit $ac_status); }; }; then
63684   glibcxx_cv_func_strtof_use=yes
63685 else
63686   echo "$as_me: failed program was:" >&5
63687 sed 's/^/| /' conftest.$ac_ext >&5
63688
63689 glibcxx_cv_func_strtof_use=no
63690 fi
63691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63692       ac_ext=c
63693 ac_cpp='$CPP $CPPFLAGS'
63694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63697
63698
63699 fi
63700
63701   fi
63702   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
63703 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
63704   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63705
63706 for ac_func in strtof
63707 do
63708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63709 echo "$as_me:$LINENO: checking for $ac_func" >&5
63710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63711 if eval "test \"\${$as_ac_var+set}\" = set"; then
63712   echo $ECHO_N "(cached) $ECHO_C" >&6
63713 else
63714   if test x$gcc_no_link = xyes; then
63715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63717    { (exit 1); exit 1; }; }
63718 fi
63719 cat >conftest.$ac_ext <<_ACEOF
63720 /* confdefs.h.  */
63721 _ACEOF
63722 cat confdefs.h >>conftest.$ac_ext
63723 cat >>conftest.$ac_ext <<_ACEOF
63724 /* end confdefs.h.  */
63725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63726    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63727 #define $ac_func innocuous_$ac_func
63728
63729 /* System header to define __stub macros and hopefully few prototypes,
63730     which can conflict with char $ac_func (); below.
63731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63732     <limits.h> exists even on freestanding compilers.  */
63733
63734 #ifdef __STDC__
63735 # include <limits.h>
63736 #else
63737 # include <assert.h>
63738 #endif
63739
63740 #undef $ac_func
63741
63742 /* Override any gcc2 internal prototype to avoid an error.  */
63743 #ifdef __cplusplus
63744 extern "C"
63745 {
63746 #endif
63747 /* We use char because int might match the return type of a gcc2
63748    builtin and then its argument prototype would still apply.  */
63749 char $ac_func ();
63750 /* The GNU C library defines this for functions which it implements
63751     to always fail with ENOSYS.  Some functions are actually named
63752     something starting with __ and the normal name is an alias.  */
63753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63754 choke me
63755 #else
63756 char (*f) () = $ac_func;
63757 #endif
63758 #ifdef __cplusplus
63759 }
63760 #endif
63761
63762 int
63763 main ()
63764 {
63765 return f != $ac_func;
63766   ;
63767   return 0;
63768 }
63769 _ACEOF
63770 rm -f conftest.$ac_objext conftest$ac_exeext
63771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63772   (eval $ac_link) 2>conftest.er1
63773   ac_status=$?
63774   grep -v '^ *+' conftest.er1 >conftest.err
63775   rm -f conftest.er1
63776   cat conftest.err >&5
63777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63778   (exit $ac_status); } &&
63779          { ac_try='test -z "$ac_c_werror_flag"
63780                          || test ! -s conftest.err'
63781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63782   (eval $ac_try) 2>&5
63783   ac_status=$?
63784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63785   (exit $ac_status); }; } &&
63786          { ac_try='test -s conftest$ac_exeext'
63787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63788   (eval $ac_try) 2>&5
63789   ac_status=$?
63790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63791   (exit $ac_status); }; }; then
63792   eval "$as_ac_var=yes"
63793 else
63794   echo "$as_me: failed program was:" >&5
63795 sed 's/^/| /' conftest.$ac_ext >&5
63796
63797 eval "$as_ac_var=no"
63798 fi
63799 rm -f conftest.err conftest.$ac_objext \
63800       conftest$ac_exeext conftest.$ac_ext
63801 fi
63802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63804 if test `eval echo '${'$as_ac_var'}'` = yes; then
63805   cat >>confdefs.h <<_ACEOF
63806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63807 _ACEOF
63808
63809 fi
63810 done
63811
63812   fi
63813
63814
63815
63816
63817
63818   CXXFLAGS="$ac_save_CXXFLAGS"
63819
63820
63821   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
63822 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
63823   if test "${glibcxx_cv_S_ISREG+set}" = set; then
63824   echo $ECHO_N "(cached) $ECHO_C" >&6
63825 else
63826
63827     if test x$gcc_no_link = xyes; then
63828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63830    { (exit 1); exit 1; }; }
63831 fi
63832 cat >conftest.$ac_ext <<_ACEOF
63833 /* confdefs.h.  */
63834 _ACEOF
63835 cat confdefs.h >>conftest.$ac_ext
63836 cat >>conftest.$ac_ext <<_ACEOF
63837 /* end confdefs.h.  */
63838 #include <sys/stat.h>
63839 int
63840 main ()
63841 {
63842 struct stat buffer;
63843        fstat(0, &buffer);
63844        S_ISREG(buffer.st_mode);
63845   ;
63846   return 0;
63847 }
63848 _ACEOF
63849 rm -f conftest.$ac_objext conftest$ac_exeext
63850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63851   (eval $ac_link) 2>conftest.er1
63852   ac_status=$?
63853   grep -v '^ *+' conftest.er1 >conftest.err
63854   rm -f conftest.er1
63855   cat conftest.err >&5
63856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63857   (exit $ac_status); } &&
63858          { ac_try='test -z "$ac_c_werror_flag"
63859                          || test ! -s conftest.err'
63860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63861   (eval $ac_try) 2>&5
63862   ac_status=$?
63863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63864   (exit $ac_status); }; } &&
63865          { ac_try='test -s conftest$ac_exeext'
63866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63867   (eval $ac_try) 2>&5
63868   ac_status=$?
63869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63870   (exit $ac_status); }; }; then
63871   glibcxx_cv_S_ISREG=yes
63872 else
63873   echo "$as_me: failed program was:" >&5
63874 sed 's/^/| /' conftest.$ac_ext >&5
63875
63876 glibcxx_cv_S_ISREG=no
63877 fi
63878 rm -f conftest.err conftest.$ac_objext \
63879       conftest$ac_exeext conftest.$ac_ext
63880
63881 fi
63882
63883   if test "${glibcxx_cv_S_IFREG+set}" = set; then
63884   echo $ECHO_N "(cached) $ECHO_C" >&6
63885 else
63886
63887     if test x$gcc_no_link = xyes; then
63888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63890    { (exit 1); exit 1; }; }
63891 fi
63892 cat >conftest.$ac_ext <<_ACEOF
63893 /* confdefs.h.  */
63894 _ACEOF
63895 cat confdefs.h >>conftest.$ac_ext
63896 cat >>conftest.$ac_ext <<_ACEOF
63897 /* end confdefs.h.  */
63898 #include <sys/stat.h>
63899 int
63900 main ()
63901 {
63902 struct stat buffer;
63903        fstat(0, &buffer);
63904        S_IFREG & buffer.st_mode;
63905   ;
63906   return 0;
63907 }
63908 _ACEOF
63909 rm -f conftest.$ac_objext conftest$ac_exeext
63910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63911   (eval $ac_link) 2>conftest.er1
63912   ac_status=$?
63913   grep -v '^ *+' conftest.er1 >conftest.err
63914   rm -f conftest.er1
63915   cat conftest.err >&5
63916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63917   (exit $ac_status); } &&
63918          { ac_try='test -z "$ac_c_werror_flag"
63919                          || test ! -s conftest.err'
63920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63921   (eval $ac_try) 2>&5
63922   ac_status=$?
63923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63924   (exit $ac_status); }; } &&
63925          { ac_try='test -s conftest$ac_exeext'
63926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63927   (eval $ac_try) 2>&5
63928   ac_status=$?
63929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63930   (exit $ac_status); }; }; then
63931   glibcxx_cv_S_IFREG=yes
63932 else
63933   echo "$as_me: failed program was:" >&5
63934 sed 's/^/| /' conftest.$ac_ext >&5
63935
63936 glibcxx_cv_S_IFREG=no
63937 fi
63938 rm -f conftest.err conftest.$ac_objext \
63939       conftest$ac_exeext conftest.$ac_ext
63940
63941 fi
63942
63943   res=no
63944   if test $glibcxx_cv_S_ISREG = yes; then
63945
63946 cat >>confdefs.h <<\_ACEOF
63947 #define HAVE_S_ISREG 1
63948 _ACEOF
63949
63950     res=S_ISREG
63951   elif test $glibcxx_cv_S_IFREG = yes; then
63952
63953 cat >>confdefs.h <<\_ACEOF
63954 #define HAVE_S_IFREG 1
63955 _ACEOF
63956
63957     res=S_IFREG
63958   fi
63959   echo "$as_me:$LINENO: result: $res" >&5
63960 echo "${ECHO_T}$res" >&6
63961
63962     cat >>confdefs.h <<\_ACEOF
63963 #define HAVE_SIGSETJMP 1
63964 _ACEOF
63965
63966     cat >>confdefs.h <<\_ACEOF
63967 #define HAVE_GETPAGESIZE 1
63968 _ACEOF
63969
63970     cat >>confdefs.h <<\_ACEOF
63971 #define HAVE_WRITEV 1
63972 _ACEOF
63973
63974     cat >>confdefs.h <<\_ACEOF
63975 #define HAVE_INT64_T 1
63976 _ACEOF
63977
63978
63979     cat >>confdefs.h <<\_ACEOF
63980 #define HAVE_LIBM 1
63981 _ACEOF
63982
63983     cat >>confdefs.h <<\_ACEOF
63984 #define HAVE_COPYSIGN 1
63985 _ACEOF
63986
63987     cat >>confdefs.h <<\_ACEOF
63988 #define HAVE_FINITE 1
63989 _ACEOF
63990
63991     cat >>confdefs.h <<\_ACEOF
63992 #define HAVE_HYPOT 1
63993 _ACEOF
63994
63995     cat >>confdefs.h <<\_ACEOF
63996 #define HAVE_ISNAN 1
63997 _ACEOF
63998
63999     cat >>confdefs.h <<\_ACEOF
64000 #define HAVE_ISINF 1
64001 _ACEOF
64002
64003
64004     cat >>confdefs.h <<\_ACEOF
64005 #define HAVE_LDEXPF 1
64006 _ACEOF
64007
64008     cat >>confdefs.h <<\_ACEOF
64009 #define HAVE_MODF 1
64010 _ACEOF
64011
64012     cat >>confdefs.h <<\_ACEOF
64013 #define HAVE_SQRTF 1
64014 _ACEOF
64015
64016     ;;
64017
64018   *-darwin*)
64019     # Darwin versions vary, but the linker should work in a cross environment,
64020     # so we just check for all the features here.
64021     # Check for available headers.
64022
64023
64024
64025
64026
64027
64028
64029
64030
64031
64032
64033
64034
64035 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
64036     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
64037     sys/types.h
64038 do
64039 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64041   echo "$as_me:$LINENO: checking for $ac_header" >&5
64042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64044   echo $ECHO_N "(cached) $ECHO_C" >&6
64045 fi
64046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64048 else
64049   # Is the header compilable?
64050 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64051 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64052 cat >conftest.$ac_ext <<_ACEOF
64053 /* confdefs.h.  */
64054 _ACEOF
64055 cat confdefs.h >>conftest.$ac_ext
64056 cat >>conftest.$ac_ext <<_ACEOF
64057 /* end confdefs.h.  */
64058 $ac_includes_default
64059 #include <$ac_header>
64060 _ACEOF
64061 rm -f conftest.$ac_objext
64062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64063   (eval $ac_compile) 2>conftest.er1
64064   ac_status=$?
64065   grep -v '^ *+' conftest.er1 >conftest.err
64066   rm -f conftest.er1
64067   cat conftest.err >&5
64068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64069   (exit $ac_status); } &&
64070          { ac_try='test -z "$ac_c_werror_flag"
64071                          || test ! -s conftest.err'
64072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64073   (eval $ac_try) 2>&5
64074   ac_status=$?
64075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64076   (exit $ac_status); }; } &&
64077          { ac_try='test -s conftest.$ac_objext'
64078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64079   (eval $ac_try) 2>&5
64080   ac_status=$?
64081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64082   (exit $ac_status); }; }; then
64083   ac_header_compiler=yes
64084 else
64085   echo "$as_me: failed program was:" >&5
64086 sed 's/^/| /' conftest.$ac_ext >&5
64087
64088 ac_header_compiler=no
64089 fi
64090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64091 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64092 echo "${ECHO_T}$ac_header_compiler" >&6
64093
64094 # Is the header present?
64095 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64096 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64097 cat >conftest.$ac_ext <<_ACEOF
64098 /* confdefs.h.  */
64099 _ACEOF
64100 cat confdefs.h >>conftest.$ac_ext
64101 cat >>conftest.$ac_ext <<_ACEOF
64102 /* end confdefs.h.  */
64103 #include <$ac_header>
64104 _ACEOF
64105 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64106   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64107   ac_status=$?
64108   grep -v '^ *+' conftest.er1 >conftest.err
64109   rm -f conftest.er1
64110   cat conftest.err >&5
64111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64112   (exit $ac_status); } >/dev/null; then
64113   if test -s conftest.err; then
64114     ac_cpp_err=$ac_c_preproc_warn_flag
64115     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64116   else
64117     ac_cpp_err=
64118   fi
64119 else
64120   ac_cpp_err=yes
64121 fi
64122 if test -z "$ac_cpp_err"; then
64123   ac_header_preproc=yes
64124 else
64125   echo "$as_me: failed program was:" >&5
64126 sed 's/^/| /' conftest.$ac_ext >&5
64127
64128   ac_header_preproc=no
64129 fi
64130 rm -f conftest.err conftest.$ac_ext
64131 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
64132 echo "${ECHO_T}$ac_header_preproc" >&6
64133
64134 # So?  What about this header?
64135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
64136   yes:no: )
64137     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
64138 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
64139     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
64140 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
64141     ac_header_preproc=yes
64142     ;;
64143   no:yes:* )
64144     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
64145 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
64146     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
64147 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
64148     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
64149 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
64150     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
64151 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
64152     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
64153 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
64154     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
64155 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
64156     (
64157       cat <<\_ASBOX
64158 ## ----------------------------------------- ##
64159 ## Report this to the package-unused lists.  ##
64160 ## ----------------------------------------- ##
64161 _ASBOX
64162     ) |
64163       sed "s/^/$as_me: WARNING:     /" >&2
64164     ;;
64165 esac
64166 echo "$as_me:$LINENO: checking for $ac_header" >&5
64167 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64169   echo $ECHO_N "(cached) $ECHO_C" >&6
64170 else
64171   eval "$as_ac_Header=\$ac_header_preproc"
64172 fi
64173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64174 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64175
64176 fi
64177 if test `eval echo '${'$as_ac_Header'}'` = yes; then
64178   cat >>confdefs.h <<_ACEOF
64179 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
64180 _ACEOF
64181
64182 fi
64183
64184 done
64185
64186
64187     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
64188
64189   ac_test_CXXFLAGS="${CXXFLAGS+set}"
64190   ac_save_CXXFLAGS="$CXXFLAGS"
64191   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64192
64193     echo "$as_me:$LINENO: checking for sin in -lm" >&5
64194 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
64195 if test "${ac_cv_lib_m_sin+set}" = set; then
64196   echo $ECHO_N "(cached) $ECHO_C" >&6
64197 else
64198   ac_check_lib_save_LIBS=$LIBS
64199 LIBS="-lm  $LIBS"
64200 if test x$gcc_no_link = xyes; then
64201   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64203    { (exit 1); exit 1; }; }
64204 fi
64205 cat >conftest.$ac_ext <<_ACEOF
64206 /* confdefs.h.  */
64207 _ACEOF
64208 cat confdefs.h >>conftest.$ac_ext
64209 cat >>conftest.$ac_ext <<_ACEOF
64210 /* end confdefs.h.  */
64211
64212 /* Override any gcc2 internal prototype to avoid an error.  */
64213 #ifdef __cplusplus
64214 extern "C"
64215 #endif
64216 /* We use char because int might match the return type of a gcc2
64217    builtin and then its argument prototype would still apply.  */
64218 char sin ();
64219 int
64220 main ()
64221 {
64222 sin ();
64223   ;
64224   return 0;
64225 }
64226 _ACEOF
64227 rm -f conftest.$ac_objext conftest$ac_exeext
64228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64229   (eval $ac_link) 2>conftest.er1
64230   ac_status=$?
64231   grep -v '^ *+' conftest.er1 >conftest.err
64232   rm -f conftest.er1
64233   cat conftest.err >&5
64234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64235   (exit $ac_status); } &&
64236          { ac_try='test -z "$ac_c_werror_flag"
64237                          || test ! -s conftest.err'
64238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64239   (eval $ac_try) 2>&5
64240   ac_status=$?
64241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64242   (exit $ac_status); }; } &&
64243          { ac_try='test -s conftest$ac_exeext'
64244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64245   (eval $ac_try) 2>&5
64246   ac_status=$?
64247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64248   (exit $ac_status); }; }; then
64249   ac_cv_lib_m_sin=yes
64250 else
64251   echo "$as_me: failed program was:" >&5
64252 sed 's/^/| /' conftest.$ac_ext >&5
64253
64254 ac_cv_lib_m_sin=no
64255 fi
64256 rm -f conftest.err conftest.$ac_objext \
64257       conftest$ac_exeext conftest.$ac_ext
64258 LIBS=$ac_check_lib_save_LIBS
64259 fi
64260 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
64261 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
64262 if test $ac_cv_lib_m_sin = yes; then
64263   libm="-lm"
64264 fi
64265
64266   ac_save_LIBS="$LIBS"
64267   LIBS="$LIBS $libm"
64268
64269
64270
64271   echo "$as_me:$LINENO: checking for isinf declaration" >&5
64272 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
64273   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
64274     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
64275   echo $ECHO_N "(cached) $ECHO_C" >&6
64276 else
64277
64278
64279
64280       ac_ext=cc
64281 ac_cpp='$CXXCPP $CPPFLAGS'
64282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64285
64286       cat >conftest.$ac_ext <<_ACEOF
64287 /* confdefs.h.  */
64288 _ACEOF
64289 cat confdefs.h >>conftest.$ac_ext
64290 cat >>conftest.$ac_ext <<_ACEOF
64291 /* end confdefs.h.  */
64292 #include <math.h>
64293                       #ifdef HAVE_IEEEFP_H
64294                       #include <ieeefp.h>
64295                       #endif
64296
64297 int
64298 main ()
64299 {
64300  isinf(0);
64301   ;
64302   return 0;
64303 }
64304 _ACEOF
64305 rm -f conftest.$ac_objext
64306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64307   (eval $ac_compile) 2>conftest.er1
64308   ac_status=$?
64309   grep -v '^ *+' conftest.er1 >conftest.err
64310   rm -f conftest.er1
64311   cat conftest.err >&5
64312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64313   (exit $ac_status); } &&
64314          { ac_try='test -z "$ac_cxx_werror_flag"
64315                          || test ! -s conftest.err'
64316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64317   (eval $ac_try) 2>&5
64318   ac_status=$?
64319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64320   (exit $ac_status); }; } &&
64321          { ac_try='test -s conftest.$ac_objext'
64322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64323   (eval $ac_try) 2>&5
64324   ac_status=$?
64325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64326   (exit $ac_status); }; }; then
64327   glibcxx_cv_func_isinf_use=yes
64328 else
64329   echo "$as_me: failed program was:" >&5
64330 sed 's/^/| /' conftest.$ac_ext >&5
64331
64332 glibcxx_cv_func_isinf_use=no
64333 fi
64334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64335       ac_ext=c
64336 ac_cpp='$CPP $CPPFLAGS'
64337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64340
64341
64342 fi
64343
64344   fi
64345   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
64346 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
64347
64348   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
64349
64350 for ac_func in isinf
64351 do
64352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64353 echo "$as_me:$LINENO: checking for $ac_func" >&5
64354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64355 if eval "test \"\${$as_ac_var+set}\" = set"; then
64356   echo $ECHO_N "(cached) $ECHO_C" >&6
64357 else
64358   if test x$gcc_no_link = xyes; then
64359   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64361    { (exit 1); exit 1; }; }
64362 fi
64363 cat >conftest.$ac_ext <<_ACEOF
64364 /* confdefs.h.  */
64365 _ACEOF
64366 cat confdefs.h >>conftest.$ac_ext
64367 cat >>conftest.$ac_ext <<_ACEOF
64368 /* end confdefs.h.  */
64369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64370    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64371 #define $ac_func innocuous_$ac_func
64372
64373 /* System header to define __stub macros and hopefully few prototypes,
64374     which can conflict with char $ac_func (); below.
64375     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64376     <limits.h> exists even on freestanding compilers.  */
64377
64378 #ifdef __STDC__
64379 # include <limits.h>
64380 #else
64381 # include <assert.h>
64382 #endif
64383
64384 #undef $ac_func
64385
64386 /* Override any gcc2 internal prototype to avoid an error.  */
64387 #ifdef __cplusplus
64388 extern "C"
64389 {
64390 #endif
64391 /* We use char because int might match the return type of a gcc2
64392    builtin and then its argument prototype would still apply.  */
64393 char $ac_func ();
64394 /* The GNU C library defines this for functions which it implements
64395     to always fail with ENOSYS.  Some functions are actually named
64396     something starting with __ and the normal name is an alias.  */
64397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64398 choke me
64399 #else
64400 char (*f) () = $ac_func;
64401 #endif
64402 #ifdef __cplusplus
64403 }
64404 #endif
64405
64406 int
64407 main ()
64408 {
64409 return f != $ac_func;
64410   ;
64411   return 0;
64412 }
64413 _ACEOF
64414 rm -f conftest.$ac_objext conftest$ac_exeext
64415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64416   (eval $ac_link) 2>conftest.er1
64417   ac_status=$?
64418   grep -v '^ *+' conftest.er1 >conftest.err
64419   rm -f conftest.er1
64420   cat conftest.err >&5
64421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64422   (exit $ac_status); } &&
64423          { ac_try='test -z "$ac_c_werror_flag"
64424                          || test ! -s conftest.err'
64425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64426   (eval $ac_try) 2>&5
64427   ac_status=$?
64428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64429   (exit $ac_status); }; } &&
64430          { ac_try='test -s conftest$ac_exeext'
64431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64432   (eval $ac_try) 2>&5
64433   ac_status=$?
64434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64435   (exit $ac_status); }; }; then
64436   eval "$as_ac_var=yes"
64437 else
64438   echo "$as_me: failed program was:" >&5
64439 sed 's/^/| /' conftest.$ac_ext >&5
64440
64441 eval "$as_ac_var=no"
64442 fi
64443 rm -f conftest.err conftest.$ac_objext \
64444       conftest$ac_exeext conftest.$ac_ext
64445 fi
64446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64448 if test `eval echo '${'$as_ac_var'}'` = yes; then
64449   cat >>confdefs.h <<_ACEOF
64450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64451 _ACEOF
64452
64453 fi
64454 done
64455
64456   else
64457
64458   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
64459 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
64460   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
64461     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
64462   echo $ECHO_N "(cached) $ECHO_C" >&6
64463 else
64464
64465
64466
64467       ac_ext=cc
64468 ac_cpp='$CXXCPP $CPPFLAGS'
64469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64472
64473       cat >conftest.$ac_ext <<_ACEOF
64474 /* confdefs.h.  */
64475 _ACEOF
64476 cat confdefs.h >>conftest.$ac_ext
64477 cat >>conftest.$ac_ext <<_ACEOF
64478 /* end confdefs.h.  */
64479 #include <math.h>
64480                       #ifdef HAVE_IEEEFP_H
64481                       #include <ieeefp.h>
64482                       #endif
64483
64484 int
64485 main ()
64486 {
64487  _isinf(0);
64488   ;
64489   return 0;
64490 }
64491 _ACEOF
64492 rm -f conftest.$ac_objext
64493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64494   (eval $ac_compile) 2>conftest.er1
64495   ac_status=$?
64496   grep -v '^ *+' conftest.er1 >conftest.err
64497   rm -f conftest.er1
64498   cat conftest.err >&5
64499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64500   (exit $ac_status); } &&
64501          { ac_try='test -z "$ac_cxx_werror_flag"
64502                          || test ! -s conftest.err'
64503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64504   (eval $ac_try) 2>&5
64505   ac_status=$?
64506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64507   (exit $ac_status); }; } &&
64508          { ac_try='test -s conftest.$ac_objext'
64509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64510   (eval $ac_try) 2>&5
64511   ac_status=$?
64512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64513   (exit $ac_status); }; }; then
64514   glibcxx_cv_func__isinf_use=yes
64515 else
64516   echo "$as_me: failed program was:" >&5
64517 sed 's/^/| /' conftest.$ac_ext >&5
64518
64519 glibcxx_cv_func__isinf_use=no
64520 fi
64521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64522       ac_ext=c
64523 ac_cpp='$CPP $CPPFLAGS'
64524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64527
64528
64529 fi
64530
64531   fi
64532   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
64533 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
64534
64535     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64536
64537 for ac_func in _isinf
64538 do
64539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64540 echo "$as_me:$LINENO: checking for $ac_func" >&5
64541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64542 if eval "test \"\${$as_ac_var+set}\" = set"; then
64543   echo $ECHO_N "(cached) $ECHO_C" >&6
64544 else
64545   if test x$gcc_no_link = xyes; then
64546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64548    { (exit 1); exit 1; }; }
64549 fi
64550 cat >conftest.$ac_ext <<_ACEOF
64551 /* confdefs.h.  */
64552 _ACEOF
64553 cat confdefs.h >>conftest.$ac_ext
64554 cat >>conftest.$ac_ext <<_ACEOF
64555 /* end confdefs.h.  */
64556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64557    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64558 #define $ac_func innocuous_$ac_func
64559
64560 /* System header to define __stub macros and hopefully few prototypes,
64561     which can conflict with char $ac_func (); below.
64562     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64563     <limits.h> exists even on freestanding compilers.  */
64564
64565 #ifdef __STDC__
64566 # include <limits.h>
64567 #else
64568 # include <assert.h>
64569 #endif
64570
64571 #undef $ac_func
64572
64573 /* Override any gcc2 internal prototype to avoid an error.  */
64574 #ifdef __cplusplus
64575 extern "C"
64576 {
64577 #endif
64578 /* We use char because int might match the return type of a gcc2
64579    builtin and then its argument prototype would still apply.  */
64580 char $ac_func ();
64581 /* The GNU C library defines this for functions which it implements
64582     to always fail with ENOSYS.  Some functions are actually named
64583     something starting with __ and the normal name is an alias.  */
64584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64585 choke me
64586 #else
64587 char (*f) () = $ac_func;
64588 #endif
64589 #ifdef __cplusplus
64590 }
64591 #endif
64592
64593 int
64594 main ()
64595 {
64596 return f != $ac_func;
64597   ;
64598   return 0;
64599 }
64600 _ACEOF
64601 rm -f conftest.$ac_objext conftest$ac_exeext
64602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64603   (eval $ac_link) 2>conftest.er1
64604   ac_status=$?
64605   grep -v '^ *+' conftest.er1 >conftest.err
64606   rm -f conftest.er1
64607   cat conftest.err >&5
64608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64609   (exit $ac_status); } &&
64610          { ac_try='test -z "$ac_c_werror_flag"
64611                          || test ! -s conftest.err'
64612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64613   (eval $ac_try) 2>&5
64614   ac_status=$?
64615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64616   (exit $ac_status); }; } &&
64617          { ac_try='test -s conftest$ac_exeext'
64618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64619   (eval $ac_try) 2>&5
64620   ac_status=$?
64621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64622   (exit $ac_status); }; }; then
64623   eval "$as_ac_var=yes"
64624 else
64625   echo "$as_me: failed program was:" >&5
64626 sed 's/^/| /' conftest.$ac_ext >&5
64627
64628 eval "$as_ac_var=no"
64629 fi
64630 rm -f conftest.err conftest.$ac_objext \
64631       conftest$ac_exeext conftest.$ac_ext
64632 fi
64633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64635 if test `eval echo '${'$as_ac_var'}'` = yes; then
64636   cat >>confdefs.h <<_ACEOF
64637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64638 _ACEOF
64639
64640 fi
64641 done
64642
64643     fi
64644   fi
64645
64646
64647
64648
64649
64650
64651   echo "$as_me:$LINENO: checking for isnan declaration" >&5
64652 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
64653   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64654     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
64655   echo $ECHO_N "(cached) $ECHO_C" >&6
64656 else
64657
64658
64659
64660       ac_ext=cc
64661 ac_cpp='$CXXCPP $CPPFLAGS'
64662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64665
64666       cat >conftest.$ac_ext <<_ACEOF
64667 /* confdefs.h.  */
64668 _ACEOF
64669 cat confdefs.h >>conftest.$ac_ext
64670 cat >>conftest.$ac_ext <<_ACEOF
64671 /* end confdefs.h.  */
64672 #include <math.h>
64673                       #ifdef HAVE_IEEEFP_H
64674                       #include <ieeefp.h>
64675                       #endif
64676
64677 int
64678 main ()
64679 {
64680  isnan(0);
64681   ;
64682   return 0;
64683 }
64684 _ACEOF
64685 rm -f conftest.$ac_objext
64686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64687   (eval $ac_compile) 2>conftest.er1
64688   ac_status=$?
64689   grep -v '^ *+' conftest.er1 >conftest.err
64690   rm -f conftest.er1
64691   cat conftest.err >&5
64692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64693   (exit $ac_status); } &&
64694          { ac_try='test -z "$ac_cxx_werror_flag"
64695                          || test ! -s conftest.err'
64696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64697   (eval $ac_try) 2>&5
64698   ac_status=$?
64699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64700   (exit $ac_status); }; } &&
64701          { ac_try='test -s conftest.$ac_objext'
64702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64703   (eval $ac_try) 2>&5
64704   ac_status=$?
64705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64706   (exit $ac_status); }; }; then
64707   glibcxx_cv_func_isnan_use=yes
64708 else
64709   echo "$as_me: failed program was:" >&5
64710 sed 's/^/| /' conftest.$ac_ext >&5
64711
64712 glibcxx_cv_func_isnan_use=no
64713 fi
64714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64715       ac_ext=c
64716 ac_cpp='$CPP $CPPFLAGS'
64717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64720
64721
64722 fi
64723
64724   fi
64725   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
64726 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
64727
64728   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64729
64730 for ac_func in isnan
64731 do
64732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64733 echo "$as_me:$LINENO: checking for $ac_func" >&5
64734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64735 if eval "test \"\${$as_ac_var+set}\" = set"; then
64736   echo $ECHO_N "(cached) $ECHO_C" >&6
64737 else
64738   if test x$gcc_no_link = xyes; then
64739   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64741    { (exit 1); exit 1; }; }
64742 fi
64743 cat >conftest.$ac_ext <<_ACEOF
64744 /* confdefs.h.  */
64745 _ACEOF
64746 cat confdefs.h >>conftest.$ac_ext
64747 cat >>conftest.$ac_ext <<_ACEOF
64748 /* end confdefs.h.  */
64749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64750    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64751 #define $ac_func innocuous_$ac_func
64752
64753 /* System header to define __stub macros and hopefully few prototypes,
64754     which can conflict with char $ac_func (); below.
64755     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64756     <limits.h> exists even on freestanding compilers.  */
64757
64758 #ifdef __STDC__
64759 # include <limits.h>
64760 #else
64761 # include <assert.h>
64762 #endif
64763
64764 #undef $ac_func
64765
64766 /* Override any gcc2 internal prototype to avoid an error.  */
64767 #ifdef __cplusplus
64768 extern "C"
64769 {
64770 #endif
64771 /* We use char because int might match the return type of a gcc2
64772    builtin and then its argument prototype would still apply.  */
64773 char $ac_func ();
64774 /* The GNU C library defines this for functions which it implements
64775     to always fail with ENOSYS.  Some functions are actually named
64776     something starting with __ and the normal name is an alias.  */
64777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64778 choke me
64779 #else
64780 char (*f) () = $ac_func;
64781 #endif
64782 #ifdef __cplusplus
64783 }
64784 #endif
64785
64786 int
64787 main ()
64788 {
64789 return f != $ac_func;
64790   ;
64791   return 0;
64792 }
64793 _ACEOF
64794 rm -f conftest.$ac_objext conftest$ac_exeext
64795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64796   (eval $ac_link) 2>conftest.er1
64797   ac_status=$?
64798   grep -v '^ *+' conftest.er1 >conftest.err
64799   rm -f conftest.er1
64800   cat conftest.err >&5
64801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64802   (exit $ac_status); } &&
64803          { ac_try='test -z "$ac_c_werror_flag"
64804                          || test ! -s conftest.err'
64805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64806   (eval $ac_try) 2>&5
64807   ac_status=$?
64808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64809   (exit $ac_status); }; } &&
64810          { ac_try='test -s conftest$ac_exeext'
64811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64812   (eval $ac_try) 2>&5
64813   ac_status=$?
64814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64815   (exit $ac_status); }; }; then
64816   eval "$as_ac_var=yes"
64817 else
64818   echo "$as_me: failed program was:" >&5
64819 sed 's/^/| /' conftest.$ac_ext >&5
64820
64821 eval "$as_ac_var=no"
64822 fi
64823 rm -f conftest.err conftest.$ac_objext \
64824       conftest$ac_exeext conftest.$ac_ext
64825 fi
64826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64828 if test `eval echo '${'$as_ac_var'}'` = yes; then
64829   cat >>confdefs.h <<_ACEOF
64830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64831 _ACEOF
64832
64833 fi
64834 done
64835
64836   else
64837
64838   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
64839 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
64840   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64841     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
64842   echo $ECHO_N "(cached) $ECHO_C" >&6
64843 else
64844
64845
64846
64847       ac_ext=cc
64848 ac_cpp='$CXXCPP $CPPFLAGS'
64849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64852
64853       cat >conftest.$ac_ext <<_ACEOF
64854 /* confdefs.h.  */
64855 _ACEOF
64856 cat confdefs.h >>conftest.$ac_ext
64857 cat >>conftest.$ac_ext <<_ACEOF
64858 /* end confdefs.h.  */
64859 #include <math.h>
64860                       #ifdef HAVE_IEEEFP_H
64861                       #include <ieeefp.h>
64862                       #endif
64863
64864 int
64865 main ()
64866 {
64867  _isnan(0);
64868   ;
64869   return 0;
64870 }
64871 _ACEOF
64872 rm -f conftest.$ac_objext
64873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64874   (eval $ac_compile) 2>conftest.er1
64875   ac_status=$?
64876   grep -v '^ *+' conftest.er1 >conftest.err
64877   rm -f conftest.er1
64878   cat conftest.err >&5
64879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64880   (exit $ac_status); } &&
64881          { ac_try='test -z "$ac_cxx_werror_flag"
64882                          || test ! -s conftest.err'
64883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64884   (eval $ac_try) 2>&5
64885   ac_status=$?
64886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64887   (exit $ac_status); }; } &&
64888          { ac_try='test -s conftest.$ac_objext'
64889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64890   (eval $ac_try) 2>&5
64891   ac_status=$?
64892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64893   (exit $ac_status); }; }; then
64894   glibcxx_cv_func__isnan_use=yes
64895 else
64896   echo "$as_me: failed program was:" >&5
64897 sed 's/^/| /' conftest.$ac_ext >&5
64898
64899 glibcxx_cv_func__isnan_use=no
64900 fi
64901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64902       ac_ext=c
64903 ac_cpp='$CPP $CPPFLAGS'
64904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64907
64908
64909 fi
64910
64911   fi
64912   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
64913 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
64914
64915     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64916
64917 for ac_func in _isnan
64918 do
64919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64920 echo "$as_me:$LINENO: checking for $ac_func" >&5
64921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64922 if eval "test \"\${$as_ac_var+set}\" = set"; then
64923   echo $ECHO_N "(cached) $ECHO_C" >&6
64924 else
64925   if test x$gcc_no_link = xyes; then
64926   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64928    { (exit 1); exit 1; }; }
64929 fi
64930 cat >conftest.$ac_ext <<_ACEOF
64931 /* confdefs.h.  */
64932 _ACEOF
64933 cat confdefs.h >>conftest.$ac_ext
64934 cat >>conftest.$ac_ext <<_ACEOF
64935 /* end confdefs.h.  */
64936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64937    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64938 #define $ac_func innocuous_$ac_func
64939
64940 /* System header to define __stub macros and hopefully few prototypes,
64941     which can conflict with char $ac_func (); below.
64942     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64943     <limits.h> exists even on freestanding compilers.  */
64944
64945 #ifdef __STDC__
64946 # include <limits.h>
64947 #else
64948 # include <assert.h>
64949 #endif
64950
64951 #undef $ac_func
64952
64953 /* Override any gcc2 internal prototype to avoid an error.  */
64954 #ifdef __cplusplus
64955 extern "C"
64956 {
64957 #endif
64958 /* We use char because int might match the return type of a gcc2
64959    builtin and then its argument prototype would still apply.  */
64960 char $ac_func ();
64961 /* The GNU C library defines this for functions which it implements
64962     to always fail with ENOSYS.  Some functions are actually named
64963     something starting with __ and the normal name is an alias.  */
64964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64965 choke me
64966 #else
64967 char (*f) () = $ac_func;
64968 #endif
64969 #ifdef __cplusplus
64970 }
64971 #endif
64972
64973 int
64974 main ()
64975 {
64976 return f != $ac_func;
64977   ;
64978   return 0;
64979 }
64980 _ACEOF
64981 rm -f conftest.$ac_objext conftest$ac_exeext
64982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64983   (eval $ac_link) 2>conftest.er1
64984   ac_status=$?
64985   grep -v '^ *+' conftest.er1 >conftest.err
64986   rm -f conftest.er1
64987   cat conftest.err >&5
64988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64989   (exit $ac_status); } &&
64990          { ac_try='test -z "$ac_c_werror_flag"
64991                          || test ! -s conftest.err'
64992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64993   (eval $ac_try) 2>&5
64994   ac_status=$?
64995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64996   (exit $ac_status); }; } &&
64997          { ac_try='test -s conftest$ac_exeext'
64998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64999   (eval $ac_try) 2>&5
65000   ac_status=$?
65001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65002   (exit $ac_status); }; }; then
65003   eval "$as_ac_var=yes"
65004 else
65005   echo "$as_me: failed program was:" >&5
65006 sed 's/^/| /' conftest.$ac_ext >&5
65007
65008 eval "$as_ac_var=no"
65009 fi
65010 rm -f conftest.err conftest.$ac_objext \
65011       conftest$ac_exeext conftest.$ac_ext
65012 fi
65013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65015 if test `eval echo '${'$as_ac_var'}'` = yes; then
65016   cat >>confdefs.h <<_ACEOF
65017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65018 _ACEOF
65019
65020 fi
65021 done
65022
65023     fi
65024   fi
65025
65026
65027
65028
65029
65030
65031   echo "$as_me:$LINENO: checking for finite declaration" >&5
65032 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
65033   if test x${glibcxx_cv_func_finite_use+set} != xset; then
65034     if test "${glibcxx_cv_func_finite_use+set}" = set; then
65035   echo $ECHO_N "(cached) $ECHO_C" >&6
65036 else
65037
65038
65039
65040       ac_ext=cc
65041 ac_cpp='$CXXCPP $CPPFLAGS'
65042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65045
65046       cat >conftest.$ac_ext <<_ACEOF
65047 /* confdefs.h.  */
65048 _ACEOF
65049 cat confdefs.h >>conftest.$ac_ext
65050 cat >>conftest.$ac_ext <<_ACEOF
65051 /* end confdefs.h.  */
65052 #include <math.h>
65053                       #ifdef HAVE_IEEEFP_H
65054                       #include <ieeefp.h>
65055                       #endif
65056
65057 int
65058 main ()
65059 {
65060  finite(0);
65061   ;
65062   return 0;
65063 }
65064 _ACEOF
65065 rm -f conftest.$ac_objext
65066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65067   (eval $ac_compile) 2>conftest.er1
65068   ac_status=$?
65069   grep -v '^ *+' conftest.er1 >conftest.err
65070   rm -f conftest.er1
65071   cat conftest.err >&5
65072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65073   (exit $ac_status); } &&
65074          { ac_try='test -z "$ac_cxx_werror_flag"
65075                          || test ! -s conftest.err'
65076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65077   (eval $ac_try) 2>&5
65078   ac_status=$?
65079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65080   (exit $ac_status); }; } &&
65081          { ac_try='test -s conftest.$ac_objext'
65082   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65083   (eval $ac_try) 2>&5
65084   ac_status=$?
65085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65086   (exit $ac_status); }; }; then
65087   glibcxx_cv_func_finite_use=yes
65088 else
65089   echo "$as_me: failed program was:" >&5
65090 sed 's/^/| /' conftest.$ac_ext >&5
65091
65092 glibcxx_cv_func_finite_use=no
65093 fi
65094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65095       ac_ext=c
65096 ac_cpp='$CPP $CPPFLAGS'
65097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65100
65101
65102 fi
65103
65104   fi
65105   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
65106 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
65107
65108   if test x$glibcxx_cv_func_finite_use = x"yes"; then
65109
65110 for ac_func in finite
65111 do
65112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65113 echo "$as_me:$LINENO: checking for $ac_func" >&5
65114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65115 if eval "test \"\${$as_ac_var+set}\" = set"; then
65116   echo $ECHO_N "(cached) $ECHO_C" >&6
65117 else
65118   if test x$gcc_no_link = xyes; then
65119   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65121    { (exit 1); exit 1; }; }
65122 fi
65123 cat >conftest.$ac_ext <<_ACEOF
65124 /* confdefs.h.  */
65125 _ACEOF
65126 cat confdefs.h >>conftest.$ac_ext
65127 cat >>conftest.$ac_ext <<_ACEOF
65128 /* end confdefs.h.  */
65129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65130    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65131 #define $ac_func innocuous_$ac_func
65132
65133 /* System header to define __stub macros and hopefully few prototypes,
65134     which can conflict with char $ac_func (); below.
65135     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65136     <limits.h> exists even on freestanding compilers.  */
65137
65138 #ifdef __STDC__
65139 # include <limits.h>
65140 #else
65141 # include <assert.h>
65142 #endif
65143
65144 #undef $ac_func
65145
65146 /* Override any gcc2 internal prototype to avoid an error.  */
65147 #ifdef __cplusplus
65148 extern "C"
65149 {
65150 #endif
65151 /* We use char because int might match the return type of a gcc2
65152    builtin and then its argument prototype would still apply.  */
65153 char $ac_func ();
65154 /* The GNU C library defines this for functions which it implements
65155     to always fail with ENOSYS.  Some functions are actually named
65156     something starting with __ and the normal name is an alias.  */
65157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65158 choke me
65159 #else
65160 char (*f) () = $ac_func;
65161 #endif
65162 #ifdef __cplusplus
65163 }
65164 #endif
65165
65166 int
65167 main ()
65168 {
65169 return f != $ac_func;
65170   ;
65171   return 0;
65172 }
65173 _ACEOF
65174 rm -f conftest.$ac_objext conftest$ac_exeext
65175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65176   (eval $ac_link) 2>conftest.er1
65177   ac_status=$?
65178   grep -v '^ *+' conftest.er1 >conftest.err
65179   rm -f conftest.er1
65180   cat conftest.err >&5
65181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65182   (exit $ac_status); } &&
65183          { ac_try='test -z "$ac_c_werror_flag"
65184                          || test ! -s conftest.err'
65185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65186   (eval $ac_try) 2>&5
65187   ac_status=$?
65188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65189   (exit $ac_status); }; } &&
65190          { ac_try='test -s conftest$ac_exeext'
65191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65192   (eval $ac_try) 2>&5
65193   ac_status=$?
65194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65195   (exit $ac_status); }; }; then
65196   eval "$as_ac_var=yes"
65197 else
65198   echo "$as_me: failed program was:" >&5
65199 sed 's/^/| /' conftest.$ac_ext >&5
65200
65201 eval "$as_ac_var=no"
65202 fi
65203 rm -f conftest.err conftest.$ac_objext \
65204       conftest$ac_exeext conftest.$ac_ext
65205 fi
65206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65208 if test `eval echo '${'$as_ac_var'}'` = yes; then
65209   cat >>confdefs.h <<_ACEOF
65210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65211 _ACEOF
65212
65213 fi
65214 done
65215
65216   else
65217
65218   echo "$as_me:$LINENO: checking for _finite declaration" >&5
65219 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
65220   if test x${glibcxx_cv_func__finite_use+set} != xset; then
65221     if test "${glibcxx_cv_func__finite_use+set}" = set; then
65222   echo $ECHO_N "(cached) $ECHO_C" >&6
65223 else
65224
65225
65226
65227       ac_ext=cc
65228 ac_cpp='$CXXCPP $CPPFLAGS'
65229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65232
65233       cat >conftest.$ac_ext <<_ACEOF
65234 /* confdefs.h.  */
65235 _ACEOF
65236 cat confdefs.h >>conftest.$ac_ext
65237 cat >>conftest.$ac_ext <<_ACEOF
65238 /* end confdefs.h.  */
65239 #include <math.h>
65240                       #ifdef HAVE_IEEEFP_H
65241                       #include <ieeefp.h>
65242                       #endif
65243
65244 int
65245 main ()
65246 {
65247  _finite(0);
65248   ;
65249   return 0;
65250 }
65251 _ACEOF
65252 rm -f conftest.$ac_objext
65253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65254   (eval $ac_compile) 2>conftest.er1
65255   ac_status=$?
65256   grep -v '^ *+' conftest.er1 >conftest.err
65257   rm -f conftest.er1
65258   cat conftest.err >&5
65259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65260   (exit $ac_status); } &&
65261          { ac_try='test -z "$ac_cxx_werror_flag"
65262                          || test ! -s conftest.err'
65263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65264   (eval $ac_try) 2>&5
65265   ac_status=$?
65266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65267   (exit $ac_status); }; } &&
65268          { ac_try='test -s conftest.$ac_objext'
65269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65270   (eval $ac_try) 2>&5
65271   ac_status=$?
65272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65273   (exit $ac_status); }; }; then
65274   glibcxx_cv_func__finite_use=yes
65275 else
65276   echo "$as_me: failed program was:" >&5
65277 sed 's/^/| /' conftest.$ac_ext >&5
65278
65279 glibcxx_cv_func__finite_use=no
65280 fi
65281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65282       ac_ext=c
65283 ac_cpp='$CPP $CPPFLAGS'
65284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65287
65288
65289 fi
65290
65291   fi
65292   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
65293 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
65294
65295     if test x$glibcxx_cv_func__finite_use = x"yes"; then
65296
65297 for ac_func in _finite
65298 do
65299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65300 echo "$as_me:$LINENO: checking for $ac_func" >&5
65301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65302 if eval "test \"\${$as_ac_var+set}\" = set"; then
65303   echo $ECHO_N "(cached) $ECHO_C" >&6
65304 else
65305   if test x$gcc_no_link = xyes; then
65306   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65308    { (exit 1); exit 1; }; }
65309 fi
65310 cat >conftest.$ac_ext <<_ACEOF
65311 /* confdefs.h.  */
65312 _ACEOF
65313 cat confdefs.h >>conftest.$ac_ext
65314 cat >>conftest.$ac_ext <<_ACEOF
65315 /* end confdefs.h.  */
65316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65317    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65318 #define $ac_func innocuous_$ac_func
65319
65320 /* System header to define __stub macros and hopefully few prototypes,
65321     which can conflict with char $ac_func (); below.
65322     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65323     <limits.h> exists even on freestanding compilers.  */
65324
65325 #ifdef __STDC__
65326 # include <limits.h>
65327 #else
65328 # include <assert.h>
65329 #endif
65330
65331 #undef $ac_func
65332
65333 /* Override any gcc2 internal prototype to avoid an error.  */
65334 #ifdef __cplusplus
65335 extern "C"
65336 {
65337 #endif
65338 /* We use char because int might match the return type of a gcc2
65339    builtin and then its argument prototype would still apply.  */
65340 char $ac_func ();
65341 /* The GNU C library defines this for functions which it implements
65342     to always fail with ENOSYS.  Some functions are actually named
65343     something starting with __ and the normal name is an alias.  */
65344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65345 choke me
65346 #else
65347 char (*f) () = $ac_func;
65348 #endif
65349 #ifdef __cplusplus
65350 }
65351 #endif
65352
65353 int
65354 main ()
65355 {
65356 return f != $ac_func;
65357   ;
65358   return 0;
65359 }
65360 _ACEOF
65361 rm -f conftest.$ac_objext conftest$ac_exeext
65362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65363   (eval $ac_link) 2>conftest.er1
65364   ac_status=$?
65365   grep -v '^ *+' conftest.er1 >conftest.err
65366   rm -f conftest.er1
65367   cat conftest.err >&5
65368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65369   (exit $ac_status); } &&
65370          { ac_try='test -z "$ac_c_werror_flag"
65371                          || test ! -s conftest.err'
65372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65373   (eval $ac_try) 2>&5
65374   ac_status=$?
65375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65376   (exit $ac_status); }; } &&
65377          { ac_try='test -s conftest$ac_exeext'
65378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65379   (eval $ac_try) 2>&5
65380   ac_status=$?
65381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65382   (exit $ac_status); }; }; then
65383   eval "$as_ac_var=yes"
65384 else
65385   echo "$as_me: failed program was:" >&5
65386 sed 's/^/| /' conftest.$ac_ext >&5
65387
65388 eval "$as_ac_var=no"
65389 fi
65390 rm -f conftest.err conftest.$ac_objext \
65391       conftest$ac_exeext conftest.$ac_ext
65392 fi
65393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65395 if test `eval echo '${'$as_ac_var'}'` = yes; then
65396   cat >>confdefs.h <<_ACEOF
65397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65398 _ACEOF
65399
65400 fi
65401 done
65402
65403     fi
65404   fi
65405
65406
65407
65408
65409
65410
65411   echo "$as_me:$LINENO: checking for copysign declaration" >&5
65412 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
65413   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
65414     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
65415   echo $ECHO_N "(cached) $ECHO_C" >&6
65416 else
65417
65418
65419
65420       ac_ext=cc
65421 ac_cpp='$CXXCPP $CPPFLAGS'
65422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65425
65426       cat >conftest.$ac_ext <<_ACEOF
65427 /* confdefs.h.  */
65428 _ACEOF
65429 cat confdefs.h >>conftest.$ac_ext
65430 cat >>conftest.$ac_ext <<_ACEOF
65431 /* end confdefs.h.  */
65432 #include <math.h>
65433 int
65434 main ()
65435 {
65436  copysign(0, 0);
65437   ;
65438   return 0;
65439 }
65440 _ACEOF
65441 rm -f conftest.$ac_objext
65442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65443   (eval $ac_compile) 2>conftest.er1
65444   ac_status=$?
65445   grep -v '^ *+' conftest.er1 >conftest.err
65446   rm -f conftest.er1
65447   cat conftest.err >&5
65448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65449   (exit $ac_status); } &&
65450          { ac_try='test -z "$ac_cxx_werror_flag"
65451                          || test ! -s conftest.err'
65452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65453   (eval $ac_try) 2>&5
65454   ac_status=$?
65455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65456   (exit $ac_status); }; } &&
65457          { ac_try='test -s conftest.$ac_objext'
65458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65459   (eval $ac_try) 2>&5
65460   ac_status=$?
65461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65462   (exit $ac_status); }; }; then
65463   glibcxx_cv_func_copysign_use=yes
65464 else
65465   echo "$as_me: failed program was:" >&5
65466 sed 's/^/| /' conftest.$ac_ext >&5
65467
65468 glibcxx_cv_func_copysign_use=no
65469 fi
65470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65471       ac_ext=c
65472 ac_cpp='$CPP $CPPFLAGS'
65473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65476
65477
65478 fi
65479
65480   fi
65481   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
65482 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
65483
65484   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
65485
65486 for ac_func in copysign
65487 do
65488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65489 echo "$as_me:$LINENO: checking for $ac_func" >&5
65490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65491 if eval "test \"\${$as_ac_var+set}\" = set"; then
65492   echo $ECHO_N "(cached) $ECHO_C" >&6
65493 else
65494   if test x$gcc_no_link = xyes; then
65495   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65497    { (exit 1); exit 1; }; }
65498 fi
65499 cat >conftest.$ac_ext <<_ACEOF
65500 /* confdefs.h.  */
65501 _ACEOF
65502 cat confdefs.h >>conftest.$ac_ext
65503 cat >>conftest.$ac_ext <<_ACEOF
65504 /* end confdefs.h.  */
65505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65506    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65507 #define $ac_func innocuous_$ac_func
65508
65509 /* System header to define __stub macros and hopefully few prototypes,
65510     which can conflict with char $ac_func (); below.
65511     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65512     <limits.h> exists even on freestanding compilers.  */
65513
65514 #ifdef __STDC__
65515 # include <limits.h>
65516 #else
65517 # include <assert.h>
65518 #endif
65519
65520 #undef $ac_func
65521
65522 /* Override any gcc2 internal prototype to avoid an error.  */
65523 #ifdef __cplusplus
65524 extern "C"
65525 {
65526 #endif
65527 /* We use char because int might match the return type of a gcc2
65528    builtin and then its argument prototype would still apply.  */
65529 char $ac_func ();
65530 /* The GNU C library defines this for functions which it implements
65531     to always fail with ENOSYS.  Some functions are actually named
65532     something starting with __ and the normal name is an alias.  */
65533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65534 choke me
65535 #else
65536 char (*f) () = $ac_func;
65537 #endif
65538 #ifdef __cplusplus
65539 }
65540 #endif
65541
65542 int
65543 main ()
65544 {
65545 return f != $ac_func;
65546   ;
65547   return 0;
65548 }
65549 _ACEOF
65550 rm -f conftest.$ac_objext conftest$ac_exeext
65551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65552   (eval $ac_link) 2>conftest.er1
65553   ac_status=$?
65554   grep -v '^ *+' conftest.er1 >conftest.err
65555   rm -f conftest.er1
65556   cat conftest.err >&5
65557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65558   (exit $ac_status); } &&
65559          { ac_try='test -z "$ac_c_werror_flag"
65560                          || test ! -s conftest.err'
65561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65562   (eval $ac_try) 2>&5
65563   ac_status=$?
65564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65565   (exit $ac_status); }; } &&
65566          { ac_try='test -s conftest$ac_exeext'
65567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65568   (eval $ac_try) 2>&5
65569   ac_status=$?
65570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65571   (exit $ac_status); }; }; then
65572   eval "$as_ac_var=yes"
65573 else
65574   echo "$as_me: failed program was:" >&5
65575 sed 's/^/| /' conftest.$ac_ext >&5
65576
65577 eval "$as_ac_var=no"
65578 fi
65579 rm -f conftest.err conftest.$ac_objext \
65580       conftest$ac_exeext conftest.$ac_ext
65581 fi
65582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65584 if test `eval echo '${'$as_ac_var'}'` = yes; then
65585   cat >>confdefs.h <<_ACEOF
65586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65587 _ACEOF
65588
65589 fi
65590 done
65591
65592   else
65593
65594   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
65595 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
65596   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
65597     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
65598   echo $ECHO_N "(cached) $ECHO_C" >&6
65599 else
65600
65601
65602
65603       ac_ext=cc
65604 ac_cpp='$CXXCPP $CPPFLAGS'
65605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65608
65609       cat >conftest.$ac_ext <<_ACEOF
65610 /* confdefs.h.  */
65611 _ACEOF
65612 cat confdefs.h >>conftest.$ac_ext
65613 cat >>conftest.$ac_ext <<_ACEOF
65614 /* end confdefs.h.  */
65615 #include <math.h>
65616 int
65617 main ()
65618 {
65619  _copysign(0, 0);
65620   ;
65621   return 0;
65622 }
65623 _ACEOF
65624 rm -f conftest.$ac_objext
65625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65626   (eval $ac_compile) 2>conftest.er1
65627   ac_status=$?
65628   grep -v '^ *+' conftest.er1 >conftest.err
65629   rm -f conftest.er1
65630   cat conftest.err >&5
65631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65632   (exit $ac_status); } &&
65633          { ac_try='test -z "$ac_cxx_werror_flag"
65634                          || test ! -s conftest.err'
65635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65636   (eval $ac_try) 2>&5
65637   ac_status=$?
65638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65639   (exit $ac_status); }; } &&
65640          { ac_try='test -s conftest.$ac_objext'
65641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65642   (eval $ac_try) 2>&5
65643   ac_status=$?
65644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65645   (exit $ac_status); }; }; then
65646   glibcxx_cv_func__copysign_use=yes
65647 else
65648   echo "$as_me: failed program was:" >&5
65649 sed 's/^/| /' conftest.$ac_ext >&5
65650
65651 glibcxx_cv_func__copysign_use=no
65652 fi
65653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65654       ac_ext=c
65655 ac_cpp='$CPP $CPPFLAGS'
65656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65659
65660
65661 fi
65662
65663   fi
65664   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
65665 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
65666
65667     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
65668
65669 for ac_func in _copysign
65670 do
65671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65672 echo "$as_me:$LINENO: checking for $ac_func" >&5
65673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65674 if eval "test \"\${$as_ac_var+set}\" = set"; then
65675   echo $ECHO_N "(cached) $ECHO_C" >&6
65676 else
65677   if test x$gcc_no_link = xyes; then
65678   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65680    { (exit 1); exit 1; }; }
65681 fi
65682 cat >conftest.$ac_ext <<_ACEOF
65683 /* confdefs.h.  */
65684 _ACEOF
65685 cat confdefs.h >>conftest.$ac_ext
65686 cat >>conftest.$ac_ext <<_ACEOF
65687 /* end confdefs.h.  */
65688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65689    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65690 #define $ac_func innocuous_$ac_func
65691
65692 /* System header to define __stub macros and hopefully few prototypes,
65693     which can conflict with char $ac_func (); below.
65694     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65695     <limits.h> exists even on freestanding compilers.  */
65696
65697 #ifdef __STDC__
65698 # include <limits.h>
65699 #else
65700 # include <assert.h>
65701 #endif
65702
65703 #undef $ac_func
65704
65705 /* Override any gcc2 internal prototype to avoid an error.  */
65706 #ifdef __cplusplus
65707 extern "C"
65708 {
65709 #endif
65710 /* We use char because int might match the return type of a gcc2
65711    builtin and then its argument prototype would still apply.  */
65712 char $ac_func ();
65713 /* The GNU C library defines this for functions which it implements
65714     to always fail with ENOSYS.  Some functions are actually named
65715     something starting with __ and the normal name is an alias.  */
65716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65717 choke me
65718 #else
65719 char (*f) () = $ac_func;
65720 #endif
65721 #ifdef __cplusplus
65722 }
65723 #endif
65724
65725 int
65726 main ()
65727 {
65728 return f != $ac_func;
65729   ;
65730   return 0;
65731 }
65732 _ACEOF
65733 rm -f conftest.$ac_objext conftest$ac_exeext
65734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65735   (eval $ac_link) 2>conftest.er1
65736   ac_status=$?
65737   grep -v '^ *+' conftest.er1 >conftest.err
65738   rm -f conftest.er1
65739   cat conftest.err >&5
65740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65741   (exit $ac_status); } &&
65742          { ac_try='test -z "$ac_c_werror_flag"
65743                          || test ! -s conftest.err'
65744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65745   (eval $ac_try) 2>&5
65746   ac_status=$?
65747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65748   (exit $ac_status); }; } &&
65749          { ac_try='test -s conftest$ac_exeext'
65750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65751   (eval $ac_try) 2>&5
65752   ac_status=$?
65753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65754   (exit $ac_status); }; }; then
65755   eval "$as_ac_var=yes"
65756 else
65757   echo "$as_me: failed program was:" >&5
65758 sed 's/^/| /' conftest.$ac_ext >&5
65759
65760 eval "$as_ac_var=no"
65761 fi
65762 rm -f conftest.err conftest.$ac_objext \
65763       conftest$ac_exeext conftest.$ac_ext
65764 fi
65765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65767 if test `eval echo '${'$as_ac_var'}'` = yes; then
65768   cat >>confdefs.h <<_ACEOF
65769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65770 _ACEOF
65771
65772 fi
65773 done
65774
65775     fi
65776   fi
65777
65778
65779
65780
65781
65782
65783   echo "$as_me:$LINENO: checking for sincos declaration" >&5
65784 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
65785   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65786     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
65787   echo $ECHO_N "(cached) $ECHO_C" >&6
65788 else
65789
65790
65791
65792       ac_ext=cc
65793 ac_cpp='$CXXCPP $CPPFLAGS'
65794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65797
65798       cat >conftest.$ac_ext <<_ACEOF
65799 /* confdefs.h.  */
65800 _ACEOF
65801 cat confdefs.h >>conftest.$ac_ext
65802 cat >>conftest.$ac_ext <<_ACEOF
65803 /* end confdefs.h.  */
65804 #include <math.h>
65805 int
65806 main ()
65807 {
65808  sincos(0, 0, 0);
65809   ;
65810   return 0;
65811 }
65812 _ACEOF
65813 rm -f conftest.$ac_objext
65814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65815   (eval $ac_compile) 2>conftest.er1
65816   ac_status=$?
65817   grep -v '^ *+' conftest.er1 >conftest.err
65818   rm -f conftest.er1
65819   cat conftest.err >&5
65820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65821   (exit $ac_status); } &&
65822          { ac_try='test -z "$ac_cxx_werror_flag"
65823                          || test ! -s conftest.err'
65824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65825   (eval $ac_try) 2>&5
65826   ac_status=$?
65827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65828   (exit $ac_status); }; } &&
65829          { ac_try='test -s conftest.$ac_objext'
65830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65831   (eval $ac_try) 2>&5
65832   ac_status=$?
65833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65834   (exit $ac_status); }; }; then
65835   glibcxx_cv_func_sincos_use=yes
65836 else
65837   echo "$as_me: failed program was:" >&5
65838 sed 's/^/| /' conftest.$ac_ext >&5
65839
65840 glibcxx_cv_func_sincos_use=no
65841 fi
65842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65843       ac_ext=c
65844 ac_cpp='$CPP $CPPFLAGS'
65845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65848
65849
65850 fi
65851
65852   fi
65853   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
65854 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
65855
65856   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65857
65858 for ac_func in sincos
65859 do
65860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65861 echo "$as_me:$LINENO: checking for $ac_func" >&5
65862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65863 if eval "test \"\${$as_ac_var+set}\" = set"; then
65864   echo $ECHO_N "(cached) $ECHO_C" >&6
65865 else
65866   if test x$gcc_no_link = xyes; then
65867   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65869    { (exit 1); exit 1; }; }
65870 fi
65871 cat >conftest.$ac_ext <<_ACEOF
65872 /* confdefs.h.  */
65873 _ACEOF
65874 cat confdefs.h >>conftest.$ac_ext
65875 cat >>conftest.$ac_ext <<_ACEOF
65876 /* end confdefs.h.  */
65877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65878    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65879 #define $ac_func innocuous_$ac_func
65880
65881 /* System header to define __stub macros and hopefully few prototypes,
65882     which can conflict with char $ac_func (); below.
65883     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65884     <limits.h> exists even on freestanding compilers.  */
65885
65886 #ifdef __STDC__
65887 # include <limits.h>
65888 #else
65889 # include <assert.h>
65890 #endif
65891
65892 #undef $ac_func
65893
65894 /* Override any gcc2 internal prototype to avoid an error.  */
65895 #ifdef __cplusplus
65896 extern "C"
65897 {
65898 #endif
65899 /* We use char because int might match the return type of a gcc2
65900    builtin and then its argument prototype would still apply.  */
65901 char $ac_func ();
65902 /* The GNU C library defines this for functions which it implements
65903     to always fail with ENOSYS.  Some functions are actually named
65904     something starting with __ and the normal name is an alias.  */
65905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65906 choke me
65907 #else
65908 char (*f) () = $ac_func;
65909 #endif
65910 #ifdef __cplusplus
65911 }
65912 #endif
65913
65914 int
65915 main ()
65916 {
65917 return f != $ac_func;
65918   ;
65919   return 0;
65920 }
65921 _ACEOF
65922 rm -f conftest.$ac_objext conftest$ac_exeext
65923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65924   (eval $ac_link) 2>conftest.er1
65925   ac_status=$?
65926   grep -v '^ *+' conftest.er1 >conftest.err
65927   rm -f conftest.er1
65928   cat conftest.err >&5
65929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65930   (exit $ac_status); } &&
65931          { ac_try='test -z "$ac_c_werror_flag"
65932                          || test ! -s conftest.err'
65933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65934   (eval $ac_try) 2>&5
65935   ac_status=$?
65936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65937   (exit $ac_status); }; } &&
65938          { ac_try='test -s conftest$ac_exeext'
65939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65940   (eval $ac_try) 2>&5
65941   ac_status=$?
65942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65943   (exit $ac_status); }; }; then
65944   eval "$as_ac_var=yes"
65945 else
65946   echo "$as_me: failed program was:" >&5
65947 sed 's/^/| /' conftest.$ac_ext >&5
65948
65949 eval "$as_ac_var=no"
65950 fi
65951 rm -f conftest.err conftest.$ac_objext \
65952       conftest$ac_exeext conftest.$ac_ext
65953 fi
65954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65956 if test `eval echo '${'$as_ac_var'}'` = yes; then
65957   cat >>confdefs.h <<_ACEOF
65958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65959 _ACEOF
65960
65961 fi
65962 done
65963
65964   else
65965
65966   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
65967 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
65968   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65969     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
65970   echo $ECHO_N "(cached) $ECHO_C" >&6
65971 else
65972
65973
65974
65975       ac_ext=cc
65976 ac_cpp='$CXXCPP $CPPFLAGS'
65977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65980
65981       cat >conftest.$ac_ext <<_ACEOF
65982 /* confdefs.h.  */
65983 _ACEOF
65984 cat confdefs.h >>conftest.$ac_ext
65985 cat >>conftest.$ac_ext <<_ACEOF
65986 /* end confdefs.h.  */
65987 #include <math.h>
65988 int
65989 main ()
65990 {
65991  _sincos(0, 0, 0);
65992   ;
65993   return 0;
65994 }
65995 _ACEOF
65996 rm -f conftest.$ac_objext
65997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65998   (eval $ac_compile) 2>conftest.er1
65999   ac_status=$?
66000   grep -v '^ *+' conftest.er1 >conftest.err
66001   rm -f conftest.er1
66002   cat conftest.err >&5
66003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66004   (exit $ac_status); } &&
66005          { ac_try='test -z "$ac_cxx_werror_flag"
66006                          || test ! -s conftest.err'
66007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66008   (eval $ac_try) 2>&5
66009   ac_status=$?
66010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66011   (exit $ac_status); }; } &&
66012          { ac_try='test -s conftest.$ac_objext'
66013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66014   (eval $ac_try) 2>&5
66015   ac_status=$?
66016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66017   (exit $ac_status); }; }; then
66018   glibcxx_cv_func__sincos_use=yes
66019 else
66020   echo "$as_me: failed program was:" >&5
66021 sed 's/^/| /' conftest.$ac_ext >&5
66022
66023 glibcxx_cv_func__sincos_use=no
66024 fi
66025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66026       ac_ext=c
66027 ac_cpp='$CPP $CPPFLAGS'
66028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66031
66032
66033 fi
66034
66035   fi
66036   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
66037 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
66038
66039     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66040
66041 for ac_func in _sincos
66042 do
66043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66044 echo "$as_me:$LINENO: checking for $ac_func" >&5
66045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66046 if eval "test \"\${$as_ac_var+set}\" = set"; then
66047   echo $ECHO_N "(cached) $ECHO_C" >&6
66048 else
66049   if test x$gcc_no_link = xyes; then
66050   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66052    { (exit 1); exit 1; }; }
66053 fi
66054 cat >conftest.$ac_ext <<_ACEOF
66055 /* confdefs.h.  */
66056 _ACEOF
66057 cat confdefs.h >>conftest.$ac_ext
66058 cat >>conftest.$ac_ext <<_ACEOF
66059 /* end confdefs.h.  */
66060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66061    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66062 #define $ac_func innocuous_$ac_func
66063
66064 /* System header to define __stub macros and hopefully few prototypes,
66065     which can conflict with char $ac_func (); below.
66066     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66067     <limits.h> exists even on freestanding compilers.  */
66068
66069 #ifdef __STDC__
66070 # include <limits.h>
66071 #else
66072 # include <assert.h>
66073 #endif
66074
66075 #undef $ac_func
66076
66077 /* Override any gcc2 internal prototype to avoid an error.  */
66078 #ifdef __cplusplus
66079 extern "C"
66080 {
66081 #endif
66082 /* We use char because int might match the return type of a gcc2
66083    builtin and then its argument prototype would still apply.  */
66084 char $ac_func ();
66085 /* The GNU C library defines this for functions which it implements
66086     to always fail with ENOSYS.  Some functions are actually named
66087     something starting with __ and the normal name is an alias.  */
66088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66089 choke me
66090 #else
66091 char (*f) () = $ac_func;
66092 #endif
66093 #ifdef __cplusplus
66094 }
66095 #endif
66096
66097 int
66098 main ()
66099 {
66100 return f != $ac_func;
66101   ;
66102   return 0;
66103 }
66104 _ACEOF
66105 rm -f conftest.$ac_objext conftest$ac_exeext
66106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66107   (eval $ac_link) 2>conftest.er1
66108   ac_status=$?
66109   grep -v '^ *+' conftest.er1 >conftest.err
66110   rm -f conftest.er1
66111   cat conftest.err >&5
66112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66113   (exit $ac_status); } &&
66114          { ac_try='test -z "$ac_c_werror_flag"
66115                          || test ! -s conftest.err'
66116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66117   (eval $ac_try) 2>&5
66118   ac_status=$?
66119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66120   (exit $ac_status); }; } &&
66121          { ac_try='test -s conftest$ac_exeext'
66122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66123   (eval $ac_try) 2>&5
66124   ac_status=$?
66125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66126   (exit $ac_status); }; }; then
66127   eval "$as_ac_var=yes"
66128 else
66129   echo "$as_me: failed program was:" >&5
66130 sed 's/^/| /' conftest.$ac_ext >&5
66131
66132 eval "$as_ac_var=no"
66133 fi
66134 rm -f conftest.err conftest.$ac_objext \
66135       conftest$ac_exeext conftest.$ac_ext
66136 fi
66137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66139 if test `eval echo '${'$as_ac_var'}'` = yes; then
66140   cat >>confdefs.h <<_ACEOF
66141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66142 _ACEOF
66143
66144 fi
66145 done
66146
66147     fi
66148   fi
66149
66150
66151
66152
66153
66154
66155   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
66156 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
66157   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66158     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
66159   echo $ECHO_N "(cached) $ECHO_C" >&6
66160 else
66161
66162
66163
66164       ac_ext=cc
66165 ac_cpp='$CXXCPP $CPPFLAGS'
66166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66169
66170       cat >conftest.$ac_ext <<_ACEOF
66171 /* confdefs.h.  */
66172 _ACEOF
66173 cat confdefs.h >>conftest.$ac_ext
66174 cat >>conftest.$ac_ext <<_ACEOF
66175 /* end confdefs.h.  */
66176 #include <math.h>
66177                       #ifdef HAVE_IEEEFP_H
66178                       #include <ieeefp.h>
66179                       #endif
66180
66181 int
66182 main ()
66183 {
66184  fpclass(0);
66185   ;
66186   return 0;
66187 }
66188 _ACEOF
66189 rm -f conftest.$ac_objext
66190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66191   (eval $ac_compile) 2>conftest.er1
66192   ac_status=$?
66193   grep -v '^ *+' conftest.er1 >conftest.err
66194   rm -f conftest.er1
66195   cat conftest.err >&5
66196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66197   (exit $ac_status); } &&
66198          { ac_try='test -z "$ac_cxx_werror_flag"
66199                          || test ! -s conftest.err'
66200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66201   (eval $ac_try) 2>&5
66202   ac_status=$?
66203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66204   (exit $ac_status); }; } &&
66205          { ac_try='test -s conftest.$ac_objext'
66206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66207   (eval $ac_try) 2>&5
66208   ac_status=$?
66209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66210   (exit $ac_status); }; }; then
66211   glibcxx_cv_func_fpclass_use=yes
66212 else
66213   echo "$as_me: failed program was:" >&5
66214 sed 's/^/| /' conftest.$ac_ext >&5
66215
66216 glibcxx_cv_func_fpclass_use=no
66217 fi
66218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66219       ac_ext=c
66220 ac_cpp='$CPP $CPPFLAGS'
66221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66224
66225
66226 fi
66227
66228   fi
66229   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
66230 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
66231
66232   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66233
66234 for ac_func in fpclass
66235 do
66236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66237 echo "$as_me:$LINENO: checking for $ac_func" >&5
66238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66239 if eval "test \"\${$as_ac_var+set}\" = set"; then
66240   echo $ECHO_N "(cached) $ECHO_C" >&6
66241 else
66242   if test x$gcc_no_link = xyes; then
66243   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66245    { (exit 1); exit 1; }; }
66246 fi
66247 cat >conftest.$ac_ext <<_ACEOF
66248 /* confdefs.h.  */
66249 _ACEOF
66250 cat confdefs.h >>conftest.$ac_ext
66251 cat >>conftest.$ac_ext <<_ACEOF
66252 /* end confdefs.h.  */
66253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66254    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66255 #define $ac_func innocuous_$ac_func
66256
66257 /* System header to define __stub macros and hopefully few prototypes,
66258     which can conflict with char $ac_func (); below.
66259     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66260     <limits.h> exists even on freestanding compilers.  */
66261
66262 #ifdef __STDC__
66263 # include <limits.h>
66264 #else
66265 # include <assert.h>
66266 #endif
66267
66268 #undef $ac_func
66269
66270 /* Override any gcc2 internal prototype to avoid an error.  */
66271 #ifdef __cplusplus
66272 extern "C"
66273 {
66274 #endif
66275 /* We use char because int might match the return type of a gcc2
66276    builtin and then its argument prototype would still apply.  */
66277 char $ac_func ();
66278 /* The GNU C library defines this for functions which it implements
66279     to always fail with ENOSYS.  Some functions are actually named
66280     something starting with __ and the normal name is an alias.  */
66281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66282 choke me
66283 #else
66284 char (*f) () = $ac_func;
66285 #endif
66286 #ifdef __cplusplus
66287 }
66288 #endif
66289
66290 int
66291 main ()
66292 {
66293 return f != $ac_func;
66294   ;
66295   return 0;
66296 }
66297 _ACEOF
66298 rm -f conftest.$ac_objext conftest$ac_exeext
66299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66300   (eval $ac_link) 2>conftest.er1
66301   ac_status=$?
66302   grep -v '^ *+' conftest.er1 >conftest.err
66303   rm -f conftest.er1
66304   cat conftest.err >&5
66305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66306   (exit $ac_status); } &&
66307          { ac_try='test -z "$ac_c_werror_flag"
66308                          || test ! -s conftest.err'
66309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66310   (eval $ac_try) 2>&5
66311   ac_status=$?
66312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66313   (exit $ac_status); }; } &&
66314          { ac_try='test -s conftest$ac_exeext'
66315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66316   (eval $ac_try) 2>&5
66317   ac_status=$?
66318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66319   (exit $ac_status); }; }; then
66320   eval "$as_ac_var=yes"
66321 else
66322   echo "$as_me: failed program was:" >&5
66323 sed 's/^/| /' conftest.$ac_ext >&5
66324
66325 eval "$as_ac_var=no"
66326 fi
66327 rm -f conftest.err conftest.$ac_objext \
66328       conftest$ac_exeext conftest.$ac_ext
66329 fi
66330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66332 if test `eval echo '${'$as_ac_var'}'` = yes; then
66333   cat >>confdefs.h <<_ACEOF
66334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66335 _ACEOF
66336
66337 fi
66338 done
66339
66340   else
66341
66342   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
66343 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
66344   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66345     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
66346   echo $ECHO_N "(cached) $ECHO_C" >&6
66347 else
66348
66349
66350
66351       ac_ext=cc
66352 ac_cpp='$CXXCPP $CPPFLAGS'
66353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66356
66357       cat >conftest.$ac_ext <<_ACEOF
66358 /* confdefs.h.  */
66359 _ACEOF
66360 cat confdefs.h >>conftest.$ac_ext
66361 cat >>conftest.$ac_ext <<_ACEOF
66362 /* end confdefs.h.  */
66363 #include <math.h>
66364                       #ifdef HAVE_IEEEFP_H
66365                       #include <ieeefp.h>
66366                       #endif
66367
66368 int
66369 main ()
66370 {
66371  _fpclass(0);
66372   ;
66373   return 0;
66374 }
66375 _ACEOF
66376 rm -f conftest.$ac_objext
66377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66378   (eval $ac_compile) 2>conftest.er1
66379   ac_status=$?
66380   grep -v '^ *+' conftest.er1 >conftest.err
66381   rm -f conftest.er1
66382   cat conftest.err >&5
66383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66384   (exit $ac_status); } &&
66385          { ac_try='test -z "$ac_cxx_werror_flag"
66386                          || test ! -s conftest.err'
66387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66388   (eval $ac_try) 2>&5
66389   ac_status=$?
66390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66391   (exit $ac_status); }; } &&
66392          { ac_try='test -s conftest.$ac_objext'
66393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66394   (eval $ac_try) 2>&5
66395   ac_status=$?
66396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66397   (exit $ac_status); }; }; then
66398   glibcxx_cv_func__fpclass_use=yes
66399 else
66400   echo "$as_me: failed program was:" >&5
66401 sed 's/^/| /' conftest.$ac_ext >&5
66402
66403 glibcxx_cv_func__fpclass_use=no
66404 fi
66405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66406       ac_ext=c
66407 ac_cpp='$CPP $CPPFLAGS'
66408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66411
66412
66413 fi
66414
66415   fi
66416   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
66417 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
66418
66419     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66420
66421 for ac_func in _fpclass
66422 do
66423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66424 echo "$as_me:$LINENO: checking for $ac_func" >&5
66425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66426 if eval "test \"\${$as_ac_var+set}\" = set"; then
66427   echo $ECHO_N "(cached) $ECHO_C" >&6
66428 else
66429   if test x$gcc_no_link = xyes; then
66430   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66432    { (exit 1); exit 1; }; }
66433 fi
66434 cat >conftest.$ac_ext <<_ACEOF
66435 /* confdefs.h.  */
66436 _ACEOF
66437 cat confdefs.h >>conftest.$ac_ext
66438 cat >>conftest.$ac_ext <<_ACEOF
66439 /* end confdefs.h.  */
66440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66441    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66442 #define $ac_func innocuous_$ac_func
66443
66444 /* System header to define __stub macros and hopefully few prototypes,
66445     which can conflict with char $ac_func (); below.
66446     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66447     <limits.h> exists even on freestanding compilers.  */
66448
66449 #ifdef __STDC__
66450 # include <limits.h>
66451 #else
66452 # include <assert.h>
66453 #endif
66454
66455 #undef $ac_func
66456
66457 /* Override any gcc2 internal prototype to avoid an error.  */
66458 #ifdef __cplusplus
66459 extern "C"
66460 {
66461 #endif
66462 /* We use char because int might match the return type of a gcc2
66463    builtin and then its argument prototype would still apply.  */
66464 char $ac_func ();
66465 /* The GNU C library defines this for functions which it implements
66466     to always fail with ENOSYS.  Some functions are actually named
66467     something starting with __ and the normal name is an alias.  */
66468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66469 choke me
66470 #else
66471 char (*f) () = $ac_func;
66472 #endif
66473 #ifdef __cplusplus
66474 }
66475 #endif
66476
66477 int
66478 main ()
66479 {
66480 return f != $ac_func;
66481   ;
66482   return 0;
66483 }
66484 _ACEOF
66485 rm -f conftest.$ac_objext conftest$ac_exeext
66486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66487   (eval $ac_link) 2>conftest.er1
66488   ac_status=$?
66489   grep -v '^ *+' conftest.er1 >conftest.err
66490   rm -f conftest.er1
66491   cat conftest.err >&5
66492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66493   (exit $ac_status); } &&
66494          { ac_try='test -z "$ac_c_werror_flag"
66495                          || test ! -s conftest.err'
66496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66497   (eval $ac_try) 2>&5
66498   ac_status=$?
66499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66500   (exit $ac_status); }; } &&
66501          { ac_try='test -s conftest$ac_exeext'
66502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66503   (eval $ac_try) 2>&5
66504   ac_status=$?
66505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66506   (exit $ac_status); }; }; then
66507   eval "$as_ac_var=yes"
66508 else
66509   echo "$as_me: failed program was:" >&5
66510 sed 's/^/| /' conftest.$ac_ext >&5
66511
66512 eval "$as_ac_var=no"
66513 fi
66514 rm -f conftest.err conftest.$ac_objext \
66515       conftest$ac_exeext conftest.$ac_ext
66516 fi
66517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66519 if test `eval echo '${'$as_ac_var'}'` = yes; then
66520   cat >>confdefs.h <<_ACEOF
66521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66522 _ACEOF
66523
66524 fi
66525 done
66526
66527     fi
66528   fi
66529
66530
66531
66532
66533
66534
66535   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
66536 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
66537   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66538     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
66539   echo $ECHO_N "(cached) $ECHO_C" >&6
66540 else
66541
66542
66543
66544       ac_ext=cc
66545 ac_cpp='$CXXCPP $CPPFLAGS'
66546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66549
66550       cat >conftest.$ac_ext <<_ACEOF
66551 /* confdefs.h.  */
66552 _ACEOF
66553 cat confdefs.h >>conftest.$ac_ext
66554 cat >>conftest.$ac_ext <<_ACEOF
66555 /* end confdefs.h.  */
66556 #include <math.h>
66557                       #ifdef HAVE_IEEEFP_H
66558                       #include <ieeefp.h>
66559                       #endif
66560
66561 int
66562 main ()
66563 {
66564  qfpclass(0);
66565   ;
66566   return 0;
66567 }
66568 _ACEOF
66569 rm -f conftest.$ac_objext
66570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66571   (eval $ac_compile) 2>conftest.er1
66572   ac_status=$?
66573   grep -v '^ *+' conftest.er1 >conftest.err
66574   rm -f conftest.er1
66575   cat conftest.err >&5
66576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66577   (exit $ac_status); } &&
66578          { ac_try='test -z "$ac_cxx_werror_flag"
66579                          || test ! -s conftest.err'
66580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66581   (eval $ac_try) 2>&5
66582   ac_status=$?
66583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66584   (exit $ac_status); }; } &&
66585          { ac_try='test -s conftest.$ac_objext'
66586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66587   (eval $ac_try) 2>&5
66588   ac_status=$?
66589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66590   (exit $ac_status); }; }; then
66591   glibcxx_cv_func_qfpclass_use=yes
66592 else
66593   echo "$as_me: failed program was:" >&5
66594 sed 's/^/| /' conftest.$ac_ext >&5
66595
66596 glibcxx_cv_func_qfpclass_use=no
66597 fi
66598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66599       ac_ext=c
66600 ac_cpp='$CPP $CPPFLAGS'
66601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66604
66605
66606 fi
66607
66608   fi
66609   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
66610 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
66611
66612   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66613
66614 for ac_func in qfpclass
66615 do
66616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66617 echo "$as_me:$LINENO: checking for $ac_func" >&5
66618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66619 if eval "test \"\${$as_ac_var+set}\" = set"; then
66620   echo $ECHO_N "(cached) $ECHO_C" >&6
66621 else
66622   if test x$gcc_no_link = xyes; then
66623   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66625    { (exit 1); exit 1; }; }
66626 fi
66627 cat >conftest.$ac_ext <<_ACEOF
66628 /* confdefs.h.  */
66629 _ACEOF
66630 cat confdefs.h >>conftest.$ac_ext
66631 cat >>conftest.$ac_ext <<_ACEOF
66632 /* end confdefs.h.  */
66633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66634    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66635 #define $ac_func innocuous_$ac_func
66636
66637 /* System header to define __stub macros and hopefully few prototypes,
66638     which can conflict with char $ac_func (); below.
66639     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66640     <limits.h> exists even on freestanding compilers.  */
66641
66642 #ifdef __STDC__
66643 # include <limits.h>
66644 #else
66645 # include <assert.h>
66646 #endif
66647
66648 #undef $ac_func
66649
66650 /* Override any gcc2 internal prototype to avoid an error.  */
66651 #ifdef __cplusplus
66652 extern "C"
66653 {
66654 #endif
66655 /* We use char because int might match the return type of a gcc2
66656    builtin and then its argument prototype would still apply.  */
66657 char $ac_func ();
66658 /* The GNU C library defines this for functions which it implements
66659     to always fail with ENOSYS.  Some functions are actually named
66660     something starting with __ and the normal name is an alias.  */
66661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66662 choke me
66663 #else
66664 char (*f) () = $ac_func;
66665 #endif
66666 #ifdef __cplusplus
66667 }
66668 #endif
66669
66670 int
66671 main ()
66672 {
66673 return f != $ac_func;
66674   ;
66675   return 0;
66676 }
66677 _ACEOF
66678 rm -f conftest.$ac_objext conftest$ac_exeext
66679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66680   (eval $ac_link) 2>conftest.er1
66681   ac_status=$?
66682   grep -v '^ *+' conftest.er1 >conftest.err
66683   rm -f conftest.er1
66684   cat conftest.err >&5
66685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66686   (exit $ac_status); } &&
66687          { ac_try='test -z "$ac_c_werror_flag"
66688                          || test ! -s conftest.err'
66689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66690   (eval $ac_try) 2>&5
66691   ac_status=$?
66692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66693   (exit $ac_status); }; } &&
66694          { ac_try='test -s conftest$ac_exeext'
66695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66696   (eval $ac_try) 2>&5
66697   ac_status=$?
66698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66699   (exit $ac_status); }; }; then
66700   eval "$as_ac_var=yes"
66701 else
66702   echo "$as_me: failed program was:" >&5
66703 sed 's/^/| /' conftest.$ac_ext >&5
66704
66705 eval "$as_ac_var=no"
66706 fi
66707 rm -f conftest.err conftest.$ac_objext \
66708       conftest$ac_exeext conftest.$ac_ext
66709 fi
66710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66712 if test `eval echo '${'$as_ac_var'}'` = yes; then
66713   cat >>confdefs.h <<_ACEOF
66714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66715 _ACEOF
66716
66717 fi
66718 done
66719
66720   else
66721
66722   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
66723 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
66724   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66725     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
66726   echo $ECHO_N "(cached) $ECHO_C" >&6
66727 else
66728
66729
66730
66731       ac_ext=cc
66732 ac_cpp='$CXXCPP $CPPFLAGS'
66733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66736
66737       cat >conftest.$ac_ext <<_ACEOF
66738 /* confdefs.h.  */
66739 _ACEOF
66740 cat confdefs.h >>conftest.$ac_ext
66741 cat >>conftest.$ac_ext <<_ACEOF
66742 /* end confdefs.h.  */
66743 #include <math.h>
66744                       #ifdef HAVE_IEEEFP_H
66745                       #include <ieeefp.h>
66746                       #endif
66747
66748 int
66749 main ()
66750 {
66751  _qfpclass(0);
66752   ;
66753   return 0;
66754 }
66755 _ACEOF
66756 rm -f conftest.$ac_objext
66757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66758   (eval $ac_compile) 2>conftest.er1
66759   ac_status=$?
66760   grep -v '^ *+' conftest.er1 >conftest.err
66761   rm -f conftest.er1
66762   cat conftest.err >&5
66763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66764   (exit $ac_status); } &&
66765          { ac_try='test -z "$ac_cxx_werror_flag"
66766                          || test ! -s conftest.err'
66767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66768   (eval $ac_try) 2>&5
66769   ac_status=$?
66770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66771   (exit $ac_status); }; } &&
66772          { ac_try='test -s conftest.$ac_objext'
66773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66774   (eval $ac_try) 2>&5
66775   ac_status=$?
66776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66777   (exit $ac_status); }; }; then
66778   glibcxx_cv_func__qfpclass_use=yes
66779 else
66780   echo "$as_me: failed program was:" >&5
66781 sed 's/^/| /' conftest.$ac_ext >&5
66782
66783 glibcxx_cv_func__qfpclass_use=no
66784 fi
66785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66786       ac_ext=c
66787 ac_cpp='$CPP $CPPFLAGS'
66788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66791
66792
66793 fi
66794
66795   fi
66796   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
66797 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
66798
66799     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66800
66801 for ac_func in _qfpclass
66802 do
66803 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66804 echo "$as_me:$LINENO: checking for $ac_func" >&5
66805 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66806 if eval "test \"\${$as_ac_var+set}\" = set"; then
66807   echo $ECHO_N "(cached) $ECHO_C" >&6
66808 else
66809   if test x$gcc_no_link = xyes; then
66810   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66812    { (exit 1); exit 1; }; }
66813 fi
66814 cat >conftest.$ac_ext <<_ACEOF
66815 /* confdefs.h.  */
66816 _ACEOF
66817 cat confdefs.h >>conftest.$ac_ext
66818 cat >>conftest.$ac_ext <<_ACEOF
66819 /* end confdefs.h.  */
66820 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66821    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66822 #define $ac_func innocuous_$ac_func
66823
66824 /* System header to define __stub macros and hopefully few prototypes,
66825     which can conflict with char $ac_func (); below.
66826     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66827     <limits.h> exists even on freestanding compilers.  */
66828
66829 #ifdef __STDC__
66830 # include <limits.h>
66831 #else
66832 # include <assert.h>
66833 #endif
66834
66835 #undef $ac_func
66836
66837 /* Override any gcc2 internal prototype to avoid an error.  */
66838 #ifdef __cplusplus
66839 extern "C"
66840 {
66841 #endif
66842 /* We use char because int might match the return type of a gcc2
66843    builtin and then its argument prototype would still apply.  */
66844 char $ac_func ();
66845 /* The GNU C library defines this for functions which it implements
66846     to always fail with ENOSYS.  Some functions are actually named
66847     something starting with __ and the normal name is an alias.  */
66848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66849 choke me
66850 #else
66851 char (*f) () = $ac_func;
66852 #endif
66853 #ifdef __cplusplus
66854 }
66855 #endif
66856
66857 int
66858 main ()
66859 {
66860 return f != $ac_func;
66861   ;
66862   return 0;
66863 }
66864 _ACEOF
66865 rm -f conftest.$ac_objext conftest$ac_exeext
66866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66867   (eval $ac_link) 2>conftest.er1
66868   ac_status=$?
66869   grep -v '^ *+' conftest.er1 >conftest.err
66870   rm -f conftest.er1
66871   cat conftest.err >&5
66872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66873   (exit $ac_status); } &&
66874          { ac_try='test -z "$ac_c_werror_flag"
66875                          || test ! -s conftest.err'
66876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66877   (eval $ac_try) 2>&5
66878   ac_status=$?
66879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66880   (exit $ac_status); }; } &&
66881          { ac_try='test -s conftest$ac_exeext'
66882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66883   (eval $ac_try) 2>&5
66884   ac_status=$?
66885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66886   (exit $ac_status); }; }; then
66887   eval "$as_ac_var=yes"
66888 else
66889   echo "$as_me: failed program was:" >&5
66890 sed 's/^/| /' conftest.$ac_ext >&5
66891
66892 eval "$as_ac_var=no"
66893 fi
66894 rm -f conftest.err conftest.$ac_objext \
66895       conftest$ac_exeext conftest.$ac_ext
66896 fi
66897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66898 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66899 if test `eval echo '${'$as_ac_var'}'` = yes; then
66900   cat >>confdefs.h <<_ACEOF
66901 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66902 _ACEOF
66903
66904 fi
66905 done
66906
66907     fi
66908   fi
66909
66910
66911
66912
66913
66914
66915   echo "$as_me:$LINENO: checking for hypot declaration" >&5
66916 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
66917   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66918     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
66919   echo $ECHO_N "(cached) $ECHO_C" >&6
66920 else
66921
66922
66923
66924       ac_ext=cc
66925 ac_cpp='$CXXCPP $CPPFLAGS'
66926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66929
66930       cat >conftest.$ac_ext <<_ACEOF
66931 /* confdefs.h.  */
66932 _ACEOF
66933 cat confdefs.h >>conftest.$ac_ext
66934 cat >>conftest.$ac_ext <<_ACEOF
66935 /* end confdefs.h.  */
66936 #include <math.h>
66937 int
66938 main ()
66939 {
66940  hypot(0, 0);
66941   ;
66942   return 0;
66943 }
66944 _ACEOF
66945 rm -f conftest.$ac_objext
66946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66947   (eval $ac_compile) 2>conftest.er1
66948   ac_status=$?
66949   grep -v '^ *+' conftest.er1 >conftest.err
66950   rm -f conftest.er1
66951   cat conftest.err >&5
66952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66953   (exit $ac_status); } &&
66954          { ac_try='test -z "$ac_cxx_werror_flag"
66955                          || test ! -s conftest.err'
66956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66957   (eval $ac_try) 2>&5
66958   ac_status=$?
66959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66960   (exit $ac_status); }; } &&
66961          { ac_try='test -s conftest.$ac_objext'
66962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66963   (eval $ac_try) 2>&5
66964   ac_status=$?
66965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66966   (exit $ac_status); }; }; then
66967   glibcxx_cv_func_hypot_use=yes
66968 else
66969   echo "$as_me: failed program was:" >&5
66970 sed 's/^/| /' conftest.$ac_ext >&5
66971
66972 glibcxx_cv_func_hypot_use=no
66973 fi
66974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66975       ac_ext=c
66976 ac_cpp='$CPP $CPPFLAGS'
66977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66980
66981
66982 fi
66983
66984   fi
66985   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
66986 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
66987
66988   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66989
66990 for ac_func in hypot
66991 do
66992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66993 echo "$as_me:$LINENO: checking for $ac_func" >&5
66994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66995 if eval "test \"\${$as_ac_var+set}\" = set"; then
66996   echo $ECHO_N "(cached) $ECHO_C" >&6
66997 else
66998   if test x$gcc_no_link = xyes; then
66999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67001    { (exit 1); exit 1; }; }
67002 fi
67003 cat >conftest.$ac_ext <<_ACEOF
67004 /* confdefs.h.  */
67005 _ACEOF
67006 cat confdefs.h >>conftest.$ac_ext
67007 cat >>conftest.$ac_ext <<_ACEOF
67008 /* end confdefs.h.  */
67009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67010    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67011 #define $ac_func innocuous_$ac_func
67012
67013 /* System header to define __stub macros and hopefully few prototypes,
67014     which can conflict with char $ac_func (); below.
67015     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67016     <limits.h> exists even on freestanding compilers.  */
67017
67018 #ifdef __STDC__
67019 # include <limits.h>
67020 #else
67021 # include <assert.h>
67022 #endif
67023
67024 #undef $ac_func
67025
67026 /* Override any gcc2 internal prototype to avoid an error.  */
67027 #ifdef __cplusplus
67028 extern "C"
67029 {
67030 #endif
67031 /* We use char because int might match the return type of a gcc2
67032    builtin and then its argument prototype would still apply.  */
67033 char $ac_func ();
67034 /* The GNU C library defines this for functions which it implements
67035     to always fail with ENOSYS.  Some functions are actually named
67036     something starting with __ and the normal name is an alias.  */
67037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67038 choke me
67039 #else
67040 char (*f) () = $ac_func;
67041 #endif
67042 #ifdef __cplusplus
67043 }
67044 #endif
67045
67046 int
67047 main ()
67048 {
67049 return f != $ac_func;
67050   ;
67051   return 0;
67052 }
67053 _ACEOF
67054 rm -f conftest.$ac_objext conftest$ac_exeext
67055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67056   (eval $ac_link) 2>conftest.er1
67057   ac_status=$?
67058   grep -v '^ *+' conftest.er1 >conftest.err
67059   rm -f conftest.er1
67060   cat conftest.err >&5
67061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67062   (exit $ac_status); } &&
67063          { ac_try='test -z "$ac_c_werror_flag"
67064                          || test ! -s conftest.err'
67065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67066   (eval $ac_try) 2>&5
67067   ac_status=$?
67068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67069   (exit $ac_status); }; } &&
67070          { ac_try='test -s conftest$ac_exeext'
67071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67072   (eval $ac_try) 2>&5
67073   ac_status=$?
67074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67075   (exit $ac_status); }; }; then
67076   eval "$as_ac_var=yes"
67077 else
67078   echo "$as_me: failed program was:" >&5
67079 sed 's/^/| /' conftest.$ac_ext >&5
67080
67081 eval "$as_ac_var=no"
67082 fi
67083 rm -f conftest.err conftest.$ac_objext \
67084       conftest$ac_exeext conftest.$ac_ext
67085 fi
67086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67088 if test `eval echo '${'$as_ac_var'}'` = yes; then
67089   cat >>confdefs.h <<_ACEOF
67090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67091 _ACEOF
67092
67093 fi
67094 done
67095
67096   else
67097
67098   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
67099 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
67100   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67101     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
67102   echo $ECHO_N "(cached) $ECHO_C" >&6
67103 else
67104
67105
67106
67107       ac_ext=cc
67108 ac_cpp='$CXXCPP $CPPFLAGS'
67109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67112
67113       cat >conftest.$ac_ext <<_ACEOF
67114 /* confdefs.h.  */
67115 _ACEOF
67116 cat confdefs.h >>conftest.$ac_ext
67117 cat >>conftest.$ac_ext <<_ACEOF
67118 /* end confdefs.h.  */
67119 #include <math.h>
67120 int
67121 main ()
67122 {
67123  _hypot(0, 0);
67124   ;
67125   return 0;
67126 }
67127 _ACEOF
67128 rm -f conftest.$ac_objext
67129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67130   (eval $ac_compile) 2>conftest.er1
67131   ac_status=$?
67132   grep -v '^ *+' conftest.er1 >conftest.err
67133   rm -f conftest.er1
67134   cat conftest.err >&5
67135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67136   (exit $ac_status); } &&
67137          { ac_try='test -z "$ac_cxx_werror_flag"
67138                          || test ! -s conftest.err'
67139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67140   (eval $ac_try) 2>&5
67141   ac_status=$?
67142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67143   (exit $ac_status); }; } &&
67144          { ac_try='test -s conftest.$ac_objext'
67145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67146   (eval $ac_try) 2>&5
67147   ac_status=$?
67148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67149   (exit $ac_status); }; }; then
67150   glibcxx_cv_func__hypot_use=yes
67151 else
67152   echo "$as_me: failed program was:" >&5
67153 sed 's/^/| /' conftest.$ac_ext >&5
67154
67155 glibcxx_cv_func__hypot_use=no
67156 fi
67157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67158       ac_ext=c
67159 ac_cpp='$CPP $CPPFLAGS'
67160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67163
67164
67165 fi
67166
67167   fi
67168   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
67169 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
67170
67171     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67172
67173 for ac_func in _hypot
67174 do
67175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67176 echo "$as_me:$LINENO: checking for $ac_func" >&5
67177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67178 if eval "test \"\${$as_ac_var+set}\" = set"; then
67179   echo $ECHO_N "(cached) $ECHO_C" >&6
67180 else
67181   if test x$gcc_no_link = xyes; then
67182   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67184    { (exit 1); exit 1; }; }
67185 fi
67186 cat >conftest.$ac_ext <<_ACEOF
67187 /* confdefs.h.  */
67188 _ACEOF
67189 cat confdefs.h >>conftest.$ac_ext
67190 cat >>conftest.$ac_ext <<_ACEOF
67191 /* end confdefs.h.  */
67192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67193    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67194 #define $ac_func innocuous_$ac_func
67195
67196 /* System header to define __stub macros and hopefully few prototypes,
67197     which can conflict with char $ac_func (); below.
67198     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67199     <limits.h> exists even on freestanding compilers.  */
67200
67201 #ifdef __STDC__
67202 # include <limits.h>
67203 #else
67204 # include <assert.h>
67205 #endif
67206
67207 #undef $ac_func
67208
67209 /* Override any gcc2 internal prototype to avoid an error.  */
67210 #ifdef __cplusplus
67211 extern "C"
67212 {
67213 #endif
67214 /* We use char because int might match the return type of a gcc2
67215    builtin and then its argument prototype would still apply.  */
67216 char $ac_func ();
67217 /* The GNU C library defines this for functions which it implements
67218     to always fail with ENOSYS.  Some functions are actually named
67219     something starting with __ and the normal name is an alias.  */
67220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67221 choke me
67222 #else
67223 char (*f) () = $ac_func;
67224 #endif
67225 #ifdef __cplusplus
67226 }
67227 #endif
67228
67229 int
67230 main ()
67231 {
67232 return f != $ac_func;
67233   ;
67234   return 0;
67235 }
67236 _ACEOF
67237 rm -f conftest.$ac_objext conftest$ac_exeext
67238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67239   (eval $ac_link) 2>conftest.er1
67240   ac_status=$?
67241   grep -v '^ *+' conftest.er1 >conftest.err
67242   rm -f conftest.er1
67243   cat conftest.err >&5
67244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67245   (exit $ac_status); } &&
67246          { ac_try='test -z "$ac_c_werror_flag"
67247                          || test ! -s conftest.err'
67248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67249   (eval $ac_try) 2>&5
67250   ac_status=$?
67251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67252   (exit $ac_status); }; } &&
67253          { ac_try='test -s conftest$ac_exeext'
67254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67255   (eval $ac_try) 2>&5
67256   ac_status=$?
67257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67258   (exit $ac_status); }; }; then
67259   eval "$as_ac_var=yes"
67260 else
67261   echo "$as_me: failed program was:" >&5
67262 sed 's/^/| /' conftest.$ac_ext >&5
67263
67264 eval "$as_ac_var=no"
67265 fi
67266 rm -f conftest.err conftest.$ac_objext \
67267       conftest$ac_exeext conftest.$ac_ext
67268 fi
67269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67271 if test `eval echo '${'$as_ac_var'}'` = yes; then
67272   cat >>confdefs.h <<_ACEOF
67273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67274 _ACEOF
67275
67276 fi
67277 done
67278
67279     fi
67280   fi
67281
67282
67283
67284
67285
67286
67287     echo "$as_me:$LINENO: checking for float trig functions" >&5
67288 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
67289   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
67290   echo $ECHO_N "(cached) $ECHO_C" >&6
67291 else
67292
67293
67294
67295     ac_ext=cc
67296 ac_cpp='$CXXCPP $CPPFLAGS'
67297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67300
67301     cat >conftest.$ac_ext <<_ACEOF
67302 /* confdefs.h.  */
67303 _ACEOF
67304 cat confdefs.h >>conftest.$ac_ext
67305 cat >>conftest.$ac_ext <<_ACEOF
67306 /* end confdefs.h.  */
67307 #include <math.h>
67308 int
67309 main ()
67310 {
67311 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67312   ;
67313   return 0;
67314 }
67315 _ACEOF
67316 rm -f conftest.$ac_objext
67317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67318   (eval $ac_compile) 2>conftest.er1
67319   ac_status=$?
67320   grep -v '^ *+' conftest.er1 >conftest.err
67321   rm -f conftest.er1
67322   cat conftest.err >&5
67323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67324   (exit $ac_status); } &&
67325          { ac_try='test -z "$ac_cxx_werror_flag"
67326                          || test ! -s conftest.err'
67327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67328   (eval $ac_try) 2>&5
67329   ac_status=$?
67330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67331   (exit $ac_status); }; } &&
67332          { ac_try='test -s conftest.$ac_objext'
67333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67334   (eval $ac_try) 2>&5
67335   ac_status=$?
67336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67337   (exit $ac_status); }; }; then
67338   glibcxx_cv_func_float_trig_use=yes
67339 else
67340   echo "$as_me: failed program was:" >&5
67341 sed 's/^/| /' conftest.$ac_ext >&5
67342
67343 glibcxx_cv_func_float_trig_use=no
67344 fi
67345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67346     ac_ext=c
67347 ac_cpp='$CPP $CPPFLAGS'
67348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67351
67352 fi
67353
67354   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
67355 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
67356   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67357
67358
67359
67360
67361
67362
67363
67364
67365
67366 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67367 do
67368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67369 echo "$as_me:$LINENO: checking for $ac_func" >&5
67370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67371 if eval "test \"\${$as_ac_var+set}\" = set"; then
67372   echo $ECHO_N "(cached) $ECHO_C" >&6
67373 else
67374   if test x$gcc_no_link = xyes; then
67375   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67377    { (exit 1); exit 1; }; }
67378 fi
67379 cat >conftest.$ac_ext <<_ACEOF
67380 /* confdefs.h.  */
67381 _ACEOF
67382 cat confdefs.h >>conftest.$ac_ext
67383 cat >>conftest.$ac_ext <<_ACEOF
67384 /* end confdefs.h.  */
67385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67386    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67387 #define $ac_func innocuous_$ac_func
67388
67389 /* System header to define __stub macros and hopefully few prototypes,
67390     which can conflict with char $ac_func (); below.
67391     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67392     <limits.h> exists even on freestanding compilers.  */
67393
67394 #ifdef __STDC__
67395 # include <limits.h>
67396 #else
67397 # include <assert.h>
67398 #endif
67399
67400 #undef $ac_func
67401
67402 /* Override any gcc2 internal prototype to avoid an error.  */
67403 #ifdef __cplusplus
67404 extern "C"
67405 {
67406 #endif
67407 /* We use char because int might match the return type of a gcc2
67408    builtin and then its argument prototype would still apply.  */
67409 char $ac_func ();
67410 /* The GNU C library defines this for functions which it implements
67411     to always fail with ENOSYS.  Some functions are actually named
67412     something starting with __ and the normal name is an alias.  */
67413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67414 choke me
67415 #else
67416 char (*f) () = $ac_func;
67417 #endif
67418 #ifdef __cplusplus
67419 }
67420 #endif
67421
67422 int
67423 main ()
67424 {
67425 return f != $ac_func;
67426   ;
67427   return 0;
67428 }
67429 _ACEOF
67430 rm -f conftest.$ac_objext conftest$ac_exeext
67431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67432   (eval $ac_link) 2>conftest.er1
67433   ac_status=$?
67434   grep -v '^ *+' conftest.er1 >conftest.err
67435   rm -f conftest.er1
67436   cat conftest.err >&5
67437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67438   (exit $ac_status); } &&
67439          { ac_try='test -z "$ac_c_werror_flag"
67440                          || test ! -s conftest.err'
67441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67442   (eval $ac_try) 2>&5
67443   ac_status=$?
67444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67445   (exit $ac_status); }; } &&
67446          { ac_try='test -s conftest$ac_exeext'
67447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67448   (eval $ac_try) 2>&5
67449   ac_status=$?
67450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67451   (exit $ac_status); }; }; then
67452   eval "$as_ac_var=yes"
67453 else
67454   echo "$as_me: failed program was:" >&5
67455 sed 's/^/| /' conftest.$ac_ext >&5
67456
67457 eval "$as_ac_var=no"
67458 fi
67459 rm -f conftest.err conftest.$ac_objext \
67460       conftest$ac_exeext conftest.$ac_ext
67461 fi
67462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67464 if test `eval echo '${'$as_ac_var'}'` = yes; then
67465   cat >>confdefs.h <<_ACEOF
67466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67467 _ACEOF
67468
67469 fi
67470 done
67471
67472   else
67473     echo "$as_me:$LINENO: checking for _float trig functions" >&5
67474 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
67475     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
67476   echo $ECHO_N "(cached) $ECHO_C" >&6
67477 else
67478
67479
67480
67481       ac_ext=cc
67482 ac_cpp='$CXXCPP $CPPFLAGS'
67483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67486
67487       cat >conftest.$ac_ext <<_ACEOF
67488 /* confdefs.h.  */
67489 _ACEOF
67490 cat confdefs.h >>conftest.$ac_ext
67491 cat >>conftest.$ac_ext <<_ACEOF
67492 /* end confdefs.h.  */
67493 #include <math.h>
67494 int
67495 main ()
67496 {
67497 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67498   ;
67499   return 0;
67500 }
67501 _ACEOF
67502 rm -f conftest.$ac_objext
67503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67504   (eval $ac_compile) 2>conftest.er1
67505   ac_status=$?
67506   grep -v '^ *+' conftest.er1 >conftest.err
67507   rm -f conftest.er1
67508   cat conftest.err >&5
67509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67510   (exit $ac_status); } &&
67511          { ac_try='test -z "$ac_cxx_werror_flag"
67512                          || test ! -s conftest.err'
67513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67514   (eval $ac_try) 2>&5
67515   ac_status=$?
67516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67517   (exit $ac_status); }; } &&
67518          { ac_try='test -s conftest.$ac_objext'
67519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67520   (eval $ac_try) 2>&5
67521   ac_status=$?
67522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67523   (exit $ac_status); }; }; then
67524   glibcxx_cv_func__float_trig_use=yes
67525 else
67526   echo "$as_me: failed program was:" >&5
67527 sed 's/^/| /' conftest.$ac_ext >&5
67528
67529 glibcxx_cv_func__float_trig_use=no
67530 fi
67531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67532       ac_ext=c
67533 ac_cpp='$CPP $CPPFLAGS'
67534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67537
67538 fi
67539
67540     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
67541 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
67542     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67543
67544
67545
67546
67547
67548
67549
67550
67551
67552 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67553 do
67554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67555 echo "$as_me:$LINENO: checking for $ac_func" >&5
67556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67557 if eval "test \"\${$as_ac_var+set}\" = set"; then
67558   echo $ECHO_N "(cached) $ECHO_C" >&6
67559 else
67560   if test x$gcc_no_link = xyes; then
67561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67563    { (exit 1); exit 1; }; }
67564 fi
67565 cat >conftest.$ac_ext <<_ACEOF
67566 /* confdefs.h.  */
67567 _ACEOF
67568 cat confdefs.h >>conftest.$ac_ext
67569 cat >>conftest.$ac_ext <<_ACEOF
67570 /* end confdefs.h.  */
67571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67572    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67573 #define $ac_func innocuous_$ac_func
67574
67575 /* System header to define __stub macros and hopefully few prototypes,
67576     which can conflict with char $ac_func (); below.
67577     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67578     <limits.h> exists even on freestanding compilers.  */
67579
67580 #ifdef __STDC__
67581 # include <limits.h>
67582 #else
67583 # include <assert.h>
67584 #endif
67585
67586 #undef $ac_func
67587
67588 /* Override any gcc2 internal prototype to avoid an error.  */
67589 #ifdef __cplusplus
67590 extern "C"
67591 {
67592 #endif
67593 /* We use char because int might match the return type of a gcc2
67594    builtin and then its argument prototype would still apply.  */
67595 char $ac_func ();
67596 /* The GNU C library defines this for functions which it implements
67597     to always fail with ENOSYS.  Some functions are actually named
67598     something starting with __ and the normal name is an alias.  */
67599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67600 choke me
67601 #else
67602 char (*f) () = $ac_func;
67603 #endif
67604 #ifdef __cplusplus
67605 }
67606 #endif
67607
67608 int
67609 main ()
67610 {
67611 return f != $ac_func;
67612   ;
67613   return 0;
67614 }
67615 _ACEOF
67616 rm -f conftest.$ac_objext conftest$ac_exeext
67617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67618   (eval $ac_link) 2>conftest.er1
67619   ac_status=$?
67620   grep -v '^ *+' conftest.er1 >conftest.err
67621   rm -f conftest.er1
67622   cat conftest.err >&5
67623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67624   (exit $ac_status); } &&
67625          { ac_try='test -z "$ac_c_werror_flag"
67626                          || test ! -s conftest.err'
67627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67628   (eval $ac_try) 2>&5
67629   ac_status=$?
67630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67631   (exit $ac_status); }; } &&
67632          { ac_try='test -s conftest$ac_exeext'
67633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67634   (eval $ac_try) 2>&5
67635   ac_status=$?
67636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67637   (exit $ac_status); }; }; then
67638   eval "$as_ac_var=yes"
67639 else
67640   echo "$as_me: failed program was:" >&5
67641 sed 's/^/| /' conftest.$ac_ext >&5
67642
67643 eval "$as_ac_var=no"
67644 fi
67645 rm -f conftest.err conftest.$ac_objext \
67646       conftest$ac_exeext conftest.$ac_ext
67647 fi
67648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67650 if test `eval echo '${'$as_ac_var'}'` = yes; then
67651   cat >>confdefs.h <<_ACEOF
67652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67653 _ACEOF
67654
67655 fi
67656 done
67657
67658     fi
67659   fi
67660
67661
67662
67663
67664
67665
67666
67667
67668
67669
67670
67671
67672
67673
67674     echo "$as_me:$LINENO: checking for float round functions" >&5
67675 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
67676   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
67677   echo $ECHO_N "(cached) $ECHO_C" >&6
67678 else
67679
67680
67681
67682     ac_ext=cc
67683 ac_cpp='$CXXCPP $CPPFLAGS'
67684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67687
67688     cat >conftest.$ac_ext <<_ACEOF
67689 /* confdefs.h.  */
67690 _ACEOF
67691 cat confdefs.h >>conftest.$ac_ext
67692 cat >>conftest.$ac_ext <<_ACEOF
67693 /* end confdefs.h.  */
67694 #include <math.h>
67695 int
67696 main ()
67697 {
67698 ceilf (0); floorf (0);
67699   ;
67700   return 0;
67701 }
67702 _ACEOF
67703 rm -f conftest.$ac_objext
67704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67705   (eval $ac_compile) 2>conftest.er1
67706   ac_status=$?
67707   grep -v '^ *+' conftest.er1 >conftest.err
67708   rm -f conftest.er1
67709   cat conftest.err >&5
67710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67711   (exit $ac_status); } &&
67712          { ac_try='test -z "$ac_cxx_werror_flag"
67713                          || test ! -s conftest.err'
67714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67715   (eval $ac_try) 2>&5
67716   ac_status=$?
67717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67718   (exit $ac_status); }; } &&
67719          { ac_try='test -s conftest.$ac_objext'
67720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67721   (eval $ac_try) 2>&5
67722   ac_status=$?
67723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67724   (exit $ac_status); }; }; then
67725   glibcxx_cv_func_float_round_use=yes
67726 else
67727   echo "$as_me: failed program was:" >&5
67728 sed 's/^/| /' conftest.$ac_ext >&5
67729
67730 glibcxx_cv_func_float_round_use=no
67731 fi
67732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67733     ac_ext=c
67734 ac_cpp='$CPP $CPPFLAGS'
67735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67738
67739 fi
67740
67741   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
67742 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
67743   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67744
67745
67746 for ac_func in ceilf floorf
67747 do
67748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67749 echo "$as_me:$LINENO: checking for $ac_func" >&5
67750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67751 if eval "test \"\${$as_ac_var+set}\" = set"; then
67752   echo $ECHO_N "(cached) $ECHO_C" >&6
67753 else
67754   if test x$gcc_no_link = xyes; then
67755   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67757    { (exit 1); exit 1; }; }
67758 fi
67759 cat >conftest.$ac_ext <<_ACEOF
67760 /* confdefs.h.  */
67761 _ACEOF
67762 cat confdefs.h >>conftest.$ac_ext
67763 cat >>conftest.$ac_ext <<_ACEOF
67764 /* end confdefs.h.  */
67765 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67766    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67767 #define $ac_func innocuous_$ac_func
67768
67769 /* System header to define __stub macros and hopefully few prototypes,
67770     which can conflict with char $ac_func (); below.
67771     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67772     <limits.h> exists even on freestanding compilers.  */
67773
67774 #ifdef __STDC__
67775 # include <limits.h>
67776 #else
67777 # include <assert.h>
67778 #endif
67779
67780 #undef $ac_func
67781
67782 /* Override any gcc2 internal prototype to avoid an error.  */
67783 #ifdef __cplusplus
67784 extern "C"
67785 {
67786 #endif
67787 /* We use char because int might match the return type of a gcc2
67788    builtin and then its argument prototype would still apply.  */
67789 char $ac_func ();
67790 /* The GNU C library defines this for functions which it implements
67791     to always fail with ENOSYS.  Some functions are actually named
67792     something starting with __ and the normal name is an alias.  */
67793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67794 choke me
67795 #else
67796 char (*f) () = $ac_func;
67797 #endif
67798 #ifdef __cplusplus
67799 }
67800 #endif
67801
67802 int
67803 main ()
67804 {
67805 return f != $ac_func;
67806   ;
67807   return 0;
67808 }
67809 _ACEOF
67810 rm -f conftest.$ac_objext conftest$ac_exeext
67811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67812   (eval $ac_link) 2>conftest.er1
67813   ac_status=$?
67814   grep -v '^ *+' conftest.er1 >conftest.err
67815   rm -f conftest.er1
67816   cat conftest.err >&5
67817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67818   (exit $ac_status); } &&
67819          { ac_try='test -z "$ac_c_werror_flag"
67820                          || test ! -s conftest.err'
67821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67822   (eval $ac_try) 2>&5
67823   ac_status=$?
67824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67825   (exit $ac_status); }; } &&
67826          { ac_try='test -s conftest$ac_exeext'
67827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67828   (eval $ac_try) 2>&5
67829   ac_status=$?
67830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67831   (exit $ac_status); }; }; then
67832   eval "$as_ac_var=yes"
67833 else
67834   echo "$as_me: failed program was:" >&5
67835 sed 's/^/| /' conftest.$ac_ext >&5
67836
67837 eval "$as_ac_var=no"
67838 fi
67839 rm -f conftest.err conftest.$ac_objext \
67840       conftest$ac_exeext conftest.$ac_ext
67841 fi
67842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67843 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67844 if test `eval echo '${'$as_ac_var'}'` = yes; then
67845   cat >>confdefs.h <<_ACEOF
67846 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67847 _ACEOF
67848
67849 fi
67850 done
67851
67852   else
67853     echo "$as_me:$LINENO: checking for _float round functions" >&5
67854 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
67855     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
67856   echo $ECHO_N "(cached) $ECHO_C" >&6
67857 else
67858
67859
67860
67861       ac_ext=cc
67862 ac_cpp='$CXXCPP $CPPFLAGS'
67863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67866
67867       cat >conftest.$ac_ext <<_ACEOF
67868 /* confdefs.h.  */
67869 _ACEOF
67870 cat confdefs.h >>conftest.$ac_ext
67871 cat >>conftest.$ac_ext <<_ACEOF
67872 /* end confdefs.h.  */
67873 #include <math.h>
67874 int
67875 main ()
67876 {
67877 _ceilf (0); _floorf (0);
67878   ;
67879   return 0;
67880 }
67881 _ACEOF
67882 rm -f conftest.$ac_objext
67883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67884   (eval $ac_compile) 2>conftest.er1
67885   ac_status=$?
67886   grep -v '^ *+' conftest.er1 >conftest.err
67887   rm -f conftest.er1
67888   cat conftest.err >&5
67889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67890   (exit $ac_status); } &&
67891          { ac_try='test -z "$ac_cxx_werror_flag"
67892                          || test ! -s conftest.err'
67893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67894   (eval $ac_try) 2>&5
67895   ac_status=$?
67896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67897   (exit $ac_status); }; } &&
67898          { ac_try='test -s conftest.$ac_objext'
67899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67900   (eval $ac_try) 2>&5
67901   ac_status=$?
67902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67903   (exit $ac_status); }; }; then
67904   glibcxx_cv_func__float_round_use=yes
67905 else
67906   echo "$as_me: failed program was:" >&5
67907 sed 's/^/| /' conftest.$ac_ext >&5
67908
67909 glibcxx_cv_func__float_round_use=no
67910 fi
67911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67912       ac_ext=c
67913 ac_cpp='$CPP $CPPFLAGS'
67914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67917
67918 fi
67919
67920     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
67921 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
67922     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67923
67924
67925 for ac_func in _ceilf _floorf
67926 do
67927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67928 echo "$as_me:$LINENO: checking for $ac_func" >&5
67929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67930 if eval "test \"\${$as_ac_var+set}\" = set"; then
67931   echo $ECHO_N "(cached) $ECHO_C" >&6
67932 else
67933   if test x$gcc_no_link = xyes; then
67934   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67936    { (exit 1); exit 1; }; }
67937 fi
67938 cat >conftest.$ac_ext <<_ACEOF
67939 /* confdefs.h.  */
67940 _ACEOF
67941 cat confdefs.h >>conftest.$ac_ext
67942 cat >>conftest.$ac_ext <<_ACEOF
67943 /* end confdefs.h.  */
67944 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67945    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67946 #define $ac_func innocuous_$ac_func
67947
67948 /* System header to define __stub macros and hopefully few prototypes,
67949     which can conflict with char $ac_func (); below.
67950     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67951     <limits.h> exists even on freestanding compilers.  */
67952
67953 #ifdef __STDC__
67954 # include <limits.h>
67955 #else
67956 # include <assert.h>
67957 #endif
67958
67959 #undef $ac_func
67960
67961 /* Override any gcc2 internal prototype to avoid an error.  */
67962 #ifdef __cplusplus
67963 extern "C"
67964 {
67965 #endif
67966 /* We use char because int might match the return type of a gcc2
67967    builtin and then its argument prototype would still apply.  */
67968 char $ac_func ();
67969 /* The GNU C library defines this for functions which it implements
67970     to always fail with ENOSYS.  Some functions are actually named
67971     something starting with __ and the normal name is an alias.  */
67972 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67973 choke me
67974 #else
67975 char (*f) () = $ac_func;
67976 #endif
67977 #ifdef __cplusplus
67978 }
67979 #endif
67980
67981 int
67982 main ()
67983 {
67984 return f != $ac_func;
67985   ;
67986   return 0;
67987 }
67988 _ACEOF
67989 rm -f conftest.$ac_objext conftest$ac_exeext
67990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67991   (eval $ac_link) 2>conftest.er1
67992   ac_status=$?
67993   grep -v '^ *+' conftest.er1 >conftest.err
67994   rm -f conftest.er1
67995   cat conftest.err >&5
67996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67997   (exit $ac_status); } &&
67998          { ac_try='test -z "$ac_c_werror_flag"
67999                          || test ! -s conftest.err'
68000   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68001   (eval $ac_try) 2>&5
68002   ac_status=$?
68003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68004   (exit $ac_status); }; } &&
68005          { ac_try='test -s conftest$ac_exeext'
68006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68007   (eval $ac_try) 2>&5
68008   ac_status=$?
68009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68010   (exit $ac_status); }; }; then
68011   eval "$as_ac_var=yes"
68012 else
68013   echo "$as_me: failed program was:" >&5
68014 sed 's/^/| /' conftest.$ac_ext >&5
68015
68016 eval "$as_ac_var=no"
68017 fi
68018 rm -f conftest.err conftest.$ac_objext \
68019       conftest$ac_exeext conftest.$ac_ext
68020 fi
68021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68022 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68023 if test `eval echo '${'$as_ac_var'}'` = yes; then
68024   cat >>confdefs.h <<_ACEOF
68025 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68026 _ACEOF
68027
68028 fi
68029 done
68030
68031     fi
68032   fi
68033
68034
68035
68036
68037
68038
68039
68040
68041   echo "$as_me:$LINENO: checking for expf declaration" >&5
68042 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
68043   if test x${glibcxx_cv_func_expf_use+set} != xset; then
68044     if test "${glibcxx_cv_func_expf_use+set}" = set; then
68045   echo $ECHO_N "(cached) $ECHO_C" >&6
68046 else
68047
68048
68049
68050       ac_ext=cc
68051 ac_cpp='$CXXCPP $CPPFLAGS'
68052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68055
68056       cat >conftest.$ac_ext <<_ACEOF
68057 /* confdefs.h.  */
68058 _ACEOF
68059 cat confdefs.h >>conftest.$ac_ext
68060 cat >>conftest.$ac_ext <<_ACEOF
68061 /* end confdefs.h.  */
68062 #include <math.h>
68063                       #ifdef HAVE_IEEEFP_H
68064                       #include <ieeefp.h>
68065                       #endif
68066
68067 int
68068 main ()
68069 {
68070  expf(0);
68071   ;
68072   return 0;
68073 }
68074 _ACEOF
68075 rm -f conftest.$ac_objext
68076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68077   (eval $ac_compile) 2>conftest.er1
68078   ac_status=$?
68079   grep -v '^ *+' conftest.er1 >conftest.err
68080   rm -f conftest.er1
68081   cat conftest.err >&5
68082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68083   (exit $ac_status); } &&
68084          { ac_try='test -z "$ac_cxx_werror_flag"
68085                          || test ! -s conftest.err'
68086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68087   (eval $ac_try) 2>&5
68088   ac_status=$?
68089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68090   (exit $ac_status); }; } &&
68091          { ac_try='test -s conftest.$ac_objext'
68092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68093   (eval $ac_try) 2>&5
68094   ac_status=$?
68095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68096   (exit $ac_status); }; }; then
68097   glibcxx_cv_func_expf_use=yes
68098 else
68099   echo "$as_me: failed program was:" >&5
68100 sed 's/^/| /' conftest.$ac_ext >&5
68101
68102 glibcxx_cv_func_expf_use=no
68103 fi
68104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68105       ac_ext=c
68106 ac_cpp='$CPP $CPPFLAGS'
68107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68110
68111
68112 fi
68113
68114   fi
68115   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
68116 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
68117
68118   if test x$glibcxx_cv_func_expf_use = x"yes"; then
68119
68120 for ac_func in expf
68121 do
68122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68123 echo "$as_me:$LINENO: checking for $ac_func" >&5
68124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68125 if eval "test \"\${$as_ac_var+set}\" = set"; then
68126   echo $ECHO_N "(cached) $ECHO_C" >&6
68127 else
68128   if test x$gcc_no_link = xyes; then
68129   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68131    { (exit 1); exit 1; }; }
68132 fi
68133 cat >conftest.$ac_ext <<_ACEOF
68134 /* confdefs.h.  */
68135 _ACEOF
68136 cat confdefs.h >>conftest.$ac_ext
68137 cat >>conftest.$ac_ext <<_ACEOF
68138 /* end confdefs.h.  */
68139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68140    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68141 #define $ac_func innocuous_$ac_func
68142
68143 /* System header to define __stub macros and hopefully few prototypes,
68144     which can conflict with char $ac_func (); below.
68145     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68146     <limits.h> exists even on freestanding compilers.  */
68147
68148 #ifdef __STDC__
68149 # include <limits.h>
68150 #else
68151 # include <assert.h>
68152 #endif
68153
68154 #undef $ac_func
68155
68156 /* Override any gcc2 internal prototype to avoid an error.  */
68157 #ifdef __cplusplus
68158 extern "C"
68159 {
68160 #endif
68161 /* We use char because int might match the return type of a gcc2
68162    builtin and then its argument prototype would still apply.  */
68163 char $ac_func ();
68164 /* The GNU C library defines this for functions which it implements
68165     to always fail with ENOSYS.  Some functions are actually named
68166     something starting with __ and the normal name is an alias.  */
68167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68168 choke me
68169 #else
68170 char (*f) () = $ac_func;
68171 #endif
68172 #ifdef __cplusplus
68173 }
68174 #endif
68175
68176 int
68177 main ()
68178 {
68179 return f != $ac_func;
68180   ;
68181   return 0;
68182 }
68183 _ACEOF
68184 rm -f conftest.$ac_objext conftest$ac_exeext
68185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68186   (eval $ac_link) 2>conftest.er1
68187   ac_status=$?
68188   grep -v '^ *+' conftest.er1 >conftest.err
68189   rm -f conftest.er1
68190   cat conftest.err >&5
68191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68192   (exit $ac_status); } &&
68193          { ac_try='test -z "$ac_c_werror_flag"
68194                          || test ! -s conftest.err'
68195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68196   (eval $ac_try) 2>&5
68197   ac_status=$?
68198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68199   (exit $ac_status); }; } &&
68200          { ac_try='test -s conftest$ac_exeext'
68201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68202   (eval $ac_try) 2>&5
68203   ac_status=$?
68204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68205   (exit $ac_status); }; }; then
68206   eval "$as_ac_var=yes"
68207 else
68208   echo "$as_me: failed program was:" >&5
68209 sed 's/^/| /' conftest.$ac_ext >&5
68210
68211 eval "$as_ac_var=no"
68212 fi
68213 rm -f conftest.err conftest.$ac_objext \
68214       conftest$ac_exeext conftest.$ac_ext
68215 fi
68216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68218 if test `eval echo '${'$as_ac_var'}'` = yes; then
68219   cat >>confdefs.h <<_ACEOF
68220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68221 _ACEOF
68222
68223 fi
68224 done
68225
68226   else
68227
68228   echo "$as_me:$LINENO: checking for _expf declaration" >&5
68229 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
68230   if test x${glibcxx_cv_func__expf_use+set} != xset; then
68231     if test "${glibcxx_cv_func__expf_use+set}" = set; then
68232   echo $ECHO_N "(cached) $ECHO_C" >&6
68233 else
68234
68235
68236
68237       ac_ext=cc
68238 ac_cpp='$CXXCPP $CPPFLAGS'
68239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68242
68243       cat >conftest.$ac_ext <<_ACEOF
68244 /* confdefs.h.  */
68245 _ACEOF
68246 cat confdefs.h >>conftest.$ac_ext
68247 cat >>conftest.$ac_ext <<_ACEOF
68248 /* end confdefs.h.  */
68249 #include <math.h>
68250                       #ifdef HAVE_IEEEFP_H
68251                       #include <ieeefp.h>
68252                       #endif
68253
68254 int
68255 main ()
68256 {
68257  _expf(0);
68258   ;
68259   return 0;
68260 }
68261 _ACEOF
68262 rm -f conftest.$ac_objext
68263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68264   (eval $ac_compile) 2>conftest.er1
68265   ac_status=$?
68266   grep -v '^ *+' conftest.er1 >conftest.err
68267   rm -f conftest.er1
68268   cat conftest.err >&5
68269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68270   (exit $ac_status); } &&
68271          { ac_try='test -z "$ac_cxx_werror_flag"
68272                          || test ! -s conftest.err'
68273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68274   (eval $ac_try) 2>&5
68275   ac_status=$?
68276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68277   (exit $ac_status); }; } &&
68278          { ac_try='test -s conftest.$ac_objext'
68279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68280   (eval $ac_try) 2>&5
68281   ac_status=$?
68282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68283   (exit $ac_status); }; }; then
68284   glibcxx_cv_func__expf_use=yes
68285 else
68286   echo "$as_me: failed program was:" >&5
68287 sed 's/^/| /' conftest.$ac_ext >&5
68288
68289 glibcxx_cv_func__expf_use=no
68290 fi
68291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68292       ac_ext=c
68293 ac_cpp='$CPP $CPPFLAGS'
68294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68297
68298
68299 fi
68300
68301   fi
68302   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
68303 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
68304
68305     if test x$glibcxx_cv_func__expf_use = x"yes"; then
68306
68307 for ac_func in _expf
68308 do
68309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68310 echo "$as_me:$LINENO: checking for $ac_func" >&5
68311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68312 if eval "test \"\${$as_ac_var+set}\" = set"; then
68313   echo $ECHO_N "(cached) $ECHO_C" >&6
68314 else
68315   if test x$gcc_no_link = xyes; then
68316   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68318    { (exit 1); exit 1; }; }
68319 fi
68320 cat >conftest.$ac_ext <<_ACEOF
68321 /* confdefs.h.  */
68322 _ACEOF
68323 cat confdefs.h >>conftest.$ac_ext
68324 cat >>conftest.$ac_ext <<_ACEOF
68325 /* end confdefs.h.  */
68326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68327    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68328 #define $ac_func innocuous_$ac_func
68329
68330 /* System header to define __stub macros and hopefully few prototypes,
68331     which can conflict with char $ac_func (); below.
68332     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68333     <limits.h> exists even on freestanding compilers.  */
68334
68335 #ifdef __STDC__
68336 # include <limits.h>
68337 #else
68338 # include <assert.h>
68339 #endif
68340
68341 #undef $ac_func
68342
68343 /* Override any gcc2 internal prototype to avoid an error.  */
68344 #ifdef __cplusplus
68345 extern "C"
68346 {
68347 #endif
68348 /* We use char because int might match the return type of a gcc2
68349    builtin and then its argument prototype would still apply.  */
68350 char $ac_func ();
68351 /* The GNU C library defines this for functions which it implements
68352     to always fail with ENOSYS.  Some functions are actually named
68353     something starting with __ and the normal name is an alias.  */
68354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68355 choke me
68356 #else
68357 char (*f) () = $ac_func;
68358 #endif
68359 #ifdef __cplusplus
68360 }
68361 #endif
68362
68363 int
68364 main ()
68365 {
68366 return f != $ac_func;
68367   ;
68368   return 0;
68369 }
68370 _ACEOF
68371 rm -f conftest.$ac_objext conftest$ac_exeext
68372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68373   (eval $ac_link) 2>conftest.er1
68374   ac_status=$?
68375   grep -v '^ *+' conftest.er1 >conftest.err
68376   rm -f conftest.er1
68377   cat conftest.err >&5
68378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68379   (exit $ac_status); } &&
68380          { ac_try='test -z "$ac_c_werror_flag"
68381                          || test ! -s conftest.err'
68382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68383   (eval $ac_try) 2>&5
68384   ac_status=$?
68385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68386   (exit $ac_status); }; } &&
68387          { ac_try='test -s conftest$ac_exeext'
68388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68389   (eval $ac_try) 2>&5
68390   ac_status=$?
68391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68392   (exit $ac_status); }; }; then
68393   eval "$as_ac_var=yes"
68394 else
68395   echo "$as_me: failed program was:" >&5
68396 sed 's/^/| /' conftest.$ac_ext >&5
68397
68398 eval "$as_ac_var=no"
68399 fi
68400 rm -f conftest.err conftest.$ac_objext \
68401       conftest$ac_exeext conftest.$ac_ext
68402 fi
68403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68405 if test `eval echo '${'$as_ac_var'}'` = yes; then
68406   cat >>confdefs.h <<_ACEOF
68407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68408 _ACEOF
68409
68410 fi
68411 done
68412
68413     fi
68414   fi
68415
68416
68417
68418
68419
68420
68421   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
68422 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
68423   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68424     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
68425   echo $ECHO_N "(cached) $ECHO_C" >&6
68426 else
68427
68428
68429
68430       ac_ext=cc
68431 ac_cpp='$CXXCPP $CPPFLAGS'
68432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68435
68436       cat >conftest.$ac_ext <<_ACEOF
68437 /* confdefs.h.  */
68438 _ACEOF
68439 cat confdefs.h >>conftest.$ac_ext
68440 cat >>conftest.$ac_ext <<_ACEOF
68441 /* end confdefs.h.  */
68442 #include <math.h>
68443                       #ifdef HAVE_IEEEFP_H
68444                       #include <ieeefp.h>
68445                       #endif
68446
68447 int
68448 main ()
68449 {
68450  isnanf(0);
68451   ;
68452   return 0;
68453 }
68454 _ACEOF
68455 rm -f conftest.$ac_objext
68456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68457   (eval $ac_compile) 2>conftest.er1
68458   ac_status=$?
68459   grep -v '^ *+' conftest.er1 >conftest.err
68460   rm -f conftest.er1
68461   cat conftest.err >&5
68462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68463   (exit $ac_status); } &&
68464          { ac_try='test -z "$ac_cxx_werror_flag"
68465                          || test ! -s conftest.err'
68466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68467   (eval $ac_try) 2>&5
68468   ac_status=$?
68469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68470   (exit $ac_status); }; } &&
68471          { ac_try='test -s conftest.$ac_objext'
68472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68473   (eval $ac_try) 2>&5
68474   ac_status=$?
68475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68476   (exit $ac_status); }; }; then
68477   glibcxx_cv_func_isnanf_use=yes
68478 else
68479   echo "$as_me: failed program was:" >&5
68480 sed 's/^/| /' conftest.$ac_ext >&5
68481
68482 glibcxx_cv_func_isnanf_use=no
68483 fi
68484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68485       ac_ext=c
68486 ac_cpp='$CPP $CPPFLAGS'
68487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68490
68491
68492 fi
68493
68494   fi
68495   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
68496 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
68497
68498   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68499
68500 for ac_func in isnanf
68501 do
68502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68503 echo "$as_me:$LINENO: checking for $ac_func" >&5
68504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68505 if eval "test \"\${$as_ac_var+set}\" = set"; then
68506   echo $ECHO_N "(cached) $ECHO_C" >&6
68507 else
68508   if test x$gcc_no_link = xyes; then
68509   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68511    { (exit 1); exit 1; }; }
68512 fi
68513 cat >conftest.$ac_ext <<_ACEOF
68514 /* confdefs.h.  */
68515 _ACEOF
68516 cat confdefs.h >>conftest.$ac_ext
68517 cat >>conftest.$ac_ext <<_ACEOF
68518 /* end confdefs.h.  */
68519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68520    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68521 #define $ac_func innocuous_$ac_func
68522
68523 /* System header to define __stub macros and hopefully few prototypes,
68524     which can conflict with char $ac_func (); below.
68525     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68526     <limits.h> exists even on freestanding compilers.  */
68527
68528 #ifdef __STDC__
68529 # include <limits.h>
68530 #else
68531 # include <assert.h>
68532 #endif
68533
68534 #undef $ac_func
68535
68536 /* Override any gcc2 internal prototype to avoid an error.  */
68537 #ifdef __cplusplus
68538 extern "C"
68539 {
68540 #endif
68541 /* We use char because int might match the return type of a gcc2
68542    builtin and then its argument prototype would still apply.  */
68543 char $ac_func ();
68544 /* The GNU C library defines this for functions which it implements
68545     to always fail with ENOSYS.  Some functions are actually named
68546     something starting with __ and the normal name is an alias.  */
68547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68548 choke me
68549 #else
68550 char (*f) () = $ac_func;
68551 #endif
68552 #ifdef __cplusplus
68553 }
68554 #endif
68555
68556 int
68557 main ()
68558 {
68559 return f != $ac_func;
68560   ;
68561   return 0;
68562 }
68563 _ACEOF
68564 rm -f conftest.$ac_objext conftest$ac_exeext
68565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68566   (eval $ac_link) 2>conftest.er1
68567   ac_status=$?
68568   grep -v '^ *+' conftest.er1 >conftest.err
68569   rm -f conftest.er1
68570   cat conftest.err >&5
68571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68572   (exit $ac_status); } &&
68573          { ac_try='test -z "$ac_c_werror_flag"
68574                          || test ! -s conftest.err'
68575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68576   (eval $ac_try) 2>&5
68577   ac_status=$?
68578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68579   (exit $ac_status); }; } &&
68580          { ac_try='test -s conftest$ac_exeext'
68581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68582   (eval $ac_try) 2>&5
68583   ac_status=$?
68584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68585   (exit $ac_status); }; }; then
68586   eval "$as_ac_var=yes"
68587 else
68588   echo "$as_me: failed program was:" >&5
68589 sed 's/^/| /' conftest.$ac_ext >&5
68590
68591 eval "$as_ac_var=no"
68592 fi
68593 rm -f conftest.err conftest.$ac_objext \
68594       conftest$ac_exeext conftest.$ac_ext
68595 fi
68596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68598 if test `eval echo '${'$as_ac_var'}'` = yes; then
68599   cat >>confdefs.h <<_ACEOF
68600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68601 _ACEOF
68602
68603 fi
68604 done
68605
68606   else
68607
68608   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
68609 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
68610   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68611     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
68612   echo $ECHO_N "(cached) $ECHO_C" >&6
68613 else
68614
68615
68616
68617       ac_ext=cc
68618 ac_cpp='$CXXCPP $CPPFLAGS'
68619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68622
68623       cat >conftest.$ac_ext <<_ACEOF
68624 /* confdefs.h.  */
68625 _ACEOF
68626 cat confdefs.h >>conftest.$ac_ext
68627 cat >>conftest.$ac_ext <<_ACEOF
68628 /* end confdefs.h.  */
68629 #include <math.h>
68630                       #ifdef HAVE_IEEEFP_H
68631                       #include <ieeefp.h>
68632                       #endif
68633
68634 int
68635 main ()
68636 {
68637  _isnanf(0);
68638   ;
68639   return 0;
68640 }
68641 _ACEOF
68642 rm -f conftest.$ac_objext
68643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68644   (eval $ac_compile) 2>conftest.er1
68645   ac_status=$?
68646   grep -v '^ *+' conftest.er1 >conftest.err
68647   rm -f conftest.er1
68648   cat conftest.err >&5
68649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68650   (exit $ac_status); } &&
68651          { ac_try='test -z "$ac_cxx_werror_flag"
68652                          || test ! -s conftest.err'
68653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68654   (eval $ac_try) 2>&5
68655   ac_status=$?
68656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68657   (exit $ac_status); }; } &&
68658          { ac_try='test -s conftest.$ac_objext'
68659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68660   (eval $ac_try) 2>&5
68661   ac_status=$?
68662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68663   (exit $ac_status); }; }; then
68664   glibcxx_cv_func__isnanf_use=yes
68665 else
68666   echo "$as_me: failed program was:" >&5
68667 sed 's/^/| /' conftest.$ac_ext >&5
68668
68669 glibcxx_cv_func__isnanf_use=no
68670 fi
68671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68672       ac_ext=c
68673 ac_cpp='$CPP $CPPFLAGS'
68674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68677
68678
68679 fi
68680
68681   fi
68682   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
68683 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
68684
68685     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68686
68687 for ac_func in _isnanf
68688 do
68689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68690 echo "$as_me:$LINENO: checking for $ac_func" >&5
68691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68692 if eval "test \"\${$as_ac_var+set}\" = set"; then
68693   echo $ECHO_N "(cached) $ECHO_C" >&6
68694 else
68695   if test x$gcc_no_link = xyes; then
68696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68698    { (exit 1); exit 1; }; }
68699 fi
68700 cat >conftest.$ac_ext <<_ACEOF
68701 /* confdefs.h.  */
68702 _ACEOF
68703 cat confdefs.h >>conftest.$ac_ext
68704 cat >>conftest.$ac_ext <<_ACEOF
68705 /* end confdefs.h.  */
68706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68707    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68708 #define $ac_func innocuous_$ac_func
68709
68710 /* System header to define __stub macros and hopefully few prototypes,
68711     which can conflict with char $ac_func (); below.
68712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68713     <limits.h> exists even on freestanding compilers.  */
68714
68715 #ifdef __STDC__
68716 # include <limits.h>
68717 #else
68718 # include <assert.h>
68719 #endif
68720
68721 #undef $ac_func
68722
68723 /* Override any gcc2 internal prototype to avoid an error.  */
68724 #ifdef __cplusplus
68725 extern "C"
68726 {
68727 #endif
68728 /* We use char because int might match the return type of a gcc2
68729    builtin and then its argument prototype would still apply.  */
68730 char $ac_func ();
68731 /* The GNU C library defines this for functions which it implements
68732     to always fail with ENOSYS.  Some functions are actually named
68733     something starting with __ and the normal name is an alias.  */
68734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68735 choke me
68736 #else
68737 char (*f) () = $ac_func;
68738 #endif
68739 #ifdef __cplusplus
68740 }
68741 #endif
68742
68743 int
68744 main ()
68745 {
68746 return f != $ac_func;
68747   ;
68748   return 0;
68749 }
68750 _ACEOF
68751 rm -f conftest.$ac_objext conftest$ac_exeext
68752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68753   (eval $ac_link) 2>conftest.er1
68754   ac_status=$?
68755   grep -v '^ *+' conftest.er1 >conftest.err
68756   rm -f conftest.er1
68757   cat conftest.err >&5
68758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68759   (exit $ac_status); } &&
68760          { ac_try='test -z "$ac_c_werror_flag"
68761                          || test ! -s conftest.err'
68762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68763   (eval $ac_try) 2>&5
68764   ac_status=$?
68765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68766   (exit $ac_status); }; } &&
68767          { ac_try='test -s conftest$ac_exeext'
68768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68769   (eval $ac_try) 2>&5
68770   ac_status=$?
68771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68772   (exit $ac_status); }; }; then
68773   eval "$as_ac_var=yes"
68774 else
68775   echo "$as_me: failed program was:" >&5
68776 sed 's/^/| /' conftest.$ac_ext >&5
68777
68778 eval "$as_ac_var=no"
68779 fi
68780 rm -f conftest.err conftest.$ac_objext \
68781       conftest$ac_exeext conftest.$ac_ext
68782 fi
68783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68785 if test `eval echo '${'$as_ac_var'}'` = yes; then
68786   cat >>confdefs.h <<_ACEOF
68787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68788 _ACEOF
68789
68790 fi
68791 done
68792
68793     fi
68794   fi
68795
68796
68797
68798
68799
68800
68801   echo "$as_me:$LINENO: checking for isinff declaration" >&5
68802 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
68803   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68804     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
68805   echo $ECHO_N "(cached) $ECHO_C" >&6
68806 else
68807
68808
68809
68810       ac_ext=cc
68811 ac_cpp='$CXXCPP $CPPFLAGS'
68812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68815
68816       cat >conftest.$ac_ext <<_ACEOF
68817 /* confdefs.h.  */
68818 _ACEOF
68819 cat confdefs.h >>conftest.$ac_ext
68820 cat >>conftest.$ac_ext <<_ACEOF
68821 /* end confdefs.h.  */
68822 #include <math.h>
68823                       #ifdef HAVE_IEEEFP_H
68824                       #include <ieeefp.h>
68825                       #endif
68826
68827 int
68828 main ()
68829 {
68830  isinff(0);
68831   ;
68832   return 0;
68833 }
68834 _ACEOF
68835 rm -f conftest.$ac_objext
68836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68837   (eval $ac_compile) 2>conftest.er1
68838   ac_status=$?
68839   grep -v '^ *+' conftest.er1 >conftest.err
68840   rm -f conftest.er1
68841   cat conftest.err >&5
68842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68843   (exit $ac_status); } &&
68844          { ac_try='test -z "$ac_cxx_werror_flag"
68845                          || test ! -s conftest.err'
68846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68847   (eval $ac_try) 2>&5
68848   ac_status=$?
68849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68850   (exit $ac_status); }; } &&
68851          { ac_try='test -s conftest.$ac_objext'
68852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68853   (eval $ac_try) 2>&5
68854   ac_status=$?
68855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68856   (exit $ac_status); }; }; then
68857   glibcxx_cv_func_isinff_use=yes
68858 else
68859   echo "$as_me: failed program was:" >&5
68860 sed 's/^/| /' conftest.$ac_ext >&5
68861
68862 glibcxx_cv_func_isinff_use=no
68863 fi
68864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68865       ac_ext=c
68866 ac_cpp='$CPP $CPPFLAGS'
68867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68870
68871
68872 fi
68873
68874   fi
68875   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
68876 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
68877
68878   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68879
68880 for ac_func in isinff
68881 do
68882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68883 echo "$as_me:$LINENO: checking for $ac_func" >&5
68884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68885 if eval "test \"\${$as_ac_var+set}\" = set"; then
68886   echo $ECHO_N "(cached) $ECHO_C" >&6
68887 else
68888   if test x$gcc_no_link = xyes; then
68889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68891    { (exit 1); exit 1; }; }
68892 fi
68893 cat >conftest.$ac_ext <<_ACEOF
68894 /* confdefs.h.  */
68895 _ACEOF
68896 cat confdefs.h >>conftest.$ac_ext
68897 cat >>conftest.$ac_ext <<_ACEOF
68898 /* end confdefs.h.  */
68899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68900    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68901 #define $ac_func innocuous_$ac_func
68902
68903 /* System header to define __stub macros and hopefully few prototypes,
68904     which can conflict with char $ac_func (); below.
68905     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68906     <limits.h> exists even on freestanding compilers.  */
68907
68908 #ifdef __STDC__
68909 # include <limits.h>
68910 #else
68911 # include <assert.h>
68912 #endif
68913
68914 #undef $ac_func
68915
68916 /* Override any gcc2 internal prototype to avoid an error.  */
68917 #ifdef __cplusplus
68918 extern "C"
68919 {
68920 #endif
68921 /* We use char because int might match the return type of a gcc2
68922    builtin and then its argument prototype would still apply.  */
68923 char $ac_func ();
68924 /* The GNU C library defines this for functions which it implements
68925     to always fail with ENOSYS.  Some functions are actually named
68926     something starting with __ and the normal name is an alias.  */
68927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68928 choke me
68929 #else
68930 char (*f) () = $ac_func;
68931 #endif
68932 #ifdef __cplusplus
68933 }
68934 #endif
68935
68936 int
68937 main ()
68938 {
68939 return f != $ac_func;
68940   ;
68941   return 0;
68942 }
68943 _ACEOF
68944 rm -f conftest.$ac_objext conftest$ac_exeext
68945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68946   (eval $ac_link) 2>conftest.er1
68947   ac_status=$?
68948   grep -v '^ *+' conftest.er1 >conftest.err
68949   rm -f conftest.er1
68950   cat conftest.err >&5
68951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68952   (exit $ac_status); } &&
68953          { ac_try='test -z "$ac_c_werror_flag"
68954                          || test ! -s conftest.err'
68955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68956   (eval $ac_try) 2>&5
68957   ac_status=$?
68958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68959   (exit $ac_status); }; } &&
68960          { ac_try='test -s conftest$ac_exeext'
68961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68962   (eval $ac_try) 2>&5
68963   ac_status=$?
68964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68965   (exit $ac_status); }; }; then
68966   eval "$as_ac_var=yes"
68967 else
68968   echo "$as_me: failed program was:" >&5
68969 sed 's/^/| /' conftest.$ac_ext >&5
68970
68971 eval "$as_ac_var=no"
68972 fi
68973 rm -f conftest.err conftest.$ac_objext \
68974       conftest$ac_exeext conftest.$ac_ext
68975 fi
68976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68978 if test `eval echo '${'$as_ac_var'}'` = yes; then
68979   cat >>confdefs.h <<_ACEOF
68980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68981 _ACEOF
68982
68983 fi
68984 done
68985
68986   else
68987
68988   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
68989 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
68990   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68991     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
68992   echo $ECHO_N "(cached) $ECHO_C" >&6
68993 else
68994
68995
68996
68997       ac_ext=cc
68998 ac_cpp='$CXXCPP $CPPFLAGS'
68999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69002
69003       cat >conftest.$ac_ext <<_ACEOF
69004 /* confdefs.h.  */
69005 _ACEOF
69006 cat confdefs.h >>conftest.$ac_ext
69007 cat >>conftest.$ac_ext <<_ACEOF
69008 /* end confdefs.h.  */
69009 #include <math.h>
69010                       #ifdef HAVE_IEEEFP_H
69011                       #include <ieeefp.h>
69012                       #endif
69013
69014 int
69015 main ()
69016 {
69017  _isinff(0);
69018   ;
69019   return 0;
69020 }
69021 _ACEOF
69022 rm -f conftest.$ac_objext
69023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69024   (eval $ac_compile) 2>conftest.er1
69025   ac_status=$?
69026   grep -v '^ *+' conftest.er1 >conftest.err
69027   rm -f conftest.er1
69028   cat conftest.err >&5
69029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69030   (exit $ac_status); } &&
69031          { ac_try='test -z "$ac_cxx_werror_flag"
69032                          || test ! -s conftest.err'
69033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69034   (eval $ac_try) 2>&5
69035   ac_status=$?
69036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69037   (exit $ac_status); }; } &&
69038          { ac_try='test -s conftest.$ac_objext'
69039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69040   (eval $ac_try) 2>&5
69041   ac_status=$?
69042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69043   (exit $ac_status); }; }; then
69044   glibcxx_cv_func__isinff_use=yes
69045 else
69046   echo "$as_me: failed program was:" >&5
69047 sed 's/^/| /' conftest.$ac_ext >&5
69048
69049 glibcxx_cv_func__isinff_use=no
69050 fi
69051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69052       ac_ext=c
69053 ac_cpp='$CPP $CPPFLAGS'
69054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69057
69058
69059 fi
69060
69061   fi
69062   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
69063 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
69064
69065     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
69066
69067 for ac_func in _isinff
69068 do
69069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69070 echo "$as_me:$LINENO: checking for $ac_func" >&5
69071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69072 if eval "test \"\${$as_ac_var+set}\" = set"; then
69073   echo $ECHO_N "(cached) $ECHO_C" >&6
69074 else
69075   if test x$gcc_no_link = xyes; then
69076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69078    { (exit 1); exit 1; }; }
69079 fi
69080 cat >conftest.$ac_ext <<_ACEOF
69081 /* confdefs.h.  */
69082 _ACEOF
69083 cat confdefs.h >>conftest.$ac_ext
69084 cat >>conftest.$ac_ext <<_ACEOF
69085 /* end confdefs.h.  */
69086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69087    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69088 #define $ac_func innocuous_$ac_func
69089
69090 /* System header to define __stub macros and hopefully few prototypes,
69091     which can conflict with char $ac_func (); below.
69092     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69093     <limits.h> exists even on freestanding compilers.  */
69094
69095 #ifdef __STDC__
69096 # include <limits.h>
69097 #else
69098 # include <assert.h>
69099 #endif
69100
69101 #undef $ac_func
69102
69103 /* Override any gcc2 internal prototype to avoid an error.  */
69104 #ifdef __cplusplus
69105 extern "C"
69106 {
69107 #endif
69108 /* We use char because int might match the return type of a gcc2
69109    builtin and then its argument prototype would still apply.  */
69110 char $ac_func ();
69111 /* The GNU C library defines this for functions which it implements
69112     to always fail with ENOSYS.  Some functions are actually named
69113     something starting with __ and the normal name is an alias.  */
69114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69115 choke me
69116 #else
69117 char (*f) () = $ac_func;
69118 #endif
69119 #ifdef __cplusplus
69120 }
69121 #endif
69122
69123 int
69124 main ()
69125 {
69126 return f != $ac_func;
69127   ;
69128   return 0;
69129 }
69130 _ACEOF
69131 rm -f conftest.$ac_objext conftest$ac_exeext
69132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69133   (eval $ac_link) 2>conftest.er1
69134   ac_status=$?
69135   grep -v '^ *+' conftest.er1 >conftest.err
69136   rm -f conftest.er1
69137   cat conftest.err >&5
69138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69139   (exit $ac_status); } &&
69140          { ac_try='test -z "$ac_c_werror_flag"
69141                          || test ! -s conftest.err'
69142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69143   (eval $ac_try) 2>&5
69144   ac_status=$?
69145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69146   (exit $ac_status); }; } &&
69147          { ac_try='test -s conftest$ac_exeext'
69148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69149   (eval $ac_try) 2>&5
69150   ac_status=$?
69151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69152   (exit $ac_status); }; }; then
69153   eval "$as_ac_var=yes"
69154 else
69155   echo "$as_me: failed program was:" >&5
69156 sed 's/^/| /' conftest.$ac_ext >&5
69157
69158 eval "$as_ac_var=no"
69159 fi
69160 rm -f conftest.err conftest.$ac_objext \
69161       conftest$ac_exeext conftest.$ac_ext
69162 fi
69163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69165 if test `eval echo '${'$as_ac_var'}'` = yes; then
69166   cat >>confdefs.h <<_ACEOF
69167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69168 _ACEOF
69169
69170 fi
69171 done
69172
69173     fi
69174   fi
69175
69176
69177
69178
69179
69180
69181   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
69182 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
69183   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
69184     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
69185   echo $ECHO_N "(cached) $ECHO_C" >&6
69186 else
69187
69188
69189
69190       ac_ext=cc
69191 ac_cpp='$CXXCPP $CPPFLAGS'
69192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69195
69196       cat >conftest.$ac_ext <<_ACEOF
69197 /* confdefs.h.  */
69198 _ACEOF
69199 cat confdefs.h >>conftest.$ac_ext
69200 cat >>conftest.$ac_ext <<_ACEOF
69201 /* end confdefs.h.  */
69202 #include <math.h>
69203 int
69204 main ()
69205 {
69206  atan2f(0, 0);
69207   ;
69208   return 0;
69209 }
69210 _ACEOF
69211 rm -f conftest.$ac_objext
69212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69213   (eval $ac_compile) 2>conftest.er1
69214   ac_status=$?
69215   grep -v '^ *+' conftest.er1 >conftest.err
69216   rm -f conftest.er1
69217   cat conftest.err >&5
69218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69219   (exit $ac_status); } &&
69220          { ac_try='test -z "$ac_cxx_werror_flag"
69221                          || test ! -s conftest.err'
69222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69223   (eval $ac_try) 2>&5
69224   ac_status=$?
69225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69226   (exit $ac_status); }; } &&
69227          { ac_try='test -s conftest.$ac_objext'
69228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69229   (eval $ac_try) 2>&5
69230   ac_status=$?
69231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69232   (exit $ac_status); }; }; then
69233   glibcxx_cv_func_atan2f_use=yes
69234 else
69235   echo "$as_me: failed program was:" >&5
69236 sed 's/^/| /' conftest.$ac_ext >&5
69237
69238 glibcxx_cv_func_atan2f_use=no
69239 fi
69240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69241       ac_ext=c
69242 ac_cpp='$CPP $CPPFLAGS'
69243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69246
69247
69248 fi
69249
69250   fi
69251   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
69252 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
69253
69254   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
69255
69256 for ac_func in atan2f
69257 do
69258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69259 echo "$as_me:$LINENO: checking for $ac_func" >&5
69260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69261 if eval "test \"\${$as_ac_var+set}\" = set"; then
69262   echo $ECHO_N "(cached) $ECHO_C" >&6
69263 else
69264   if test x$gcc_no_link = xyes; then
69265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69267    { (exit 1); exit 1; }; }
69268 fi
69269 cat >conftest.$ac_ext <<_ACEOF
69270 /* confdefs.h.  */
69271 _ACEOF
69272 cat confdefs.h >>conftest.$ac_ext
69273 cat >>conftest.$ac_ext <<_ACEOF
69274 /* end confdefs.h.  */
69275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69276    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69277 #define $ac_func innocuous_$ac_func
69278
69279 /* System header to define __stub macros and hopefully few prototypes,
69280     which can conflict with char $ac_func (); below.
69281     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69282     <limits.h> exists even on freestanding compilers.  */
69283
69284 #ifdef __STDC__
69285 # include <limits.h>
69286 #else
69287 # include <assert.h>
69288 #endif
69289
69290 #undef $ac_func
69291
69292 /* Override any gcc2 internal prototype to avoid an error.  */
69293 #ifdef __cplusplus
69294 extern "C"
69295 {
69296 #endif
69297 /* We use char because int might match the return type of a gcc2
69298    builtin and then its argument prototype would still apply.  */
69299 char $ac_func ();
69300 /* The GNU C library defines this for functions which it implements
69301     to always fail with ENOSYS.  Some functions are actually named
69302     something starting with __ and the normal name is an alias.  */
69303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69304 choke me
69305 #else
69306 char (*f) () = $ac_func;
69307 #endif
69308 #ifdef __cplusplus
69309 }
69310 #endif
69311
69312 int
69313 main ()
69314 {
69315 return f != $ac_func;
69316   ;
69317   return 0;
69318 }
69319 _ACEOF
69320 rm -f conftest.$ac_objext conftest$ac_exeext
69321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69322   (eval $ac_link) 2>conftest.er1
69323   ac_status=$?
69324   grep -v '^ *+' conftest.er1 >conftest.err
69325   rm -f conftest.er1
69326   cat conftest.err >&5
69327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69328   (exit $ac_status); } &&
69329          { ac_try='test -z "$ac_c_werror_flag"
69330                          || test ! -s conftest.err'
69331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69332   (eval $ac_try) 2>&5
69333   ac_status=$?
69334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69335   (exit $ac_status); }; } &&
69336          { ac_try='test -s conftest$ac_exeext'
69337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69338   (eval $ac_try) 2>&5
69339   ac_status=$?
69340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69341   (exit $ac_status); }; }; then
69342   eval "$as_ac_var=yes"
69343 else
69344   echo "$as_me: failed program was:" >&5
69345 sed 's/^/| /' conftest.$ac_ext >&5
69346
69347 eval "$as_ac_var=no"
69348 fi
69349 rm -f conftest.err conftest.$ac_objext \
69350       conftest$ac_exeext conftest.$ac_ext
69351 fi
69352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69354 if test `eval echo '${'$as_ac_var'}'` = yes; then
69355   cat >>confdefs.h <<_ACEOF
69356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69357 _ACEOF
69358
69359 fi
69360 done
69361
69362   else
69363
69364   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
69365 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
69366   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
69367     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
69368   echo $ECHO_N "(cached) $ECHO_C" >&6
69369 else
69370
69371
69372
69373       ac_ext=cc
69374 ac_cpp='$CXXCPP $CPPFLAGS'
69375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69378
69379       cat >conftest.$ac_ext <<_ACEOF
69380 /* confdefs.h.  */
69381 _ACEOF
69382 cat confdefs.h >>conftest.$ac_ext
69383 cat >>conftest.$ac_ext <<_ACEOF
69384 /* end confdefs.h.  */
69385 #include <math.h>
69386 int
69387 main ()
69388 {
69389  _atan2f(0, 0);
69390   ;
69391   return 0;
69392 }
69393 _ACEOF
69394 rm -f conftest.$ac_objext
69395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69396   (eval $ac_compile) 2>conftest.er1
69397   ac_status=$?
69398   grep -v '^ *+' conftest.er1 >conftest.err
69399   rm -f conftest.er1
69400   cat conftest.err >&5
69401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69402   (exit $ac_status); } &&
69403          { ac_try='test -z "$ac_cxx_werror_flag"
69404                          || test ! -s conftest.err'
69405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69406   (eval $ac_try) 2>&5
69407   ac_status=$?
69408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69409   (exit $ac_status); }; } &&
69410          { ac_try='test -s conftest.$ac_objext'
69411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69412   (eval $ac_try) 2>&5
69413   ac_status=$?
69414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69415   (exit $ac_status); }; }; then
69416   glibcxx_cv_func__atan2f_use=yes
69417 else
69418   echo "$as_me: failed program was:" >&5
69419 sed 's/^/| /' conftest.$ac_ext >&5
69420
69421 glibcxx_cv_func__atan2f_use=no
69422 fi
69423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69424       ac_ext=c
69425 ac_cpp='$CPP $CPPFLAGS'
69426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69429
69430
69431 fi
69432
69433   fi
69434   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
69435 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
69436
69437     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
69438
69439 for ac_func in _atan2f
69440 do
69441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69442 echo "$as_me:$LINENO: checking for $ac_func" >&5
69443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69444 if eval "test \"\${$as_ac_var+set}\" = set"; then
69445   echo $ECHO_N "(cached) $ECHO_C" >&6
69446 else
69447   if test x$gcc_no_link = xyes; then
69448   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69450    { (exit 1); exit 1; }; }
69451 fi
69452 cat >conftest.$ac_ext <<_ACEOF
69453 /* confdefs.h.  */
69454 _ACEOF
69455 cat confdefs.h >>conftest.$ac_ext
69456 cat >>conftest.$ac_ext <<_ACEOF
69457 /* end confdefs.h.  */
69458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69459    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69460 #define $ac_func innocuous_$ac_func
69461
69462 /* System header to define __stub macros and hopefully few prototypes,
69463     which can conflict with char $ac_func (); below.
69464     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69465     <limits.h> exists even on freestanding compilers.  */
69466
69467 #ifdef __STDC__
69468 # include <limits.h>
69469 #else
69470 # include <assert.h>
69471 #endif
69472
69473 #undef $ac_func
69474
69475 /* Override any gcc2 internal prototype to avoid an error.  */
69476 #ifdef __cplusplus
69477 extern "C"
69478 {
69479 #endif
69480 /* We use char because int might match the return type of a gcc2
69481    builtin and then its argument prototype would still apply.  */
69482 char $ac_func ();
69483 /* The GNU C library defines this for functions which it implements
69484     to always fail with ENOSYS.  Some functions are actually named
69485     something starting with __ and the normal name is an alias.  */
69486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69487 choke me
69488 #else
69489 char (*f) () = $ac_func;
69490 #endif
69491 #ifdef __cplusplus
69492 }
69493 #endif
69494
69495 int
69496 main ()
69497 {
69498 return f != $ac_func;
69499   ;
69500   return 0;
69501 }
69502 _ACEOF
69503 rm -f conftest.$ac_objext conftest$ac_exeext
69504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69505   (eval $ac_link) 2>conftest.er1
69506   ac_status=$?
69507   grep -v '^ *+' conftest.er1 >conftest.err
69508   rm -f conftest.er1
69509   cat conftest.err >&5
69510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69511   (exit $ac_status); } &&
69512          { ac_try='test -z "$ac_c_werror_flag"
69513                          || test ! -s conftest.err'
69514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69515   (eval $ac_try) 2>&5
69516   ac_status=$?
69517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69518   (exit $ac_status); }; } &&
69519          { ac_try='test -s conftest$ac_exeext'
69520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69521   (eval $ac_try) 2>&5
69522   ac_status=$?
69523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69524   (exit $ac_status); }; }; then
69525   eval "$as_ac_var=yes"
69526 else
69527   echo "$as_me: failed program was:" >&5
69528 sed 's/^/| /' conftest.$ac_ext >&5
69529
69530 eval "$as_ac_var=no"
69531 fi
69532 rm -f conftest.err conftest.$ac_objext \
69533       conftest$ac_exeext conftest.$ac_ext
69534 fi
69535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69537 if test `eval echo '${'$as_ac_var'}'` = yes; then
69538   cat >>confdefs.h <<_ACEOF
69539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69540 _ACEOF
69541
69542 fi
69543 done
69544
69545     fi
69546   fi
69547
69548
69549
69550
69551
69552
69553   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
69554 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
69555   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
69556     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
69557   echo $ECHO_N "(cached) $ECHO_C" >&6
69558 else
69559
69560
69561
69562       ac_ext=cc
69563 ac_cpp='$CXXCPP $CPPFLAGS'
69564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69567
69568       cat >conftest.$ac_ext <<_ACEOF
69569 /* confdefs.h.  */
69570 _ACEOF
69571 cat confdefs.h >>conftest.$ac_ext
69572 cat >>conftest.$ac_ext <<_ACEOF
69573 /* end confdefs.h.  */
69574 #include <math.h>
69575                       #ifdef HAVE_IEEEFP_H
69576                       #include <ieeefp.h>
69577                       #endif
69578
69579 int
69580 main ()
69581 {
69582  fabsf(0);
69583   ;
69584   return 0;
69585 }
69586 _ACEOF
69587 rm -f conftest.$ac_objext
69588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69589   (eval $ac_compile) 2>conftest.er1
69590   ac_status=$?
69591   grep -v '^ *+' conftest.er1 >conftest.err
69592   rm -f conftest.er1
69593   cat conftest.err >&5
69594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69595   (exit $ac_status); } &&
69596          { ac_try='test -z "$ac_cxx_werror_flag"
69597                          || test ! -s conftest.err'
69598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69599   (eval $ac_try) 2>&5
69600   ac_status=$?
69601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69602   (exit $ac_status); }; } &&
69603          { ac_try='test -s conftest.$ac_objext'
69604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69605   (eval $ac_try) 2>&5
69606   ac_status=$?
69607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69608   (exit $ac_status); }; }; then
69609   glibcxx_cv_func_fabsf_use=yes
69610 else
69611   echo "$as_me: failed program was:" >&5
69612 sed 's/^/| /' conftest.$ac_ext >&5
69613
69614 glibcxx_cv_func_fabsf_use=no
69615 fi
69616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69617       ac_ext=c
69618 ac_cpp='$CPP $CPPFLAGS'
69619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69622
69623
69624 fi
69625
69626   fi
69627   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
69628 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
69629
69630   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
69631
69632 for ac_func in fabsf
69633 do
69634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69635 echo "$as_me:$LINENO: checking for $ac_func" >&5
69636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69637 if eval "test \"\${$as_ac_var+set}\" = set"; then
69638   echo $ECHO_N "(cached) $ECHO_C" >&6
69639 else
69640   if test x$gcc_no_link = xyes; then
69641   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69643    { (exit 1); exit 1; }; }
69644 fi
69645 cat >conftest.$ac_ext <<_ACEOF
69646 /* confdefs.h.  */
69647 _ACEOF
69648 cat confdefs.h >>conftest.$ac_ext
69649 cat >>conftest.$ac_ext <<_ACEOF
69650 /* end confdefs.h.  */
69651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69652    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69653 #define $ac_func innocuous_$ac_func
69654
69655 /* System header to define __stub macros and hopefully few prototypes,
69656     which can conflict with char $ac_func (); below.
69657     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69658     <limits.h> exists even on freestanding compilers.  */
69659
69660 #ifdef __STDC__
69661 # include <limits.h>
69662 #else
69663 # include <assert.h>
69664 #endif
69665
69666 #undef $ac_func
69667
69668 /* Override any gcc2 internal prototype to avoid an error.  */
69669 #ifdef __cplusplus
69670 extern "C"
69671 {
69672 #endif
69673 /* We use char because int might match the return type of a gcc2
69674    builtin and then its argument prototype would still apply.  */
69675 char $ac_func ();
69676 /* The GNU C library defines this for functions which it implements
69677     to always fail with ENOSYS.  Some functions are actually named
69678     something starting with __ and the normal name is an alias.  */
69679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69680 choke me
69681 #else
69682 char (*f) () = $ac_func;
69683 #endif
69684 #ifdef __cplusplus
69685 }
69686 #endif
69687
69688 int
69689 main ()
69690 {
69691 return f != $ac_func;
69692   ;
69693   return 0;
69694 }
69695 _ACEOF
69696 rm -f conftest.$ac_objext conftest$ac_exeext
69697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69698   (eval $ac_link) 2>conftest.er1
69699   ac_status=$?
69700   grep -v '^ *+' conftest.er1 >conftest.err
69701   rm -f conftest.er1
69702   cat conftest.err >&5
69703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69704   (exit $ac_status); } &&
69705          { ac_try='test -z "$ac_c_werror_flag"
69706                          || test ! -s conftest.err'
69707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69708   (eval $ac_try) 2>&5
69709   ac_status=$?
69710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69711   (exit $ac_status); }; } &&
69712          { ac_try='test -s conftest$ac_exeext'
69713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69714   (eval $ac_try) 2>&5
69715   ac_status=$?
69716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69717   (exit $ac_status); }; }; then
69718   eval "$as_ac_var=yes"
69719 else
69720   echo "$as_me: failed program was:" >&5
69721 sed 's/^/| /' conftest.$ac_ext >&5
69722
69723 eval "$as_ac_var=no"
69724 fi
69725 rm -f conftest.err conftest.$ac_objext \
69726       conftest$ac_exeext conftest.$ac_ext
69727 fi
69728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69730 if test `eval echo '${'$as_ac_var'}'` = yes; then
69731   cat >>confdefs.h <<_ACEOF
69732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69733 _ACEOF
69734
69735 fi
69736 done
69737
69738   else
69739
69740   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
69741 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
69742   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
69743     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
69744   echo $ECHO_N "(cached) $ECHO_C" >&6
69745 else
69746
69747
69748
69749       ac_ext=cc
69750 ac_cpp='$CXXCPP $CPPFLAGS'
69751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69754
69755       cat >conftest.$ac_ext <<_ACEOF
69756 /* confdefs.h.  */
69757 _ACEOF
69758 cat confdefs.h >>conftest.$ac_ext
69759 cat >>conftest.$ac_ext <<_ACEOF
69760 /* end confdefs.h.  */
69761 #include <math.h>
69762                       #ifdef HAVE_IEEEFP_H
69763                       #include <ieeefp.h>
69764                       #endif
69765
69766 int
69767 main ()
69768 {
69769  _fabsf(0);
69770   ;
69771   return 0;
69772 }
69773 _ACEOF
69774 rm -f conftest.$ac_objext
69775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69776   (eval $ac_compile) 2>conftest.er1
69777   ac_status=$?
69778   grep -v '^ *+' conftest.er1 >conftest.err
69779   rm -f conftest.er1
69780   cat conftest.err >&5
69781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69782   (exit $ac_status); } &&
69783          { ac_try='test -z "$ac_cxx_werror_flag"
69784                          || test ! -s conftest.err'
69785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69786   (eval $ac_try) 2>&5
69787   ac_status=$?
69788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69789   (exit $ac_status); }; } &&
69790          { ac_try='test -s conftest.$ac_objext'
69791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69792   (eval $ac_try) 2>&5
69793   ac_status=$?
69794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69795   (exit $ac_status); }; }; then
69796   glibcxx_cv_func__fabsf_use=yes
69797 else
69798   echo "$as_me: failed program was:" >&5
69799 sed 's/^/| /' conftest.$ac_ext >&5
69800
69801 glibcxx_cv_func__fabsf_use=no
69802 fi
69803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69804       ac_ext=c
69805 ac_cpp='$CPP $CPPFLAGS'
69806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69809
69810
69811 fi
69812
69813   fi
69814   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
69815 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
69816
69817     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
69818
69819 for ac_func in _fabsf
69820 do
69821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69822 echo "$as_me:$LINENO: checking for $ac_func" >&5
69823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69824 if eval "test \"\${$as_ac_var+set}\" = set"; then
69825   echo $ECHO_N "(cached) $ECHO_C" >&6
69826 else
69827   if test x$gcc_no_link = xyes; then
69828   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69830    { (exit 1); exit 1; }; }
69831 fi
69832 cat >conftest.$ac_ext <<_ACEOF
69833 /* confdefs.h.  */
69834 _ACEOF
69835 cat confdefs.h >>conftest.$ac_ext
69836 cat >>conftest.$ac_ext <<_ACEOF
69837 /* end confdefs.h.  */
69838 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69839    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69840 #define $ac_func innocuous_$ac_func
69841
69842 /* System header to define __stub macros and hopefully few prototypes,
69843     which can conflict with char $ac_func (); below.
69844     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69845     <limits.h> exists even on freestanding compilers.  */
69846
69847 #ifdef __STDC__
69848 # include <limits.h>
69849 #else
69850 # include <assert.h>
69851 #endif
69852
69853 #undef $ac_func
69854
69855 /* Override any gcc2 internal prototype to avoid an error.  */
69856 #ifdef __cplusplus
69857 extern "C"
69858 {
69859 #endif
69860 /* We use char because int might match the return type of a gcc2
69861    builtin and then its argument prototype would still apply.  */
69862 char $ac_func ();
69863 /* The GNU C library defines this for functions which it implements
69864     to always fail with ENOSYS.  Some functions are actually named
69865     something starting with __ and the normal name is an alias.  */
69866 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69867 choke me
69868 #else
69869 char (*f) () = $ac_func;
69870 #endif
69871 #ifdef __cplusplus
69872 }
69873 #endif
69874
69875 int
69876 main ()
69877 {
69878 return f != $ac_func;
69879   ;
69880   return 0;
69881 }
69882 _ACEOF
69883 rm -f conftest.$ac_objext conftest$ac_exeext
69884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69885   (eval $ac_link) 2>conftest.er1
69886   ac_status=$?
69887   grep -v '^ *+' conftest.er1 >conftest.err
69888   rm -f conftest.er1
69889   cat conftest.err >&5
69890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69891   (exit $ac_status); } &&
69892          { ac_try='test -z "$ac_c_werror_flag"
69893                          || test ! -s conftest.err'
69894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69895   (eval $ac_try) 2>&5
69896   ac_status=$?
69897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69898   (exit $ac_status); }; } &&
69899          { ac_try='test -s conftest$ac_exeext'
69900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69901   (eval $ac_try) 2>&5
69902   ac_status=$?
69903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69904   (exit $ac_status); }; }; then
69905   eval "$as_ac_var=yes"
69906 else
69907   echo "$as_me: failed program was:" >&5
69908 sed 's/^/| /' conftest.$ac_ext >&5
69909
69910 eval "$as_ac_var=no"
69911 fi
69912 rm -f conftest.err conftest.$ac_objext \
69913       conftest$ac_exeext conftest.$ac_ext
69914 fi
69915 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69916 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69917 if test `eval echo '${'$as_ac_var'}'` = yes; then
69918   cat >>confdefs.h <<_ACEOF
69919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69920 _ACEOF
69921
69922 fi
69923 done
69924
69925     fi
69926   fi
69927
69928
69929
69930
69931
69932
69933   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
69934 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
69935   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
69936     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
69937   echo $ECHO_N "(cached) $ECHO_C" >&6
69938 else
69939
69940
69941
69942       ac_ext=cc
69943 ac_cpp='$CXXCPP $CPPFLAGS'
69944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69947
69948       cat >conftest.$ac_ext <<_ACEOF
69949 /* confdefs.h.  */
69950 _ACEOF
69951 cat confdefs.h >>conftest.$ac_ext
69952 cat >>conftest.$ac_ext <<_ACEOF
69953 /* end confdefs.h.  */
69954 #include <math.h>
69955 int
69956 main ()
69957 {
69958  fmodf(0, 0);
69959   ;
69960   return 0;
69961 }
69962 _ACEOF
69963 rm -f conftest.$ac_objext
69964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69965   (eval $ac_compile) 2>conftest.er1
69966   ac_status=$?
69967   grep -v '^ *+' conftest.er1 >conftest.err
69968   rm -f conftest.er1
69969   cat conftest.err >&5
69970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69971   (exit $ac_status); } &&
69972          { ac_try='test -z "$ac_cxx_werror_flag"
69973                          || test ! -s conftest.err'
69974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69975   (eval $ac_try) 2>&5
69976   ac_status=$?
69977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69978   (exit $ac_status); }; } &&
69979          { ac_try='test -s conftest.$ac_objext'
69980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69981   (eval $ac_try) 2>&5
69982   ac_status=$?
69983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69984   (exit $ac_status); }; }; then
69985   glibcxx_cv_func_fmodf_use=yes
69986 else
69987   echo "$as_me: failed program was:" >&5
69988 sed 's/^/| /' conftest.$ac_ext >&5
69989
69990 glibcxx_cv_func_fmodf_use=no
69991 fi
69992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69993       ac_ext=c
69994 ac_cpp='$CPP $CPPFLAGS'
69995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69998
69999
70000 fi
70001
70002   fi
70003   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
70004 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
70005
70006   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
70007
70008 for ac_func in fmodf
70009 do
70010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70011 echo "$as_me:$LINENO: checking for $ac_func" >&5
70012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70013 if eval "test \"\${$as_ac_var+set}\" = set"; then
70014   echo $ECHO_N "(cached) $ECHO_C" >&6
70015 else
70016   if test x$gcc_no_link = xyes; then
70017   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70019    { (exit 1); exit 1; }; }
70020 fi
70021 cat >conftest.$ac_ext <<_ACEOF
70022 /* confdefs.h.  */
70023 _ACEOF
70024 cat confdefs.h >>conftest.$ac_ext
70025 cat >>conftest.$ac_ext <<_ACEOF
70026 /* end confdefs.h.  */
70027 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70028    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70029 #define $ac_func innocuous_$ac_func
70030
70031 /* System header to define __stub macros and hopefully few prototypes,
70032     which can conflict with char $ac_func (); below.
70033     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70034     <limits.h> exists even on freestanding compilers.  */
70035
70036 #ifdef __STDC__
70037 # include <limits.h>
70038 #else
70039 # include <assert.h>
70040 #endif
70041
70042 #undef $ac_func
70043
70044 /* Override any gcc2 internal prototype to avoid an error.  */
70045 #ifdef __cplusplus
70046 extern "C"
70047 {
70048 #endif
70049 /* We use char because int might match the return type of a gcc2
70050    builtin and then its argument prototype would still apply.  */
70051 char $ac_func ();
70052 /* The GNU C library defines this for functions which it implements
70053     to always fail with ENOSYS.  Some functions are actually named
70054     something starting with __ and the normal name is an alias.  */
70055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70056 choke me
70057 #else
70058 char (*f) () = $ac_func;
70059 #endif
70060 #ifdef __cplusplus
70061 }
70062 #endif
70063
70064 int
70065 main ()
70066 {
70067 return f != $ac_func;
70068   ;
70069   return 0;
70070 }
70071 _ACEOF
70072 rm -f conftest.$ac_objext conftest$ac_exeext
70073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70074   (eval $ac_link) 2>conftest.er1
70075   ac_status=$?
70076   grep -v '^ *+' conftest.er1 >conftest.err
70077   rm -f conftest.er1
70078   cat conftest.err >&5
70079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70080   (exit $ac_status); } &&
70081          { ac_try='test -z "$ac_c_werror_flag"
70082                          || test ! -s conftest.err'
70083   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70084   (eval $ac_try) 2>&5
70085   ac_status=$?
70086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70087   (exit $ac_status); }; } &&
70088          { ac_try='test -s conftest$ac_exeext'
70089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70090   (eval $ac_try) 2>&5
70091   ac_status=$?
70092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70093   (exit $ac_status); }; }; then
70094   eval "$as_ac_var=yes"
70095 else
70096   echo "$as_me: failed program was:" >&5
70097 sed 's/^/| /' conftest.$ac_ext >&5
70098
70099 eval "$as_ac_var=no"
70100 fi
70101 rm -f conftest.err conftest.$ac_objext \
70102       conftest$ac_exeext conftest.$ac_ext
70103 fi
70104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70105 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70106 if test `eval echo '${'$as_ac_var'}'` = yes; then
70107   cat >>confdefs.h <<_ACEOF
70108 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70109 _ACEOF
70110
70111 fi
70112 done
70113
70114   else
70115
70116   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
70117 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
70118   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
70119     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
70120   echo $ECHO_N "(cached) $ECHO_C" >&6
70121 else
70122
70123
70124
70125       ac_ext=cc
70126 ac_cpp='$CXXCPP $CPPFLAGS'
70127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70130
70131       cat >conftest.$ac_ext <<_ACEOF
70132 /* confdefs.h.  */
70133 _ACEOF
70134 cat confdefs.h >>conftest.$ac_ext
70135 cat >>conftest.$ac_ext <<_ACEOF
70136 /* end confdefs.h.  */
70137 #include <math.h>
70138 int
70139 main ()
70140 {
70141  _fmodf(0, 0);
70142   ;
70143   return 0;
70144 }
70145 _ACEOF
70146 rm -f conftest.$ac_objext
70147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70148   (eval $ac_compile) 2>conftest.er1
70149   ac_status=$?
70150   grep -v '^ *+' conftest.er1 >conftest.err
70151   rm -f conftest.er1
70152   cat conftest.err >&5
70153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70154   (exit $ac_status); } &&
70155          { ac_try='test -z "$ac_cxx_werror_flag"
70156                          || test ! -s conftest.err'
70157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70158   (eval $ac_try) 2>&5
70159   ac_status=$?
70160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70161   (exit $ac_status); }; } &&
70162          { ac_try='test -s conftest.$ac_objext'
70163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70164   (eval $ac_try) 2>&5
70165   ac_status=$?
70166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70167   (exit $ac_status); }; }; then
70168   glibcxx_cv_func__fmodf_use=yes
70169 else
70170   echo "$as_me: failed program was:" >&5
70171 sed 's/^/| /' conftest.$ac_ext >&5
70172
70173 glibcxx_cv_func__fmodf_use=no
70174 fi
70175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70176       ac_ext=c
70177 ac_cpp='$CPP $CPPFLAGS'
70178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70181
70182
70183 fi
70184
70185   fi
70186   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
70187 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
70188
70189     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
70190
70191 for ac_func in _fmodf
70192 do
70193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70194 echo "$as_me:$LINENO: checking for $ac_func" >&5
70195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70196 if eval "test \"\${$as_ac_var+set}\" = set"; then
70197   echo $ECHO_N "(cached) $ECHO_C" >&6
70198 else
70199   if test x$gcc_no_link = xyes; then
70200   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70202    { (exit 1); exit 1; }; }
70203 fi
70204 cat >conftest.$ac_ext <<_ACEOF
70205 /* confdefs.h.  */
70206 _ACEOF
70207 cat confdefs.h >>conftest.$ac_ext
70208 cat >>conftest.$ac_ext <<_ACEOF
70209 /* end confdefs.h.  */
70210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70211    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70212 #define $ac_func innocuous_$ac_func
70213
70214 /* System header to define __stub macros and hopefully few prototypes,
70215     which can conflict with char $ac_func (); below.
70216     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70217     <limits.h> exists even on freestanding compilers.  */
70218
70219 #ifdef __STDC__
70220 # include <limits.h>
70221 #else
70222 # include <assert.h>
70223 #endif
70224
70225 #undef $ac_func
70226
70227 /* Override any gcc2 internal prototype to avoid an error.  */
70228 #ifdef __cplusplus
70229 extern "C"
70230 {
70231 #endif
70232 /* We use char because int might match the return type of a gcc2
70233    builtin and then its argument prototype would still apply.  */
70234 char $ac_func ();
70235 /* The GNU C library defines this for functions which it implements
70236     to always fail with ENOSYS.  Some functions are actually named
70237     something starting with __ and the normal name is an alias.  */
70238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70239 choke me
70240 #else
70241 char (*f) () = $ac_func;
70242 #endif
70243 #ifdef __cplusplus
70244 }
70245 #endif
70246
70247 int
70248 main ()
70249 {
70250 return f != $ac_func;
70251   ;
70252   return 0;
70253 }
70254 _ACEOF
70255 rm -f conftest.$ac_objext conftest$ac_exeext
70256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70257   (eval $ac_link) 2>conftest.er1
70258   ac_status=$?
70259   grep -v '^ *+' conftest.er1 >conftest.err
70260   rm -f conftest.er1
70261   cat conftest.err >&5
70262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70263   (exit $ac_status); } &&
70264          { ac_try='test -z "$ac_c_werror_flag"
70265                          || test ! -s conftest.err'
70266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70267   (eval $ac_try) 2>&5
70268   ac_status=$?
70269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70270   (exit $ac_status); }; } &&
70271          { ac_try='test -s conftest$ac_exeext'
70272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70273   (eval $ac_try) 2>&5
70274   ac_status=$?
70275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70276   (exit $ac_status); }; }; then
70277   eval "$as_ac_var=yes"
70278 else
70279   echo "$as_me: failed program was:" >&5
70280 sed 's/^/| /' conftest.$ac_ext >&5
70281
70282 eval "$as_ac_var=no"
70283 fi
70284 rm -f conftest.err conftest.$ac_objext \
70285       conftest$ac_exeext conftest.$ac_ext
70286 fi
70287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70289 if test `eval echo '${'$as_ac_var'}'` = yes; then
70290   cat >>confdefs.h <<_ACEOF
70291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70292 _ACEOF
70293
70294 fi
70295 done
70296
70297     fi
70298   fi
70299
70300
70301
70302
70303
70304
70305   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
70306 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
70307   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
70308     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
70309   echo $ECHO_N "(cached) $ECHO_C" >&6
70310 else
70311
70312
70313
70314       ac_ext=cc
70315 ac_cpp='$CXXCPP $CPPFLAGS'
70316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70319
70320       cat >conftest.$ac_ext <<_ACEOF
70321 /* confdefs.h.  */
70322 _ACEOF
70323 cat confdefs.h >>conftest.$ac_ext
70324 cat >>conftest.$ac_ext <<_ACEOF
70325 /* end confdefs.h.  */
70326 #include <math.h>
70327 int
70328 main ()
70329 {
70330  frexpf(0, 0);
70331   ;
70332   return 0;
70333 }
70334 _ACEOF
70335 rm -f conftest.$ac_objext
70336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70337   (eval $ac_compile) 2>conftest.er1
70338   ac_status=$?
70339   grep -v '^ *+' conftest.er1 >conftest.err
70340   rm -f conftest.er1
70341   cat conftest.err >&5
70342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70343   (exit $ac_status); } &&
70344          { ac_try='test -z "$ac_cxx_werror_flag"
70345                          || test ! -s conftest.err'
70346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70347   (eval $ac_try) 2>&5
70348   ac_status=$?
70349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70350   (exit $ac_status); }; } &&
70351          { ac_try='test -s conftest.$ac_objext'
70352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70353   (eval $ac_try) 2>&5
70354   ac_status=$?
70355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70356   (exit $ac_status); }; }; then
70357   glibcxx_cv_func_frexpf_use=yes
70358 else
70359   echo "$as_me: failed program was:" >&5
70360 sed 's/^/| /' conftest.$ac_ext >&5
70361
70362 glibcxx_cv_func_frexpf_use=no
70363 fi
70364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70365       ac_ext=c
70366 ac_cpp='$CPP $CPPFLAGS'
70367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70370
70371
70372 fi
70373
70374   fi
70375   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
70376 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
70377
70378   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
70379
70380 for ac_func in frexpf
70381 do
70382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70383 echo "$as_me:$LINENO: checking for $ac_func" >&5
70384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70385 if eval "test \"\${$as_ac_var+set}\" = set"; then
70386   echo $ECHO_N "(cached) $ECHO_C" >&6
70387 else
70388   if test x$gcc_no_link = xyes; then
70389   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70391    { (exit 1); exit 1; }; }
70392 fi
70393 cat >conftest.$ac_ext <<_ACEOF
70394 /* confdefs.h.  */
70395 _ACEOF
70396 cat confdefs.h >>conftest.$ac_ext
70397 cat >>conftest.$ac_ext <<_ACEOF
70398 /* end confdefs.h.  */
70399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70400    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70401 #define $ac_func innocuous_$ac_func
70402
70403 /* System header to define __stub macros and hopefully few prototypes,
70404     which can conflict with char $ac_func (); below.
70405     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70406     <limits.h> exists even on freestanding compilers.  */
70407
70408 #ifdef __STDC__
70409 # include <limits.h>
70410 #else
70411 # include <assert.h>
70412 #endif
70413
70414 #undef $ac_func
70415
70416 /* Override any gcc2 internal prototype to avoid an error.  */
70417 #ifdef __cplusplus
70418 extern "C"
70419 {
70420 #endif
70421 /* We use char because int might match the return type of a gcc2
70422    builtin and then its argument prototype would still apply.  */
70423 char $ac_func ();
70424 /* The GNU C library defines this for functions which it implements
70425     to always fail with ENOSYS.  Some functions are actually named
70426     something starting with __ and the normal name is an alias.  */
70427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70428 choke me
70429 #else
70430 char (*f) () = $ac_func;
70431 #endif
70432 #ifdef __cplusplus
70433 }
70434 #endif
70435
70436 int
70437 main ()
70438 {
70439 return f != $ac_func;
70440   ;
70441   return 0;
70442 }
70443 _ACEOF
70444 rm -f conftest.$ac_objext conftest$ac_exeext
70445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70446   (eval $ac_link) 2>conftest.er1
70447   ac_status=$?
70448   grep -v '^ *+' conftest.er1 >conftest.err
70449   rm -f conftest.er1
70450   cat conftest.err >&5
70451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70452   (exit $ac_status); } &&
70453          { ac_try='test -z "$ac_c_werror_flag"
70454                          || test ! -s conftest.err'
70455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70456   (eval $ac_try) 2>&5
70457   ac_status=$?
70458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70459   (exit $ac_status); }; } &&
70460          { ac_try='test -s conftest$ac_exeext'
70461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70462   (eval $ac_try) 2>&5
70463   ac_status=$?
70464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70465   (exit $ac_status); }; }; then
70466   eval "$as_ac_var=yes"
70467 else
70468   echo "$as_me: failed program was:" >&5
70469 sed 's/^/| /' conftest.$ac_ext >&5
70470
70471 eval "$as_ac_var=no"
70472 fi
70473 rm -f conftest.err conftest.$ac_objext \
70474       conftest$ac_exeext conftest.$ac_ext
70475 fi
70476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70478 if test `eval echo '${'$as_ac_var'}'` = yes; then
70479   cat >>confdefs.h <<_ACEOF
70480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70481 _ACEOF
70482
70483 fi
70484 done
70485
70486   else
70487
70488   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
70489 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
70490   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
70491     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
70492   echo $ECHO_N "(cached) $ECHO_C" >&6
70493 else
70494
70495
70496
70497       ac_ext=cc
70498 ac_cpp='$CXXCPP $CPPFLAGS'
70499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70502
70503       cat >conftest.$ac_ext <<_ACEOF
70504 /* confdefs.h.  */
70505 _ACEOF
70506 cat confdefs.h >>conftest.$ac_ext
70507 cat >>conftest.$ac_ext <<_ACEOF
70508 /* end confdefs.h.  */
70509 #include <math.h>
70510 int
70511 main ()
70512 {
70513  _frexpf(0, 0);
70514   ;
70515   return 0;
70516 }
70517 _ACEOF
70518 rm -f conftest.$ac_objext
70519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70520   (eval $ac_compile) 2>conftest.er1
70521   ac_status=$?
70522   grep -v '^ *+' conftest.er1 >conftest.err
70523   rm -f conftest.er1
70524   cat conftest.err >&5
70525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70526   (exit $ac_status); } &&
70527          { ac_try='test -z "$ac_cxx_werror_flag"
70528                          || test ! -s conftest.err'
70529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70530   (eval $ac_try) 2>&5
70531   ac_status=$?
70532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70533   (exit $ac_status); }; } &&
70534          { ac_try='test -s conftest.$ac_objext'
70535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70536   (eval $ac_try) 2>&5
70537   ac_status=$?
70538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70539   (exit $ac_status); }; }; then
70540   glibcxx_cv_func__frexpf_use=yes
70541 else
70542   echo "$as_me: failed program was:" >&5
70543 sed 's/^/| /' conftest.$ac_ext >&5
70544
70545 glibcxx_cv_func__frexpf_use=no
70546 fi
70547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70548       ac_ext=c
70549 ac_cpp='$CPP $CPPFLAGS'
70550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70553
70554
70555 fi
70556
70557   fi
70558   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
70559 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
70560
70561     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
70562
70563 for ac_func in _frexpf
70564 do
70565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70566 echo "$as_me:$LINENO: checking for $ac_func" >&5
70567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70568 if eval "test \"\${$as_ac_var+set}\" = set"; then
70569   echo $ECHO_N "(cached) $ECHO_C" >&6
70570 else
70571   if test x$gcc_no_link = xyes; then
70572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70574    { (exit 1); exit 1; }; }
70575 fi
70576 cat >conftest.$ac_ext <<_ACEOF
70577 /* confdefs.h.  */
70578 _ACEOF
70579 cat confdefs.h >>conftest.$ac_ext
70580 cat >>conftest.$ac_ext <<_ACEOF
70581 /* end confdefs.h.  */
70582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70583    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70584 #define $ac_func innocuous_$ac_func
70585
70586 /* System header to define __stub macros and hopefully few prototypes,
70587     which can conflict with char $ac_func (); below.
70588     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70589     <limits.h> exists even on freestanding compilers.  */
70590
70591 #ifdef __STDC__
70592 # include <limits.h>
70593 #else
70594 # include <assert.h>
70595 #endif
70596
70597 #undef $ac_func
70598
70599 /* Override any gcc2 internal prototype to avoid an error.  */
70600 #ifdef __cplusplus
70601 extern "C"
70602 {
70603 #endif
70604 /* We use char because int might match the return type of a gcc2
70605    builtin and then its argument prototype would still apply.  */
70606 char $ac_func ();
70607 /* The GNU C library defines this for functions which it implements
70608     to always fail with ENOSYS.  Some functions are actually named
70609     something starting with __ and the normal name is an alias.  */
70610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70611 choke me
70612 #else
70613 char (*f) () = $ac_func;
70614 #endif
70615 #ifdef __cplusplus
70616 }
70617 #endif
70618
70619 int
70620 main ()
70621 {
70622 return f != $ac_func;
70623   ;
70624   return 0;
70625 }
70626 _ACEOF
70627 rm -f conftest.$ac_objext conftest$ac_exeext
70628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70629   (eval $ac_link) 2>conftest.er1
70630   ac_status=$?
70631   grep -v '^ *+' conftest.er1 >conftest.err
70632   rm -f conftest.er1
70633   cat conftest.err >&5
70634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70635   (exit $ac_status); } &&
70636          { ac_try='test -z "$ac_c_werror_flag"
70637                          || test ! -s conftest.err'
70638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70639   (eval $ac_try) 2>&5
70640   ac_status=$?
70641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70642   (exit $ac_status); }; } &&
70643          { ac_try='test -s conftest$ac_exeext'
70644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70645   (eval $ac_try) 2>&5
70646   ac_status=$?
70647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70648   (exit $ac_status); }; }; then
70649   eval "$as_ac_var=yes"
70650 else
70651   echo "$as_me: failed program was:" >&5
70652 sed 's/^/| /' conftest.$ac_ext >&5
70653
70654 eval "$as_ac_var=no"
70655 fi
70656 rm -f conftest.err conftest.$ac_objext \
70657       conftest$ac_exeext conftest.$ac_ext
70658 fi
70659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70661 if test `eval echo '${'$as_ac_var'}'` = yes; then
70662   cat >>confdefs.h <<_ACEOF
70663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70664 _ACEOF
70665
70666 fi
70667 done
70668
70669     fi
70670   fi
70671
70672
70673
70674
70675
70676
70677   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
70678 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
70679   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
70680     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
70681   echo $ECHO_N "(cached) $ECHO_C" >&6
70682 else
70683
70684
70685
70686       ac_ext=cc
70687 ac_cpp='$CXXCPP $CPPFLAGS'
70688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70691
70692       cat >conftest.$ac_ext <<_ACEOF
70693 /* confdefs.h.  */
70694 _ACEOF
70695 cat confdefs.h >>conftest.$ac_ext
70696 cat >>conftest.$ac_ext <<_ACEOF
70697 /* end confdefs.h.  */
70698 #include <math.h>
70699 int
70700 main ()
70701 {
70702  hypotf(0, 0);
70703   ;
70704   return 0;
70705 }
70706 _ACEOF
70707 rm -f conftest.$ac_objext
70708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70709   (eval $ac_compile) 2>conftest.er1
70710   ac_status=$?
70711   grep -v '^ *+' conftest.er1 >conftest.err
70712   rm -f conftest.er1
70713   cat conftest.err >&5
70714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70715   (exit $ac_status); } &&
70716          { ac_try='test -z "$ac_cxx_werror_flag"
70717                          || test ! -s conftest.err'
70718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70719   (eval $ac_try) 2>&5
70720   ac_status=$?
70721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70722   (exit $ac_status); }; } &&
70723          { ac_try='test -s conftest.$ac_objext'
70724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70725   (eval $ac_try) 2>&5
70726   ac_status=$?
70727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70728   (exit $ac_status); }; }; then
70729   glibcxx_cv_func_hypotf_use=yes
70730 else
70731   echo "$as_me: failed program was:" >&5
70732 sed 's/^/| /' conftest.$ac_ext >&5
70733
70734 glibcxx_cv_func_hypotf_use=no
70735 fi
70736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70737       ac_ext=c
70738 ac_cpp='$CPP $CPPFLAGS'
70739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70742
70743
70744 fi
70745
70746   fi
70747   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
70748 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
70749
70750   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
70751
70752 for ac_func in hypotf
70753 do
70754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70755 echo "$as_me:$LINENO: checking for $ac_func" >&5
70756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70757 if eval "test \"\${$as_ac_var+set}\" = set"; then
70758   echo $ECHO_N "(cached) $ECHO_C" >&6
70759 else
70760   if test x$gcc_no_link = xyes; then
70761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70763    { (exit 1); exit 1; }; }
70764 fi
70765 cat >conftest.$ac_ext <<_ACEOF
70766 /* confdefs.h.  */
70767 _ACEOF
70768 cat confdefs.h >>conftest.$ac_ext
70769 cat >>conftest.$ac_ext <<_ACEOF
70770 /* end confdefs.h.  */
70771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70772    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70773 #define $ac_func innocuous_$ac_func
70774
70775 /* System header to define __stub macros and hopefully few prototypes,
70776     which can conflict with char $ac_func (); below.
70777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70778     <limits.h> exists even on freestanding compilers.  */
70779
70780 #ifdef __STDC__
70781 # include <limits.h>
70782 #else
70783 # include <assert.h>
70784 #endif
70785
70786 #undef $ac_func
70787
70788 /* Override any gcc2 internal prototype to avoid an error.  */
70789 #ifdef __cplusplus
70790 extern "C"
70791 {
70792 #endif
70793 /* We use char because int might match the return type of a gcc2
70794    builtin and then its argument prototype would still apply.  */
70795 char $ac_func ();
70796 /* The GNU C library defines this for functions which it implements
70797     to always fail with ENOSYS.  Some functions are actually named
70798     something starting with __ and the normal name is an alias.  */
70799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70800 choke me
70801 #else
70802 char (*f) () = $ac_func;
70803 #endif
70804 #ifdef __cplusplus
70805 }
70806 #endif
70807
70808 int
70809 main ()
70810 {
70811 return f != $ac_func;
70812   ;
70813   return 0;
70814 }
70815 _ACEOF
70816 rm -f conftest.$ac_objext conftest$ac_exeext
70817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70818   (eval $ac_link) 2>conftest.er1
70819   ac_status=$?
70820   grep -v '^ *+' conftest.er1 >conftest.err
70821   rm -f conftest.er1
70822   cat conftest.err >&5
70823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70824   (exit $ac_status); } &&
70825          { ac_try='test -z "$ac_c_werror_flag"
70826                          || test ! -s conftest.err'
70827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70828   (eval $ac_try) 2>&5
70829   ac_status=$?
70830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70831   (exit $ac_status); }; } &&
70832          { ac_try='test -s conftest$ac_exeext'
70833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70834   (eval $ac_try) 2>&5
70835   ac_status=$?
70836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70837   (exit $ac_status); }; }; then
70838   eval "$as_ac_var=yes"
70839 else
70840   echo "$as_me: failed program was:" >&5
70841 sed 's/^/| /' conftest.$ac_ext >&5
70842
70843 eval "$as_ac_var=no"
70844 fi
70845 rm -f conftest.err conftest.$ac_objext \
70846       conftest$ac_exeext conftest.$ac_ext
70847 fi
70848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70850 if test `eval echo '${'$as_ac_var'}'` = yes; then
70851   cat >>confdefs.h <<_ACEOF
70852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70853 _ACEOF
70854
70855 fi
70856 done
70857
70858   else
70859
70860   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
70861 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
70862   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
70863     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
70864   echo $ECHO_N "(cached) $ECHO_C" >&6
70865 else
70866
70867
70868
70869       ac_ext=cc
70870 ac_cpp='$CXXCPP $CPPFLAGS'
70871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70874
70875       cat >conftest.$ac_ext <<_ACEOF
70876 /* confdefs.h.  */
70877 _ACEOF
70878 cat confdefs.h >>conftest.$ac_ext
70879 cat >>conftest.$ac_ext <<_ACEOF
70880 /* end confdefs.h.  */
70881 #include <math.h>
70882 int
70883 main ()
70884 {
70885  _hypotf(0, 0);
70886   ;
70887   return 0;
70888 }
70889 _ACEOF
70890 rm -f conftest.$ac_objext
70891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70892   (eval $ac_compile) 2>conftest.er1
70893   ac_status=$?
70894   grep -v '^ *+' conftest.er1 >conftest.err
70895   rm -f conftest.er1
70896   cat conftest.err >&5
70897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70898   (exit $ac_status); } &&
70899          { ac_try='test -z "$ac_cxx_werror_flag"
70900                          || test ! -s conftest.err'
70901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70902   (eval $ac_try) 2>&5
70903   ac_status=$?
70904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70905   (exit $ac_status); }; } &&
70906          { ac_try='test -s conftest.$ac_objext'
70907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70908   (eval $ac_try) 2>&5
70909   ac_status=$?
70910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70911   (exit $ac_status); }; }; then
70912   glibcxx_cv_func__hypotf_use=yes
70913 else
70914   echo "$as_me: failed program was:" >&5
70915 sed 's/^/| /' conftest.$ac_ext >&5
70916
70917 glibcxx_cv_func__hypotf_use=no
70918 fi
70919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70920       ac_ext=c
70921 ac_cpp='$CPP $CPPFLAGS'
70922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70925
70926
70927 fi
70928
70929   fi
70930   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
70931 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
70932
70933     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
70934
70935 for ac_func in _hypotf
70936 do
70937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70938 echo "$as_me:$LINENO: checking for $ac_func" >&5
70939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70940 if eval "test \"\${$as_ac_var+set}\" = set"; then
70941   echo $ECHO_N "(cached) $ECHO_C" >&6
70942 else
70943   if test x$gcc_no_link = xyes; then
70944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70946    { (exit 1); exit 1; }; }
70947 fi
70948 cat >conftest.$ac_ext <<_ACEOF
70949 /* confdefs.h.  */
70950 _ACEOF
70951 cat confdefs.h >>conftest.$ac_ext
70952 cat >>conftest.$ac_ext <<_ACEOF
70953 /* end confdefs.h.  */
70954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70955    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70956 #define $ac_func innocuous_$ac_func
70957
70958 /* System header to define __stub macros and hopefully few prototypes,
70959     which can conflict with char $ac_func (); below.
70960     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70961     <limits.h> exists even on freestanding compilers.  */
70962
70963 #ifdef __STDC__
70964 # include <limits.h>
70965 #else
70966 # include <assert.h>
70967 #endif
70968
70969 #undef $ac_func
70970
70971 /* Override any gcc2 internal prototype to avoid an error.  */
70972 #ifdef __cplusplus
70973 extern "C"
70974 {
70975 #endif
70976 /* We use char because int might match the return type of a gcc2
70977    builtin and then its argument prototype would still apply.  */
70978 char $ac_func ();
70979 /* The GNU C library defines this for functions which it implements
70980     to always fail with ENOSYS.  Some functions are actually named
70981     something starting with __ and the normal name is an alias.  */
70982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70983 choke me
70984 #else
70985 char (*f) () = $ac_func;
70986 #endif
70987 #ifdef __cplusplus
70988 }
70989 #endif
70990
70991 int
70992 main ()
70993 {
70994 return f != $ac_func;
70995   ;
70996   return 0;
70997 }
70998 _ACEOF
70999 rm -f conftest.$ac_objext conftest$ac_exeext
71000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71001   (eval $ac_link) 2>conftest.er1
71002   ac_status=$?
71003   grep -v '^ *+' conftest.er1 >conftest.err
71004   rm -f conftest.er1
71005   cat conftest.err >&5
71006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71007   (exit $ac_status); } &&
71008          { ac_try='test -z "$ac_c_werror_flag"
71009                          || test ! -s conftest.err'
71010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71011   (eval $ac_try) 2>&5
71012   ac_status=$?
71013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71014   (exit $ac_status); }; } &&
71015          { ac_try='test -s conftest$ac_exeext'
71016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71017   (eval $ac_try) 2>&5
71018   ac_status=$?
71019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71020   (exit $ac_status); }; }; then
71021   eval "$as_ac_var=yes"
71022 else
71023   echo "$as_me: failed program was:" >&5
71024 sed 's/^/| /' conftest.$ac_ext >&5
71025
71026 eval "$as_ac_var=no"
71027 fi
71028 rm -f conftest.err conftest.$ac_objext \
71029       conftest$ac_exeext conftest.$ac_ext
71030 fi
71031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71033 if test `eval echo '${'$as_ac_var'}'` = yes; then
71034   cat >>confdefs.h <<_ACEOF
71035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71036 _ACEOF
71037
71038 fi
71039 done
71040
71041     fi
71042   fi
71043
71044
71045
71046
71047
71048
71049   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
71050 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
71051   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
71052     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
71053   echo $ECHO_N "(cached) $ECHO_C" >&6
71054 else
71055
71056
71057
71058       ac_ext=cc
71059 ac_cpp='$CXXCPP $CPPFLAGS'
71060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71063
71064       cat >conftest.$ac_ext <<_ACEOF
71065 /* confdefs.h.  */
71066 _ACEOF
71067 cat confdefs.h >>conftest.$ac_ext
71068 cat >>conftest.$ac_ext <<_ACEOF
71069 /* end confdefs.h.  */
71070 #include <math.h>
71071 int
71072 main ()
71073 {
71074  ldexpf(0, 0);
71075   ;
71076   return 0;
71077 }
71078 _ACEOF
71079 rm -f conftest.$ac_objext
71080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71081   (eval $ac_compile) 2>conftest.er1
71082   ac_status=$?
71083   grep -v '^ *+' conftest.er1 >conftest.err
71084   rm -f conftest.er1
71085   cat conftest.err >&5
71086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71087   (exit $ac_status); } &&
71088          { ac_try='test -z "$ac_cxx_werror_flag"
71089                          || test ! -s conftest.err'
71090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71091   (eval $ac_try) 2>&5
71092   ac_status=$?
71093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71094   (exit $ac_status); }; } &&
71095          { ac_try='test -s conftest.$ac_objext'
71096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71097   (eval $ac_try) 2>&5
71098   ac_status=$?
71099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71100   (exit $ac_status); }; }; then
71101   glibcxx_cv_func_ldexpf_use=yes
71102 else
71103   echo "$as_me: failed program was:" >&5
71104 sed 's/^/| /' conftest.$ac_ext >&5
71105
71106 glibcxx_cv_func_ldexpf_use=no
71107 fi
71108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71109       ac_ext=c
71110 ac_cpp='$CPP $CPPFLAGS'
71111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71114
71115
71116 fi
71117
71118   fi
71119   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
71120 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
71121
71122   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
71123
71124 for ac_func in ldexpf
71125 do
71126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71127 echo "$as_me:$LINENO: checking for $ac_func" >&5
71128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71129 if eval "test \"\${$as_ac_var+set}\" = set"; then
71130   echo $ECHO_N "(cached) $ECHO_C" >&6
71131 else
71132   if test x$gcc_no_link = xyes; then
71133   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71135    { (exit 1); exit 1; }; }
71136 fi
71137 cat >conftest.$ac_ext <<_ACEOF
71138 /* confdefs.h.  */
71139 _ACEOF
71140 cat confdefs.h >>conftest.$ac_ext
71141 cat >>conftest.$ac_ext <<_ACEOF
71142 /* end confdefs.h.  */
71143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71144    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71145 #define $ac_func innocuous_$ac_func
71146
71147 /* System header to define __stub macros and hopefully few prototypes,
71148     which can conflict with char $ac_func (); below.
71149     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71150     <limits.h> exists even on freestanding compilers.  */
71151
71152 #ifdef __STDC__
71153 # include <limits.h>
71154 #else
71155 # include <assert.h>
71156 #endif
71157
71158 #undef $ac_func
71159
71160 /* Override any gcc2 internal prototype to avoid an error.  */
71161 #ifdef __cplusplus
71162 extern "C"
71163 {
71164 #endif
71165 /* We use char because int might match the return type of a gcc2
71166    builtin and then its argument prototype would still apply.  */
71167 char $ac_func ();
71168 /* The GNU C library defines this for functions which it implements
71169     to always fail with ENOSYS.  Some functions are actually named
71170     something starting with __ and the normal name is an alias.  */
71171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71172 choke me
71173 #else
71174 char (*f) () = $ac_func;
71175 #endif
71176 #ifdef __cplusplus
71177 }
71178 #endif
71179
71180 int
71181 main ()
71182 {
71183 return f != $ac_func;
71184   ;
71185   return 0;
71186 }
71187 _ACEOF
71188 rm -f conftest.$ac_objext conftest$ac_exeext
71189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71190   (eval $ac_link) 2>conftest.er1
71191   ac_status=$?
71192   grep -v '^ *+' conftest.er1 >conftest.err
71193   rm -f conftest.er1
71194   cat conftest.err >&5
71195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71196   (exit $ac_status); } &&
71197          { ac_try='test -z "$ac_c_werror_flag"
71198                          || test ! -s conftest.err'
71199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71200   (eval $ac_try) 2>&5
71201   ac_status=$?
71202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71203   (exit $ac_status); }; } &&
71204          { ac_try='test -s conftest$ac_exeext'
71205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71206   (eval $ac_try) 2>&5
71207   ac_status=$?
71208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71209   (exit $ac_status); }; }; then
71210   eval "$as_ac_var=yes"
71211 else
71212   echo "$as_me: failed program was:" >&5
71213 sed 's/^/| /' conftest.$ac_ext >&5
71214
71215 eval "$as_ac_var=no"
71216 fi
71217 rm -f conftest.err conftest.$ac_objext \
71218       conftest$ac_exeext conftest.$ac_ext
71219 fi
71220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71222 if test `eval echo '${'$as_ac_var'}'` = yes; then
71223   cat >>confdefs.h <<_ACEOF
71224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71225 _ACEOF
71226
71227 fi
71228 done
71229
71230   else
71231
71232   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
71233 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
71234   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
71235     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
71236   echo $ECHO_N "(cached) $ECHO_C" >&6
71237 else
71238
71239
71240
71241       ac_ext=cc
71242 ac_cpp='$CXXCPP $CPPFLAGS'
71243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71246
71247       cat >conftest.$ac_ext <<_ACEOF
71248 /* confdefs.h.  */
71249 _ACEOF
71250 cat confdefs.h >>conftest.$ac_ext
71251 cat >>conftest.$ac_ext <<_ACEOF
71252 /* end confdefs.h.  */
71253 #include <math.h>
71254 int
71255 main ()
71256 {
71257  _ldexpf(0, 0);
71258   ;
71259   return 0;
71260 }
71261 _ACEOF
71262 rm -f conftest.$ac_objext
71263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71264   (eval $ac_compile) 2>conftest.er1
71265   ac_status=$?
71266   grep -v '^ *+' conftest.er1 >conftest.err
71267   rm -f conftest.er1
71268   cat conftest.err >&5
71269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71270   (exit $ac_status); } &&
71271          { ac_try='test -z "$ac_cxx_werror_flag"
71272                          || test ! -s conftest.err'
71273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71274   (eval $ac_try) 2>&5
71275   ac_status=$?
71276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71277   (exit $ac_status); }; } &&
71278          { ac_try='test -s conftest.$ac_objext'
71279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71280   (eval $ac_try) 2>&5
71281   ac_status=$?
71282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71283   (exit $ac_status); }; }; then
71284   glibcxx_cv_func__ldexpf_use=yes
71285 else
71286   echo "$as_me: failed program was:" >&5
71287 sed 's/^/| /' conftest.$ac_ext >&5
71288
71289 glibcxx_cv_func__ldexpf_use=no
71290 fi
71291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71292       ac_ext=c
71293 ac_cpp='$CPP $CPPFLAGS'
71294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71297
71298
71299 fi
71300
71301   fi
71302   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
71303 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
71304
71305     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
71306
71307 for ac_func in _ldexpf
71308 do
71309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71310 echo "$as_me:$LINENO: checking for $ac_func" >&5
71311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71312 if eval "test \"\${$as_ac_var+set}\" = set"; then
71313   echo $ECHO_N "(cached) $ECHO_C" >&6
71314 else
71315   if test x$gcc_no_link = xyes; then
71316   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71318    { (exit 1); exit 1; }; }
71319 fi
71320 cat >conftest.$ac_ext <<_ACEOF
71321 /* confdefs.h.  */
71322 _ACEOF
71323 cat confdefs.h >>conftest.$ac_ext
71324 cat >>conftest.$ac_ext <<_ACEOF
71325 /* end confdefs.h.  */
71326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71327    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71328 #define $ac_func innocuous_$ac_func
71329
71330 /* System header to define __stub macros and hopefully few prototypes,
71331     which can conflict with char $ac_func (); below.
71332     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71333     <limits.h> exists even on freestanding compilers.  */
71334
71335 #ifdef __STDC__
71336 # include <limits.h>
71337 #else
71338 # include <assert.h>
71339 #endif
71340
71341 #undef $ac_func
71342
71343 /* Override any gcc2 internal prototype to avoid an error.  */
71344 #ifdef __cplusplus
71345 extern "C"
71346 {
71347 #endif
71348 /* We use char because int might match the return type of a gcc2
71349    builtin and then its argument prototype would still apply.  */
71350 char $ac_func ();
71351 /* The GNU C library defines this for functions which it implements
71352     to always fail with ENOSYS.  Some functions are actually named
71353     something starting with __ and the normal name is an alias.  */
71354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71355 choke me
71356 #else
71357 char (*f) () = $ac_func;
71358 #endif
71359 #ifdef __cplusplus
71360 }
71361 #endif
71362
71363 int
71364 main ()
71365 {
71366 return f != $ac_func;
71367   ;
71368   return 0;
71369 }
71370 _ACEOF
71371 rm -f conftest.$ac_objext conftest$ac_exeext
71372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71373   (eval $ac_link) 2>conftest.er1
71374   ac_status=$?
71375   grep -v '^ *+' conftest.er1 >conftest.err
71376   rm -f conftest.er1
71377   cat conftest.err >&5
71378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71379   (exit $ac_status); } &&
71380          { ac_try='test -z "$ac_c_werror_flag"
71381                          || test ! -s conftest.err'
71382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71383   (eval $ac_try) 2>&5
71384   ac_status=$?
71385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71386   (exit $ac_status); }; } &&
71387          { ac_try='test -s conftest$ac_exeext'
71388   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71389   (eval $ac_try) 2>&5
71390   ac_status=$?
71391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71392   (exit $ac_status); }; }; then
71393   eval "$as_ac_var=yes"
71394 else
71395   echo "$as_me: failed program was:" >&5
71396 sed 's/^/| /' conftest.$ac_ext >&5
71397
71398 eval "$as_ac_var=no"
71399 fi
71400 rm -f conftest.err conftest.$ac_objext \
71401       conftest$ac_exeext conftest.$ac_ext
71402 fi
71403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71405 if test `eval echo '${'$as_ac_var'}'` = yes; then
71406   cat >>confdefs.h <<_ACEOF
71407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71408 _ACEOF
71409
71410 fi
71411 done
71412
71413     fi
71414   fi
71415
71416
71417
71418
71419
71420
71421   echo "$as_me:$LINENO: checking for logf declaration" >&5
71422 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
71423   if test x${glibcxx_cv_func_logf_use+set} != xset; then
71424     if test "${glibcxx_cv_func_logf_use+set}" = set; then
71425   echo $ECHO_N "(cached) $ECHO_C" >&6
71426 else
71427
71428
71429
71430       ac_ext=cc
71431 ac_cpp='$CXXCPP $CPPFLAGS'
71432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71435
71436       cat >conftest.$ac_ext <<_ACEOF
71437 /* confdefs.h.  */
71438 _ACEOF
71439 cat confdefs.h >>conftest.$ac_ext
71440 cat >>conftest.$ac_ext <<_ACEOF
71441 /* end confdefs.h.  */
71442 #include <math.h>
71443                       #ifdef HAVE_IEEEFP_H
71444                       #include <ieeefp.h>
71445                       #endif
71446
71447 int
71448 main ()
71449 {
71450  logf(0);
71451   ;
71452   return 0;
71453 }
71454 _ACEOF
71455 rm -f conftest.$ac_objext
71456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71457   (eval $ac_compile) 2>conftest.er1
71458   ac_status=$?
71459   grep -v '^ *+' conftest.er1 >conftest.err
71460   rm -f conftest.er1
71461   cat conftest.err >&5
71462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71463   (exit $ac_status); } &&
71464          { ac_try='test -z "$ac_cxx_werror_flag"
71465                          || test ! -s conftest.err'
71466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71467   (eval $ac_try) 2>&5
71468   ac_status=$?
71469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71470   (exit $ac_status); }; } &&
71471          { ac_try='test -s conftest.$ac_objext'
71472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71473   (eval $ac_try) 2>&5
71474   ac_status=$?
71475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71476   (exit $ac_status); }; }; then
71477   glibcxx_cv_func_logf_use=yes
71478 else
71479   echo "$as_me: failed program was:" >&5
71480 sed 's/^/| /' conftest.$ac_ext >&5
71481
71482 glibcxx_cv_func_logf_use=no
71483 fi
71484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71485       ac_ext=c
71486 ac_cpp='$CPP $CPPFLAGS'
71487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71490
71491
71492 fi
71493
71494   fi
71495   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
71496 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
71497
71498   if test x$glibcxx_cv_func_logf_use = x"yes"; then
71499
71500 for ac_func in logf
71501 do
71502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71503 echo "$as_me:$LINENO: checking for $ac_func" >&5
71504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71505 if eval "test \"\${$as_ac_var+set}\" = set"; then
71506   echo $ECHO_N "(cached) $ECHO_C" >&6
71507 else
71508   if test x$gcc_no_link = xyes; then
71509   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71511    { (exit 1); exit 1; }; }
71512 fi
71513 cat >conftest.$ac_ext <<_ACEOF
71514 /* confdefs.h.  */
71515 _ACEOF
71516 cat confdefs.h >>conftest.$ac_ext
71517 cat >>conftest.$ac_ext <<_ACEOF
71518 /* end confdefs.h.  */
71519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71520    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71521 #define $ac_func innocuous_$ac_func
71522
71523 /* System header to define __stub macros and hopefully few prototypes,
71524     which can conflict with char $ac_func (); below.
71525     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71526     <limits.h> exists even on freestanding compilers.  */
71527
71528 #ifdef __STDC__
71529 # include <limits.h>
71530 #else
71531 # include <assert.h>
71532 #endif
71533
71534 #undef $ac_func
71535
71536 /* Override any gcc2 internal prototype to avoid an error.  */
71537 #ifdef __cplusplus
71538 extern "C"
71539 {
71540 #endif
71541 /* We use char because int might match the return type of a gcc2
71542    builtin and then its argument prototype would still apply.  */
71543 char $ac_func ();
71544 /* The GNU C library defines this for functions which it implements
71545     to always fail with ENOSYS.  Some functions are actually named
71546     something starting with __ and the normal name is an alias.  */
71547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71548 choke me
71549 #else
71550 char (*f) () = $ac_func;
71551 #endif
71552 #ifdef __cplusplus
71553 }
71554 #endif
71555
71556 int
71557 main ()
71558 {
71559 return f != $ac_func;
71560   ;
71561   return 0;
71562 }
71563 _ACEOF
71564 rm -f conftest.$ac_objext conftest$ac_exeext
71565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71566   (eval $ac_link) 2>conftest.er1
71567   ac_status=$?
71568   grep -v '^ *+' conftest.er1 >conftest.err
71569   rm -f conftest.er1
71570   cat conftest.err >&5
71571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71572   (exit $ac_status); } &&
71573          { ac_try='test -z "$ac_c_werror_flag"
71574                          || test ! -s conftest.err'
71575   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71576   (eval $ac_try) 2>&5
71577   ac_status=$?
71578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71579   (exit $ac_status); }; } &&
71580          { ac_try='test -s conftest$ac_exeext'
71581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71582   (eval $ac_try) 2>&5
71583   ac_status=$?
71584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71585   (exit $ac_status); }; }; then
71586   eval "$as_ac_var=yes"
71587 else
71588   echo "$as_me: failed program was:" >&5
71589 sed 's/^/| /' conftest.$ac_ext >&5
71590
71591 eval "$as_ac_var=no"
71592 fi
71593 rm -f conftest.err conftest.$ac_objext \
71594       conftest$ac_exeext conftest.$ac_ext
71595 fi
71596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71598 if test `eval echo '${'$as_ac_var'}'` = yes; then
71599   cat >>confdefs.h <<_ACEOF
71600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71601 _ACEOF
71602
71603 fi
71604 done
71605
71606   else
71607
71608   echo "$as_me:$LINENO: checking for _logf declaration" >&5
71609 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
71610   if test x${glibcxx_cv_func__logf_use+set} != xset; then
71611     if test "${glibcxx_cv_func__logf_use+set}" = set; then
71612   echo $ECHO_N "(cached) $ECHO_C" >&6
71613 else
71614
71615
71616
71617       ac_ext=cc
71618 ac_cpp='$CXXCPP $CPPFLAGS'
71619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71622
71623       cat >conftest.$ac_ext <<_ACEOF
71624 /* confdefs.h.  */
71625 _ACEOF
71626 cat confdefs.h >>conftest.$ac_ext
71627 cat >>conftest.$ac_ext <<_ACEOF
71628 /* end confdefs.h.  */
71629 #include <math.h>
71630                       #ifdef HAVE_IEEEFP_H
71631                       #include <ieeefp.h>
71632                       #endif
71633
71634 int
71635 main ()
71636 {
71637  _logf(0);
71638   ;
71639   return 0;
71640 }
71641 _ACEOF
71642 rm -f conftest.$ac_objext
71643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71644   (eval $ac_compile) 2>conftest.er1
71645   ac_status=$?
71646   grep -v '^ *+' conftest.er1 >conftest.err
71647   rm -f conftest.er1
71648   cat conftest.err >&5
71649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71650   (exit $ac_status); } &&
71651          { ac_try='test -z "$ac_cxx_werror_flag"
71652                          || test ! -s conftest.err'
71653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71654   (eval $ac_try) 2>&5
71655   ac_status=$?
71656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71657   (exit $ac_status); }; } &&
71658          { ac_try='test -s conftest.$ac_objext'
71659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71660   (eval $ac_try) 2>&5
71661   ac_status=$?
71662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71663   (exit $ac_status); }; }; then
71664   glibcxx_cv_func__logf_use=yes
71665 else
71666   echo "$as_me: failed program was:" >&5
71667 sed 's/^/| /' conftest.$ac_ext >&5
71668
71669 glibcxx_cv_func__logf_use=no
71670 fi
71671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71672       ac_ext=c
71673 ac_cpp='$CPP $CPPFLAGS'
71674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71677
71678
71679 fi
71680
71681   fi
71682   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
71683 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
71684
71685     if test x$glibcxx_cv_func__logf_use = x"yes"; then
71686
71687 for ac_func in _logf
71688 do
71689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71690 echo "$as_me:$LINENO: checking for $ac_func" >&5
71691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71692 if eval "test \"\${$as_ac_var+set}\" = set"; then
71693   echo $ECHO_N "(cached) $ECHO_C" >&6
71694 else
71695   if test x$gcc_no_link = xyes; then
71696   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71698    { (exit 1); exit 1; }; }
71699 fi
71700 cat >conftest.$ac_ext <<_ACEOF
71701 /* confdefs.h.  */
71702 _ACEOF
71703 cat confdefs.h >>conftest.$ac_ext
71704 cat >>conftest.$ac_ext <<_ACEOF
71705 /* end confdefs.h.  */
71706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71707    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71708 #define $ac_func innocuous_$ac_func
71709
71710 /* System header to define __stub macros and hopefully few prototypes,
71711     which can conflict with char $ac_func (); below.
71712     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71713     <limits.h> exists even on freestanding compilers.  */
71714
71715 #ifdef __STDC__
71716 # include <limits.h>
71717 #else
71718 # include <assert.h>
71719 #endif
71720
71721 #undef $ac_func
71722
71723 /* Override any gcc2 internal prototype to avoid an error.  */
71724 #ifdef __cplusplus
71725 extern "C"
71726 {
71727 #endif
71728 /* We use char because int might match the return type of a gcc2
71729    builtin and then its argument prototype would still apply.  */
71730 char $ac_func ();
71731 /* The GNU C library defines this for functions which it implements
71732     to always fail with ENOSYS.  Some functions are actually named
71733     something starting with __ and the normal name is an alias.  */
71734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71735 choke me
71736 #else
71737 char (*f) () = $ac_func;
71738 #endif
71739 #ifdef __cplusplus
71740 }
71741 #endif
71742
71743 int
71744 main ()
71745 {
71746 return f != $ac_func;
71747   ;
71748   return 0;
71749 }
71750 _ACEOF
71751 rm -f conftest.$ac_objext conftest$ac_exeext
71752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71753   (eval $ac_link) 2>conftest.er1
71754   ac_status=$?
71755   grep -v '^ *+' conftest.er1 >conftest.err
71756   rm -f conftest.er1
71757   cat conftest.err >&5
71758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71759   (exit $ac_status); } &&
71760          { ac_try='test -z "$ac_c_werror_flag"
71761                          || test ! -s conftest.err'
71762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71763   (eval $ac_try) 2>&5
71764   ac_status=$?
71765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71766   (exit $ac_status); }; } &&
71767          { ac_try='test -s conftest$ac_exeext'
71768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71769   (eval $ac_try) 2>&5
71770   ac_status=$?
71771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71772   (exit $ac_status); }; }; then
71773   eval "$as_ac_var=yes"
71774 else
71775   echo "$as_me: failed program was:" >&5
71776 sed 's/^/| /' conftest.$ac_ext >&5
71777
71778 eval "$as_ac_var=no"
71779 fi
71780 rm -f conftest.err conftest.$ac_objext \
71781       conftest$ac_exeext conftest.$ac_ext
71782 fi
71783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71785 if test `eval echo '${'$as_ac_var'}'` = yes; then
71786   cat >>confdefs.h <<_ACEOF
71787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71788 _ACEOF
71789
71790 fi
71791 done
71792
71793     fi
71794   fi
71795
71796
71797
71798
71799
71800
71801   echo "$as_me:$LINENO: checking for log10f declaration" >&5
71802 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
71803   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
71804     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
71805   echo $ECHO_N "(cached) $ECHO_C" >&6
71806 else
71807
71808
71809
71810       ac_ext=cc
71811 ac_cpp='$CXXCPP $CPPFLAGS'
71812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71815
71816       cat >conftest.$ac_ext <<_ACEOF
71817 /* confdefs.h.  */
71818 _ACEOF
71819 cat confdefs.h >>conftest.$ac_ext
71820 cat >>conftest.$ac_ext <<_ACEOF
71821 /* end confdefs.h.  */
71822 #include <math.h>
71823                       #ifdef HAVE_IEEEFP_H
71824                       #include <ieeefp.h>
71825                       #endif
71826
71827 int
71828 main ()
71829 {
71830  log10f(0);
71831   ;
71832   return 0;
71833 }
71834 _ACEOF
71835 rm -f conftest.$ac_objext
71836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71837   (eval $ac_compile) 2>conftest.er1
71838   ac_status=$?
71839   grep -v '^ *+' conftest.er1 >conftest.err
71840   rm -f conftest.er1
71841   cat conftest.err >&5
71842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71843   (exit $ac_status); } &&
71844          { ac_try='test -z "$ac_cxx_werror_flag"
71845                          || test ! -s conftest.err'
71846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71847   (eval $ac_try) 2>&5
71848   ac_status=$?
71849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71850   (exit $ac_status); }; } &&
71851          { ac_try='test -s conftest.$ac_objext'
71852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71853   (eval $ac_try) 2>&5
71854   ac_status=$?
71855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71856   (exit $ac_status); }; }; then
71857   glibcxx_cv_func_log10f_use=yes
71858 else
71859   echo "$as_me: failed program was:" >&5
71860 sed 's/^/| /' conftest.$ac_ext >&5
71861
71862 glibcxx_cv_func_log10f_use=no
71863 fi
71864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71865       ac_ext=c
71866 ac_cpp='$CPP $CPPFLAGS'
71867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71870
71871
71872 fi
71873
71874   fi
71875   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
71876 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
71877
71878   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
71879
71880 for ac_func in log10f
71881 do
71882 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71883 echo "$as_me:$LINENO: checking for $ac_func" >&5
71884 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71885 if eval "test \"\${$as_ac_var+set}\" = set"; then
71886   echo $ECHO_N "(cached) $ECHO_C" >&6
71887 else
71888   if test x$gcc_no_link = xyes; then
71889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71891    { (exit 1); exit 1; }; }
71892 fi
71893 cat >conftest.$ac_ext <<_ACEOF
71894 /* confdefs.h.  */
71895 _ACEOF
71896 cat confdefs.h >>conftest.$ac_ext
71897 cat >>conftest.$ac_ext <<_ACEOF
71898 /* end confdefs.h.  */
71899 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71900    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71901 #define $ac_func innocuous_$ac_func
71902
71903 /* System header to define __stub macros and hopefully few prototypes,
71904     which can conflict with char $ac_func (); below.
71905     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71906     <limits.h> exists even on freestanding compilers.  */
71907
71908 #ifdef __STDC__
71909 # include <limits.h>
71910 #else
71911 # include <assert.h>
71912 #endif
71913
71914 #undef $ac_func
71915
71916 /* Override any gcc2 internal prototype to avoid an error.  */
71917 #ifdef __cplusplus
71918 extern "C"
71919 {
71920 #endif
71921 /* We use char because int might match the return type of a gcc2
71922    builtin and then its argument prototype would still apply.  */
71923 char $ac_func ();
71924 /* The GNU C library defines this for functions which it implements
71925     to always fail with ENOSYS.  Some functions are actually named
71926     something starting with __ and the normal name is an alias.  */
71927 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71928 choke me
71929 #else
71930 char (*f) () = $ac_func;
71931 #endif
71932 #ifdef __cplusplus
71933 }
71934 #endif
71935
71936 int
71937 main ()
71938 {
71939 return f != $ac_func;
71940   ;
71941   return 0;
71942 }
71943 _ACEOF
71944 rm -f conftest.$ac_objext conftest$ac_exeext
71945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71946   (eval $ac_link) 2>conftest.er1
71947   ac_status=$?
71948   grep -v '^ *+' conftest.er1 >conftest.err
71949   rm -f conftest.er1
71950   cat conftest.err >&5
71951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71952   (exit $ac_status); } &&
71953          { ac_try='test -z "$ac_c_werror_flag"
71954                          || test ! -s conftest.err'
71955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71956   (eval $ac_try) 2>&5
71957   ac_status=$?
71958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71959   (exit $ac_status); }; } &&
71960          { ac_try='test -s conftest$ac_exeext'
71961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71962   (eval $ac_try) 2>&5
71963   ac_status=$?
71964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71965   (exit $ac_status); }; }; then
71966   eval "$as_ac_var=yes"
71967 else
71968   echo "$as_me: failed program was:" >&5
71969 sed 's/^/| /' conftest.$ac_ext >&5
71970
71971 eval "$as_ac_var=no"
71972 fi
71973 rm -f conftest.err conftest.$ac_objext \
71974       conftest$ac_exeext conftest.$ac_ext
71975 fi
71976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71977 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71978 if test `eval echo '${'$as_ac_var'}'` = yes; then
71979   cat >>confdefs.h <<_ACEOF
71980 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71981 _ACEOF
71982
71983 fi
71984 done
71985
71986   else
71987
71988   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
71989 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
71990   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
71991     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
71992   echo $ECHO_N "(cached) $ECHO_C" >&6
71993 else
71994
71995
71996
71997       ac_ext=cc
71998 ac_cpp='$CXXCPP $CPPFLAGS'
71999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72002
72003       cat >conftest.$ac_ext <<_ACEOF
72004 /* confdefs.h.  */
72005 _ACEOF
72006 cat confdefs.h >>conftest.$ac_ext
72007 cat >>conftest.$ac_ext <<_ACEOF
72008 /* end confdefs.h.  */
72009 #include <math.h>
72010                       #ifdef HAVE_IEEEFP_H
72011                       #include <ieeefp.h>
72012                       #endif
72013
72014 int
72015 main ()
72016 {
72017  _log10f(0);
72018   ;
72019   return 0;
72020 }
72021 _ACEOF
72022 rm -f conftest.$ac_objext
72023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72024   (eval $ac_compile) 2>conftest.er1
72025   ac_status=$?
72026   grep -v '^ *+' conftest.er1 >conftest.err
72027   rm -f conftest.er1
72028   cat conftest.err >&5
72029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72030   (exit $ac_status); } &&
72031          { ac_try='test -z "$ac_cxx_werror_flag"
72032                          || test ! -s conftest.err'
72033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72034   (eval $ac_try) 2>&5
72035   ac_status=$?
72036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72037   (exit $ac_status); }; } &&
72038          { ac_try='test -s conftest.$ac_objext'
72039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72040   (eval $ac_try) 2>&5
72041   ac_status=$?
72042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72043   (exit $ac_status); }; }; then
72044   glibcxx_cv_func__log10f_use=yes
72045 else
72046   echo "$as_me: failed program was:" >&5
72047 sed 's/^/| /' conftest.$ac_ext >&5
72048
72049 glibcxx_cv_func__log10f_use=no
72050 fi
72051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72052       ac_ext=c
72053 ac_cpp='$CPP $CPPFLAGS'
72054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72057
72058
72059 fi
72060
72061   fi
72062   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
72063 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
72064
72065     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
72066
72067 for ac_func in _log10f
72068 do
72069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72070 echo "$as_me:$LINENO: checking for $ac_func" >&5
72071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72072 if eval "test \"\${$as_ac_var+set}\" = set"; then
72073   echo $ECHO_N "(cached) $ECHO_C" >&6
72074 else
72075   if test x$gcc_no_link = xyes; then
72076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72078    { (exit 1); exit 1; }; }
72079 fi
72080 cat >conftest.$ac_ext <<_ACEOF
72081 /* confdefs.h.  */
72082 _ACEOF
72083 cat confdefs.h >>conftest.$ac_ext
72084 cat >>conftest.$ac_ext <<_ACEOF
72085 /* end confdefs.h.  */
72086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72087    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72088 #define $ac_func innocuous_$ac_func
72089
72090 /* System header to define __stub macros and hopefully few prototypes,
72091     which can conflict with char $ac_func (); below.
72092     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72093     <limits.h> exists even on freestanding compilers.  */
72094
72095 #ifdef __STDC__
72096 # include <limits.h>
72097 #else
72098 # include <assert.h>
72099 #endif
72100
72101 #undef $ac_func
72102
72103 /* Override any gcc2 internal prototype to avoid an error.  */
72104 #ifdef __cplusplus
72105 extern "C"
72106 {
72107 #endif
72108 /* We use char because int might match the return type of a gcc2
72109    builtin and then its argument prototype would still apply.  */
72110 char $ac_func ();
72111 /* The GNU C library defines this for functions which it implements
72112     to always fail with ENOSYS.  Some functions are actually named
72113     something starting with __ and the normal name is an alias.  */
72114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72115 choke me
72116 #else
72117 char (*f) () = $ac_func;
72118 #endif
72119 #ifdef __cplusplus
72120 }
72121 #endif
72122
72123 int
72124 main ()
72125 {
72126 return f != $ac_func;
72127   ;
72128   return 0;
72129 }
72130 _ACEOF
72131 rm -f conftest.$ac_objext conftest$ac_exeext
72132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72133   (eval $ac_link) 2>conftest.er1
72134   ac_status=$?
72135   grep -v '^ *+' conftest.er1 >conftest.err
72136   rm -f conftest.er1
72137   cat conftest.err >&5
72138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72139   (exit $ac_status); } &&
72140          { ac_try='test -z "$ac_c_werror_flag"
72141                          || test ! -s conftest.err'
72142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72143   (eval $ac_try) 2>&5
72144   ac_status=$?
72145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72146   (exit $ac_status); }; } &&
72147          { ac_try='test -s conftest$ac_exeext'
72148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72149   (eval $ac_try) 2>&5
72150   ac_status=$?
72151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72152   (exit $ac_status); }; }; then
72153   eval "$as_ac_var=yes"
72154 else
72155   echo "$as_me: failed program was:" >&5
72156 sed 's/^/| /' conftest.$ac_ext >&5
72157
72158 eval "$as_ac_var=no"
72159 fi
72160 rm -f conftest.err conftest.$ac_objext \
72161       conftest$ac_exeext conftest.$ac_ext
72162 fi
72163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72165 if test `eval echo '${'$as_ac_var'}'` = yes; then
72166   cat >>confdefs.h <<_ACEOF
72167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72168 _ACEOF
72169
72170 fi
72171 done
72172
72173     fi
72174   fi
72175
72176
72177
72178
72179
72180
72181   echo "$as_me:$LINENO: checking for modff declaration" >&5
72182 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
72183   if test x${glibcxx_cv_func_modff_use+set} != xset; then
72184     if test "${glibcxx_cv_func_modff_use+set}" = set; then
72185   echo $ECHO_N "(cached) $ECHO_C" >&6
72186 else
72187
72188
72189
72190       ac_ext=cc
72191 ac_cpp='$CXXCPP $CPPFLAGS'
72192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72195
72196       cat >conftest.$ac_ext <<_ACEOF
72197 /* confdefs.h.  */
72198 _ACEOF
72199 cat confdefs.h >>conftest.$ac_ext
72200 cat >>conftest.$ac_ext <<_ACEOF
72201 /* end confdefs.h.  */
72202 #include <math.h>
72203 int
72204 main ()
72205 {
72206  modff(0, 0);
72207   ;
72208   return 0;
72209 }
72210 _ACEOF
72211 rm -f conftest.$ac_objext
72212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72213   (eval $ac_compile) 2>conftest.er1
72214   ac_status=$?
72215   grep -v '^ *+' conftest.er1 >conftest.err
72216   rm -f conftest.er1
72217   cat conftest.err >&5
72218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72219   (exit $ac_status); } &&
72220          { ac_try='test -z "$ac_cxx_werror_flag"
72221                          || test ! -s conftest.err'
72222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72223   (eval $ac_try) 2>&5
72224   ac_status=$?
72225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72226   (exit $ac_status); }; } &&
72227          { ac_try='test -s conftest.$ac_objext'
72228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72229   (eval $ac_try) 2>&5
72230   ac_status=$?
72231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72232   (exit $ac_status); }; }; then
72233   glibcxx_cv_func_modff_use=yes
72234 else
72235   echo "$as_me: failed program was:" >&5
72236 sed 's/^/| /' conftest.$ac_ext >&5
72237
72238 glibcxx_cv_func_modff_use=no
72239 fi
72240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72241       ac_ext=c
72242 ac_cpp='$CPP $CPPFLAGS'
72243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72246
72247
72248 fi
72249
72250   fi
72251   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
72252 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
72253
72254   if test x$glibcxx_cv_func_modff_use = x"yes"; then
72255
72256 for ac_func in modff
72257 do
72258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72259 echo "$as_me:$LINENO: checking for $ac_func" >&5
72260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72261 if eval "test \"\${$as_ac_var+set}\" = set"; then
72262   echo $ECHO_N "(cached) $ECHO_C" >&6
72263 else
72264   if test x$gcc_no_link = xyes; then
72265   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72267    { (exit 1); exit 1; }; }
72268 fi
72269 cat >conftest.$ac_ext <<_ACEOF
72270 /* confdefs.h.  */
72271 _ACEOF
72272 cat confdefs.h >>conftest.$ac_ext
72273 cat >>conftest.$ac_ext <<_ACEOF
72274 /* end confdefs.h.  */
72275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72276    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72277 #define $ac_func innocuous_$ac_func
72278
72279 /* System header to define __stub macros and hopefully few prototypes,
72280     which can conflict with char $ac_func (); below.
72281     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72282     <limits.h> exists even on freestanding compilers.  */
72283
72284 #ifdef __STDC__
72285 # include <limits.h>
72286 #else
72287 # include <assert.h>
72288 #endif
72289
72290 #undef $ac_func
72291
72292 /* Override any gcc2 internal prototype to avoid an error.  */
72293 #ifdef __cplusplus
72294 extern "C"
72295 {
72296 #endif
72297 /* We use char because int might match the return type of a gcc2
72298    builtin and then its argument prototype would still apply.  */
72299 char $ac_func ();
72300 /* The GNU C library defines this for functions which it implements
72301     to always fail with ENOSYS.  Some functions are actually named
72302     something starting with __ and the normal name is an alias.  */
72303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72304 choke me
72305 #else
72306 char (*f) () = $ac_func;
72307 #endif
72308 #ifdef __cplusplus
72309 }
72310 #endif
72311
72312 int
72313 main ()
72314 {
72315 return f != $ac_func;
72316   ;
72317   return 0;
72318 }
72319 _ACEOF
72320 rm -f conftest.$ac_objext conftest$ac_exeext
72321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72322   (eval $ac_link) 2>conftest.er1
72323   ac_status=$?
72324   grep -v '^ *+' conftest.er1 >conftest.err
72325   rm -f conftest.er1
72326   cat conftest.err >&5
72327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72328   (exit $ac_status); } &&
72329          { ac_try='test -z "$ac_c_werror_flag"
72330                          || test ! -s conftest.err'
72331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72332   (eval $ac_try) 2>&5
72333   ac_status=$?
72334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72335   (exit $ac_status); }; } &&
72336          { ac_try='test -s conftest$ac_exeext'
72337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72338   (eval $ac_try) 2>&5
72339   ac_status=$?
72340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72341   (exit $ac_status); }; }; then
72342   eval "$as_ac_var=yes"
72343 else
72344   echo "$as_me: failed program was:" >&5
72345 sed 's/^/| /' conftest.$ac_ext >&5
72346
72347 eval "$as_ac_var=no"
72348 fi
72349 rm -f conftest.err conftest.$ac_objext \
72350       conftest$ac_exeext conftest.$ac_ext
72351 fi
72352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72354 if test `eval echo '${'$as_ac_var'}'` = yes; then
72355   cat >>confdefs.h <<_ACEOF
72356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72357 _ACEOF
72358
72359 fi
72360 done
72361
72362   else
72363
72364   echo "$as_me:$LINENO: checking for _modff declaration" >&5
72365 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
72366   if test x${glibcxx_cv_func__modff_use+set} != xset; then
72367     if test "${glibcxx_cv_func__modff_use+set}" = set; then
72368   echo $ECHO_N "(cached) $ECHO_C" >&6
72369 else
72370
72371
72372
72373       ac_ext=cc
72374 ac_cpp='$CXXCPP $CPPFLAGS'
72375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72378
72379       cat >conftest.$ac_ext <<_ACEOF
72380 /* confdefs.h.  */
72381 _ACEOF
72382 cat confdefs.h >>conftest.$ac_ext
72383 cat >>conftest.$ac_ext <<_ACEOF
72384 /* end confdefs.h.  */
72385 #include <math.h>
72386 int
72387 main ()
72388 {
72389  _modff(0, 0);
72390   ;
72391   return 0;
72392 }
72393 _ACEOF
72394 rm -f conftest.$ac_objext
72395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72396   (eval $ac_compile) 2>conftest.er1
72397   ac_status=$?
72398   grep -v '^ *+' conftest.er1 >conftest.err
72399   rm -f conftest.er1
72400   cat conftest.err >&5
72401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72402   (exit $ac_status); } &&
72403          { ac_try='test -z "$ac_cxx_werror_flag"
72404                          || test ! -s conftest.err'
72405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72406   (eval $ac_try) 2>&5
72407   ac_status=$?
72408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72409   (exit $ac_status); }; } &&
72410          { ac_try='test -s conftest.$ac_objext'
72411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72412   (eval $ac_try) 2>&5
72413   ac_status=$?
72414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72415   (exit $ac_status); }; }; then
72416   glibcxx_cv_func__modff_use=yes
72417 else
72418   echo "$as_me: failed program was:" >&5
72419 sed 's/^/| /' conftest.$ac_ext >&5
72420
72421 glibcxx_cv_func__modff_use=no
72422 fi
72423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72424       ac_ext=c
72425 ac_cpp='$CPP $CPPFLAGS'
72426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72429
72430
72431 fi
72432
72433   fi
72434   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
72435 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
72436
72437     if test x$glibcxx_cv_func__modff_use = x"yes"; then
72438
72439 for ac_func in _modff
72440 do
72441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72442 echo "$as_me:$LINENO: checking for $ac_func" >&5
72443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72444 if eval "test \"\${$as_ac_var+set}\" = set"; then
72445   echo $ECHO_N "(cached) $ECHO_C" >&6
72446 else
72447   if test x$gcc_no_link = xyes; then
72448   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72450    { (exit 1); exit 1; }; }
72451 fi
72452 cat >conftest.$ac_ext <<_ACEOF
72453 /* confdefs.h.  */
72454 _ACEOF
72455 cat confdefs.h >>conftest.$ac_ext
72456 cat >>conftest.$ac_ext <<_ACEOF
72457 /* end confdefs.h.  */
72458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72459    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72460 #define $ac_func innocuous_$ac_func
72461
72462 /* System header to define __stub macros and hopefully few prototypes,
72463     which can conflict with char $ac_func (); below.
72464     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72465     <limits.h> exists even on freestanding compilers.  */
72466
72467 #ifdef __STDC__
72468 # include <limits.h>
72469 #else
72470 # include <assert.h>
72471 #endif
72472
72473 #undef $ac_func
72474
72475 /* Override any gcc2 internal prototype to avoid an error.  */
72476 #ifdef __cplusplus
72477 extern "C"
72478 {
72479 #endif
72480 /* We use char because int might match the return type of a gcc2
72481    builtin and then its argument prototype would still apply.  */
72482 char $ac_func ();
72483 /* The GNU C library defines this for functions which it implements
72484     to always fail with ENOSYS.  Some functions are actually named
72485     something starting with __ and the normal name is an alias.  */
72486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72487 choke me
72488 #else
72489 char (*f) () = $ac_func;
72490 #endif
72491 #ifdef __cplusplus
72492 }
72493 #endif
72494
72495 int
72496 main ()
72497 {
72498 return f != $ac_func;
72499   ;
72500   return 0;
72501 }
72502 _ACEOF
72503 rm -f conftest.$ac_objext conftest$ac_exeext
72504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72505   (eval $ac_link) 2>conftest.er1
72506   ac_status=$?
72507   grep -v '^ *+' conftest.er1 >conftest.err
72508   rm -f conftest.er1
72509   cat conftest.err >&5
72510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72511   (exit $ac_status); } &&
72512          { ac_try='test -z "$ac_c_werror_flag"
72513                          || test ! -s conftest.err'
72514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72515   (eval $ac_try) 2>&5
72516   ac_status=$?
72517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72518   (exit $ac_status); }; } &&
72519          { ac_try='test -s conftest$ac_exeext'
72520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72521   (eval $ac_try) 2>&5
72522   ac_status=$?
72523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72524   (exit $ac_status); }; }; then
72525   eval "$as_ac_var=yes"
72526 else
72527   echo "$as_me: failed program was:" >&5
72528 sed 's/^/| /' conftest.$ac_ext >&5
72529
72530 eval "$as_ac_var=no"
72531 fi
72532 rm -f conftest.err conftest.$ac_objext \
72533       conftest$ac_exeext conftest.$ac_ext
72534 fi
72535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72537 if test `eval echo '${'$as_ac_var'}'` = yes; then
72538   cat >>confdefs.h <<_ACEOF
72539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72540 _ACEOF
72541
72542 fi
72543 done
72544
72545     fi
72546   fi
72547
72548
72549
72550
72551
72552
72553   echo "$as_me:$LINENO: checking for modf declaration" >&5
72554 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
72555   if test x${glibcxx_cv_func_modf_use+set} != xset; then
72556     if test "${glibcxx_cv_func_modf_use+set}" = set; then
72557   echo $ECHO_N "(cached) $ECHO_C" >&6
72558 else
72559
72560
72561
72562       ac_ext=cc
72563 ac_cpp='$CXXCPP $CPPFLAGS'
72564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72567
72568       cat >conftest.$ac_ext <<_ACEOF
72569 /* confdefs.h.  */
72570 _ACEOF
72571 cat confdefs.h >>conftest.$ac_ext
72572 cat >>conftest.$ac_ext <<_ACEOF
72573 /* end confdefs.h.  */
72574 #include <math.h>
72575 int
72576 main ()
72577 {
72578  modf(0, 0);
72579   ;
72580   return 0;
72581 }
72582 _ACEOF
72583 rm -f conftest.$ac_objext
72584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72585   (eval $ac_compile) 2>conftest.er1
72586   ac_status=$?
72587   grep -v '^ *+' conftest.er1 >conftest.err
72588   rm -f conftest.er1
72589   cat conftest.err >&5
72590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72591   (exit $ac_status); } &&
72592          { ac_try='test -z "$ac_cxx_werror_flag"
72593                          || test ! -s conftest.err'
72594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72595   (eval $ac_try) 2>&5
72596   ac_status=$?
72597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72598   (exit $ac_status); }; } &&
72599          { ac_try='test -s conftest.$ac_objext'
72600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72601   (eval $ac_try) 2>&5
72602   ac_status=$?
72603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72604   (exit $ac_status); }; }; then
72605   glibcxx_cv_func_modf_use=yes
72606 else
72607   echo "$as_me: failed program was:" >&5
72608 sed 's/^/| /' conftest.$ac_ext >&5
72609
72610 glibcxx_cv_func_modf_use=no
72611 fi
72612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72613       ac_ext=c
72614 ac_cpp='$CPP $CPPFLAGS'
72615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72618
72619
72620 fi
72621
72622   fi
72623   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
72624 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
72625
72626   if test x$glibcxx_cv_func_modf_use = x"yes"; then
72627
72628 for ac_func in modf
72629 do
72630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72631 echo "$as_me:$LINENO: checking for $ac_func" >&5
72632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72633 if eval "test \"\${$as_ac_var+set}\" = set"; then
72634   echo $ECHO_N "(cached) $ECHO_C" >&6
72635 else
72636   if test x$gcc_no_link = xyes; then
72637   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72639    { (exit 1); exit 1; }; }
72640 fi
72641 cat >conftest.$ac_ext <<_ACEOF
72642 /* confdefs.h.  */
72643 _ACEOF
72644 cat confdefs.h >>conftest.$ac_ext
72645 cat >>conftest.$ac_ext <<_ACEOF
72646 /* end confdefs.h.  */
72647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72648    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72649 #define $ac_func innocuous_$ac_func
72650
72651 /* System header to define __stub macros and hopefully few prototypes,
72652     which can conflict with char $ac_func (); below.
72653     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72654     <limits.h> exists even on freestanding compilers.  */
72655
72656 #ifdef __STDC__
72657 # include <limits.h>
72658 #else
72659 # include <assert.h>
72660 #endif
72661
72662 #undef $ac_func
72663
72664 /* Override any gcc2 internal prototype to avoid an error.  */
72665 #ifdef __cplusplus
72666 extern "C"
72667 {
72668 #endif
72669 /* We use char because int might match the return type of a gcc2
72670    builtin and then its argument prototype would still apply.  */
72671 char $ac_func ();
72672 /* The GNU C library defines this for functions which it implements
72673     to always fail with ENOSYS.  Some functions are actually named
72674     something starting with __ and the normal name is an alias.  */
72675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72676 choke me
72677 #else
72678 char (*f) () = $ac_func;
72679 #endif
72680 #ifdef __cplusplus
72681 }
72682 #endif
72683
72684 int
72685 main ()
72686 {
72687 return f != $ac_func;
72688   ;
72689   return 0;
72690 }
72691 _ACEOF
72692 rm -f conftest.$ac_objext conftest$ac_exeext
72693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72694   (eval $ac_link) 2>conftest.er1
72695   ac_status=$?
72696   grep -v '^ *+' conftest.er1 >conftest.err
72697   rm -f conftest.er1
72698   cat conftest.err >&5
72699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72700   (exit $ac_status); } &&
72701          { ac_try='test -z "$ac_c_werror_flag"
72702                          || test ! -s conftest.err'
72703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72704   (eval $ac_try) 2>&5
72705   ac_status=$?
72706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72707   (exit $ac_status); }; } &&
72708          { ac_try='test -s conftest$ac_exeext'
72709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72710   (eval $ac_try) 2>&5
72711   ac_status=$?
72712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72713   (exit $ac_status); }; }; then
72714   eval "$as_ac_var=yes"
72715 else
72716   echo "$as_me: failed program was:" >&5
72717 sed 's/^/| /' conftest.$ac_ext >&5
72718
72719 eval "$as_ac_var=no"
72720 fi
72721 rm -f conftest.err conftest.$ac_objext \
72722       conftest$ac_exeext conftest.$ac_ext
72723 fi
72724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72726 if test `eval echo '${'$as_ac_var'}'` = yes; then
72727   cat >>confdefs.h <<_ACEOF
72728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72729 _ACEOF
72730
72731 fi
72732 done
72733
72734   else
72735
72736   echo "$as_me:$LINENO: checking for _modf declaration" >&5
72737 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
72738   if test x${glibcxx_cv_func__modf_use+set} != xset; then
72739     if test "${glibcxx_cv_func__modf_use+set}" = set; then
72740   echo $ECHO_N "(cached) $ECHO_C" >&6
72741 else
72742
72743
72744
72745       ac_ext=cc
72746 ac_cpp='$CXXCPP $CPPFLAGS'
72747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72750
72751       cat >conftest.$ac_ext <<_ACEOF
72752 /* confdefs.h.  */
72753 _ACEOF
72754 cat confdefs.h >>conftest.$ac_ext
72755 cat >>conftest.$ac_ext <<_ACEOF
72756 /* end confdefs.h.  */
72757 #include <math.h>
72758 int
72759 main ()
72760 {
72761  _modf(0, 0);
72762   ;
72763   return 0;
72764 }
72765 _ACEOF
72766 rm -f conftest.$ac_objext
72767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72768   (eval $ac_compile) 2>conftest.er1
72769   ac_status=$?
72770   grep -v '^ *+' conftest.er1 >conftest.err
72771   rm -f conftest.er1
72772   cat conftest.err >&5
72773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72774   (exit $ac_status); } &&
72775          { ac_try='test -z "$ac_cxx_werror_flag"
72776                          || test ! -s conftest.err'
72777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72778   (eval $ac_try) 2>&5
72779   ac_status=$?
72780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72781   (exit $ac_status); }; } &&
72782          { ac_try='test -s conftest.$ac_objext'
72783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72784   (eval $ac_try) 2>&5
72785   ac_status=$?
72786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72787   (exit $ac_status); }; }; then
72788   glibcxx_cv_func__modf_use=yes
72789 else
72790   echo "$as_me: failed program was:" >&5
72791 sed 's/^/| /' conftest.$ac_ext >&5
72792
72793 glibcxx_cv_func__modf_use=no
72794 fi
72795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72796       ac_ext=c
72797 ac_cpp='$CPP $CPPFLAGS'
72798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72801
72802
72803 fi
72804
72805   fi
72806   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
72807 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
72808
72809     if test x$glibcxx_cv_func__modf_use = x"yes"; then
72810
72811 for ac_func in _modf
72812 do
72813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72814 echo "$as_me:$LINENO: checking for $ac_func" >&5
72815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72816 if eval "test \"\${$as_ac_var+set}\" = set"; then
72817   echo $ECHO_N "(cached) $ECHO_C" >&6
72818 else
72819   if test x$gcc_no_link = xyes; then
72820   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72822    { (exit 1); exit 1; }; }
72823 fi
72824 cat >conftest.$ac_ext <<_ACEOF
72825 /* confdefs.h.  */
72826 _ACEOF
72827 cat confdefs.h >>conftest.$ac_ext
72828 cat >>conftest.$ac_ext <<_ACEOF
72829 /* end confdefs.h.  */
72830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72831    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72832 #define $ac_func innocuous_$ac_func
72833
72834 /* System header to define __stub macros and hopefully few prototypes,
72835     which can conflict with char $ac_func (); below.
72836     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72837     <limits.h> exists even on freestanding compilers.  */
72838
72839 #ifdef __STDC__
72840 # include <limits.h>
72841 #else
72842 # include <assert.h>
72843 #endif
72844
72845 #undef $ac_func
72846
72847 /* Override any gcc2 internal prototype to avoid an error.  */
72848 #ifdef __cplusplus
72849 extern "C"
72850 {
72851 #endif
72852 /* We use char because int might match the return type of a gcc2
72853    builtin and then its argument prototype would still apply.  */
72854 char $ac_func ();
72855 /* The GNU C library defines this for functions which it implements
72856     to always fail with ENOSYS.  Some functions are actually named
72857     something starting with __ and the normal name is an alias.  */
72858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72859 choke me
72860 #else
72861 char (*f) () = $ac_func;
72862 #endif
72863 #ifdef __cplusplus
72864 }
72865 #endif
72866
72867 int
72868 main ()
72869 {
72870 return f != $ac_func;
72871   ;
72872   return 0;
72873 }
72874 _ACEOF
72875 rm -f conftest.$ac_objext conftest$ac_exeext
72876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72877   (eval $ac_link) 2>conftest.er1
72878   ac_status=$?
72879   grep -v '^ *+' conftest.er1 >conftest.err
72880   rm -f conftest.er1
72881   cat conftest.err >&5
72882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72883   (exit $ac_status); } &&
72884          { ac_try='test -z "$ac_c_werror_flag"
72885                          || test ! -s conftest.err'
72886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72887   (eval $ac_try) 2>&5
72888   ac_status=$?
72889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72890   (exit $ac_status); }; } &&
72891          { ac_try='test -s conftest$ac_exeext'
72892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72893   (eval $ac_try) 2>&5
72894   ac_status=$?
72895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72896   (exit $ac_status); }; }; then
72897   eval "$as_ac_var=yes"
72898 else
72899   echo "$as_me: failed program was:" >&5
72900 sed 's/^/| /' conftest.$ac_ext >&5
72901
72902 eval "$as_ac_var=no"
72903 fi
72904 rm -f conftest.err conftest.$ac_objext \
72905       conftest$ac_exeext conftest.$ac_ext
72906 fi
72907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72909 if test `eval echo '${'$as_ac_var'}'` = yes; then
72910   cat >>confdefs.h <<_ACEOF
72911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72912 _ACEOF
72913
72914 fi
72915 done
72916
72917     fi
72918   fi
72919
72920
72921
72922
72923
72924
72925   echo "$as_me:$LINENO: checking for powf declaration" >&5
72926 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
72927   if test x${glibcxx_cv_func_powf_use+set} != xset; then
72928     if test "${glibcxx_cv_func_powf_use+set}" = set; then
72929   echo $ECHO_N "(cached) $ECHO_C" >&6
72930 else
72931
72932
72933
72934       ac_ext=cc
72935 ac_cpp='$CXXCPP $CPPFLAGS'
72936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72939
72940       cat >conftest.$ac_ext <<_ACEOF
72941 /* confdefs.h.  */
72942 _ACEOF
72943 cat confdefs.h >>conftest.$ac_ext
72944 cat >>conftest.$ac_ext <<_ACEOF
72945 /* end confdefs.h.  */
72946 #include <math.h>
72947 int
72948 main ()
72949 {
72950  powf(0, 0);
72951   ;
72952   return 0;
72953 }
72954 _ACEOF
72955 rm -f conftest.$ac_objext
72956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72957   (eval $ac_compile) 2>conftest.er1
72958   ac_status=$?
72959   grep -v '^ *+' conftest.er1 >conftest.err
72960   rm -f conftest.er1
72961   cat conftest.err >&5
72962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72963   (exit $ac_status); } &&
72964          { ac_try='test -z "$ac_cxx_werror_flag"
72965                          || test ! -s conftest.err'
72966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72967   (eval $ac_try) 2>&5
72968   ac_status=$?
72969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72970   (exit $ac_status); }; } &&
72971          { ac_try='test -s conftest.$ac_objext'
72972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72973   (eval $ac_try) 2>&5
72974   ac_status=$?
72975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72976   (exit $ac_status); }; }; then
72977   glibcxx_cv_func_powf_use=yes
72978 else
72979   echo "$as_me: failed program was:" >&5
72980 sed 's/^/| /' conftest.$ac_ext >&5
72981
72982 glibcxx_cv_func_powf_use=no
72983 fi
72984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72985       ac_ext=c
72986 ac_cpp='$CPP $CPPFLAGS'
72987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72990
72991
72992 fi
72993
72994   fi
72995   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
72996 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
72997
72998   if test x$glibcxx_cv_func_powf_use = x"yes"; then
72999
73000 for ac_func in powf
73001 do
73002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73003 echo "$as_me:$LINENO: checking for $ac_func" >&5
73004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73005 if eval "test \"\${$as_ac_var+set}\" = set"; then
73006   echo $ECHO_N "(cached) $ECHO_C" >&6
73007 else
73008   if test x$gcc_no_link = xyes; then
73009   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73011    { (exit 1); exit 1; }; }
73012 fi
73013 cat >conftest.$ac_ext <<_ACEOF
73014 /* confdefs.h.  */
73015 _ACEOF
73016 cat confdefs.h >>conftest.$ac_ext
73017 cat >>conftest.$ac_ext <<_ACEOF
73018 /* end confdefs.h.  */
73019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73020    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73021 #define $ac_func innocuous_$ac_func
73022
73023 /* System header to define __stub macros and hopefully few prototypes,
73024     which can conflict with char $ac_func (); below.
73025     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73026     <limits.h> exists even on freestanding compilers.  */
73027
73028 #ifdef __STDC__
73029 # include <limits.h>
73030 #else
73031 # include <assert.h>
73032 #endif
73033
73034 #undef $ac_func
73035
73036 /* Override any gcc2 internal prototype to avoid an error.  */
73037 #ifdef __cplusplus
73038 extern "C"
73039 {
73040 #endif
73041 /* We use char because int might match the return type of a gcc2
73042    builtin and then its argument prototype would still apply.  */
73043 char $ac_func ();
73044 /* The GNU C library defines this for functions which it implements
73045     to always fail with ENOSYS.  Some functions are actually named
73046     something starting with __ and the normal name is an alias.  */
73047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73048 choke me
73049 #else
73050 char (*f) () = $ac_func;
73051 #endif
73052 #ifdef __cplusplus
73053 }
73054 #endif
73055
73056 int
73057 main ()
73058 {
73059 return f != $ac_func;
73060   ;
73061   return 0;
73062 }
73063 _ACEOF
73064 rm -f conftest.$ac_objext conftest$ac_exeext
73065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73066   (eval $ac_link) 2>conftest.er1
73067   ac_status=$?
73068   grep -v '^ *+' conftest.er1 >conftest.err
73069   rm -f conftest.er1
73070   cat conftest.err >&5
73071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73072   (exit $ac_status); } &&
73073          { ac_try='test -z "$ac_c_werror_flag"
73074                          || test ! -s conftest.err'
73075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73076   (eval $ac_try) 2>&5
73077   ac_status=$?
73078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73079   (exit $ac_status); }; } &&
73080          { ac_try='test -s conftest$ac_exeext'
73081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73082   (eval $ac_try) 2>&5
73083   ac_status=$?
73084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73085   (exit $ac_status); }; }; then
73086   eval "$as_ac_var=yes"
73087 else
73088   echo "$as_me: failed program was:" >&5
73089 sed 's/^/| /' conftest.$ac_ext >&5
73090
73091 eval "$as_ac_var=no"
73092 fi
73093 rm -f conftest.err conftest.$ac_objext \
73094       conftest$ac_exeext conftest.$ac_ext
73095 fi
73096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73098 if test `eval echo '${'$as_ac_var'}'` = yes; then
73099   cat >>confdefs.h <<_ACEOF
73100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73101 _ACEOF
73102
73103 fi
73104 done
73105
73106   else
73107
73108   echo "$as_me:$LINENO: checking for _powf declaration" >&5
73109 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
73110   if test x${glibcxx_cv_func__powf_use+set} != xset; then
73111     if test "${glibcxx_cv_func__powf_use+set}" = set; then
73112   echo $ECHO_N "(cached) $ECHO_C" >&6
73113 else
73114
73115
73116
73117       ac_ext=cc
73118 ac_cpp='$CXXCPP $CPPFLAGS'
73119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73122
73123       cat >conftest.$ac_ext <<_ACEOF
73124 /* confdefs.h.  */
73125 _ACEOF
73126 cat confdefs.h >>conftest.$ac_ext
73127 cat >>conftest.$ac_ext <<_ACEOF
73128 /* end confdefs.h.  */
73129 #include <math.h>
73130 int
73131 main ()
73132 {
73133  _powf(0, 0);
73134   ;
73135   return 0;
73136 }
73137 _ACEOF
73138 rm -f conftest.$ac_objext
73139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73140   (eval $ac_compile) 2>conftest.er1
73141   ac_status=$?
73142   grep -v '^ *+' conftest.er1 >conftest.err
73143   rm -f conftest.er1
73144   cat conftest.err >&5
73145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73146   (exit $ac_status); } &&
73147          { ac_try='test -z "$ac_cxx_werror_flag"
73148                          || test ! -s conftest.err'
73149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73150   (eval $ac_try) 2>&5
73151   ac_status=$?
73152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73153   (exit $ac_status); }; } &&
73154          { ac_try='test -s conftest.$ac_objext'
73155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73156   (eval $ac_try) 2>&5
73157   ac_status=$?
73158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73159   (exit $ac_status); }; }; then
73160   glibcxx_cv_func__powf_use=yes
73161 else
73162   echo "$as_me: failed program was:" >&5
73163 sed 's/^/| /' conftest.$ac_ext >&5
73164
73165 glibcxx_cv_func__powf_use=no
73166 fi
73167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73168       ac_ext=c
73169 ac_cpp='$CPP $CPPFLAGS'
73170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73173
73174
73175 fi
73176
73177   fi
73178   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
73179 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
73180
73181     if test x$glibcxx_cv_func__powf_use = x"yes"; then
73182
73183 for ac_func in _powf
73184 do
73185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73186 echo "$as_me:$LINENO: checking for $ac_func" >&5
73187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73188 if eval "test \"\${$as_ac_var+set}\" = set"; then
73189   echo $ECHO_N "(cached) $ECHO_C" >&6
73190 else
73191   if test x$gcc_no_link = xyes; then
73192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73194    { (exit 1); exit 1; }; }
73195 fi
73196 cat >conftest.$ac_ext <<_ACEOF
73197 /* confdefs.h.  */
73198 _ACEOF
73199 cat confdefs.h >>conftest.$ac_ext
73200 cat >>conftest.$ac_ext <<_ACEOF
73201 /* end confdefs.h.  */
73202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73204 #define $ac_func innocuous_$ac_func
73205
73206 /* System header to define __stub macros and hopefully few prototypes,
73207     which can conflict with char $ac_func (); below.
73208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73209     <limits.h> exists even on freestanding compilers.  */
73210
73211 #ifdef __STDC__
73212 # include <limits.h>
73213 #else
73214 # include <assert.h>
73215 #endif
73216
73217 #undef $ac_func
73218
73219 /* Override any gcc2 internal prototype to avoid an error.  */
73220 #ifdef __cplusplus
73221 extern "C"
73222 {
73223 #endif
73224 /* We use char because int might match the return type of a gcc2
73225    builtin and then its argument prototype would still apply.  */
73226 char $ac_func ();
73227 /* The GNU C library defines this for functions which it implements
73228     to always fail with ENOSYS.  Some functions are actually named
73229     something starting with __ and the normal name is an alias.  */
73230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73231 choke me
73232 #else
73233 char (*f) () = $ac_func;
73234 #endif
73235 #ifdef __cplusplus
73236 }
73237 #endif
73238
73239 int
73240 main ()
73241 {
73242 return f != $ac_func;
73243   ;
73244   return 0;
73245 }
73246 _ACEOF
73247 rm -f conftest.$ac_objext conftest$ac_exeext
73248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73249   (eval $ac_link) 2>conftest.er1
73250   ac_status=$?
73251   grep -v '^ *+' conftest.er1 >conftest.err
73252   rm -f conftest.er1
73253   cat conftest.err >&5
73254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73255   (exit $ac_status); } &&
73256          { ac_try='test -z "$ac_c_werror_flag"
73257                          || test ! -s conftest.err'
73258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73259   (eval $ac_try) 2>&5
73260   ac_status=$?
73261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73262   (exit $ac_status); }; } &&
73263          { ac_try='test -s conftest$ac_exeext'
73264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73265   (eval $ac_try) 2>&5
73266   ac_status=$?
73267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73268   (exit $ac_status); }; }; then
73269   eval "$as_ac_var=yes"
73270 else
73271   echo "$as_me: failed program was:" >&5
73272 sed 's/^/| /' conftest.$ac_ext >&5
73273
73274 eval "$as_ac_var=no"
73275 fi
73276 rm -f conftest.err conftest.$ac_objext \
73277       conftest$ac_exeext conftest.$ac_ext
73278 fi
73279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73281 if test `eval echo '${'$as_ac_var'}'` = yes; then
73282   cat >>confdefs.h <<_ACEOF
73283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73284 _ACEOF
73285
73286 fi
73287 done
73288
73289     fi
73290   fi
73291
73292
73293
73294
73295
73296
73297   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
73298 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
73299   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
73300     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
73301   echo $ECHO_N "(cached) $ECHO_C" >&6
73302 else
73303
73304
73305
73306       ac_ext=cc
73307 ac_cpp='$CXXCPP $CPPFLAGS'
73308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73311
73312       cat >conftest.$ac_ext <<_ACEOF
73313 /* confdefs.h.  */
73314 _ACEOF
73315 cat confdefs.h >>conftest.$ac_ext
73316 cat >>conftest.$ac_ext <<_ACEOF
73317 /* end confdefs.h.  */
73318 #include <math.h>
73319                       #ifdef HAVE_IEEEFP_H
73320                       #include <ieeefp.h>
73321                       #endif
73322
73323 int
73324 main ()
73325 {
73326  sqrtf(0);
73327   ;
73328   return 0;
73329 }
73330 _ACEOF
73331 rm -f conftest.$ac_objext
73332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73333   (eval $ac_compile) 2>conftest.er1
73334   ac_status=$?
73335   grep -v '^ *+' conftest.er1 >conftest.err
73336   rm -f conftest.er1
73337   cat conftest.err >&5
73338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73339   (exit $ac_status); } &&
73340          { ac_try='test -z "$ac_cxx_werror_flag"
73341                          || test ! -s conftest.err'
73342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73343   (eval $ac_try) 2>&5
73344   ac_status=$?
73345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73346   (exit $ac_status); }; } &&
73347          { ac_try='test -s conftest.$ac_objext'
73348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73349   (eval $ac_try) 2>&5
73350   ac_status=$?
73351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73352   (exit $ac_status); }; }; then
73353   glibcxx_cv_func_sqrtf_use=yes
73354 else
73355   echo "$as_me: failed program was:" >&5
73356 sed 's/^/| /' conftest.$ac_ext >&5
73357
73358 glibcxx_cv_func_sqrtf_use=no
73359 fi
73360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73361       ac_ext=c
73362 ac_cpp='$CPP $CPPFLAGS'
73363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73366
73367
73368 fi
73369
73370   fi
73371   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
73372 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
73373
73374   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
73375
73376 for ac_func in sqrtf
73377 do
73378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73379 echo "$as_me:$LINENO: checking for $ac_func" >&5
73380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73381 if eval "test \"\${$as_ac_var+set}\" = set"; then
73382   echo $ECHO_N "(cached) $ECHO_C" >&6
73383 else
73384   if test x$gcc_no_link = xyes; then
73385   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73387    { (exit 1); exit 1; }; }
73388 fi
73389 cat >conftest.$ac_ext <<_ACEOF
73390 /* confdefs.h.  */
73391 _ACEOF
73392 cat confdefs.h >>conftest.$ac_ext
73393 cat >>conftest.$ac_ext <<_ACEOF
73394 /* end confdefs.h.  */
73395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73396    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73397 #define $ac_func innocuous_$ac_func
73398
73399 /* System header to define __stub macros and hopefully few prototypes,
73400     which can conflict with char $ac_func (); below.
73401     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73402     <limits.h> exists even on freestanding compilers.  */
73403
73404 #ifdef __STDC__
73405 # include <limits.h>
73406 #else
73407 # include <assert.h>
73408 #endif
73409
73410 #undef $ac_func
73411
73412 /* Override any gcc2 internal prototype to avoid an error.  */
73413 #ifdef __cplusplus
73414 extern "C"
73415 {
73416 #endif
73417 /* We use char because int might match the return type of a gcc2
73418    builtin and then its argument prototype would still apply.  */
73419 char $ac_func ();
73420 /* The GNU C library defines this for functions which it implements
73421     to always fail with ENOSYS.  Some functions are actually named
73422     something starting with __ and the normal name is an alias.  */
73423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73424 choke me
73425 #else
73426 char (*f) () = $ac_func;
73427 #endif
73428 #ifdef __cplusplus
73429 }
73430 #endif
73431
73432 int
73433 main ()
73434 {
73435 return f != $ac_func;
73436   ;
73437   return 0;
73438 }
73439 _ACEOF
73440 rm -f conftest.$ac_objext conftest$ac_exeext
73441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73442   (eval $ac_link) 2>conftest.er1
73443   ac_status=$?
73444   grep -v '^ *+' conftest.er1 >conftest.err
73445   rm -f conftest.er1
73446   cat conftest.err >&5
73447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73448   (exit $ac_status); } &&
73449          { ac_try='test -z "$ac_c_werror_flag"
73450                          || test ! -s conftest.err'
73451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73452   (eval $ac_try) 2>&5
73453   ac_status=$?
73454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73455   (exit $ac_status); }; } &&
73456          { ac_try='test -s conftest$ac_exeext'
73457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73458   (eval $ac_try) 2>&5
73459   ac_status=$?
73460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73461   (exit $ac_status); }; }; then
73462   eval "$as_ac_var=yes"
73463 else
73464   echo "$as_me: failed program was:" >&5
73465 sed 's/^/| /' conftest.$ac_ext >&5
73466
73467 eval "$as_ac_var=no"
73468 fi
73469 rm -f conftest.err conftest.$ac_objext \
73470       conftest$ac_exeext conftest.$ac_ext
73471 fi
73472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73473 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73474 if test `eval echo '${'$as_ac_var'}'` = yes; then
73475   cat >>confdefs.h <<_ACEOF
73476 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73477 _ACEOF
73478
73479 fi
73480 done
73481
73482   else
73483
73484   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
73485 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
73486   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
73487     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
73488   echo $ECHO_N "(cached) $ECHO_C" >&6
73489 else
73490
73491
73492
73493       ac_ext=cc
73494 ac_cpp='$CXXCPP $CPPFLAGS'
73495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73498
73499       cat >conftest.$ac_ext <<_ACEOF
73500 /* confdefs.h.  */
73501 _ACEOF
73502 cat confdefs.h >>conftest.$ac_ext
73503 cat >>conftest.$ac_ext <<_ACEOF
73504 /* end confdefs.h.  */
73505 #include <math.h>
73506                       #ifdef HAVE_IEEEFP_H
73507                       #include <ieeefp.h>
73508                       #endif
73509
73510 int
73511 main ()
73512 {
73513  _sqrtf(0);
73514   ;
73515   return 0;
73516 }
73517 _ACEOF
73518 rm -f conftest.$ac_objext
73519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73520   (eval $ac_compile) 2>conftest.er1
73521   ac_status=$?
73522   grep -v '^ *+' conftest.er1 >conftest.err
73523   rm -f conftest.er1
73524   cat conftest.err >&5
73525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73526   (exit $ac_status); } &&
73527          { ac_try='test -z "$ac_cxx_werror_flag"
73528                          || test ! -s conftest.err'
73529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73530   (eval $ac_try) 2>&5
73531   ac_status=$?
73532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73533   (exit $ac_status); }; } &&
73534          { ac_try='test -s conftest.$ac_objext'
73535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73536   (eval $ac_try) 2>&5
73537   ac_status=$?
73538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73539   (exit $ac_status); }; }; then
73540   glibcxx_cv_func__sqrtf_use=yes
73541 else
73542   echo "$as_me: failed program was:" >&5
73543 sed 's/^/| /' conftest.$ac_ext >&5
73544
73545 glibcxx_cv_func__sqrtf_use=no
73546 fi
73547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73548       ac_ext=c
73549 ac_cpp='$CPP $CPPFLAGS'
73550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73553
73554
73555 fi
73556
73557   fi
73558   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
73559 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
73560
73561     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
73562
73563 for ac_func in _sqrtf
73564 do
73565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73566 echo "$as_me:$LINENO: checking for $ac_func" >&5
73567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73568 if eval "test \"\${$as_ac_var+set}\" = set"; then
73569   echo $ECHO_N "(cached) $ECHO_C" >&6
73570 else
73571   if test x$gcc_no_link = xyes; then
73572   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73574    { (exit 1); exit 1; }; }
73575 fi
73576 cat >conftest.$ac_ext <<_ACEOF
73577 /* confdefs.h.  */
73578 _ACEOF
73579 cat confdefs.h >>conftest.$ac_ext
73580 cat >>conftest.$ac_ext <<_ACEOF
73581 /* end confdefs.h.  */
73582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73583    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73584 #define $ac_func innocuous_$ac_func
73585
73586 /* System header to define __stub macros and hopefully few prototypes,
73587     which can conflict with char $ac_func (); below.
73588     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73589     <limits.h> exists even on freestanding compilers.  */
73590
73591 #ifdef __STDC__
73592 # include <limits.h>
73593 #else
73594 # include <assert.h>
73595 #endif
73596
73597 #undef $ac_func
73598
73599 /* Override any gcc2 internal prototype to avoid an error.  */
73600 #ifdef __cplusplus
73601 extern "C"
73602 {
73603 #endif
73604 /* We use char because int might match the return type of a gcc2
73605    builtin and then its argument prototype would still apply.  */
73606 char $ac_func ();
73607 /* The GNU C library defines this for functions which it implements
73608     to always fail with ENOSYS.  Some functions are actually named
73609     something starting with __ and the normal name is an alias.  */
73610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73611 choke me
73612 #else
73613 char (*f) () = $ac_func;
73614 #endif
73615 #ifdef __cplusplus
73616 }
73617 #endif
73618
73619 int
73620 main ()
73621 {
73622 return f != $ac_func;
73623   ;
73624   return 0;
73625 }
73626 _ACEOF
73627 rm -f conftest.$ac_objext conftest$ac_exeext
73628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73629   (eval $ac_link) 2>conftest.er1
73630   ac_status=$?
73631   grep -v '^ *+' conftest.er1 >conftest.err
73632   rm -f conftest.er1
73633   cat conftest.err >&5
73634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73635   (exit $ac_status); } &&
73636          { ac_try='test -z "$ac_c_werror_flag"
73637                          || test ! -s conftest.err'
73638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73639   (eval $ac_try) 2>&5
73640   ac_status=$?
73641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73642   (exit $ac_status); }; } &&
73643          { ac_try='test -s conftest$ac_exeext'
73644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73645   (eval $ac_try) 2>&5
73646   ac_status=$?
73647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73648   (exit $ac_status); }; }; then
73649   eval "$as_ac_var=yes"
73650 else
73651   echo "$as_me: failed program was:" >&5
73652 sed 's/^/| /' conftest.$ac_ext >&5
73653
73654 eval "$as_ac_var=no"
73655 fi
73656 rm -f conftest.err conftest.$ac_objext \
73657       conftest$ac_exeext conftest.$ac_ext
73658 fi
73659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73661 if test `eval echo '${'$as_ac_var'}'` = yes; then
73662   cat >>confdefs.h <<_ACEOF
73663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73664 _ACEOF
73665
73666 fi
73667 done
73668
73669     fi
73670   fi
73671
73672
73673
73674
73675
73676
73677   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
73678 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
73679   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
73680     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
73681   echo $ECHO_N "(cached) $ECHO_C" >&6
73682 else
73683
73684
73685
73686       ac_ext=cc
73687 ac_cpp='$CXXCPP $CPPFLAGS'
73688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73691
73692       cat >conftest.$ac_ext <<_ACEOF
73693 /* confdefs.h.  */
73694 _ACEOF
73695 cat confdefs.h >>conftest.$ac_ext
73696 cat >>conftest.$ac_ext <<_ACEOF
73697 /* end confdefs.h.  */
73698 #include <math.h>
73699 int
73700 main ()
73701 {
73702  sincosf(0, 0, 0);
73703   ;
73704   return 0;
73705 }
73706 _ACEOF
73707 rm -f conftest.$ac_objext
73708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73709   (eval $ac_compile) 2>conftest.er1
73710   ac_status=$?
73711   grep -v '^ *+' conftest.er1 >conftest.err
73712   rm -f conftest.er1
73713   cat conftest.err >&5
73714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73715   (exit $ac_status); } &&
73716          { ac_try='test -z "$ac_cxx_werror_flag"
73717                          || test ! -s conftest.err'
73718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73719   (eval $ac_try) 2>&5
73720   ac_status=$?
73721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73722   (exit $ac_status); }; } &&
73723          { ac_try='test -s conftest.$ac_objext'
73724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73725   (eval $ac_try) 2>&5
73726   ac_status=$?
73727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73728   (exit $ac_status); }; }; then
73729   glibcxx_cv_func_sincosf_use=yes
73730 else
73731   echo "$as_me: failed program was:" >&5
73732 sed 's/^/| /' conftest.$ac_ext >&5
73733
73734 glibcxx_cv_func_sincosf_use=no
73735 fi
73736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73737       ac_ext=c
73738 ac_cpp='$CPP $CPPFLAGS'
73739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73742
73743
73744 fi
73745
73746   fi
73747   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
73748 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
73749
73750   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
73751
73752 for ac_func in sincosf
73753 do
73754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73755 echo "$as_me:$LINENO: checking for $ac_func" >&5
73756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73757 if eval "test \"\${$as_ac_var+set}\" = set"; then
73758   echo $ECHO_N "(cached) $ECHO_C" >&6
73759 else
73760   if test x$gcc_no_link = xyes; then
73761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73763    { (exit 1); exit 1; }; }
73764 fi
73765 cat >conftest.$ac_ext <<_ACEOF
73766 /* confdefs.h.  */
73767 _ACEOF
73768 cat confdefs.h >>conftest.$ac_ext
73769 cat >>conftest.$ac_ext <<_ACEOF
73770 /* end confdefs.h.  */
73771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73772    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73773 #define $ac_func innocuous_$ac_func
73774
73775 /* System header to define __stub macros and hopefully few prototypes,
73776     which can conflict with char $ac_func (); below.
73777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73778     <limits.h> exists even on freestanding compilers.  */
73779
73780 #ifdef __STDC__
73781 # include <limits.h>
73782 #else
73783 # include <assert.h>
73784 #endif
73785
73786 #undef $ac_func
73787
73788 /* Override any gcc2 internal prototype to avoid an error.  */
73789 #ifdef __cplusplus
73790 extern "C"
73791 {
73792 #endif
73793 /* We use char because int might match the return type of a gcc2
73794    builtin and then its argument prototype would still apply.  */
73795 char $ac_func ();
73796 /* The GNU C library defines this for functions which it implements
73797     to always fail with ENOSYS.  Some functions are actually named
73798     something starting with __ and the normal name is an alias.  */
73799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73800 choke me
73801 #else
73802 char (*f) () = $ac_func;
73803 #endif
73804 #ifdef __cplusplus
73805 }
73806 #endif
73807
73808 int
73809 main ()
73810 {
73811 return f != $ac_func;
73812   ;
73813   return 0;
73814 }
73815 _ACEOF
73816 rm -f conftest.$ac_objext conftest$ac_exeext
73817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73818   (eval $ac_link) 2>conftest.er1
73819   ac_status=$?
73820   grep -v '^ *+' conftest.er1 >conftest.err
73821   rm -f conftest.er1
73822   cat conftest.err >&5
73823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73824   (exit $ac_status); } &&
73825          { ac_try='test -z "$ac_c_werror_flag"
73826                          || test ! -s conftest.err'
73827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73828   (eval $ac_try) 2>&5
73829   ac_status=$?
73830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73831   (exit $ac_status); }; } &&
73832          { ac_try='test -s conftest$ac_exeext'
73833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73834   (eval $ac_try) 2>&5
73835   ac_status=$?
73836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73837   (exit $ac_status); }; }; then
73838   eval "$as_ac_var=yes"
73839 else
73840   echo "$as_me: failed program was:" >&5
73841 sed 's/^/| /' conftest.$ac_ext >&5
73842
73843 eval "$as_ac_var=no"
73844 fi
73845 rm -f conftest.err conftest.$ac_objext \
73846       conftest$ac_exeext conftest.$ac_ext
73847 fi
73848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73850 if test `eval echo '${'$as_ac_var'}'` = yes; then
73851   cat >>confdefs.h <<_ACEOF
73852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73853 _ACEOF
73854
73855 fi
73856 done
73857
73858   else
73859
73860   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
73861 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
73862   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
73863     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
73864   echo $ECHO_N "(cached) $ECHO_C" >&6
73865 else
73866
73867
73868
73869       ac_ext=cc
73870 ac_cpp='$CXXCPP $CPPFLAGS'
73871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73874
73875       cat >conftest.$ac_ext <<_ACEOF
73876 /* confdefs.h.  */
73877 _ACEOF
73878 cat confdefs.h >>conftest.$ac_ext
73879 cat >>conftest.$ac_ext <<_ACEOF
73880 /* end confdefs.h.  */
73881 #include <math.h>
73882 int
73883 main ()
73884 {
73885  _sincosf(0, 0, 0);
73886   ;
73887   return 0;
73888 }
73889 _ACEOF
73890 rm -f conftest.$ac_objext
73891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73892   (eval $ac_compile) 2>conftest.er1
73893   ac_status=$?
73894   grep -v '^ *+' conftest.er1 >conftest.err
73895   rm -f conftest.er1
73896   cat conftest.err >&5
73897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73898   (exit $ac_status); } &&
73899          { ac_try='test -z "$ac_cxx_werror_flag"
73900                          || test ! -s conftest.err'
73901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73902   (eval $ac_try) 2>&5
73903   ac_status=$?
73904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73905   (exit $ac_status); }; } &&
73906          { ac_try='test -s conftest.$ac_objext'
73907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73908   (eval $ac_try) 2>&5
73909   ac_status=$?
73910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73911   (exit $ac_status); }; }; then
73912   glibcxx_cv_func__sincosf_use=yes
73913 else
73914   echo "$as_me: failed program was:" >&5
73915 sed 's/^/| /' conftest.$ac_ext >&5
73916
73917 glibcxx_cv_func__sincosf_use=no
73918 fi
73919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73920       ac_ext=c
73921 ac_cpp='$CPP $CPPFLAGS'
73922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73925
73926
73927 fi
73928
73929   fi
73930   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
73931 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
73932
73933     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
73934
73935 for ac_func in _sincosf
73936 do
73937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73938 echo "$as_me:$LINENO: checking for $ac_func" >&5
73939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73940 if eval "test \"\${$as_ac_var+set}\" = set"; then
73941   echo $ECHO_N "(cached) $ECHO_C" >&6
73942 else
73943   if test x$gcc_no_link = xyes; then
73944   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73946    { (exit 1); exit 1; }; }
73947 fi
73948 cat >conftest.$ac_ext <<_ACEOF
73949 /* confdefs.h.  */
73950 _ACEOF
73951 cat confdefs.h >>conftest.$ac_ext
73952 cat >>conftest.$ac_ext <<_ACEOF
73953 /* end confdefs.h.  */
73954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73955    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
73956 #define $ac_func innocuous_$ac_func
73957
73958 /* System header to define __stub macros and hopefully few prototypes,
73959     which can conflict with char $ac_func (); below.
73960     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73961     <limits.h> exists even on freestanding compilers.  */
73962
73963 #ifdef __STDC__
73964 # include <limits.h>
73965 #else
73966 # include <assert.h>
73967 #endif
73968
73969 #undef $ac_func
73970
73971 /* Override any gcc2 internal prototype to avoid an error.  */
73972 #ifdef __cplusplus
73973 extern "C"
73974 {
73975 #endif
73976 /* We use char because int might match the return type of a gcc2
73977    builtin and then its argument prototype would still apply.  */
73978 char $ac_func ();
73979 /* The GNU C library defines this for functions which it implements
73980     to always fail with ENOSYS.  Some functions are actually named
73981     something starting with __ and the normal name is an alias.  */
73982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73983 choke me
73984 #else
73985 char (*f) () = $ac_func;
73986 #endif
73987 #ifdef __cplusplus
73988 }
73989 #endif
73990
73991 int
73992 main ()
73993 {
73994 return f != $ac_func;
73995   ;
73996   return 0;
73997 }
73998 _ACEOF
73999 rm -f conftest.$ac_objext conftest$ac_exeext
74000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74001   (eval $ac_link) 2>conftest.er1
74002   ac_status=$?
74003   grep -v '^ *+' conftest.er1 >conftest.err
74004   rm -f conftest.er1
74005   cat conftest.err >&5
74006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74007   (exit $ac_status); } &&
74008          { ac_try='test -z "$ac_c_werror_flag"
74009                          || test ! -s conftest.err'
74010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74011   (eval $ac_try) 2>&5
74012   ac_status=$?
74013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74014   (exit $ac_status); }; } &&
74015          { ac_try='test -s conftest$ac_exeext'
74016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74017   (eval $ac_try) 2>&5
74018   ac_status=$?
74019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74020   (exit $ac_status); }; }; then
74021   eval "$as_ac_var=yes"
74022 else
74023   echo "$as_me: failed program was:" >&5
74024 sed 's/^/| /' conftest.$ac_ext >&5
74025
74026 eval "$as_ac_var=no"
74027 fi
74028 rm -f conftest.err conftest.$ac_objext \
74029       conftest$ac_exeext conftest.$ac_ext
74030 fi
74031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74033 if test `eval echo '${'$as_ac_var'}'` = yes; then
74034   cat >>confdefs.h <<_ACEOF
74035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74036 _ACEOF
74037
74038 fi
74039 done
74040
74041     fi
74042   fi
74043
74044
74045
74046
74047
74048
74049   echo "$as_me:$LINENO: checking for finitef declaration" >&5
74050 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
74051   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74052     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
74053   echo $ECHO_N "(cached) $ECHO_C" >&6
74054 else
74055
74056
74057
74058       ac_ext=cc
74059 ac_cpp='$CXXCPP $CPPFLAGS'
74060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74063
74064       cat >conftest.$ac_ext <<_ACEOF
74065 /* confdefs.h.  */
74066 _ACEOF
74067 cat confdefs.h >>conftest.$ac_ext
74068 cat >>conftest.$ac_ext <<_ACEOF
74069 /* end confdefs.h.  */
74070 #include <math.h>
74071                       #ifdef HAVE_IEEEFP_H
74072                       #include <ieeefp.h>
74073                       #endif
74074
74075 int
74076 main ()
74077 {
74078  finitef(0);
74079   ;
74080   return 0;
74081 }
74082 _ACEOF
74083 rm -f conftest.$ac_objext
74084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74085   (eval $ac_compile) 2>conftest.er1
74086   ac_status=$?
74087   grep -v '^ *+' conftest.er1 >conftest.err
74088   rm -f conftest.er1
74089   cat conftest.err >&5
74090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74091   (exit $ac_status); } &&
74092          { ac_try='test -z "$ac_cxx_werror_flag"
74093                          || test ! -s conftest.err'
74094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74095   (eval $ac_try) 2>&5
74096   ac_status=$?
74097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74098   (exit $ac_status); }; } &&
74099          { ac_try='test -s conftest.$ac_objext'
74100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74101   (eval $ac_try) 2>&5
74102   ac_status=$?
74103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74104   (exit $ac_status); }; }; then
74105   glibcxx_cv_func_finitef_use=yes
74106 else
74107   echo "$as_me: failed program was:" >&5
74108 sed 's/^/| /' conftest.$ac_ext >&5
74109
74110 glibcxx_cv_func_finitef_use=no
74111 fi
74112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74113       ac_ext=c
74114 ac_cpp='$CPP $CPPFLAGS'
74115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74118
74119
74120 fi
74121
74122   fi
74123   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
74124 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
74125
74126   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74127
74128 for ac_func in finitef
74129 do
74130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74131 echo "$as_me:$LINENO: checking for $ac_func" >&5
74132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74133 if eval "test \"\${$as_ac_var+set}\" = set"; then
74134   echo $ECHO_N "(cached) $ECHO_C" >&6
74135 else
74136   if test x$gcc_no_link = xyes; then
74137   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74139    { (exit 1); exit 1; }; }
74140 fi
74141 cat >conftest.$ac_ext <<_ACEOF
74142 /* confdefs.h.  */
74143 _ACEOF
74144 cat confdefs.h >>conftest.$ac_ext
74145 cat >>conftest.$ac_ext <<_ACEOF
74146 /* end confdefs.h.  */
74147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74148    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74149 #define $ac_func innocuous_$ac_func
74150
74151 /* System header to define __stub macros and hopefully few prototypes,
74152     which can conflict with char $ac_func (); below.
74153     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74154     <limits.h> exists even on freestanding compilers.  */
74155
74156 #ifdef __STDC__
74157 # include <limits.h>
74158 #else
74159 # include <assert.h>
74160 #endif
74161
74162 #undef $ac_func
74163
74164 /* Override any gcc2 internal prototype to avoid an error.  */
74165 #ifdef __cplusplus
74166 extern "C"
74167 {
74168 #endif
74169 /* We use char because int might match the return type of a gcc2
74170    builtin and then its argument prototype would still apply.  */
74171 char $ac_func ();
74172 /* The GNU C library defines this for functions which it implements
74173     to always fail with ENOSYS.  Some functions are actually named
74174     something starting with __ and the normal name is an alias.  */
74175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74176 choke me
74177 #else
74178 char (*f) () = $ac_func;
74179 #endif
74180 #ifdef __cplusplus
74181 }
74182 #endif
74183
74184 int
74185 main ()
74186 {
74187 return f != $ac_func;
74188   ;
74189   return 0;
74190 }
74191 _ACEOF
74192 rm -f conftest.$ac_objext conftest$ac_exeext
74193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74194   (eval $ac_link) 2>conftest.er1
74195   ac_status=$?
74196   grep -v '^ *+' conftest.er1 >conftest.err
74197   rm -f conftest.er1
74198   cat conftest.err >&5
74199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74200   (exit $ac_status); } &&
74201          { ac_try='test -z "$ac_c_werror_flag"
74202                          || test ! -s conftest.err'
74203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74204   (eval $ac_try) 2>&5
74205   ac_status=$?
74206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74207   (exit $ac_status); }; } &&
74208          { ac_try='test -s conftest$ac_exeext'
74209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74210   (eval $ac_try) 2>&5
74211   ac_status=$?
74212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74213   (exit $ac_status); }; }; then
74214   eval "$as_ac_var=yes"
74215 else
74216   echo "$as_me: failed program was:" >&5
74217 sed 's/^/| /' conftest.$ac_ext >&5
74218
74219 eval "$as_ac_var=no"
74220 fi
74221 rm -f conftest.err conftest.$ac_objext \
74222       conftest$ac_exeext conftest.$ac_ext
74223 fi
74224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74226 if test `eval echo '${'$as_ac_var'}'` = yes; then
74227   cat >>confdefs.h <<_ACEOF
74228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74229 _ACEOF
74230
74231 fi
74232 done
74233
74234   else
74235
74236   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
74237 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
74238   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74239     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
74240   echo $ECHO_N "(cached) $ECHO_C" >&6
74241 else
74242
74243
74244
74245       ac_ext=cc
74246 ac_cpp='$CXXCPP $CPPFLAGS'
74247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74250
74251       cat >conftest.$ac_ext <<_ACEOF
74252 /* confdefs.h.  */
74253 _ACEOF
74254 cat confdefs.h >>conftest.$ac_ext
74255 cat >>conftest.$ac_ext <<_ACEOF
74256 /* end confdefs.h.  */
74257 #include <math.h>
74258                       #ifdef HAVE_IEEEFP_H
74259                       #include <ieeefp.h>
74260                       #endif
74261
74262 int
74263 main ()
74264 {
74265  _finitef(0);
74266   ;
74267   return 0;
74268 }
74269 _ACEOF
74270 rm -f conftest.$ac_objext
74271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74272   (eval $ac_compile) 2>conftest.er1
74273   ac_status=$?
74274   grep -v '^ *+' conftest.er1 >conftest.err
74275   rm -f conftest.er1
74276   cat conftest.err >&5
74277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74278   (exit $ac_status); } &&
74279          { ac_try='test -z "$ac_cxx_werror_flag"
74280                          || test ! -s conftest.err'
74281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74282   (eval $ac_try) 2>&5
74283   ac_status=$?
74284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74285   (exit $ac_status); }; } &&
74286          { ac_try='test -s conftest.$ac_objext'
74287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74288   (eval $ac_try) 2>&5
74289   ac_status=$?
74290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74291   (exit $ac_status); }; }; then
74292   glibcxx_cv_func__finitef_use=yes
74293 else
74294   echo "$as_me: failed program was:" >&5
74295 sed 's/^/| /' conftest.$ac_ext >&5
74296
74297 glibcxx_cv_func__finitef_use=no
74298 fi
74299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74300       ac_ext=c
74301 ac_cpp='$CPP $CPPFLAGS'
74302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74305
74306
74307 fi
74308
74309   fi
74310   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
74311 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
74312
74313     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74314
74315 for ac_func in _finitef
74316 do
74317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74318 echo "$as_me:$LINENO: checking for $ac_func" >&5
74319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74320 if eval "test \"\${$as_ac_var+set}\" = set"; then
74321   echo $ECHO_N "(cached) $ECHO_C" >&6
74322 else
74323   if test x$gcc_no_link = xyes; then
74324   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74326    { (exit 1); exit 1; }; }
74327 fi
74328 cat >conftest.$ac_ext <<_ACEOF
74329 /* confdefs.h.  */
74330 _ACEOF
74331 cat confdefs.h >>conftest.$ac_ext
74332 cat >>conftest.$ac_ext <<_ACEOF
74333 /* end confdefs.h.  */
74334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74335    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74336 #define $ac_func innocuous_$ac_func
74337
74338 /* System header to define __stub macros and hopefully few prototypes,
74339     which can conflict with char $ac_func (); below.
74340     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74341     <limits.h> exists even on freestanding compilers.  */
74342
74343 #ifdef __STDC__
74344 # include <limits.h>
74345 #else
74346 # include <assert.h>
74347 #endif
74348
74349 #undef $ac_func
74350
74351 /* Override any gcc2 internal prototype to avoid an error.  */
74352 #ifdef __cplusplus
74353 extern "C"
74354 {
74355 #endif
74356 /* We use char because int might match the return type of a gcc2
74357    builtin and then its argument prototype would still apply.  */
74358 char $ac_func ();
74359 /* The GNU C library defines this for functions which it implements
74360     to always fail with ENOSYS.  Some functions are actually named
74361     something starting with __ and the normal name is an alias.  */
74362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74363 choke me
74364 #else
74365 char (*f) () = $ac_func;
74366 #endif
74367 #ifdef __cplusplus
74368 }
74369 #endif
74370
74371 int
74372 main ()
74373 {
74374 return f != $ac_func;
74375   ;
74376   return 0;
74377 }
74378 _ACEOF
74379 rm -f conftest.$ac_objext conftest$ac_exeext
74380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74381   (eval $ac_link) 2>conftest.er1
74382   ac_status=$?
74383   grep -v '^ *+' conftest.er1 >conftest.err
74384   rm -f conftest.er1
74385   cat conftest.err >&5
74386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74387   (exit $ac_status); } &&
74388          { ac_try='test -z "$ac_c_werror_flag"
74389                          || test ! -s conftest.err'
74390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74391   (eval $ac_try) 2>&5
74392   ac_status=$?
74393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74394   (exit $ac_status); }; } &&
74395          { ac_try='test -s conftest$ac_exeext'
74396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74397   (eval $ac_try) 2>&5
74398   ac_status=$?
74399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74400   (exit $ac_status); }; }; then
74401   eval "$as_ac_var=yes"
74402 else
74403   echo "$as_me: failed program was:" >&5
74404 sed 's/^/| /' conftest.$ac_ext >&5
74405
74406 eval "$as_ac_var=no"
74407 fi
74408 rm -f conftest.err conftest.$ac_objext \
74409       conftest$ac_exeext conftest.$ac_ext
74410 fi
74411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74413 if test `eval echo '${'$as_ac_var'}'` = yes; then
74414   cat >>confdefs.h <<_ACEOF
74415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74416 _ACEOF
74417
74418 fi
74419 done
74420
74421     fi
74422   fi
74423
74424
74425
74426
74427
74428
74429     echo "$as_me:$LINENO: checking for long double trig functions" >&5
74430 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
74431   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
74432   echo $ECHO_N "(cached) $ECHO_C" >&6
74433 else
74434
74435
74436
74437     ac_ext=cc
74438 ac_cpp='$CXXCPP $CPPFLAGS'
74439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74442
74443     cat >conftest.$ac_ext <<_ACEOF
74444 /* confdefs.h.  */
74445 _ACEOF
74446 cat confdefs.h >>conftest.$ac_ext
74447 cat >>conftest.$ac_ext <<_ACEOF
74448 /* end confdefs.h.  */
74449 #include <math.h>
74450 int
74451 main ()
74452 {
74453 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74454   ;
74455   return 0;
74456 }
74457 _ACEOF
74458 rm -f conftest.$ac_objext
74459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74460   (eval $ac_compile) 2>conftest.er1
74461   ac_status=$?
74462   grep -v '^ *+' conftest.er1 >conftest.err
74463   rm -f conftest.er1
74464   cat conftest.err >&5
74465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74466   (exit $ac_status); } &&
74467          { ac_try='test -z "$ac_cxx_werror_flag"
74468                          || test ! -s conftest.err'
74469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74470   (eval $ac_try) 2>&5
74471   ac_status=$?
74472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74473   (exit $ac_status); }; } &&
74474          { ac_try='test -s conftest.$ac_objext'
74475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74476   (eval $ac_try) 2>&5
74477   ac_status=$?
74478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74479   (exit $ac_status); }; }; then
74480   glibcxx_cv_func_long_double_trig_use=yes
74481 else
74482   echo "$as_me: failed program was:" >&5
74483 sed 's/^/| /' conftest.$ac_ext >&5
74484
74485 glibcxx_cv_func_long_double_trig_use=no
74486 fi
74487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74488     ac_ext=c
74489 ac_cpp='$CPP $CPPFLAGS'
74490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74493
74494 fi
74495
74496   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
74497 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
74498   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74499
74500
74501
74502
74503
74504
74505
74506
74507
74508 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74509 do
74510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74511 echo "$as_me:$LINENO: checking for $ac_func" >&5
74512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74513 if eval "test \"\${$as_ac_var+set}\" = set"; then
74514   echo $ECHO_N "(cached) $ECHO_C" >&6
74515 else
74516   if test x$gcc_no_link = xyes; then
74517   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74519    { (exit 1); exit 1; }; }
74520 fi
74521 cat >conftest.$ac_ext <<_ACEOF
74522 /* confdefs.h.  */
74523 _ACEOF
74524 cat confdefs.h >>conftest.$ac_ext
74525 cat >>conftest.$ac_ext <<_ACEOF
74526 /* end confdefs.h.  */
74527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74528    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74529 #define $ac_func innocuous_$ac_func
74530
74531 /* System header to define __stub macros and hopefully few prototypes,
74532     which can conflict with char $ac_func (); below.
74533     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74534     <limits.h> exists even on freestanding compilers.  */
74535
74536 #ifdef __STDC__
74537 # include <limits.h>
74538 #else
74539 # include <assert.h>
74540 #endif
74541
74542 #undef $ac_func
74543
74544 /* Override any gcc2 internal prototype to avoid an error.  */
74545 #ifdef __cplusplus
74546 extern "C"
74547 {
74548 #endif
74549 /* We use char because int might match the return type of a gcc2
74550    builtin and then its argument prototype would still apply.  */
74551 char $ac_func ();
74552 /* The GNU C library defines this for functions which it implements
74553     to always fail with ENOSYS.  Some functions are actually named
74554     something starting with __ and the normal name is an alias.  */
74555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74556 choke me
74557 #else
74558 char (*f) () = $ac_func;
74559 #endif
74560 #ifdef __cplusplus
74561 }
74562 #endif
74563
74564 int
74565 main ()
74566 {
74567 return f != $ac_func;
74568   ;
74569   return 0;
74570 }
74571 _ACEOF
74572 rm -f conftest.$ac_objext conftest$ac_exeext
74573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74574   (eval $ac_link) 2>conftest.er1
74575   ac_status=$?
74576   grep -v '^ *+' conftest.er1 >conftest.err
74577   rm -f conftest.er1
74578   cat conftest.err >&5
74579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74580   (exit $ac_status); } &&
74581          { ac_try='test -z "$ac_c_werror_flag"
74582                          || test ! -s conftest.err'
74583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74584   (eval $ac_try) 2>&5
74585   ac_status=$?
74586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74587   (exit $ac_status); }; } &&
74588          { ac_try='test -s conftest$ac_exeext'
74589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74590   (eval $ac_try) 2>&5
74591   ac_status=$?
74592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74593   (exit $ac_status); }; }; then
74594   eval "$as_ac_var=yes"
74595 else
74596   echo "$as_me: failed program was:" >&5
74597 sed 's/^/| /' conftest.$ac_ext >&5
74598
74599 eval "$as_ac_var=no"
74600 fi
74601 rm -f conftest.err conftest.$ac_objext \
74602       conftest$ac_exeext conftest.$ac_ext
74603 fi
74604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74606 if test `eval echo '${'$as_ac_var'}'` = yes; then
74607   cat >>confdefs.h <<_ACEOF
74608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74609 _ACEOF
74610
74611 fi
74612 done
74613
74614   else
74615     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
74616 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
74617     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
74618   echo $ECHO_N "(cached) $ECHO_C" >&6
74619 else
74620
74621
74622
74623       ac_ext=cc
74624 ac_cpp='$CXXCPP $CPPFLAGS'
74625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74628
74629       cat >conftest.$ac_ext <<_ACEOF
74630 /* confdefs.h.  */
74631 _ACEOF
74632 cat confdefs.h >>conftest.$ac_ext
74633 cat >>conftest.$ac_ext <<_ACEOF
74634 /* end confdefs.h.  */
74635 #include <math.h>
74636 int
74637 main ()
74638 {
74639 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74640   ;
74641   return 0;
74642 }
74643 _ACEOF
74644 rm -f conftest.$ac_objext
74645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74646   (eval $ac_compile) 2>conftest.er1
74647   ac_status=$?
74648   grep -v '^ *+' conftest.er1 >conftest.err
74649   rm -f conftest.er1
74650   cat conftest.err >&5
74651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74652   (exit $ac_status); } &&
74653          { ac_try='test -z "$ac_cxx_werror_flag"
74654                          || test ! -s conftest.err'
74655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74656   (eval $ac_try) 2>&5
74657   ac_status=$?
74658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74659   (exit $ac_status); }; } &&
74660          { ac_try='test -s conftest.$ac_objext'
74661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74662   (eval $ac_try) 2>&5
74663   ac_status=$?
74664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74665   (exit $ac_status); }; }; then
74666   glibcxx_cv_func__long_double_trig_use=yes
74667 else
74668   echo "$as_me: failed program was:" >&5
74669 sed 's/^/| /' conftest.$ac_ext >&5
74670
74671 glibcxx_cv_func__long_double_trig_use=no
74672 fi
74673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74674       ac_ext=c
74675 ac_cpp='$CPP $CPPFLAGS'
74676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74679
74680 fi
74681
74682     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
74683 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
74684     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74685
74686
74687
74688
74689
74690
74691
74692
74693
74694 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74695 do
74696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74697 echo "$as_me:$LINENO: checking for $ac_func" >&5
74698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74699 if eval "test \"\${$as_ac_var+set}\" = set"; then
74700   echo $ECHO_N "(cached) $ECHO_C" >&6
74701 else
74702   if test x$gcc_no_link = xyes; then
74703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74705    { (exit 1); exit 1; }; }
74706 fi
74707 cat >conftest.$ac_ext <<_ACEOF
74708 /* confdefs.h.  */
74709 _ACEOF
74710 cat confdefs.h >>conftest.$ac_ext
74711 cat >>conftest.$ac_ext <<_ACEOF
74712 /* end confdefs.h.  */
74713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74715 #define $ac_func innocuous_$ac_func
74716
74717 /* System header to define __stub macros and hopefully few prototypes,
74718     which can conflict with char $ac_func (); below.
74719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74720     <limits.h> exists even on freestanding compilers.  */
74721
74722 #ifdef __STDC__
74723 # include <limits.h>
74724 #else
74725 # include <assert.h>
74726 #endif
74727
74728 #undef $ac_func
74729
74730 /* Override any gcc2 internal prototype to avoid an error.  */
74731 #ifdef __cplusplus
74732 extern "C"
74733 {
74734 #endif
74735 /* We use char because int might match the return type of a gcc2
74736    builtin and then its argument prototype would still apply.  */
74737 char $ac_func ();
74738 /* The GNU C library defines this for functions which it implements
74739     to always fail with ENOSYS.  Some functions are actually named
74740     something starting with __ and the normal name is an alias.  */
74741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74742 choke me
74743 #else
74744 char (*f) () = $ac_func;
74745 #endif
74746 #ifdef __cplusplus
74747 }
74748 #endif
74749
74750 int
74751 main ()
74752 {
74753 return f != $ac_func;
74754   ;
74755   return 0;
74756 }
74757 _ACEOF
74758 rm -f conftest.$ac_objext conftest$ac_exeext
74759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74760   (eval $ac_link) 2>conftest.er1
74761   ac_status=$?
74762   grep -v '^ *+' conftest.er1 >conftest.err
74763   rm -f conftest.er1
74764   cat conftest.err >&5
74765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74766   (exit $ac_status); } &&
74767          { ac_try='test -z "$ac_c_werror_flag"
74768                          || test ! -s conftest.err'
74769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74770   (eval $ac_try) 2>&5
74771   ac_status=$?
74772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74773   (exit $ac_status); }; } &&
74774          { ac_try='test -s conftest$ac_exeext'
74775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74776   (eval $ac_try) 2>&5
74777   ac_status=$?
74778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74779   (exit $ac_status); }; }; then
74780   eval "$as_ac_var=yes"
74781 else
74782   echo "$as_me: failed program was:" >&5
74783 sed 's/^/| /' conftest.$ac_ext >&5
74784
74785 eval "$as_ac_var=no"
74786 fi
74787 rm -f conftest.err conftest.$ac_objext \
74788       conftest$ac_exeext conftest.$ac_ext
74789 fi
74790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74792 if test `eval echo '${'$as_ac_var'}'` = yes; then
74793   cat >>confdefs.h <<_ACEOF
74794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74795 _ACEOF
74796
74797 fi
74798 done
74799
74800     fi
74801   fi
74802
74803
74804
74805
74806
74807
74808
74809
74810
74811
74812
74813
74814
74815
74816     echo "$as_me:$LINENO: checking for long double round functions" >&5
74817 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
74818   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
74819   echo $ECHO_N "(cached) $ECHO_C" >&6
74820 else
74821
74822
74823
74824     ac_ext=cc
74825 ac_cpp='$CXXCPP $CPPFLAGS'
74826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74829
74830     cat >conftest.$ac_ext <<_ACEOF
74831 /* confdefs.h.  */
74832 _ACEOF
74833 cat confdefs.h >>conftest.$ac_ext
74834 cat >>conftest.$ac_ext <<_ACEOF
74835 /* end confdefs.h.  */
74836 #include <math.h>
74837 int
74838 main ()
74839 {
74840 ceill (0); floorl (0);
74841   ;
74842   return 0;
74843 }
74844 _ACEOF
74845 rm -f conftest.$ac_objext
74846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74847   (eval $ac_compile) 2>conftest.er1
74848   ac_status=$?
74849   grep -v '^ *+' conftest.er1 >conftest.err
74850   rm -f conftest.er1
74851   cat conftest.err >&5
74852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74853   (exit $ac_status); } &&
74854          { ac_try='test -z "$ac_cxx_werror_flag"
74855                          || test ! -s conftest.err'
74856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74857   (eval $ac_try) 2>&5
74858   ac_status=$?
74859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74860   (exit $ac_status); }; } &&
74861          { ac_try='test -s conftest.$ac_objext'
74862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74863   (eval $ac_try) 2>&5
74864   ac_status=$?
74865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74866   (exit $ac_status); }; }; then
74867   glibcxx_cv_func_long_double_round_use=yes
74868 else
74869   echo "$as_me: failed program was:" >&5
74870 sed 's/^/| /' conftest.$ac_ext >&5
74871
74872 glibcxx_cv_func_long_double_round_use=no
74873 fi
74874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74875     ac_ext=c
74876 ac_cpp='$CPP $CPPFLAGS'
74877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74880
74881 fi
74882
74883   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
74884 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
74885   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74886
74887
74888 for ac_func in ceill floorl
74889 do
74890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74891 echo "$as_me:$LINENO: checking for $ac_func" >&5
74892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74893 if eval "test \"\${$as_ac_var+set}\" = set"; then
74894   echo $ECHO_N "(cached) $ECHO_C" >&6
74895 else
74896   if test x$gcc_no_link = xyes; then
74897   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74899    { (exit 1); exit 1; }; }
74900 fi
74901 cat >conftest.$ac_ext <<_ACEOF
74902 /* confdefs.h.  */
74903 _ACEOF
74904 cat confdefs.h >>conftest.$ac_ext
74905 cat >>conftest.$ac_ext <<_ACEOF
74906 /* end confdefs.h.  */
74907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74908    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74909 #define $ac_func innocuous_$ac_func
74910
74911 /* System header to define __stub macros and hopefully few prototypes,
74912     which can conflict with char $ac_func (); below.
74913     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74914     <limits.h> exists even on freestanding compilers.  */
74915
74916 #ifdef __STDC__
74917 # include <limits.h>
74918 #else
74919 # include <assert.h>
74920 #endif
74921
74922 #undef $ac_func
74923
74924 /* Override any gcc2 internal prototype to avoid an error.  */
74925 #ifdef __cplusplus
74926 extern "C"
74927 {
74928 #endif
74929 /* We use char because int might match the return type of a gcc2
74930    builtin and then its argument prototype would still apply.  */
74931 char $ac_func ();
74932 /* The GNU C library defines this for functions which it implements
74933     to always fail with ENOSYS.  Some functions are actually named
74934     something starting with __ and the normal name is an alias.  */
74935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74936 choke me
74937 #else
74938 char (*f) () = $ac_func;
74939 #endif
74940 #ifdef __cplusplus
74941 }
74942 #endif
74943
74944 int
74945 main ()
74946 {
74947 return f != $ac_func;
74948   ;
74949   return 0;
74950 }
74951 _ACEOF
74952 rm -f conftest.$ac_objext conftest$ac_exeext
74953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74954   (eval $ac_link) 2>conftest.er1
74955   ac_status=$?
74956   grep -v '^ *+' conftest.er1 >conftest.err
74957   rm -f conftest.er1
74958   cat conftest.err >&5
74959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74960   (exit $ac_status); } &&
74961          { ac_try='test -z "$ac_c_werror_flag"
74962                          || test ! -s conftest.err'
74963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74964   (eval $ac_try) 2>&5
74965   ac_status=$?
74966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74967   (exit $ac_status); }; } &&
74968          { ac_try='test -s conftest$ac_exeext'
74969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74970   (eval $ac_try) 2>&5
74971   ac_status=$?
74972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74973   (exit $ac_status); }; }; then
74974   eval "$as_ac_var=yes"
74975 else
74976   echo "$as_me: failed program was:" >&5
74977 sed 's/^/| /' conftest.$ac_ext >&5
74978
74979 eval "$as_ac_var=no"
74980 fi
74981 rm -f conftest.err conftest.$ac_objext \
74982       conftest$ac_exeext conftest.$ac_ext
74983 fi
74984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74986 if test `eval echo '${'$as_ac_var'}'` = yes; then
74987   cat >>confdefs.h <<_ACEOF
74988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74989 _ACEOF
74990
74991 fi
74992 done
74993
74994   else
74995     echo "$as_me:$LINENO: checking for _long double round functions" >&5
74996 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
74997     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
74998   echo $ECHO_N "(cached) $ECHO_C" >&6
74999 else
75000
75001
75002
75003       ac_ext=cc
75004 ac_cpp='$CXXCPP $CPPFLAGS'
75005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75008
75009       cat >conftest.$ac_ext <<_ACEOF
75010 /* confdefs.h.  */
75011 _ACEOF
75012 cat confdefs.h >>conftest.$ac_ext
75013 cat >>conftest.$ac_ext <<_ACEOF
75014 /* end confdefs.h.  */
75015 #include <math.h>
75016 int
75017 main ()
75018 {
75019 _ceill (0); _floorl (0);
75020   ;
75021   return 0;
75022 }
75023 _ACEOF
75024 rm -f conftest.$ac_objext
75025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75026   (eval $ac_compile) 2>conftest.er1
75027   ac_status=$?
75028   grep -v '^ *+' conftest.er1 >conftest.err
75029   rm -f conftest.er1
75030   cat conftest.err >&5
75031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75032   (exit $ac_status); } &&
75033          { ac_try='test -z "$ac_cxx_werror_flag"
75034                          || test ! -s conftest.err'
75035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75036   (eval $ac_try) 2>&5
75037   ac_status=$?
75038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75039   (exit $ac_status); }; } &&
75040          { ac_try='test -s conftest.$ac_objext'
75041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75042   (eval $ac_try) 2>&5
75043   ac_status=$?
75044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75045   (exit $ac_status); }; }; then
75046   glibcxx_cv_func__long_double_round_use=yes
75047 else
75048   echo "$as_me: failed program was:" >&5
75049 sed 's/^/| /' conftest.$ac_ext >&5
75050
75051 glibcxx_cv_func__long_double_round_use=no
75052 fi
75053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75054       ac_ext=c
75055 ac_cpp='$CPP $CPPFLAGS'
75056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75059
75060 fi
75061
75062     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
75063 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
75064     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75065
75066
75067 for ac_func in _ceill _floorl
75068 do
75069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75070 echo "$as_me:$LINENO: checking for $ac_func" >&5
75071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75072 if eval "test \"\${$as_ac_var+set}\" = set"; then
75073   echo $ECHO_N "(cached) $ECHO_C" >&6
75074 else
75075   if test x$gcc_no_link = xyes; then
75076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75078    { (exit 1); exit 1; }; }
75079 fi
75080 cat >conftest.$ac_ext <<_ACEOF
75081 /* confdefs.h.  */
75082 _ACEOF
75083 cat confdefs.h >>conftest.$ac_ext
75084 cat >>conftest.$ac_ext <<_ACEOF
75085 /* end confdefs.h.  */
75086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75087    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75088 #define $ac_func innocuous_$ac_func
75089
75090 /* System header to define __stub macros and hopefully few prototypes,
75091     which can conflict with char $ac_func (); below.
75092     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75093     <limits.h> exists even on freestanding compilers.  */
75094
75095 #ifdef __STDC__
75096 # include <limits.h>
75097 #else
75098 # include <assert.h>
75099 #endif
75100
75101 #undef $ac_func
75102
75103 /* Override any gcc2 internal prototype to avoid an error.  */
75104 #ifdef __cplusplus
75105 extern "C"
75106 {
75107 #endif
75108 /* We use char because int might match the return type of a gcc2
75109    builtin and then its argument prototype would still apply.  */
75110 char $ac_func ();
75111 /* The GNU C library defines this for functions which it implements
75112     to always fail with ENOSYS.  Some functions are actually named
75113     something starting with __ and the normal name is an alias.  */
75114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75115 choke me
75116 #else
75117 char (*f) () = $ac_func;
75118 #endif
75119 #ifdef __cplusplus
75120 }
75121 #endif
75122
75123 int
75124 main ()
75125 {
75126 return f != $ac_func;
75127   ;
75128   return 0;
75129 }
75130 _ACEOF
75131 rm -f conftest.$ac_objext conftest$ac_exeext
75132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75133   (eval $ac_link) 2>conftest.er1
75134   ac_status=$?
75135   grep -v '^ *+' conftest.er1 >conftest.err
75136   rm -f conftest.er1
75137   cat conftest.err >&5
75138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75139   (exit $ac_status); } &&
75140          { ac_try='test -z "$ac_c_werror_flag"
75141                          || test ! -s conftest.err'
75142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75143   (eval $ac_try) 2>&5
75144   ac_status=$?
75145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75146   (exit $ac_status); }; } &&
75147          { ac_try='test -s conftest$ac_exeext'
75148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75149   (eval $ac_try) 2>&5
75150   ac_status=$?
75151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75152   (exit $ac_status); }; }; then
75153   eval "$as_ac_var=yes"
75154 else
75155   echo "$as_me: failed program was:" >&5
75156 sed 's/^/| /' conftest.$ac_ext >&5
75157
75158 eval "$as_ac_var=no"
75159 fi
75160 rm -f conftest.err conftest.$ac_objext \
75161       conftest$ac_exeext conftest.$ac_ext
75162 fi
75163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75165 if test `eval echo '${'$as_ac_var'}'` = yes; then
75166   cat >>confdefs.h <<_ACEOF
75167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75168 _ACEOF
75169
75170 fi
75171 done
75172
75173     fi
75174   fi
75175
75176
75177
75178
75179
75180
75181
75182
75183   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
75184 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
75185   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75186     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
75187   echo $ECHO_N "(cached) $ECHO_C" >&6
75188 else
75189
75190
75191
75192       ac_ext=cc
75193 ac_cpp='$CXXCPP $CPPFLAGS'
75194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75197
75198       cat >conftest.$ac_ext <<_ACEOF
75199 /* confdefs.h.  */
75200 _ACEOF
75201 cat confdefs.h >>conftest.$ac_ext
75202 cat >>conftest.$ac_ext <<_ACEOF
75203 /* end confdefs.h.  */
75204 #include <math.h>
75205                       #ifdef HAVE_IEEEFP_H
75206                       #include <ieeefp.h>
75207                       #endif
75208
75209 int
75210 main ()
75211 {
75212  isnanl(0);
75213   ;
75214   return 0;
75215 }
75216 _ACEOF
75217 rm -f conftest.$ac_objext
75218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75219   (eval $ac_compile) 2>conftest.er1
75220   ac_status=$?
75221   grep -v '^ *+' conftest.er1 >conftest.err
75222   rm -f conftest.er1
75223   cat conftest.err >&5
75224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75225   (exit $ac_status); } &&
75226          { ac_try='test -z "$ac_cxx_werror_flag"
75227                          || test ! -s conftest.err'
75228   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75229   (eval $ac_try) 2>&5
75230   ac_status=$?
75231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75232   (exit $ac_status); }; } &&
75233          { ac_try='test -s conftest.$ac_objext'
75234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75235   (eval $ac_try) 2>&5
75236   ac_status=$?
75237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75238   (exit $ac_status); }; }; then
75239   glibcxx_cv_func_isnanl_use=yes
75240 else
75241   echo "$as_me: failed program was:" >&5
75242 sed 's/^/| /' conftest.$ac_ext >&5
75243
75244 glibcxx_cv_func_isnanl_use=no
75245 fi
75246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75247       ac_ext=c
75248 ac_cpp='$CPP $CPPFLAGS'
75249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75252
75253
75254 fi
75255
75256   fi
75257   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
75258 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
75259
75260   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75261
75262 for ac_func in isnanl
75263 do
75264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75265 echo "$as_me:$LINENO: checking for $ac_func" >&5
75266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75267 if eval "test \"\${$as_ac_var+set}\" = set"; then
75268   echo $ECHO_N "(cached) $ECHO_C" >&6
75269 else
75270   if test x$gcc_no_link = xyes; then
75271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75273    { (exit 1); exit 1; }; }
75274 fi
75275 cat >conftest.$ac_ext <<_ACEOF
75276 /* confdefs.h.  */
75277 _ACEOF
75278 cat confdefs.h >>conftest.$ac_ext
75279 cat >>conftest.$ac_ext <<_ACEOF
75280 /* end confdefs.h.  */
75281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75282    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75283 #define $ac_func innocuous_$ac_func
75284
75285 /* System header to define __stub macros and hopefully few prototypes,
75286     which can conflict with char $ac_func (); below.
75287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75288     <limits.h> exists even on freestanding compilers.  */
75289
75290 #ifdef __STDC__
75291 # include <limits.h>
75292 #else
75293 # include <assert.h>
75294 #endif
75295
75296 #undef $ac_func
75297
75298 /* Override any gcc2 internal prototype to avoid an error.  */
75299 #ifdef __cplusplus
75300 extern "C"
75301 {
75302 #endif
75303 /* We use char because int might match the return type of a gcc2
75304    builtin and then its argument prototype would still apply.  */
75305 char $ac_func ();
75306 /* The GNU C library defines this for functions which it implements
75307     to always fail with ENOSYS.  Some functions are actually named
75308     something starting with __ and the normal name is an alias.  */
75309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75310 choke me
75311 #else
75312 char (*f) () = $ac_func;
75313 #endif
75314 #ifdef __cplusplus
75315 }
75316 #endif
75317
75318 int
75319 main ()
75320 {
75321 return f != $ac_func;
75322   ;
75323   return 0;
75324 }
75325 _ACEOF
75326 rm -f conftest.$ac_objext conftest$ac_exeext
75327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75328   (eval $ac_link) 2>conftest.er1
75329   ac_status=$?
75330   grep -v '^ *+' conftest.er1 >conftest.err
75331   rm -f conftest.er1
75332   cat conftest.err >&5
75333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75334   (exit $ac_status); } &&
75335          { ac_try='test -z "$ac_c_werror_flag"
75336                          || test ! -s conftest.err'
75337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75338   (eval $ac_try) 2>&5
75339   ac_status=$?
75340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75341   (exit $ac_status); }; } &&
75342          { ac_try='test -s conftest$ac_exeext'
75343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75344   (eval $ac_try) 2>&5
75345   ac_status=$?
75346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75347   (exit $ac_status); }; }; then
75348   eval "$as_ac_var=yes"
75349 else
75350   echo "$as_me: failed program was:" >&5
75351 sed 's/^/| /' conftest.$ac_ext >&5
75352
75353 eval "$as_ac_var=no"
75354 fi
75355 rm -f conftest.err conftest.$ac_objext \
75356       conftest$ac_exeext conftest.$ac_ext
75357 fi
75358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75360 if test `eval echo '${'$as_ac_var'}'` = yes; then
75361   cat >>confdefs.h <<_ACEOF
75362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75363 _ACEOF
75364
75365 fi
75366 done
75367
75368   else
75369
75370   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
75371 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
75372   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75373     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
75374   echo $ECHO_N "(cached) $ECHO_C" >&6
75375 else
75376
75377
75378
75379       ac_ext=cc
75380 ac_cpp='$CXXCPP $CPPFLAGS'
75381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75384
75385       cat >conftest.$ac_ext <<_ACEOF
75386 /* confdefs.h.  */
75387 _ACEOF
75388 cat confdefs.h >>conftest.$ac_ext
75389 cat >>conftest.$ac_ext <<_ACEOF
75390 /* end confdefs.h.  */
75391 #include <math.h>
75392                       #ifdef HAVE_IEEEFP_H
75393                       #include <ieeefp.h>
75394                       #endif
75395
75396 int
75397 main ()
75398 {
75399  _isnanl(0);
75400   ;
75401   return 0;
75402 }
75403 _ACEOF
75404 rm -f conftest.$ac_objext
75405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75406   (eval $ac_compile) 2>conftest.er1
75407   ac_status=$?
75408   grep -v '^ *+' conftest.er1 >conftest.err
75409   rm -f conftest.er1
75410   cat conftest.err >&5
75411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75412   (exit $ac_status); } &&
75413          { ac_try='test -z "$ac_cxx_werror_flag"
75414                          || test ! -s conftest.err'
75415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75416   (eval $ac_try) 2>&5
75417   ac_status=$?
75418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75419   (exit $ac_status); }; } &&
75420          { ac_try='test -s conftest.$ac_objext'
75421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75422   (eval $ac_try) 2>&5
75423   ac_status=$?
75424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75425   (exit $ac_status); }; }; then
75426   glibcxx_cv_func__isnanl_use=yes
75427 else
75428   echo "$as_me: failed program was:" >&5
75429 sed 's/^/| /' conftest.$ac_ext >&5
75430
75431 glibcxx_cv_func__isnanl_use=no
75432 fi
75433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75434       ac_ext=c
75435 ac_cpp='$CPP $CPPFLAGS'
75436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75439
75440
75441 fi
75442
75443   fi
75444   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
75445 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
75446
75447     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75448
75449 for ac_func in _isnanl
75450 do
75451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75452 echo "$as_me:$LINENO: checking for $ac_func" >&5
75453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75454 if eval "test \"\${$as_ac_var+set}\" = set"; then
75455   echo $ECHO_N "(cached) $ECHO_C" >&6
75456 else
75457   if test x$gcc_no_link = xyes; then
75458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75460    { (exit 1); exit 1; }; }
75461 fi
75462 cat >conftest.$ac_ext <<_ACEOF
75463 /* confdefs.h.  */
75464 _ACEOF
75465 cat confdefs.h >>conftest.$ac_ext
75466 cat >>conftest.$ac_ext <<_ACEOF
75467 /* end confdefs.h.  */
75468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75469    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75470 #define $ac_func innocuous_$ac_func
75471
75472 /* System header to define __stub macros and hopefully few prototypes,
75473     which can conflict with char $ac_func (); below.
75474     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75475     <limits.h> exists even on freestanding compilers.  */
75476
75477 #ifdef __STDC__
75478 # include <limits.h>
75479 #else
75480 # include <assert.h>
75481 #endif
75482
75483 #undef $ac_func
75484
75485 /* Override any gcc2 internal prototype to avoid an error.  */
75486 #ifdef __cplusplus
75487 extern "C"
75488 {
75489 #endif
75490 /* We use char because int might match the return type of a gcc2
75491    builtin and then its argument prototype would still apply.  */
75492 char $ac_func ();
75493 /* The GNU C library defines this for functions which it implements
75494     to always fail with ENOSYS.  Some functions are actually named
75495     something starting with __ and the normal name is an alias.  */
75496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75497 choke me
75498 #else
75499 char (*f) () = $ac_func;
75500 #endif
75501 #ifdef __cplusplus
75502 }
75503 #endif
75504
75505 int
75506 main ()
75507 {
75508 return f != $ac_func;
75509   ;
75510   return 0;
75511 }
75512 _ACEOF
75513 rm -f conftest.$ac_objext conftest$ac_exeext
75514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75515   (eval $ac_link) 2>conftest.er1
75516   ac_status=$?
75517   grep -v '^ *+' conftest.er1 >conftest.err
75518   rm -f conftest.er1
75519   cat conftest.err >&5
75520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75521   (exit $ac_status); } &&
75522          { ac_try='test -z "$ac_c_werror_flag"
75523                          || test ! -s conftest.err'
75524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75525   (eval $ac_try) 2>&5
75526   ac_status=$?
75527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75528   (exit $ac_status); }; } &&
75529          { ac_try='test -s conftest$ac_exeext'
75530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75531   (eval $ac_try) 2>&5
75532   ac_status=$?
75533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75534   (exit $ac_status); }; }; then
75535   eval "$as_ac_var=yes"
75536 else
75537   echo "$as_me: failed program was:" >&5
75538 sed 's/^/| /' conftest.$ac_ext >&5
75539
75540 eval "$as_ac_var=no"
75541 fi
75542 rm -f conftest.err conftest.$ac_objext \
75543       conftest$ac_exeext conftest.$ac_ext
75544 fi
75545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75547 if test `eval echo '${'$as_ac_var'}'` = yes; then
75548   cat >>confdefs.h <<_ACEOF
75549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75550 _ACEOF
75551
75552 fi
75553 done
75554
75555     fi
75556   fi
75557
75558
75559
75560
75561
75562
75563   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
75564 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
75565   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75566     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
75567   echo $ECHO_N "(cached) $ECHO_C" >&6
75568 else
75569
75570
75571
75572       ac_ext=cc
75573 ac_cpp='$CXXCPP $CPPFLAGS'
75574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75577
75578       cat >conftest.$ac_ext <<_ACEOF
75579 /* confdefs.h.  */
75580 _ACEOF
75581 cat confdefs.h >>conftest.$ac_ext
75582 cat >>conftest.$ac_ext <<_ACEOF
75583 /* end confdefs.h.  */
75584 #include <math.h>
75585                       #ifdef HAVE_IEEEFP_H
75586                       #include <ieeefp.h>
75587                       #endif
75588
75589 int
75590 main ()
75591 {
75592  isinfl(0);
75593   ;
75594   return 0;
75595 }
75596 _ACEOF
75597 rm -f conftest.$ac_objext
75598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75599   (eval $ac_compile) 2>conftest.er1
75600   ac_status=$?
75601   grep -v '^ *+' conftest.er1 >conftest.err
75602   rm -f conftest.er1
75603   cat conftest.err >&5
75604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75605   (exit $ac_status); } &&
75606          { ac_try='test -z "$ac_cxx_werror_flag"
75607                          || test ! -s conftest.err'
75608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75609   (eval $ac_try) 2>&5
75610   ac_status=$?
75611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75612   (exit $ac_status); }; } &&
75613          { ac_try='test -s conftest.$ac_objext'
75614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75615   (eval $ac_try) 2>&5
75616   ac_status=$?
75617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75618   (exit $ac_status); }; }; then
75619   glibcxx_cv_func_isinfl_use=yes
75620 else
75621   echo "$as_me: failed program was:" >&5
75622 sed 's/^/| /' conftest.$ac_ext >&5
75623
75624 glibcxx_cv_func_isinfl_use=no
75625 fi
75626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75627       ac_ext=c
75628 ac_cpp='$CPP $CPPFLAGS'
75629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75632
75633
75634 fi
75635
75636   fi
75637   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
75638 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
75639
75640   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75641
75642 for ac_func in isinfl
75643 do
75644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75645 echo "$as_me:$LINENO: checking for $ac_func" >&5
75646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75647 if eval "test \"\${$as_ac_var+set}\" = set"; then
75648   echo $ECHO_N "(cached) $ECHO_C" >&6
75649 else
75650   if test x$gcc_no_link = xyes; then
75651   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75653    { (exit 1); exit 1; }; }
75654 fi
75655 cat >conftest.$ac_ext <<_ACEOF
75656 /* confdefs.h.  */
75657 _ACEOF
75658 cat confdefs.h >>conftest.$ac_ext
75659 cat >>conftest.$ac_ext <<_ACEOF
75660 /* end confdefs.h.  */
75661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75662    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75663 #define $ac_func innocuous_$ac_func
75664
75665 /* System header to define __stub macros and hopefully few prototypes,
75666     which can conflict with char $ac_func (); below.
75667     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75668     <limits.h> exists even on freestanding compilers.  */
75669
75670 #ifdef __STDC__
75671 # include <limits.h>
75672 #else
75673 # include <assert.h>
75674 #endif
75675
75676 #undef $ac_func
75677
75678 /* Override any gcc2 internal prototype to avoid an error.  */
75679 #ifdef __cplusplus
75680 extern "C"
75681 {
75682 #endif
75683 /* We use char because int might match the return type of a gcc2
75684    builtin and then its argument prototype would still apply.  */
75685 char $ac_func ();
75686 /* The GNU C library defines this for functions which it implements
75687     to always fail with ENOSYS.  Some functions are actually named
75688     something starting with __ and the normal name is an alias.  */
75689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75690 choke me
75691 #else
75692 char (*f) () = $ac_func;
75693 #endif
75694 #ifdef __cplusplus
75695 }
75696 #endif
75697
75698 int
75699 main ()
75700 {
75701 return f != $ac_func;
75702   ;
75703   return 0;
75704 }
75705 _ACEOF
75706 rm -f conftest.$ac_objext conftest$ac_exeext
75707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75708   (eval $ac_link) 2>conftest.er1
75709   ac_status=$?
75710   grep -v '^ *+' conftest.er1 >conftest.err
75711   rm -f conftest.er1
75712   cat conftest.err >&5
75713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75714   (exit $ac_status); } &&
75715          { ac_try='test -z "$ac_c_werror_flag"
75716                          || test ! -s conftest.err'
75717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75718   (eval $ac_try) 2>&5
75719   ac_status=$?
75720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75721   (exit $ac_status); }; } &&
75722          { ac_try='test -s conftest$ac_exeext'
75723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75724   (eval $ac_try) 2>&5
75725   ac_status=$?
75726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75727   (exit $ac_status); }; }; then
75728   eval "$as_ac_var=yes"
75729 else
75730   echo "$as_me: failed program was:" >&5
75731 sed 's/^/| /' conftest.$ac_ext >&5
75732
75733 eval "$as_ac_var=no"
75734 fi
75735 rm -f conftest.err conftest.$ac_objext \
75736       conftest$ac_exeext conftest.$ac_ext
75737 fi
75738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75740 if test `eval echo '${'$as_ac_var'}'` = yes; then
75741   cat >>confdefs.h <<_ACEOF
75742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75743 _ACEOF
75744
75745 fi
75746 done
75747
75748   else
75749
75750   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
75751 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
75752   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75753     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
75754   echo $ECHO_N "(cached) $ECHO_C" >&6
75755 else
75756
75757
75758
75759       ac_ext=cc
75760 ac_cpp='$CXXCPP $CPPFLAGS'
75761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75764
75765       cat >conftest.$ac_ext <<_ACEOF
75766 /* confdefs.h.  */
75767 _ACEOF
75768 cat confdefs.h >>conftest.$ac_ext
75769 cat >>conftest.$ac_ext <<_ACEOF
75770 /* end confdefs.h.  */
75771 #include <math.h>
75772                       #ifdef HAVE_IEEEFP_H
75773                       #include <ieeefp.h>
75774                       #endif
75775
75776 int
75777 main ()
75778 {
75779  _isinfl(0);
75780   ;
75781   return 0;
75782 }
75783 _ACEOF
75784 rm -f conftest.$ac_objext
75785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75786   (eval $ac_compile) 2>conftest.er1
75787   ac_status=$?
75788   grep -v '^ *+' conftest.er1 >conftest.err
75789   rm -f conftest.er1
75790   cat conftest.err >&5
75791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75792   (exit $ac_status); } &&
75793          { ac_try='test -z "$ac_cxx_werror_flag"
75794                          || test ! -s conftest.err'
75795   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75796   (eval $ac_try) 2>&5
75797   ac_status=$?
75798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75799   (exit $ac_status); }; } &&
75800          { ac_try='test -s conftest.$ac_objext'
75801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75802   (eval $ac_try) 2>&5
75803   ac_status=$?
75804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75805   (exit $ac_status); }; }; then
75806   glibcxx_cv_func__isinfl_use=yes
75807 else
75808   echo "$as_me: failed program was:" >&5
75809 sed 's/^/| /' conftest.$ac_ext >&5
75810
75811 glibcxx_cv_func__isinfl_use=no
75812 fi
75813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75814       ac_ext=c
75815 ac_cpp='$CPP $CPPFLAGS'
75816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75819
75820
75821 fi
75822
75823   fi
75824   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
75825 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
75826
75827     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75828
75829 for ac_func in _isinfl
75830 do
75831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75832 echo "$as_me:$LINENO: checking for $ac_func" >&5
75833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75834 if eval "test \"\${$as_ac_var+set}\" = set"; then
75835   echo $ECHO_N "(cached) $ECHO_C" >&6
75836 else
75837   if test x$gcc_no_link = xyes; then
75838   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75840    { (exit 1); exit 1; }; }
75841 fi
75842 cat >conftest.$ac_ext <<_ACEOF
75843 /* confdefs.h.  */
75844 _ACEOF
75845 cat confdefs.h >>conftest.$ac_ext
75846 cat >>conftest.$ac_ext <<_ACEOF
75847 /* end confdefs.h.  */
75848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75849    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75850 #define $ac_func innocuous_$ac_func
75851
75852 /* System header to define __stub macros and hopefully few prototypes,
75853     which can conflict with char $ac_func (); below.
75854     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75855     <limits.h> exists even on freestanding compilers.  */
75856
75857 #ifdef __STDC__
75858 # include <limits.h>
75859 #else
75860 # include <assert.h>
75861 #endif
75862
75863 #undef $ac_func
75864
75865 /* Override any gcc2 internal prototype to avoid an error.  */
75866 #ifdef __cplusplus
75867 extern "C"
75868 {
75869 #endif
75870 /* We use char because int might match the return type of a gcc2
75871    builtin and then its argument prototype would still apply.  */
75872 char $ac_func ();
75873 /* The GNU C library defines this for functions which it implements
75874     to always fail with ENOSYS.  Some functions are actually named
75875     something starting with __ and the normal name is an alias.  */
75876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75877 choke me
75878 #else
75879 char (*f) () = $ac_func;
75880 #endif
75881 #ifdef __cplusplus
75882 }
75883 #endif
75884
75885 int
75886 main ()
75887 {
75888 return f != $ac_func;
75889   ;
75890   return 0;
75891 }
75892 _ACEOF
75893 rm -f conftest.$ac_objext conftest$ac_exeext
75894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75895   (eval $ac_link) 2>conftest.er1
75896   ac_status=$?
75897   grep -v '^ *+' conftest.er1 >conftest.err
75898   rm -f conftest.er1
75899   cat conftest.err >&5
75900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75901   (exit $ac_status); } &&
75902          { ac_try='test -z "$ac_c_werror_flag"
75903                          || test ! -s conftest.err'
75904   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75905   (eval $ac_try) 2>&5
75906   ac_status=$?
75907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75908   (exit $ac_status); }; } &&
75909          { ac_try='test -s conftest$ac_exeext'
75910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75911   (eval $ac_try) 2>&5
75912   ac_status=$?
75913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75914   (exit $ac_status); }; }; then
75915   eval "$as_ac_var=yes"
75916 else
75917   echo "$as_me: failed program was:" >&5
75918 sed 's/^/| /' conftest.$ac_ext >&5
75919
75920 eval "$as_ac_var=no"
75921 fi
75922 rm -f conftest.err conftest.$ac_objext \
75923       conftest$ac_exeext conftest.$ac_ext
75924 fi
75925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75927 if test `eval echo '${'$as_ac_var'}'` = yes; then
75928   cat >>confdefs.h <<_ACEOF
75929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75930 _ACEOF
75931
75932 fi
75933 done
75934
75935     fi
75936   fi
75937
75938
75939
75940
75941
75942
75943   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
75944 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
75945   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
75946     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
75947   echo $ECHO_N "(cached) $ECHO_C" >&6
75948 else
75949
75950
75951
75952       ac_ext=cc
75953 ac_cpp='$CXXCPP $CPPFLAGS'
75954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75957
75958       cat >conftest.$ac_ext <<_ACEOF
75959 /* confdefs.h.  */
75960 _ACEOF
75961 cat confdefs.h >>conftest.$ac_ext
75962 cat >>conftest.$ac_ext <<_ACEOF
75963 /* end confdefs.h.  */
75964 #include <math.h>
75965 int
75966 main ()
75967 {
75968  copysignl(0, 0);
75969   ;
75970   return 0;
75971 }
75972 _ACEOF
75973 rm -f conftest.$ac_objext
75974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75975   (eval $ac_compile) 2>conftest.er1
75976   ac_status=$?
75977   grep -v '^ *+' conftest.er1 >conftest.err
75978   rm -f conftest.er1
75979   cat conftest.err >&5
75980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75981   (exit $ac_status); } &&
75982          { ac_try='test -z "$ac_cxx_werror_flag"
75983                          || test ! -s conftest.err'
75984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75985   (eval $ac_try) 2>&5
75986   ac_status=$?
75987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75988   (exit $ac_status); }; } &&
75989          { ac_try='test -s conftest.$ac_objext'
75990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75991   (eval $ac_try) 2>&5
75992   ac_status=$?
75993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75994   (exit $ac_status); }; }; then
75995   glibcxx_cv_func_copysignl_use=yes
75996 else
75997   echo "$as_me: failed program was:" >&5
75998 sed 's/^/| /' conftest.$ac_ext >&5
75999
76000 glibcxx_cv_func_copysignl_use=no
76001 fi
76002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76003       ac_ext=c
76004 ac_cpp='$CPP $CPPFLAGS'
76005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76008
76009
76010 fi
76011
76012   fi
76013   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
76014 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
76015
76016   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
76017
76018 for ac_func in copysignl
76019 do
76020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76021 echo "$as_me:$LINENO: checking for $ac_func" >&5
76022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76023 if eval "test \"\${$as_ac_var+set}\" = set"; then
76024   echo $ECHO_N "(cached) $ECHO_C" >&6
76025 else
76026   if test x$gcc_no_link = xyes; then
76027   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76029    { (exit 1); exit 1; }; }
76030 fi
76031 cat >conftest.$ac_ext <<_ACEOF
76032 /* confdefs.h.  */
76033 _ACEOF
76034 cat confdefs.h >>conftest.$ac_ext
76035 cat >>conftest.$ac_ext <<_ACEOF
76036 /* end confdefs.h.  */
76037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76038    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76039 #define $ac_func innocuous_$ac_func
76040
76041 /* System header to define __stub macros and hopefully few prototypes,
76042     which can conflict with char $ac_func (); below.
76043     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76044     <limits.h> exists even on freestanding compilers.  */
76045
76046 #ifdef __STDC__
76047 # include <limits.h>
76048 #else
76049 # include <assert.h>
76050 #endif
76051
76052 #undef $ac_func
76053
76054 /* Override any gcc2 internal prototype to avoid an error.  */
76055 #ifdef __cplusplus
76056 extern "C"
76057 {
76058 #endif
76059 /* We use char because int might match the return type of a gcc2
76060    builtin and then its argument prototype would still apply.  */
76061 char $ac_func ();
76062 /* The GNU C library defines this for functions which it implements
76063     to always fail with ENOSYS.  Some functions are actually named
76064     something starting with __ and the normal name is an alias.  */
76065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76066 choke me
76067 #else
76068 char (*f) () = $ac_func;
76069 #endif
76070 #ifdef __cplusplus
76071 }
76072 #endif
76073
76074 int
76075 main ()
76076 {
76077 return f != $ac_func;
76078   ;
76079   return 0;
76080 }
76081 _ACEOF
76082 rm -f conftest.$ac_objext conftest$ac_exeext
76083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76084   (eval $ac_link) 2>conftest.er1
76085   ac_status=$?
76086   grep -v '^ *+' conftest.er1 >conftest.err
76087   rm -f conftest.er1
76088   cat conftest.err >&5
76089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76090   (exit $ac_status); } &&
76091          { ac_try='test -z "$ac_c_werror_flag"
76092                          || test ! -s conftest.err'
76093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76094   (eval $ac_try) 2>&5
76095   ac_status=$?
76096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76097   (exit $ac_status); }; } &&
76098          { ac_try='test -s conftest$ac_exeext'
76099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76100   (eval $ac_try) 2>&5
76101   ac_status=$?
76102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76103   (exit $ac_status); }; }; then
76104   eval "$as_ac_var=yes"
76105 else
76106   echo "$as_me: failed program was:" >&5
76107 sed 's/^/| /' conftest.$ac_ext >&5
76108
76109 eval "$as_ac_var=no"
76110 fi
76111 rm -f conftest.err conftest.$ac_objext \
76112       conftest$ac_exeext conftest.$ac_ext
76113 fi
76114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76116 if test `eval echo '${'$as_ac_var'}'` = yes; then
76117   cat >>confdefs.h <<_ACEOF
76118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76119 _ACEOF
76120
76121 fi
76122 done
76123
76124   else
76125
76126   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
76127 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
76128   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
76129     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
76130   echo $ECHO_N "(cached) $ECHO_C" >&6
76131 else
76132
76133
76134
76135       ac_ext=cc
76136 ac_cpp='$CXXCPP $CPPFLAGS'
76137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76140
76141       cat >conftest.$ac_ext <<_ACEOF
76142 /* confdefs.h.  */
76143 _ACEOF
76144 cat confdefs.h >>conftest.$ac_ext
76145 cat >>conftest.$ac_ext <<_ACEOF
76146 /* end confdefs.h.  */
76147 #include <math.h>
76148 int
76149 main ()
76150 {
76151  _copysignl(0, 0);
76152   ;
76153   return 0;
76154 }
76155 _ACEOF
76156 rm -f conftest.$ac_objext
76157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76158   (eval $ac_compile) 2>conftest.er1
76159   ac_status=$?
76160   grep -v '^ *+' conftest.er1 >conftest.err
76161   rm -f conftest.er1
76162   cat conftest.err >&5
76163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76164   (exit $ac_status); } &&
76165          { ac_try='test -z "$ac_cxx_werror_flag"
76166                          || test ! -s conftest.err'
76167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76168   (eval $ac_try) 2>&5
76169   ac_status=$?
76170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76171   (exit $ac_status); }; } &&
76172          { ac_try='test -s conftest.$ac_objext'
76173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76174   (eval $ac_try) 2>&5
76175   ac_status=$?
76176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76177   (exit $ac_status); }; }; then
76178   glibcxx_cv_func__copysignl_use=yes
76179 else
76180   echo "$as_me: failed program was:" >&5
76181 sed 's/^/| /' conftest.$ac_ext >&5
76182
76183 glibcxx_cv_func__copysignl_use=no
76184 fi
76185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76186       ac_ext=c
76187 ac_cpp='$CPP $CPPFLAGS'
76188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76191
76192
76193 fi
76194
76195   fi
76196   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
76197 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
76198
76199     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
76200
76201 for ac_func in _copysignl
76202 do
76203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76204 echo "$as_me:$LINENO: checking for $ac_func" >&5
76205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76206 if eval "test \"\${$as_ac_var+set}\" = set"; then
76207   echo $ECHO_N "(cached) $ECHO_C" >&6
76208 else
76209   if test x$gcc_no_link = xyes; then
76210   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76212    { (exit 1); exit 1; }; }
76213 fi
76214 cat >conftest.$ac_ext <<_ACEOF
76215 /* confdefs.h.  */
76216 _ACEOF
76217 cat confdefs.h >>conftest.$ac_ext
76218 cat >>conftest.$ac_ext <<_ACEOF
76219 /* end confdefs.h.  */
76220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76221    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76222 #define $ac_func innocuous_$ac_func
76223
76224 /* System header to define __stub macros and hopefully few prototypes,
76225     which can conflict with char $ac_func (); below.
76226     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76227     <limits.h> exists even on freestanding compilers.  */
76228
76229 #ifdef __STDC__
76230 # include <limits.h>
76231 #else
76232 # include <assert.h>
76233 #endif
76234
76235 #undef $ac_func
76236
76237 /* Override any gcc2 internal prototype to avoid an error.  */
76238 #ifdef __cplusplus
76239 extern "C"
76240 {
76241 #endif
76242 /* We use char because int might match the return type of a gcc2
76243    builtin and then its argument prototype would still apply.  */
76244 char $ac_func ();
76245 /* The GNU C library defines this for functions which it implements
76246     to always fail with ENOSYS.  Some functions are actually named
76247     something starting with __ and the normal name is an alias.  */
76248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76249 choke me
76250 #else
76251 char (*f) () = $ac_func;
76252 #endif
76253 #ifdef __cplusplus
76254 }
76255 #endif
76256
76257 int
76258 main ()
76259 {
76260 return f != $ac_func;
76261   ;
76262   return 0;
76263 }
76264 _ACEOF
76265 rm -f conftest.$ac_objext conftest$ac_exeext
76266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76267   (eval $ac_link) 2>conftest.er1
76268   ac_status=$?
76269   grep -v '^ *+' conftest.er1 >conftest.err
76270   rm -f conftest.er1
76271   cat conftest.err >&5
76272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76273   (exit $ac_status); } &&
76274          { ac_try='test -z "$ac_c_werror_flag"
76275                          || test ! -s conftest.err'
76276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76277   (eval $ac_try) 2>&5
76278   ac_status=$?
76279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76280   (exit $ac_status); }; } &&
76281          { ac_try='test -s conftest$ac_exeext'
76282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76283   (eval $ac_try) 2>&5
76284   ac_status=$?
76285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76286   (exit $ac_status); }; }; then
76287   eval "$as_ac_var=yes"
76288 else
76289   echo "$as_me: failed program was:" >&5
76290 sed 's/^/| /' conftest.$ac_ext >&5
76291
76292 eval "$as_ac_var=no"
76293 fi
76294 rm -f conftest.err conftest.$ac_objext \
76295       conftest$ac_exeext conftest.$ac_ext
76296 fi
76297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76299 if test `eval echo '${'$as_ac_var'}'` = yes; then
76300   cat >>confdefs.h <<_ACEOF
76301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76302 _ACEOF
76303
76304 fi
76305 done
76306
76307     fi
76308   fi
76309
76310
76311
76312
76313
76314
76315   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
76316 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
76317   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76318     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
76319   echo $ECHO_N "(cached) $ECHO_C" >&6
76320 else
76321
76322
76323
76324       ac_ext=cc
76325 ac_cpp='$CXXCPP $CPPFLAGS'
76326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76329
76330       cat >conftest.$ac_ext <<_ACEOF
76331 /* confdefs.h.  */
76332 _ACEOF
76333 cat confdefs.h >>conftest.$ac_ext
76334 cat >>conftest.$ac_ext <<_ACEOF
76335 /* end confdefs.h.  */
76336 #include <math.h>
76337 int
76338 main ()
76339 {
76340  atan2l(0, 0);
76341   ;
76342   return 0;
76343 }
76344 _ACEOF
76345 rm -f conftest.$ac_objext
76346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76347   (eval $ac_compile) 2>conftest.er1
76348   ac_status=$?
76349   grep -v '^ *+' conftest.er1 >conftest.err
76350   rm -f conftest.er1
76351   cat conftest.err >&5
76352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76353   (exit $ac_status); } &&
76354          { ac_try='test -z "$ac_cxx_werror_flag"
76355                          || test ! -s conftest.err'
76356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76357   (eval $ac_try) 2>&5
76358   ac_status=$?
76359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76360   (exit $ac_status); }; } &&
76361          { ac_try='test -s conftest.$ac_objext'
76362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76363   (eval $ac_try) 2>&5
76364   ac_status=$?
76365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76366   (exit $ac_status); }; }; then
76367   glibcxx_cv_func_atan2l_use=yes
76368 else
76369   echo "$as_me: failed program was:" >&5
76370 sed 's/^/| /' conftest.$ac_ext >&5
76371
76372 glibcxx_cv_func_atan2l_use=no
76373 fi
76374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76375       ac_ext=c
76376 ac_cpp='$CPP $CPPFLAGS'
76377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76380
76381
76382 fi
76383
76384   fi
76385   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
76386 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
76387
76388   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76389
76390 for ac_func in atan2l
76391 do
76392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76393 echo "$as_me:$LINENO: checking for $ac_func" >&5
76394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76395 if eval "test \"\${$as_ac_var+set}\" = set"; then
76396   echo $ECHO_N "(cached) $ECHO_C" >&6
76397 else
76398   if test x$gcc_no_link = xyes; then
76399   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76401    { (exit 1); exit 1; }; }
76402 fi
76403 cat >conftest.$ac_ext <<_ACEOF
76404 /* confdefs.h.  */
76405 _ACEOF
76406 cat confdefs.h >>conftest.$ac_ext
76407 cat >>conftest.$ac_ext <<_ACEOF
76408 /* end confdefs.h.  */
76409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76410    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76411 #define $ac_func innocuous_$ac_func
76412
76413 /* System header to define __stub macros and hopefully few prototypes,
76414     which can conflict with char $ac_func (); below.
76415     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76416     <limits.h> exists even on freestanding compilers.  */
76417
76418 #ifdef __STDC__
76419 # include <limits.h>
76420 #else
76421 # include <assert.h>
76422 #endif
76423
76424 #undef $ac_func
76425
76426 /* Override any gcc2 internal prototype to avoid an error.  */
76427 #ifdef __cplusplus
76428 extern "C"
76429 {
76430 #endif
76431 /* We use char because int might match the return type of a gcc2
76432    builtin and then its argument prototype would still apply.  */
76433 char $ac_func ();
76434 /* The GNU C library defines this for functions which it implements
76435     to always fail with ENOSYS.  Some functions are actually named
76436     something starting with __ and the normal name is an alias.  */
76437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76438 choke me
76439 #else
76440 char (*f) () = $ac_func;
76441 #endif
76442 #ifdef __cplusplus
76443 }
76444 #endif
76445
76446 int
76447 main ()
76448 {
76449 return f != $ac_func;
76450   ;
76451   return 0;
76452 }
76453 _ACEOF
76454 rm -f conftest.$ac_objext conftest$ac_exeext
76455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76456   (eval $ac_link) 2>conftest.er1
76457   ac_status=$?
76458   grep -v '^ *+' conftest.er1 >conftest.err
76459   rm -f conftest.er1
76460   cat conftest.err >&5
76461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76462   (exit $ac_status); } &&
76463          { ac_try='test -z "$ac_c_werror_flag"
76464                          || test ! -s conftest.err'
76465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76466   (eval $ac_try) 2>&5
76467   ac_status=$?
76468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76469   (exit $ac_status); }; } &&
76470          { ac_try='test -s conftest$ac_exeext'
76471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76472   (eval $ac_try) 2>&5
76473   ac_status=$?
76474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76475   (exit $ac_status); }; }; then
76476   eval "$as_ac_var=yes"
76477 else
76478   echo "$as_me: failed program was:" >&5
76479 sed 's/^/| /' conftest.$ac_ext >&5
76480
76481 eval "$as_ac_var=no"
76482 fi
76483 rm -f conftest.err conftest.$ac_objext \
76484       conftest$ac_exeext conftest.$ac_ext
76485 fi
76486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76488 if test `eval echo '${'$as_ac_var'}'` = yes; then
76489   cat >>confdefs.h <<_ACEOF
76490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76491 _ACEOF
76492
76493 fi
76494 done
76495
76496   else
76497
76498   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
76499 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
76500   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76501     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
76502   echo $ECHO_N "(cached) $ECHO_C" >&6
76503 else
76504
76505
76506
76507       ac_ext=cc
76508 ac_cpp='$CXXCPP $CPPFLAGS'
76509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76512
76513       cat >conftest.$ac_ext <<_ACEOF
76514 /* confdefs.h.  */
76515 _ACEOF
76516 cat confdefs.h >>conftest.$ac_ext
76517 cat >>conftest.$ac_ext <<_ACEOF
76518 /* end confdefs.h.  */
76519 #include <math.h>
76520 int
76521 main ()
76522 {
76523  _atan2l(0, 0);
76524   ;
76525   return 0;
76526 }
76527 _ACEOF
76528 rm -f conftest.$ac_objext
76529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76530   (eval $ac_compile) 2>conftest.er1
76531   ac_status=$?
76532   grep -v '^ *+' conftest.er1 >conftest.err
76533   rm -f conftest.er1
76534   cat conftest.err >&5
76535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76536   (exit $ac_status); } &&
76537          { ac_try='test -z "$ac_cxx_werror_flag"
76538                          || test ! -s conftest.err'
76539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76540   (eval $ac_try) 2>&5
76541   ac_status=$?
76542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76543   (exit $ac_status); }; } &&
76544          { ac_try='test -s conftest.$ac_objext'
76545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76546   (eval $ac_try) 2>&5
76547   ac_status=$?
76548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76549   (exit $ac_status); }; }; then
76550   glibcxx_cv_func__atan2l_use=yes
76551 else
76552   echo "$as_me: failed program was:" >&5
76553 sed 's/^/| /' conftest.$ac_ext >&5
76554
76555 glibcxx_cv_func__atan2l_use=no
76556 fi
76557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76558       ac_ext=c
76559 ac_cpp='$CPP $CPPFLAGS'
76560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76563
76564
76565 fi
76566
76567   fi
76568   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
76569 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
76570
76571     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76572
76573 for ac_func in _atan2l
76574 do
76575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76576 echo "$as_me:$LINENO: checking for $ac_func" >&5
76577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76578 if eval "test \"\${$as_ac_var+set}\" = set"; then
76579   echo $ECHO_N "(cached) $ECHO_C" >&6
76580 else
76581   if test x$gcc_no_link = xyes; then
76582   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76584    { (exit 1); exit 1; }; }
76585 fi
76586 cat >conftest.$ac_ext <<_ACEOF
76587 /* confdefs.h.  */
76588 _ACEOF
76589 cat confdefs.h >>conftest.$ac_ext
76590 cat >>conftest.$ac_ext <<_ACEOF
76591 /* end confdefs.h.  */
76592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76593    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76594 #define $ac_func innocuous_$ac_func
76595
76596 /* System header to define __stub macros and hopefully few prototypes,
76597     which can conflict with char $ac_func (); below.
76598     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76599     <limits.h> exists even on freestanding compilers.  */
76600
76601 #ifdef __STDC__
76602 # include <limits.h>
76603 #else
76604 # include <assert.h>
76605 #endif
76606
76607 #undef $ac_func
76608
76609 /* Override any gcc2 internal prototype to avoid an error.  */
76610 #ifdef __cplusplus
76611 extern "C"
76612 {
76613 #endif
76614 /* We use char because int might match the return type of a gcc2
76615    builtin and then its argument prototype would still apply.  */
76616 char $ac_func ();
76617 /* The GNU C library defines this for functions which it implements
76618     to always fail with ENOSYS.  Some functions are actually named
76619     something starting with __ and the normal name is an alias.  */
76620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76621 choke me
76622 #else
76623 char (*f) () = $ac_func;
76624 #endif
76625 #ifdef __cplusplus
76626 }
76627 #endif
76628
76629 int
76630 main ()
76631 {
76632 return f != $ac_func;
76633   ;
76634   return 0;
76635 }
76636 _ACEOF
76637 rm -f conftest.$ac_objext conftest$ac_exeext
76638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76639   (eval $ac_link) 2>conftest.er1
76640   ac_status=$?
76641   grep -v '^ *+' conftest.er1 >conftest.err
76642   rm -f conftest.er1
76643   cat conftest.err >&5
76644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76645   (exit $ac_status); } &&
76646          { ac_try='test -z "$ac_c_werror_flag"
76647                          || test ! -s conftest.err'
76648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76649   (eval $ac_try) 2>&5
76650   ac_status=$?
76651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76652   (exit $ac_status); }; } &&
76653          { ac_try='test -s conftest$ac_exeext'
76654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76655   (eval $ac_try) 2>&5
76656   ac_status=$?
76657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76658   (exit $ac_status); }; }; then
76659   eval "$as_ac_var=yes"
76660 else
76661   echo "$as_me: failed program was:" >&5
76662 sed 's/^/| /' conftest.$ac_ext >&5
76663
76664 eval "$as_ac_var=no"
76665 fi
76666 rm -f conftest.err conftest.$ac_objext \
76667       conftest$ac_exeext conftest.$ac_ext
76668 fi
76669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76671 if test `eval echo '${'$as_ac_var'}'` = yes; then
76672   cat >>confdefs.h <<_ACEOF
76673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76674 _ACEOF
76675
76676 fi
76677 done
76678
76679     fi
76680   fi
76681
76682
76683
76684
76685
76686
76687   echo "$as_me:$LINENO: checking for expl declaration" >&5
76688 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
76689   if test x${glibcxx_cv_func_expl_use+set} != xset; then
76690     if test "${glibcxx_cv_func_expl_use+set}" = set; then
76691   echo $ECHO_N "(cached) $ECHO_C" >&6
76692 else
76693
76694
76695
76696       ac_ext=cc
76697 ac_cpp='$CXXCPP $CPPFLAGS'
76698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76701
76702       cat >conftest.$ac_ext <<_ACEOF
76703 /* confdefs.h.  */
76704 _ACEOF
76705 cat confdefs.h >>conftest.$ac_ext
76706 cat >>conftest.$ac_ext <<_ACEOF
76707 /* end confdefs.h.  */
76708 #include <math.h>
76709                       #ifdef HAVE_IEEEFP_H
76710                       #include <ieeefp.h>
76711                       #endif
76712
76713 int
76714 main ()
76715 {
76716  expl(0);
76717   ;
76718   return 0;
76719 }
76720 _ACEOF
76721 rm -f conftest.$ac_objext
76722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76723   (eval $ac_compile) 2>conftest.er1
76724   ac_status=$?
76725   grep -v '^ *+' conftest.er1 >conftest.err
76726   rm -f conftest.er1
76727   cat conftest.err >&5
76728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76729   (exit $ac_status); } &&
76730          { ac_try='test -z "$ac_cxx_werror_flag"
76731                          || test ! -s conftest.err'
76732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76733   (eval $ac_try) 2>&5
76734   ac_status=$?
76735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76736   (exit $ac_status); }; } &&
76737          { ac_try='test -s conftest.$ac_objext'
76738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76739   (eval $ac_try) 2>&5
76740   ac_status=$?
76741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76742   (exit $ac_status); }; }; then
76743   glibcxx_cv_func_expl_use=yes
76744 else
76745   echo "$as_me: failed program was:" >&5
76746 sed 's/^/| /' conftest.$ac_ext >&5
76747
76748 glibcxx_cv_func_expl_use=no
76749 fi
76750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76751       ac_ext=c
76752 ac_cpp='$CPP $CPPFLAGS'
76753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76756
76757
76758 fi
76759
76760   fi
76761   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
76762 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
76763
76764   if test x$glibcxx_cv_func_expl_use = x"yes"; then
76765
76766 for ac_func in expl
76767 do
76768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76769 echo "$as_me:$LINENO: checking for $ac_func" >&5
76770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76771 if eval "test \"\${$as_ac_var+set}\" = set"; then
76772   echo $ECHO_N "(cached) $ECHO_C" >&6
76773 else
76774   if test x$gcc_no_link = xyes; then
76775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76777    { (exit 1); exit 1; }; }
76778 fi
76779 cat >conftest.$ac_ext <<_ACEOF
76780 /* confdefs.h.  */
76781 _ACEOF
76782 cat confdefs.h >>conftest.$ac_ext
76783 cat >>conftest.$ac_ext <<_ACEOF
76784 /* end confdefs.h.  */
76785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76786    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76787 #define $ac_func innocuous_$ac_func
76788
76789 /* System header to define __stub macros and hopefully few prototypes,
76790     which can conflict with char $ac_func (); below.
76791     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76792     <limits.h> exists even on freestanding compilers.  */
76793
76794 #ifdef __STDC__
76795 # include <limits.h>
76796 #else
76797 # include <assert.h>
76798 #endif
76799
76800 #undef $ac_func
76801
76802 /* Override any gcc2 internal prototype to avoid an error.  */
76803 #ifdef __cplusplus
76804 extern "C"
76805 {
76806 #endif
76807 /* We use char because int might match the return type of a gcc2
76808    builtin and then its argument prototype would still apply.  */
76809 char $ac_func ();
76810 /* The GNU C library defines this for functions which it implements
76811     to always fail with ENOSYS.  Some functions are actually named
76812     something starting with __ and the normal name is an alias.  */
76813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76814 choke me
76815 #else
76816 char (*f) () = $ac_func;
76817 #endif
76818 #ifdef __cplusplus
76819 }
76820 #endif
76821
76822 int
76823 main ()
76824 {
76825 return f != $ac_func;
76826   ;
76827   return 0;
76828 }
76829 _ACEOF
76830 rm -f conftest.$ac_objext conftest$ac_exeext
76831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76832   (eval $ac_link) 2>conftest.er1
76833   ac_status=$?
76834   grep -v '^ *+' conftest.er1 >conftest.err
76835   rm -f conftest.er1
76836   cat conftest.err >&5
76837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76838   (exit $ac_status); } &&
76839          { ac_try='test -z "$ac_c_werror_flag"
76840                          || test ! -s conftest.err'
76841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76842   (eval $ac_try) 2>&5
76843   ac_status=$?
76844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76845   (exit $ac_status); }; } &&
76846          { ac_try='test -s conftest$ac_exeext'
76847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76848   (eval $ac_try) 2>&5
76849   ac_status=$?
76850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76851   (exit $ac_status); }; }; then
76852   eval "$as_ac_var=yes"
76853 else
76854   echo "$as_me: failed program was:" >&5
76855 sed 's/^/| /' conftest.$ac_ext >&5
76856
76857 eval "$as_ac_var=no"
76858 fi
76859 rm -f conftest.err conftest.$ac_objext \
76860       conftest$ac_exeext conftest.$ac_ext
76861 fi
76862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76864 if test `eval echo '${'$as_ac_var'}'` = yes; then
76865   cat >>confdefs.h <<_ACEOF
76866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76867 _ACEOF
76868
76869 fi
76870 done
76871
76872   else
76873
76874   echo "$as_me:$LINENO: checking for _expl declaration" >&5
76875 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
76876   if test x${glibcxx_cv_func__expl_use+set} != xset; then
76877     if test "${glibcxx_cv_func__expl_use+set}" = set; then
76878   echo $ECHO_N "(cached) $ECHO_C" >&6
76879 else
76880
76881
76882
76883       ac_ext=cc
76884 ac_cpp='$CXXCPP $CPPFLAGS'
76885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76888
76889       cat >conftest.$ac_ext <<_ACEOF
76890 /* confdefs.h.  */
76891 _ACEOF
76892 cat confdefs.h >>conftest.$ac_ext
76893 cat >>conftest.$ac_ext <<_ACEOF
76894 /* end confdefs.h.  */
76895 #include <math.h>
76896                       #ifdef HAVE_IEEEFP_H
76897                       #include <ieeefp.h>
76898                       #endif
76899
76900 int
76901 main ()
76902 {
76903  _expl(0);
76904   ;
76905   return 0;
76906 }
76907 _ACEOF
76908 rm -f conftest.$ac_objext
76909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76910   (eval $ac_compile) 2>conftest.er1
76911   ac_status=$?
76912   grep -v '^ *+' conftest.er1 >conftest.err
76913   rm -f conftest.er1
76914   cat conftest.err >&5
76915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76916   (exit $ac_status); } &&
76917          { ac_try='test -z "$ac_cxx_werror_flag"
76918                          || test ! -s conftest.err'
76919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76920   (eval $ac_try) 2>&5
76921   ac_status=$?
76922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76923   (exit $ac_status); }; } &&
76924          { ac_try='test -s conftest.$ac_objext'
76925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76926   (eval $ac_try) 2>&5
76927   ac_status=$?
76928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76929   (exit $ac_status); }; }; then
76930   glibcxx_cv_func__expl_use=yes
76931 else
76932   echo "$as_me: failed program was:" >&5
76933 sed 's/^/| /' conftest.$ac_ext >&5
76934
76935 glibcxx_cv_func__expl_use=no
76936 fi
76937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76938       ac_ext=c
76939 ac_cpp='$CPP $CPPFLAGS'
76940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76943
76944
76945 fi
76946
76947   fi
76948   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
76949 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
76950
76951     if test x$glibcxx_cv_func__expl_use = x"yes"; then
76952
76953 for ac_func in _expl
76954 do
76955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76956 echo "$as_me:$LINENO: checking for $ac_func" >&5
76957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76958 if eval "test \"\${$as_ac_var+set}\" = set"; then
76959   echo $ECHO_N "(cached) $ECHO_C" >&6
76960 else
76961   if test x$gcc_no_link = xyes; then
76962   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76964    { (exit 1); exit 1; }; }
76965 fi
76966 cat >conftest.$ac_ext <<_ACEOF
76967 /* confdefs.h.  */
76968 _ACEOF
76969 cat confdefs.h >>conftest.$ac_ext
76970 cat >>conftest.$ac_ext <<_ACEOF
76971 /* end confdefs.h.  */
76972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76973    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76974 #define $ac_func innocuous_$ac_func
76975
76976 /* System header to define __stub macros and hopefully few prototypes,
76977     which can conflict with char $ac_func (); below.
76978     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76979     <limits.h> exists even on freestanding compilers.  */
76980
76981 #ifdef __STDC__
76982 # include <limits.h>
76983 #else
76984 # include <assert.h>
76985 #endif
76986
76987 #undef $ac_func
76988
76989 /* Override any gcc2 internal prototype to avoid an error.  */
76990 #ifdef __cplusplus
76991 extern "C"
76992 {
76993 #endif
76994 /* We use char because int might match the return type of a gcc2
76995    builtin and then its argument prototype would still apply.  */
76996 char $ac_func ();
76997 /* The GNU C library defines this for functions which it implements
76998     to always fail with ENOSYS.  Some functions are actually named
76999     something starting with __ and the normal name is an alias.  */
77000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77001 choke me
77002 #else
77003 char (*f) () = $ac_func;
77004 #endif
77005 #ifdef __cplusplus
77006 }
77007 #endif
77008
77009 int
77010 main ()
77011 {
77012 return f != $ac_func;
77013   ;
77014   return 0;
77015 }
77016 _ACEOF
77017 rm -f conftest.$ac_objext conftest$ac_exeext
77018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77019   (eval $ac_link) 2>conftest.er1
77020   ac_status=$?
77021   grep -v '^ *+' conftest.er1 >conftest.err
77022   rm -f conftest.er1
77023   cat conftest.err >&5
77024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77025   (exit $ac_status); } &&
77026          { ac_try='test -z "$ac_c_werror_flag"
77027                          || test ! -s conftest.err'
77028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77029   (eval $ac_try) 2>&5
77030   ac_status=$?
77031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77032   (exit $ac_status); }; } &&
77033          { ac_try='test -s conftest$ac_exeext'
77034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77035   (eval $ac_try) 2>&5
77036   ac_status=$?
77037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77038   (exit $ac_status); }; }; then
77039   eval "$as_ac_var=yes"
77040 else
77041   echo "$as_me: failed program was:" >&5
77042 sed 's/^/| /' conftest.$ac_ext >&5
77043
77044 eval "$as_ac_var=no"
77045 fi
77046 rm -f conftest.err conftest.$ac_objext \
77047       conftest$ac_exeext conftest.$ac_ext
77048 fi
77049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77051 if test `eval echo '${'$as_ac_var'}'` = yes; then
77052   cat >>confdefs.h <<_ACEOF
77053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77054 _ACEOF
77055
77056 fi
77057 done
77058
77059     fi
77060   fi
77061
77062
77063
77064
77065
77066
77067   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
77068 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
77069   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
77070     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
77071   echo $ECHO_N "(cached) $ECHO_C" >&6
77072 else
77073
77074
77075
77076       ac_ext=cc
77077 ac_cpp='$CXXCPP $CPPFLAGS'
77078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77081
77082       cat >conftest.$ac_ext <<_ACEOF
77083 /* confdefs.h.  */
77084 _ACEOF
77085 cat confdefs.h >>conftest.$ac_ext
77086 cat >>conftest.$ac_ext <<_ACEOF
77087 /* end confdefs.h.  */
77088 #include <math.h>
77089                       #ifdef HAVE_IEEEFP_H
77090                       #include <ieeefp.h>
77091                       #endif
77092
77093 int
77094 main ()
77095 {
77096  fabsl(0);
77097   ;
77098   return 0;
77099 }
77100 _ACEOF
77101 rm -f conftest.$ac_objext
77102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77103   (eval $ac_compile) 2>conftest.er1
77104   ac_status=$?
77105   grep -v '^ *+' conftest.er1 >conftest.err
77106   rm -f conftest.er1
77107   cat conftest.err >&5
77108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77109   (exit $ac_status); } &&
77110          { ac_try='test -z "$ac_cxx_werror_flag"
77111                          || test ! -s conftest.err'
77112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77113   (eval $ac_try) 2>&5
77114   ac_status=$?
77115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77116   (exit $ac_status); }; } &&
77117          { ac_try='test -s conftest.$ac_objext'
77118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77119   (eval $ac_try) 2>&5
77120   ac_status=$?
77121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77122   (exit $ac_status); }; }; then
77123   glibcxx_cv_func_fabsl_use=yes
77124 else
77125   echo "$as_me: failed program was:" >&5
77126 sed 's/^/| /' conftest.$ac_ext >&5
77127
77128 glibcxx_cv_func_fabsl_use=no
77129 fi
77130 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77131       ac_ext=c
77132 ac_cpp='$CPP $CPPFLAGS'
77133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77136
77137
77138 fi
77139
77140   fi
77141   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
77142 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
77143
77144   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
77145
77146 for ac_func in fabsl
77147 do
77148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77149 echo "$as_me:$LINENO: checking for $ac_func" >&5
77150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77151 if eval "test \"\${$as_ac_var+set}\" = set"; then
77152   echo $ECHO_N "(cached) $ECHO_C" >&6
77153 else
77154   if test x$gcc_no_link = xyes; then
77155   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77157    { (exit 1); exit 1; }; }
77158 fi
77159 cat >conftest.$ac_ext <<_ACEOF
77160 /* confdefs.h.  */
77161 _ACEOF
77162 cat confdefs.h >>conftest.$ac_ext
77163 cat >>conftest.$ac_ext <<_ACEOF
77164 /* end confdefs.h.  */
77165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77166    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77167 #define $ac_func innocuous_$ac_func
77168
77169 /* System header to define __stub macros and hopefully few prototypes,
77170     which can conflict with char $ac_func (); below.
77171     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77172     <limits.h> exists even on freestanding compilers.  */
77173
77174 #ifdef __STDC__
77175 # include <limits.h>
77176 #else
77177 # include <assert.h>
77178 #endif
77179
77180 #undef $ac_func
77181
77182 /* Override any gcc2 internal prototype to avoid an error.  */
77183 #ifdef __cplusplus
77184 extern "C"
77185 {
77186 #endif
77187 /* We use char because int might match the return type of a gcc2
77188    builtin and then its argument prototype would still apply.  */
77189 char $ac_func ();
77190 /* The GNU C library defines this for functions which it implements
77191     to always fail with ENOSYS.  Some functions are actually named
77192     something starting with __ and the normal name is an alias.  */
77193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77194 choke me
77195 #else
77196 char (*f) () = $ac_func;
77197 #endif
77198 #ifdef __cplusplus
77199 }
77200 #endif
77201
77202 int
77203 main ()
77204 {
77205 return f != $ac_func;
77206   ;
77207   return 0;
77208 }
77209 _ACEOF
77210 rm -f conftest.$ac_objext conftest$ac_exeext
77211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77212   (eval $ac_link) 2>conftest.er1
77213   ac_status=$?
77214   grep -v '^ *+' conftest.er1 >conftest.err
77215   rm -f conftest.er1
77216   cat conftest.err >&5
77217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77218   (exit $ac_status); } &&
77219          { ac_try='test -z "$ac_c_werror_flag"
77220                          || test ! -s conftest.err'
77221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77222   (eval $ac_try) 2>&5
77223   ac_status=$?
77224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77225   (exit $ac_status); }; } &&
77226          { ac_try='test -s conftest$ac_exeext'
77227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77228   (eval $ac_try) 2>&5
77229   ac_status=$?
77230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77231   (exit $ac_status); }; }; then
77232   eval "$as_ac_var=yes"
77233 else
77234   echo "$as_me: failed program was:" >&5
77235 sed 's/^/| /' conftest.$ac_ext >&5
77236
77237 eval "$as_ac_var=no"
77238 fi
77239 rm -f conftest.err conftest.$ac_objext \
77240       conftest$ac_exeext conftest.$ac_ext
77241 fi
77242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77244 if test `eval echo '${'$as_ac_var'}'` = yes; then
77245   cat >>confdefs.h <<_ACEOF
77246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77247 _ACEOF
77248
77249 fi
77250 done
77251
77252   else
77253
77254   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
77255 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
77256   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
77257     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
77258   echo $ECHO_N "(cached) $ECHO_C" >&6
77259 else
77260
77261
77262
77263       ac_ext=cc
77264 ac_cpp='$CXXCPP $CPPFLAGS'
77265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77268
77269       cat >conftest.$ac_ext <<_ACEOF
77270 /* confdefs.h.  */
77271 _ACEOF
77272 cat confdefs.h >>conftest.$ac_ext
77273 cat >>conftest.$ac_ext <<_ACEOF
77274 /* end confdefs.h.  */
77275 #include <math.h>
77276                       #ifdef HAVE_IEEEFP_H
77277                       #include <ieeefp.h>
77278                       #endif
77279
77280 int
77281 main ()
77282 {
77283  _fabsl(0);
77284   ;
77285   return 0;
77286 }
77287 _ACEOF
77288 rm -f conftest.$ac_objext
77289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77290   (eval $ac_compile) 2>conftest.er1
77291   ac_status=$?
77292   grep -v '^ *+' conftest.er1 >conftest.err
77293   rm -f conftest.er1
77294   cat conftest.err >&5
77295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77296   (exit $ac_status); } &&
77297          { ac_try='test -z "$ac_cxx_werror_flag"
77298                          || test ! -s conftest.err'
77299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77300   (eval $ac_try) 2>&5
77301   ac_status=$?
77302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77303   (exit $ac_status); }; } &&
77304          { ac_try='test -s conftest.$ac_objext'
77305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77306   (eval $ac_try) 2>&5
77307   ac_status=$?
77308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77309   (exit $ac_status); }; }; then
77310   glibcxx_cv_func__fabsl_use=yes
77311 else
77312   echo "$as_me: failed program was:" >&5
77313 sed 's/^/| /' conftest.$ac_ext >&5
77314
77315 glibcxx_cv_func__fabsl_use=no
77316 fi
77317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77318       ac_ext=c
77319 ac_cpp='$CPP $CPPFLAGS'
77320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77323
77324
77325 fi
77326
77327   fi
77328   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
77329 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
77330
77331     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
77332
77333 for ac_func in _fabsl
77334 do
77335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77336 echo "$as_me:$LINENO: checking for $ac_func" >&5
77337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77338 if eval "test \"\${$as_ac_var+set}\" = set"; then
77339   echo $ECHO_N "(cached) $ECHO_C" >&6
77340 else
77341   if test x$gcc_no_link = xyes; then
77342   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77344    { (exit 1); exit 1; }; }
77345 fi
77346 cat >conftest.$ac_ext <<_ACEOF
77347 /* confdefs.h.  */
77348 _ACEOF
77349 cat confdefs.h >>conftest.$ac_ext
77350 cat >>conftest.$ac_ext <<_ACEOF
77351 /* end confdefs.h.  */
77352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77353    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77354 #define $ac_func innocuous_$ac_func
77355
77356 /* System header to define __stub macros and hopefully few prototypes,
77357     which can conflict with char $ac_func (); below.
77358     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77359     <limits.h> exists even on freestanding compilers.  */
77360
77361 #ifdef __STDC__
77362 # include <limits.h>
77363 #else
77364 # include <assert.h>
77365 #endif
77366
77367 #undef $ac_func
77368
77369 /* Override any gcc2 internal prototype to avoid an error.  */
77370 #ifdef __cplusplus
77371 extern "C"
77372 {
77373 #endif
77374 /* We use char because int might match the return type of a gcc2
77375    builtin and then its argument prototype would still apply.  */
77376 char $ac_func ();
77377 /* The GNU C library defines this for functions which it implements
77378     to always fail with ENOSYS.  Some functions are actually named
77379     something starting with __ and the normal name is an alias.  */
77380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77381 choke me
77382 #else
77383 char (*f) () = $ac_func;
77384 #endif
77385 #ifdef __cplusplus
77386 }
77387 #endif
77388
77389 int
77390 main ()
77391 {
77392 return f != $ac_func;
77393   ;
77394   return 0;
77395 }
77396 _ACEOF
77397 rm -f conftest.$ac_objext conftest$ac_exeext
77398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77399   (eval $ac_link) 2>conftest.er1
77400   ac_status=$?
77401   grep -v '^ *+' conftest.er1 >conftest.err
77402   rm -f conftest.er1
77403   cat conftest.err >&5
77404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77405   (exit $ac_status); } &&
77406          { ac_try='test -z "$ac_c_werror_flag"
77407                          || test ! -s conftest.err'
77408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77409   (eval $ac_try) 2>&5
77410   ac_status=$?
77411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77412   (exit $ac_status); }; } &&
77413          { ac_try='test -s conftest$ac_exeext'
77414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77415   (eval $ac_try) 2>&5
77416   ac_status=$?
77417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77418   (exit $ac_status); }; }; then
77419   eval "$as_ac_var=yes"
77420 else
77421   echo "$as_me: failed program was:" >&5
77422 sed 's/^/| /' conftest.$ac_ext >&5
77423
77424 eval "$as_ac_var=no"
77425 fi
77426 rm -f conftest.err conftest.$ac_objext \
77427       conftest$ac_exeext conftest.$ac_ext
77428 fi
77429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77431 if test `eval echo '${'$as_ac_var'}'` = yes; then
77432   cat >>confdefs.h <<_ACEOF
77433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77434 _ACEOF
77435
77436 fi
77437 done
77438
77439     fi
77440   fi
77441
77442
77443
77444
77445
77446
77447   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
77448 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
77449   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
77450     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
77451   echo $ECHO_N "(cached) $ECHO_C" >&6
77452 else
77453
77454
77455
77456       ac_ext=cc
77457 ac_cpp='$CXXCPP $CPPFLAGS'
77458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77461
77462       cat >conftest.$ac_ext <<_ACEOF
77463 /* confdefs.h.  */
77464 _ACEOF
77465 cat confdefs.h >>conftest.$ac_ext
77466 cat >>conftest.$ac_ext <<_ACEOF
77467 /* end confdefs.h.  */
77468 #include <math.h>
77469 int
77470 main ()
77471 {
77472  fmodl(0, 0);
77473   ;
77474   return 0;
77475 }
77476 _ACEOF
77477 rm -f conftest.$ac_objext
77478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77479   (eval $ac_compile) 2>conftest.er1
77480   ac_status=$?
77481   grep -v '^ *+' conftest.er1 >conftest.err
77482   rm -f conftest.er1
77483   cat conftest.err >&5
77484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77485   (exit $ac_status); } &&
77486          { ac_try='test -z "$ac_cxx_werror_flag"
77487                          || test ! -s conftest.err'
77488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77489   (eval $ac_try) 2>&5
77490   ac_status=$?
77491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77492   (exit $ac_status); }; } &&
77493          { ac_try='test -s conftest.$ac_objext'
77494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77495   (eval $ac_try) 2>&5
77496   ac_status=$?
77497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77498   (exit $ac_status); }; }; then
77499   glibcxx_cv_func_fmodl_use=yes
77500 else
77501   echo "$as_me: failed program was:" >&5
77502 sed 's/^/| /' conftest.$ac_ext >&5
77503
77504 glibcxx_cv_func_fmodl_use=no
77505 fi
77506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77507       ac_ext=c
77508 ac_cpp='$CPP $CPPFLAGS'
77509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77512
77513
77514 fi
77515
77516   fi
77517   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
77518 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
77519
77520   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77521
77522 for ac_func in fmodl
77523 do
77524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77525 echo "$as_me:$LINENO: checking for $ac_func" >&5
77526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77527 if eval "test \"\${$as_ac_var+set}\" = set"; then
77528   echo $ECHO_N "(cached) $ECHO_C" >&6
77529 else
77530   if test x$gcc_no_link = xyes; then
77531   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77533    { (exit 1); exit 1; }; }
77534 fi
77535 cat >conftest.$ac_ext <<_ACEOF
77536 /* confdefs.h.  */
77537 _ACEOF
77538 cat confdefs.h >>conftest.$ac_ext
77539 cat >>conftest.$ac_ext <<_ACEOF
77540 /* end confdefs.h.  */
77541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77542    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77543 #define $ac_func innocuous_$ac_func
77544
77545 /* System header to define __stub macros and hopefully few prototypes,
77546     which can conflict with char $ac_func (); below.
77547     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77548     <limits.h> exists even on freestanding compilers.  */
77549
77550 #ifdef __STDC__
77551 # include <limits.h>
77552 #else
77553 # include <assert.h>
77554 #endif
77555
77556 #undef $ac_func
77557
77558 /* Override any gcc2 internal prototype to avoid an error.  */
77559 #ifdef __cplusplus
77560 extern "C"
77561 {
77562 #endif
77563 /* We use char because int might match the return type of a gcc2
77564    builtin and then its argument prototype would still apply.  */
77565 char $ac_func ();
77566 /* The GNU C library defines this for functions which it implements
77567     to always fail with ENOSYS.  Some functions are actually named
77568     something starting with __ and the normal name is an alias.  */
77569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77570 choke me
77571 #else
77572 char (*f) () = $ac_func;
77573 #endif
77574 #ifdef __cplusplus
77575 }
77576 #endif
77577
77578 int
77579 main ()
77580 {
77581 return f != $ac_func;
77582   ;
77583   return 0;
77584 }
77585 _ACEOF
77586 rm -f conftest.$ac_objext conftest$ac_exeext
77587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77588   (eval $ac_link) 2>conftest.er1
77589   ac_status=$?
77590   grep -v '^ *+' conftest.er1 >conftest.err
77591   rm -f conftest.er1
77592   cat conftest.err >&5
77593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77594   (exit $ac_status); } &&
77595          { ac_try='test -z "$ac_c_werror_flag"
77596                          || test ! -s conftest.err'
77597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77598   (eval $ac_try) 2>&5
77599   ac_status=$?
77600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77601   (exit $ac_status); }; } &&
77602          { ac_try='test -s conftest$ac_exeext'
77603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77604   (eval $ac_try) 2>&5
77605   ac_status=$?
77606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77607   (exit $ac_status); }; }; then
77608   eval "$as_ac_var=yes"
77609 else
77610   echo "$as_me: failed program was:" >&5
77611 sed 's/^/| /' conftest.$ac_ext >&5
77612
77613 eval "$as_ac_var=no"
77614 fi
77615 rm -f conftest.err conftest.$ac_objext \
77616       conftest$ac_exeext conftest.$ac_ext
77617 fi
77618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77620 if test `eval echo '${'$as_ac_var'}'` = yes; then
77621   cat >>confdefs.h <<_ACEOF
77622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77623 _ACEOF
77624
77625 fi
77626 done
77627
77628   else
77629
77630   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
77631 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
77632   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77633     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
77634   echo $ECHO_N "(cached) $ECHO_C" >&6
77635 else
77636
77637
77638
77639       ac_ext=cc
77640 ac_cpp='$CXXCPP $CPPFLAGS'
77641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77644
77645       cat >conftest.$ac_ext <<_ACEOF
77646 /* confdefs.h.  */
77647 _ACEOF
77648 cat confdefs.h >>conftest.$ac_ext
77649 cat >>conftest.$ac_ext <<_ACEOF
77650 /* end confdefs.h.  */
77651 #include <math.h>
77652 int
77653 main ()
77654 {
77655  _fmodl(0, 0);
77656   ;
77657   return 0;
77658 }
77659 _ACEOF
77660 rm -f conftest.$ac_objext
77661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77662   (eval $ac_compile) 2>conftest.er1
77663   ac_status=$?
77664   grep -v '^ *+' conftest.er1 >conftest.err
77665   rm -f conftest.er1
77666   cat conftest.err >&5
77667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77668   (exit $ac_status); } &&
77669          { ac_try='test -z "$ac_cxx_werror_flag"
77670                          || test ! -s conftest.err'
77671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77672   (eval $ac_try) 2>&5
77673   ac_status=$?
77674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77675   (exit $ac_status); }; } &&
77676          { ac_try='test -s conftest.$ac_objext'
77677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77678   (eval $ac_try) 2>&5
77679   ac_status=$?
77680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77681   (exit $ac_status); }; }; then
77682   glibcxx_cv_func__fmodl_use=yes
77683 else
77684   echo "$as_me: failed program was:" >&5
77685 sed 's/^/| /' conftest.$ac_ext >&5
77686
77687 glibcxx_cv_func__fmodl_use=no
77688 fi
77689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77690       ac_ext=c
77691 ac_cpp='$CPP $CPPFLAGS'
77692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77695
77696
77697 fi
77698
77699   fi
77700   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
77701 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
77702
77703     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77704
77705 for ac_func in _fmodl
77706 do
77707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77708 echo "$as_me:$LINENO: checking for $ac_func" >&5
77709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77710 if eval "test \"\${$as_ac_var+set}\" = set"; then
77711   echo $ECHO_N "(cached) $ECHO_C" >&6
77712 else
77713   if test x$gcc_no_link = xyes; then
77714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77716    { (exit 1); exit 1; }; }
77717 fi
77718 cat >conftest.$ac_ext <<_ACEOF
77719 /* confdefs.h.  */
77720 _ACEOF
77721 cat confdefs.h >>conftest.$ac_ext
77722 cat >>conftest.$ac_ext <<_ACEOF
77723 /* end confdefs.h.  */
77724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77725    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77726 #define $ac_func innocuous_$ac_func
77727
77728 /* System header to define __stub macros and hopefully few prototypes,
77729     which can conflict with char $ac_func (); below.
77730     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77731     <limits.h> exists even on freestanding compilers.  */
77732
77733 #ifdef __STDC__
77734 # include <limits.h>
77735 #else
77736 # include <assert.h>
77737 #endif
77738
77739 #undef $ac_func
77740
77741 /* Override any gcc2 internal prototype to avoid an error.  */
77742 #ifdef __cplusplus
77743 extern "C"
77744 {
77745 #endif
77746 /* We use char because int might match the return type of a gcc2
77747    builtin and then its argument prototype would still apply.  */
77748 char $ac_func ();
77749 /* The GNU C library defines this for functions which it implements
77750     to always fail with ENOSYS.  Some functions are actually named
77751     something starting with __ and the normal name is an alias.  */
77752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77753 choke me
77754 #else
77755 char (*f) () = $ac_func;
77756 #endif
77757 #ifdef __cplusplus
77758 }
77759 #endif
77760
77761 int
77762 main ()
77763 {
77764 return f != $ac_func;
77765   ;
77766   return 0;
77767 }
77768 _ACEOF
77769 rm -f conftest.$ac_objext conftest$ac_exeext
77770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77771   (eval $ac_link) 2>conftest.er1
77772   ac_status=$?
77773   grep -v '^ *+' conftest.er1 >conftest.err
77774   rm -f conftest.er1
77775   cat conftest.err >&5
77776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77777   (exit $ac_status); } &&
77778          { ac_try='test -z "$ac_c_werror_flag"
77779                          || test ! -s conftest.err'
77780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77781   (eval $ac_try) 2>&5
77782   ac_status=$?
77783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77784   (exit $ac_status); }; } &&
77785          { ac_try='test -s conftest$ac_exeext'
77786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77787   (eval $ac_try) 2>&5
77788   ac_status=$?
77789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77790   (exit $ac_status); }; }; then
77791   eval "$as_ac_var=yes"
77792 else
77793   echo "$as_me: failed program was:" >&5
77794 sed 's/^/| /' conftest.$ac_ext >&5
77795
77796 eval "$as_ac_var=no"
77797 fi
77798 rm -f conftest.err conftest.$ac_objext \
77799       conftest$ac_exeext conftest.$ac_ext
77800 fi
77801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77803 if test `eval echo '${'$as_ac_var'}'` = yes; then
77804   cat >>confdefs.h <<_ACEOF
77805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77806 _ACEOF
77807
77808 fi
77809 done
77810
77811     fi
77812   fi
77813
77814
77815
77816
77817
77818
77819   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
77820 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
77821   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77822     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
77823   echo $ECHO_N "(cached) $ECHO_C" >&6
77824 else
77825
77826
77827
77828       ac_ext=cc
77829 ac_cpp='$CXXCPP $CPPFLAGS'
77830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77833
77834       cat >conftest.$ac_ext <<_ACEOF
77835 /* confdefs.h.  */
77836 _ACEOF
77837 cat confdefs.h >>conftest.$ac_ext
77838 cat >>conftest.$ac_ext <<_ACEOF
77839 /* end confdefs.h.  */
77840 #include <math.h>
77841 int
77842 main ()
77843 {
77844  frexpl(0, 0);
77845   ;
77846   return 0;
77847 }
77848 _ACEOF
77849 rm -f conftest.$ac_objext
77850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77851   (eval $ac_compile) 2>conftest.er1
77852   ac_status=$?
77853   grep -v '^ *+' conftest.er1 >conftest.err
77854   rm -f conftest.er1
77855   cat conftest.err >&5
77856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77857   (exit $ac_status); } &&
77858          { ac_try='test -z "$ac_cxx_werror_flag"
77859                          || test ! -s conftest.err'
77860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77861   (eval $ac_try) 2>&5
77862   ac_status=$?
77863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77864   (exit $ac_status); }; } &&
77865          { ac_try='test -s conftest.$ac_objext'
77866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77867   (eval $ac_try) 2>&5
77868   ac_status=$?
77869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77870   (exit $ac_status); }; }; then
77871   glibcxx_cv_func_frexpl_use=yes
77872 else
77873   echo "$as_me: failed program was:" >&5
77874 sed 's/^/| /' conftest.$ac_ext >&5
77875
77876 glibcxx_cv_func_frexpl_use=no
77877 fi
77878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77879       ac_ext=c
77880 ac_cpp='$CPP $CPPFLAGS'
77881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77884
77885
77886 fi
77887
77888   fi
77889   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
77890 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
77891
77892   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77893
77894 for ac_func in frexpl
77895 do
77896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77897 echo "$as_me:$LINENO: checking for $ac_func" >&5
77898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77899 if eval "test \"\${$as_ac_var+set}\" = set"; then
77900   echo $ECHO_N "(cached) $ECHO_C" >&6
77901 else
77902   if test x$gcc_no_link = xyes; then
77903   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77905    { (exit 1); exit 1; }; }
77906 fi
77907 cat >conftest.$ac_ext <<_ACEOF
77908 /* confdefs.h.  */
77909 _ACEOF
77910 cat confdefs.h >>conftest.$ac_ext
77911 cat >>conftest.$ac_ext <<_ACEOF
77912 /* end confdefs.h.  */
77913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77914    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77915 #define $ac_func innocuous_$ac_func
77916
77917 /* System header to define __stub macros and hopefully few prototypes,
77918     which can conflict with char $ac_func (); below.
77919     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77920     <limits.h> exists even on freestanding compilers.  */
77921
77922 #ifdef __STDC__
77923 # include <limits.h>
77924 #else
77925 # include <assert.h>
77926 #endif
77927
77928 #undef $ac_func
77929
77930 /* Override any gcc2 internal prototype to avoid an error.  */
77931 #ifdef __cplusplus
77932 extern "C"
77933 {
77934 #endif
77935 /* We use char because int might match the return type of a gcc2
77936    builtin and then its argument prototype would still apply.  */
77937 char $ac_func ();
77938 /* The GNU C library defines this for functions which it implements
77939     to always fail with ENOSYS.  Some functions are actually named
77940     something starting with __ and the normal name is an alias.  */
77941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77942 choke me
77943 #else
77944 char (*f) () = $ac_func;
77945 #endif
77946 #ifdef __cplusplus
77947 }
77948 #endif
77949
77950 int
77951 main ()
77952 {
77953 return f != $ac_func;
77954   ;
77955   return 0;
77956 }
77957 _ACEOF
77958 rm -f conftest.$ac_objext conftest$ac_exeext
77959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77960   (eval $ac_link) 2>conftest.er1
77961   ac_status=$?
77962   grep -v '^ *+' conftest.er1 >conftest.err
77963   rm -f conftest.er1
77964   cat conftest.err >&5
77965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77966   (exit $ac_status); } &&
77967          { ac_try='test -z "$ac_c_werror_flag"
77968                          || test ! -s conftest.err'
77969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77970   (eval $ac_try) 2>&5
77971   ac_status=$?
77972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77973   (exit $ac_status); }; } &&
77974          { ac_try='test -s conftest$ac_exeext'
77975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77976   (eval $ac_try) 2>&5
77977   ac_status=$?
77978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77979   (exit $ac_status); }; }; then
77980   eval "$as_ac_var=yes"
77981 else
77982   echo "$as_me: failed program was:" >&5
77983 sed 's/^/| /' conftest.$ac_ext >&5
77984
77985 eval "$as_ac_var=no"
77986 fi
77987 rm -f conftest.err conftest.$ac_objext \
77988       conftest$ac_exeext conftest.$ac_ext
77989 fi
77990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77992 if test `eval echo '${'$as_ac_var'}'` = yes; then
77993   cat >>confdefs.h <<_ACEOF
77994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77995 _ACEOF
77996
77997 fi
77998 done
77999
78000   else
78001
78002   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
78003 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
78004   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
78005     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
78006   echo $ECHO_N "(cached) $ECHO_C" >&6
78007 else
78008
78009
78010
78011       ac_ext=cc
78012 ac_cpp='$CXXCPP $CPPFLAGS'
78013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78016
78017       cat >conftest.$ac_ext <<_ACEOF
78018 /* confdefs.h.  */
78019 _ACEOF
78020 cat confdefs.h >>conftest.$ac_ext
78021 cat >>conftest.$ac_ext <<_ACEOF
78022 /* end confdefs.h.  */
78023 #include <math.h>
78024 int
78025 main ()
78026 {
78027  _frexpl(0, 0);
78028   ;
78029   return 0;
78030 }
78031 _ACEOF
78032 rm -f conftest.$ac_objext
78033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78034   (eval $ac_compile) 2>conftest.er1
78035   ac_status=$?
78036   grep -v '^ *+' conftest.er1 >conftest.err
78037   rm -f conftest.er1
78038   cat conftest.err >&5
78039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78040   (exit $ac_status); } &&
78041          { ac_try='test -z "$ac_cxx_werror_flag"
78042                          || test ! -s conftest.err'
78043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78044   (eval $ac_try) 2>&5
78045   ac_status=$?
78046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78047   (exit $ac_status); }; } &&
78048          { ac_try='test -s conftest.$ac_objext'
78049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78050   (eval $ac_try) 2>&5
78051   ac_status=$?
78052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78053   (exit $ac_status); }; }; then
78054   glibcxx_cv_func__frexpl_use=yes
78055 else
78056   echo "$as_me: failed program was:" >&5
78057 sed 's/^/| /' conftest.$ac_ext >&5
78058
78059 glibcxx_cv_func__frexpl_use=no
78060 fi
78061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78062       ac_ext=c
78063 ac_cpp='$CPP $CPPFLAGS'
78064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78067
78068
78069 fi
78070
78071   fi
78072   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
78073 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
78074
78075     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
78076
78077 for ac_func in _frexpl
78078 do
78079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78080 echo "$as_me:$LINENO: checking for $ac_func" >&5
78081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78082 if eval "test \"\${$as_ac_var+set}\" = set"; then
78083   echo $ECHO_N "(cached) $ECHO_C" >&6
78084 else
78085   if test x$gcc_no_link = xyes; then
78086   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78088    { (exit 1); exit 1; }; }
78089 fi
78090 cat >conftest.$ac_ext <<_ACEOF
78091 /* confdefs.h.  */
78092 _ACEOF
78093 cat confdefs.h >>conftest.$ac_ext
78094 cat >>conftest.$ac_ext <<_ACEOF
78095 /* end confdefs.h.  */
78096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78097    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78098 #define $ac_func innocuous_$ac_func
78099
78100 /* System header to define __stub macros and hopefully few prototypes,
78101     which can conflict with char $ac_func (); below.
78102     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78103     <limits.h> exists even on freestanding compilers.  */
78104
78105 #ifdef __STDC__
78106 # include <limits.h>
78107 #else
78108 # include <assert.h>
78109 #endif
78110
78111 #undef $ac_func
78112
78113 /* Override any gcc2 internal prototype to avoid an error.  */
78114 #ifdef __cplusplus
78115 extern "C"
78116 {
78117 #endif
78118 /* We use char because int might match the return type of a gcc2
78119    builtin and then its argument prototype would still apply.  */
78120 char $ac_func ();
78121 /* The GNU C library defines this for functions which it implements
78122     to always fail with ENOSYS.  Some functions are actually named
78123     something starting with __ and the normal name is an alias.  */
78124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78125 choke me
78126 #else
78127 char (*f) () = $ac_func;
78128 #endif
78129 #ifdef __cplusplus
78130 }
78131 #endif
78132
78133 int
78134 main ()
78135 {
78136 return f != $ac_func;
78137   ;
78138   return 0;
78139 }
78140 _ACEOF
78141 rm -f conftest.$ac_objext conftest$ac_exeext
78142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78143   (eval $ac_link) 2>conftest.er1
78144   ac_status=$?
78145   grep -v '^ *+' conftest.er1 >conftest.err
78146   rm -f conftest.er1
78147   cat conftest.err >&5
78148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78149   (exit $ac_status); } &&
78150          { ac_try='test -z "$ac_c_werror_flag"
78151                          || test ! -s conftest.err'
78152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78153   (eval $ac_try) 2>&5
78154   ac_status=$?
78155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78156   (exit $ac_status); }; } &&
78157          { ac_try='test -s conftest$ac_exeext'
78158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78159   (eval $ac_try) 2>&5
78160   ac_status=$?
78161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78162   (exit $ac_status); }; }; then
78163   eval "$as_ac_var=yes"
78164 else
78165   echo "$as_me: failed program was:" >&5
78166 sed 's/^/| /' conftest.$ac_ext >&5
78167
78168 eval "$as_ac_var=no"
78169 fi
78170 rm -f conftest.err conftest.$ac_objext \
78171       conftest$ac_exeext conftest.$ac_ext
78172 fi
78173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78175 if test `eval echo '${'$as_ac_var'}'` = yes; then
78176   cat >>confdefs.h <<_ACEOF
78177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78178 _ACEOF
78179
78180 fi
78181 done
78182
78183     fi
78184   fi
78185
78186
78187
78188
78189
78190
78191   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
78192 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
78193   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
78194     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
78195   echo $ECHO_N "(cached) $ECHO_C" >&6
78196 else
78197
78198
78199
78200       ac_ext=cc
78201 ac_cpp='$CXXCPP $CPPFLAGS'
78202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78205
78206       cat >conftest.$ac_ext <<_ACEOF
78207 /* confdefs.h.  */
78208 _ACEOF
78209 cat confdefs.h >>conftest.$ac_ext
78210 cat >>conftest.$ac_ext <<_ACEOF
78211 /* end confdefs.h.  */
78212 #include <math.h>
78213 int
78214 main ()
78215 {
78216  hypotl(0, 0);
78217   ;
78218   return 0;
78219 }
78220 _ACEOF
78221 rm -f conftest.$ac_objext
78222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78223   (eval $ac_compile) 2>conftest.er1
78224   ac_status=$?
78225   grep -v '^ *+' conftest.er1 >conftest.err
78226   rm -f conftest.er1
78227   cat conftest.err >&5
78228   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78229   (exit $ac_status); } &&
78230          { ac_try='test -z "$ac_cxx_werror_flag"
78231                          || test ! -s conftest.err'
78232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78233   (eval $ac_try) 2>&5
78234   ac_status=$?
78235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78236   (exit $ac_status); }; } &&
78237          { ac_try='test -s conftest.$ac_objext'
78238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78239   (eval $ac_try) 2>&5
78240   ac_status=$?
78241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78242   (exit $ac_status); }; }; then
78243   glibcxx_cv_func_hypotl_use=yes
78244 else
78245   echo "$as_me: failed program was:" >&5
78246 sed 's/^/| /' conftest.$ac_ext >&5
78247
78248 glibcxx_cv_func_hypotl_use=no
78249 fi
78250 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78251       ac_ext=c
78252 ac_cpp='$CPP $CPPFLAGS'
78253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78256
78257
78258 fi
78259
78260   fi
78261   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
78262 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
78263
78264   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
78265
78266 for ac_func in hypotl
78267 do
78268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78269 echo "$as_me:$LINENO: checking for $ac_func" >&5
78270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78271 if eval "test \"\${$as_ac_var+set}\" = set"; then
78272   echo $ECHO_N "(cached) $ECHO_C" >&6
78273 else
78274   if test x$gcc_no_link = xyes; then
78275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78277    { (exit 1); exit 1; }; }
78278 fi
78279 cat >conftest.$ac_ext <<_ACEOF
78280 /* confdefs.h.  */
78281 _ACEOF
78282 cat confdefs.h >>conftest.$ac_ext
78283 cat >>conftest.$ac_ext <<_ACEOF
78284 /* end confdefs.h.  */
78285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78286    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78287 #define $ac_func innocuous_$ac_func
78288
78289 /* System header to define __stub macros and hopefully few prototypes,
78290     which can conflict with char $ac_func (); below.
78291     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78292     <limits.h> exists even on freestanding compilers.  */
78293
78294 #ifdef __STDC__
78295 # include <limits.h>
78296 #else
78297 # include <assert.h>
78298 #endif
78299
78300 #undef $ac_func
78301
78302 /* Override any gcc2 internal prototype to avoid an error.  */
78303 #ifdef __cplusplus
78304 extern "C"
78305 {
78306 #endif
78307 /* We use char because int might match the return type of a gcc2
78308    builtin and then its argument prototype would still apply.  */
78309 char $ac_func ();
78310 /* The GNU C library defines this for functions which it implements
78311     to always fail with ENOSYS.  Some functions are actually named
78312     something starting with __ and the normal name is an alias.  */
78313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78314 choke me
78315 #else
78316 char (*f) () = $ac_func;
78317 #endif
78318 #ifdef __cplusplus
78319 }
78320 #endif
78321
78322 int
78323 main ()
78324 {
78325 return f != $ac_func;
78326   ;
78327   return 0;
78328 }
78329 _ACEOF
78330 rm -f conftest.$ac_objext conftest$ac_exeext
78331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78332   (eval $ac_link) 2>conftest.er1
78333   ac_status=$?
78334   grep -v '^ *+' conftest.er1 >conftest.err
78335   rm -f conftest.er1
78336   cat conftest.err >&5
78337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78338   (exit $ac_status); } &&
78339          { ac_try='test -z "$ac_c_werror_flag"
78340                          || test ! -s conftest.err'
78341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78342   (eval $ac_try) 2>&5
78343   ac_status=$?
78344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78345   (exit $ac_status); }; } &&
78346          { ac_try='test -s conftest$ac_exeext'
78347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78348   (eval $ac_try) 2>&5
78349   ac_status=$?
78350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78351   (exit $ac_status); }; }; then
78352   eval "$as_ac_var=yes"
78353 else
78354   echo "$as_me: failed program was:" >&5
78355 sed 's/^/| /' conftest.$ac_ext >&5
78356
78357 eval "$as_ac_var=no"
78358 fi
78359 rm -f conftest.err conftest.$ac_objext \
78360       conftest$ac_exeext conftest.$ac_ext
78361 fi
78362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78364 if test `eval echo '${'$as_ac_var'}'` = yes; then
78365   cat >>confdefs.h <<_ACEOF
78366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78367 _ACEOF
78368
78369 fi
78370 done
78371
78372   else
78373
78374   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
78375 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
78376   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
78377     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
78378   echo $ECHO_N "(cached) $ECHO_C" >&6
78379 else
78380
78381
78382
78383       ac_ext=cc
78384 ac_cpp='$CXXCPP $CPPFLAGS'
78385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78388
78389       cat >conftest.$ac_ext <<_ACEOF
78390 /* confdefs.h.  */
78391 _ACEOF
78392 cat confdefs.h >>conftest.$ac_ext
78393 cat >>conftest.$ac_ext <<_ACEOF
78394 /* end confdefs.h.  */
78395 #include <math.h>
78396 int
78397 main ()
78398 {
78399  _hypotl(0, 0);
78400   ;
78401   return 0;
78402 }
78403 _ACEOF
78404 rm -f conftest.$ac_objext
78405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78406   (eval $ac_compile) 2>conftest.er1
78407   ac_status=$?
78408   grep -v '^ *+' conftest.er1 >conftest.err
78409   rm -f conftest.er1
78410   cat conftest.err >&5
78411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78412   (exit $ac_status); } &&
78413          { ac_try='test -z "$ac_cxx_werror_flag"
78414                          || test ! -s conftest.err'
78415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78416   (eval $ac_try) 2>&5
78417   ac_status=$?
78418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78419   (exit $ac_status); }; } &&
78420          { ac_try='test -s conftest.$ac_objext'
78421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78422   (eval $ac_try) 2>&5
78423   ac_status=$?
78424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78425   (exit $ac_status); }; }; then
78426   glibcxx_cv_func__hypotl_use=yes
78427 else
78428   echo "$as_me: failed program was:" >&5
78429 sed 's/^/| /' conftest.$ac_ext >&5
78430
78431 glibcxx_cv_func__hypotl_use=no
78432 fi
78433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78434       ac_ext=c
78435 ac_cpp='$CPP $CPPFLAGS'
78436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78439
78440
78441 fi
78442
78443   fi
78444   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
78445 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
78446
78447     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
78448
78449 for ac_func in _hypotl
78450 do
78451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78452 echo "$as_me:$LINENO: checking for $ac_func" >&5
78453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78454 if eval "test \"\${$as_ac_var+set}\" = set"; then
78455   echo $ECHO_N "(cached) $ECHO_C" >&6
78456 else
78457   if test x$gcc_no_link = xyes; then
78458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78460    { (exit 1); exit 1; }; }
78461 fi
78462 cat >conftest.$ac_ext <<_ACEOF
78463 /* confdefs.h.  */
78464 _ACEOF
78465 cat confdefs.h >>conftest.$ac_ext
78466 cat >>conftest.$ac_ext <<_ACEOF
78467 /* end confdefs.h.  */
78468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78469    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78470 #define $ac_func innocuous_$ac_func
78471
78472 /* System header to define __stub macros and hopefully few prototypes,
78473     which can conflict with char $ac_func (); below.
78474     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78475     <limits.h> exists even on freestanding compilers.  */
78476
78477 #ifdef __STDC__
78478 # include <limits.h>
78479 #else
78480 # include <assert.h>
78481 #endif
78482
78483 #undef $ac_func
78484
78485 /* Override any gcc2 internal prototype to avoid an error.  */
78486 #ifdef __cplusplus
78487 extern "C"
78488 {
78489 #endif
78490 /* We use char because int might match the return type of a gcc2
78491    builtin and then its argument prototype would still apply.  */
78492 char $ac_func ();
78493 /* The GNU C library defines this for functions which it implements
78494     to always fail with ENOSYS.  Some functions are actually named
78495     something starting with __ and the normal name is an alias.  */
78496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78497 choke me
78498 #else
78499 char (*f) () = $ac_func;
78500 #endif
78501 #ifdef __cplusplus
78502 }
78503 #endif
78504
78505 int
78506 main ()
78507 {
78508 return f != $ac_func;
78509   ;
78510   return 0;
78511 }
78512 _ACEOF
78513 rm -f conftest.$ac_objext conftest$ac_exeext
78514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78515   (eval $ac_link) 2>conftest.er1
78516   ac_status=$?
78517   grep -v '^ *+' conftest.er1 >conftest.err
78518   rm -f conftest.er1
78519   cat conftest.err >&5
78520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78521   (exit $ac_status); } &&
78522          { ac_try='test -z "$ac_c_werror_flag"
78523                          || test ! -s conftest.err'
78524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78525   (eval $ac_try) 2>&5
78526   ac_status=$?
78527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78528   (exit $ac_status); }; } &&
78529          { ac_try='test -s conftest$ac_exeext'
78530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78531   (eval $ac_try) 2>&5
78532   ac_status=$?
78533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78534   (exit $ac_status); }; }; then
78535   eval "$as_ac_var=yes"
78536 else
78537   echo "$as_me: failed program was:" >&5
78538 sed 's/^/| /' conftest.$ac_ext >&5
78539
78540 eval "$as_ac_var=no"
78541 fi
78542 rm -f conftest.err conftest.$ac_objext \
78543       conftest$ac_exeext conftest.$ac_ext
78544 fi
78545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78547 if test `eval echo '${'$as_ac_var'}'` = yes; then
78548   cat >>confdefs.h <<_ACEOF
78549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78550 _ACEOF
78551
78552 fi
78553 done
78554
78555     fi
78556   fi
78557
78558
78559
78560
78561
78562
78563   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
78564 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
78565   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
78566     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
78567   echo $ECHO_N "(cached) $ECHO_C" >&6
78568 else
78569
78570
78571
78572       ac_ext=cc
78573 ac_cpp='$CXXCPP $CPPFLAGS'
78574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78577
78578       cat >conftest.$ac_ext <<_ACEOF
78579 /* confdefs.h.  */
78580 _ACEOF
78581 cat confdefs.h >>conftest.$ac_ext
78582 cat >>conftest.$ac_ext <<_ACEOF
78583 /* end confdefs.h.  */
78584 #include <math.h>
78585 int
78586 main ()
78587 {
78588  ldexpl(0, 0);
78589   ;
78590   return 0;
78591 }
78592 _ACEOF
78593 rm -f conftest.$ac_objext
78594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78595   (eval $ac_compile) 2>conftest.er1
78596   ac_status=$?
78597   grep -v '^ *+' conftest.er1 >conftest.err
78598   rm -f conftest.er1
78599   cat conftest.err >&5
78600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78601   (exit $ac_status); } &&
78602          { ac_try='test -z "$ac_cxx_werror_flag"
78603                          || test ! -s conftest.err'
78604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78605   (eval $ac_try) 2>&5
78606   ac_status=$?
78607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78608   (exit $ac_status); }; } &&
78609          { ac_try='test -s conftest.$ac_objext'
78610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78611   (eval $ac_try) 2>&5
78612   ac_status=$?
78613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78614   (exit $ac_status); }; }; then
78615   glibcxx_cv_func_ldexpl_use=yes
78616 else
78617   echo "$as_me: failed program was:" >&5
78618 sed 's/^/| /' conftest.$ac_ext >&5
78619
78620 glibcxx_cv_func_ldexpl_use=no
78621 fi
78622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78623       ac_ext=c
78624 ac_cpp='$CPP $CPPFLAGS'
78625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78628
78629
78630 fi
78631
78632   fi
78633   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
78634 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
78635
78636   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
78637
78638 for ac_func in ldexpl
78639 do
78640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78641 echo "$as_me:$LINENO: checking for $ac_func" >&5
78642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78643 if eval "test \"\${$as_ac_var+set}\" = set"; then
78644   echo $ECHO_N "(cached) $ECHO_C" >&6
78645 else
78646   if test x$gcc_no_link = xyes; then
78647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78649    { (exit 1); exit 1; }; }
78650 fi
78651 cat >conftest.$ac_ext <<_ACEOF
78652 /* confdefs.h.  */
78653 _ACEOF
78654 cat confdefs.h >>conftest.$ac_ext
78655 cat >>conftest.$ac_ext <<_ACEOF
78656 /* end confdefs.h.  */
78657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78658    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78659 #define $ac_func innocuous_$ac_func
78660
78661 /* System header to define __stub macros and hopefully few prototypes,
78662     which can conflict with char $ac_func (); below.
78663     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78664     <limits.h> exists even on freestanding compilers.  */
78665
78666 #ifdef __STDC__
78667 # include <limits.h>
78668 #else
78669 # include <assert.h>
78670 #endif
78671
78672 #undef $ac_func
78673
78674 /* Override any gcc2 internal prototype to avoid an error.  */
78675 #ifdef __cplusplus
78676 extern "C"
78677 {
78678 #endif
78679 /* We use char because int might match the return type of a gcc2
78680    builtin and then its argument prototype would still apply.  */
78681 char $ac_func ();
78682 /* The GNU C library defines this for functions which it implements
78683     to always fail with ENOSYS.  Some functions are actually named
78684     something starting with __ and the normal name is an alias.  */
78685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78686 choke me
78687 #else
78688 char (*f) () = $ac_func;
78689 #endif
78690 #ifdef __cplusplus
78691 }
78692 #endif
78693
78694 int
78695 main ()
78696 {
78697 return f != $ac_func;
78698   ;
78699   return 0;
78700 }
78701 _ACEOF
78702 rm -f conftest.$ac_objext conftest$ac_exeext
78703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78704   (eval $ac_link) 2>conftest.er1
78705   ac_status=$?
78706   grep -v '^ *+' conftest.er1 >conftest.err
78707   rm -f conftest.er1
78708   cat conftest.err >&5
78709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78710   (exit $ac_status); } &&
78711          { ac_try='test -z "$ac_c_werror_flag"
78712                          || test ! -s conftest.err'
78713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78714   (eval $ac_try) 2>&5
78715   ac_status=$?
78716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78717   (exit $ac_status); }; } &&
78718          { ac_try='test -s conftest$ac_exeext'
78719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78720   (eval $ac_try) 2>&5
78721   ac_status=$?
78722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78723   (exit $ac_status); }; }; then
78724   eval "$as_ac_var=yes"
78725 else
78726   echo "$as_me: failed program was:" >&5
78727 sed 's/^/| /' conftest.$ac_ext >&5
78728
78729 eval "$as_ac_var=no"
78730 fi
78731 rm -f conftest.err conftest.$ac_objext \
78732       conftest$ac_exeext conftest.$ac_ext
78733 fi
78734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78736 if test `eval echo '${'$as_ac_var'}'` = yes; then
78737   cat >>confdefs.h <<_ACEOF
78738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78739 _ACEOF
78740
78741 fi
78742 done
78743
78744   else
78745
78746   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
78747 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
78748   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
78749     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
78750   echo $ECHO_N "(cached) $ECHO_C" >&6
78751 else
78752
78753
78754
78755       ac_ext=cc
78756 ac_cpp='$CXXCPP $CPPFLAGS'
78757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78760
78761       cat >conftest.$ac_ext <<_ACEOF
78762 /* confdefs.h.  */
78763 _ACEOF
78764 cat confdefs.h >>conftest.$ac_ext
78765 cat >>conftest.$ac_ext <<_ACEOF
78766 /* end confdefs.h.  */
78767 #include <math.h>
78768 int
78769 main ()
78770 {
78771  _ldexpl(0, 0);
78772   ;
78773   return 0;
78774 }
78775 _ACEOF
78776 rm -f conftest.$ac_objext
78777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78778   (eval $ac_compile) 2>conftest.er1
78779   ac_status=$?
78780   grep -v '^ *+' conftest.er1 >conftest.err
78781   rm -f conftest.er1
78782   cat conftest.err >&5
78783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78784   (exit $ac_status); } &&
78785          { ac_try='test -z "$ac_cxx_werror_flag"
78786                          || test ! -s conftest.err'
78787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78788   (eval $ac_try) 2>&5
78789   ac_status=$?
78790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78791   (exit $ac_status); }; } &&
78792          { ac_try='test -s conftest.$ac_objext'
78793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78794   (eval $ac_try) 2>&5
78795   ac_status=$?
78796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78797   (exit $ac_status); }; }; then
78798   glibcxx_cv_func__ldexpl_use=yes
78799 else
78800   echo "$as_me: failed program was:" >&5
78801 sed 's/^/| /' conftest.$ac_ext >&5
78802
78803 glibcxx_cv_func__ldexpl_use=no
78804 fi
78805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78806       ac_ext=c
78807 ac_cpp='$CPP $CPPFLAGS'
78808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78811
78812
78813 fi
78814
78815   fi
78816   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
78817 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
78818
78819     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
78820
78821 for ac_func in _ldexpl
78822 do
78823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78824 echo "$as_me:$LINENO: checking for $ac_func" >&5
78825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78826 if eval "test \"\${$as_ac_var+set}\" = set"; then
78827   echo $ECHO_N "(cached) $ECHO_C" >&6
78828 else
78829   if test x$gcc_no_link = xyes; then
78830   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78832    { (exit 1); exit 1; }; }
78833 fi
78834 cat >conftest.$ac_ext <<_ACEOF
78835 /* confdefs.h.  */
78836 _ACEOF
78837 cat confdefs.h >>conftest.$ac_ext
78838 cat >>conftest.$ac_ext <<_ACEOF
78839 /* end confdefs.h.  */
78840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78841    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78842 #define $ac_func innocuous_$ac_func
78843
78844 /* System header to define __stub macros and hopefully few prototypes,
78845     which can conflict with char $ac_func (); below.
78846     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78847     <limits.h> exists even on freestanding compilers.  */
78848
78849 #ifdef __STDC__
78850 # include <limits.h>
78851 #else
78852 # include <assert.h>
78853 #endif
78854
78855 #undef $ac_func
78856
78857 /* Override any gcc2 internal prototype to avoid an error.  */
78858 #ifdef __cplusplus
78859 extern "C"
78860 {
78861 #endif
78862 /* We use char because int might match the return type of a gcc2
78863    builtin and then its argument prototype would still apply.  */
78864 char $ac_func ();
78865 /* The GNU C library defines this for functions which it implements
78866     to always fail with ENOSYS.  Some functions are actually named
78867     something starting with __ and the normal name is an alias.  */
78868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78869 choke me
78870 #else
78871 char (*f) () = $ac_func;
78872 #endif
78873 #ifdef __cplusplus
78874 }
78875 #endif
78876
78877 int
78878 main ()
78879 {
78880 return f != $ac_func;
78881   ;
78882   return 0;
78883 }
78884 _ACEOF
78885 rm -f conftest.$ac_objext conftest$ac_exeext
78886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78887   (eval $ac_link) 2>conftest.er1
78888   ac_status=$?
78889   grep -v '^ *+' conftest.er1 >conftest.err
78890   rm -f conftest.er1
78891   cat conftest.err >&5
78892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78893   (exit $ac_status); } &&
78894          { ac_try='test -z "$ac_c_werror_flag"
78895                          || test ! -s conftest.err'
78896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78897   (eval $ac_try) 2>&5
78898   ac_status=$?
78899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78900   (exit $ac_status); }; } &&
78901          { ac_try='test -s conftest$ac_exeext'
78902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78903   (eval $ac_try) 2>&5
78904   ac_status=$?
78905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78906   (exit $ac_status); }; }; then
78907   eval "$as_ac_var=yes"
78908 else
78909   echo "$as_me: failed program was:" >&5
78910 sed 's/^/| /' conftest.$ac_ext >&5
78911
78912 eval "$as_ac_var=no"
78913 fi
78914 rm -f conftest.err conftest.$ac_objext \
78915       conftest$ac_exeext conftest.$ac_ext
78916 fi
78917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78919 if test `eval echo '${'$as_ac_var'}'` = yes; then
78920   cat >>confdefs.h <<_ACEOF
78921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78922 _ACEOF
78923
78924 fi
78925 done
78926
78927     fi
78928   fi
78929
78930
78931
78932
78933
78934
78935   echo "$as_me:$LINENO: checking for logl declaration" >&5
78936 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
78937   if test x${glibcxx_cv_func_logl_use+set} != xset; then
78938     if test "${glibcxx_cv_func_logl_use+set}" = set; then
78939   echo $ECHO_N "(cached) $ECHO_C" >&6
78940 else
78941
78942
78943
78944       ac_ext=cc
78945 ac_cpp='$CXXCPP $CPPFLAGS'
78946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78949
78950       cat >conftest.$ac_ext <<_ACEOF
78951 /* confdefs.h.  */
78952 _ACEOF
78953 cat confdefs.h >>conftest.$ac_ext
78954 cat >>conftest.$ac_ext <<_ACEOF
78955 /* end confdefs.h.  */
78956 #include <math.h>
78957                       #ifdef HAVE_IEEEFP_H
78958                       #include <ieeefp.h>
78959                       #endif
78960
78961 int
78962 main ()
78963 {
78964  logl(0);
78965   ;
78966   return 0;
78967 }
78968 _ACEOF
78969 rm -f conftest.$ac_objext
78970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78971   (eval $ac_compile) 2>conftest.er1
78972   ac_status=$?
78973   grep -v '^ *+' conftest.er1 >conftest.err
78974   rm -f conftest.er1
78975   cat conftest.err >&5
78976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78977   (exit $ac_status); } &&
78978          { ac_try='test -z "$ac_cxx_werror_flag"
78979                          || test ! -s conftest.err'
78980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78981   (eval $ac_try) 2>&5
78982   ac_status=$?
78983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78984   (exit $ac_status); }; } &&
78985          { ac_try='test -s conftest.$ac_objext'
78986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78987   (eval $ac_try) 2>&5
78988   ac_status=$?
78989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78990   (exit $ac_status); }; }; then
78991   glibcxx_cv_func_logl_use=yes
78992 else
78993   echo "$as_me: failed program was:" >&5
78994 sed 's/^/| /' conftest.$ac_ext >&5
78995
78996 glibcxx_cv_func_logl_use=no
78997 fi
78998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78999       ac_ext=c
79000 ac_cpp='$CPP $CPPFLAGS'
79001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79004
79005
79006 fi
79007
79008   fi
79009   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
79010 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
79011
79012   if test x$glibcxx_cv_func_logl_use = x"yes"; then
79013
79014 for ac_func in logl
79015 do
79016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79017 echo "$as_me:$LINENO: checking for $ac_func" >&5
79018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79019 if eval "test \"\${$as_ac_var+set}\" = set"; then
79020   echo $ECHO_N "(cached) $ECHO_C" >&6
79021 else
79022   if test x$gcc_no_link = xyes; then
79023   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79025    { (exit 1); exit 1; }; }
79026 fi
79027 cat >conftest.$ac_ext <<_ACEOF
79028 /* confdefs.h.  */
79029 _ACEOF
79030 cat confdefs.h >>conftest.$ac_ext
79031 cat >>conftest.$ac_ext <<_ACEOF
79032 /* end confdefs.h.  */
79033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79034    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79035 #define $ac_func innocuous_$ac_func
79036
79037 /* System header to define __stub macros and hopefully few prototypes,
79038     which can conflict with char $ac_func (); below.
79039     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79040     <limits.h> exists even on freestanding compilers.  */
79041
79042 #ifdef __STDC__
79043 # include <limits.h>
79044 #else
79045 # include <assert.h>
79046 #endif
79047
79048 #undef $ac_func
79049
79050 /* Override any gcc2 internal prototype to avoid an error.  */
79051 #ifdef __cplusplus
79052 extern "C"
79053 {
79054 #endif
79055 /* We use char because int might match the return type of a gcc2
79056    builtin and then its argument prototype would still apply.  */
79057 char $ac_func ();
79058 /* The GNU C library defines this for functions which it implements
79059     to always fail with ENOSYS.  Some functions are actually named
79060     something starting with __ and the normal name is an alias.  */
79061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79062 choke me
79063 #else
79064 char (*f) () = $ac_func;
79065 #endif
79066 #ifdef __cplusplus
79067 }
79068 #endif
79069
79070 int
79071 main ()
79072 {
79073 return f != $ac_func;
79074   ;
79075   return 0;
79076 }
79077 _ACEOF
79078 rm -f conftest.$ac_objext conftest$ac_exeext
79079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79080   (eval $ac_link) 2>conftest.er1
79081   ac_status=$?
79082   grep -v '^ *+' conftest.er1 >conftest.err
79083   rm -f conftest.er1
79084   cat conftest.err >&5
79085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79086   (exit $ac_status); } &&
79087          { ac_try='test -z "$ac_c_werror_flag"
79088                          || test ! -s conftest.err'
79089   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79090   (eval $ac_try) 2>&5
79091   ac_status=$?
79092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79093   (exit $ac_status); }; } &&
79094          { ac_try='test -s conftest$ac_exeext'
79095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79096   (eval $ac_try) 2>&5
79097   ac_status=$?
79098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79099   (exit $ac_status); }; }; then
79100   eval "$as_ac_var=yes"
79101 else
79102   echo "$as_me: failed program was:" >&5
79103 sed 's/^/| /' conftest.$ac_ext >&5
79104
79105 eval "$as_ac_var=no"
79106 fi
79107 rm -f conftest.err conftest.$ac_objext \
79108       conftest$ac_exeext conftest.$ac_ext
79109 fi
79110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79112 if test `eval echo '${'$as_ac_var'}'` = yes; then
79113   cat >>confdefs.h <<_ACEOF
79114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79115 _ACEOF
79116
79117 fi
79118 done
79119
79120   else
79121
79122   echo "$as_me:$LINENO: checking for _logl declaration" >&5
79123 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
79124   if test x${glibcxx_cv_func__logl_use+set} != xset; then
79125     if test "${glibcxx_cv_func__logl_use+set}" = set; then
79126   echo $ECHO_N "(cached) $ECHO_C" >&6
79127 else
79128
79129
79130
79131       ac_ext=cc
79132 ac_cpp='$CXXCPP $CPPFLAGS'
79133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79136
79137       cat >conftest.$ac_ext <<_ACEOF
79138 /* confdefs.h.  */
79139 _ACEOF
79140 cat confdefs.h >>conftest.$ac_ext
79141 cat >>conftest.$ac_ext <<_ACEOF
79142 /* end confdefs.h.  */
79143 #include <math.h>
79144                       #ifdef HAVE_IEEEFP_H
79145                       #include <ieeefp.h>
79146                       #endif
79147
79148 int
79149 main ()
79150 {
79151  _logl(0);
79152   ;
79153   return 0;
79154 }
79155 _ACEOF
79156 rm -f conftest.$ac_objext
79157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79158   (eval $ac_compile) 2>conftest.er1
79159   ac_status=$?
79160   grep -v '^ *+' conftest.er1 >conftest.err
79161   rm -f conftest.er1
79162   cat conftest.err >&5
79163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79164   (exit $ac_status); } &&
79165          { ac_try='test -z "$ac_cxx_werror_flag"
79166                          || test ! -s conftest.err'
79167   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79168   (eval $ac_try) 2>&5
79169   ac_status=$?
79170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79171   (exit $ac_status); }; } &&
79172          { ac_try='test -s conftest.$ac_objext'
79173   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79174   (eval $ac_try) 2>&5
79175   ac_status=$?
79176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79177   (exit $ac_status); }; }; then
79178   glibcxx_cv_func__logl_use=yes
79179 else
79180   echo "$as_me: failed program was:" >&5
79181 sed 's/^/| /' conftest.$ac_ext >&5
79182
79183 glibcxx_cv_func__logl_use=no
79184 fi
79185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79186       ac_ext=c
79187 ac_cpp='$CPP $CPPFLAGS'
79188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79191
79192
79193 fi
79194
79195   fi
79196   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
79197 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
79198
79199     if test x$glibcxx_cv_func__logl_use = x"yes"; then
79200
79201 for ac_func in _logl
79202 do
79203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79204 echo "$as_me:$LINENO: checking for $ac_func" >&5
79205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79206 if eval "test \"\${$as_ac_var+set}\" = set"; then
79207   echo $ECHO_N "(cached) $ECHO_C" >&6
79208 else
79209   if test x$gcc_no_link = xyes; then
79210   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79212    { (exit 1); exit 1; }; }
79213 fi
79214 cat >conftest.$ac_ext <<_ACEOF
79215 /* confdefs.h.  */
79216 _ACEOF
79217 cat confdefs.h >>conftest.$ac_ext
79218 cat >>conftest.$ac_ext <<_ACEOF
79219 /* end confdefs.h.  */
79220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79221    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79222 #define $ac_func innocuous_$ac_func
79223
79224 /* System header to define __stub macros and hopefully few prototypes,
79225     which can conflict with char $ac_func (); below.
79226     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79227     <limits.h> exists even on freestanding compilers.  */
79228
79229 #ifdef __STDC__
79230 # include <limits.h>
79231 #else
79232 # include <assert.h>
79233 #endif
79234
79235 #undef $ac_func
79236
79237 /* Override any gcc2 internal prototype to avoid an error.  */
79238 #ifdef __cplusplus
79239 extern "C"
79240 {
79241 #endif
79242 /* We use char because int might match the return type of a gcc2
79243    builtin and then its argument prototype would still apply.  */
79244 char $ac_func ();
79245 /* The GNU C library defines this for functions which it implements
79246     to always fail with ENOSYS.  Some functions are actually named
79247     something starting with __ and the normal name is an alias.  */
79248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79249 choke me
79250 #else
79251 char (*f) () = $ac_func;
79252 #endif
79253 #ifdef __cplusplus
79254 }
79255 #endif
79256
79257 int
79258 main ()
79259 {
79260 return f != $ac_func;
79261   ;
79262   return 0;
79263 }
79264 _ACEOF
79265 rm -f conftest.$ac_objext conftest$ac_exeext
79266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79267   (eval $ac_link) 2>conftest.er1
79268   ac_status=$?
79269   grep -v '^ *+' conftest.er1 >conftest.err
79270   rm -f conftest.er1
79271   cat conftest.err >&5
79272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79273   (exit $ac_status); } &&
79274          { ac_try='test -z "$ac_c_werror_flag"
79275                          || test ! -s conftest.err'
79276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79277   (eval $ac_try) 2>&5
79278   ac_status=$?
79279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79280   (exit $ac_status); }; } &&
79281          { ac_try='test -s conftest$ac_exeext'
79282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79283   (eval $ac_try) 2>&5
79284   ac_status=$?
79285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79286   (exit $ac_status); }; }; then
79287   eval "$as_ac_var=yes"
79288 else
79289   echo "$as_me: failed program was:" >&5
79290 sed 's/^/| /' conftest.$ac_ext >&5
79291
79292 eval "$as_ac_var=no"
79293 fi
79294 rm -f conftest.err conftest.$ac_objext \
79295       conftest$ac_exeext conftest.$ac_ext
79296 fi
79297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79299 if test `eval echo '${'$as_ac_var'}'` = yes; then
79300   cat >>confdefs.h <<_ACEOF
79301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79302 _ACEOF
79303
79304 fi
79305 done
79306
79307     fi
79308   fi
79309
79310
79311
79312
79313
79314
79315   echo "$as_me:$LINENO: checking for log10l declaration" >&5
79316 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
79317   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
79318     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
79319   echo $ECHO_N "(cached) $ECHO_C" >&6
79320 else
79321
79322
79323
79324       ac_ext=cc
79325 ac_cpp='$CXXCPP $CPPFLAGS'
79326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79329
79330       cat >conftest.$ac_ext <<_ACEOF
79331 /* confdefs.h.  */
79332 _ACEOF
79333 cat confdefs.h >>conftest.$ac_ext
79334 cat >>conftest.$ac_ext <<_ACEOF
79335 /* end confdefs.h.  */
79336 #include <math.h>
79337                       #ifdef HAVE_IEEEFP_H
79338                       #include <ieeefp.h>
79339                       #endif
79340
79341 int
79342 main ()
79343 {
79344  log10l(0);
79345   ;
79346   return 0;
79347 }
79348 _ACEOF
79349 rm -f conftest.$ac_objext
79350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79351   (eval $ac_compile) 2>conftest.er1
79352   ac_status=$?
79353   grep -v '^ *+' conftest.er1 >conftest.err
79354   rm -f conftest.er1
79355   cat conftest.err >&5
79356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79357   (exit $ac_status); } &&
79358          { ac_try='test -z "$ac_cxx_werror_flag"
79359                          || test ! -s conftest.err'
79360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79361   (eval $ac_try) 2>&5
79362   ac_status=$?
79363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79364   (exit $ac_status); }; } &&
79365          { ac_try='test -s conftest.$ac_objext'
79366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79367   (eval $ac_try) 2>&5
79368   ac_status=$?
79369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79370   (exit $ac_status); }; }; then
79371   glibcxx_cv_func_log10l_use=yes
79372 else
79373   echo "$as_me: failed program was:" >&5
79374 sed 's/^/| /' conftest.$ac_ext >&5
79375
79376 glibcxx_cv_func_log10l_use=no
79377 fi
79378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79379       ac_ext=c
79380 ac_cpp='$CPP $CPPFLAGS'
79381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79384
79385
79386 fi
79387
79388   fi
79389   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
79390 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
79391
79392   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
79393
79394 for ac_func in log10l
79395 do
79396 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79397 echo "$as_me:$LINENO: checking for $ac_func" >&5
79398 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79399 if eval "test \"\${$as_ac_var+set}\" = set"; then
79400   echo $ECHO_N "(cached) $ECHO_C" >&6
79401 else
79402   if test x$gcc_no_link = xyes; then
79403   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79405    { (exit 1); exit 1; }; }
79406 fi
79407 cat >conftest.$ac_ext <<_ACEOF
79408 /* confdefs.h.  */
79409 _ACEOF
79410 cat confdefs.h >>conftest.$ac_ext
79411 cat >>conftest.$ac_ext <<_ACEOF
79412 /* end confdefs.h.  */
79413 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79414    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79415 #define $ac_func innocuous_$ac_func
79416
79417 /* System header to define __stub macros and hopefully few prototypes,
79418     which can conflict with char $ac_func (); below.
79419     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79420     <limits.h> exists even on freestanding compilers.  */
79421
79422 #ifdef __STDC__
79423 # include <limits.h>
79424 #else
79425 # include <assert.h>
79426 #endif
79427
79428 #undef $ac_func
79429
79430 /* Override any gcc2 internal prototype to avoid an error.  */
79431 #ifdef __cplusplus
79432 extern "C"
79433 {
79434 #endif
79435 /* We use char because int might match the return type of a gcc2
79436    builtin and then its argument prototype would still apply.  */
79437 char $ac_func ();
79438 /* The GNU C library defines this for functions which it implements
79439     to always fail with ENOSYS.  Some functions are actually named
79440     something starting with __ and the normal name is an alias.  */
79441 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79442 choke me
79443 #else
79444 char (*f) () = $ac_func;
79445 #endif
79446 #ifdef __cplusplus
79447 }
79448 #endif
79449
79450 int
79451 main ()
79452 {
79453 return f != $ac_func;
79454   ;
79455   return 0;
79456 }
79457 _ACEOF
79458 rm -f conftest.$ac_objext conftest$ac_exeext
79459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79460   (eval $ac_link) 2>conftest.er1
79461   ac_status=$?
79462   grep -v '^ *+' conftest.er1 >conftest.err
79463   rm -f conftest.er1
79464   cat conftest.err >&5
79465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79466   (exit $ac_status); } &&
79467          { ac_try='test -z "$ac_c_werror_flag"
79468                          || test ! -s conftest.err'
79469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79470   (eval $ac_try) 2>&5
79471   ac_status=$?
79472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79473   (exit $ac_status); }; } &&
79474          { ac_try='test -s conftest$ac_exeext'
79475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79476   (eval $ac_try) 2>&5
79477   ac_status=$?
79478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79479   (exit $ac_status); }; }; then
79480   eval "$as_ac_var=yes"
79481 else
79482   echo "$as_me: failed program was:" >&5
79483 sed 's/^/| /' conftest.$ac_ext >&5
79484
79485 eval "$as_ac_var=no"
79486 fi
79487 rm -f conftest.err conftest.$ac_objext \
79488       conftest$ac_exeext conftest.$ac_ext
79489 fi
79490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79491 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79492 if test `eval echo '${'$as_ac_var'}'` = yes; then
79493   cat >>confdefs.h <<_ACEOF
79494 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79495 _ACEOF
79496
79497 fi
79498 done
79499
79500   else
79501
79502   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
79503 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
79504   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
79505     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
79506   echo $ECHO_N "(cached) $ECHO_C" >&6
79507 else
79508
79509
79510
79511       ac_ext=cc
79512 ac_cpp='$CXXCPP $CPPFLAGS'
79513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79516
79517       cat >conftest.$ac_ext <<_ACEOF
79518 /* confdefs.h.  */
79519 _ACEOF
79520 cat confdefs.h >>conftest.$ac_ext
79521 cat >>conftest.$ac_ext <<_ACEOF
79522 /* end confdefs.h.  */
79523 #include <math.h>
79524                       #ifdef HAVE_IEEEFP_H
79525                       #include <ieeefp.h>
79526                       #endif
79527
79528 int
79529 main ()
79530 {
79531  _log10l(0);
79532   ;
79533   return 0;
79534 }
79535 _ACEOF
79536 rm -f conftest.$ac_objext
79537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79538   (eval $ac_compile) 2>conftest.er1
79539   ac_status=$?
79540   grep -v '^ *+' conftest.er1 >conftest.err
79541   rm -f conftest.er1
79542   cat conftest.err >&5
79543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79544   (exit $ac_status); } &&
79545          { ac_try='test -z "$ac_cxx_werror_flag"
79546                          || test ! -s conftest.err'
79547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79548   (eval $ac_try) 2>&5
79549   ac_status=$?
79550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79551   (exit $ac_status); }; } &&
79552          { ac_try='test -s conftest.$ac_objext'
79553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79554   (eval $ac_try) 2>&5
79555   ac_status=$?
79556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79557   (exit $ac_status); }; }; then
79558   glibcxx_cv_func__log10l_use=yes
79559 else
79560   echo "$as_me: failed program was:" >&5
79561 sed 's/^/| /' conftest.$ac_ext >&5
79562
79563 glibcxx_cv_func__log10l_use=no
79564 fi
79565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79566       ac_ext=c
79567 ac_cpp='$CPP $CPPFLAGS'
79568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79571
79572
79573 fi
79574
79575   fi
79576   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
79577 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
79578
79579     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
79580
79581 for ac_func in _log10l
79582 do
79583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79584 echo "$as_me:$LINENO: checking for $ac_func" >&5
79585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79586 if eval "test \"\${$as_ac_var+set}\" = set"; then
79587   echo $ECHO_N "(cached) $ECHO_C" >&6
79588 else
79589   if test x$gcc_no_link = xyes; then
79590   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79592    { (exit 1); exit 1; }; }
79593 fi
79594 cat >conftest.$ac_ext <<_ACEOF
79595 /* confdefs.h.  */
79596 _ACEOF
79597 cat confdefs.h >>conftest.$ac_ext
79598 cat >>conftest.$ac_ext <<_ACEOF
79599 /* end confdefs.h.  */
79600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79601    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79602 #define $ac_func innocuous_$ac_func
79603
79604 /* System header to define __stub macros and hopefully few prototypes,
79605     which can conflict with char $ac_func (); below.
79606     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79607     <limits.h> exists even on freestanding compilers.  */
79608
79609 #ifdef __STDC__
79610 # include <limits.h>
79611 #else
79612 # include <assert.h>
79613 #endif
79614
79615 #undef $ac_func
79616
79617 /* Override any gcc2 internal prototype to avoid an error.  */
79618 #ifdef __cplusplus
79619 extern "C"
79620 {
79621 #endif
79622 /* We use char because int might match the return type of a gcc2
79623    builtin and then its argument prototype would still apply.  */
79624 char $ac_func ();
79625 /* The GNU C library defines this for functions which it implements
79626     to always fail with ENOSYS.  Some functions are actually named
79627     something starting with __ and the normal name is an alias.  */
79628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79629 choke me
79630 #else
79631 char (*f) () = $ac_func;
79632 #endif
79633 #ifdef __cplusplus
79634 }
79635 #endif
79636
79637 int
79638 main ()
79639 {
79640 return f != $ac_func;
79641   ;
79642   return 0;
79643 }
79644 _ACEOF
79645 rm -f conftest.$ac_objext conftest$ac_exeext
79646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79647   (eval $ac_link) 2>conftest.er1
79648   ac_status=$?
79649   grep -v '^ *+' conftest.er1 >conftest.err
79650   rm -f conftest.er1
79651   cat conftest.err >&5
79652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79653   (exit $ac_status); } &&
79654          { ac_try='test -z "$ac_c_werror_flag"
79655                          || test ! -s conftest.err'
79656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79657   (eval $ac_try) 2>&5
79658   ac_status=$?
79659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79660   (exit $ac_status); }; } &&
79661          { ac_try='test -s conftest$ac_exeext'
79662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79663   (eval $ac_try) 2>&5
79664   ac_status=$?
79665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79666   (exit $ac_status); }; }; then
79667   eval "$as_ac_var=yes"
79668 else
79669   echo "$as_me: failed program was:" >&5
79670 sed 's/^/| /' conftest.$ac_ext >&5
79671
79672 eval "$as_ac_var=no"
79673 fi
79674 rm -f conftest.err conftest.$ac_objext \
79675       conftest$ac_exeext conftest.$ac_ext
79676 fi
79677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79679 if test `eval echo '${'$as_ac_var'}'` = yes; then
79680   cat >>confdefs.h <<_ACEOF
79681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79682 _ACEOF
79683
79684 fi
79685 done
79686
79687     fi
79688   fi
79689
79690
79691
79692
79693
79694
79695   echo "$as_me:$LINENO: checking for modfl declaration" >&5
79696 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
79697   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
79698     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
79699   echo $ECHO_N "(cached) $ECHO_C" >&6
79700 else
79701
79702
79703
79704       ac_ext=cc
79705 ac_cpp='$CXXCPP $CPPFLAGS'
79706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79709
79710       cat >conftest.$ac_ext <<_ACEOF
79711 /* confdefs.h.  */
79712 _ACEOF
79713 cat confdefs.h >>conftest.$ac_ext
79714 cat >>conftest.$ac_ext <<_ACEOF
79715 /* end confdefs.h.  */
79716 #include <math.h>
79717 int
79718 main ()
79719 {
79720  modfl(0, 0);
79721   ;
79722   return 0;
79723 }
79724 _ACEOF
79725 rm -f conftest.$ac_objext
79726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79727   (eval $ac_compile) 2>conftest.er1
79728   ac_status=$?
79729   grep -v '^ *+' conftest.er1 >conftest.err
79730   rm -f conftest.er1
79731   cat conftest.err >&5
79732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79733   (exit $ac_status); } &&
79734          { ac_try='test -z "$ac_cxx_werror_flag"
79735                          || test ! -s conftest.err'
79736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79737   (eval $ac_try) 2>&5
79738   ac_status=$?
79739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79740   (exit $ac_status); }; } &&
79741          { ac_try='test -s conftest.$ac_objext'
79742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79743   (eval $ac_try) 2>&5
79744   ac_status=$?
79745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79746   (exit $ac_status); }; }; then
79747   glibcxx_cv_func_modfl_use=yes
79748 else
79749   echo "$as_me: failed program was:" >&5
79750 sed 's/^/| /' conftest.$ac_ext >&5
79751
79752 glibcxx_cv_func_modfl_use=no
79753 fi
79754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79755       ac_ext=c
79756 ac_cpp='$CPP $CPPFLAGS'
79757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79760
79761
79762 fi
79763
79764   fi
79765   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
79766 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
79767
79768   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
79769
79770 for ac_func in modfl
79771 do
79772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79773 echo "$as_me:$LINENO: checking for $ac_func" >&5
79774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79775 if eval "test \"\${$as_ac_var+set}\" = set"; then
79776   echo $ECHO_N "(cached) $ECHO_C" >&6
79777 else
79778   if test x$gcc_no_link = xyes; then
79779   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79781    { (exit 1); exit 1; }; }
79782 fi
79783 cat >conftest.$ac_ext <<_ACEOF
79784 /* confdefs.h.  */
79785 _ACEOF
79786 cat confdefs.h >>conftest.$ac_ext
79787 cat >>conftest.$ac_ext <<_ACEOF
79788 /* end confdefs.h.  */
79789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79790    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79791 #define $ac_func innocuous_$ac_func
79792
79793 /* System header to define __stub macros and hopefully few prototypes,
79794     which can conflict with char $ac_func (); below.
79795     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79796     <limits.h> exists even on freestanding compilers.  */
79797
79798 #ifdef __STDC__
79799 # include <limits.h>
79800 #else
79801 # include <assert.h>
79802 #endif
79803
79804 #undef $ac_func
79805
79806 /* Override any gcc2 internal prototype to avoid an error.  */
79807 #ifdef __cplusplus
79808 extern "C"
79809 {
79810 #endif
79811 /* We use char because int might match the return type of a gcc2
79812    builtin and then its argument prototype would still apply.  */
79813 char $ac_func ();
79814 /* The GNU C library defines this for functions which it implements
79815     to always fail with ENOSYS.  Some functions are actually named
79816     something starting with __ and the normal name is an alias.  */
79817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79818 choke me
79819 #else
79820 char (*f) () = $ac_func;
79821 #endif
79822 #ifdef __cplusplus
79823 }
79824 #endif
79825
79826 int
79827 main ()
79828 {
79829 return f != $ac_func;
79830   ;
79831   return 0;
79832 }
79833 _ACEOF
79834 rm -f conftest.$ac_objext conftest$ac_exeext
79835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79836   (eval $ac_link) 2>conftest.er1
79837   ac_status=$?
79838   grep -v '^ *+' conftest.er1 >conftest.err
79839   rm -f conftest.er1
79840   cat conftest.err >&5
79841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79842   (exit $ac_status); } &&
79843          { ac_try='test -z "$ac_c_werror_flag"
79844                          || test ! -s conftest.err'
79845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79846   (eval $ac_try) 2>&5
79847   ac_status=$?
79848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79849   (exit $ac_status); }; } &&
79850          { ac_try='test -s conftest$ac_exeext'
79851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79852   (eval $ac_try) 2>&5
79853   ac_status=$?
79854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79855   (exit $ac_status); }; }; then
79856   eval "$as_ac_var=yes"
79857 else
79858   echo "$as_me: failed program was:" >&5
79859 sed 's/^/| /' conftest.$ac_ext >&5
79860
79861 eval "$as_ac_var=no"
79862 fi
79863 rm -f conftest.err conftest.$ac_objext \
79864       conftest$ac_exeext conftest.$ac_ext
79865 fi
79866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79868 if test `eval echo '${'$as_ac_var'}'` = yes; then
79869   cat >>confdefs.h <<_ACEOF
79870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79871 _ACEOF
79872
79873 fi
79874 done
79875
79876   else
79877
79878   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
79879 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
79880   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
79881     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
79882   echo $ECHO_N "(cached) $ECHO_C" >&6
79883 else
79884
79885
79886
79887       ac_ext=cc
79888 ac_cpp='$CXXCPP $CPPFLAGS'
79889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79892
79893       cat >conftest.$ac_ext <<_ACEOF
79894 /* confdefs.h.  */
79895 _ACEOF
79896 cat confdefs.h >>conftest.$ac_ext
79897 cat >>conftest.$ac_ext <<_ACEOF
79898 /* end confdefs.h.  */
79899 #include <math.h>
79900 int
79901 main ()
79902 {
79903  _modfl(0, 0);
79904   ;
79905   return 0;
79906 }
79907 _ACEOF
79908 rm -f conftest.$ac_objext
79909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79910   (eval $ac_compile) 2>conftest.er1
79911   ac_status=$?
79912   grep -v '^ *+' conftest.er1 >conftest.err
79913   rm -f conftest.er1
79914   cat conftest.err >&5
79915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79916   (exit $ac_status); } &&
79917          { ac_try='test -z "$ac_cxx_werror_flag"
79918                          || test ! -s conftest.err'
79919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79920   (eval $ac_try) 2>&5
79921   ac_status=$?
79922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79923   (exit $ac_status); }; } &&
79924          { ac_try='test -s conftest.$ac_objext'
79925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79926   (eval $ac_try) 2>&5
79927   ac_status=$?
79928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79929   (exit $ac_status); }; }; then
79930   glibcxx_cv_func__modfl_use=yes
79931 else
79932   echo "$as_me: failed program was:" >&5
79933 sed 's/^/| /' conftest.$ac_ext >&5
79934
79935 glibcxx_cv_func__modfl_use=no
79936 fi
79937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79938       ac_ext=c
79939 ac_cpp='$CPP $CPPFLAGS'
79940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79943
79944
79945 fi
79946
79947   fi
79948   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
79949 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
79950
79951     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
79952
79953 for ac_func in _modfl
79954 do
79955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79956 echo "$as_me:$LINENO: checking for $ac_func" >&5
79957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79958 if eval "test \"\${$as_ac_var+set}\" = set"; then
79959   echo $ECHO_N "(cached) $ECHO_C" >&6
79960 else
79961   if test x$gcc_no_link = xyes; then
79962   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79964    { (exit 1); exit 1; }; }
79965 fi
79966 cat >conftest.$ac_ext <<_ACEOF
79967 /* confdefs.h.  */
79968 _ACEOF
79969 cat confdefs.h >>conftest.$ac_ext
79970 cat >>conftest.$ac_ext <<_ACEOF
79971 /* end confdefs.h.  */
79972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79973    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79974 #define $ac_func innocuous_$ac_func
79975
79976 /* System header to define __stub macros and hopefully few prototypes,
79977     which can conflict with char $ac_func (); below.
79978     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79979     <limits.h> exists even on freestanding compilers.  */
79980
79981 #ifdef __STDC__
79982 # include <limits.h>
79983 #else
79984 # include <assert.h>
79985 #endif
79986
79987 #undef $ac_func
79988
79989 /* Override any gcc2 internal prototype to avoid an error.  */
79990 #ifdef __cplusplus
79991 extern "C"
79992 {
79993 #endif
79994 /* We use char because int might match the return type of a gcc2
79995    builtin and then its argument prototype would still apply.  */
79996 char $ac_func ();
79997 /* The GNU C library defines this for functions which it implements
79998     to always fail with ENOSYS.  Some functions are actually named
79999     something starting with __ and the normal name is an alias.  */
80000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80001 choke me
80002 #else
80003 char (*f) () = $ac_func;
80004 #endif
80005 #ifdef __cplusplus
80006 }
80007 #endif
80008
80009 int
80010 main ()
80011 {
80012 return f != $ac_func;
80013   ;
80014   return 0;
80015 }
80016 _ACEOF
80017 rm -f conftest.$ac_objext conftest$ac_exeext
80018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80019   (eval $ac_link) 2>conftest.er1
80020   ac_status=$?
80021   grep -v '^ *+' conftest.er1 >conftest.err
80022   rm -f conftest.er1
80023   cat conftest.err >&5
80024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80025   (exit $ac_status); } &&
80026          { ac_try='test -z "$ac_c_werror_flag"
80027                          || test ! -s conftest.err'
80028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80029   (eval $ac_try) 2>&5
80030   ac_status=$?
80031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80032   (exit $ac_status); }; } &&
80033          { ac_try='test -s conftest$ac_exeext'
80034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80035   (eval $ac_try) 2>&5
80036   ac_status=$?
80037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80038   (exit $ac_status); }; }; then
80039   eval "$as_ac_var=yes"
80040 else
80041   echo "$as_me: failed program was:" >&5
80042 sed 's/^/| /' conftest.$ac_ext >&5
80043
80044 eval "$as_ac_var=no"
80045 fi
80046 rm -f conftest.err conftest.$ac_objext \
80047       conftest$ac_exeext conftest.$ac_ext
80048 fi
80049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80051 if test `eval echo '${'$as_ac_var'}'` = yes; then
80052   cat >>confdefs.h <<_ACEOF
80053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80054 _ACEOF
80055
80056 fi
80057 done
80058
80059     fi
80060   fi
80061
80062
80063
80064
80065
80066
80067   echo "$as_me:$LINENO: checking for powl declaration" >&5
80068 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
80069   if test x${glibcxx_cv_func_powl_use+set} != xset; then
80070     if test "${glibcxx_cv_func_powl_use+set}" = set; then
80071   echo $ECHO_N "(cached) $ECHO_C" >&6
80072 else
80073
80074
80075
80076       ac_ext=cc
80077 ac_cpp='$CXXCPP $CPPFLAGS'
80078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80081
80082       cat >conftest.$ac_ext <<_ACEOF
80083 /* confdefs.h.  */
80084 _ACEOF
80085 cat confdefs.h >>conftest.$ac_ext
80086 cat >>conftest.$ac_ext <<_ACEOF
80087 /* end confdefs.h.  */
80088 #include <math.h>
80089 int
80090 main ()
80091 {
80092  powl(0, 0);
80093   ;
80094   return 0;
80095 }
80096 _ACEOF
80097 rm -f conftest.$ac_objext
80098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80099   (eval $ac_compile) 2>conftest.er1
80100   ac_status=$?
80101   grep -v '^ *+' conftest.er1 >conftest.err
80102   rm -f conftest.er1
80103   cat conftest.err >&5
80104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80105   (exit $ac_status); } &&
80106          { ac_try='test -z "$ac_cxx_werror_flag"
80107                          || test ! -s conftest.err'
80108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80109   (eval $ac_try) 2>&5
80110   ac_status=$?
80111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80112   (exit $ac_status); }; } &&
80113          { ac_try='test -s conftest.$ac_objext'
80114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80115   (eval $ac_try) 2>&5
80116   ac_status=$?
80117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80118   (exit $ac_status); }; }; then
80119   glibcxx_cv_func_powl_use=yes
80120 else
80121   echo "$as_me: failed program was:" >&5
80122 sed 's/^/| /' conftest.$ac_ext >&5
80123
80124 glibcxx_cv_func_powl_use=no
80125 fi
80126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80127       ac_ext=c
80128 ac_cpp='$CPP $CPPFLAGS'
80129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80132
80133
80134 fi
80135
80136   fi
80137   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
80138 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
80139
80140   if test x$glibcxx_cv_func_powl_use = x"yes"; then
80141
80142 for ac_func in powl
80143 do
80144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80145 echo "$as_me:$LINENO: checking for $ac_func" >&5
80146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80147 if eval "test \"\${$as_ac_var+set}\" = set"; then
80148   echo $ECHO_N "(cached) $ECHO_C" >&6
80149 else
80150   if test x$gcc_no_link = xyes; then
80151   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80153    { (exit 1); exit 1; }; }
80154 fi
80155 cat >conftest.$ac_ext <<_ACEOF
80156 /* confdefs.h.  */
80157 _ACEOF
80158 cat confdefs.h >>conftest.$ac_ext
80159 cat >>conftest.$ac_ext <<_ACEOF
80160 /* end confdefs.h.  */
80161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80162    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80163 #define $ac_func innocuous_$ac_func
80164
80165 /* System header to define __stub macros and hopefully few prototypes,
80166     which can conflict with char $ac_func (); below.
80167     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80168     <limits.h> exists even on freestanding compilers.  */
80169
80170 #ifdef __STDC__
80171 # include <limits.h>
80172 #else
80173 # include <assert.h>
80174 #endif
80175
80176 #undef $ac_func
80177
80178 /* Override any gcc2 internal prototype to avoid an error.  */
80179 #ifdef __cplusplus
80180 extern "C"
80181 {
80182 #endif
80183 /* We use char because int might match the return type of a gcc2
80184    builtin and then its argument prototype would still apply.  */
80185 char $ac_func ();
80186 /* The GNU C library defines this for functions which it implements
80187     to always fail with ENOSYS.  Some functions are actually named
80188     something starting with __ and the normal name is an alias.  */
80189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80190 choke me
80191 #else
80192 char (*f) () = $ac_func;
80193 #endif
80194 #ifdef __cplusplus
80195 }
80196 #endif
80197
80198 int
80199 main ()
80200 {
80201 return f != $ac_func;
80202   ;
80203   return 0;
80204 }
80205 _ACEOF
80206 rm -f conftest.$ac_objext conftest$ac_exeext
80207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80208   (eval $ac_link) 2>conftest.er1
80209   ac_status=$?
80210   grep -v '^ *+' conftest.er1 >conftest.err
80211   rm -f conftest.er1
80212   cat conftest.err >&5
80213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80214   (exit $ac_status); } &&
80215          { ac_try='test -z "$ac_c_werror_flag"
80216                          || test ! -s conftest.err'
80217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80218   (eval $ac_try) 2>&5
80219   ac_status=$?
80220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80221   (exit $ac_status); }; } &&
80222          { ac_try='test -s conftest$ac_exeext'
80223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80224   (eval $ac_try) 2>&5
80225   ac_status=$?
80226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80227   (exit $ac_status); }; }; then
80228   eval "$as_ac_var=yes"
80229 else
80230   echo "$as_me: failed program was:" >&5
80231 sed 's/^/| /' conftest.$ac_ext >&5
80232
80233 eval "$as_ac_var=no"
80234 fi
80235 rm -f conftest.err conftest.$ac_objext \
80236       conftest$ac_exeext conftest.$ac_ext
80237 fi
80238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80240 if test `eval echo '${'$as_ac_var'}'` = yes; then
80241   cat >>confdefs.h <<_ACEOF
80242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80243 _ACEOF
80244
80245 fi
80246 done
80247
80248   else
80249
80250   echo "$as_me:$LINENO: checking for _powl declaration" >&5
80251 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
80252   if test x${glibcxx_cv_func__powl_use+set} != xset; then
80253     if test "${glibcxx_cv_func__powl_use+set}" = set; then
80254   echo $ECHO_N "(cached) $ECHO_C" >&6
80255 else
80256
80257
80258
80259       ac_ext=cc
80260 ac_cpp='$CXXCPP $CPPFLAGS'
80261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80264
80265       cat >conftest.$ac_ext <<_ACEOF
80266 /* confdefs.h.  */
80267 _ACEOF
80268 cat confdefs.h >>conftest.$ac_ext
80269 cat >>conftest.$ac_ext <<_ACEOF
80270 /* end confdefs.h.  */
80271 #include <math.h>
80272 int
80273 main ()
80274 {
80275  _powl(0, 0);
80276   ;
80277   return 0;
80278 }
80279 _ACEOF
80280 rm -f conftest.$ac_objext
80281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80282   (eval $ac_compile) 2>conftest.er1
80283   ac_status=$?
80284   grep -v '^ *+' conftest.er1 >conftest.err
80285   rm -f conftest.er1
80286   cat conftest.err >&5
80287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80288   (exit $ac_status); } &&
80289          { ac_try='test -z "$ac_cxx_werror_flag"
80290                          || test ! -s conftest.err'
80291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80292   (eval $ac_try) 2>&5
80293   ac_status=$?
80294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80295   (exit $ac_status); }; } &&
80296          { ac_try='test -s conftest.$ac_objext'
80297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80298   (eval $ac_try) 2>&5
80299   ac_status=$?
80300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80301   (exit $ac_status); }; }; then
80302   glibcxx_cv_func__powl_use=yes
80303 else
80304   echo "$as_me: failed program was:" >&5
80305 sed 's/^/| /' conftest.$ac_ext >&5
80306
80307 glibcxx_cv_func__powl_use=no
80308 fi
80309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80310       ac_ext=c
80311 ac_cpp='$CPP $CPPFLAGS'
80312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80315
80316
80317 fi
80318
80319   fi
80320   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
80321 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
80322
80323     if test x$glibcxx_cv_func__powl_use = x"yes"; then
80324
80325 for ac_func in _powl
80326 do
80327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80328 echo "$as_me:$LINENO: checking for $ac_func" >&5
80329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80330 if eval "test \"\${$as_ac_var+set}\" = set"; then
80331   echo $ECHO_N "(cached) $ECHO_C" >&6
80332 else
80333   if test x$gcc_no_link = xyes; then
80334   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80336    { (exit 1); exit 1; }; }
80337 fi
80338 cat >conftest.$ac_ext <<_ACEOF
80339 /* confdefs.h.  */
80340 _ACEOF
80341 cat confdefs.h >>conftest.$ac_ext
80342 cat >>conftest.$ac_ext <<_ACEOF
80343 /* end confdefs.h.  */
80344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80345    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80346 #define $ac_func innocuous_$ac_func
80347
80348 /* System header to define __stub macros and hopefully few prototypes,
80349     which can conflict with char $ac_func (); below.
80350     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80351     <limits.h> exists even on freestanding compilers.  */
80352
80353 #ifdef __STDC__
80354 # include <limits.h>
80355 #else
80356 # include <assert.h>
80357 #endif
80358
80359 #undef $ac_func
80360
80361 /* Override any gcc2 internal prototype to avoid an error.  */
80362 #ifdef __cplusplus
80363 extern "C"
80364 {
80365 #endif
80366 /* We use char because int might match the return type of a gcc2
80367    builtin and then its argument prototype would still apply.  */
80368 char $ac_func ();
80369 /* The GNU C library defines this for functions which it implements
80370     to always fail with ENOSYS.  Some functions are actually named
80371     something starting with __ and the normal name is an alias.  */
80372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80373 choke me
80374 #else
80375 char (*f) () = $ac_func;
80376 #endif
80377 #ifdef __cplusplus
80378 }
80379 #endif
80380
80381 int
80382 main ()
80383 {
80384 return f != $ac_func;
80385   ;
80386   return 0;
80387 }
80388 _ACEOF
80389 rm -f conftest.$ac_objext conftest$ac_exeext
80390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80391   (eval $ac_link) 2>conftest.er1
80392   ac_status=$?
80393   grep -v '^ *+' conftest.er1 >conftest.err
80394   rm -f conftest.er1
80395   cat conftest.err >&5
80396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80397   (exit $ac_status); } &&
80398          { ac_try='test -z "$ac_c_werror_flag"
80399                          || test ! -s conftest.err'
80400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80401   (eval $ac_try) 2>&5
80402   ac_status=$?
80403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80404   (exit $ac_status); }; } &&
80405          { ac_try='test -s conftest$ac_exeext'
80406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80407   (eval $ac_try) 2>&5
80408   ac_status=$?
80409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80410   (exit $ac_status); }; }; then
80411   eval "$as_ac_var=yes"
80412 else
80413   echo "$as_me: failed program was:" >&5
80414 sed 's/^/| /' conftest.$ac_ext >&5
80415
80416 eval "$as_ac_var=no"
80417 fi
80418 rm -f conftest.err conftest.$ac_objext \
80419       conftest$ac_exeext conftest.$ac_ext
80420 fi
80421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80423 if test `eval echo '${'$as_ac_var'}'` = yes; then
80424   cat >>confdefs.h <<_ACEOF
80425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80426 _ACEOF
80427
80428 fi
80429 done
80430
80431     fi
80432   fi
80433
80434
80435
80436
80437
80438
80439   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
80440 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
80441   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
80442     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
80443   echo $ECHO_N "(cached) $ECHO_C" >&6
80444 else
80445
80446
80447
80448       ac_ext=cc
80449 ac_cpp='$CXXCPP $CPPFLAGS'
80450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80453
80454       cat >conftest.$ac_ext <<_ACEOF
80455 /* confdefs.h.  */
80456 _ACEOF
80457 cat confdefs.h >>conftest.$ac_ext
80458 cat >>conftest.$ac_ext <<_ACEOF
80459 /* end confdefs.h.  */
80460 #include <math.h>
80461                       #ifdef HAVE_IEEEFP_H
80462                       #include <ieeefp.h>
80463                       #endif
80464
80465 int
80466 main ()
80467 {
80468  sqrtl(0);
80469   ;
80470   return 0;
80471 }
80472 _ACEOF
80473 rm -f conftest.$ac_objext
80474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80475   (eval $ac_compile) 2>conftest.er1
80476   ac_status=$?
80477   grep -v '^ *+' conftest.er1 >conftest.err
80478   rm -f conftest.er1
80479   cat conftest.err >&5
80480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80481   (exit $ac_status); } &&
80482          { ac_try='test -z "$ac_cxx_werror_flag"
80483                          || test ! -s conftest.err'
80484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80485   (eval $ac_try) 2>&5
80486   ac_status=$?
80487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80488   (exit $ac_status); }; } &&
80489          { ac_try='test -s conftest.$ac_objext'
80490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80491   (eval $ac_try) 2>&5
80492   ac_status=$?
80493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80494   (exit $ac_status); }; }; then
80495   glibcxx_cv_func_sqrtl_use=yes
80496 else
80497   echo "$as_me: failed program was:" >&5
80498 sed 's/^/| /' conftest.$ac_ext >&5
80499
80500 glibcxx_cv_func_sqrtl_use=no
80501 fi
80502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80503       ac_ext=c
80504 ac_cpp='$CPP $CPPFLAGS'
80505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80508
80509
80510 fi
80511
80512   fi
80513   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
80514 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
80515
80516   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
80517
80518 for ac_func in sqrtl
80519 do
80520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80521 echo "$as_me:$LINENO: checking for $ac_func" >&5
80522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80523 if eval "test \"\${$as_ac_var+set}\" = set"; then
80524   echo $ECHO_N "(cached) $ECHO_C" >&6
80525 else
80526   if test x$gcc_no_link = xyes; then
80527   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80529    { (exit 1); exit 1; }; }
80530 fi
80531 cat >conftest.$ac_ext <<_ACEOF
80532 /* confdefs.h.  */
80533 _ACEOF
80534 cat confdefs.h >>conftest.$ac_ext
80535 cat >>conftest.$ac_ext <<_ACEOF
80536 /* end confdefs.h.  */
80537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80538    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80539 #define $ac_func innocuous_$ac_func
80540
80541 /* System header to define __stub macros and hopefully few prototypes,
80542     which can conflict with char $ac_func (); below.
80543     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80544     <limits.h> exists even on freestanding compilers.  */
80545
80546 #ifdef __STDC__
80547 # include <limits.h>
80548 #else
80549 # include <assert.h>
80550 #endif
80551
80552 #undef $ac_func
80553
80554 /* Override any gcc2 internal prototype to avoid an error.  */
80555 #ifdef __cplusplus
80556 extern "C"
80557 {
80558 #endif
80559 /* We use char because int might match the return type of a gcc2
80560    builtin and then its argument prototype would still apply.  */
80561 char $ac_func ();
80562 /* The GNU C library defines this for functions which it implements
80563     to always fail with ENOSYS.  Some functions are actually named
80564     something starting with __ and the normal name is an alias.  */
80565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80566 choke me
80567 #else
80568 char (*f) () = $ac_func;
80569 #endif
80570 #ifdef __cplusplus
80571 }
80572 #endif
80573
80574 int
80575 main ()
80576 {
80577 return f != $ac_func;
80578   ;
80579   return 0;
80580 }
80581 _ACEOF
80582 rm -f conftest.$ac_objext conftest$ac_exeext
80583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80584   (eval $ac_link) 2>conftest.er1
80585   ac_status=$?
80586   grep -v '^ *+' conftest.er1 >conftest.err
80587   rm -f conftest.er1
80588   cat conftest.err >&5
80589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80590   (exit $ac_status); } &&
80591          { ac_try='test -z "$ac_c_werror_flag"
80592                          || test ! -s conftest.err'
80593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80594   (eval $ac_try) 2>&5
80595   ac_status=$?
80596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80597   (exit $ac_status); }; } &&
80598          { ac_try='test -s conftest$ac_exeext'
80599   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80600   (eval $ac_try) 2>&5
80601   ac_status=$?
80602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80603   (exit $ac_status); }; }; then
80604   eval "$as_ac_var=yes"
80605 else
80606   echo "$as_me: failed program was:" >&5
80607 sed 's/^/| /' conftest.$ac_ext >&5
80608
80609 eval "$as_ac_var=no"
80610 fi
80611 rm -f conftest.err conftest.$ac_objext \
80612       conftest$ac_exeext conftest.$ac_ext
80613 fi
80614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80616 if test `eval echo '${'$as_ac_var'}'` = yes; then
80617   cat >>confdefs.h <<_ACEOF
80618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80619 _ACEOF
80620
80621 fi
80622 done
80623
80624   else
80625
80626   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
80627 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
80628   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
80629     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
80630   echo $ECHO_N "(cached) $ECHO_C" >&6
80631 else
80632
80633
80634
80635       ac_ext=cc
80636 ac_cpp='$CXXCPP $CPPFLAGS'
80637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80640
80641       cat >conftest.$ac_ext <<_ACEOF
80642 /* confdefs.h.  */
80643 _ACEOF
80644 cat confdefs.h >>conftest.$ac_ext
80645 cat >>conftest.$ac_ext <<_ACEOF
80646 /* end confdefs.h.  */
80647 #include <math.h>
80648                       #ifdef HAVE_IEEEFP_H
80649                       #include <ieeefp.h>
80650                       #endif
80651
80652 int
80653 main ()
80654 {
80655  _sqrtl(0);
80656   ;
80657   return 0;
80658 }
80659 _ACEOF
80660 rm -f conftest.$ac_objext
80661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80662   (eval $ac_compile) 2>conftest.er1
80663   ac_status=$?
80664   grep -v '^ *+' conftest.er1 >conftest.err
80665   rm -f conftest.er1
80666   cat conftest.err >&5
80667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80668   (exit $ac_status); } &&
80669          { ac_try='test -z "$ac_cxx_werror_flag"
80670                          || test ! -s conftest.err'
80671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80672   (eval $ac_try) 2>&5
80673   ac_status=$?
80674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80675   (exit $ac_status); }; } &&
80676          { ac_try='test -s conftest.$ac_objext'
80677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80678   (eval $ac_try) 2>&5
80679   ac_status=$?
80680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80681   (exit $ac_status); }; }; then
80682   glibcxx_cv_func__sqrtl_use=yes
80683 else
80684   echo "$as_me: failed program was:" >&5
80685 sed 's/^/| /' conftest.$ac_ext >&5
80686
80687 glibcxx_cv_func__sqrtl_use=no
80688 fi
80689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80690       ac_ext=c
80691 ac_cpp='$CPP $CPPFLAGS'
80692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80695
80696
80697 fi
80698
80699   fi
80700   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
80701 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
80702
80703     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
80704
80705 for ac_func in _sqrtl
80706 do
80707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80708 echo "$as_me:$LINENO: checking for $ac_func" >&5
80709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80710 if eval "test \"\${$as_ac_var+set}\" = set"; then
80711   echo $ECHO_N "(cached) $ECHO_C" >&6
80712 else
80713   if test x$gcc_no_link = xyes; then
80714   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80716    { (exit 1); exit 1; }; }
80717 fi
80718 cat >conftest.$ac_ext <<_ACEOF
80719 /* confdefs.h.  */
80720 _ACEOF
80721 cat confdefs.h >>conftest.$ac_ext
80722 cat >>conftest.$ac_ext <<_ACEOF
80723 /* end confdefs.h.  */
80724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80725    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80726 #define $ac_func innocuous_$ac_func
80727
80728 /* System header to define __stub macros and hopefully few prototypes,
80729     which can conflict with char $ac_func (); below.
80730     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80731     <limits.h> exists even on freestanding compilers.  */
80732
80733 #ifdef __STDC__
80734 # include <limits.h>
80735 #else
80736 # include <assert.h>
80737 #endif
80738
80739 #undef $ac_func
80740
80741 /* Override any gcc2 internal prototype to avoid an error.  */
80742 #ifdef __cplusplus
80743 extern "C"
80744 {
80745 #endif
80746 /* We use char because int might match the return type of a gcc2
80747    builtin and then its argument prototype would still apply.  */
80748 char $ac_func ();
80749 /* The GNU C library defines this for functions which it implements
80750     to always fail with ENOSYS.  Some functions are actually named
80751     something starting with __ and the normal name is an alias.  */
80752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80753 choke me
80754 #else
80755 char (*f) () = $ac_func;
80756 #endif
80757 #ifdef __cplusplus
80758 }
80759 #endif
80760
80761 int
80762 main ()
80763 {
80764 return f != $ac_func;
80765   ;
80766   return 0;
80767 }
80768 _ACEOF
80769 rm -f conftest.$ac_objext conftest$ac_exeext
80770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80771   (eval $ac_link) 2>conftest.er1
80772   ac_status=$?
80773   grep -v '^ *+' conftest.er1 >conftest.err
80774   rm -f conftest.er1
80775   cat conftest.err >&5
80776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80777   (exit $ac_status); } &&
80778          { ac_try='test -z "$ac_c_werror_flag"
80779                          || test ! -s conftest.err'
80780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80781   (eval $ac_try) 2>&5
80782   ac_status=$?
80783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80784   (exit $ac_status); }; } &&
80785          { ac_try='test -s conftest$ac_exeext'
80786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80787   (eval $ac_try) 2>&5
80788   ac_status=$?
80789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80790   (exit $ac_status); }; }; then
80791   eval "$as_ac_var=yes"
80792 else
80793   echo "$as_me: failed program was:" >&5
80794 sed 's/^/| /' conftest.$ac_ext >&5
80795
80796 eval "$as_ac_var=no"
80797 fi
80798 rm -f conftest.err conftest.$ac_objext \
80799       conftest$ac_exeext conftest.$ac_ext
80800 fi
80801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80803 if test `eval echo '${'$as_ac_var'}'` = yes; then
80804   cat >>confdefs.h <<_ACEOF
80805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80806 _ACEOF
80807
80808 fi
80809 done
80810
80811     fi
80812   fi
80813
80814
80815
80816
80817
80818
80819   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
80820 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
80821   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
80822     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
80823   echo $ECHO_N "(cached) $ECHO_C" >&6
80824 else
80825
80826
80827
80828       ac_ext=cc
80829 ac_cpp='$CXXCPP $CPPFLAGS'
80830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80833
80834       cat >conftest.$ac_ext <<_ACEOF
80835 /* confdefs.h.  */
80836 _ACEOF
80837 cat confdefs.h >>conftest.$ac_ext
80838 cat >>conftest.$ac_ext <<_ACEOF
80839 /* end confdefs.h.  */
80840 #include <math.h>
80841 int
80842 main ()
80843 {
80844  sincosl(0, 0, 0);
80845   ;
80846   return 0;
80847 }
80848 _ACEOF
80849 rm -f conftest.$ac_objext
80850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80851   (eval $ac_compile) 2>conftest.er1
80852   ac_status=$?
80853   grep -v '^ *+' conftest.er1 >conftest.err
80854   rm -f conftest.er1
80855   cat conftest.err >&5
80856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80857   (exit $ac_status); } &&
80858          { ac_try='test -z "$ac_cxx_werror_flag"
80859                          || test ! -s conftest.err'
80860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80861   (eval $ac_try) 2>&5
80862   ac_status=$?
80863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80864   (exit $ac_status); }; } &&
80865          { ac_try='test -s conftest.$ac_objext'
80866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80867   (eval $ac_try) 2>&5
80868   ac_status=$?
80869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80870   (exit $ac_status); }; }; then
80871   glibcxx_cv_func_sincosl_use=yes
80872 else
80873   echo "$as_me: failed program was:" >&5
80874 sed 's/^/| /' conftest.$ac_ext >&5
80875
80876 glibcxx_cv_func_sincosl_use=no
80877 fi
80878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80879       ac_ext=c
80880 ac_cpp='$CPP $CPPFLAGS'
80881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80884
80885
80886 fi
80887
80888   fi
80889   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
80890 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
80891
80892   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
80893
80894 for ac_func in sincosl
80895 do
80896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80897 echo "$as_me:$LINENO: checking for $ac_func" >&5
80898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80899 if eval "test \"\${$as_ac_var+set}\" = set"; then
80900   echo $ECHO_N "(cached) $ECHO_C" >&6
80901 else
80902   if test x$gcc_no_link = xyes; then
80903   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80905    { (exit 1); exit 1; }; }
80906 fi
80907 cat >conftest.$ac_ext <<_ACEOF
80908 /* confdefs.h.  */
80909 _ACEOF
80910 cat confdefs.h >>conftest.$ac_ext
80911 cat >>conftest.$ac_ext <<_ACEOF
80912 /* end confdefs.h.  */
80913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80914    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80915 #define $ac_func innocuous_$ac_func
80916
80917 /* System header to define __stub macros and hopefully few prototypes,
80918     which can conflict with char $ac_func (); below.
80919     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80920     <limits.h> exists even on freestanding compilers.  */
80921
80922 #ifdef __STDC__
80923 # include <limits.h>
80924 #else
80925 # include <assert.h>
80926 #endif
80927
80928 #undef $ac_func
80929
80930 /* Override any gcc2 internal prototype to avoid an error.  */
80931 #ifdef __cplusplus
80932 extern "C"
80933 {
80934 #endif
80935 /* We use char because int might match the return type of a gcc2
80936    builtin and then its argument prototype would still apply.  */
80937 char $ac_func ();
80938 /* The GNU C library defines this for functions which it implements
80939     to always fail with ENOSYS.  Some functions are actually named
80940     something starting with __ and the normal name is an alias.  */
80941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80942 choke me
80943 #else
80944 char (*f) () = $ac_func;
80945 #endif
80946 #ifdef __cplusplus
80947 }
80948 #endif
80949
80950 int
80951 main ()
80952 {
80953 return f != $ac_func;
80954   ;
80955   return 0;
80956 }
80957 _ACEOF
80958 rm -f conftest.$ac_objext conftest$ac_exeext
80959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80960   (eval $ac_link) 2>conftest.er1
80961   ac_status=$?
80962   grep -v '^ *+' conftest.er1 >conftest.err
80963   rm -f conftest.er1
80964   cat conftest.err >&5
80965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80966   (exit $ac_status); } &&
80967          { ac_try='test -z "$ac_c_werror_flag"
80968                          || test ! -s conftest.err'
80969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80970   (eval $ac_try) 2>&5
80971   ac_status=$?
80972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80973   (exit $ac_status); }; } &&
80974          { ac_try='test -s conftest$ac_exeext'
80975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80976   (eval $ac_try) 2>&5
80977   ac_status=$?
80978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80979   (exit $ac_status); }; }; then
80980   eval "$as_ac_var=yes"
80981 else
80982   echo "$as_me: failed program was:" >&5
80983 sed 's/^/| /' conftest.$ac_ext >&5
80984
80985 eval "$as_ac_var=no"
80986 fi
80987 rm -f conftest.err conftest.$ac_objext \
80988       conftest$ac_exeext conftest.$ac_ext
80989 fi
80990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80992 if test `eval echo '${'$as_ac_var'}'` = yes; then
80993   cat >>confdefs.h <<_ACEOF
80994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80995 _ACEOF
80996
80997 fi
80998 done
80999
81000   else
81001
81002   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
81003 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
81004   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
81005     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
81006   echo $ECHO_N "(cached) $ECHO_C" >&6
81007 else
81008
81009
81010
81011       ac_ext=cc
81012 ac_cpp='$CXXCPP $CPPFLAGS'
81013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81016
81017       cat >conftest.$ac_ext <<_ACEOF
81018 /* confdefs.h.  */
81019 _ACEOF
81020 cat confdefs.h >>conftest.$ac_ext
81021 cat >>conftest.$ac_ext <<_ACEOF
81022 /* end confdefs.h.  */
81023 #include <math.h>
81024 int
81025 main ()
81026 {
81027  _sincosl(0, 0, 0);
81028   ;
81029   return 0;
81030 }
81031 _ACEOF
81032 rm -f conftest.$ac_objext
81033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81034   (eval $ac_compile) 2>conftest.er1
81035   ac_status=$?
81036   grep -v '^ *+' conftest.er1 >conftest.err
81037   rm -f conftest.er1
81038   cat conftest.err >&5
81039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81040   (exit $ac_status); } &&
81041          { ac_try='test -z "$ac_cxx_werror_flag"
81042                          || test ! -s conftest.err'
81043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81044   (eval $ac_try) 2>&5
81045   ac_status=$?
81046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81047   (exit $ac_status); }; } &&
81048          { ac_try='test -s conftest.$ac_objext'
81049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81050   (eval $ac_try) 2>&5
81051   ac_status=$?
81052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81053   (exit $ac_status); }; }; then
81054   glibcxx_cv_func__sincosl_use=yes
81055 else
81056   echo "$as_me: failed program was:" >&5
81057 sed 's/^/| /' conftest.$ac_ext >&5
81058
81059 glibcxx_cv_func__sincosl_use=no
81060 fi
81061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81062       ac_ext=c
81063 ac_cpp='$CPP $CPPFLAGS'
81064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81067
81068
81069 fi
81070
81071   fi
81072   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
81073 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
81074
81075     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
81076
81077 for ac_func in _sincosl
81078 do
81079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81080 echo "$as_me:$LINENO: checking for $ac_func" >&5
81081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81082 if eval "test \"\${$as_ac_var+set}\" = set"; then
81083   echo $ECHO_N "(cached) $ECHO_C" >&6
81084 else
81085   if test x$gcc_no_link = xyes; then
81086   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81088    { (exit 1); exit 1; }; }
81089 fi
81090 cat >conftest.$ac_ext <<_ACEOF
81091 /* confdefs.h.  */
81092 _ACEOF
81093 cat confdefs.h >>conftest.$ac_ext
81094 cat >>conftest.$ac_ext <<_ACEOF
81095 /* end confdefs.h.  */
81096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81097    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81098 #define $ac_func innocuous_$ac_func
81099
81100 /* System header to define __stub macros and hopefully few prototypes,
81101     which can conflict with char $ac_func (); below.
81102     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81103     <limits.h> exists even on freestanding compilers.  */
81104
81105 #ifdef __STDC__
81106 # include <limits.h>
81107 #else
81108 # include <assert.h>
81109 #endif
81110
81111 #undef $ac_func
81112
81113 /* Override any gcc2 internal prototype to avoid an error.  */
81114 #ifdef __cplusplus
81115 extern "C"
81116 {
81117 #endif
81118 /* We use char because int might match the return type of a gcc2
81119    builtin and then its argument prototype would still apply.  */
81120 char $ac_func ();
81121 /* The GNU C library defines this for functions which it implements
81122     to always fail with ENOSYS.  Some functions are actually named
81123     something starting with __ and the normal name is an alias.  */
81124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81125 choke me
81126 #else
81127 char (*f) () = $ac_func;
81128 #endif
81129 #ifdef __cplusplus
81130 }
81131 #endif
81132
81133 int
81134 main ()
81135 {
81136 return f != $ac_func;
81137   ;
81138   return 0;
81139 }
81140 _ACEOF
81141 rm -f conftest.$ac_objext conftest$ac_exeext
81142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81143   (eval $ac_link) 2>conftest.er1
81144   ac_status=$?
81145   grep -v '^ *+' conftest.er1 >conftest.err
81146   rm -f conftest.er1
81147   cat conftest.err >&5
81148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81149   (exit $ac_status); } &&
81150          { ac_try='test -z "$ac_c_werror_flag"
81151                          || test ! -s conftest.err'
81152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81153   (eval $ac_try) 2>&5
81154   ac_status=$?
81155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81156   (exit $ac_status); }; } &&
81157          { ac_try='test -s conftest$ac_exeext'
81158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81159   (eval $ac_try) 2>&5
81160   ac_status=$?
81161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81162   (exit $ac_status); }; }; then
81163   eval "$as_ac_var=yes"
81164 else
81165   echo "$as_me: failed program was:" >&5
81166 sed 's/^/| /' conftest.$ac_ext >&5
81167
81168 eval "$as_ac_var=no"
81169 fi
81170 rm -f conftest.err conftest.$ac_objext \
81171       conftest$ac_exeext conftest.$ac_ext
81172 fi
81173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81175 if test `eval echo '${'$as_ac_var'}'` = yes; then
81176   cat >>confdefs.h <<_ACEOF
81177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81178 _ACEOF
81179
81180 fi
81181 done
81182
81183     fi
81184   fi
81185
81186
81187
81188
81189
81190
81191   echo "$as_me:$LINENO: checking for finitel declaration" >&5
81192 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
81193   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
81194     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
81195   echo $ECHO_N "(cached) $ECHO_C" >&6
81196 else
81197
81198
81199
81200       ac_ext=cc
81201 ac_cpp='$CXXCPP $CPPFLAGS'
81202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81205
81206       cat >conftest.$ac_ext <<_ACEOF
81207 /* confdefs.h.  */
81208 _ACEOF
81209 cat confdefs.h >>conftest.$ac_ext
81210 cat >>conftest.$ac_ext <<_ACEOF
81211 /* end confdefs.h.  */
81212 #include <math.h>
81213                       #ifdef HAVE_IEEEFP_H
81214                       #include <ieeefp.h>
81215                       #endif
81216
81217 int
81218 main ()
81219 {
81220  finitel(0);
81221   ;
81222   return 0;
81223 }
81224 _ACEOF
81225 rm -f conftest.$ac_objext
81226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81227   (eval $ac_compile) 2>conftest.er1
81228   ac_status=$?
81229   grep -v '^ *+' conftest.er1 >conftest.err
81230   rm -f conftest.er1
81231   cat conftest.err >&5
81232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81233   (exit $ac_status); } &&
81234          { ac_try='test -z "$ac_cxx_werror_flag"
81235                          || test ! -s conftest.err'
81236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81237   (eval $ac_try) 2>&5
81238   ac_status=$?
81239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81240   (exit $ac_status); }; } &&
81241          { ac_try='test -s conftest.$ac_objext'
81242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81243   (eval $ac_try) 2>&5
81244   ac_status=$?
81245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81246   (exit $ac_status); }; }; then
81247   glibcxx_cv_func_finitel_use=yes
81248 else
81249   echo "$as_me: failed program was:" >&5
81250 sed 's/^/| /' conftest.$ac_ext >&5
81251
81252 glibcxx_cv_func_finitel_use=no
81253 fi
81254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81255       ac_ext=c
81256 ac_cpp='$CPP $CPPFLAGS'
81257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81260
81261
81262 fi
81263
81264   fi
81265   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
81266 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
81267
81268   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
81269
81270 for ac_func in finitel
81271 do
81272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81273 echo "$as_me:$LINENO: checking for $ac_func" >&5
81274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81275 if eval "test \"\${$as_ac_var+set}\" = set"; then
81276   echo $ECHO_N "(cached) $ECHO_C" >&6
81277 else
81278   if test x$gcc_no_link = xyes; then
81279   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81281    { (exit 1); exit 1; }; }
81282 fi
81283 cat >conftest.$ac_ext <<_ACEOF
81284 /* confdefs.h.  */
81285 _ACEOF
81286 cat confdefs.h >>conftest.$ac_ext
81287 cat >>conftest.$ac_ext <<_ACEOF
81288 /* end confdefs.h.  */
81289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81290    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81291 #define $ac_func innocuous_$ac_func
81292
81293 /* System header to define __stub macros and hopefully few prototypes,
81294     which can conflict with char $ac_func (); below.
81295     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81296     <limits.h> exists even on freestanding compilers.  */
81297
81298 #ifdef __STDC__
81299 # include <limits.h>
81300 #else
81301 # include <assert.h>
81302 #endif
81303
81304 #undef $ac_func
81305
81306 /* Override any gcc2 internal prototype to avoid an error.  */
81307 #ifdef __cplusplus
81308 extern "C"
81309 {
81310 #endif
81311 /* We use char because int might match the return type of a gcc2
81312    builtin and then its argument prototype would still apply.  */
81313 char $ac_func ();
81314 /* The GNU C library defines this for functions which it implements
81315     to always fail with ENOSYS.  Some functions are actually named
81316     something starting with __ and the normal name is an alias.  */
81317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81318 choke me
81319 #else
81320 char (*f) () = $ac_func;
81321 #endif
81322 #ifdef __cplusplus
81323 }
81324 #endif
81325
81326 int
81327 main ()
81328 {
81329 return f != $ac_func;
81330   ;
81331   return 0;
81332 }
81333 _ACEOF
81334 rm -f conftest.$ac_objext conftest$ac_exeext
81335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81336   (eval $ac_link) 2>conftest.er1
81337   ac_status=$?
81338   grep -v '^ *+' conftest.er1 >conftest.err
81339   rm -f conftest.er1
81340   cat conftest.err >&5
81341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81342   (exit $ac_status); } &&
81343          { ac_try='test -z "$ac_c_werror_flag"
81344                          || test ! -s conftest.err'
81345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81346   (eval $ac_try) 2>&5
81347   ac_status=$?
81348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81349   (exit $ac_status); }; } &&
81350          { ac_try='test -s conftest$ac_exeext'
81351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81352   (eval $ac_try) 2>&5
81353   ac_status=$?
81354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81355   (exit $ac_status); }; }; then
81356   eval "$as_ac_var=yes"
81357 else
81358   echo "$as_me: failed program was:" >&5
81359 sed 's/^/| /' conftest.$ac_ext >&5
81360
81361 eval "$as_ac_var=no"
81362 fi
81363 rm -f conftest.err conftest.$ac_objext \
81364       conftest$ac_exeext conftest.$ac_ext
81365 fi
81366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81368 if test `eval echo '${'$as_ac_var'}'` = yes; then
81369   cat >>confdefs.h <<_ACEOF
81370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81371 _ACEOF
81372
81373 fi
81374 done
81375
81376   else
81377
81378   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
81379 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
81380   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
81381     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
81382   echo $ECHO_N "(cached) $ECHO_C" >&6
81383 else
81384
81385
81386
81387       ac_ext=cc
81388 ac_cpp='$CXXCPP $CPPFLAGS'
81389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81392
81393       cat >conftest.$ac_ext <<_ACEOF
81394 /* confdefs.h.  */
81395 _ACEOF
81396 cat confdefs.h >>conftest.$ac_ext
81397 cat >>conftest.$ac_ext <<_ACEOF
81398 /* end confdefs.h.  */
81399 #include <math.h>
81400                       #ifdef HAVE_IEEEFP_H
81401                       #include <ieeefp.h>
81402                       #endif
81403
81404 int
81405 main ()
81406 {
81407  _finitel(0);
81408   ;
81409   return 0;
81410 }
81411 _ACEOF
81412 rm -f conftest.$ac_objext
81413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81414   (eval $ac_compile) 2>conftest.er1
81415   ac_status=$?
81416   grep -v '^ *+' conftest.er1 >conftest.err
81417   rm -f conftest.er1
81418   cat conftest.err >&5
81419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81420   (exit $ac_status); } &&
81421          { ac_try='test -z "$ac_cxx_werror_flag"
81422                          || test ! -s conftest.err'
81423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81424   (eval $ac_try) 2>&5
81425   ac_status=$?
81426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81427   (exit $ac_status); }; } &&
81428          { ac_try='test -s conftest.$ac_objext'
81429   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81430   (eval $ac_try) 2>&5
81431   ac_status=$?
81432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81433   (exit $ac_status); }; }; then
81434   glibcxx_cv_func__finitel_use=yes
81435 else
81436   echo "$as_me: failed program was:" >&5
81437 sed 's/^/| /' conftest.$ac_ext >&5
81438
81439 glibcxx_cv_func__finitel_use=no
81440 fi
81441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81442       ac_ext=c
81443 ac_cpp='$CPP $CPPFLAGS'
81444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81447
81448
81449 fi
81450
81451   fi
81452   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
81453 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
81454
81455     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
81456
81457 for ac_func in _finitel
81458 do
81459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81460 echo "$as_me:$LINENO: checking for $ac_func" >&5
81461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81462 if eval "test \"\${$as_ac_var+set}\" = set"; then
81463   echo $ECHO_N "(cached) $ECHO_C" >&6
81464 else
81465   if test x$gcc_no_link = xyes; then
81466   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81468    { (exit 1); exit 1; }; }
81469 fi
81470 cat >conftest.$ac_ext <<_ACEOF
81471 /* confdefs.h.  */
81472 _ACEOF
81473 cat confdefs.h >>conftest.$ac_ext
81474 cat >>conftest.$ac_ext <<_ACEOF
81475 /* end confdefs.h.  */
81476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81477    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81478 #define $ac_func innocuous_$ac_func
81479
81480 /* System header to define __stub macros and hopefully few prototypes,
81481     which can conflict with char $ac_func (); below.
81482     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81483     <limits.h> exists even on freestanding compilers.  */
81484
81485 #ifdef __STDC__
81486 # include <limits.h>
81487 #else
81488 # include <assert.h>
81489 #endif
81490
81491 #undef $ac_func
81492
81493 /* Override any gcc2 internal prototype to avoid an error.  */
81494 #ifdef __cplusplus
81495 extern "C"
81496 {
81497 #endif
81498 /* We use char because int might match the return type of a gcc2
81499    builtin and then its argument prototype would still apply.  */
81500 char $ac_func ();
81501 /* The GNU C library defines this for functions which it implements
81502     to always fail with ENOSYS.  Some functions are actually named
81503     something starting with __ and the normal name is an alias.  */
81504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81505 choke me
81506 #else
81507 char (*f) () = $ac_func;
81508 #endif
81509 #ifdef __cplusplus
81510 }
81511 #endif
81512
81513 int
81514 main ()
81515 {
81516 return f != $ac_func;
81517   ;
81518   return 0;
81519 }
81520 _ACEOF
81521 rm -f conftest.$ac_objext conftest$ac_exeext
81522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81523   (eval $ac_link) 2>conftest.er1
81524   ac_status=$?
81525   grep -v '^ *+' conftest.er1 >conftest.err
81526   rm -f conftest.er1
81527   cat conftest.err >&5
81528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81529   (exit $ac_status); } &&
81530          { ac_try='test -z "$ac_c_werror_flag"
81531                          || test ! -s conftest.err'
81532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81533   (eval $ac_try) 2>&5
81534   ac_status=$?
81535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81536   (exit $ac_status); }; } &&
81537          { ac_try='test -s conftest$ac_exeext'
81538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81539   (eval $ac_try) 2>&5
81540   ac_status=$?
81541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81542   (exit $ac_status); }; }; then
81543   eval "$as_ac_var=yes"
81544 else
81545   echo "$as_me: failed program was:" >&5
81546 sed 's/^/| /' conftest.$ac_ext >&5
81547
81548 eval "$as_ac_var=no"
81549 fi
81550 rm -f conftest.err conftest.$ac_objext \
81551       conftest$ac_exeext conftest.$ac_ext
81552 fi
81553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81555 if test `eval echo '${'$as_ac_var'}'` = yes; then
81556   cat >>confdefs.h <<_ACEOF
81557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81558 _ACEOF
81559
81560 fi
81561 done
81562
81563     fi
81564   fi
81565
81566
81567
81568
81569
81570   LIBS="$ac_save_LIBS"
81571   CXXFLAGS="$ac_save_CXXFLAGS"
81572
81573
81574
81575   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
81576 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
81577   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
81578     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
81579   echo $ECHO_N "(cached) $ECHO_C" >&6
81580 else
81581
81582
81583
81584       ac_ext=cc
81585 ac_cpp='$CXXCPP $CPPFLAGS'
81586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81589
81590       cat >conftest.$ac_ext <<_ACEOF
81591 /* confdefs.h.  */
81592 _ACEOF
81593 cat confdefs.h >>conftest.$ac_ext
81594 cat >>conftest.$ac_ext <<_ACEOF
81595 /* end confdefs.h.  */
81596 #include <math.h>
81597 int
81598 main ()
81599 {
81600  __builtin_abs(0);
81601   ;
81602   return 0;
81603 }
81604 _ACEOF
81605 rm -f conftest.$ac_objext
81606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81607   (eval $ac_compile) 2>conftest.er1
81608   ac_status=$?
81609   grep -v '^ *+' conftest.er1 >conftest.err
81610   rm -f conftest.er1
81611   cat conftest.err >&5
81612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81613   (exit $ac_status); } &&
81614          { ac_try='test -z "$ac_cxx_werror_flag"
81615                          || test ! -s conftest.err'
81616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81617   (eval $ac_try) 2>&5
81618   ac_status=$?
81619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81620   (exit $ac_status); }; } &&
81621          { ac_try='test -s conftest.$ac_objext'
81622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81623   (eval $ac_try) 2>&5
81624   ac_status=$?
81625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81626   (exit $ac_status); }; }; then
81627   glibcxx_cv_func___builtin_abs_use=yes
81628 else
81629   echo "$as_me: failed program was:" >&5
81630 sed 's/^/| /' conftest.$ac_ext >&5
81631
81632 glibcxx_cv_func___builtin_abs_use=no
81633 fi
81634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81635       ac_ext=c
81636 ac_cpp='$CPP $CPPFLAGS'
81637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81640
81641
81642 fi
81643
81644   fi
81645   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
81646 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
81647   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
81648     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
81649 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
81650     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
81651       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
81652   echo $ECHO_N "(cached) $ECHO_C" >&6
81653 else
81654
81655         if test x$gcc_no_link = xyes; then
81656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81658    { (exit 1); exit 1; }; }
81659 fi
81660 cat >conftest.$ac_ext <<_ACEOF
81661 /* confdefs.h.  */
81662 _ACEOF
81663 cat confdefs.h >>conftest.$ac_ext
81664 cat >>conftest.$ac_ext <<_ACEOF
81665 /* end confdefs.h.  */
81666 #include <math.h>
81667 int
81668 main ()
81669 {
81670  __builtin_abs(0);
81671   ;
81672   return 0;
81673 }
81674 _ACEOF
81675 rm -f conftest.$ac_objext conftest$ac_exeext
81676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81677   (eval $ac_link) 2>conftest.er1
81678   ac_status=$?
81679   grep -v '^ *+' conftest.er1 >conftest.err
81680   rm -f conftest.er1
81681   cat conftest.err >&5
81682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81683   (exit $ac_status); } &&
81684          { ac_try='test -z "$ac_c_werror_flag"
81685                          || test ! -s conftest.err'
81686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81687   (eval $ac_try) 2>&5
81688   ac_status=$?
81689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81690   (exit $ac_status); }; } &&
81691          { ac_try='test -s conftest$ac_exeext'
81692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81693   (eval $ac_try) 2>&5
81694   ac_status=$?
81695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81696   (exit $ac_status); }; }; then
81697   glibcxx_cv_func___builtin_abs_link=yes
81698 else
81699   echo "$as_me: failed program was:" >&5
81700 sed 's/^/| /' conftest.$ac_ext >&5
81701
81702 glibcxx_cv_func___builtin_abs_link=no
81703 fi
81704 rm -f conftest.err conftest.$ac_objext \
81705       conftest$ac_exeext conftest.$ac_ext
81706
81707 fi
81708
81709     fi
81710     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
81711 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
81712
81713     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
81714
81715 cat >>confdefs.h <<\_ACEOF
81716 #define HAVE___BUILTIN_ABS 1
81717 _ACEOF
81718
81719     fi
81720
81721   fi
81722
81723
81724   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
81725 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
81726   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
81727     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
81728   echo $ECHO_N "(cached) $ECHO_C" >&6
81729 else
81730
81731
81732
81733       ac_ext=cc
81734 ac_cpp='$CXXCPP $CPPFLAGS'
81735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81738
81739       cat >conftest.$ac_ext <<_ACEOF
81740 /* confdefs.h.  */
81741 _ACEOF
81742 cat confdefs.h >>conftest.$ac_ext
81743 cat >>conftest.$ac_ext <<_ACEOF
81744 /* end confdefs.h.  */
81745 #include <math.h>
81746 int
81747 main ()
81748 {
81749  __builtin_fabsf(0);
81750   ;
81751   return 0;
81752 }
81753 _ACEOF
81754 rm -f conftest.$ac_objext
81755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81756   (eval $ac_compile) 2>conftest.er1
81757   ac_status=$?
81758   grep -v '^ *+' conftest.er1 >conftest.err
81759   rm -f conftest.er1
81760   cat conftest.err >&5
81761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81762   (exit $ac_status); } &&
81763          { ac_try='test -z "$ac_cxx_werror_flag"
81764                          || test ! -s conftest.err'
81765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81766   (eval $ac_try) 2>&5
81767   ac_status=$?
81768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81769   (exit $ac_status); }; } &&
81770          { ac_try='test -s conftest.$ac_objext'
81771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81772   (eval $ac_try) 2>&5
81773   ac_status=$?
81774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81775   (exit $ac_status); }; }; then
81776   glibcxx_cv_func___builtin_fabsf_use=yes
81777 else
81778   echo "$as_me: failed program was:" >&5
81779 sed 's/^/| /' conftest.$ac_ext >&5
81780
81781 glibcxx_cv_func___builtin_fabsf_use=no
81782 fi
81783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81784       ac_ext=c
81785 ac_cpp='$CPP $CPPFLAGS'
81786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81789
81790
81791 fi
81792
81793   fi
81794   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
81795 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
81796   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
81797     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
81798 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
81799     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
81800       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
81801   echo $ECHO_N "(cached) $ECHO_C" >&6
81802 else
81803
81804         if test x$gcc_no_link = xyes; then
81805   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81807    { (exit 1); exit 1; }; }
81808 fi
81809 cat >conftest.$ac_ext <<_ACEOF
81810 /* confdefs.h.  */
81811 _ACEOF
81812 cat confdefs.h >>conftest.$ac_ext
81813 cat >>conftest.$ac_ext <<_ACEOF
81814 /* end confdefs.h.  */
81815 #include <math.h>
81816 int
81817 main ()
81818 {
81819  __builtin_fabsf(0);
81820   ;
81821   return 0;
81822 }
81823 _ACEOF
81824 rm -f conftest.$ac_objext conftest$ac_exeext
81825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81826   (eval $ac_link) 2>conftest.er1
81827   ac_status=$?
81828   grep -v '^ *+' conftest.er1 >conftest.err
81829   rm -f conftest.er1
81830   cat conftest.err >&5
81831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81832   (exit $ac_status); } &&
81833          { ac_try='test -z "$ac_c_werror_flag"
81834                          || test ! -s conftest.err'
81835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81836   (eval $ac_try) 2>&5
81837   ac_status=$?
81838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81839   (exit $ac_status); }; } &&
81840          { ac_try='test -s conftest$ac_exeext'
81841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81842   (eval $ac_try) 2>&5
81843   ac_status=$?
81844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81845   (exit $ac_status); }; }; then
81846   glibcxx_cv_func___builtin_fabsf_link=yes
81847 else
81848   echo "$as_me: failed program was:" >&5
81849 sed 's/^/| /' conftest.$ac_ext >&5
81850
81851 glibcxx_cv_func___builtin_fabsf_link=no
81852 fi
81853 rm -f conftest.err conftest.$ac_objext \
81854       conftest$ac_exeext conftest.$ac_ext
81855
81856 fi
81857
81858     fi
81859     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
81860 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
81861
81862     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
81863
81864 cat >>confdefs.h <<\_ACEOF
81865 #define HAVE___BUILTIN_FABSF 1
81866 _ACEOF
81867
81868     fi
81869
81870   fi
81871
81872
81873   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
81874 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
81875   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
81876     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
81877   echo $ECHO_N "(cached) $ECHO_C" >&6
81878 else
81879
81880
81881
81882       ac_ext=cc
81883 ac_cpp='$CXXCPP $CPPFLAGS'
81884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81887
81888       cat >conftest.$ac_ext <<_ACEOF
81889 /* confdefs.h.  */
81890 _ACEOF
81891 cat confdefs.h >>conftest.$ac_ext
81892 cat >>conftest.$ac_ext <<_ACEOF
81893 /* end confdefs.h.  */
81894 #include <math.h>
81895 int
81896 main ()
81897 {
81898  __builtin_fabs(0);
81899   ;
81900   return 0;
81901 }
81902 _ACEOF
81903 rm -f conftest.$ac_objext
81904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81905   (eval $ac_compile) 2>conftest.er1
81906   ac_status=$?
81907   grep -v '^ *+' conftest.er1 >conftest.err
81908   rm -f conftest.er1
81909   cat conftest.err >&5
81910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81911   (exit $ac_status); } &&
81912          { ac_try='test -z "$ac_cxx_werror_flag"
81913                          || test ! -s conftest.err'
81914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81915   (eval $ac_try) 2>&5
81916   ac_status=$?
81917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81918   (exit $ac_status); }; } &&
81919          { ac_try='test -s conftest.$ac_objext'
81920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81921   (eval $ac_try) 2>&5
81922   ac_status=$?
81923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81924   (exit $ac_status); }; }; then
81925   glibcxx_cv_func___builtin_fabs_use=yes
81926 else
81927   echo "$as_me: failed program was:" >&5
81928 sed 's/^/| /' conftest.$ac_ext >&5
81929
81930 glibcxx_cv_func___builtin_fabs_use=no
81931 fi
81932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81933       ac_ext=c
81934 ac_cpp='$CPP $CPPFLAGS'
81935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81938
81939
81940 fi
81941
81942   fi
81943   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
81944 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
81945   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
81946     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
81947 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
81948     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
81949       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
81950   echo $ECHO_N "(cached) $ECHO_C" >&6
81951 else
81952
81953         if test x$gcc_no_link = xyes; then
81954   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81956    { (exit 1); exit 1; }; }
81957 fi
81958 cat >conftest.$ac_ext <<_ACEOF
81959 /* confdefs.h.  */
81960 _ACEOF
81961 cat confdefs.h >>conftest.$ac_ext
81962 cat >>conftest.$ac_ext <<_ACEOF
81963 /* end confdefs.h.  */
81964 #include <math.h>
81965 int
81966 main ()
81967 {
81968  __builtin_fabs(0);
81969   ;
81970   return 0;
81971 }
81972 _ACEOF
81973 rm -f conftest.$ac_objext conftest$ac_exeext
81974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81975   (eval $ac_link) 2>conftest.er1
81976   ac_status=$?
81977   grep -v '^ *+' conftest.er1 >conftest.err
81978   rm -f conftest.er1
81979   cat conftest.err >&5
81980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81981   (exit $ac_status); } &&
81982          { ac_try='test -z "$ac_c_werror_flag"
81983                          || test ! -s conftest.err'
81984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81985   (eval $ac_try) 2>&5
81986   ac_status=$?
81987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81988   (exit $ac_status); }; } &&
81989          { ac_try='test -s conftest$ac_exeext'
81990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81991   (eval $ac_try) 2>&5
81992   ac_status=$?
81993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81994   (exit $ac_status); }; }; then
81995   glibcxx_cv_func___builtin_fabs_link=yes
81996 else
81997   echo "$as_me: failed program was:" >&5
81998 sed 's/^/| /' conftest.$ac_ext >&5
81999
82000 glibcxx_cv_func___builtin_fabs_link=no
82001 fi
82002 rm -f conftest.err conftest.$ac_objext \
82003       conftest$ac_exeext conftest.$ac_ext
82004
82005 fi
82006
82007     fi
82008     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
82009 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
82010
82011     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
82012
82013 cat >>confdefs.h <<\_ACEOF
82014 #define HAVE___BUILTIN_FABS 1
82015 _ACEOF
82016
82017     fi
82018
82019   fi
82020
82021
82022   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
82023 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
82024   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
82025     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
82026   echo $ECHO_N "(cached) $ECHO_C" >&6
82027 else
82028
82029
82030
82031       ac_ext=cc
82032 ac_cpp='$CXXCPP $CPPFLAGS'
82033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82036
82037       cat >conftest.$ac_ext <<_ACEOF
82038 /* confdefs.h.  */
82039 _ACEOF
82040 cat confdefs.h >>conftest.$ac_ext
82041 cat >>conftest.$ac_ext <<_ACEOF
82042 /* end confdefs.h.  */
82043 #include <math.h>
82044 int
82045 main ()
82046 {
82047  __builtin_fabsl(0);
82048   ;
82049   return 0;
82050 }
82051 _ACEOF
82052 rm -f conftest.$ac_objext
82053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82054   (eval $ac_compile) 2>conftest.er1
82055   ac_status=$?
82056   grep -v '^ *+' conftest.er1 >conftest.err
82057   rm -f conftest.er1
82058   cat conftest.err >&5
82059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82060   (exit $ac_status); } &&
82061          { ac_try='test -z "$ac_cxx_werror_flag"
82062                          || test ! -s conftest.err'
82063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82064   (eval $ac_try) 2>&5
82065   ac_status=$?
82066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82067   (exit $ac_status); }; } &&
82068          { ac_try='test -s conftest.$ac_objext'
82069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82070   (eval $ac_try) 2>&5
82071   ac_status=$?
82072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82073   (exit $ac_status); }; }; then
82074   glibcxx_cv_func___builtin_fabsl_use=yes
82075 else
82076   echo "$as_me: failed program was:" >&5
82077 sed 's/^/| /' conftest.$ac_ext >&5
82078
82079 glibcxx_cv_func___builtin_fabsl_use=no
82080 fi
82081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82082       ac_ext=c
82083 ac_cpp='$CPP $CPPFLAGS'
82084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82087
82088
82089 fi
82090
82091   fi
82092   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
82093 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
82094   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
82095     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
82096 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
82097     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
82098       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
82099   echo $ECHO_N "(cached) $ECHO_C" >&6
82100 else
82101
82102         if test x$gcc_no_link = xyes; then
82103   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82105    { (exit 1); exit 1; }; }
82106 fi
82107 cat >conftest.$ac_ext <<_ACEOF
82108 /* confdefs.h.  */
82109 _ACEOF
82110 cat confdefs.h >>conftest.$ac_ext
82111 cat >>conftest.$ac_ext <<_ACEOF
82112 /* end confdefs.h.  */
82113 #include <math.h>
82114 int
82115 main ()
82116 {
82117  __builtin_fabsl(0);
82118   ;
82119   return 0;
82120 }
82121 _ACEOF
82122 rm -f conftest.$ac_objext conftest$ac_exeext
82123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82124   (eval $ac_link) 2>conftest.er1
82125   ac_status=$?
82126   grep -v '^ *+' conftest.er1 >conftest.err
82127   rm -f conftest.er1
82128   cat conftest.err >&5
82129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82130   (exit $ac_status); } &&
82131          { ac_try='test -z "$ac_c_werror_flag"
82132                          || test ! -s conftest.err'
82133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82134   (eval $ac_try) 2>&5
82135   ac_status=$?
82136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82137   (exit $ac_status); }; } &&
82138          { ac_try='test -s conftest$ac_exeext'
82139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82140   (eval $ac_try) 2>&5
82141   ac_status=$?
82142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82143   (exit $ac_status); }; }; then
82144   glibcxx_cv_func___builtin_fabsl_link=yes
82145 else
82146   echo "$as_me: failed program was:" >&5
82147 sed 's/^/| /' conftest.$ac_ext >&5
82148
82149 glibcxx_cv_func___builtin_fabsl_link=no
82150 fi
82151 rm -f conftest.err conftest.$ac_objext \
82152       conftest$ac_exeext conftest.$ac_ext
82153
82154 fi
82155
82156     fi
82157     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
82158 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
82159
82160     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
82161
82162 cat >>confdefs.h <<\_ACEOF
82163 #define HAVE___BUILTIN_FABSL 1
82164 _ACEOF
82165
82166     fi
82167
82168   fi
82169
82170
82171   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
82172 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
82173   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
82174     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
82175   echo $ECHO_N "(cached) $ECHO_C" >&6
82176 else
82177
82178
82179
82180       ac_ext=cc
82181 ac_cpp='$CXXCPP $CPPFLAGS'
82182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82185
82186       cat >conftest.$ac_ext <<_ACEOF
82187 /* confdefs.h.  */
82188 _ACEOF
82189 cat confdefs.h >>conftest.$ac_ext
82190 cat >>conftest.$ac_ext <<_ACEOF
82191 /* end confdefs.h.  */
82192 #include <math.h>
82193 int
82194 main ()
82195 {
82196  __builtin_labs(0);
82197   ;
82198   return 0;
82199 }
82200 _ACEOF
82201 rm -f conftest.$ac_objext
82202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82203   (eval $ac_compile) 2>conftest.er1
82204   ac_status=$?
82205   grep -v '^ *+' conftest.er1 >conftest.err
82206   rm -f conftest.er1
82207   cat conftest.err >&5
82208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82209   (exit $ac_status); } &&
82210          { ac_try='test -z "$ac_cxx_werror_flag"
82211                          || test ! -s conftest.err'
82212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82213   (eval $ac_try) 2>&5
82214   ac_status=$?
82215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82216   (exit $ac_status); }; } &&
82217          { ac_try='test -s conftest.$ac_objext'
82218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82219   (eval $ac_try) 2>&5
82220   ac_status=$?
82221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82222   (exit $ac_status); }; }; then
82223   glibcxx_cv_func___builtin_labs_use=yes
82224 else
82225   echo "$as_me: failed program was:" >&5
82226 sed 's/^/| /' conftest.$ac_ext >&5
82227
82228 glibcxx_cv_func___builtin_labs_use=no
82229 fi
82230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82231       ac_ext=c
82232 ac_cpp='$CPP $CPPFLAGS'
82233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82236
82237
82238 fi
82239
82240   fi
82241   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
82242 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
82243   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
82244     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
82245 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
82246     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
82247       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
82248   echo $ECHO_N "(cached) $ECHO_C" >&6
82249 else
82250
82251         if test x$gcc_no_link = xyes; then
82252   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82254    { (exit 1); exit 1; }; }
82255 fi
82256 cat >conftest.$ac_ext <<_ACEOF
82257 /* confdefs.h.  */
82258 _ACEOF
82259 cat confdefs.h >>conftest.$ac_ext
82260 cat >>conftest.$ac_ext <<_ACEOF
82261 /* end confdefs.h.  */
82262 #include <math.h>
82263 int
82264 main ()
82265 {
82266  __builtin_labs(0);
82267   ;
82268   return 0;
82269 }
82270 _ACEOF
82271 rm -f conftest.$ac_objext conftest$ac_exeext
82272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82273   (eval $ac_link) 2>conftest.er1
82274   ac_status=$?
82275   grep -v '^ *+' conftest.er1 >conftest.err
82276   rm -f conftest.er1
82277   cat conftest.err >&5
82278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82279   (exit $ac_status); } &&
82280          { ac_try='test -z "$ac_c_werror_flag"
82281                          || test ! -s conftest.err'
82282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82283   (eval $ac_try) 2>&5
82284   ac_status=$?
82285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82286   (exit $ac_status); }; } &&
82287          { ac_try='test -s conftest$ac_exeext'
82288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82289   (eval $ac_try) 2>&5
82290   ac_status=$?
82291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82292   (exit $ac_status); }; }; then
82293   glibcxx_cv_func___builtin_labs_link=yes
82294 else
82295   echo "$as_me: failed program was:" >&5
82296 sed 's/^/| /' conftest.$ac_ext >&5
82297
82298 glibcxx_cv_func___builtin_labs_link=no
82299 fi
82300 rm -f conftest.err conftest.$ac_objext \
82301       conftest$ac_exeext conftest.$ac_ext
82302
82303 fi
82304
82305     fi
82306     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
82307 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
82308
82309     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
82310
82311 cat >>confdefs.h <<\_ACEOF
82312 #define HAVE___BUILTIN_LABS 1
82313 _ACEOF
82314
82315     fi
82316
82317   fi
82318
82319
82320
82321   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
82322 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
82323   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
82324     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
82325   echo $ECHO_N "(cached) $ECHO_C" >&6
82326 else
82327
82328
82329
82330       ac_ext=cc
82331 ac_cpp='$CXXCPP $CPPFLAGS'
82332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82335
82336       cat >conftest.$ac_ext <<_ACEOF
82337 /* confdefs.h.  */
82338 _ACEOF
82339 cat confdefs.h >>conftest.$ac_ext
82340 cat >>conftest.$ac_ext <<_ACEOF
82341 /* end confdefs.h.  */
82342 #include <math.h>
82343 int
82344 main ()
82345 {
82346  __builtin_sqrtf(0);
82347   ;
82348   return 0;
82349 }
82350 _ACEOF
82351 rm -f conftest.$ac_objext
82352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82353   (eval $ac_compile) 2>conftest.er1
82354   ac_status=$?
82355   grep -v '^ *+' conftest.er1 >conftest.err
82356   rm -f conftest.er1
82357   cat conftest.err >&5
82358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82359   (exit $ac_status); } &&
82360          { ac_try='test -z "$ac_cxx_werror_flag"
82361                          || test ! -s conftest.err'
82362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82363   (eval $ac_try) 2>&5
82364   ac_status=$?
82365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82366   (exit $ac_status); }; } &&
82367          { ac_try='test -s conftest.$ac_objext'
82368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82369   (eval $ac_try) 2>&5
82370   ac_status=$?
82371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82372   (exit $ac_status); }; }; then
82373   glibcxx_cv_func___builtin_sqrtf_use=yes
82374 else
82375   echo "$as_me: failed program was:" >&5
82376 sed 's/^/| /' conftest.$ac_ext >&5
82377
82378 glibcxx_cv_func___builtin_sqrtf_use=no
82379 fi
82380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82381       ac_ext=c
82382 ac_cpp='$CPP $CPPFLAGS'
82383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82386
82387
82388 fi
82389
82390   fi
82391   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
82392 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
82393   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
82394     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
82395 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
82396     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
82397       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
82398   echo $ECHO_N "(cached) $ECHO_C" >&6
82399 else
82400
82401         if test x$gcc_no_link = xyes; then
82402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82404    { (exit 1); exit 1; }; }
82405 fi
82406 cat >conftest.$ac_ext <<_ACEOF
82407 /* confdefs.h.  */
82408 _ACEOF
82409 cat confdefs.h >>conftest.$ac_ext
82410 cat >>conftest.$ac_ext <<_ACEOF
82411 /* end confdefs.h.  */
82412 #include <math.h>
82413 int
82414 main ()
82415 {
82416  __builtin_sqrtf(0);
82417   ;
82418   return 0;
82419 }
82420 _ACEOF
82421 rm -f conftest.$ac_objext conftest$ac_exeext
82422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82423   (eval $ac_link) 2>conftest.er1
82424   ac_status=$?
82425   grep -v '^ *+' conftest.er1 >conftest.err
82426   rm -f conftest.er1
82427   cat conftest.err >&5
82428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82429   (exit $ac_status); } &&
82430          { ac_try='test -z "$ac_c_werror_flag"
82431                          || test ! -s conftest.err'
82432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82433   (eval $ac_try) 2>&5
82434   ac_status=$?
82435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82436   (exit $ac_status); }; } &&
82437          { ac_try='test -s conftest$ac_exeext'
82438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82439   (eval $ac_try) 2>&5
82440   ac_status=$?
82441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82442   (exit $ac_status); }; }; then
82443   glibcxx_cv_func___builtin_sqrtf_link=yes
82444 else
82445   echo "$as_me: failed program was:" >&5
82446 sed 's/^/| /' conftest.$ac_ext >&5
82447
82448 glibcxx_cv_func___builtin_sqrtf_link=no
82449 fi
82450 rm -f conftest.err conftest.$ac_objext \
82451       conftest$ac_exeext conftest.$ac_ext
82452
82453 fi
82454
82455     fi
82456     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
82457 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
82458
82459     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
82460
82461 cat >>confdefs.h <<\_ACEOF
82462 #define HAVE___BUILTIN_SQRTF 1
82463 _ACEOF
82464
82465     fi
82466
82467   fi
82468
82469
82470   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
82471 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
82472   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
82473     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
82474   echo $ECHO_N "(cached) $ECHO_C" >&6
82475 else
82476
82477
82478
82479       ac_ext=cc
82480 ac_cpp='$CXXCPP $CPPFLAGS'
82481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82484
82485       cat >conftest.$ac_ext <<_ACEOF
82486 /* confdefs.h.  */
82487 _ACEOF
82488 cat confdefs.h >>conftest.$ac_ext
82489 cat >>conftest.$ac_ext <<_ACEOF
82490 /* end confdefs.h.  */
82491 #include <math.h>
82492 int
82493 main ()
82494 {
82495  __builtin_sqrt(0);
82496   ;
82497   return 0;
82498 }
82499 _ACEOF
82500 rm -f conftest.$ac_objext
82501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82502   (eval $ac_compile) 2>conftest.er1
82503   ac_status=$?
82504   grep -v '^ *+' conftest.er1 >conftest.err
82505   rm -f conftest.er1
82506   cat conftest.err >&5
82507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82508   (exit $ac_status); } &&
82509          { ac_try='test -z "$ac_cxx_werror_flag"
82510                          || test ! -s conftest.err'
82511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82512   (eval $ac_try) 2>&5
82513   ac_status=$?
82514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82515   (exit $ac_status); }; } &&
82516          { ac_try='test -s conftest.$ac_objext'
82517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82518   (eval $ac_try) 2>&5
82519   ac_status=$?
82520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82521   (exit $ac_status); }; }; then
82522   glibcxx_cv_func___builtin_sqrt_use=yes
82523 else
82524   echo "$as_me: failed program was:" >&5
82525 sed 's/^/| /' conftest.$ac_ext >&5
82526
82527 glibcxx_cv_func___builtin_sqrt_use=no
82528 fi
82529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82530       ac_ext=c
82531 ac_cpp='$CPP $CPPFLAGS'
82532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82535
82536
82537 fi
82538
82539   fi
82540   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
82541 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
82542   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
82543     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
82544 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
82545     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
82546       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
82547   echo $ECHO_N "(cached) $ECHO_C" >&6
82548 else
82549
82550         if test x$gcc_no_link = xyes; then
82551   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82553    { (exit 1); exit 1; }; }
82554 fi
82555 cat >conftest.$ac_ext <<_ACEOF
82556 /* confdefs.h.  */
82557 _ACEOF
82558 cat confdefs.h >>conftest.$ac_ext
82559 cat >>conftest.$ac_ext <<_ACEOF
82560 /* end confdefs.h.  */
82561 #include <math.h>
82562 int
82563 main ()
82564 {
82565  __builtin_sqrt(0);
82566   ;
82567   return 0;
82568 }
82569 _ACEOF
82570 rm -f conftest.$ac_objext conftest$ac_exeext
82571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82572   (eval $ac_link) 2>conftest.er1
82573   ac_status=$?
82574   grep -v '^ *+' conftest.er1 >conftest.err
82575   rm -f conftest.er1
82576   cat conftest.err >&5
82577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82578   (exit $ac_status); } &&
82579          { ac_try='test -z "$ac_c_werror_flag"
82580                          || test ! -s conftest.err'
82581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82582   (eval $ac_try) 2>&5
82583   ac_status=$?
82584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82585   (exit $ac_status); }; } &&
82586          { ac_try='test -s conftest$ac_exeext'
82587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82588   (eval $ac_try) 2>&5
82589   ac_status=$?
82590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82591   (exit $ac_status); }; }; then
82592   glibcxx_cv_func___builtin_sqrt_link=yes
82593 else
82594   echo "$as_me: failed program was:" >&5
82595 sed 's/^/| /' conftest.$ac_ext >&5
82596
82597 glibcxx_cv_func___builtin_sqrt_link=no
82598 fi
82599 rm -f conftest.err conftest.$ac_objext \
82600       conftest$ac_exeext conftest.$ac_ext
82601
82602 fi
82603
82604     fi
82605     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
82606 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
82607
82608     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
82609
82610 cat >>confdefs.h <<\_ACEOF
82611 #define HAVE___BUILTIN_SQRT 1
82612 _ACEOF
82613
82614     fi
82615
82616   fi
82617
82618
82619   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
82620 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
82621   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
82622     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
82623   echo $ECHO_N "(cached) $ECHO_C" >&6
82624 else
82625
82626
82627
82628       ac_ext=cc
82629 ac_cpp='$CXXCPP $CPPFLAGS'
82630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82633
82634       cat >conftest.$ac_ext <<_ACEOF
82635 /* confdefs.h.  */
82636 _ACEOF
82637 cat confdefs.h >>conftest.$ac_ext
82638 cat >>conftest.$ac_ext <<_ACEOF
82639 /* end confdefs.h.  */
82640 #include <math.h>
82641 int
82642 main ()
82643 {
82644  __builtin_sqrtl(0);
82645   ;
82646   return 0;
82647 }
82648 _ACEOF
82649 rm -f conftest.$ac_objext
82650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82651   (eval $ac_compile) 2>conftest.er1
82652   ac_status=$?
82653   grep -v '^ *+' conftest.er1 >conftest.err
82654   rm -f conftest.er1
82655   cat conftest.err >&5
82656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82657   (exit $ac_status); } &&
82658          { ac_try='test -z "$ac_cxx_werror_flag"
82659                          || test ! -s conftest.err'
82660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82661   (eval $ac_try) 2>&5
82662   ac_status=$?
82663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82664   (exit $ac_status); }; } &&
82665          { ac_try='test -s conftest.$ac_objext'
82666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82667   (eval $ac_try) 2>&5
82668   ac_status=$?
82669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82670   (exit $ac_status); }; }; then
82671   glibcxx_cv_func___builtin_sqrtl_use=yes
82672 else
82673   echo "$as_me: failed program was:" >&5
82674 sed 's/^/| /' conftest.$ac_ext >&5
82675
82676 glibcxx_cv_func___builtin_sqrtl_use=no
82677 fi
82678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82679       ac_ext=c
82680 ac_cpp='$CPP $CPPFLAGS'
82681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82684
82685
82686 fi
82687
82688   fi
82689   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
82690 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
82691   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
82692     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
82693 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
82694     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
82695       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
82696   echo $ECHO_N "(cached) $ECHO_C" >&6
82697 else
82698
82699         if test x$gcc_no_link = xyes; then
82700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82702    { (exit 1); exit 1; }; }
82703 fi
82704 cat >conftest.$ac_ext <<_ACEOF
82705 /* confdefs.h.  */
82706 _ACEOF
82707 cat confdefs.h >>conftest.$ac_ext
82708 cat >>conftest.$ac_ext <<_ACEOF
82709 /* end confdefs.h.  */
82710 #include <math.h>
82711 int
82712 main ()
82713 {
82714  __builtin_sqrtl(0);
82715   ;
82716   return 0;
82717 }
82718 _ACEOF
82719 rm -f conftest.$ac_objext conftest$ac_exeext
82720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82721   (eval $ac_link) 2>conftest.er1
82722   ac_status=$?
82723   grep -v '^ *+' conftest.er1 >conftest.err
82724   rm -f conftest.er1
82725   cat conftest.err >&5
82726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82727   (exit $ac_status); } &&
82728          { ac_try='test -z "$ac_c_werror_flag"
82729                          || test ! -s conftest.err'
82730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82731   (eval $ac_try) 2>&5
82732   ac_status=$?
82733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82734   (exit $ac_status); }; } &&
82735          { ac_try='test -s conftest$ac_exeext'
82736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82737   (eval $ac_try) 2>&5
82738   ac_status=$?
82739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82740   (exit $ac_status); }; }; then
82741   glibcxx_cv_func___builtin_sqrtl_link=yes
82742 else
82743   echo "$as_me: failed program was:" >&5
82744 sed 's/^/| /' conftest.$ac_ext >&5
82745
82746 glibcxx_cv_func___builtin_sqrtl_link=no
82747 fi
82748 rm -f conftest.err conftest.$ac_objext \
82749       conftest$ac_exeext conftest.$ac_ext
82750
82751 fi
82752
82753     fi
82754     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
82755 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
82756
82757     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
82758
82759 cat >>confdefs.h <<\_ACEOF
82760 #define HAVE___BUILTIN_SQRTL 1
82761 _ACEOF
82762
82763     fi
82764
82765   fi
82766
82767
82768
82769   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
82770 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
82771   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
82772     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
82773   echo $ECHO_N "(cached) $ECHO_C" >&6
82774 else
82775
82776
82777
82778       ac_ext=cc
82779 ac_cpp='$CXXCPP $CPPFLAGS'
82780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82783
82784       cat >conftest.$ac_ext <<_ACEOF
82785 /* confdefs.h.  */
82786 _ACEOF
82787 cat confdefs.h >>conftest.$ac_ext
82788 cat >>conftest.$ac_ext <<_ACEOF
82789 /* end confdefs.h.  */
82790 #include <math.h>
82791 int
82792 main ()
82793 {
82794  __builtin_sinf(0);
82795   ;
82796   return 0;
82797 }
82798 _ACEOF
82799 rm -f conftest.$ac_objext
82800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82801   (eval $ac_compile) 2>conftest.er1
82802   ac_status=$?
82803   grep -v '^ *+' conftest.er1 >conftest.err
82804   rm -f conftest.er1
82805   cat conftest.err >&5
82806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82807   (exit $ac_status); } &&
82808          { ac_try='test -z "$ac_cxx_werror_flag"
82809                          || test ! -s conftest.err'
82810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82811   (eval $ac_try) 2>&5
82812   ac_status=$?
82813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82814   (exit $ac_status); }; } &&
82815          { ac_try='test -s conftest.$ac_objext'
82816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82817   (eval $ac_try) 2>&5
82818   ac_status=$?
82819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82820   (exit $ac_status); }; }; then
82821   glibcxx_cv_func___builtin_sinf_use=yes
82822 else
82823   echo "$as_me: failed program was:" >&5
82824 sed 's/^/| /' conftest.$ac_ext >&5
82825
82826 glibcxx_cv_func___builtin_sinf_use=no
82827 fi
82828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82829       ac_ext=c
82830 ac_cpp='$CPP $CPPFLAGS'
82831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82834
82835
82836 fi
82837
82838   fi
82839   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
82840 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
82841   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
82842     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
82843 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
82844     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
82845       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
82846   echo $ECHO_N "(cached) $ECHO_C" >&6
82847 else
82848
82849         if test x$gcc_no_link = xyes; then
82850   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82852    { (exit 1); exit 1; }; }
82853 fi
82854 cat >conftest.$ac_ext <<_ACEOF
82855 /* confdefs.h.  */
82856 _ACEOF
82857 cat confdefs.h >>conftest.$ac_ext
82858 cat >>conftest.$ac_ext <<_ACEOF
82859 /* end confdefs.h.  */
82860 #include <math.h>
82861 int
82862 main ()
82863 {
82864  __builtin_sinf(0);
82865   ;
82866   return 0;
82867 }
82868 _ACEOF
82869 rm -f conftest.$ac_objext conftest$ac_exeext
82870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82871   (eval $ac_link) 2>conftest.er1
82872   ac_status=$?
82873   grep -v '^ *+' conftest.er1 >conftest.err
82874   rm -f conftest.er1
82875   cat conftest.err >&5
82876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82877   (exit $ac_status); } &&
82878          { ac_try='test -z "$ac_c_werror_flag"
82879                          || test ! -s conftest.err'
82880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82881   (eval $ac_try) 2>&5
82882   ac_status=$?
82883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82884   (exit $ac_status); }; } &&
82885          { ac_try='test -s conftest$ac_exeext'
82886   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82887   (eval $ac_try) 2>&5
82888   ac_status=$?
82889   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82890   (exit $ac_status); }; }; then
82891   glibcxx_cv_func___builtin_sinf_link=yes
82892 else
82893   echo "$as_me: failed program was:" >&5
82894 sed 's/^/| /' conftest.$ac_ext >&5
82895
82896 glibcxx_cv_func___builtin_sinf_link=no
82897 fi
82898 rm -f conftest.err conftest.$ac_objext \
82899       conftest$ac_exeext conftest.$ac_ext
82900
82901 fi
82902
82903     fi
82904     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
82905 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
82906
82907     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
82908
82909 cat >>confdefs.h <<\_ACEOF
82910 #define HAVE___BUILTIN_SINF 1
82911 _ACEOF
82912
82913     fi
82914
82915   fi
82916
82917
82918   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
82919 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
82920   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
82921     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
82922   echo $ECHO_N "(cached) $ECHO_C" >&6
82923 else
82924
82925
82926
82927       ac_ext=cc
82928 ac_cpp='$CXXCPP $CPPFLAGS'
82929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82932
82933       cat >conftest.$ac_ext <<_ACEOF
82934 /* confdefs.h.  */
82935 _ACEOF
82936 cat confdefs.h >>conftest.$ac_ext
82937 cat >>conftest.$ac_ext <<_ACEOF
82938 /* end confdefs.h.  */
82939 #include <math.h>
82940 int
82941 main ()
82942 {
82943  __builtin_sin(0);
82944   ;
82945   return 0;
82946 }
82947 _ACEOF
82948 rm -f conftest.$ac_objext
82949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82950   (eval $ac_compile) 2>conftest.er1
82951   ac_status=$?
82952   grep -v '^ *+' conftest.er1 >conftest.err
82953   rm -f conftest.er1
82954   cat conftest.err >&5
82955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82956   (exit $ac_status); } &&
82957          { ac_try='test -z "$ac_cxx_werror_flag"
82958                          || test ! -s conftest.err'
82959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82960   (eval $ac_try) 2>&5
82961   ac_status=$?
82962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82963   (exit $ac_status); }; } &&
82964          { ac_try='test -s conftest.$ac_objext'
82965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82966   (eval $ac_try) 2>&5
82967   ac_status=$?
82968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82969   (exit $ac_status); }; }; then
82970   glibcxx_cv_func___builtin_sin_use=yes
82971 else
82972   echo "$as_me: failed program was:" >&5
82973 sed 's/^/| /' conftest.$ac_ext >&5
82974
82975 glibcxx_cv_func___builtin_sin_use=no
82976 fi
82977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82978       ac_ext=c
82979 ac_cpp='$CPP $CPPFLAGS'
82980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82983
82984
82985 fi
82986
82987   fi
82988   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
82989 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
82990   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
82991     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
82992 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
82993     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
82994       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
82995   echo $ECHO_N "(cached) $ECHO_C" >&6
82996 else
82997
82998         if test x$gcc_no_link = xyes; then
82999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83001    { (exit 1); exit 1; }; }
83002 fi
83003 cat >conftest.$ac_ext <<_ACEOF
83004 /* confdefs.h.  */
83005 _ACEOF
83006 cat confdefs.h >>conftest.$ac_ext
83007 cat >>conftest.$ac_ext <<_ACEOF
83008 /* end confdefs.h.  */
83009 #include <math.h>
83010 int
83011 main ()
83012 {
83013  __builtin_sin(0);
83014   ;
83015   return 0;
83016 }
83017 _ACEOF
83018 rm -f conftest.$ac_objext conftest$ac_exeext
83019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83020   (eval $ac_link) 2>conftest.er1
83021   ac_status=$?
83022   grep -v '^ *+' conftest.er1 >conftest.err
83023   rm -f conftest.er1
83024   cat conftest.err >&5
83025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83026   (exit $ac_status); } &&
83027          { ac_try='test -z "$ac_c_werror_flag"
83028                          || test ! -s conftest.err'
83029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83030   (eval $ac_try) 2>&5
83031   ac_status=$?
83032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83033   (exit $ac_status); }; } &&
83034          { ac_try='test -s conftest$ac_exeext'
83035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83036   (eval $ac_try) 2>&5
83037   ac_status=$?
83038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83039   (exit $ac_status); }; }; then
83040   glibcxx_cv_func___builtin_sin_link=yes
83041 else
83042   echo "$as_me: failed program was:" >&5
83043 sed 's/^/| /' conftest.$ac_ext >&5
83044
83045 glibcxx_cv_func___builtin_sin_link=no
83046 fi
83047 rm -f conftest.err conftest.$ac_objext \
83048       conftest$ac_exeext conftest.$ac_ext
83049
83050 fi
83051
83052     fi
83053     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
83054 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
83055
83056     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
83057
83058 cat >>confdefs.h <<\_ACEOF
83059 #define HAVE___BUILTIN_SIN 1
83060 _ACEOF
83061
83062     fi
83063
83064   fi
83065
83066
83067   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
83068 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
83069   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
83070     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
83071   echo $ECHO_N "(cached) $ECHO_C" >&6
83072 else
83073
83074
83075
83076       ac_ext=cc
83077 ac_cpp='$CXXCPP $CPPFLAGS'
83078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83081
83082       cat >conftest.$ac_ext <<_ACEOF
83083 /* confdefs.h.  */
83084 _ACEOF
83085 cat confdefs.h >>conftest.$ac_ext
83086 cat >>conftest.$ac_ext <<_ACEOF
83087 /* end confdefs.h.  */
83088 #include <math.h>
83089 int
83090 main ()
83091 {
83092  __builtin_sinl(0);
83093   ;
83094   return 0;
83095 }
83096 _ACEOF
83097 rm -f conftest.$ac_objext
83098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83099   (eval $ac_compile) 2>conftest.er1
83100   ac_status=$?
83101   grep -v '^ *+' conftest.er1 >conftest.err
83102   rm -f conftest.er1
83103   cat conftest.err >&5
83104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83105   (exit $ac_status); } &&
83106          { ac_try='test -z "$ac_cxx_werror_flag"
83107                          || test ! -s conftest.err'
83108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83109   (eval $ac_try) 2>&5
83110   ac_status=$?
83111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83112   (exit $ac_status); }; } &&
83113          { ac_try='test -s conftest.$ac_objext'
83114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83115   (eval $ac_try) 2>&5
83116   ac_status=$?
83117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83118   (exit $ac_status); }; }; then
83119   glibcxx_cv_func___builtin_sinl_use=yes
83120 else
83121   echo "$as_me: failed program was:" >&5
83122 sed 's/^/| /' conftest.$ac_ext >&5
83123
83124 glibcxx_cv_func___builtin_sinl_use=no
83125 fi
83126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83127       ac_ext=c
83128 ac_cpp='$CPP $CPPFLAGS'
83129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83132
83133
83134 fi
83135
83136   fi
83137   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
83138 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
83139   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
83140     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
83141 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
83142     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
83143       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
83144   echo $ECHO_N "(cached) $ECHO_C" >&6
83145 else
83146
83147         if test x$gcc_no_link = xyes; then
83148   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83150    { (exit 1); exit 1; }; }
83151 fi
83152 cat >conftest.$ac_ext <<_ACEOF
83153 /* confdefs.h.  */
83154 _ACEOF
83155 cat confdefs.h >>conftest.$ac_ext
83156 cat >>conftest.$ac_ext <<_ACEOF
83157 /* end confdefs.h.  */
83158 #include <math.h>
83159 int
83160 main ()
83161 {
83162  __builtin_sinl(0);
83163   ;
83164   return 0;
83165 }
83166 _ACEOF
83167 rm -f conftest.$ac_objext conftest$ac_exeext
83168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83169   (eval $ac_link) 2>conftest.er1
83170   ac_status=$?
83171   grep -v '^ *+' conftest.er1 >conftest.err
83172   rm -f conftest.er1
83173   cat conftest.err >&5
83174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83175   (exit $ac_status); } &&
83176          { ac_try='test -z "$ac_c_werror_flag"
83177                          || test ! -s conftest.err'
83178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83179   (eval $ac_try) 2>&5
83180   ac_status=$?
83181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83182   (exit $ac_status); }; } &&
83183          { ac_try='test -s conftest$ac_exeext'
83184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83185   (eval $ac_try) 2>&5
83186   ac_status=$?
83187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83188   (exit $ac_status); }; }; then
83189   glibcxx_cv_func___builtin_sinl_link=yes
83190 else
83191   echo "$as_me: failed program was:" >&5
83192 sed 's/^/| /' conftest.$ac_ext >&5
83193
83194 glibcxx_cv_func___builtin_sinl_link=no
83195 fi
83196 rm -f conftest.err conftest.$ac_objext \
83197       conftest$ac_exeext conftest.$ac_ext
83198
83199 fi
83200
83201     fi
83202     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
83203 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
83204
83205     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
83206
83207 cat >>confdefs.h <<\_ACEOF
83208 #define HAVE___BUILTIN_SINL 1
83209 _ACEOF
83210
83211     fi
83212
83213   fi
83214
83215
83216
83217   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
83218 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
83219   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
83220     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
83221   echo $ECHO_N "(cached) $ECHO_C" >&6
83222 else
83223
83224
83225
83226       ac_ext=cc
83227 ac_cpp='$CXXCPP $CPPFLAGS'
83228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83231
83232       cat >conftest.$ac_ext <<_ACEOF
83233 /* confdefs.h.  */
83234 _ACEOF
83235 cat confdefs.h >>conftest.$ac_ext
83236 cat >>conftest.$ac_ext <<_ACEOF
83237 /* end confdefs.h.  */
83238 #include <math.h>
83239 int
83240 main ()
83241 {
83242  __builtin_cosf(0);
83243   ;
83244   return 0;
83245 }
83246 _ACEOF
83247 rm -f conftest.$ac_objext
83248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83249   (eval $ac_compile) 2>conftest.er1
83250   ac_status=$?
83251   grep -v '^ *+' conftest.er1 >conftest.err
83252   rm -f conftest.er1
83253   cat conftest.err >&5
83254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83255   (exit $ac_status); } &&
83256          { ac_try='test -z "$ac_cxx_werror_flag"
83257                          || test ! -s conftest.err'
83258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83259   (eval $ac_try) 2>&5
83260   ac_status=$?
83261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83262   (exit $ac_status); }; } &&
83263          { ac_try='test -s conftest.$ac_objext'
83264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83265   (eval $ac_try) 2>&5
83266   ac_status=$?
83267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83268   (exit $ac_status); }; }; then
83269   glibcxx_cv_func___builtin_cosf_use=yes
83270 else
83271   echo "$as_me: failed program was:" >&5
83272 sed 's/^/| /' conftest.$ac_ext >&5
83273
83274 glibcxx_cv_func___builtin_cosf_use=no
83275 fi
83276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83277       ac_ext=c
83278 ac_cpp='$CPP $CPPFLAGS'
83279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83282
83283
83284 fi
83285
83286   fi
83287   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
83288 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
83289   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
83290     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
83291 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
83292     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
83293       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
83294   echo $ECHO_N "(cached) $ECHO_C" >&6
83295 else
83296
83297         if test x$gcc_no_link = xyes; then
83298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83300    { (exit 1); exit 1; }; }
83301 fi
83302 cat >conftest.$ac_ext <<_ACEOF
83303 /* confdefs.h.  */
83304 _ACEOF
83305 cat confdefs.h >>conftest.$ac_ext
83306 cat >>conftest.$ac_ext <<_ACEOF
83307 /* end confdefs.h.  */
83308 #include <math.h>
83309 int
83310 main ()
83311 {
83312  __builtin_cosf(0);
83313   ;
83314   return 0;
83315 }
83316 _ACEOF
83317 rm -f conftest.$ac_objext conftest$ac_exeext
83318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83319   (eval $ac_link) 2>conftest.er1
83320   ac_status=$?
83321   grep -v '^ *+' conftest.er1 >conftest.err
83322   rm -f conftest.er1
83323   cat conftest.err >&5
83324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83325   (exit $ac_status); } &&
83326          { ac_try='test -z "$ac_c_werror_flag"
83327                          || test ! -s conftest.err'
83328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83329   (eval $ac_try) 2>&5
83330   ac_status=$?
83331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83332   (exit $ac_status); }; } &&
83333          { ac_try='test -s conftest$ac_exeext'
83334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83335   (eval $ac_try) 2>&5
83336   ac_status=$?
83337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83338   (exit $ac_status); }; }; then
83339   glibcxx_cv_func___builtin_cosf_link=yes
83340 else
83341   echo "$as_me: failed program was:" >&5
83342 sed 's/^/| /' conftest.$ac_ext >&5
83343
83344 glibcxx_cv_func___builtin_cosf_link=no
83345 fi
83346 rm -f conftest.err conftest.$ac_objext \
83347       conftest$ac_exeext conftest.$ac_ext
83348
83349 fi
83350
83351     fi
83352     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
83353 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
83354
83355     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
83356
83357 cat >>confdefs.h <<\_ACEOF
83358 #define HAVE___BUILTIN_COSF 1
83359 _ACEOF
83360
83361     fi
83362
83363   fi
83364
83365
83366   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
83367 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
83368   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
83369     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
83370   echo $ECHO_N "(cached) $ECHO_C" >&6
83371 else
83372
83373
83374
83375       ac_ext=cc
83376 ac_cpp='$CXXCPP $CPPFLAGS'
83377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83380
83381       cat >conftest.$ac_ext <<_ACEOF
83382 /* confdefs.h.  */
83383 _ACEOF
83384 cat confdefs.h >>conftest.$ac_ext
83385 cat >>conftest.$ac_ext <<_ACEOF
83386 /* end confdefs.h.  */
83387 #include <math.h>
83388 int
83389 main ()
83390 {
83391  __builtin_cos(0);
83392   ;
83393   return 0;
83394 }
83395 _ACEOF
83396 rm -f conftest.$ac_objext
83397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83398   (eval $ac_compile) 2>conftest.er1
83399   ac_status=$?
83400   grep -v '^ *+' conftest.er1 >conftest.err
83401   rm -f conftest.er1
83402   cat conftest.err >&5
83403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83404   (exit $ac_status); } &&
83405          { ac_try='test -z "$ac_cxx_werror_flag"
83406                          || test ! -s conftest.err'
83407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83408   (eval $ac_try) 2>&5
83409   ac_status=$?
83410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83411   (exit $ac_status); }; } &&
83412          { ac_try='test -s conftest.$ac_objext'
83413   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83414   (eval $ac_try) 2>&5
83415   ac_status=$?
83416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83417   (exit $ac_status); }; }; then
83418   glibcxx_cv_func___builtin_cos_use=yes
83419 else
83420   echo "$as_me: failed program was:" >&5
83421 sed 's/^/| /' conftest.$ac_ext >&5
83422
83423 glibcxx_cv_func___builtin_cos_use=no
83424 fi
83425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83426       ac_ext=c
83427 ac_cpp='$CPP $CPPFLAGS'
83428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83431
83432
83433 fi
83434
83435   fi
83436   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
83437 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
83438   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
83439     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
83440 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
83441     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
83442       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
83443   echo $ECHO_N "(cached) $ECHO_C" >&6
83444 else
83445
83446         if test x$gcc_no_link = xyes; then
83447   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83449    { (exit 1); exit 1; }; }
83450 fi
83451 cat >conftest.$ac_ext <<_ACEOF
83452 /* confdefs.h.  */
83453 _ACEOF
83454 cat confdefs.h >>conftest.$ac_ext
83455 cat >>conftest.$ac_ext <<_ACEOF
83456 /* end confdefs.h.  */
83457 #include <math.h>
83458 int
83459 main ()
83460 {
83461  __builtin_cos(0);
83462   ;
83463   return 0;
83464 }
83465 _ACEOF
83466 rm -f conftest.$ac_objext conftest$ac_exeext
83467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83468   (eval $ac_link) 2>conftest.er1
83469   ac_status=$?
83470   grep -v '^ *+' conftest.er1 >conftest.err
83471   rm -f conftest.er1
83472   cat conftest.err >&5
83473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83474   (exit $ac_status); } &&
83475          { ac_try='test -z "$ac_c_werror_flag"
83476                          || test ! -s conftest.err'
83477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83478   (eval $ac_try) 2>&5
83479   ac_status=$?
83480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83481   (exit $ac_status); }; } &&
83482          { ac_try='test -s conftest$ac_exeext'
83483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83484   (eval $ac_try) 2>&5
83485   ac_status=$?
83486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83487   (exit $ac_status); }; }; then
83488   glibcxx_cv_func___builtin_cos_link=yes
83489 else
83490   echo "$as_me: failed program was:" >&5
83491 sed 's/^/| /' conftest.$ac_ext >&5
83492
83493 glibcxx_cv_func___builtin_cos_link=no
83494 fi
83495 rm -f conftest.err conftest.$ac_objext \
83496       conftest$ac_exeext conftest.$ac_ext
83497
83498 fi
83499
83500     fi
83501     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
83502 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
83503
83504     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
83505
83506 cat >>confdefs.h <<\_ACEOF
83507 #define HAVE___BUILTIN_COS 1
83508 _ACEOF
83509
83510     fi
83511
83512   fi
83513
83514
83515   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
83516 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
83517   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
83518     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
83519   echo $ECHO_N "(cached) $ECHO_C" >&6
83520 else
83521
83522
83523
83524       ac_ext=cc
83525 ac_cpp='$CXXCPP $CPPFLAGS'
83526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83529
83530       cat >conftest.$ac_ext <<_ACEOF
83531 /* confdefs.h.  */
83532 _ACEOF
83533 cat confdefs.h >>conftest.$ac_ext
83534 cat >>conftest.$ac_ext <<_ACEOF
83535 /* end confdefs.h.  */
83536 #include <math.h>
83537 int
83538 main ()
83539 {
83540  __builtin_cosl(0);
83541   ;
83542   return 0;
83543 }
83544 _ACEOF
83545 rm -f conftest.$ac_objext
83546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83547   (eval $ac_compile) 2>conftest.er1
83548   ac_status=$?
83549   grep -v '^ *+' conftest.er1 >conftest.err
83550   rm -f conftest.er1
83551   cat conftest.err >&5
83552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83553   (exit $ac_status); } &&
83554          { ac_try='test -z "$ac_cxx_werror_flag"
83555                          || test ! -s conftest.err'
83556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83557   (eval $ac_try) 2>&5
83558   ac_status=$?
83559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83560   (exit $ac_status); }; } &&
83561          { ac_try='test -s conftest.$ac_objext'
83562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83563   (eval $ac_try) 2>&5
83564   ac_status=$?
83565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83566   (exit $ac_status); }; }; then
83567   glibcxx_cv_func___builtin_cosl_use=yes
83568 else
83569   echo "$as_me: failed program was:" >&5
83570 sed 's/^/| /' conftest.$ac_ext >&5
83571
83572 glibcxx_cv_func___builtin_cosl_use=no
83573 fi
83574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83575       ac_ext=c
83576 ac_cpp='$CPP $CPPFLAGS'
83577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83580
83581
83582 fi
83583
83584   fi
83585   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
83586 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
83587   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
83588     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
83589 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
83590     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
83591       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
83592   echo $ECHO_N "(cached) $ECHO_C" >&6
83593 else
83594
83595         if test x$gcc_no_link = xyes; then
83596   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83598    { (exit 1); exit 1; }; }
83599 fi
83600 cat >conftest.$ac_ext <<_ACEOF
83601 /* confdefs.h.  */
83602 _ACEOF
83603 cat confdefs.h >>conftest.$ac_ext
83604 cat >>conftest.$ac_ext <<_ACEOF
83605 /* end confdefs.h.  */
83606 #include <math.h>
83607 int
83608 main ()
83609 {
83610  __builtin_cosl(0);
83611   ;
83612   return 0;
83613 }
83614 _ACEOF
83615 rm -f conftest.$ac_objext conftest$ac_exeext
83616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83617   (eval $ac_link) 2>conftest.er1
83618   ac_status=$?
83619   grep -v '^ *+' conftest.er1 >conftest.err
83620   rm -f conftest.er1
83621   cat conftest.err >&5
83622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83623   (exit $ac_status); } &&
83624          { ac_try='test -z "$ac_c_werror_flag"
83625                          || test ! -s conftest.err'
83626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83627   (eval $ac_try) 2>&5
83628   ac_status=$?
83629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83630   (exit $ac_status); }; } &&
83631          { ac_try='test -s conftest$ac_exeext'
83632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83633   (eval $ac_try) 2>&5
83634   ac_status=$?
83635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83636   (exit $ac_status); }; }; then
83637   glibcxx_cv_func___builtin_cosl_link=yes
83638 else
83639   echo "$as_me: failed program was:" >&5
83640 sed 's/^/| /' conftest.$ac_ext >&5
83641
83642 glibcxx_cv_func___builtin_cosl_link=no
83643 fi
83644 rm -f conftest.err conftest.$ac_objext \
83645       conftest$ac_exeext conftest.$ac_ext
83646
83647 fi
83648
83649     fi
83650     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
83651 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
83652
83653     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
83654
83655 cat >>confdefs.h <<\_ACEOF
83656 #define HAVE___BUILTIN_COSL 1
83657 _ACEOF
83658
83659     fi
83660
83661   fi
83662
83663
83664
83665
83666 echo "$as_me:$LINENO: checking for main in -lm" >&5
83667 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
83668 if test "${ac_cv_lib_m_main+set}" = set; then
83669   echo $ECHO_N "(cached) $ECHO_C" >&6
83670 else
83671   ac_check_lib_save_LIBS=$LIBS
83672 LIBS="-lm  $LIBS"
83673 if test x$gcc_no_link = xyes; then
83674   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83676    { (exit 1); exit 1; }; }
83677 fi
83678 cat >conftest.$ac_ext <<_ACEOF
83679 /* confdefs.h.  */
83680 _ACEOF
83681 cat confdefs.h >>conftest.$ac_ext
83682 cat >>conftest.$ac_ext <<_ACEOF
83683 /* end confdefs.h.  */
83684
83685
83686 int
83687 main ()
83688 {
83689 main ();
83690   ;
83691   return 0;
83692 }
83693 _ACEOF
83694 rm -f conftest.$ac_objext conftest$ac_exeext
83695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83696   (eval $ac_link) 2>conftest.er1
83697   ac_status=$?
83698   grep -v '^ *+' conftest.er1 >conftest.err
83699   rm -f conftest.er1
83700   cat conftest.err >&5
83701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83702   (exit $ac_status); } &&
83703          { ac_try='test -z "$ac_c_werror_flag"
83704                          || test ! -s conftest.err'
83705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83706   (eval $ac_try) 2>&5
83707   ac_status=$?
83708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83709   (exit $ac_status); }; } &&
83710          { ac_try='test -s conftest$ac_exeext'
83711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83712   (eval $ac_try) 2>&5
83713   ac_status=$?
83714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83715   (exit $ac_status); }; }; then
83716   ac_cv_lib_m_main=yes
83717 else
83718   echo "$as_me: failed program was:" >&5
83719 sed 's/^/| /' conftest.$ac_ext >&5
83720
83721 ac_cv_lib_m_main=no
83722 fi
83723 rm -f conftest.err conftest.$ac_objext \
83724       conftest$ac_exeext conftest.$ac_ext
83725 LIBS=$ac_check_lib_save_LIBS
83726 fi
83727 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83728 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83729 if test $ac_cv_lib_m_main = yes; then
83730   cat >>confdefs.h <<_ACEOF
83731 #define HAVE_LIBM 1
83732 _ACEOF
83733
83734   LIBS="-lm $LIBS"
83735
83736 fi
83737
83738
83739 for ac_func in copysignf
83740 do
83741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83742 echo "$as_me:$LINENO: checking for $ac_func" >&5
83743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83744 if eval "test \"\${$as_ac_var+set}\" = set"; then
83745   echo $ECHO_N "(cached) $ECHO_C" >&6
83746 else
83747   if test x$gcc_no_link = xyes; then
83748   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83750    { (exit 1); exit 1; }; }
83751 fi
83752 cat >conftest.$ac_ext <<_ACEOF
83753 /* confdefs.h.  */
83754 _ACEOF
83755 cat confdefs.h >>conftest.$ac_ext
83756 cat >>conftest.$ac_ext <<_ACEOF
83757 /* end confdefs.h.  */
83758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83759    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83760 #define $ac_func innocuous_$ac_func
83761
83762 /* System header to define __stub macros and hopefully few prototypes,
83763     which can conflict with char $ac_func (); below.
83764     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83765     <limits.h> exists even on freestanding compilers.  */
83766
83767 #ifdef __STDC__
83768 # include <limits.h>
83769 #else
83770 # include <assert.h>
83771 #endif
83772
83773 #undef $ac_func
83774
83775 /* Override any gcc2 internal prototype to avoid an error.  */
83776 #ifdef __cplusplus
83777 extern "C"
83778 {
83779 #endif
83780 /* We use char because int might match the return type of a gcc2
83781    builtin and then its argument prototype would still apply.  */
83782 char $ac_func ();
83783 /* The GNU C library defines this for functions which it implements
83784     to always fail with ENOSYS.  Some functions are actually named
83785     something starting with __ and the normal name is an alias.  */
83786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83787 choke me
83788 #else
83789 char (*f) () = $ac_func;
83790 #endif
83791 #ifdef __cplusplus
83792 }
83793 #endif
83794
83795 int
83796 main ()
83797 {
83798 return f != $ac_func;
83799   ;
83800   return 0;
83801 }
83802 _ACEOF
83803 rm -f conftest.$ac_objext conftest$ac_exeext
83804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83805   (eval $ac_link) 2>conftest.er1
83806   ac_status=$?
83807   grep -v '^ *+' conftest.er1 >conftest.err
83808   rm -f conftest.er1
83809   cat conftest.err >&5
83810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83811   (exit $ac_status); } &&
83812          { ac_try='test -z "$ac_c_werror_flag"
83813                          || test ! -s conftest.err'
83814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83815   (eval $ac_try) 2>&5
83816   ac_status=$?
83817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83818   (exit $ac_status); }; } &&
83819          { ac_try='test -s conftest$ac_exeext'
83820   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83821   (eval $ac_try) 2>&5
83822   ac_status=$?
83823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83824   (exit $ac_status); }; }; then
83825   eval "$as_ac_var=yes"
83826 else
83827   echo "$as_me: failed program was:" >&5
83828 sed 's/^/| /' conftest.$ac_ext >&5
83829
83830 eval "$as_ac_var=no"
83831 fi
83832 rm -f conftest.err conftest.$ac_objext \
83833       conftest$ac_exeext conftest.$ac_ext
83834 fi
83835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83837 if test `eval echo '${'$as_ac_var'}'` = yes; then
83838   cat >>confdefs.h <<_ACEOF
83839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83840 _ACEOF
83841
83842 else
83843   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83844 fi
83845 done
83846
83847
83848
83849 for ac_func in __signbit
83850 do
83851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83852 echo "$as_me:$LINENO: checking for $ac_func" >&5
83853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83854 if eval "test \"\${$as_ac_var+set}\" = set"; then
83855   echo $ECHO_N "(cached) $ECHO_C" >&6
83856 else
83857   if test x$gcc_no_link = xyes; then
83858   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83860    { (exit 1); exit 1; }; }
83861 fi
83862 cat >conftest.$ac_ext <<_ACEOF
83863 /* confdefs.h.  */
83864 _ACEOF
83865 cat confdefs.h >>conftest.$ac_ext
83866 cat >>conftest.$ac_ext <<_ACEOF
83867 /* end confdefs.h.  */
83868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83869    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83870 #define $ac_func innocuous_$ac_func
83871
83872 /* System header to define __stub macros and hopefully few prototypes,
83873     which can conflict with char $ac_func (); below.
83874     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83875     <limits.h> exists even on freestanding compilers.  */
83876
83877 #ifdef __STDC__
83878 # include <limits.h>
83879 #else
83880 # include <assert.h>
83881 #endif
83882
83883 #undef $ac_func
83884
83885 /* Override any gcc2 internal prototype to avoid an error.  */
83886 #ifdef __cplusplus
83887 extern "C"
83888 {
83889 #endif
83890 /* We use char because int might match the return type of a gcc2
83891    builtin and then its argument prototype would still apply.  */
83892 char $ac_func ();
83893 /* The GNU C library defines this for functions which it implements
83894     to always fail with ENOSYS.  Some functions are actually named
83895     something starting with __ and the normal name is an alias.  */
83896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83897 choke me
83898 #else
83899 char (*f) () = $ac_func;
83900 #endif
83901 #ifdef __cplusplus
83902 }
83903 #endif
83904
83905 int
83906 main ()
83907 {
83908 return f != $ac_func;
83909   ;
83910   return 0;
83911 }
83912 _ACEOF
83913 rm -f conftest.$ac_objext conftest$ac_exeext
83914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83915   (eval $ac_link) 2>conftest.er1
83916   ac_status=$?
83917   grep -v '^ *+' conftest.er1 >conftest.err
83918   rm -f conftest.er1
83919   cat conftest.err >&5
83920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83921   (exit $ac_status); } &&
83922          { ac_try='test -z "$ac_c_werror_flag"
83923                          || test ! -s conftest.err'
83924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83925   (eval $ac_try) 2>&5
83926   ac_status=$?
83927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83928   (exit $ac_status); }; } &&
83929          { ac_try='test -s conftest$ac_exeext'
83930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83931   (eval $ac_try) 2>&5
83932   ac_status=$?
83933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83934   (exit $ac_status); }; }; then
83935   eval "$as_ac_var=yes"
83936 else
83937   echo "$as_me: failed program was:" >&5
83938 sed 's/^/| /' conftest.$ac_ext >&5
83939
83940 eval "$as_ac_var=no"
83941 fi
83942 rm -f conftest.err conftest.$ac_objext \
83943       conftest$ac_exeext conftest.$ac_ext
83944 fi
83945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83947 if test `eval echo '${'$as_ac_var'}'` = yes; then
83948   cat >>confdefs.h <<_ACEOF
83949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83950 _ACEOF
83951
83952 else
83953   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83954 fi
83955 done
83956
83957
83958
83959 for ac_func in __signbitf
83960 do
83961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83962 echo "$as_me:$LINENO: checking for $ac_func" >&5
83963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83964 if eval "test \"\${$as_ac_var+set}\" = set"; then
83965   echo $ECHO_N "(cached) $ECHO_C" >&6
83966 else
83967   if test x$gcc_no_link = xyes; then
83968   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83970    { (exit 1); exit 1; }; }
83971 fi
83972 cat >conftest.$ac_ext <<_ACEOF
83973 /* confdefs.h.  */
83974 _ACEOF
83975 cat confdefs.h >>conftest.$ac_ext
83976 cat >>conftest.$ac_ext <<_ACEOF
83977 /* end confdefs.h.  */
83978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83979    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83980 #define $ac_func innocuous_$ac_func
83981
83982 /* System header to define __stub macros and hopefully few prototypes,
83983     which can conflict with char $ac_func (); below.
83984     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83985     <limits.h> exists even on freestanding compilers.  */
83986
83987 #ifdef __STDC__
83988 # include <limits.h>
83989 #else
83990 # include <assert.h>
83991 #endif
83992
83993 #undef $ac_func
83994
83995 /* Override any gcc2 internal prototype to avoid an error.  */
83996 #ifdef __cplusplus
83997 extern "C"
83998 {
83999 #endif
84000 /* We use char because int might match the return type of a gcc2
84001    builtin and then its argument prototype would still apply.  */
84002 char $ac_func ();
84003 /* The GNU C library defines this for functions which it implements
84004     to always fail with ENOSYS.  Some functions are actually named
84005     something starting with __ and the normal name is an alias.  */
84006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84007 choke me
84008 #else
84009 char (*f) () = $ac_func;
84010 #endif
84011 #ifdef __cplusplus
84012 }
84013 #endif
84014
84015 int
84016 main ()
84017 {
84018 return f != $ac_func;
84019   ;
84020   return 0;
84021 }
84022 _ACEOF
84023 rm -f conftest.$ac_objext conftest$ac_exeext
84024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84025   (eval $ac_link) 2>conftest.er1
84026   ac_status=$?
84027   grep -v '^ *+' conftest.er1 >conftest.err
84028   rm -f conftest.er1
84029   cat conftest.err >&5
84030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84031   (exit $ac_status); } &&
84032          { ac_try='test -z "$ac_c_werror_flag"
84033                          || test ! -s conftest.err'
84034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84035   (eval $ac_try) 2>&5
84036   ac_status=$?
84037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84038   (exit $ac_status); }; } &&
84039          { ac_try='test -s conftest$ac_exeext'
84040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84041   (eval $ac_try) 2>&5
84042   ac_status=$?
84043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84044   (exit $ac_status); }; }; then
84045   eval "$as_ac_var=yes"
84046 else
84047   echo "$as_me: failed program was:" >&5
84048 sed 's/^/| /' conftest.$ac_ext >&5
84049
84050 eval "$as_ac_var=no"
84051 fi
84052 rm -f conftest.err conftest.$ac_objext \
84053       conftest$ac_exeext conftest.$ac_ext
84054 fi
84055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84057 if test `eval echo '${'$as_ac_var'}'` = yes; then
84058   cat >>confdefs.h <<_ACEOF
84059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84060 _ACEOF
84061
84062 else
84063   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84064 fi
84065 done
84066
84067
84068           if test x$ac_cv_func_copysignl = x"yes"; then
84069
84070 for ac_func in __signbitl
84071 do
84072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84073 echo "$as_me:$LINENO: checking for $ac_func" >&5
84074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84075 if eval "test \"\${$as_ac_var+set}\" = set"; then
84076   echo $ECHO_N "(cached) $ECHO_C" >&6
84077 else
84078   if test x$gcc_no_link = xyes; then
84079   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84081    { (exit 1); exit 1; }; }
84082 fi
84083 cat >conftest.$ac_ext <<_ACEOF
84084 /* confdefs.h.  */
84085 _ACEOF
84086 cat confdefs.h >>conftest.$ac_ext
84087 cat >>conftest.$ac_ext <<_ACEOF
84088 /* end confdefs.h.  */
84089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84090    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84091 #define $ac_func innocuous_$ac_func
84092
84093 /* System header to define __stub macros and hopefully few prototypes,
84094     which can conflict with char $ac_func (); below.
84095     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84096     <limits.h> exists even on freestanding compilers.  */
84097
84098 #ifdef __STDC__
84099 # include <limits.h>
84100 #else
84101 # include <assert.h>
84102 #endif
84103
84104 #undef $ac_func
84105
84106 /* Override any gcc2 internal prototype to avoid an error.  */
84107 #ifdef __cplusplus
84108 extern "C"
84109 {
84110 #endif
84111 /* We use char because int might match the return type of a gcc2
84112    builtin and then its argument prototype would still apply.  */
84113 char $ac_func ();
84114 /* The GNU C library defines this for functions which it implements
84115     to always fail with ENOSYS.  Some functions are actually named
84116     something starting with __ and the normal name is an alias.  */
84117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84118 choke me
84119 #else
84120 char (*f) () = $ac_func;
84121 #endif
84122 #ifdef __cplusplus
84123 }
84124 #endif
84125
84126 int
84127 main ()
84128 {
84129 return f != $ac_func;
84130   ;
84131   return 0;
84132 }
84133 _ACEOF
84134 rm -f conftest.$ac_objext conftest$ac_exeext
84135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84136   (eval $ac_link) 2>conftest.er1
84137   ac_status=$?
84138   grep -v '^ *+' conftest.er1 >conftest.err
84139   rm -f conftest.er1
84140   cat conftest.err >&5
84141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84142   (exit $ac_status); } &&
84143          { ac_try='test -z "$ac_c_werror_flag"
84144                          || test ! -s conftest.err'
84145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84146   (eval $ac_try) 2>&5
84147   ac_status=$?
84148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84149   (exit $ac_status); }; } &&
84150          { ac_try='test -s conftest$ac_exeext'
84151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84152   (eval $ac_try) 2>&5
84153   ac_status=$?
84154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84155   (exit $ac_status); }; }; then
84156   eval "$as_ac_var=yes"
84157 else
84158   echo "$as_me: failed program was:" >&5
84159 sed 's/^/| /' conftest.$ac_ext >&5
84160
84161 eval "$as_ac_var=no"
84162 fi
84163 rm -f conftest.err conftest.$ac_objext \
84164       conftest$ac_exeext conftest.$ac_ext
84165 fi
84166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84168 if test `eval echo '${'$as_ac_var'}'` = yes; then
84169   cat >>confdefs.h <<_ACEOF
84170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84171 _ACEOF
84172
84173 else
84174   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
84175 fi
84176 done
84177
84178   fi
84179
84180   # Used in libmath/Makefile.am.
84181   if test -n "$LIBMATHOBJS"; then
84182     need_libmath=yes
84183   fi
84184
84185
84186
84187   ac_test_CXXFLAGS="${CXXFLAGS+set}"
84188   ac_save_CXXFLAGS="$CXXFLAGS"
84189   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
84190
84191
84192   echo "$as_me:$LINENO: checking for strtold declaration" >&5
84193 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
84194   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
84195     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
84196   echo $ECHO_N "(cached) $ECHO_C" >&6
84197 else
84198
84199
84200
84201       ac_ext=cc
84202 ac_cpp='$CXXCPP $CPPFLAGS'
84203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84206
84207       cat >conftest.$ac_ext <<_ACEOF
84208 /* confdefs.h.  */
84209 _ACEOF
84210 cat confdefs.h >>conftest.$ac_ext
84211 cat >>conftest.$ac_ext <<_ACEOF
84212 /* end confdefs.h.  */
84213 #include <stdlib.h>
84214 int
84215 main ()
84216 {
84217  strtold(0, 0);
84218   ;
84219   return 0;
84220 }
84221 _ACEOF
84222 rm -f conftest.$ac_objext
84223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84224   (eval $ac_compile) 2>conftest.er1
84225   ac_status=$?
84226   grep -v '^ *+' conftest.er1 >conftest.err
84227   rm -f conftest.er1
84228   cat conftest.err >&5
84229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84230   (exit $ac_status); } &&
84231          { ac_try='test -z "$ac_cxx_werror_flag"
84232                          || test ! -s conftest.err'
84233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84234   (eval $ac_try) 2>&5
84235   ac_status=$?
84236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84237   (exit $ac_status); }; } &&
84238          { ac_try='test -s conftest.$ac_objext'
84239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84240   (eval $ac_try) 2>&5
84241   ac_status=$?
84242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84243   (exit $ac_status); }; }; then
84244   glibcxx_cv_func_strtold_use=yes
84245 else
84246   echo "$as_me: failed program was:" >&5
84247 sed 's/^/| /' conftest.$ac_ext >&5
84248
84249 glibcxx_cv_func_strtold_use=no
84250 fi
84251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84252       ac_ext=c
84253 ac_cpp='$CPP $CPPFLAGS'
84254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84257
84258
84259 fi
84260
84261   fi
84262   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
84263 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
84264   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
84265
84266 for ac_func in strtold
84267 do
84268 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84269 echo "$as_me:$LINENO: checking for $ac_func" >&5
84270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84271 if eval "test \"\${$as_ac_var+set}\" = set"; then
84272   echo $ECHO_N "(cached) $ECHO_C" >&6
84273 else
84274   if test x$gcc_no_link = xyes; then
84275   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84276 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84277    { (exit 1); exit 1; }; }
84278 fi
84279 cat >conftest.$ac_ext <<_ACEOF
84280 /* confdefs.h.  */
84281 _ACEOF
84282 cat confdefs.h >>conftest.$ac_ext
84283 cat >>conftest.$ac_ext <<_ACEOF
84284 /* end confdefs.h.  */
84285 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84286    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84287 #define $ac_func innocuous_$ac_func
84288
84289 /* System header to define __stub macros and hopefully few prototypes,
84290     which can conflict with char $ac_func (); below.
84291     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84292     <limits.h> exists even on freestanding compilers.  */
84293
84294 #ifdef __STDC__
84295 # include <limits.h>
84296 #else
84297 # include <assert.h>
84298 #endif
84299
84300 #undef $ac_func
84301
84302 /* Override any gcc2 internal prototype to avoid an error.  */
84303 #ifdef __cplusplus
84304 extern "C"
84305 {
84306 #endif
84307 /* We use char because int might match the return type of a gcc2
84308    builtin and then its argument prototype would still apply.  */
84309 char $ac_func ();
84310 /* The GNU C library defines this for functions which it implements
84311     to always fail with ENOSYS.  Some functions are actually named
84312     something starting with __ and the normal name is an alias.  */
84313 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84314 choke me
84315 #else
84316 char (*f) () = $ac_func;
84317 #endif
84318 #ifdef __cplusplus
84319 }
84320 #endif
84321
84322 int
84323 main ()
84324 {
84325 return f != $ac_func;
84326   ;
84327   return 0;
84328 }
84329 _ACEOF
84330 rm -f conftest.$ac_objext conftest$ac_exeext
84331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84332   (eval $ac_link) 2>conftest.er1
84333   ac_status=$?
84334   grep -v '^ *+' conftest.er1 >conftest.err
84335   rm -f conftest.er1
84336   cat conftest.err >&5
84337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84338   (exit $ac_status); } &&
84339          { ac_try='test -z "$ac_c_werror_flag"
84340                          || test ! -s conftest.err'
84341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84342   (eval $ac_try) 2>&5
84343   ac_status=$?
84344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84345   (exit $ac_status); }; } &&
84346          { ac_try='test -s conftest$ac_exeext'
84347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84348   (eval $ac_try) 2>&5
84349   ac_status=$?
84350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84351   (exit $ac_status); }; }; then
84352   eval "$as_ac_var=yes"
84353 else
84354   echo "$as_me: failed program was:" >&5
84355 sed 's/^/| /' conftest.$ac_ext >&5
84356
84357 eval "$as_ac_var=no"
84358 fi
84359 rm -f conftest.err conftest.$ac_objext \
84360       conftest$ac_exeext conftest.$ac_ext
84361 fi
84362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84364 if test `eval echo '${'$as_ac_var'}'` = yes; then
84365   cat >>confdefs.h <<_ACEOF
84366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84367 _ACEOF
84368
84369 fi
84370 done
84371
84372   fi
84373
84374
84375
84376
84377
84378   echo "$as_me:$LINENO: checking for strtof declaration" >&5
84379 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
84380   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
84381     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
84382   echo $ECHO_N "(cached) $ECHO_C" >&6
84383 else
84384
84385
84386
84387       ac_ext=cc
84388 ac_cpp='$CXXCPP $CPPFLAGS'
84389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84392
84393       cat >conftest.$ac_ext <<_ACEOF
84394 /* confdefs.h.  */
84395 _ACEOF
84396 cat confdefs.h >>conftest.$ac_ext
84397 cat >>conftest.$ac_ext <<_ACEOF
84398 /* end confdefs.h.  */
84399 #include <stdlib.h>
84400 int
84401 main ()
84402 {
84403  strtof(0, 0);
84404   ;
84405   return 0;
84406 }
84407 _ACEOF
84408 rm -f conftest.$ac_objext
84409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84410   (eval $ac_compile) 2>conftest.er1
84411   ac_status=$?
84412   grep -v '^ *+' conftest.er1 >conftest.err
84413   rm -f conftest.er1
84414   cat conftest.err >&5
84415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84416   (exit $ac_status); } &&
84417          { ac_try='test -z "$ac_cxx_werror_flag"
84418                          || test ! -s conftest.err'
84419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84420   (eval $ac_try) 2>&5
84421   ac_status=$?
84422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84423   (exit $ac_status); }; } &&
84424          { ac_try='test -s conftest.$ac_objext'
84425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84426   (eval $ac_try) 2>&5
84427   ac_status=$?
84428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84429   (exit $ac_status); }; }; then
84430   glibcxx_cv_func_strtof_use=yes
84431 else
84432   echo "$as_me: failed program was:" >&5
84433 sed 's/^/| /' conftest.$ac_ext >&5
84434
84435 glibcxx_cv_func_strtof_use=no
84436 fi
84437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84438       ac_ext=c
84439 ac_cpp='$CPP $CPPFLAGS'
84440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84443
84444
84445 fi
84446
84447   fi
84448   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
84449 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
84450   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
84451
84452 for ac_func in strtof
84453 do
84454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84455 echo "$as_me:$LINENO: checking for $ac_func" >&5
84456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84457 if eval "test \"\${$as_ac_var+set}\" = set"; then
84458   echo $ECHO_N "(cached) $ECHO_C" >&6
84459 else
84460   if test x$gcc_no_link = xyes; then
84461   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84463    { (exit 1); exit 1; }; }
84464 fi
84465 cat >conftest.$ac_ext <<_ACEOF
84466 /* confdefs.h.  */
84467 _ACEOF
84468 cat confdefs.h >>conftest.$ac_ext
84469 cat >>conftest.$ac_ext <<_ACEOF
84470 /* end confdefs.h.  */
84471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84472    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84473 #define $ac_func innocuous_$ac_func
84474
84475 /* System header to define __stub macros and hopefully few prototypes,
84476     which can conflict with char $ac_func (); below.
84477     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84478     <limits.h> exists even on freestanding compilers.  */
84479
84480 #ifdef __STDC__
84481 # include <limits.h>
84482 #else
84483 # include <assert.h>
84484 #endif
84485
84486 #undef $ac_func
84487
84488 /* Override any gcc2 internal prototype to avoid an error.  */
84489 #ifdef __cplusplus
84490 extern "C"
84491 {
84492 #endif
84493 /* We use char because int might match the return type of a gcc2
84494    builtin and then its argument prototype would still apply.  */
84495 char $ac_func ();
84496 /* The GNU C library defines this for functions which it implements
84497     to always fail with ENOSYS.  Some functions are actually named
84498     something starting with __ and the normal name is an alias.  */
84499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84500 choke me
84501 #else
84502 char (*f) () = $ac_func;
84503 #endif
84504 #ifdef __cplusplus
84505 }
84506 #endif
84507
84508 int
84509 main ()
84510 {
84511 return f != $ac_func;
84512   ;
84513   return 0;
84514 }
84515 _ACEOF
84516 rm -f conftest.$ac_objext conftest$ac_exeext
84517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84518   (eval $ac_link) 2>conftest.er1
84519   ac_status=$?
84520   grep -v '^ *+' conftest.er1 >conftest.err
84521   rm -f conftest.er1
84522   cat conftest.err >&5
84523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84524   (exit $ac_status); } &&
84525          { ac_try='test -z "$ac_c_werror_flag"
84526                          || test ! -s conftest.err'
84527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84528   (eval $ac_try) 2>&5
84529   ac_status=$?
84530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84531   (exit $ac_status); }; } &&
84532          { ac_try='test -s conftest$ac_exeext'
84533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84534   (eval $ac_try) 2>&5
84535   ac_status=$?
84536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84537   (exit $ac_status); }; }; then
84538   eval "$as_ac_var=yes"
84539 else
84540   echo "$as_me: failed program was:" >&5
84541 sed 's/^/| /' conftest.$ac_ext >&5
84542
84543 eval "$as_ac_var=no"
84544 fi
84545 rm -f conftest.err conftest.$ac_objext \
84546       conftest$ac_exeext conftest.$ac_ext
84547 fi
84548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84550 if test `eval echo '${'$as_ac_var'}'` = yes; then
84551   cat >>confdefs.h <<_ACEOF
84552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84553 _ACEOF
84554
84555 fi
84556 done
84557
84558   fi
84559
84560
84561
84562
84563
84564   CXXFLAGS="$ac_save_CXXFLAGS"
84565
84566
84567     # For showmanyc_helper().
84568
84569
84570 for ac_header in sys/ioctl.h sys/filio.h
84571 do
84572 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84574   echo "$as_me:$LINENO: checking for $ac_header" >&5
84575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84577   echo $ECHO_N "(cached) $ECHO_C" >&6
84578 fi
84579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84580 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84581 else
84582   # Is the header compilable?
84583 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84584 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84585 cat >conftest.$ac_ext <<_ACEOF
84586 /* confdefs.h.  */
84587 _ACEOF
84588 cat confdefs.h >>conftest.$ac_ext
84589 cat >>conftest.$ac_ext <<_ACEOF
84590 /* end confdefs.h.  */
84591 $ac_includes_default
84592 #include <$ac_header>
84593 _ACEOF
84594 rm -f conftest.$ac_objext
84595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84596   (eval $ac_compile) 2>conftest.er1
84597   ac_status=$?
84598   grep -v '^ *+' conftest.er1 >conftest.err
84599   rm -f conftest.er1
84600   cat conftest.err >&5
84601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84602   (exit $ac_status); } &&
84603          { ac_try='test -z "$ac_c_werror_flag"
84604                          || test ! -s conftest.err'
84605   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84606   (eval $ac_try) 2>&5
84607   ac_status=$?
84608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84609   (exit $ac_status); }; } &&
84610          { ac_try='test -s conftest.$ac_objext'
84611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84612   (eval $ac_try) 2>&5
84613   ac_status=$?
84614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84615   (exit $ac_status); }; }; then
84616   ac_header_compiler=yes
84617 else
84618   echo "$as_me: failed program was:" >&5
84619 sed 's/^/| /' conftest.$ac_ext >&5
84620
84621 ac_header_compiler=no
84622 fi
84623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84624 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84625 echo "${ECHO_T}$ac_header_compiler" >&6
84626
84627 # Is the header present?
84628 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84629 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84630 cat >conftest.$ac_ext <<_ACEOF
84631 /* confdefs.h.  */
84632 _ACEOF
84633 cat confdefs.h >>conftest.$ac_ext
84634 cat >>conftest.$ac_ext <<_ACEOF
84635 /* end confdefs.h.  */
84636 #include <$ac_header>
84637 _ACEOF
84638 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84639   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84640   ac_status=$?
84641   grep -v '^ *+' conftest.er1 >conftest.err
84642   rm -f conftest.er1
84643   cat conftest.err >&5
84644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84645   (exit $ac_status); } >/dev/null; then
84646   if test -s conftest.err; then
84647     ac_cpp_err=$ac_c_preproc_warn_flag
84648     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84649   else
84650     ac_cpp_err=
84651   fi
84652 else
84653   ac_cpp_err=yes
84654 fi
84655 if test -z "$ac_cpp_err"; then
84656   ac_header_preproc=yes
84657 else
84658   echo "$as_me: failed program was:" >&5
84659 sed 's/^/| /' conftest.$ac_ext >&5
84660
84661   ac_header_preproc=no
84662 fi
84663 rm -f conftest.err conftest.$ac_ext
84664 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84665 echo "${ECHO_T}$ac_header_preproc" >&6
84666
84667 # So?  What about this header?
84668 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84669   yes:no: )
84670     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84671 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84672     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84673 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84674     ac_header_preproc=yes
84675     ;;
84676   no:yes:* )
84677     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84678 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84679     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
84680 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
84681     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84682 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84683     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
84684 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
84685     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84686 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84687     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84688 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84689     (
84690       cat <<\_ASBOX
84691 ## ----------------------------------------- ##
84692 ## Report this to the package-unused lists.  ##
84693 ## ----------------------------------------- ##
84694 _ASBOX
84695     ) |
84696       sed "s/^/$as_me: WARNING:     /" >&2
84697     ;;
84698 esac
84699 echo "$as_me:$LINENO: checking for $ac_header" >&5
84700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84702   echo $ECHO_N "(cached) $ECHO_C" >&6
84703 else
84704   eval "$as_ac_Header=\$ac_header_preproc"
84705 fi
84706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84707 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84708
84709 fi
84710 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84711   cat >>confdefs.h <<_ACEOF
84712 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84713 _ACEOF
84714
84715 fi
84716
84717 done
84718
84719
84720   echo "$as_me:$LINENO: checking for poll" >&5
84721 echo $ECHO_N "checking for poll... $ECHO_C" >&6
84722   if test "${glibcxx_cv_POLL+set}" = set; then
84723   echo $ECHO_N "(cached) $ECHO_C" >&6
84724 else
84725
84726     if test x$gcc_no_link = xyes; then
84727   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84729    { (exit 1); exit 1; }; }
84730 fi
84731 cat >conftest.$ac_ext <<_ACEOF
84732 /* confdefs.h.  */
84733 _ACEOF
84734 cat confdefs.h >>conftest.$ac_ext
84735 cat >>conftest.$ac_ext <<_ACEOF
84736 /* end confdefs.h.  */
84737 #include <poll.h>
84738 int
84739 main ()
84740 {
84741 struct pollfd pfd[1];
84742        pfd[0].events = POLLIN;
84743        poll(pfd, 1, 0);
84744   ;
84745   return 0;
84746 }
84747 _ACEOF
84748 rm -f conftest.$ac_objext conftest$ac_exeext
84749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84750   (eval $ac_link) 2>conftest.er1
84751   ac_status=$?
84752   grep -v '^ *+' conftest.er1 >conftest.err
84753   rm -f conftest.er1
84754   cat conftest.err >&5
84755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84756   (exit $ac_status); } &&
84757          { ac_try='test -z "$ac_c_werror_flag"
84758                          || test ! -s conftest.err'
84759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84760   (eval $ac_try) 2>&5
84761   ac_status=$?
84762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84763   (exit $ac_status); }; } &&
84764          { ac_try='test -s conftest$ac_exeext'
84765   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84766   (eval $ac_try) 2>&5
84767   ac_status=$?
84768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84769   (exit $ac_status); }; }; then
84770   glibcxx_cv_POLL=yes
84771 else
84772   echo "$as_me: failed program was:" >&5
84773 sed 's/^/| /' conftest.$ac_ext >&5
84774
84775 glibcxx_cv_POLL=no
84776 fi
84777 rm -f conftest.err conftest.$ac_objext \
84778       conftest$ac_exeext conftest.$ac_ext
84779
84780 fi
84781
84782   if test $glibcxx_cv_POLL = yes; then
84783
84784 cat >>confdefs.h <<\_ACEOF
84785 #define HAVE_POLL 1
84786 _ACEOF
84787
84788   fi
84789   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
84790 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
84791
84792
84793   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
84794 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
84795   if test "${glibcxx_cv_S_ISREG+set}" = set; then
84796   echo $ECHO_N "(cached) $ECHO_C" >&6
84797 else
84798
84799     if test x$gcc_no_link = xyes; then
84800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84802    { (exit 1); exit 1; }; }
84803 fi
84804 cat >conftest.$ac_ext <<_ACEOF
84805 /* confdefs.h.  */
84806 _ACEOF
84807 cat confdefs.h >>conftest.$ac_ext
84808 cat >>conftest.$ac_ext <<_ACEOF
84809 /* end confdefs.h.  */
84810 #include <sys/stat.h>
84811 int
84812 main ()
84813 {
84814 struct stat buffer;
84815        fstat(0, &buffer);
84816        S_ISREG(buffer.st_mode);
84817   ;
84818   return 0;
84819 }
84820 _ACEOF
84821 rm -f conftest.$ac_objext conftest$ac_exeext
84822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84823   (eval $ac_link) 2>conftest.er1
84824   ac_status=$?
84825   grep -v '^ *+' conftest.er1 >conftest.err
84826   rm -f conftest.er1
84827   cat conftest.err >&5
84828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84829   (exit $ac_status); } &&
84830          { ac_try='test -z "$ac_c_werror_flag"
84831                          || test ! -s conftest.err'
84832   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84833   (eval $ac_try) 2>&5
84834   ac_status=$?
84835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84836   (exit $ac_status); }; } &&
84837          { ac_try='test -s conftest$ac_exeext'
84838   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84839   (eval $ac_try) 2>&5
84840   ac_status=$?
84841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84842   (exit $ac_status); }; }; then
84843   glibcxx_cv_S_ISREG=yes
84844 else
84845   echo "$as_me: failed program was:" >&5
84846 sed 's/^/| /' conftest.$ac_ext >&5
84847
84848 glibcxx_cv_S_ISREG=no
84849 fi
84850 rm -f conftest.err conftest.$ac_objext \
84851       conftest$ac_exeext conftest.$ac_ext
84852
84853 fi
84854
84855   if test "${glibcxx_cv_S_IFREG+set}" = set; then
84856   echo $ECHO_N "(cached) $ECHO_C" >&6
84857 else
84858
84859     if test x$gcc_no_link = xyes; then
84860   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84862    { (exit 1); exit 1; }; }
84863 fi
84864 cat >conftest.$ac_ext <<_ACEOF
84865 /* confdefs.h.  */
84866 _ACEOF
84867 cat confdefs.h >>conftest.$ac_ext
84868 cat >>conftest.$ac_ext <<_ACEOF
84869 /* end confdefs.h.  */
84870 #include <sys/stat.h>
84871 int
84872 main ()
84873 {
84874 struct stat buffer;
84875        fstat(0, &buffer);
84876        S_IFREG & buffer.st_mode;
84877   ;
84878   return 0;
84879 }
84880 _ACEOF
84881 rm -f conftest.$ac_objext conftest$ac_exeext
84882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84883   (eval $ac_link) 2>conftest.er1
84884   ac_status=$?
84885   grep -v '^ *+' conftest.er1 >conftest.err
84886   rm -f conftest.er1
84887   cat conftest.err >&5
84888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84889   (exit $ac_status); } &&
84890          { ac_try='test -z "$ac_c_werror_flag"
84891                          || test ! -s conftest.err'
84892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84893   (eval $ac_try) 2>&5
84894   ac_status=$?
84895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84896   (exit $ac_status); }; } &&
84897          { ac_try='test -s conftest$ac_exeext'
84898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84899   (eval $ac_try) 2>&5
84900   ac_status=$?
84901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84902   (exit $ac_status); }; }; then
84903   glibcxx_cv_S_IFREG=yes
84904 else
84905   echo "$as_me: failed program was:" >&5
84906 sed 's/^/| /' conftest.$ac_ext >&5
84907
84908 glibcxx_cv_S_IFREG=no
84909 fi
84910 rm -f conftest.err conftest.$ac_objext \
84911       conftest$ac_exeext conftest.$ac_ext
84912
84913 fi
84914
84915   res=no
84916   if test $glibcxx_cv_S_ISREG = yes; then
84917
84918 cat >>confdefs.h <<\_ACEOF
84919 #define HAVE_S_ISREG 1
84920 _ACEOF
84921
84922     res=S_ISREG
84923   elif test $glibcxx_cv_S_IFREG = yes; then
84924
84925 cat >>confdefs.h <<\_ACEOF
84926 #define HAVE_S_IFREG 1
84927 _ACEOF
84928
84929     res=S_IFREG
84930   fi
84931   echo "$as_me:$LINENO: result: $res" >&5
84932 echo "${ECHO_T}$res" >&6
84933
84934
84935     # For xsputn_2().
84936
84937 for ac_header in sys/uio.h
84938 do
84939 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84940 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84941   echo "$as_me:$LINENO: checking for $ac_header" >&5
84942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84944   echo $ECHO_N "(cached) $ECHO_C" >&6
84945 fi
84946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84947 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84948 else
84949   # Is the header compilable?
84950 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84951 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84952 cat >conftest.$ac_ext <<_ACEOF
84953 /* confdefs.h.  */
84954 _ACEOF
84955 cat confdefs.h >>conftest.$ac_ext
84956 cat >>conftest.$ac_ext <<_ACEOF
84957 /* end confdefs.h.  */
84958 $ac_includes_default
84959 #include <$ac_header>
84960 _ACEOF
84961 rm -f conftest.$ac_objext
84962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84963   (eval $ac_compile) 2>conftest.er1
84964   ac_status=$?
84965   grep -v '^ *+' conftest.er1 >conftest.err
84966   rm -f conftest.er1
84967   cat conftest.err >&5
84968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84969   (exit $ac_status); } &&
84970          { ac_try='test -z "$ac_c_werror_flag"
84971                          || test ! -s conftest.err'
84972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84973   (eval $ac_try) 2>&5
84974   ac_status=$?
84975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84976   (exit $ac_status); }; } &&
84977          { ac_try='test -s conftest.$ac_objext'
84978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84979   (eval $ac_try) 2>&5
84980   ac_status=$?
84981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84982   (exit $ac_status); }; }; then
84983   ac_header_compiler=yes
84984 else
84985   echo "$as_me: failed program was:" >&5
84986 sed 's/^/| /' conftest.$ac_ext >&5
84987
84988 ac_header_compiler=no
84989 fi
84990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84991 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84992 echo "${ECHO_T}$ac_header_compiler" >&6
84993
84994 # Is the header present?
84995 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84996 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84997 cat >conftest.$ac_ext <<_ACEOF
84998 /* confdefs.h.  */
84999 _ACEOF
85000 cat confdefs.h >>conftest.$ac_ext
85001 cat >>conftest.$ac_ext <<_ACEOF
85002 /* end confdefs.h.  */
85003 #include <$ac_header>
85004 _ACEOF
85005 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85006   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85007   ac_status=$?
85008   grep -v '^ *+' conftest.er1 >conftest.err
85009   rm -f conftest.er1
85010   cat conftest.err >&5
85011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85012   (exit $ac_status); } >/dev/null; then
85013   if test -s conftest.err; then
85014     ac_cpp_err=$ac_c_preproc_warn_flag
85015     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85016   else
85017     ac_cpp_err=
85018   fi
85019 else
85020   ac_cpp_err=yes
85021 fi
85022 if test -z "$ac_cpp_err"; then
85023   ac_header_preproc=yes
85024 else
85025   echo "$as_me: failed program was:" >&5
85026 sed 's/^/| /' conftest.$ac_ext >&5
85027
85028   ac_header_preproc=no
85029 fi
85030 rm -f conftest.err conftest.$ac_ext
85031 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85032 echo "${ECHO_T}$ac_header_preproc" >&6
85033
85034 # So?  What about this header?
85035 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85036   yes:no: )
85037     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85038 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85039     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85040 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85041     ac_header_preproc=yes
85042     ;;
85043   no:yes:* )
85044     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85045 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85046     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85047 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85048     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85049 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85050     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85051 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85052     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85053 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85054     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85055 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85056     (
85057       cat <<\_ASBOX
85058 ## ----------------------------------------- ##
85059 ## Report this to the package-unused lists.  ##
85060 ## ----------------------------------------- ##
85061 _ASBOX
85062     ) |
85063       sed "s/^/$as_me: WARNING:     /" >&2
85064     ;;
85065 esac
85066 echo "$as_me:$LINENO: checking for $ac_header" >&5
85067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85069   echo $ECHO_N "(cached) $ECHO_C" >&6
85070 else
85071   eval "$as_ac_Header=\$ac_header_preproc"
85072 fi
85073 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85074 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85075
85076 fi
85077 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85078   cat >>confdefs.h <<_ACEOF
85079 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85080 _ACEOF
85081
85082 fi
85083
85084 done
85085
85086
85087   echo "$as_me:$LINENO: checking for writev" >&5
85088 echo $ECHO_N "checking for writev... $ECHO_C" >&6
85089   if test "${glibcxx_cv_WRITEV+set}" = set; then
85090   echo $ECHO_N "(cached) $ECHO_C" >&6
85091 else
85092
85093     if test x$gcc_no_link = xyes; then
85094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85096    { (exit 1); exit 1; }; }
85097 fi
85098 cat >conftest.$ac_ext <<_ACEOF
85099 /* confdefs.h.  */
85100 _ACEOF
85101 cat confdefs.h >>conftest.$ac_ext
85102 cat >>conftest.$ac_ext <<_ACEOF
85103 /* end confdefs.h.  */
85104 #include <sys/uio.h>
85105 int
85106 main ()
85107 {
85108 struct iovec iov[2];
85109        writev(0, iov, 0);
85110   ;
85111   return 0;
85112 }
85113 _ACEOF
85114 rm -f conftest.$ac_objext conftest$ac_exeext
85115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85116   (eval $ac_link) 2>conftest.er1
85117   ac_status=$?
85118   grep -v '^ *+' conftest.er1 >conftest.err
85119   rm -f conftest.er1
85120   cat conftest.err >&5
85121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85122   (exit $ac_status); } &&
85123          { ac_try='test -z "$ac_c_werror_flag"
85124                          || test ! -s conftest.err'
85125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85126   (eval $ac_try) 2>&5
85127   ac_status=$?
85128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85129   (exit $ac_status); }; } &&
85130          { ac_try='test -s conftest$ac_exeext'
85131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85132   (eval $ac_try) 2>&5
85133   ac_status=$?
85134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85135   (exit $ac_status); }; }; then
85136   glibcxx_cv_WRITEV=yes
85137 else
85138   echo "$as_me: failed program was:" >&5
85139 sed 's/^/| /' conftest.$ac_ext >&5
85140
85141 glibcxx_cv_WRITEV=no
85142 fi
85143 rm -f conftest.err conftest.$ac_objext \
85144       conftest$ac_exeext conftest.$ac_ext
85145
85146 fi
85147
85148   if test $glibcxx_cv_WRITEV = yes; then
85149
85150 cat >>confdefs.h <<\_ACEOF
85151 #define HAVE_WRITEV 1
85152 _ACEOF
85153
85154   fi
85155   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
85156 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
85157
85158
85159     cat >>confdefs.h <<\_ACEOF
85160 #define HAVE_LC_MESSAGES 1
85161 _ACEOF
85162
85163
85164     cat >conftest.$ac_ext <<_ACEOF
85165 /* confdefs.h.  */
85166 _ACEOF
85167 cat confdefs.h >>conftest.$ac_ext
85168 cat >>conftest.$ac_ext <<_ACEOF
85169 /* end confdefs.h.  */
85170 #include <setjmp.h>
85171 int
85172 main ()
85173 {
85174 sigjmp_buf env;
85175        while (! sigsetjmp (env, 1))
85176          siglongjmp (env, 1);
85177
85178   ;
85179   return 0;
85180 }
85181 _ACEOF
85182 rm -f conftest.$ac_objext
85183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85184   (eval $ac_compile) 2>conftest.er1
85185   ac_status=$?
85186   grep -v '^ *+' conftest.er1 >conftest.err
85187   rm -f conftest.er1
85188   cat conftest.err >&5
85189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85190   (exit $ac_status); } &&
85191          { ac_try='test -z "$ac_c_werror_flag"
85192                          || test ! -s conftest.err'
85193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85194   (eval $ac_try) 2>&5
85195   ac_status=$?
85196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85197   (exit $ac_status); }; } &&
85198          { ac_try='test -s conftest.$ac_objext'
85199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85200   (eval $ac_try) 2>&5
85201   ac_status=$?
85202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85203   (exit $ac_status); }; }; then
85204
85205 cat >>confdefs.h <<\_ACEOF
85206 #define HAVE_SIGSETJMP 1
85207 _ACEOF
85208
85209 else
85210   echo "$as_me: failed program was:" >&5
85211 sed 's/^/| /' conftest.$ac_ext >&5
85212
85213 fi
85214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85215
85216     cat >>confdefs.h <<\_ACEOF
85217 #define HAVE_MMAP 1
85218 _ACEOF
85219
85220     ;;
85221
85222   *djgpp)
85223
85224
85225
85226
85227
85228
85229
85230
85231
85232
85233
85234
85235
85236
85237
85238
85239
85240
85241
85242
85243 for ac_header in float.h ieeefp.h inttypes.h locale.h \
85244       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
85245       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
85246       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
85247 do
85248 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85249 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85250   echo "$as_me:$LINENO: checking for $ac_header" >&5
85251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85252 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85253   echo $ECHO_N "(cached) $ECHO_C" >&6
85254 fi
85255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85257 else
85258   # Is the header compilable?
85259 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85260 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85261 cat >conftest.$ac_ext <<_ACEOF
85262 /* confdefs.h.  */
85263 _ACEOF
85264 cat confdefs.h >>conftest.$ac_ext
85265 cat >>conftest.$ac_ext <<_ACEOF
85266 /* end confdefs.h.  */
85267 $ac_includes_default
85268 #include <$ac_header>
85269 _ACEOF
85270 rm -f conftest.$ac_objext
85271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85272   (eval $ac_compile) 2>conftest.er1
85273   ac_status=$?
85274   grep -v '^ *+' conftest.er1 >conftest.err
85275   rm -f conftest.er1
85276   cat conftest.err >&5
85277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85278   (exit $ac_status); } &&
85279          { ac_try='test -z "$ac_c_werror_flag"
85280                          || test ! -s conftest.err'
85281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85282   (eval $ac_try) 2>&5
85283   ac_status=$?
85284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85285   (exit $ac_status); }; } &&
85286          { ac_try='test -s conftest.$ac_objext'
85287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85288   (eval $ac_try) 2>&5
85289   ac_status=$?
85290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85291   (exit $ac_status); }; }; then
85292   ac_header_compiler=yes
85293 else
85294   echo "$as_me: failed program was:" >&5
85295 sed 's/^/| /' conftest.$ac_ext >&5
85296
85297 ac_header_compiler=no
85298 fi
85299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85300 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85301 echo "${ECHO_T}$ac_header_compiler" >&6
85302
85303 # Is the header present?
85304 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85305 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85306 cat >conftest.$ac_ext <<_ACEOF
85307 /* confdefs.h.  */
85308 _ACEOF
85309 cat confdefs.h >>conftest.$ac_ext
85310 cat >>conftest.$ac_ext <<_ACEOF
85311 /* end confdefs.h.  */
85312 #include <$ac_header>
85313 _ACEOF
85314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85315   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85316   ac_status=$?
85317   grep -v '^ *+' conftest.er1 >conftest.err
85318   rm -f conftest.er1
85319   cat conftest.err >&5
85320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85321   (exit $ac_status); } >/dev/null; then
85322   if test -s conftest.err; then
85323     ac_cpp_err=$ac_c_preproc_warn_flag
85324     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85325   else
85326     ac_cpp_err=
85327   fi
85328 else
85329   ac_cpp_err=yes
85330 fi
85331 if test -z "$ac_cpp_err"; then
85332   ac_header_preproc=yes
85333 else
85334   echo "$as_me: failed program was:" >&5
85335 sed 's/^/| /' conftest.$ac_ext >&5
85336
85337   ac_header_preproc=no
85338 fi
85339 rm -f conftest.err conftest.$ac_ext
85340 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85341 echo "${ECHO_T}$ac_header_preproc" >&6
85342
85343 # So?  What about this header?
85344 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85345   yes:no: )
85346     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85347 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85348     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85349 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85350     ac_header_preproc=yes
85351     ;;
85352   no:yes:* )
85353     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85354 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85355     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85356 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85357     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85358 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85359     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85360 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85361     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85362 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85363     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85364 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85365     (
85366       cat <<\_ASBOX
85367 ## ----------------------------------------- ##
85368 ## Report this to the package-unused lists.  ##
85369 ## ----------------------------------------- ##
85370 _ASBOX
85371     ) |
85372       sed "s/^/$as_me: WARNING:     /" >&2
85373     ;;
85374 esac
85375 echo "$as_me:$LINENO: checking for $ac_header" >&5
85376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85378   echo $ECHO_N "(cached) $ECHO_C" >&6
85379 else
85380   eval "$as_ac_Header=\$ac_header_preproc"
85381 fi
85382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85384
85385 fi
85386 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85387   cat >>confdefs.h <<_ACEOF
85388 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85389 _ACEOF
85390
85391 fi
85392
85393 done
85394
85395     # GLIBCXX_CHECK_MATH_SUPPORT
85396     cat >>confdefs.h <<\_ACEOF
85397 #define HAVE_LIBM 1
85398 _ACEOF
85399
85400     cat >>confdefs.h <<\_ACEOF
85401 #define HAVE_ISINF 1
85402 _ACEOF
85403
85404     cat >>confdefs.h <<\_ACEOF
85405 #define HAVE_ISNAN 1
85406 _ACEOF
85407
85408     cat >>confdefs.h <<\_ACEOF
85409 #define HAVE_FINITE 1
85410 _ACEOF
85411
85412     cat >>confdefs.h <<\_ACEOF
85413 #define HAVE_COPYSIGN 1
85414 _ACEOF
85415
85416     cat >>confdefs.h <<\_ACEOF
85417 #define HAVE_SINCOS 1
85418 _ACEOF
85419
85420     cat >>confdefs.h <<\_ACEOF
85421 #define HAVE_HYPOT 1
85422 _ACEOF
85423
85424     # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
85425     cat >>confdefs.h <<\_ACEOF
85426 #define HAVE___BUILTIN_ABS 1
85427 _ACEOF
85428
85429     cat >>confdefs.h <<\_ACEOF
85430 #define HAVE___BUILTIN_FABSF 1
85431 _ACEOF
85432
85433     cat >>confdefs.h <<\_ACEOF
85434 #define HAVE___BUILTIN_FABS 1
85435 _ACEOF
85436
85437     cat >>confdefs.h <<\_ACEOF
85438 #define HAVE___BUILTIN_FABSL 1
85439 _ACEOF
85440
85441     cat >>confdefs.h <<\_ACEOF
85442 #define HAVE___BUILTIN_LABS 1
85443 _ACEOF
85444
85445     cat >>confdefs.h <<\_ACEOF
85446 #define HAVE___BUILTIN_SQRTF 1
85447 _ACEOF
85448
85449     cat >>confdefs.h <<\_ACEOF
85450 #define HAVE___BUILTIN_SQRT 1
85451 _ACEOF
85452
85453     cat >>confdefs.h <<\_ACEOF
85454 #define HAVE___BUILTIN_SQRTL 1
85455 _ACEOF
85456
85457     cat >>confdefs.h <<\_ACEOF
85458 #define HAVE___BUILTIN_SINF 1
85459 _ACEOF
85460
85461     cat >>confdefs.h <<\_ACEOF
85462 #define HAVE___BUILTIN_SIN 1
85463 _ACEOF
85464
85465     cat >>confdefs.h <<\_ACEOF
85466 #define HAVE___BUILTIN_SINL 1
85467 _ACEOF
85468
85469     cat >>confdefs.h <<\_ACEOF
85470 #define HAVE___BUILTIN_COSF 1
85471 _ACEOF
85472
85473     cat >>confdefs.h <<\_ACEOF
85474 #define HAVE___BUILTIN_COS 1
85475 _ACEOF
85476
85477     cat >>confdefs.h <<\_ACEOF
85478 #define HAVE___BUILTIN_COSL 1
85479 _ACEOF
85480
85481     # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
85482     # GLIBCXX_CHECK_STDLIB_SUPPORT
85483     cat >>confdefs.h <<\_ACEOF
85484 #define HAVE_COPYSIGN 1
85485 _ACEOF
85486
85487     cat >>confdefs.h <<\_ACEOF
85488 #define HAVE_COPYSIGNF 1
85489 _ACEOF
85490
85491     # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
85492     cat >>confdefs.h <<\_ACEOF
85493 #define HAVE_S_ISREG 1
85494 _ACEOF
85495
85496     cat >>confdefs.h <<\_ACEOF
85497 #define HAVE_S_IFREG 1
85498 _ACEOF
85499
85500     cat >>confdefs.h <<\_ACEOF
85501 #define HAVE_WRITEV 1
85502 _ACEOF
85503
85504     ;;
85505
85506   *-freebsd*)
85507
85508
85509
85510
85511
85512
85513
85514
85515
85516
85517
85518
85519
85520
85521
85522
85523 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85524       machine/endian.h machine/param.h sys/machine.h sys/types.h \
85525       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
85526       sys/time.h unistd.h
85527 do
85528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85530   echo "$as_me:$LINENO: checking for $ac_header" >&5
85531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85533   echo $ECHO_N "(cached) $ECHO_C" >&6
85534 fi
85535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85536 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85537 else
85538   # Is the header compilable?
85539 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85540 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85541 cat >conftest.$ac_ext <<_ACEOF
85542 /* confdefs.h.  */
85543 _ACEOF
85544 cat confdefs.h >>conftest.$ac_ext
85545 cat >>conftest.$ac_ext <<_ACEOF
85546 /* end confdefs.h.  */
85547 $ac_includes_default
85548 #include <$ac_header>
85549 _ACEOF
85550 rm -f conftest.$ac_objext
85551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85552   (eval $ac_compile) 2>conftest.er1
85553   ac_status=$?
85554   grep -v '^ *+' conftest.er1 >conftest.err
85555   rm -f conftest.er1
85556   cat conftest.err >&5
85557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85558   (exit $ac_status); } &&
85559          { ac_try='test -z "$ac_c_werror_flag"
85560                          || test ! -s conftest.err'
85561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85562   (eval $ac_try) 2>&5
85563   ac_status=$?
85564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85565   (exit $ac_status); }; } &&
85566          { ac_try='test -s conftest.$ac_objext'
85567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85568   (eval $ac_try) 2>&5
85569   ac_status=$?
85570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85571   (exit $ac_status); }; }; then
85572   ac_header_compiler=yes
85573 else
85574   echo "$as_me: failed program was:" >&5
85575 sed 's/^/| /' conftest.$ac_ext >&5
85576
85577 ac_header_compiler=no
85578 fi
85579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85580 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85581 echo "${ECHO_T}$ac_header_compiler" >&6
85582
85583 # Is the header present?
85584 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85585 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85586 cat >conftest.$ac_ext <<_ACEOF
85587 /* confdefs.h.  */
85588 _ACEOF
85589 cat confdefs.h >>conftest.$ac_ext
85590 cat >>conftest.$ac_ext <<_ACEOF
85591 /* end confdefs.h.  */
85592 #include <$ac_header>
85593 _ACEOF
85594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85595   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85596   ac_status=$?
85597   grep -v '^ *+' conftest.er1 >conftest.err
85598   rm -f conftest.er1
85599   cat conftest.err >&5
85600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85601   (exit $ac_status); } >/dev/null; then
85602   if test -s conftest.err; then
85603     ac_cpp_err=$ac_c_preproc_warn_flag
85604     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85605   else
85606     ac_cpp_err=
85607   fi
85608 else
85609   ac_cpp_err=yes
85610 fi
85611 if test -z "$ac_cpp_err"; then
85612   ac_header_preproc=yes
85613 else
85614   echo "$as_me: failed program was:" >&5
85615 sed 's/^/| /' conftest.$ac_ext >&5
85616
85617   ac_header_preproc=no
85618 fi
85619 rm -f conftest.err conftest.$ac_ext
85620 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85621 echo "${ECHO_T}$ac_header_preproc" >&6
85622
85623 # So?  What about this header?
85624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85625   yes:no: )
85626     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85627 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85628     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85629 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85630     ac_header_preproc=yes
85631     ;;
85632   no:yes:* )
85633     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85635     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85636 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85637     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85638 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85639     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85640 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85641     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85643     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85644 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85645     (
85646       cat <<\_ASBOX
85647 ## ----------------------------------------- ##
85648 ## Report this to the package-unused lists.  ##
85649 ## ----------------------------------------- ##
85650 _ASBOX
85651     ) |
85652       sed "s/^/$as_me: WARNING:     /" >&2
85653     ;;
85654 esac
85655 echo "$as_me:$LINENO: checking for $ac_header" >&5
85656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85658   echo $ECHO_N "(cached) $ECHO_C" >&6
85659 else
85660   eval "$as_ac_Header=\$ac_header_preproc"
85661 fi
85662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85664
85665 fi
85666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85667   cat >>confdefs.h <<_ACEOF
85668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85669 _ACEOF
85670
85671 fi
85672
85673 done
85674
85675     SECTION_FLAGS='-ffunction-sections -fdata-sections'
85676
85677
85678   # If we're not using GNU ld, then there's no point in even trying these
85679   # tests.  Check for that first.  We should have already tested for gld
85680   # by now (in libtool), but require it now just to be safe...
85681   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85682   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85683
85684
85685
85686   # The name set by libtool depends on the version of libtool.  Shame on us
85687   # for depending on an impl detail, but c'est la vie.  Older versions used
85688   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85689   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85690   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
85691   # set (hence we're using an older libtool), then set it.
85692   if test x${with_gnu_ld+set} != xset; then
85693     if test x${ac_cv_prog_gnu_ld+set} != xset; then
85694       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
85695       with_gnu_ld=no
85696     else
85697       with_gnu_ld=$ac_cv_prog_gnu_ld
85698     fi
85699   fi
85700
85701   # Start by getting the version number.  I think the libtool test already
85702   # does some of this, but throws away the result.
85703   glibcxx_ld_is_gold=no
85704   if test x"$with_gnu_ld" = x"yes"; then
85705     echo "$as_me:$LINENO: checking for ld version" >&5
85706 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85707
85708     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
85709       glibcxx_ld_is_gold=yes
85710     fi
85711     ldver=`$LD --version 2>/dev/null | head -1 | \
85712            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
85713
85714     glibcxx_gnu_ld_version=`echo $ldver | \
85715            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85716     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85717 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85718   fi
85719
85720   # Set --gc-sections.
85721   glibcxx_have_gc_sections=no
85722   if test "$glibcxx_ld_is_gold" = "yes"; then
85723     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
85724       glibcxx_have_gc_sections=yes
85725     fi
85726   else
85727     glibcxx_gcsections_min_ld=21602
85728     if test x"$with_gnu_ld" = x"yes" &&
85729         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85730       glibcxx_have_gc_sections=yes
85731     fi
85732   fi
85733   if test "$glibcxx_have_gc_sections" = "yes"; then
85734     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
85735     # NB: This flag only works reliably after 2.16.1. Configure tests
85736     # for this are difficult, so hard wire a value that should work.
85737
85738     ac_test_CFLAGS="${CFLAGS+set}"
85739     ac_save_CFLAGS="$CFLAGS"
85740     CFLAGS='-Wl,--gc-sections'
85741
85742     # Check for -Wl,--gc-sections
85743     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85744 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85745     if test x$gcc_no_link = xyes; then
85746   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85748    { (exit 1); exit 1; }; }
85749 fi
85750 cat >conftest.$ac_ext <<_ACEOF
85751 /* confdefs.h.  */
85752 _ACEOF
85753 cat confdefs.h >>conftest.$ac_ext
85754 cat >>conftest.$ac_ext <<_ACEOF
85755 /* end confdefs.h.  */
85756  int one(void) { return 1; }
85757      int two(void) { return 2; }
85758
85759 int
85760 main ()
85761 {
85762  two();
85763   ;
85764   return 0;
85765 }
85766 _ACEOF
85767 rm -f conftest.$ac_objext conftest$ac_exeext
85768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85769   (eval $ac_link) 2>conftest.er1
85770   ac_status=$?
85771   grep -v '^ *+' conftest.er1 >conftest.err
85772   rm -f conftest.er1
85773   cat conftest.err >&5
85774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85775   (exit $ac_status); } &&
85776          { ac_try='test -z "$ac_c_werror_flag"
85777                          || test ! -s conftest.err'
85778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85779   (eval $ac_try) 2>&5
85780   ac_status=$?
85781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85782   (exit $ac_status); }; } &&
85783          { ac_try='test -s conftest$ac_exeext'
85784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85785   (eval $ac_try) 2>&5
85786   ac_status=$?
85787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85788   (exit $ac_status); }; }; then
85789   ac_gcsections=yes
85790 else
85791   echo "$as_me: failed program was:" >&5
85792 sed 's/^/| /' conftest.$ac_ext >&5
85793
85794 ac_gcsections=no
85795 fi
85796 rm -f conftest.err conftest.$ac_objext \
85797       conftest$ac_exeext conftest.$ac_ext
85798     if test "$ac_gcsections" = "yes"; then
85799       rm -f conftest.c
85800       touch conftest.c
85801       if $CC -c conftest.c; then
85802         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85803            grep "Warning: gc-sections option ignored" > /dev/null; then
85804           ac_gcsections=no
85805         fi
85806       fi
85807       rm -f conftest.c conftest.o conftest
85808     fi
85809     if test "$ac_gcsections" = "yes"; then
85810       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85811     fi
85812     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85813 echo "${ECHO_T}$ac_gcsections" >&6
85814
85815     if test "$ac_test_CFLAGS" = set; then
85816       CFLAGS="$ac_save_CFLAGS"
85817     else
85818       # this is the suspicious part
85819       CFLAGS=''
85820     fi
85821   fi
85822
85823   # Set -z,relro.
85824   # Note this is only for shared objects.
85825   ac_ld_relro=no
85826   if test x"$with_gnu_ld" = x"yes"; then
85827     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85828 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85829     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85830     if test -n "$cxx_z_relo"; then
85831       OPT_LDFLAGS="-Wl,-z,relro"
85832       ac_ld_relro=yes
85833     fi
85834     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85835 echo "${ECHO_T}$ac_ld_relro" >&6
85836   fi
85837
85838   # Set linker optimization flags.
85839   if test x"$with_gnu_ld" = x"yes"; then
85840     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85841   fi
85842
85843
85844
85845
85846
85847
85848 echo "$as_me:$LINENO: checking for main in -lm" >&5
85849 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85850 if test "${ac_cv_lib_m_main+set}" = set; then
85851   echo $ECHO_N "(cached) $ECHO_C" >&6
85852 else
85853   ac_check_lib_save_LIBS=$LIBS
85854 LIBS="-lm  $LIBS"
85855 if test x$gcc_no_link = xyes; then
85856   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85858    { (exit 1); exit 1; }; }
85859 fi
85860 cat >conftest.$ac_ext <<_ACEOF
85861 /* confdefs.h.  */
85862 _ACEOF
85863 cat confdefs.h >>conftest.$ac_ext
85864 cat >>conftest.$ac_ext <<_ACEOF
85865 /* end confdefs.h.  */
85866
85867
85868 int
85869 main ()
85870 {
85871 main ();
85872   ;
85873   return 0;
85874 }
85875 _ACEOF
85876 rm -f conftest.$ac_objext conftest$ac_exeext
85877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85878   (eval $ac_link) 2>conftest.er1
85879   ac_status=$?
85880   grep -v '^ *+' conftest.er1 >conftest.err
85881   rm -f conftest.er1
85882   cat conftest.err >&5
85883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85884   (exit $ac_status); } &&
85885          { ac_try='test -z "$ac_c_werror_flag"
85886                          || test ! -s conftest.err'
85887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85888   (eval $ac_try) 2>&5
85889   ac_status=$?
85890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85891   (exit $ac_status); }; } &&
85892          { ac_try='test -s conftest$ac_exeext'
85893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85894   (eval $ac_try) 2>&5
85895   ac_status=$?
85896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85897   (exit $ac_status); }; }; then
85898   ac_cv_lib_m_main=yes
85899 else
85900   echo "$as_me: failed program was:" >&5
85901 sed 's/^/| /' conftest.$ac_ext >&5
85902
85903 ac_cv_lib_m_main=no
85904 fi
85905 rm -f conftest.err conftest.$ac_objext \
85906       conftest$ac_exeext conftest.$ac_ext
85907 LIBS=$ac_check_lib_save_LIBS
85908 fi
85909 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85910 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85911 if test $ac_cv_lib_m_main = yes; then
85912   cat >>confdefs.h <<_ACEOF
85913 #define HAVE_LIBM 1
85914 _ACEOF
85915
85916   LIBS="-lm $LIBS"
85917
85918 fi
85919
85920
85921 for ac_func in copysignf
85922 do
85923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85924 echo "$as_me:$LINENO: checking for $ac_func" >&5
85925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85926 if eval "test \"\${$as_ac_var+set}\" = set"; then
85927   echo $ECHO_N "(cached) $ECHO_C" >&6
85928 else
85929   if test x$gcc_no_link = xyes; then
85930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85932    { (exit 1); exit 1; }; }
85933 fi
85934 cat >conftest.$ac_ext <<_ACEOF
85935 /* confdefs.h.  */
85936 _ACEOF
85937 cat confdefs.h >>conftest.$ac_ext
85938 cat >>conftest.$ac_ext <<_ACEOF
85939 /* end confdefs.h.  */
85940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85941    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85942 #define $ac_func innocuous_$ac_func
85943
85944 /* System header to define __stub macros and hopefully few prototypes,
85945     which can conflict with char $ac_func (); below.
85946     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85947     <limits.h> exists even on freestanding compilers.  */
85948
85949 #ifdef __STDC__
85950 # include <limits.h>
85951 #else
85952 # include <assert.h>
85953 #endif
85954
85955 #undef $ac_func
85956
85957 /* Override any gcc2 internal prototype to avoid an error.  */
85958 #ifdef __cplusplus
85959 extern "C"
85960 {
85961 #endif
85962 /* We use char because int might match the return type of a gcc2
85963    builtin and then its argument prototype would still apply.  */
85964 char $ac_func ();
85965 /* The GNU C library defines this for functions which it implements
85966     to always fail with ENOSYS.  Some functions are actually named
85967     something starting with __ and the normal name is an alias.  */
85968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85969 choke me
85970 #else
85971 char (*f) () = $ac_func;
85972 #endif
85973 #ifdef __cplusplus
85974 }
85975 #endif
85976
85977 int
85978 main ()
85979 {
85980 return f != $ac_func;
85981   ;
85982   return 0;
85983 }
85984 _ACEOF
85985 rm -f conftest.$ac_objext conftest$ac_exeext
85986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85987   (eval $ac_link) 2>conftest.er1
85988   ac_status=$?
85989   grep -v '^ *+' conftest.er1 >conftest.err
85990   rm -f conftest.er1
85991   cat conftest.err >&5
85992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85993   (exit $ac_status); } &&
85994          { ac_try='test -z "$ac_c_werror_flag"
85995                          || test ! -s conftest.err'
85996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85997   (eval $ac_try) 2>&5
85998   ac_status=$?
85999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86000   (exit $ac_status); }; } &&
86001          { ac_try='test -s conftest$ac_exeext'
86002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86003   (eval $ac_try) 2>&5
86004   ac_status=$?
86005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86006   (exit $ac_status); }; }; then
86007   eval "$as_ac_var=yes"
86008 else
86009   echo "$as_me: failed program was:" >&5
86010 sed 's/^/| /' conftest.$ac_ext >&5
86011
86012 eval "$as_ac_var=no"
86013 fi
86014 rm -f conftest.err conftest.$ac_objext \
86015       conftest$ac_exeext conftest.$ac_ext
86016 fi
86017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86019 if test `eval echo '${'$as_ac_var'}'` = yes; then
86020   cat >>confdefs.h <<_ACEOF
86021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86022 _ACEOF
86023
86024 else
86025   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86026 fi
86027 done
86028
86029
86030
86031 for ac_func in __signbit
86032 do
86033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86034 echo "$as_me:$LINENO: checking for $ac_func" >&5
86035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86036 if eval "test \"\${$as_ac_var+set}\" = set"; then
86037   echo $ECHO_N "(cached) $ECHO_C" >&6
86038 else
86039   if test x$gcc_no_link = xyes; then
86040   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86042    { (exit 1); exit 1; }; }
86043 fi
86044 cat >conftest.$ac_ext <<_ACEOF
86045 /* confdefs.h.  */
86046 _ACEOF
86047 cat confdefs.h >>conftest.$ac_ext
86048 cat >>conftest.$ac_ext <<_ACEOF
86049 /* end confdefs.h.  */
86050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86051    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86052 #define $ac_func innocuous_$ac_func
86053
86054 /* System header to define __stub macros and hopefully few prototypes,
86055     which can conflict with char $ac_func (); below.
86056     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86057     <limits.h> exists even on freestanding compilers.  */
86058
86059 #ifdef __STDC__
86060 # include <limits.h>
86061 #else
86062 # include <assert.h>
86063 #endif
86064
86065 #undef $ac_func
86066
86067 /* Override any gcc2 internal prototype to avoid an error.  */
86068 #ifdef __cplusplus
86069 extern "C"
86070 {
86071 #endif
86072 /* We use char because int might match the return type of a gcc2
86073    builtin and then its argument prototype would still apply.  */
86074 char $ac_func ();
86075 /* The GNU C library defines this for functions which it implements
86076     to always fail with ENOSYS.  Some functions are actually named
86077     something starting with __ and the normal name is an alias.  */
86078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86079 choke me
86080 #else
86081 char (*f) () = $ac_func;
86082 #endif
86083 #ifdef __cplusplus
86084 }
86085 #endif
86086
86087 int
86088 main ()
86089 {
86090 return f != $ac_func;
86091   ;
86092   return 0;
86093 }
86094 _ACEOF
86095 rm -f conftest.$ac_objext conftest$ac_exeext
86096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86097   (eval $ac_link) 2>conftest.er1
86098   ac_status=$?
86099   grep -v '^ *+' conftest.er1 >conftest.err
86100   rm -f conftest.er1
86101   cat conftest.err >&5
86102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86103   (exit $ac_status); } &&
86104          { ac_try='test -z "$ac_c_werror_flag"
86105                          || test ! -s conftest.err'
86106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86107   (eval $ac_try) 2>&5
86108   ac_status=$?
86109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86110   (exit $ac_status); }; } &&
86111          { ac_try='test -s conftest$ac_exeext'
86112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86113   (eval $ac_try) 2>&5
86114   ac_status=$?
86115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86116   (exit $ac_status); }; }; then
86117   eval "$as_ac_var=yes"
86118 else
86119   echo "$as_me: failed program was:" >&5
86120 sed 's/^/| /' conftest.$ac_ext >&5
86121
86122 eval "$as_ac_var=no"
86123 fi
86124 rm -f conftest.err conftest.$ac_objext \
86125       conftest$ac_exeext conftest.$ac_ext
86126 fi
86127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86129 if test `eval echo '${'$as_ac_var'}'` = yes; then
86130   cat >>confdefs.h <<_ACEOF
86131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86132 _ACEOF
86133
86134 else
86135   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86136 fi
86137 done
86138
86139
86140
86141 for ac_func in __signbitf
86142 do
86143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86144 echo "$as_me:$LINENO: checking for $ac_func" >&5
86145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86146 if eval "test \"\${$as_ac_var+set}\" = set"; then
86147   echo $ECHO_N "(cached) $ECHO_C" >&6
86148 else
86149   if test x$gcc_no_link = xyes; then
86150   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86152    { (exit 1); exit 1; }; }
86153 fi
86154 cat >conftest.$ac_ext <<_ACEOF
86155 /* confdefs.h.  */
86156 _ACEOF
86157 cat confdefs.h >>conftest.$ac_ext
86158 cat >>conftest.$ac_ext <<_ACEOF
86159 /* end confdefs.h.  */
86160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86161    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86162 #define $ac_func innocuous_$ac_func
86163
86164 /* System header to define __stub macros and hopefully few prototypes,
86165     which can conflict with char $ac_func (); below.
86166     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86167     <limits.h> exists even on freestanding compilers.  */
86168
86169 #ifdef __STDC__
86170 # include <limits.h>
86171 #else
86172 # include <assert.h>
86173 #endif
86174
86175 #undef $ac_func
86176
86177 /* Override any gcc2 internal prototype to avoid an error.  */
86178 #ifdef __cplusplus
86179 extern "C"
86180 {
86181 #endif
86182 /* We use char because int might match the return type of a gcc2
86183    builtin and then its argument prototype would still apply.  */
86184 char $ac_func ();
86185 /* The GNU C library defines this for functions which it implements
86186     to always fail with ENOSYS.  Some functions are actually named
86187     something starting with __ and the normal name is an alias.  */
86188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86189 choke me
86190 #else
86191 char (*f) () = $ac_func;
86192 #endif
86193 #ifdef __cplusplus
86194 }
86195 #endif
86196
86197 int
86198 main ()
86199 {
86200 return f != $ac_func;
86201   ;
86202   return 0;
86203 }
86204 _ACEOF
86205 rm -f conftest.$ac_objext conftest$ac_exeext
86206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86207   (eval $ac_link) 2>conftest.er1
86208   ac_status=$?
86209   grep -v '^ *+' conftest.er1 >conftest.err
86210   rm -f conftest.er1
86211   cat conftest.err >&5
86212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86213   (exit $ac_status); } &&
86214          { ac_try='test -z "$ac_c_werror_flag"
86215                          || test ! -s conftest.err'
86216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86217   (eval $ac_try) 2>&5
86218   ac_status=$?
86219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86220   (exit $ac_status); }; } &&
86221          { ac_try='test -s conftest$ac_exeext'
86222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86223   (eval $ac_try) 2>&5
86224   ac_status=$?
86225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86226   (exit $ac_status); }; }; then
86227   eval "$as_ac_var=yes"
86228 else
86229   echo "$as_me: failed program was:" >&5
86230 sed 's/^/| /' conftest.$ac_ext >&5
86231
86232 eval "$as_ac_var=no"
86233 fi
86234 rm -f conftest.err conftest.$ac_objext \
86235       conftest$ac_exeext conftest.$ac_ext
86236 fi
86237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86239 if test `eval echo '${'$as_ac_var'}'` = yes; then
86240   cat >>confdefs.h <<_ACEOF
86241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86242 _ACEOF
86243
86244 else
86245   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86246 fi
86247 done
86248
86249
86250           if test x$ac_cv_func_copysignl = x"yes"; then
86251
86252 for ac_func in __signbitl
86253 do
86254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86255 echo "$as_me:$LINENO: checking for $ac_func" >&5
86256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86257 if eval "test \"\${$as_ac_var+set}\" = set"; then
86258   echo $ECHO_N "(cached) $ECHO_C" >&6
86259 else
86260   if test x$gcc_no_link = xyes; then
86261   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86263    { (exit 1); exit 1; }; }
86264 fi
86265 cat >conftest.$ac_ext <<_ACEOF
86266 /* confdefs.h.  */
86267 _ACEOF
86268 cat confdefs.h >>conftest.$ac_ext
86269 cat >>conftest.$ac_ext <<_ACEOF
86270 /* end confdefs.h.  */
86271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86272    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86273 #define $ac_func innocuous_$ac_func
86274
86275 /* System header to define __stub macros and hopefully few prototypes,
86276     which can conflict with char $ac_func (); below.
86277     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86278     <limits.h> exists even on freestanding compilers.  */
86279
86280 #ifdef __STDC__
86281 # include <limits.h>
86282 #else
86283 # include <assert.h>
86284 #endif
86285
86286 #undef $ac_func
86287
86288 /* Override any gcc2 internal prototype to avoid an error.  */
86289 #ifdef __cplusplus
86290 extern "C"
86291 {
86292 #endif
86293 /* We use char because int might match the return type of a gcc2
86294    builtin and then its argument prototype would still apply.  */
86295 char $ac_func ();
86296 /* The GNU C library defines this for functions which it implements
86297     to always fail with ENOSYS.  Some functions are actually named
86298     something starting with __ and the normal name is an alias.  */
86299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86300 choke me
86301 #else
86302 char (*f) () = $ac_func;
86303 #endif
86304 #ifdef __cplusplus
86305 }
86306 #endif
86307
86308 int
86309 main ()
86310 {
86311 return f != $ac_func;
86312   ;
86313   return 0;
86314 }
86315 _ACEOF
86316 rm -f conftest.$ac_objext conftest$ac_exeext
86317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86318   (eval $ac_link) 2>conftest.er1
86319   ac_status=$?
86320   grep -v '^ *+' conftest.er1 >conftest.err
86321   rm -f conftest.er1
86322   cat conftest.err >&5
86323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86324   (exit $ac_status); } &&
86325          { ac_try='test -z "$ac_c_werror_flag"
86326                          || test ! -s conftest.err'
86327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86328   (eval $ac_try) 2>&5
86329   ac_status=$?
86330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86331   (exit $ac_status); }; } &&
86332          { ac_try='test -s conftest$ac_exeext'
86333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86334   (eval $ac_try) 2>&5
86335   ac_status=$?
86336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86337   (exit $ac_status); }; }; then
86338   eval "$as_ac_var=yes"
86339 else
86340   echo "$as_me: failed program was:" >&5
86341 sed 's/^/| /' conftest.$ac_ext >&5
86342
86343 eval "$as_ac_var=no"
86344 fi
86345 rm -f conftest.err conftest.$ac_objext \
86346       conftest$ac_exeext conftest.$ac_ext
86347 fi
86348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86350 if test `eval echo '${'$as_ac_var'}'` = yes; then
86351   cat >>confdefs.h <<_ACEOF
86352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86353 _ACEOF
86354
86355 else
86356   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86357 fi
86358 done
86359
86360   fi
86361
86362   # Used in libmath/Makefile.am.
86363   if test -n "$LIBMATHOBJS"; then
86364     need_libmath=yes
86365   fi
86366
86367
86368     cat >>confdefs.h <<\_ACEOF
86369 #define HAVE_LC_MESSAGES 1
86370 _ACEOF
86371
86372     cat >>confdefs.h <<\_ACEOF
86373 #define HAVE_GETPAGESIZE 1
86374 _ACEOF
86375
86376     cat >>confdefs.h <<\_ACEOF
86377 #define HAVE_SETENV 1
86378 _ACEOF
86379
86380     cat >>confdefs.h <<\_ACEOF
86381 #define HAVE_SIGSETJMP 1
86382 _ACEOF
86383
86384     cat >>confdefs.h <<\_ACEOF
86385 #define HAVE_COPYSIGN 1
86386 _ACEOF
86387
86388     cat >>confdefs.h <<\_ACEOF
86389 #define HAVE_COPYSIGNF 1
86390 _ACEOF
86391
86392     cat >>confdefs.h <<\_ACEOF
86393 #define HAVE_FINITEF 1
86394 _ACEOF
86395
86396     cat >>confdefs.h <<\_ACEOF
86397 #define HAVE_FINITE 1
86398 _ACEOF
86399
86400     cat >>confdefs.h <<\_ACEOF
86401 #define HAVE_FREXPF 1
86402 _ACEOF
86403
86404     cat >>confdefs.h <<\_ACEOF
86405 #define HAVE_HYPOT 1
86406 _ACEOF
86407
86408     cat >>confdefs.h <<\_ACEOF
86409 #define HAVE_HYPOTF 1
86410 _ACEOF
86411
86412     cat >>confdefs.h <<\_ACEOF
86413 #define HAVE_ISINF 1
86414 _ACEOF
86415
86416     cat >>confdefs.h <<\_ACEOF
86417 #define HAVE_ISNAN 1
86418 _ACEOF
86419
86420     cat >>confdefs.h <<\_ACEOF
86421 #define HAVE_ISNANF 1
86422 _ACEOF
86423
86424
86425     cat >>confdefs.h <<\_ACEOF
86426 #define HAVE_MMAP 1
86427 _ACEOF
86428
86429     cat >>confdefs.h <<\_ACEOF
86430 #define HAVE_ACOSF 1
86431 _ACEOF
86432
86433     cat >>confdefs.h <<\_ACEOF
86434 #define HAVE_ASINF 1
86435 _ACEOF
86436
86437     cat >>confdefs.h <<\_ACEOF
86438 #define HAVE_ATAN2F 1
86439 _ACEOF
86440
86441     cat >>confdefs.h <<\_ACEOF
86442 #define HAVE_ATANF 1
86443 _ACEOF
86444
86445     cat >>confdefs.h <<\_ACEOF
86446 #define HAVE_CEILF 1
86447 _ACEOF
86448
86449     cat >>confdefs.h <<\_ACEOF
86450 #define HAVE_COPYSIGN 1
86451 _ACEOF
86452
86453     cat >>confdefs.h <<\_ACEOF
86454 #define HAVE_COPYSIGNF 1
86455 _ACEOF
86456
86457     cat >>confdefs.h <<\_ACEOF
86458 #define HAVE_COSF 1
86459 _ACEOF
86460
86461     cat >>confdefs.h <<\_ACEOF
86462 #define HAVE_COSHF 1
86463 _ACEOF
86464
86465     cat >>confdefs.h <<\_ACEOF
86466 #define HAVE_EXPF 1
86467 _ACEOF
86468
86469     cat >>confdefs.h <<\_ACEOF
86470 #define HAVE_FABSF 1
86471 _ACEOF
86472
86473     cat >>confdefs.h <<\_ACEOF
86474 #define HAVE_FLOORF 1
86475 _ACEOF
86476
86477     cat >>confdefs.h <<\_ACEOF
86478 #define HAVE_FMODF 1
86479 _ACEOF
86480
86481     cat >>confdefs.h <<\_ACEOF
86482 #define HAVE_FREXPF 1
86483 _ACEOF
86484
86485     cat >>confdefs.h <<\_ACEOF
86486 #define HAVE_LDEXPF 1
86487 _ACEOF
86488
86489     cat >>confdefs.h <<\_ACEOF
86490 #define HAVE_LOG10F 1
86491 _ACEOF
86492
86493     cat >>confdefs.h <<\_ACEOF
86494 #define HAVE_LOGF 1
86495 _ACEOF
86496
86497     cat >>confdefs.h <<\_ACEOF
86498 #define HAVE_MODFF 1
86499 _ACEOF
86500
86501     cat >>confdefs.h <<\_ACEOF
86502 #define HAVE_POWF 1
86503 _ACEOF
86504
86505     cat >>confdefs.h <<\_ACEOF
86506 #define HAVE_SINF 1
86507 _ACEOF
86508
86509     cat >>confdefs.h <<\_ACEOF
86510 #define HAVE_SINHF 1
86511 _ACEOF
86512
86513     cat >>confdefs.h <<\_ACEOF
86514 #define HAVE_SQRTF 1
86515 _ACEOF
86516
86517     cat >>confdefs.h <<\_ACEOF
86518 #define HAVE_TANF 1
86519 _ACEOF
86520
86521     cat >>confdefs.h <<\_ACEOF
86522 #define HAVE_TANHF 1
86523 _ACEOF
86524
86525     if test x"long_double_math_on_this_cpu" = x"yes"; then
86526       cat >>confdefs.h <<\_ACEOF
86527 #define HAVE_FINITEL 1
86528 _ACEOF
86529
86530       cat >>confdefs.h <<\_ACEOF
86531 #define HAVE_ISINFL 1
86532 _ACEOF
86533
86534       cat >>confdefs.h <<\_ACEOF
86535 #define HAVE_ISNANL 1
86536 _ACEOF
86537
86538     fi
86539     ;;
86540   *-hpux*)
86541
86542
86543
86544
86545
86546
86547
86548
86549
86550
86551
86552
86553 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86554       machine/endian.h machine/param.h sys/machine.h sys/types.h \
86555       fp.h locale.h float.h inttypes.h
86556 do
86557 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86559   echo "$as_me:$LINENO: checking for $ac_header" >&5
86560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86562   echo $ECHO_N "(cached) $ECHO_C" >&6
86563 fi
86564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86566 else
86567   # Is the header compilable?
86568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86570 cat >conftest.$ac_ext <<_ACEOF
86571 /* confdefs.h.  */
86572 _ACEOF
86573 cat confdefs.h >>conftest.$ac_ext
86574 cat >>conftest.$ac_ext <<_ACEOF
86575 /* end confdefs.h.  */
86576 $ac_includes_default
86577 #include <$ac_header>
86578 _ACEOF
86579 rm -f conftest.$ac_objext
86580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86581   (eval $ac_compile) 2>conftest.er1
86582   ac_status=$?
86583   grep -v '^ *+' conftest.er1 >conftest.err
86584   rm -f conftest.er1
86585   cat conftest.err >&5
86586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86587   (exit $ac_status); } &&
86588          { ac_try='test -z "$ac_c_werror_flag"
86589                          || test ! -s conftest.err'
86590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86591   (eval $ac_try) 2>&5
86592   ac_status=$?
86593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86594   (exit $ac_status); }; } &&
86595          { ac_try='test -s conftest.$ac_objext'
86596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86597   (eval $ac_try) 2>&5
86598   ac_status=$?
86599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86600   (exit $ac_status); }; }; then
86601   ac_header_compiler=yes
86602 else
86603   echo "$as_me: failed program was:" >&5
86604 sed 's/^/| /' conftest.$ac_ext >&5
86605
86606 ac_header_compiler=no
86607 fi
86608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86610 echo "${ECHO_T}$ac_header_compiler" >&6
86611
86612 # Is the header present?
86613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86615 cat >conftest.$ac_ext <<_ACEOF
86616 /* confdefs.h.  */
86617 _ACEOF
86618 cat confdefs.h >>conftest.$ac_ext
86619 cat >>conftest.$ac_ext <<_ACEOF
86620 /* end confdefs.h.  */
86621 #include <$ac_header>
86622 _ACEOF
86623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86624   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86625   ac_status=$?
86626   grep -v '^ *+' conftest.er1 >conftest.err
86627   rm -f conftest.er1
86628   cat conftest.err >&5
86629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86630   (exit $ac_status); } >/dev/null; then
86631   if test -s conftest.err; then
86632     ac_cpp_err=$ac_c_preproc_warn_flag
86633     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86634   else
86635     ac_cpp_err=
86636   fi
86637 else
86638   ac_cpp_err=yes
86639 fi
86640 if test -z "$ac_cpp_err"; then
86641   ac_header_preproc=yes
86642 else
86643   echo "$as_me: failed program was:" >&5
86644 sed 's/^/| /' conftest.$ac_ext >&5
86645
86646   ac_header_preproc=no
86647 fi
86648 rm -f conftest.err conftest.$ac_ext
86649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86650 echo "${ECHO_T}$ac_header_preproc" >&6
86651
86652 # So?  What about this header?
86653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86654   yes:no: )
86655     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86657     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86659     ac_header_preproc=yes
86660     ;;
86661   no:yes:* )
86662     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86664     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
86665 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
86666     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86668     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
86669 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
86670     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86672     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86674     (
86675       cat <<\_ASBOX
86676 ## ----------------------------------------- ##
86677 ## Report this to the package-unused lists.  ##
86678 ## ----------------------------------------- ##
86679 _ASBOX
86680     ) |
86681       sed "s/^/$as_me: WARNING:     /" >&2
86682     ;;
86683 esac
86684 echo "$as_me:$LINENO: checking for $ac_header" >&5
86685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86687   echo $ECHO_N "(cached) $ECHO_C" >&6
86688 else
86689   eval "$as_ac_Header=\$ac_header_preproc"
86690 fi
86691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86693
86694 fi
86695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86696   cat >>confdefs.h <<_ACEOF
86697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86698 _ACEOF
86699
86700 fi
86701
86702 done
86703
86704     SECTION_FLAGS='-ffunction-sections -fdata-sections'
86705
86706
86707   # If we're not using GNU ld, then there's no point in even trying these
86708   # tests.  Check for that first.  We should have already tested for gld
86709   # by now (in libtool), but require it now just to be safe...
86710   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86711   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86712
86713
86714
86715   # The name set by libtool depends on the version of libtool.  Shame on us
86716   # for depending on an impl detail, but c'est la vie.  Older versions used
86717   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86718   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86719   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
86720   # set (hence we're using an older libtool), then set it.
86721   if test x${with_gnu_ld+set} != xset; then
86722     if test x${ac_cv_prog_gnu_ld+set} != xset; then
86723       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
86724       with_gnu_ld=no
86725     else
86726       with_gnu_ld=$ac_cv_prog_gnu_ld
86727     fi
86728   fi
86729
86730   # Start by getting the version number.  I think the libtool test already
86731   # does some of this, but throws away the result.
86732   glibcxx_ld_is_gold=no
86733   if test x"$with_gnu_ld" = x"yes"; then
86734     echo "$as_me:$LINENO: checking for ld version" >&5
86735 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86736
86737     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
86738       glibcxx_ld_is_gold=yes
86739     fi
86740     ldver=`$LD --version 2>/dev/null | head -1 | \
86741            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
86742
86743     glibcxx_gnu_ld_version=`echo $ldver | \
86744            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86745     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86746 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86747   fi
86748
86749   # Set --gc-sections.
86750   glibcxx_have_gc_sections=no
86751   if test "$glibcxx_ld_is_gold" = "yes"; then
86752     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
86753       glibcxx_have_gc_sections=yes
86754     fi
86755   else
86756     glibcxx_gcsections_min_ld=21602
86757     if test x"$with_gnu_ld" = x"yes" &&
86758         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86759       glibcxx_have_gc_sections=yes
86760     fi
86761   fi
86762   if test "$glibcxx_have_gc_sections" = "yes"; then
86763     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
86764     # NB: This flag only works reliably after 2.16.1. Configure tests
86765     # for this are difficult, so hard wire a value that should work.
86766
86767     ac_test_CFLAGS="${CFLAGS+set}"
86768     ac_save_CFLAGS="$CFLAGS"
86769     CFLAGS='-Wl,--gc-sections'
86770
86771     # Check for -Wl,--gc-sections
86772     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86773 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86774     if test x$gcc_no_link = xyes; then
86775   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86777    { (exit 1); exit 1; }; }
86778 fi
86779 cat >conftest.$ac_ext <<_ACEOF
86780 /* confdefs.h.  */
86781 _ACEOF
86782 cat confdefs.h >>conftest.$ac_ext
86783 cat >>conftest.$ac_ext <<_ACEOF
86784 /* end confdefs.h.  */
86785  int one(void) { return 1; }
86786      int two(void) { return 2; }
86787
86788 int
86789 main ()
86790 {
86791  two();
86792   ;
86793   return 0;
86794 }
86795 _ACEOF
86796 rm -f conftest.$ac_objext conftest$ac_exeext
86797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86798   (eval $ac_link) 2>conftest.er1
86799   ac_status=$?
86800   grep -v '^ *+' conftest.er1 >conftest.err
86801   rm -f conftest.er1
86802   cat conftest.err >&5
86803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86804   (exit $ac_status); } &&
86805          { ac_try='test -z "$ac_c_werror_flag"
86806                          || test ! -s conftest.err'
86807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86808   (eval $ac_try) 2>&5
86809   ac_status=$?
86810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86811   (exit $ac_status); }; } &&
86812          { ac_try='test -s conftest$ac_exeext'
86813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86814   (eval $ac_try) 2>&5
86815   ac_status=$?
86816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86817   (exit $ac_status); }; }; then
86818   ac_gcsections=yes
86819 else
86820   echo "$as_me: failed program was:" >&5
86821 sed 's/^/| /' conftest.$ac_ext >&5
86822
86823 ac_gcsections=no
86824 fi
86825 rm -f conftest.err conftest.$ac_objext \
86826       conftest$ac_exeext conftest.$ac_ext
86827     if test "$ac_gcsections" = "yes"; then
86828       rm -f conftest.c
86829       touch conftest.c
86830       if $CC -c conftest.c; then
86831         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86832            grep "Warning: gc-sections option ignored" > /dev/null; then
86833           ac_gcsections=no
86834         fi
86835       fi
86836       rm -f conftest.c conftest.o conftest
86837     fi
86838     if test "$ac_gcsections" = "yes"; then
86839       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86840     fi
86841     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86842 echo "${ECHO_T}$ac_gcsections" >&6
86843
86844     if test "$ac_test_CFLAGS" = set; then
86845       CFLAGS="$ac_save_CFLAGS"
86846     else
86847       # this is the suspicious part
86848       CFLAGS=''
86849     fi
86850   fi
86851
86852   # Set -z,relro.
86853   # Note this is only for shared objects.
86854   ac_ld_relro=no
86855   if test x"$with_gnu_ld" = x"yes"; then
86856     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86857 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86858     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86859     if test -n "$cxx_z_relo"; then
86860       OPT_LDFLAGS="-Wl,-z,relro"
86861       ac_ld_relro=yes
86862     fi
86863     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86864 echo "${ECHO_T}$ac_ld_relro" >&6
86865   fi
86866
86867   # Set linker optimization flags.
86868   if test x"$with_gnu_ld" = x"yes"; then
86869     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86870   fi
86871
86872
86873
86874
86875
86876
86877 echo "$as_me:$LINENO: checking for main in -lm" >&5
86878 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86879 if test "${ac_cv_lib_m_main+set}" = set; then
86880   echo $ECHO_N "(cached) $ECHO_C" >&6
86881 else
86882   ac_check_lib_save_LIBS=$LIBS
86883 LIBS="-lm  $LIBS"
86884 if test x$gcc_no_link = xyes; then
86885   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86887    { (exit 1); exit 1; }; }
86888 fi
86889 cat >conftest.$ac_ext <<_ACEOF
86890 /* confdefs.h.  */
86891 _ACEOF
86892 cat confdefs.h >>conftest.$ac_ext
86893 cat >>conftest.$ac_ext <<_ACEOF
86894 /* end confdefs.h.  */
86895
86896
86897 int
86898 main ()
86899 {
86900 main ();
86901   ;
86902   return 0;
86903 }
86904 _ACEOF
86905 rm -f conftest.$ac_objext conftest$ac_exeext
86906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86907   (eval $ac_link) 2>conftest.er1
86908   ac_status=$?
86909   grep -v '^ *+' conftest.er1 >conftest.err
86910   rm -f conftest.er1
86911   cat conftest.err >&5
86912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86913   (exit $ac_status); } &&
86914          { ac_try='test -z "$ac_c_werror_flag"
86915                          || test ! -s conftest.err'
86916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86917   (eval $ac_try) 2>&5
86918   ac_status=$?
86919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86920   (exit $ac_status); }; } &&
86921          { ac_try='test -s conftest$ac_exeext'
86922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86923   (eval $ac_try) 2>&5
86924   ac_status=$?
86925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86926   (exit $ac_status); }; }; then
86927   ac_cv_lib_m_main=yes
86928 else
86929   echo "$as_me: failed program was:" >&5
86930 sed 's/^/| /' conftest.$ac_ext >&5
86931
86932 ac_cv_lib_m_main=no
86933 fi
86934 rm -f conftest.err conftest.$ac_objext \
86935       conftest$ac_exeext conftest.$ac_ext
86936 LIBS=$ac_check_lib_save_LIBS
86937 fi
86938 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86939 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86940 if test $ac_cv_lib_m_main = yes; then
86941   cat >>confdefs.h <<_ACEOF
86942 #define HAVE_LIBM 1
86943 _ACEOF
86944
86945   LIBS="-lm $LIBS"
86946
86947 fi
86948
86949
86950 for ac_func in copysignf
86951 do
86952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86953 echo "$as_me:$LINENO: checking for $ac_func" >&5
86954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86955 if eval "test \"\${$as_ac_var+set}\" = set"; then
86956   echo $ECHO_N "(cached) $ECHO_C" >&6
86957 else
86958   if test x$gcc_no_link = xyes; then
86959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86961    { (exit 1); exit 1; }; }
86962 fi
86963 cat >conftest.$ac_ext <<_ACEOF
86964 /* confdefs.h.  */
86965 _ACEOF
86966 cat confdefs.h >>conftest.$ac_ext
86967 cat >>conftest.$ac_ext <<_ACEOF
86968 /* end confdefs.h.  */
86969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86970    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86971 #define $ac_func innocuous_$ac_func
86972
86973 /* System header to define __stub macros and hopefully few prototypes,
86974     which can conflict with char $ac_func (); below.
86975     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86976     <limits.h> exists even on freestanding compilers.  */
86977
86978 #ifdef __STDC__
86979 # include <limits.h>
86980 #else
86981 # include <assert.h>
86982 #endif
86983
86984 #undef $ac_func
86985
86986 /* Override any gcc2 internal prototype to avoid an error.  */
86987 #ifdef __cplusplus
86988 extern "C"
86989 {
86990 #endif
86991 /* We use char because int might match the return type of a gcc2
86992    builtin and then its argument prototype would still apply.  */
86993 char $ac_func ();
86994 /* The GNU C library defines this for functions which it implements
86995     to always fail with ENOSYS.  Some functions are actually named
86996     something starting with __ and the normal name is an alias.  */
86997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86998 choke me
86999 #else
87000 char (*f) () = $ac_func;
87001 #endif
87002 #ifdef __cplusplus
87003 }
87004 #endif
87005
87006 int
87007 main ()
87008 {
87009 return f != $ac_func;
87010   ;
87011   return 0;
87012 }
87013 _ACEOF
87014 rm -f conftest.$ac_objext conftest$ac_exeext
87015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87016   (eval $ac_link) 2>conftest.er1
87017   ac_status=$?
87018   grep -v '^ *+' conftest.er1 >conftest.err
87019   rm -f conftest.er1
87020   cat conftest.err >&5
87021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87022   (exit $ac_status); } &&
87023          { ac_try='test -z "$ac_c_werror_flag"
87024                          || test ! -s conftest.err'
87025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87026   (eval $ac_try) 2>&5
87027   ac_status=$?
87028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87029   (exit $ac_status); }; } &&
87030          { ac_try='test -s conftest$ac_exeext'
87031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87032   (eval $ac_try) 2>&5
87033   ac_status=$?
87034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87035   (exit $ac_status); }; }; then
87036   eval "$as_ac_var=yes"
87037 else
87038   echo "$as_me: failed program was:" >&5
87039 sed 's/^/| /' conftest.$ac_ext >&5
87040
87041 eval "$as_ac_var=no"
87042 fi
87043 rm -f conftest.err conftest.$ac_objext \
87044       conftest$ac_exeext conftest.$ac_ext
87045 fi
87046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87048 if test `eval echo '${'$as_ac_var'}'` = yes; then
87049   cat >>confdefs.h <<_ACEOF
87050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87051 _ACEOF
87052
87053 else
87054   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87055 fi
87056 done
87057
87058
87059
87060 for ac_func in __signbit
87061 do
87062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87063 echo "$as_me:$LINENO: checking for $ac_func" >&5
87064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87065 if eval "test \"\${$as_ac_var+set}\" = set"; then
87066   echo $ECHO_N "(cached) $ECHO_C" >&6
87067 else
87068   if test x$gcc_no_link = xyes; then
87069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87071    { (exit 1); exit 1; }; }
87072 fi
87073 cat >conftest.$ac_ext <<_ACEOF
87074 /* confdefs.h.  */
87075 _ACEOF
87076 cat confdefs.h >>conftest.$ac_ext
87077 cat >>conftest.$ac_ext <<_ACEOF
87078 /* end confdefs.h.  */
87079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87080    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87081 #define $ac_func innocuous_$ac_func
87082
87083 /* System header to define __stub macros and hopefully few prototypes,
87084     which can conflict with char $ac_func (); below.
87085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87086     <limits.h> exists even on freestanding compilers.  */
87087
87088 #ifdef __STDC__
87089 # include <limits.h>
87090 #else
87091 # include <assert.h>
87092 #endif
87093
87094 #undef $ac_func
87095
87096 /* Override any gcc2 internal prototype to avoid an error.  */
87097 #ifdef __cplusplus
87098 extern "C"
87099 {
87100 #endif
87101 /* We use char because int might match the return type of a gcc2
87102    builtin and then its argument prototype would still apply.  */
87103 char $ac_func ();
87104 /* The GNU C library defines this for functions which it implements
87105     to always fail with ENOSYS.  Some functions are actually named
87106     something starting with __ and the normal name is an alias.  */
87107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87108 choke me
87109 #else
87110 char (*f) () = $ac_func;
87111 #endif
87112 #ifdef __cplusplus
87113 }
87114 #endif
87115
87116 int
87117 main ()
87118 {
87119 return f != $ac_func;
87120   ;
87121   return 0;
87122 }
87123 _ACEOF
87124 rm -f conftest.$ac_objext conftest$ac_exeext
87125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87126   (eval $ac_link) 2>conftest.er1
87127   ac_status=$?
87128   grep -v '^ *+' conftest.er1 >conftest.err
87129   rm -f conftest.er1
87130   cat conftest.err >&5
87131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87132   (exit $ac_status); } &&
87133          { ac_try='test -z "$ac_c_werror_flag"
87134                          || test ! -s conftest.err'
87135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87136   (eval $ac_try) 2>&5
87137   ac_status=$?
87138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87139   (exit $ac_status); }; } &&
87140          { ac_try='test -s conftest$ac_exeext'
87141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87142   (eval $ac_try) 2>&5
87143   ac_status=$?
87144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87145   (exit $ac_status); }; }; then
87146   eval "$as_ac_var=yes"
87147 else
87148   echo "$as_me: failed program was:" >&5
87149 sed 's/^/| /' conftest.$ac_ext >&5
87150
87151 eval "$as_ac_var=no"
87152 fi
87153 rm -f conftest.err conftest.$ac_objext \
87154       conftest$ac_exeext conftest.$ac_ext
87155 fi
87156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87158 if test `eval echo '${'$as_ac_var'}'` = yes; then
87159   cat >>confdefs.h <<_ACEOF
87160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87161 _ACEOF
87162
87163 else
87164   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87165 fi
87166 done
87167
87168
87169
87170 for ac_func in __signbitf
87171 do
87172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87173 echo "$as_me:$LINENO: checking for $ac_func" >&5
87174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87175 if eval "test \"\${$as_ac_var+set}\" = set"; then
87176   echo $ECHO_N "(cached) $ECHO_C" >&6
87177 else
87178   if test x$gcc_no_link = xyes; then
87179   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87181    { (exit 1); exit 1; }; }
87182 fi
87183 cat >conftest.$ac_ext <<_ACEOF
87184 /* confdefs.h.  */
87185 _ACEOF
87186 cat confdefs.h >>conftest.$ac_ext
87187 cat >>conftest.$ac_ext <<_ACEOF
87188 /* end confdefs.h.  */
87189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87190    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87191 #define $ac_func innocuous_$ac_func
87192
87193 /* System header to define __stub macros and hopefully few prototypes,
87194     which can conflict with char $ac_func (); below.
87195     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87196     <limits.h> exists even on freestanding compilers.  */
87197
87198 #ifdef __STDC__
87199 # include <limits.h>
87200 #else
87201 # include <assert.h>
87202 #endif
87203
87204 #undef $ac_func
87205
87206 /* Override any gcc2 internal prototype to avoid an error.  */
87207 #ifdef __cplusplus
87208 extern "C"
87209 {
87210 #endif
87211 /* We use char because int might match the return type of a gcc2
87212    builtin and then its argument prototype would still apply.  */
87213 char $ac_func ();
87214 /* The GNU C library defines this for functions which it implements
87215     to always fail with ENOSYS.  Some functions are actually named
87216     something starting with __ and the normal name is an alias.  */
87217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87218 choke me
87219 #else
87220 char (*f) () = $ac_func;
87221 #endif
87222 #ifdef __cplusplus
87223 }
87224 #endif
87225
87226 int
87227 main ()
87228 {
87229 return f != $ac_func;
87230   ;
87231   return 0;
87232 }
87233 _ACEOF
87234 rm -f conftest.$ac_objext conftest$ac_exeext
87235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87236   (eval $ac_link) 2>conftest.er1
87237   ac_status=$?
87238   grep -v '^ *+' conftest.er1 >conftest.err
87239   rm -f conftest.er1
87240   cat conftest.err >&5
87241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87242   (exit $ac_status); } &&
87243          { ac_try='test -z "$ac_c_werror_flag"
87244                          || test ! -s conftest.err'
87245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87246   (eval $ac_try) 2>&5
87247   ac_status=$?
87248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87249   (exit $ac_status); }; } &&
87250          { ac_try='test -s conftest$ac_exeext'
87251   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87252   (eval $ac_try) 2>&5
87253   ac_status=$?
87254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87255   (exit $ac_status); }; }; then
87256   eval "$as_ac_var=yes"
87257 else
87258   echo "$as_me: failed program was:" >&5
87259 sed 's/^/| /' conftest.$ac_ext >&5
87260
87261 eval "$as_ac_var=no"
87262 fi
87263 rm -f conftest.err conftest.$ac_objext \
87264       conftest$ac_exeext conftest.$ac_ext
87265 fi
87266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87268 if test `eval echo '${'$as_ac_var'}'` = yes; then
87269   cat >>confdefs.h <<_ACEOF
87270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87271 _ACEOF
87272
87273 else
87274   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87275 fi
87276 done
87277
87278
87279           if test x$ac_cv_func_copysignl = x"yes"; then
87280
87281 for ac_func in __signbitl
87282 do
87283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87284 echo "$as_me:$LINENO: checking for $ac_func" >&5
87285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87286 if eval "test \"\${$as_ac_var+set}\" = set"; then
87287   echo $ECHO_N "(cached) $ECHO_C" >&6
87288 else
87289   if test x$gcc_no_link = xyes; then
87290   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87292    { (exit 1); exit 1; }; }
87293 fi
87294 cat >conftest.$ac_ext <<_ACEOF
87295 /* confdefs.h.  */
87296 _ACEOF
87297 cat confdefs.h >>conftest.$ac_ext
87298 cat >>conftest.$ac_ext <<_ACEOF
87299 /* end confdefs.h.  */
87300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87301    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87302 #define $ac_func innocuous_$ac_func
87303
87304 /* System header to define __stub macros and hopefully few prototypes,
87305     which can conflict with char $ac_func (); below.
87306     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87307     <limits.h> exists even on freestanding compilers.  */
87308
87309 #ifdef __STDC__
87310 # include <limits.h>
87311 #else
87312 # include <assert.h>
87313 #endif
87314
87315 #undef $ac_func
87316
87317 /* Override any gcc2 internal prototype to avoid an error.  */
87318 #ifdef __cplusplus
87319 extern "C"
87320 {
87321 #endif
87322 /* We use char because int might match the return type of a gcc2
87323    builtin and then its argument prototype would still apply.  */
87324 char $ac_func ();
87325 /* The GNU C library defines this for functions which it implements
87326     to always fail with ENOSYS.  Some functions are actually named
87327     something starting with __ and the normal name is an alias.  */
87328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87329 choke me
87330 #else
87331 char (*f) () = $ac_func;
87332 #endif
87333 #ifdef __cplusplus
87334 }
87335 #endif
87336
87337 int
87338 main ()
87339 {
87340 return f != $ac_func;
87341   ;
87342   return 0;
87343 }
87344 _ACEOF
87345 rm -f conftest.$ac_objext conftest$ac_exeext
87346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87347   (eval $ac_link) 2>conftest.er1
87348   ac_status=$?
87349   grep -v '^ *+' conftest.er1 >conftest.err
87350   rm -f conftest.er1
87351   cat conftest.err >&5
87352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87353   (exit $ac_status); } &&
87354          { ac_try='test -z "$ac_c_werror_flag"
87355                          || test ! -s conftest.err'
87356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87357   (eval $ac_try) 2>&5
87358   ac_status=$?
87359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87360   (exit $ac_status); }; } &&
87361          { ac_try='test -s conftest$ac_exeext'
87362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87363   (eval $ac_try) 2>&5
87364   ac_status=$?
87365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87366   (exit $ac_status); }; }; then
87367   eval "$as_ac_var=yes"
87368 else
87369   echo "$as_me: failed program was:" >&5
87370 sed 's/^/| /' conftest.$ac_ext >&5
87371
87372 eval "$as_ac_var=no"
87373 fi
87374 rm -f conftest.err conftest.$ac_objext \
87375       conftest$ac_exeext conftest.$ac_ext
87376 fi
87377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87379 if test `eval echo '${'$as_ac_var'}'` = yes; then
87380   cat >>confdefs.h <<_ACEOF
87381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87382 _ACEOF
87383
87384 else
87385   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87386 fi
87387 done
87388
87389   fi
87390
87391   # Used in libmath/Makefile.am.
87392   if test -n "$LIBMATHOBJS"; then
87393     need_libmath=yes
87394   fi
87395
87396
87397     cat >>confdefs.h <<\_ACEOF
87398 #define HAVE_COPYSIGN 1
87399 _ACEOF
87400
87401     cat >>confdefs.h <<\_ACEOF
87402 #define HAVE_COPYSIGNF 1
87403 _ACEOF
87404
87405     cat >>confdefs.h <<\_ACEOF
87406 #define HAVE_FREXPF 1
87407 _ACEOF
87408
87409     cat >>confdefs.h <<\_ACEOF
87410 #define HAVE_HYPOT 1
87411 _ACEOF
87412
87413     case "$target" in
87414       *-hpux10*)
87415         cat >>confdefs.h <<\_ACEOF
87416 #define HAVE_FINITE 1
87417 _ACEOF
87418
87419         cat >>confdefs.h <<\_ACEOF
87420 #define HAVE_FINITEF 1
87421 _ACEOF
87422
87423         cat >>confdefs.h <<\_ACEOF
87424 #define HAVE_ISINF 1
87425 _ACEOF
87426
87427         cat >>confdefs.h <<\_ACEOF
87428 #define HAVE_ISINFF 1
87429 _ACEOF
87430
87431         cat >>confdefs.h <<\_ACEOF
87432 #define HAVE_ISNAN 1
87433 _ACEOF
87434
87435         cat >>confdefs.h <<\_ACEOF
87436 #define HAVE_ISNANF 1
87437 _ACEOF
87438
87439         ;;
87440     esac
87441     ;;
87442   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
87443
87444
87445
87446
87447
87448
87449
87450
87451
87452
87453
87454
87455
87456
87457
87458
87459
87460
87461 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87462       machine/endian.h machine/param.h sys/machine.h sys/types.h \
87463       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
87464       sys/ipc.h sys/sem.h gconf.h
87465 do
87466 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87468   echo "$as_me:$LINENO: checking for $ac_header" >&5
87469 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87471   echo $ECHO_N "(cached) $ECHO_C" >&6
87472 fi
87473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87474 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87475 else
87476   # Is the header compilable?
87477 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87478 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87479 cat >conftest.$ac_ext <<_ACEOF
87480 /* confdefs.h.  */
87481 _ACEOF
87482 cat confdefs.h >>conftest.$ac_ext
87483 cat >>conftest.$ac_ext <<_ACEOF
87484 /* end confdefs.h.  */
87485 $ac_includes_default
87486 #include <$ac_header>
87487 _ACEOF
87488 rm -f conftest.$ac_objext
87489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87490   (eval $ac_compile) 2>conftest.er1
87491   ac_status=$?
87492   grep -v '^ *+' conftest.er1 >conftest.err
87493   rm -f conftest.er1
87494   cat conftest.err >&5
87495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87496   (exit $ac_status); } &&
87497          { ac_try='test -z "$ac_c_werror_flag"
87498                          || test ! -s conftest.err'
87499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87500   (eval $ac_try) 2>&5
87501   ac_status=$?
87502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87503   (exit $ac_status); }; } &&
87504          { ac_try='test -s conftest.$ac_objext'
87505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87506   (eval $ac_try) 2>&5
87507   ac_status=$?
87508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87509   (exit $ac_status); }; }; then
87510   ac_header_compiler=yes
87511 else
87512   echo "$as_me: failed program was:" >&5
87513 sed 's/^/| /' conftest.$ac_ext >&5
87514
87515 ac_header_compiler=no
87516 fi
87517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87518 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87519 echo "${ECHO_T}$ac_header_compiler" >&6
87520
87521 # Is the header present?
87522 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87523 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87524 cat >conftest.$ac_ext <<_ACEOF
87525 /* confdefs.h.  */
87526 _ACEOF
87527 cat confdefs.h >>conftest.$ac_ext
87528 cat >>conftest.$ac_ext <<_ACEOF
87529 /* end confdefs.h.  */
87530 #include <$ac_header>
87531 _ACEOF
87532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87533   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87534   ac_status=$?
87535   grep -v '^ *+' conftest.er1 >conftest.err
87536   rm -f conftest.er1
87537   cat conftest.err >&5
87538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87539   (exit $ac_status); } >/dev/null; then
87540   if test -s conftest.err; then
87541     ac_cpp_err=$ac_c_preproc_warn_flag
87542     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87543   else
87544     ac_cpp_err=
87545   fi
87546 else
87547   ac_cpp_err=yes
87548 fi
87549 if test -z "$ac_cpp_err"; then
87550   ac_header_preproc=yes
87551 else
87552   echo "$as_me: failed program was:" >&5
87553 sed 's/^/| /' conftest.$ac_ext >&5
87554
87555   ac_header_preproc=no
87556 fi
87557 rm -f conftest.err conftest.$ac_ext
87558 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87559 echo "${ECHO_T}$ac_header_preproc" >&6
87560
87561 # So?  What about this header?
87562 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87563   yes:no: )
87564     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87565 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87566     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87567 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87568     ac_header_preproc=yes
87569     ;;
87570   no:yes:* )
87571     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87572 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87573     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87574 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87575     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87576 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87577     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87578 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87579     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87580 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87581     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87582 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87583     (
87584       cat <<\_ASBOX
87585 ## ----------------------------------------- ##
87586 ## Report this to the package-unused lists.  ##
87587 ## ----------------------------------------- ##
87588 _ASBOX
87589     ) |
87590       sed "s/^/$as_me: WARNING:     /" >&2
87591     ;;
87592 esac
87593 echo "$as_me:$LINENO: checking for $ac_header" >&5
87594 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87596   echo $ECHO_N "(cached) $ECHO_C" >&6
87597 else
87598   eval "$as_ac_Header=\$ac_header_preproc"
87599 fi
87600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87602
87603 fi
87604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87605   cat >>confdefs.h <<_ACEOF
87606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87607 _ACEOF
87608
87609 fi
87610
87611 done
87612
87613     SECTION_FLAGS='-ffunction-sections -fdata-sections'
87614
87615
87616   # All these tests are for C++; save the language and the compiler flags.
87617   # The CXXFLAGS thing is suspicious, but based on similar bits previously
87618   # found in GLIBCXX_CONFIGURE.
87619
87620
87621   ac_ext=cc
87622 ac_cpp='$CXXCPP $CPPFLAGS'
87623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87626
87627   ac_test_CXXFLAGS="${CXXFLAGS+set}"
87628   ac_save_CXXFLAGS="$CXXFLAGS"
87629
87630   # Check for maintainer-mode bits.
87631   if test x"$USE_MAINTAINER_MODE" = xno; then
87632     WERROR=''
87633   else
87634     WERROR='-Werror'
87635   fi
87636
87637   # Check for -ffunction-sections -fdata-sections
87638   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
87639 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
87640   CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
87641   cat >conftest.$ac_ext <<_ACEOF
87642 /* confdefs.h.  */
87643 _ACEOF
87644 cat confdefs.h >>conftest.$ac_ext
87645 cat >>conftest.$ac_ext <<_ACEOF
87646 /* end confdefs.h.  */
87647 int foo; void bar() { };
87648 int
87649 main ()
87650 {
87651
87652   ;
87653   return 0;
87654 }
87655 _ACEOF
87656 rm -f conftest.$ac_objext
87657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87658   (eval $ac_compile) 2>conftest.er1
87659   ac_status=$?
87660   grep -v '^ *+' conftest.er1 >conftest.err
87661   rm -f conftest.er1
87662   cat conftest.err >&5
87663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87664   (exit $ac_status); } &&
87665          { ac_try='test -z "$ac_cxx_werror_flag"
87666                          || test ! -s conftest.err'
87667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87668   (eval $ac_try) 2>&5
87669   ac_status=$?
87670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87671   (exit $ac_status); }; } &&
87672          { ac_try='test -s conftest.$ac_objext'
87673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87674   (eval $ac_try) 2>&5
87675   ac_status=$?
87676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87677   (exit $ac_status); }; }; then
87678   ac_fdsections=yes
87679 else
87680   echo "$as_me: failed program was:" >&5
87681 sed 's/^/| /' conftest.$ac_ext >&5
87682
87683 ac_fdsections=no
87684 fi
87685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87686   if test "$ac_test_CXXFLAGS" = set; then
87687     CXXFLAGS="$ac_save_CXXFLAGS"
87688   else
87689     # this is the suspicious part
87690     CXXFLAGS=''
87691   fi
87692   if test x"$ac_fdsections" = x"yes"; then
87693     SECTION_FLAGS='-ffunction-sections -fdata-sections'
87694   fi
87695   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
87696 echo "${ECHO_T}$ac_fdsections" >&6
87697
87698   ac_ext=c
87699 ac_cpp='$CPP $CPPFLAGS'
87700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87703
87704
87705
87706
87707
87708   # If we're not using GNU ld, then there's no point in even trying these
87709   # tests.  Check for that first.  We should have already tested for gld
87710   # by now (in libtool), but require it now just to be safe...
87711   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87712   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87713
87714
87715
87716   # The name set by libtool depends on the version of libtool.  Shame on us
87717   # for depending on an impl detail, but c'est la vie.  Older versions used
87718   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87719   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87720   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
87721   # set (hence we're using an older libtool), then set it.
87722   if test x${with_gnu_ld+set} != xset; then
87723     if test x${ac_cv_prog_gnu_ld+set} != xset; then
87724       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
87725       with_gnu_ld=no
87726     else
87727       with_gnu_ld=$ac_cv_prog_gnu_ld
87728     fi
87729   fi
87730
87731   # Start by getting the version number.  I think the libtool test already
87732   # does some of this, but throws away the result.
87733   glibcxx_ld_is_gold=no
87734   if test x"$with_gnu_ld" = x"yes"; then
87735     echo "$as_me:$LINENO: checking for ld version" >&5
87736 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87737
87738     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
87739       glibcxx_ld_is_gold=yes
87740     fi
87741     ldver=`$LD --version 2>/dev/null | head -1 | \
87742            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
87743
87744     glibcxx_gnu_ld_version=`echo $ldver | \
87745            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87746     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87747 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87748   fi
87749
87750   # Set --gc-sections.
87751   glibcxx_have_gc_sections=no
87752   if test "$glibcxx_ld_is_gold" = "yes"; then
87753     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
87754       glibcxx_have_gc_sections=yes
87755     fi
87756   else
87757     glibcxx_gcsections_min_ld=21602
87758     if test x"$with_gnu_ld" = x"yes" &&
87759         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87760       glibcxx_have_gc_sections=yes
87761     fi
87762   fi
87763   if test "$glibcxx_have_gc_sections" = "yes"; then
87764     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
87765     # NB: This flag only works reliably after 2.16.1. Configure tests
87766     # for this are difficult, so hard wire a value that should work.
87767
87768     ac_test_CFLAGS="${CFLAGS+set}"
87769     ac_save_CFLAGS="$CFLAGS"
87770     CFLAGS='-Wl,--gc-sections'
87771
87772     # Check for -Wl,--gc-sections
87773     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87774 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87775     if test x$gcc_no_link = xyes; then
87776   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87778    { (exit 1); exit 1; }; }
87779 fi
87780 cat >conftest.$ac_ext <<_ACEOF
87781 /* confdefs.h.  */
87782 _ACEOF
87783 cat confdefs.h >>conftest.$ac_ext
87784 cat >>conftest.$ac_ext <<_ACEOF
87785 /* end confdefs.h.  */
87786  int one(void) { return 1; }
87787      int two(void) { return 2; }
87788
87789 int
87790 main ()
87791 {
87792  two();
87793   ;
87794   return 0;
87795 }
87796 _ACEOF
87797 rm -f conftest.$ac_objext conftest$ac_exeext
87798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87799   (eval $ac_link) 2>conftest.er1
87800   ac_status=$?
87801   grep -v '^ *+' conftest.er1 >conftest.err
87802   rm -f conftest.er1
87803   cat conftest.err >&5
87804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87805   (exit $ac_status); } &&
87806          { ac_try='test -z "$ac_c_werror_flag"
87807                          || test ! -s conftest.err'
87808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87809   (eval $ac_try) 2>&5
87810   ac_status=$?
87811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87812   (exit $ac_status); }; } &&
87813          { ac_try='test -s conftest$ac_exeext'
87814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87815   (eval $ac_try) 2>&5
87816   ac_status=$?
87817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87818   (exit $ac_status); }; }; then
87819   ac_gcsections=yes
87820 else
87821   echo "$as_me: failed program was:" >&5
87822 sed 's/^/| /' conftest.$ac_ext >&5
87823
87824 ac_gcsections=no
87825 fi
87826 rm -f conftest.err conftest.$ac_objext \
87827       conftest$ac_exeext conftest.$ac_ext
87828     if test "$ac_gcsections" = "yes"; then
87829       rm -f conftest.c
87830       touch conftest.c
87831       if $CC -c conftest.c; then
87832         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87833            grep "Warning: gc-sections option ignored" > /dev/null; then
87834           ac_gcsections=no
87835         fi
87836       fi
87837       rm -f conftest.c conftest.o conftest
87838     fi
87839     if test "$ac_gcsections" = "yes"; then
87840       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87841     fi
87842     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87843 echo "${ECHO_T}$ac_gcsections" >&6
87844
87845     if test "$ac_test_CFLAGS" = set; then
87846       CFLAGS="$ac_save_CFLAGS"
87847     else
87848       # this is the suspicious part
87849       CFLAGS=''
87850     fi
87851   fi
87852
87853   # Set -z,relro.
87854   # Note this is only for shared objects.
87855   ac_ld_relro=no
87856   if test x"$with_gnu_ld" = x"yes"; then
87857     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87858 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87859     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87860     if test -n "$cxx_z_relo"; then
87861       OPT_LDFLAGS="-Wl,-z,relro"
87862       ac_ld_relro=yes
87863     fi
87864     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87865 echo "${ECHO_T}$ac_ld_relro" >&6
87866   fi
87867
87868   # Set linker optimization flags.
87869   if test x"$with_gnu_ld" = x"yes"; then
87870     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87871   fi
87872
87873
87874
87875
87876
87877   ac_test_CXXFLAGS="${CXXFLAGS+set}"
87878   ac_save_CXXFLAGS="$CXXFLAGS"
87879   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
87880
87881     echo "$as_me:$LINENO: checking for sin in -lm" >&5
87882 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
87883 if test "${ac_cv_lib_m_sin+set}" = set; then
87884   echo $ECHO_N "(cached) $ECHO_C" >&6
87885 else
87886   ac_check_lib_save_LIBS=$LIBS
87887 LIBS="-lm  $LIBS"
87888 if test x$gcc_no_link = xyes; then
87889   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87891    { (exit 1); exit 1; }; }
87892 fi
87893 cat >conftest.$ac_ext <<_ACEOF
87894 /* confdefs.h.  */
87895 _ACEOF
87896 cat confdefs.h >>conftest.$ac_ext
87897 cat >>conftest.$ac_ext <<_ACEOF
87898 /* end confdefs.h.  */
87899
87900 /* Override any gcc2 internal prototype to avoid an error.  */
87901 #ifdef __cplusplus
87902 extern "C"
87903 #endif
87904 /* We use char because int might match the return type of a gcc2
87905    builtin and then its argument prototype would still apply.  */
87906 char sin ();
87907 int
87908 main ()
87909 {
87910 sin ();
87911   ;
87912   return 0;
87913 }
87914 _ACEOF
87915 rm -f conftest.$ac_objext conftest$ac_exeext
87916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87917   (eval $ac_link) 2>conftest.er1
87918   ac_status=$?
87919   grep -v '^ *+' conftest.er1 >conftest.err
87920   rm -f conftest.er1
87921   cat conftest.err >&5
87922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87923   (exit $ac_status); } &&
87924          { ac_try='test -z "$ac_c_werror_flag"
87925                          || test ! -s conftest.err'
87926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87927   (eval $ac_try) 2>&5
87928   ac_status=$?
87929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87930   (exit $ac_status); }; } &&
87931          { ac_try='test -s conftest$ac_exeext'
87932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87933   (eval $ac_try) 2>&5
87934   ac_status=$?
87935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87936   (exit $ac_status); }; }; then
87937   ac_cv_lib_m_sin=yes
87938 else
87939   echo "$as_me: failed program was:" >&5
87940 sed 's/^/| /' conftest.$ac_ext >&5
87941
87942 ac_cv_lib_m_sin=no
87943 fi
87944 rm -f conftest.err conftest.$ac_objext \
87945       conftest$ac_exeext conftest.$ac_ext
87946 LIBS=$ac_check_lib_save_LIBS
87947 fi
87948 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
87949 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
87950 if test $ac_cv_lib_m_sin = yes; then
87951   libm="-lm"
87952 fi
87953
87954   ac_save_LIBS="$LIBS"
87955   LIBS="$LIBS $libm"
87956
87957
87958
87959   echo "$as_me:$LINENO: checking for isinf declaration" >&5
87960 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
87961   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
87962     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
87963   echo $ECHO_N "(cached) $ECHO_C" >&6
87964 else
87965
87966
87967
87968       ac_ext=cc
87969 ac_cpp='$CXXCPP $CPPFLAGS'
87970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87973
87974       cat >conftest.$ac_ext <<_ACEOF
87975 /* confdefs.h.  */
87976 _ACEOF
87977 cat confdefs.h >>conftest.$ac_ext
87978 cat >>conftest.$ac_ext <<_ACEOF
87979 /* end confdefs.h.  */
87980 #include <math.h>
87981                       #ifdef HAVE_IEEEFP_H
87982                       #include <ieeefp.h>
87983                       #endif
87984
87985 int
87986 main ()
87987 {
87988  isinf(0);
87989   ;
87990   return 0;
87991 }
87992 _ACEOF
87993 rm -f conftest.$ac_objext
87994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87995   (eval $ac_compile) 2>conftest.er1
87996   ac_status=$?
87997   grep -v '^ *+' conftest.er1 >conftest.err
87998   rm -f conftest.er1
87999   cat conftest.err >&5
88000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88001   (exit $ac_status); } &&
88002          { ac_try='test -z "$ac_cxx_werror_flag"
88003                          || test ! -s conftest.err'
88004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88005   (eval $ac_try) 2>&5
88006   ac_status=$?
88007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88008   (exit $ac_status); }; } &&
88009          { ac_try='test -s conftest.$ac_objext'
88010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88011   (eval $ac_try) 2>&5
88012   ac_status=$?
88013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88014   (exit $ac_status); }; }; then
88015   glibcxx_cv_func_isinf_use=yes
88016 else
88017   echo "$as_me: failed program was:" >&5
88018 sed 's/^/| /' conftest.$ac_ext >&5
88019
88020 glibcxx_cv_func_isinf_use=no
88021 fi
88022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88023       ac_ext=c
88024 ac_cpp='$CPP $CPPFLAGS'
88025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88028
88029
88030 fi
88031
88032   fi
88033   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
88034 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
88035
88036   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
88037
88038 for ac_func in isinf
88039 do
88040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88041 echo "$as_me:$LINENO: checking for $ac_func" >&5
88042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88043 if eval "test \"\${$as_ac_var+set}\" = set"; then
88044   echo $ECHO_N "(cached) $ECHO_C" >&6
88045 else
88046   if test x$gcc_no_link = xyes; then
88047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88049    { (exit 1); exit 1; }; }
88050 fi
88051 cat >conftest.$ac_ext <<_ACEOF
88052 /* confdefs.h.  */
88053 _ACEOF
88054 cat confdefs.h >>conftest.$ac_ext
88055 cat >>conftest.$ac_ext <<_ACEOF
88056 /* end confdefs.h.  */
88057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88058    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88059 #define $ac_func innocuous_$ac_func
88060
88061 /* System header to define __stub macros and hopefully few prototypes,
88062     which can conflict with char $ac_func (); below.
88063     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88064     <limits.h> exists even on freestanding compilers.  */
88065
88066 #ifdef __STDC__
88067 # include <limits.h>
88068 #else
88069 # include <assert.h>
88070 #endif
88071
88072 #undef $ac_func
88073
88074 /* Override any gcc2 internal prototype to avoid an error.  */
88075 #ifdef __cplusplus
88076 extern "C"
88077 {
88078 #endif
88079 /* We use char because int might match the return type of a gcc2
88080    builtin and then its argument prototype would still apply.  */
88081 char $ac_func ();
88082 /* The GNU C library defines this for functions which it implements
88083     to always fail with ENOSYS.  Some functions are actually named
88084     something starting with __ and the normal name is an alias.  */
88085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88086 choke me
88087 #else
88088 char (*f) () = $ac_func;
88089 #endif
88090 #ifdef __cplusplus
88091 }
88092 #endif
88093
88094 int
88095 main ()
88096 {
88097 return f != $ac_func;
88098   ;
88099   return 0;
88100 }
88101 _ACEOF
88102 rm -f conftest.$ac_objext conftest$ac_exeext
88103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88104   (eval $ac_link) 2>conftest.er1
88105   ac_status=$?
88106   grep -v '^ *+' conftest.er1 >conftest.err
88107   rm -f conftest.er1
88108   cat conftest.err >&5
88109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88110   (exit $ac_status); } &&
88111          { ac_try='test -z "$ac_c_werror_flag"
88112                          || test ! -s conftest.err'
88113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88114   (eval $ac_try) 2>&5
88115   ac_status=$?
88116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88117   (exit $ac_status); }; } &&
88118          { ac_try='test -s conftest$ac_exeext'
88119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88120   (eval $ac_try) 2>&5
88121   ac_status=$?
88122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88123   (exit $ac_status); }; }; then
88124   eval "$as_ac_var=yes"
88125 else
88126   echo "$as_me: failed program was:" >&5
88127 sed 's/^/| /' conftest.$ac_ext >&5
88128
88129 eval "$as_ac_var=no"
88130 fi
88131 rm -f conftest.err conftest.$ac_objext \
88132       conftest$ac_exeext conftest.$ac_ext
88133 fi
88134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88136 if test `eval echo '${'$as_ac_var'}'` = yes; then
88137   cat >>confdefs.h <<_ACEOF
88138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88139 _ACEOF
88140
88141 fi
88142 done
88143
88144   else
88145
88146   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
88147 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
88148   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
88149     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
88150   echo $ECHO_N "(cached) $ECHO_C" >&6
88151 else
88152
88153
88154
88155       ac_ext=cc
88156 ac_cpp='$CXXCPP $CPPFLAGS'
88157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88160
88161       cat >conftest.$ac_ext <<_ACEOF
88162 /* confdefs.h.  */
88163 _ACEOF
88164 cat confdefs.h >>conftest.$ac_ext
88165 cat >>conftest.$ac_ext <<_ACEOF
88166 /* end confdefs.h.  */
88167 #include <math.h>
88168                       #ifdef HAVE_IEEEFP_H
88169                       #include <ieeefp.h>
88170                       #endif
88171
88172 int
88173 main ()
88174 {
88175  _isinf(0);
88176   ;
88177   return 0;
88178 }
88179 _ACEOF
88180 rm -f conftest.$ac_objext
88181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88182   (eval $ac_compile) 2>conftest.er1
88183   ac_status=$?
88184   grep -v '^ *+' conftest.er1 >conftest.err
88185   rm -f conftest.er1
88186   cat conftest.err >&5
88187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88188   (exit $ac_status); } &&
88189          { ac_try='test -z "$ac_cxx_werror_flag"
88190                          || test ! -s conftest.err'
88191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88192   (eval $ac_try) 2>&5
88193   ac_status=$?
88194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88195   (exit $ac_status); }; } &&
88196          { ac_try='test -s conftest.$ac_objext'
88197   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88198   (eval $ac_try) 2>&5
88199   ac_status=$?
88200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88201   (exit $ac_status); }; }; then
88202   glibcxx_cv_func__isinf_use=yes
88203 else
88204   echo "$as_me: failed program was:" >&5
88205 sed 's/^/| /' conftest.$ac_ext >&5
88206
88207 glibcxx_cv_func__isinf_use=no
88208 fi
88209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88210       ac_ext=c
88211 ac_cpp='$CPP $CPPFLAGS'
88212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88215
88216
88217 fi
88218
88219   fi
88220   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
88221 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
88222
88223     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
88224
88225 for ac_func in _isinf
88226 do
88227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88228 echo "$as_me:$LINENO: checking for $ac_func" >&5
88229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88230 if eval "test \"\${$as_ac_var+set}\" = set"; then
88231   echo $ECHO_N "(cached) $ECHO_C" >&6
88232 else
88233   if test x$gcc_no_link = xyes; then
88234   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88236    { (exit 1); exit 1; }; }
88237 fi
88238 cat >conftest.$ac_ext <<_ACEOF
88239 /* confdefs.h.  */
88240 _ACEOF
88241 cat confdefs.h >>conftest.$ac_ext
88242 cat >>conftest.$ac_ext <<_ACEOF
88243 /* end confdefs.h.  */
88244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88245    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88246 #define $ac_func innocuous_$ac_func
88247
88248 /* System header to define __stub macros and hopefully few prototypes,
88249     which can conflict with char $ac_func (); below.
88250     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88251     <limits.h> exists even on freestanding compilers.  */
88252
88253 #ifdef __STDC__
88254 # include <limits.h>
88255 #else
88256 # include <assert.h>
88257 #endif
88258
88259 #undef $ac_func
88260
88261 /* Override any gcc2 internal prototype to avoid an error.  */
88262 #ifdef __cplusplus
88263 extern "C"
88264 {
88265 #endif
88266 /* We use char because int might match the return type of a gcc2
88267    builtin and then its argument prototype would still apply.  */
88268 char $ac_func ();
88269 /* The GNU C library defines this for functions which it implements
88270     to always fail with ENOSYS.  Some functions are actually named
88271     something starting with __ and the normal name is an alias.  */
88272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88273 choke me
88274 #else
88275 char (*f) () = $ac_func;
88276 #endif
88277 #ifdef __cplusplus
88278 }
88279 #endif
88280
88281 int
88282 main ()
88283 {
88284 return f != $ac_func;
88285   ;
88286   return 0;
88287 }
88288 _ACEOF
88289 rm -f conftest.$ac_objext conftest$ac_exeext
88290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88291   (eval $ac_link) 2>conftest.er1
88292   ac_status=$?
88293   grep -v '^ *+' conftest.er1 >conftest.err
88294   rm -f conftest.er1
88295   cat conftest.err >&5
88296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88297   (exit $ac_status); } &&
88298          { ac_try='test -z "$ac_c_werror_flag"
88299                          || test ! -s conftest.err'
88300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88301   (eval $ac_try) 2>&5
88302   ac_status=$?
88303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88304   (exit $ac_status); }; } &&
88305          { ac_try='test -s conftest$ac_exeext'
88306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88307   (eval $ac_try) 2>&5
88308   ac_status=$?
88309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88310   (exit $ac_status); }; }; then
88311   eval "$as_ac_var=yes"
88312 else
88313   echo "$as_me: failed program was:" >&5
88314 sed 's/^/| /' conftest.$ac_ext >&5
88315
88316 eval "$as_ac_var=no"
88317 fi
88318 rm -f conftest.err conftest.$ac_objext \
88319       conftest$ac_exeext conftest.$ac_ext
88320 fi
88321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88323 if test `eval echo '${'$as_ac_var'}'` = yes; then
88324   cat >>confdefs.h <<_ACEOF
88325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88326 _ACEOF
88327
88328 fi
88329 done
88330
88331     fi
88332   fi
88333
88334
88335
88336
88337
88338
88339   echo "$as_me:$LINENO: checking for isnan declaration" >&5
88340 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
88341   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
88342     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
88343   echo $ECHO_N "(cached) $ECHO_C" >&6
88344 else
88345
88346
88347
88348       ac_ext=cc
88349 ac_cpp='$CXXCPP $CPPFLAGS'
88350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88353
88354       cat >conftest.$ac_ext <<_ACEOF
88355 /* confdefs.h.  */
88356 _ACEOF
88357 cat confdefs.h >>conftest.$ac_ext
88358 cat >>conftest.$ac_ext <<_ACEOF
88359 /* end confdefs.h.  */
88360 #include <math.h>
88361                       #ifdef HAVE_IEEEFP_H
88362                       #include <ieeefp.h>
88363                       #endif
88364
88365 int
88366 main ()
88367 {
88368  isnan(0);
88369   ;
88370   return 0;
88371 }
88372 _ACEOF
88373 rm -f conftest.$ac_objext
88374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88375   (eval $ac_compile) 2>conftest.er1
88376   ac_status=$?
88377   grep -v '^ *+' conftest.er1 >conftest.err
88378   rm -f conftest.er1
88379   cat conftest.err >&5
88380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88381   (exit $ac_status); } &&
88382          { ac_try='test -z "$ac_cxx_werror_flag"
88383                          || test ! -s conftest.err'
88384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88385   (eval $ac_try) 2>&5
88386   ac_status=$?
88387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88388   (exit $ac_status); }; } &&
88389          { ac_try='test -s conftest.$ac_objext'
88390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88391   (eval $ac_try) 2>&5
88392   ac_status=$?
88393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88394   (exit $ac_status); }; }; then
88395   glibcxx_cv_func_isnan_use=yes
88396 else
88397   echo "$as_me: failed program was:" >&5
88398 sed 's/^/| /' conftest.$ac_ext >&5
88399
88400 glibcxx_cv_func_isnan_use=no
88401 fi
88402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88403       ac_ext=c
88404 ac_cpp='$CPP $CPPFLAGS'
88405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88408
88409
88410 fi
88411
88412   fi
88413   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
88414 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
88415
88416   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
88417
88418 for ac_func in isnan
88419 do
88420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88421 echo "$as_me:$LINENO: checking for $ac_func" >&5
88422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88423 if eval "test \"\${$as_ac_var+set}\" = set"; then
88424   echo $ECHO_N "(cached) $ECHO_C" >&6
88425 else
88426   if test x$gcc_no_link = xyes; then
88427   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88429    { (exit 1); exit 1; }; }
88430 fi
88431 cat >conftest.$ac_ext <<_ACEOF
88432 /* confdefs.h.  */
88433 _ACEOF
88434 cat confdefs.h >>conftest.$ac_ext
88435 cat >>conftest.$ac_ext <<_ACEOF
88436 /* end confdefs.h.  */
88437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88438    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88439 #define $ac_func innocuous_$ac_func
88440
88441 /* System header to define __stub macros and hopefully few prototypes,
88442     which can conflict with char $ac_func (); below.
88443     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88444     <limits.h> exists even on freestanding compilers.  */
88445
88446 #ifdef __STDC__
88447 # include <limits.h>
88448 #else
88449 # include <assert.h>
88450 #endif
88451
88452 #undef $ac_func
88453
88454 /* Override any gcc2 internal prototype to avoid an error.  */
88455 #ifdef __cplusplus
88456 extern "C"
88457 {
88458 #endif
88459 /* We use char because int might match the return type of a gcc2
88460    builtin and then its argument prototype would still apply.  */
88461 char $ac_func ();
88462 /* The GNU C library defines this for functions which it implements
88463     to always fail with ENOSYS.  Some functions are actually named
88464     something starting with __ and the normal name is an alias.  */
88465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88466 choke me
88467 #else
88468 char (*f) () = $ac_func;
88469 #endif
88470 #ifdef __cplusplus
88471 }
88472 #endif
88473
88474 int
88475 main ()
88476 {
88477 return f != $ac_func;
88478   ;
88479   return 0;
88480 }
88481 _ACEOF
88482 rm -f conftest.$ac_objext conftest$ac_exeext
88483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88484   (eval $ac_link) 2>conftest.er1
88485   ac_status=$?
88486   grep -v '^ *+' conftest.er1 >conftest.err
88487   rm -f conftest.er1
88488   cat conftest.err >&5
88489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88490   (exit $ac_status); } &&
88491          { ac_try='test -z "$ac_c_werror_flag"
88492                          || test ! -s conftest.err'
88493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88494   (eval $ac_try) 2>&5
88495   ac_status=$?
88496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88497   (exit $ac_status); }; } &&
88498          { ac_try='test -s conftest$ac_exeext'
88499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88500   (eval $ac_try) 2>&5
88501   ac_status=$?
88502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88503   (exit $ac_status); }; }; then
88504   eval "$as_ac_var=yes"
88505 else
88506   echo "$as_me: failed program was:" >&5
88507 sed 's/^/| /' conftest.$ac_ext >&5
88508
88509 eval "$as_ac_var=no"
88510 fi
88511 rm -f conftest.err conftest.$ac_objext \
88512       conftest$ac_exeext conftest.$ac_ext
88513 fi
88514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88516 if test `eval echo '${'$as_ac_var'}'` = yes; then
88517   cat >>confdefs.h <<_ACEOF
88518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88519 _ACEOF
88520
88521 fi
88522 done
88523
88524   else
88525
88526   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
88527 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
88528   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
88529     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
88530   echo $ECHO_N "(cached) $ECHO_C" >&6
88531 else
88532
88533
88534
88535       ac_ext=cc
88536 ac_cpp='$CXXCPP $CPPFLAGS'
88537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88540
88541       cat >conftest.$ac_ext <<_ACEOF
88542 /* confdefs.h.  */
88543 _ACEOF
88544 cat confdefs.h >>conftest.$ac_ext
88545 cat >>conftest.$ac_ext <<_ACEOF
88546 /* end confdefs.h.  */
88547 #include <math.h>
88548                       #ifdef HAVE_IEEEFP_H
88549                       #include <ieeefp.h>
88550                       #endif
88551
88552 int
88553 main ()
88554 {
88555  _isnan(0);
88556   ;
88557   return 0;
88558 }
88559 _ACEOF
88560 rm -f conftest.$ac_objext
88561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88562   (eval $ac_compile) 2>conftest.er1
88563   ac_status=$?
88564   grep -v '^ *+' conftest.er1 >conftest.err
88565   rm -f conftest.er1
88566   cat conftest.err >&5
88567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88568   (exit $ac_status); } &&
88569          { ac_try='test -z "$ac_cxx_werror_flag"
88570                          || test ! -s conftest.err'
88571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88572   (eval $ac_try) 2>&5
88573   ac_status=$?
88574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88575   (exit $ac_status); }; } &&
88576          { ac_try='test -s conftest.$ac_objext'
88577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88578   (eval $ac_try) 2>&5
88579   ac_status=$?
88580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88581   (exit $ac_status); }; }; then
88582   glibcxx_cv_func__isnan_use=yes
88583 else
88584   echo "$as_me: failed program was:" >&5
88585 sed 's/^/| /' conftest.$ac_ext >&5
88586
88587 glibcxx_cv_func__isnan_use=no
88588 fi
88589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88590       ac_ext=c
88591 ac_cpp='$CPP $CPPFLAGS'
88592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88595
88596
88597 fi
88598
88599   fi
88600   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
88601 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
88602
88603     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
88604
88605 for ac_func in _isnan
88606 do
88607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88608 echo "$as_me:$LINENO: checking for $ac_func" >&5
88609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88610 if eval "test \"\${$as_ac_var+set}\" = set"; then
88611   echo $ECHO_N "(cached) $ECHO_C" >&6
88612 else
88613   if test x$gcc_no_link = xyes; then
88614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88616    { (exit 1); exit 1; }; }
88617 fi
88618 cat >conftest.$ac_ext <<_ACEOF
88619 /* confdefs.h.  */
88620 _ACEOF
88621 cat confdefs.h >>conftest.$ac_ext
88622 cat >>conftest.$ac_ext <<_ACEOF
88623 /* end confdefs.h.  */
88624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88625    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88626 #define $ac_func innocuous_$ac_func
88627
88628 /* System header to define __stub macros and hopefully few prototypes,
88629     which can conflict with char $ac_func (); below.
88630     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88631     <limits.h> exists even on freestanding compilers.  */
88632
88633 #ifdef __STDC__
88634 # include <limits.h>
88635 #else
88636 # include <assert.h>
88637 #endif
88638
88639 #undef $ac_func
88640
88641 /* Override any gcc2 internal prototype to avoid an error.  */
88642 #ifdef __cplusplus
88643 extern "C"
88644 {
88645 #endif
88646 /* We use char because int might match the return type of a gcc2
88647    builtin and then its argument prototype would still apply.  */
88648 char $ac_func ();
88649 /* The GNU C library defines this for functions which it implements
88650     to always fail with ENOSYS.  Some functions are actually named
88651     something starting with __ and the normal name is an alias.  */
88652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88653 choke me
88654 #else
88655 char (*f) () = $ac_func;
88656 #endif
88657 #ifdef __cplusplus
88658 }
88659 #endif
88660
88661 int
88662 main ()
88663 {
88664 return f != $ac_func;
88665   ;
88666   return 0;
88667 }
88668 _ACEOF
88669 rm -f conftest.$ac_objext conftest$ac_exeext
88670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88671   (eval $ac_link) 2>conftest.er1
88672   ac_status=$?
88673   grep -v '^ *+' conftest.er1 >conftest.err
88674   rm -f conftest.er1
88675   cat conftest.err >&5
88676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88677   (exit $ac_status); } &&
88678          { ac_try='test -z "$ac_c_werror_flag"
88679                          || test ! -s conftest.err'
88680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88681   (eval $ac_try) 2>&5
88682   ac_status=$?
88683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88684   (exit $ac_status); }; } &&
88685          { ac_try='test -s conftest$ac_exeext'
88686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88687   (eval $ac_try) 2>&5
88688   ac_status=$?
88689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88690   (exit $ac_status); }; }; then
88691   eval "$as_ac_var=yes"
88692 else
88693   echo "$as_me: failed program was:" >&5
88694 sed 's/^/| /' conftest.$ac_ext >&5
88695
88696 eval "$as_ac_var=no"
88697 fi
88698 rm -f conftest.err conftest.$ac_objext \
88699       conftest$ac_exeext conftest.$ac_ext
88700 fi
88701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88703 if test `eval echo '${'$as_ac_var'}'` = yes; then
88704   cat >>confdefs.h <<_ACEOF
88705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88706 _ACEOF
88707
88708 fi
88709 done
88710
88711     fi
88712   fi
88713
88714
88715
88716
88717
88718
88719   echo "$as_me:$LINENO: checking for finite declaration" >&5
88720 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
88721   if test x${glibcxx_cv_func_finite_use+set} != xset; then
88722     if test "${glibcxx_cv_func_finite_use+set}" = set; then
88723   echo $ECHO_N "(cached) $ECHO_C" >&6
88724 else
88725
88726
88727
88728       ac_ext=cc
88729 ac_cpp='$CXXCPP $CPPFLAGS'
88730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88733
88734       cat >conftest.$ac_ext <<_ACEOF
88735 /* confdefs.h.  */
88736 _ACEOF
88737 cat confdefs.h >>conftest.$ac_ext
88738 cat >>conftest.$ac_ext <<_ACEOF
88739 /* end confdefs.h.  */
88740 #include <math.h>
88741                       #ifdef HAVE_IEEEFP_H
88742                       #include <ieeefp.h>
88743                       #endif
88744
88745 int
88746 main ()
88747 {
88748  finite(0);
88749   ;
88750   return 0;
88751 }
88752 _ACEOF
88753 rm -f conftest.$ac_objext
88754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88755   (eval $ac_compile) 2>conftest.er1
88756   ac_status=$?
88757   grep -v '^ *+' conftest.er1 >conftest.err
88758   rm -f conftest.er1
88759   cat conftest.err >&5
88760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88761   (exit $ac_status); } &&
88762          { ac_try='test -z "$ac_cxx_werror_flag"
88763                          || test ! -s conftest.err'
88764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88765   (eval $ac_try) 2>&5
88766   ac_status=$?
88767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88768   (exit $ac_status); }; } &&
88769          { ac_try='test -s conftest.$ac_objext'
88770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88771   (eval $ac_try) 2>&5
88772   ac_status=$?
88773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88774   (exit $ac_status); }; }; then
88775   glibcxx_cv_func_finite_use=yes
88776 else
88777   echo "$as_me: failed program was:" >&5
88778 sed 's/^/| /' conftest.$ac_ext >&5
88779
88780 glibcxx_cv_func_finite_use=no
88781 fi
88782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88783       ac_ext=c
88784 ac_cpp='$CPP $CPPFLAGS'
88785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88788
88789
88790 fi
88791
88792   fi
88793   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
88794 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
88795
88796   if test x$glibcxx_cv_func_finite_use = x"yes"; then
88797
88798 for ac_func in finite
88799 do
88800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88801 echo "$as_me:$LINENO: checking for $ac_func" >&5
88802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88803 if eval "test \"\${$as_ac_var+set}\" = set"; then
88804   echo $ECHO_N "(cached) $ECHO_C" >&6
88805 else
88806   if test x$gcc_no_link = xyes; then
88807   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88809    { (exit 1); exit 1; }; }
88810 fi
88811 cat >conftest.$ac_ext <<_ACEOF
88812 /* confdefs.h.  */
88813 _ACEOF
88814 cat confdefs.h >>conftest.$ac_ext
88815 cat >>conftest.$ac_ext <<_ACEOF
88816 /* end confdefs.h.  */
88817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88818    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88819 #define $ac_func innocuous_$ac_func
88820
88821 /* System header to define __stub macros and hopefully few prototypes,
88822     which can conflict with char $ac_func (); below.
88823     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88824     <limits.h> exists even on freestanding compilers.  */
88825
88826 #ifdef __STDC__
88827 # include <limits.h>
88828 #else
88829 # include <assert.h>
88830 #endif
88831
88832 #undef $ac_func
88833
88834 /* Override any gcc2 internal prototype to avoid an error.  */
88835 #ifdef __cplusplus
88836 extern "C"
88837 {
88838 #endif
88839 /* We use char because int might match the return type of a gcc2
88840    builtin and then its argument prototype would still apply.  */
88841 char $ac_func ();
88842 /* The GNU C library defines this for functions which it implements
88843     to always fail with ENOSYS.  Some functions are actually named
88844     something starting with __ and the normal name is an alias.  */
88845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88846 choke me
88847 #else
88848 char (*f) () = $ac_func;
88849 #endif
88850 #ifdef __cplusplus
88851 }
88852 #endif
88853
88854 int
88855 main ()
88856 {
88857 return f != $ac_func;
88858   ;
88859   return 0;
88860 }
88861 _ACEOF
88862 rm -f conftest.$ac_objext conftest$ac_exeext
88863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88864   (eval $ac_link) 2>conftest.er1
88865   ac_status=$?
88866   grep -v '^ *+' conftest.er1 >conftest.err
88867   rm -f conftest.er1
88868   cat conftest.err >&5
88869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88870   (exit $ac_status); } &&
88871          { ac_try='test -z "$ac_c_werror_flag"
88872                          || test ! -s conftest.err'
88873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88874   (eval $ac_try) 2>&5
88875   ac_status=$?
88876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88877   (exit $ac_status); }; } &&
88878          { ac_try='test -s conftest$ac_exeext'
88879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88880   (eval $ac_try) 2>&5
88881   ac_status=$?
88882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88883   (exit $ac_status); }; }; then
88884   eval "$as_ac_var=yes"
88885 else
88886   echo "$as_me: failed program was:" >&5
88887 sed 's/^/| /' conftest.$ac_ext >&5
88888
88889 eval "$as_ac_var=no"
88890 fi
88891 rm -f conftest.err conftest.$ac_objext \
88892       conftest$ac_exeext conftest.$ac_ext
88893 fi
88894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88896 if test `eval echo '${'$as_ac_var'}'` = yes; then
88897   cat >>confdefs.h <<_ACEOF
88898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88899 _ACEOF
88900
88901 fi
88902 done
88903
88904   else
88905
88906   echo "$as_me:$LINENO: checking for _finite declaration" >&5
88907 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
88908   if test x${glibcxx_cv_func__finite_use+set} != xset; then
88909     if test "${glibcxx_cv_func__finite_use+set}" = set; then
88910   echo $ECHO_N "(cached) $ECHO_C" >&6
88911 else
88912
88913
88914
88915       ac_ext=cc
88916 ac_cpp='$CXXCPP $CPPFLAGS'
88917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88920
88921       cat >conftest.$ac_ext <<_ACEOF
88922 /* confdefs.h.  */
88923 _ACEOF
88924 cat confdefs.h >>conftest.$ac_ext
88925 cat >>conftest.$ac_ext <<_ACEOF
88926 /* end confdefs.h.  */
88927 #include <math.h>
88928                       #ifdef HAVE_IEEEFP_H
88929                       #include <ieeefp.h>
88930                       #endif
88931
88932 int
88933 main ()
88934 {
88935  _finite(0);
88936   ;
88937   return 0;
88938 }
88939 _ACEOF
88940 rm -f conftest.$ac_objext
88941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88942   (eval $ac_compile) 2>conftest.er1
88943   ac_status=$?
88944   grep -v '^ *+' conftest.er1 >conftest.err
88945   rm -f conftest.er1
88946   cat conftest.err >&5
88947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88948   (exit $ac_status); } &&
88949          { ac_try='test -z "$ac_cxx_werror_flag"
88950                          || test ! -s conftest.err'
88951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88952   (eval $ac_try) 2>&5
88953   ac_status=$?
88954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88955   (exit $ac_status); }; } &&
88956          { ac_try='test -s conftest.$ac_objext'
88957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88958   (eval $ac_try) 2>&5
88959   ac_status=$?
88960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88961   (exit $ac_status); }; }; then
88962   glibcxx_cv_func__finite_use=yes
88963 else
88964   echo "$as_me: failed program was:" >&5
88965 sed 's/^/| /' conftest.$ac_ext >&5
88966
88967 glibcxx_cv_func__finite_use=no
88968 fi
88969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88970       ac_ext=c
88971 ac_cpp='$CPP $CPPFLAGS'
88972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88975
88976
88977 fi
88978
88979   fi
88980   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
88981 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
88982
88983     if test x$glibcxx_cv_func__finite_use = x"yes"; then
88984
88985 for ac_func in _finite
88986 do
88987 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88988 echo "$as_me:$LINENO: checking for $ac_func" >&5
88989 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88990 if eval "test \"\${$as_ac_var+set}\" = set"; then
88991   echo $ECHO_N "(cached) $ECHO_C" >&6
88992 else
88993   if test x$gcc_no_link = xyes; then
88994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88996    { (exit 1); exit 1; }; }
88997 fi
88998 cat >conftest.$ac_ext <<_ACEOF
88999 /* confdefs.h.  */
89000 _ACEOF
89001 cat confdefs.h >>conftest.$ac_ext
89002 cat >>conftest.$ac_ext <<_ACEOF
89003 /* end confdefs.h.  */
89004 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89005    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89006 #define $ac_func innocuous_$ac_func
89007
89008 /* System header to define __stub macros and hopefully few prototypes,
89009     which can conflict with char $ac_func (); below.
89010     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89011     <limits.h> exists even on freestanding compilers.  */
89012
89013 #ifdef __STDC__
89014 # include <limits.h>
89015 #else
89016 # include <assert.h>
89017 #endif
89018
89019 #undef $ac_func
89020
89021 /* Override any gcc2 internal prototype to avoid an error.  */
89022 #ifdef __cplusplus
89023 extern "C"
89024 {
89025 #endif
89026 /* We use char because int might match the return type of a gcc2
89027    builtin and then its argument prototype would still apply.  */
89028 char $ac_func ();
89029 /* The GNU C library defines this for functions which it implements
89030     to always fail with ENOSYS.  Some functions are actually named
89031     something starting with __ and the normal name is an alias.  */
89032 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89033 choke me
89034 #else
89035 char (*f) () = $ac_func;
89036 #endif
89037 #ifdef __cplusplus
89038 }
89039 #endif
89040
89041 int
89042 main ()
89043 {
89044 return f != $ac_func;
89045   ;
89046   return 0;
89047 }
89048 _ACEOF
89049 rm -f conftest.$ac_objext conftest$ac_exeext
89050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89051   (eval $ac_link) 2>conftest.er1
89052   ac_status=$?
89053   grep -v '^ *+' conftest.er1 >conftest.err
89054   rm -f conftest.er1
89055   cat conftest.err >&5
89056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89057   (exit $ac_status); } &&
89058          { ac_try='test -z "$ac_c_werror_flag"
89059                          || test ! -s conftest.err'
89060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89061   (eval $ac_try) 2>&5
89062   ac_status=$?
89063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89064   (exit $ac_status); }; } &&
89065          { ac_try='test -s conftest$ac_exeext'
89066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89067   (eval $ac_try) 2>&5
89068   ac_status=$?
89069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89070   (exit $ac_status); }; }; then
89071   eval "$as_ac_var=yes"
89072 else
89073   echo "$as_me: failed program was:" >&5
89074 sed 's/^/| /' conftest.$ac_ext >&5
89075
89076 eval "$as_ac_var=no"
89077 fi
89078 rm -f conftest.err conftest.$ac_objext \
89079       conftest$ac_exeext conftest.$ac_ext
89080 fi
89081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89083 if test `eval echo '${'$as_ac_var'}'` = yes; then
89084   cat >>confdefs.h <<_ACEOF
89085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89086 _ACEOF
89087
89088 fi
89089 done
89090
89091     fi
89092   fi
89093
89094
89095
89096
89097
89098
89099   echo "$as_me:$LINENO: checking for copysign declaration" >&5
89100 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
89101   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
89102     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
89103   echo $ECHO_N "(cached) $ECHO_C" >&6
89104 else
89105
89106
89107
89108       ac_ext=cc
89109 ac_cpp='$CXXCPP $CPPFLAGS'
89110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89113
89114       cat >conftest.$ac_ext <<_ACEOF
89115 /* confdefs.h.  */
89116 _ACEOF
89117 cat confdefs.h >>conftest.$ac_ext
89118 cat >>conftest.$ac_ext <<_ACEOF
89119 /* end confdefs.h.  */
89120 #include <math.h>
89121 int
89122 main ()
89123 {
89124  copysign(0, 0);
89125   ;
89126   return 0;
89127 }
89128 _ACEOF
89129 rm -f conftest.$ac_objext
89130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89131   (eval $ac_compile) 2>conftest.er1
89132   ac_status=$?
89133   grep -v '^ *+' conftest.er1 >conftest.err
89134   rm -f conftest.er1
89135   cat conftest.err >&5
89136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89137   (exit $ac_status); } &&
89138          { ac_try='test -z "$ac_cxx_werror_flag"
89139                          || test ! -s conftest.err'
89140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89141   (eval $ac_try) 2>&5
89142   ac_status=$?
89143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89144   (exit $ac_status); }; } &&
89145          { ac_try='test -s conftest.$ac_objext'
89146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89147   (eval $ac_try) 2>&5
89148   ac_status=$?
89149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89150   (exit $ac_status); }; }; then
89151   glibcxx_cv_func_copysign_use=yes
89152 else
89153   echo "$as_me: failed program was:" >&5
89154 sed 's/^/| /' conftest.$ac_ext >&5
89155
89156 glibcxx_cv_func_copysign_use=no
89157 fi
89158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89159       ac_ext=c
89160 ac_cpp='$CPP $CPPFLAGS'
89161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89164
89165
89166 fi
89167
89168   fi
89169   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
89170 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
89171
89172   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
89173
89174 for ac_func in copysign
89175 do
89176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89177 echo "$as_me:$LINENO: checking for $ac_func" >&5
89178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89179 if eval "test \"\${$as_ac_var+set}\" = set"; then
89180   echo $ECHO_N "(cached) $ECHO_C" >&6
89181 else
89182   if test x$gcc_no_link = xyes; then
89183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89185    { (exit 1); exit 1; }; }
89186 fi
89187 cat >conftest.$ac_ext <<_ACEOF
89188 /* confdefs.h.  */
89189 _ACEOF
89190 cat confdefs.h >>conftest.$ac_ext
89191 cat >>conftest.$ac_ext <<_ACEOF
89192 /* end confdefs.h.  */
89193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89194    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89195 #define $ac_func innocuous_$ac_func
89196
89197 /* System header to define __stub macros and hopefully few prototypes,
89198     which can conflict with char $ac_func (); below.
89199     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89200     <limits.h> exists even on freestanding compilers.  */
89201
89202 #ifdef __STDC__
89203 # include <limits.h>
89204 #else
89205 # include <assert.h>
89206 #endif
89207
89208 #undef $ac_func
89209
89210 /* Override any gcc2 internal prototype to avoid an error.  */
89211 #ifdef __cplusplus
89212 extern "C"
89213 {
89214 #endif
89215 /* We use char because int might match the return type of a gcc2
89216    builtin and then its argument prototype would still apply.  */
89217 char $ac_func ();
89218 /* The GNU C library defines this for functions which it implements
89219     to always fail with ENOSYS.  Some functions are actually named
89220     something starting with __ and the normal name is an alias.  */
89221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89222 choke me
89223 #else
89224 char (*f) () = $ac_func;
89225 #endif
89226 #ifdef __cplusplus
89227 }
89228 #endif
89229
89230 int
89231 main ()
89232 {
89233 return f != $ac_func;
89234   ;
89235   return 0;
89236 }
89237 _ACEOF
89238 rm -f conftest.$ac_objext conftest$ac_exeext
89239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89240   (eval $ac_link) 2>conftest.er1
89241   ac_status=$?
89242   grep -v '^ *+' conftest.er1 >conftest.err
89243   rm -f conftest.er1
89244   cat conftest.err >&5
89245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89246   (exit $ac_status); } &&
89247          { ac_try='test -z "$ac_c_werror_flag"
89248                          || test ! -s conftest.err'
89249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89250   (eval $ac_try) 2>&5
89251   ac_status=$?
89252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89253   (exit $ac_status); }; } &&
89254          { ac_try='test -s conftest$ac_exeext'
89255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89256   (eval $ac_try) 2>&5
89257   ac_status=$?
89258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89259   (exit $ac_status); }; }; then
89260   eval "$as_ac_var=yes"
89261 else
89262   echo "$as_me: failed program was:" >&5
89263 sed 's/^/| /' conftest.$ac_ext >&5
89264
89265 eval "$as_ac_var=no"
89266 fi
89267 rm -f conftest.err conftest.$ac_objext \
89268       conftest$ac_exeext conftest.$ac_ext
89269 fi
89270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89272 if test `eval echo '${'$as_ac_var'}'` = yes; then
89273   cat >>confdefs.h <<_ACEOF
89274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89275 _ACEOF
89276
89277 fi
89278 done
89279
89280   else
89281
89282   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
89283 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
89284   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
89285     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
89286   echo $ECHO_N "(cached) $ECHO_C" >&6
89287 else
89288
89289
89290
89291       ac_ext=cc
89292 ac_cpp='$CXXCPP $CPPFLAGS'
89293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89296
89297       cat >conftest.$ac_ext <<_ACEOF
89298 /* confdefs.h.  */
89299 _ACEOF
89300 cat confdefs.h >>conftest.$ac_ext
89301 cat >>conftest.$ac_ext <<_ACEOF
89302 /* end confdefs.h.  */
89303 #include <math.h>
89304 int
89305 main ()
89306 {
89307  _copysign(0, 0);
89308   ;
89309   return 0;
89310 }
89311 _ACEOF
89312 rm -f conftest.$ac_objext
89313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89314   (eval $ac_compile) 2>conftest.er1
89315   ac_status=$?
89316   grep -v '^ *+' conftest.er1 >conftest.err
89317   rm -f conftest.er1
89318   cat conftest.err >&5
89319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89320   (exit $ac_status); } &&
89321          { ac_try='test -z "$ac_cxx_werror_flag"
89322                          || test ! -s conftest.err'
89323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89324   (eval $ac_try) 2>&5
89325   ac_status=$?
89326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89327   (exit $ac_status); }; } &&
89328          { ac_try='test -s conftest.$ac_objext'
89329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89330   (eval $ac_try) 2>&5
89331   ac_status=$?
89332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89333   (exit $ac_status); }; }; then
89334   glibcxx_cv_func__copysign_use=yes
89335 else
89336   echo "$as_me: failed program was:" >&5
89337 sed 's/^/| /' conftest.$ac_ext >&5
89338
89339 glibcxx_cv_func__copysign_use=no
89340 fi
89341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89342       ac_ext=c
89343 ac_cpp='$CPP $CPPFLAGS'
89344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89347
89348
89349 fi
89350
89351   fi
89352   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
89353 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
89354
89355     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
89356
89357 for ac_func in _copysign
89358 do
89359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89360 echo "$as_me:$LINENO: checking for $ac_func" >&5
89361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89362 if eval "test \"\${$as_ac_var+set}\" = set"; then
89363   echo $ECHO_N "(cached) $ECHO_C" >&6
89364 else
89365   if test x$gcc_no_link = xyes; then
89366   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89368    { (exit 1); exit 1; }; }
89369 fi
89370 cat >conftest.$ac_ext <<_ACEOF
89371 /* confdefs.h.  */
89372 _ACEOF
89373 cat confdefs.h >>conftest.$ac_ext
89374 cat >>conftest.$ac_ext <<_ACEOF
89375 /* end confdefs.h.  */
89376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89377    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89378 #define $ac_func innocuous_$ac_func
89379
89380 /* System header to define __stub macros and hopefully few prototypes,
89381     which can conflict with char $ac_func (); below.
89382     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89383     <limits.h> exists even on freestanding compilers.  */
89384
89385 #ifdef __STDC__
89386 # include <limits.h>
89387 #else
89388 # include <assert.h>
89389 #endif
89390
89391 #undef $ac_func
89392
89393 /* Override any gcc2 internal prototype to avoid an error.  */
89394 #ifdef __cplusplus
89395 extern "C"
89396 {
89397 #endif
89398 /* We use char because int might match the return type of a gcc2
89399    builtin and then its argument prototype would still apply.  */
89400 char $ac_func ();
89401 /* The GNU C library defines this for functions which it implements
89402     to always fail with ENOSYS.  Some functions are actually named
89403     something starting with __ and the normal name is an alias.  */
89404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89405 choke me
89406 #else
89407 char (*f) () = $ac_func;
89408 #endif
89409 #ifdef __cplusplus
89410 }
89411 #endif
89412
89413 int
89414 main ()
89415 {
89416 return f != $ac_func;
89417   ;
89418   return 0;
89419 }
89420 _ACEOF
89421 rm -f conftest.$ac_objext conftest$ac_exeext
89422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89423   (eval $ac_link) 2>conftest.er1
89424   ac_status=$?
89425   grep -v '^ *+' conftest.er1 >conftest.err
89426   rm -f conftest.er1
89427   cat conftest.err >&5
89428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89429   (exit $ac_status); } &&
89430          { ac_try='test -z "$ac_c_werror_flag"
89431                          || test ! -s conftest.err'
89432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89433   (eval $ac_try) 2>&5
89434   ac_status=$?
89435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89436   (exit $ac_status); }; } &&
89437          { ac_try='test -s conftest$ac_exeext'
89438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89439   (eval $ac_try) 2>&5
89440   ac_status=$?
89441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89442   (exit $ac_status); }; }; then
89443   eval "$as_ac_var=yes"
89444 else
89445   echo "$as_me: failed program was:" >&5
89446 sed 's/^/| /' conftest.$ac_ext >&5
89447
89448 eval "$as_ac_var=no"
89449 fi
89450 rm -f conftest.err conftest.$ac_objext \
89451       conftest$ac_exeext conftest.$ac_ext
89452 fi
89453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89455 if test `eval echo '${'$as_ac_var'}'` = yes; then
89456   cat >>confdefs.h <<_ACEOF
89457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89458 _ACEOF
89459
89460 fi
89461 done
89462
89463     fi
89464   fi
89465
89466
89467
89468
89469
89470
89471   echo "$as_me:$LINENO: checking for sincos declaration" >&5
89472 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
89473   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
89474     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
89475   echo $ECHO_N "(cached) $ECHO_C" >&6
89476 else
89477
89478
89479
89480       ac_ext=cc
89481 ac_cpp='$CXXCPP $CPPFLAGS'
89482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89485
89486       cat >conftest.$ac_ext <<_ACEOF
89487 /* confdefs.h.  */
89488 _ACEOF
89489 cat confdefs.h >>conftest.$ac_ext
89490 cat >>conftest.$ac_ext <<_ACEOF
89491 /* end confdefs.h.  */
89492 #include <math.h>
89493 int
89494 main ()
89495 {
89496  sincos(0, 0, 0);
89497   ;
89498   return 0;
89499 }
89500 _ACEOF
89501 rm -f conftest.$ac_objext
89502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89503   (eval $ac_compile) 2>conftest.er1
89504   ac_status=$?
89505   grep -v '^ *+' conftest.er1 >conftest.err
89506   rm -f conftest.er1
89507   cat conftest.err >&5
89508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89509   (exit $ac_status); } &&
89510          { ac_try='test -z "$ac_cxx_werror_flag"
89511                          || test ! -s conftest.err'
89512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89513   (eval $ac_try) 2>&5
89514   ac_status=$?
89515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89516   (exit $ac_status); }; } &&
89517          { ac_try='test -s conftest.$ac_objext'
89518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89519   (eval $ac_try) 2>&5
89520   ac_status=$?
89521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89522   (exit $ac_status); }; }; then
89523   glibcxx_cv_func_sincos_use=yes
89524 else
89525   echo "$as_me: failed program was:" >&5
89526 sed 's/^/| /' conftest.$ac_ext >&5
89527
89528 glibcxx_cv_func_sincos_use=no
89529 fi
89530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89531       ac_ext=c
89532 ac_cpp='$CPP $CPPFLAGS'
89533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89536
89537
89538 fi
89539
89540   fi
89541   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
89542 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
89543
89544   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
89545
89546 for ac_func in sincos
89547 do
89548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89549 echo "$as_me:$LINENO: checking for $ac_func" >&5
89550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89551 if eval "test \"\${$as_ac_var+set}\" = set"; then
89552   echo $ECHO_N "(cached) $ECHO_C" >&6
89553 else
89554   if test x$gcc_no_link = xyes; then
89555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89557    { (exit 1); exit 1; }; }
89558 fi
89559 cat >conftest.$ac_ext <<_ACEOF
89560 /* confdefs.h.  */
89561 _ACEOF
89562 cat confdefs.h >>conftest.$ac_ext
89563 cat >>conftest.$ac_ext <<_ACEOF
89564 /* end confdefs.h.  */
89565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89566    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89567 #define $ac_func innocuous_$ac_func
89568
89569 /* System header to define __stub macros and hopefully few prototypes,
89570     which can conflict with char $ac_func (); below.
89571     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89572     <limits.h> exists even on freestanding compilers.  */
89573
89574 #ifdef __STDC__
89575 # include <limits.h>
89576 #else
89577 # include <assert.h>
89578 #endif
89579
89580 #undef $ac_func
89581
89582 /* Override any gcc2 internal prototype to avoid an error.  */
89583 #ifdef __cplusplus
89584 extern "C"
89585 {
89586 #endif
89587 /* We use char because int might match the return type of a gcc2
89588    builtin and then its argument prototype would still apply.  */
89589 char $ac_func ();
89590 /* The GNU C library defines this for functions which it implements
89591     to always fail with ENOSYS.  Some functions are actually named
89592     something starting with __ and the normal name is an alias.  */
89593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89594 choke me
89595 #else
89596 char (*f) () = $ac_func;
89597 #endif
89598 #ifdef __cplusplus
89599 }
89600 #endif
89601
89602 int
89603 main ()
89604 {
89605 return f != $ac_func;
89606   ;
89607   return 0;
89608 }
89609 _ACEOF
89610 rm -f conftest.$ac_objext conftest$ac_exeext
89611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89612   (eval $ac_link) 2>conftest.er1
89613   ac_status=$?
89614   grep -v '^ *+' conftest.er1 >conftest.err
89615   rm -f conftest.er1
89616   cat conftest.err >&5
89617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89618   (exit $ac_status); } &&
89619          { ac_try='test -z "$ac_c_werror_flag"
89620                          || test ! -s conftest.err'
89621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89622   (eval $ac_try) 2>&5
89623   ac_status=$?
89624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89625   (exit $ac_status); }; } &&
89626          { ac_try='test -s conftest$ac_exeext'
89627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89628   (eval $ac_try) 2>&5
89629   ac_status=$?
89630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89631   (exit $ac_status); }; }; then
89632   eval "$as_ac_var=yes"
89633 else
89634   echo "$as_me: failed program was:" >&5
89635 sed 's/^/| /' conftest.$ac_ext >&5
89636
89637 eval "$as_ac_var=no"
89638 fi
89639 rm -f conftest.err conftest.$ac_objext \
89640       conftest$ac_exeext conftest.$ac_ext
89641 fi
89642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89644 if test `eval echo '${'$as_ac_var'}'` = yes; then
89645   cat >>confdefs.h <<_ACEOF
89646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89647 _ACEOF
89648
89649 fi
89650 done
89651
89652   else
89653
89654   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
89655 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
89656   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
89657     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
89658   echo $ECHO_N "(cached) $ECHO_C" >&6
89659 else
89660
89661
89662
89663       ac_ext=cc
89664 ac_cpp='$CXXCPP $CPPFLAGS'
89665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89668
89669       cat >conftest.$ac_ext <<_ACEOF
89670 /* confdefs.h.  */
89671 _ACEOF
89672 cat confdefs.h >>conftest.$ac_ext
89673 cat >>conftest.$ac_ext <<_ACEOF
89674 /* end confdefs.h.  */
89675 #include <math.h>
89676 int
89677 main ()
89678 {
89679  _sincos(0, 0, 0);
89680   ;
89681   return 0;
89682 }
89683 _ACEOF
89684 rm -f conftest.$ac_objext
89685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89686   (eval $ac_compile) 2>conftest.er1
89687   ac_status=$?
89688   grep -v '^ *+' conftest.er1 >conftest.err
89689   rm -f conftest.er1
89690   cat conftest.err >&5
89691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89692   (exit $ac_status); } &&
89693          { ac_try='test -z "$ac_cxx_werror_flag"
89694                          || test ! -s conftest.err'
89695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89696   (eval $ac_try) 2>&5
89697   ac_status=$?
89698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89699   (exit $ac_status); }; } &&
89700          { ac_try='test -s conftest.$ac_objext'
89701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89702   (eval $ac_try) 2>&5
89703   ac_status=$?
89704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89705   (exit $ac_status); }; }; then
89706   glibcxx_cv_func__sincos_use=yes
89707 else
89708   echo "$as_me: failed program was:" >&5
89709 sed 's/^/| /' conftest.$ac_ext >&5
89710
89711 glibcxx_cv_func__sincos_use=no
89712 fi
89713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89714       ac_ext=c
89715 ac_cpp='$CPP $CPPFLAGS'
89716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89719
89720
89721 fi
89722
89723   fi
89724   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
89725 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
89726
89727     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
89728
89729 for ac_func in _sincos
89730 do
89731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89732 echo "$as_me:$LINENO: checking for $ac_func" >&5
89733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89734 if eval "test \"\${$as_ac_var+set}\" = set"; then
89735   echo $ECHO_N "(cached) $ECHO_C" >&6
89736 else
89737   if test x$gcc_no_link = xyes; then
89738   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89740    { (exit 1); exit 1; }; }
89741 fi
89742 cat >conftest.$ac_ext <<_ACEOF
89743 /* confdefs.h.  */
89744 _ACEOF
89745 cat confdefs.h >>conftest.$ac_ext
89746 cat >>conftest.$ac_ext <<_ACEOF
89747 /* end confdefs.h.  */
89748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89749    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89750 #define $ac_func innocuous_$ac_func
89751
89752 /* System header to define __stub macros and hopefully few prototypes,
89753     which can conflict with char $ac_func (); below.
89754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89755     <limits.h> exists even on freestanding compilers.  */
89756
89757 #ifdef __STDC__
89758 # include <limits.h>
89759 #else
89760 # include <assert.h>
89761 #endif
89762
89763 #undef $ac_func
89764
89765 /* Override any gcc2 internal prototype to avoid an error.  */
89766 #ifdef __cplusplus
89767 extern "C"
89768 {
89769 #endif
89770 /* We use char because int might match the return type of a gcc2
89771    builtin and then its argument prototype would still apply.  */
89772 char $ac_func ();
89773 /* The GNU C library defines this for functions which it implements
89774     to always fail with ENOSYS.  Some functions are actually named
89775     something starting with __ and the normal name is an alias.  */
89776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89777 choke me
89778 #else
89779 char (*f) () = $ac_func;
89780 #endif
89781 #ifdef __cplusplus
89782 }
89783 #endif
89784
89785 int
89786 main ()
89787 {
89788 return f != $ac_func;
89789   ;
89790   return 0;
89791 }
89792 _ACEOF
89793 rm -f conftest.$ac_objext conftest$ac_exeext
89794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89795   (eval $ac_link) 2>conftest.er1
89796   ac_status=$?
89797   grep -v '^ *+' conftest.er1 >conftest.err
89798   rm -f conftest.er1
89799   cat conftest.err >&5
89800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89801   (exit $ac_status); } &&
89802          { ac_try='test -z "$ac_c_werror_flag"
89803                          || test ! -s conftest.err'
89804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89805   (eval $ac_try) 2>&5
89806   ac_status=$?
89807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89808   (exit $ac_status); }; } &&
89809          { ac_try='test -s conftest$ac_exeext'
89810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89811   (eval $ac_try) 2>&5
89812   ac_status=$?
89813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89814   (exit $ac_status); }; }; then
89815   eval "$as_ac_var=yes"
89816 else
89817   echo "$as_me: failed program was:" >&5
89818 sed 's/^/| /' conftest.$ac_ext >&5
89819
89820 eval "$as_ac_var=no"
89821 fi
89822 rm -f conftest.err conftest.$ac_objext \
89823       conftest$ac_exeext conftest.$ac_ext
89824 fi
89825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89827 if test `eval echo '${'$as_ac_var'}'` = yes; then
89828   cat >>confdefs.h <<_ACEOF
89829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89830 _ACEOF
89831
89832 fi
89833 done
89834
89835     fi
89836   fi
89837
89838
89839
89840
89841
89842
89843   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
89844 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
89845   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
89846     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
89847   echo $ECHO_N "(cached) $ECHO_C" >&6
89848 else
89849
89850
89851
89852       ac_ext=cc
89853 ac_cpp='$CXXCPP $CPPFLAGS'
89854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89857
89858       cat >conftest.$ac_ext <<_ACEOF
89859 /* confdefs.h.  */
89860 _ACEOF
89861 cat confdefs.h >>conftest.$ac_ext
89862 cat >>conftest.$ac_ext <<_ACEOF
89863 /* end confdefs.h.  */
89864 #include <math.h>
89865                       #ifdef HAVE_IEEEFP_H
89866                       #include <ieeefp.h>
89867                       #endif
89868
89869 int
89870 main ()
89871 {
89872  fpclass(0);
89873   ;
89874   return 0;
89875 }
89876 _ACEOF
89877 rm -f conftest.$ac_objext
89878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89879   (eval $ac_compile) 2>conftest.er1
89880   ac_status=$?
89881   grep -v '^ *+' conftest.er1 >conftest.err
89882   rm -f conftest.er1
89883   cat conftest.err >&5
89884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89885   (exit $ac_status); } &&
89886          { ac_try='test -z "$ac_cxx_werror_flag"
89887                          || test ! -s conftest.err'
89888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89889   (eval $ac_try) 2>&5
89890   ac_status=$?
89891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89892   (exit $ac_status); }; } &&
89893          { ac_try='test -s conftest.$ac_objext'
89894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89895   (eval $ac_try) 2>&5
89896   ac_status=$?
89897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89898   (exit $ac_status); }; }; then
89899   glibcxx_cv_func_fpclass_use=yes
89900 else
89901   echo "$as_me: failed program was:" >&5
89902 sed 's/^/| /' conftest.$ac_ext >&5
89903
89904 glibcxx_cv_func_fpclass_use=no
89905 fi
89906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89907       ac_ext=c
89908 ac_cpp='$CPP $CPPFLAGS'
89909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89912
89913
89914 fi
89915
89916   fi
89917   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
89918 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
89919
89920   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
89921
89922 for ac_func in fpclass
89923 do
89924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89925 echo "$as_me:$LINENO: checking for $ac_func" >&5
89926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89927 if eval "test \"\${$as_ac_var+set}\" = set"; then
89928   echo $ECHO_N "(cached) $ECHO_C" >&6
89929 else
89930   if test x$gcc_no_link = xyes; then
89931   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89933    { (exit 1); exit 1; }; }
89934 fi
89935 cat >conftest.$ac_ext <<_ACEOF
89936 /* confdefs.h.  */
89937 _ACEOF
89938 cat confdefs.h >>conftest.$ac_ext
89939 cat >>conftest.$ac_ext <<_ACEOF
89940 /* end confdefs.h.  */
89941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89942    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89943 #define $ac_func innocuous_$ac_func
89944
89945 /* System header to define __stub macros and hopefully few prototypes,
89946     which can conflict with char $ac_func (); below.
89947     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89948     <limits.h> exists even on freestanding compilers.  */
89949
89950 #ifdef __STDC__
89951 # include <limits.h>
89952 #else
89953 # include <assert.h>
89954 #endif
89955
89956 #undef $ac_func
89957
89958 /* Override any gcc2 internal prototype to avoid an error.  */
89959 #ifdef __cplusplus
89960 extern "C"
89961 {
89962 #endif
89963 /* We use char because int might match the return type of a gcc2
89964    builtin and then its argument prototype would still apply.  */
89965 char $ac_func ();
89966 /* The GNU C library defines this for functions which it implements
89967     to always fail with ENOSYS.  Some functions are actually named
89968     something starting with __ and the normal name is an alias.  */
89969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89970 choke me
89971 #else
89972 char (*f) () = $ac_func;
89973 #endif
89974 #ifdef __cplusplus
89975 }
89976 #endif
89977
89978 int
89979 main ()
89980 {
89981 return f != $ac_func;
89982   ;
89983   return 0;
89984 }
89985 _ACEOF
89986 rm -f conftest.$ac_objext conftest$ac_exeext
89987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89988   (eval $ac_link) 2>conftest.er1
89989   ac_status=$?
89990   grep -v '^ *+' conftest.er1 >conftest.err
89991   rm -f conftest.er1
89992   cat conftest.err >&5
89993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89994   (exit $ac_status); } &&
89995          { ac_try='test -z "$ac_c_werror_flag"
89996                          || test ! -s conftest.err'
89997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89998   (eval $ac_try) 2>&5
89999   ac_status=$?
90000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90001   (exit $ac_status); }; } &&
90002          { ac_try='test -s conftest$ac_exeext'
90003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90004   (eval $ac_try) 2>&5
90005   ac_status=$?
90006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90007   (exit $ac_status); }; }; then
90008   eval "$as_ac_var=yes"
90009 else
90010   echo "$as_me: failed program was:" >&5
90011 sed 's/^/| /' conftest.$ac_ext >&5
90012
90013 eval "$as_ac_var=no"
90014 fi
90015 rm -f conftest.err conftest.$ac_objext \
90016       conftest$ac_exeext conftest.$ac_ext
90017 fi
90018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90020 if test `eval echo '${'$as_ac_var'}'` = yes; then
90021   cat >>confdefs.h <<_ACEOF
90022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90023 _ACEOF
90024
90025 fi
90026 done
90027
90028   else
90029
90030   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
90031 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
90032   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
90033     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
90034   echo $ECHO_N "(cached) $ECHO_C" >&6
90035 else
90036
90037
90038
90039       ac_ext=cc
90040 ac_cpp='$CXXCPP $CPPFLAGS'
90041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90044
90045       cat >conftest.$ac_ext <<_ACEOF
90046 /* confdefs.h.  */
90047 _ACEOF
90048 cat confdefs.h >>conftest.$ac_ext
90049 cat >>conftest.$ac_ext <<_ACEOF
90050 /* end confdefs.h.  */
90051 #include <math.h>
90052                       #ifdef HAVE_IEEEFP_H
90053                       #include <ieeefp.h>
90054                       #endif
90055
90056 int
90057 main ()
90058 {
90059  _fpclass(0);
90060   ;
90061   return 0;
90062 }
90063 _ACEOF
90064 rm -f conftest.$ac_objext
90065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90066   (eval $ac_compile) 2>conftest.er1
90067   ac_status=$?
90068   grep -v '^ *+' conftest.er1 >conftest.err
90069   rm -f conftest.er1
90070   cat conftest.err >&5
90071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90072   (exit $ac_status); } &&
90073          { ac_try='test -z "$ac_cxx_werror_flag"
90074                          || test ! -s conftest.err'
90075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90076   (eval $ac_try) 2>&5
90077   ac_status=$?
90078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90079   (exit $ac_status); }; } &&
90080          { ac_try='test -s conftest.$ac_objext'
90081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90082   (eval $ac_try) 2>&5
90083   ac_status=$?
90084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90085   (exit $ac_status); }; }; then
90086   glibcxx_cv_func__fpclass_use=yes
90087 else
90088   echo "$as_me: failed program was:" >&5
90089 sed 's/^/| /' conftest.$ac_ext >&5
90090
90091 glibcxx_cv_func__fpclass_use=no
90092 fi
90093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90094       ac_ext=c
90095 ac_cpp='$CPP $CPPFLAGS'
90096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90099
90100
90101 fi
90102
90103   fi
90104   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
90105 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
90106
90107     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
90108
90109 for ac_func in _fpclass
90110 do
90111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90112 echo "$as_me:$LINENO: checking for $ac_func" >&5
90113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90114 if eval "test \"\${$as_ac_var+set}\" = set"; then
90115   echo $ECHO_N "(cached) $ECHO_C" >&6
90116 else
90117   if test x$gcc_no_link = xyes; then
90118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90120    { (exit 1); exit 1; }; }
90121 fi
90122 cat >conftest.$ac_ext <<_ACEOF
90123 /* confdefs.h.  */
90124 _ACEOF
90125 cat confdefs.h >>conftest.$ac_ext
90126 cat >>conftest.$ac_ext <<_ACEOF
90127 /* end confdefs.h.  */
90128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90129    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90130 #define $ac_func innocuous_$ac_func
90131
90132 /* System header to define __stub macros and hopefully few prototypes,
90133     which can conflict with char $ac_func (); below.
90134     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90135     <limits.h> exists even on freestanding compilers.  */
90136
90137 #ifdef __STDC__
90138 # include <limits.h>
90139 #else
90140 # include <assert.h>
90141 #endif
90142
90143 #undef $ac_func
90144
90145 /* Override any gcc2 internal prototype to avoid an error.  */
90146 #ifdef __cplusplus
90147 extern "C"
90148 {
90149 #endif
90150 /* We use char because int might match the return type of a gcc2
90151    builtin and then its argument prototype would still apply.  */
90152 char $ac_func ();
90153 /* The GNU C library defines this for functions which it implements
90154     to always fail with ENOSYS.  Some functions are actually named
90155     something starting with __ and the normal name is an alias.  */
90156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90157 choke me
90158 #else
90159 char (*f) () = $ac_func;
90160 #endif
90161 #ifdef __cplusplus
90162 }
90163 #endif
90164
90165 int
90166 main ()
90167 {
90168 return f != $ac_func;
90169   ;
90170   return 0;
90171 }
90172 _ACEOF
90173 rm -f conftest.$ac_objext conftest$ac_exeext
90174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90175   (eval $ac_link) 2>conftest.er1
90176   ac_status=$?
90177   grep -v '^ *+' conftest.er1 >conftest.err
90178   rm -f conftest.er1
90179   cat conftest.err >&5
90180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90181   (exit $ac_status); } &&
90182          { ac_try='test -z "$ac_c_werror_flag"
90183                          || test ! -s conftest.err'
90184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90185   (eval $ac_try) 2>&5
90186   ac_status=$?
90187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90188   (exit $ac_status); }; } &&
90189          { ac_try='test -s conftest$ac_exeext'
90190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90191   (eval $ac_try) 2>&5
90192   ac_status=$?
90193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90194   (exit $ac_status); }; }; then
90195   eval "$as_ac_var=yes"
90196 else
90197   echo "$as_me: failed program was:" >&5
90198 sed 's/^/| /' conftest.$ac_ext >&5
90199
90200 eval "$as_ac_var=no"
90201 fi
90202 rm -f conftest.err conftest.$ac_objext \
90203       conftest$ac_exeext conftest.$ac_ext
90204 fi
90205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90207 if test `eval echo '${'$as_ac_var'}'` = yes; then
90208   cat >>confdefs.h <<_ACEOF
90209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90210 _ACEOF
90211
90212 fi
90213 done
90214
90215     fi
90216   fi
90217
90218
90219
90220
90221
90222
90223   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
90224 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
90225   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
90226     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
90227   echo $ECHO_N "(cached) $ECHO_C" >&6
90228 else
90229
90230
90231
90232       ac_ext=cc
90233 ac_cpp='$CXXCPP $CPPFLAGS'
90234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90237
90238       cat >conftest.$ac_ext <<_ACEOF
90239 /* confdefs.h.  */
90240 _ACEOF
90241 cat confdefs.h >>conftest.$ac_ext
90242 cat >>conftest.$ac_ext <<_ACEOF
90243 /* end confdefs.h.  */
90244 #include <math.h>
90245                       #ifdef HAVE_IEEEFP_H
90246                       #include <ieeefp.h>
90247                       #endif
90248
90249 int
90250 main ()
90251 {
90252  qfpclass(0);
90253   ;
90254   return 0;
90255 }
90256 _ACEOF
90257 rm -f conftest.$ac_objext
90258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90259   (eval $ac_compile) 2>conftest.er1
90260   ac_status=$?
90261   grep -v '^ *+' conftest.er1 >conftest.err
90262   rm -f conftest.er1
90263   cat conftest.err >&5
90264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90265   (exit $ac_status); } &&
90266          { ac_try='test -z "$ac_cxx_werror_flag"
90267                          || test ! -s conftest.err'
90268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90269   (eval $ac_try) 2>&5
90270   ac_status=$?
90271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90272   (exit $ac_status); }; } &&
90273          { ac_try='test -s conftest.$ac_objext'
90274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90275   (eval $ac_try) 2>&5
90276   ac_status=$?
90277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90278   (exit $ac_status); }; }; then
90279   glibcxx_cv_func_qfpclass_use=yes
90280 else
90281   echo "$as_me: failed program was:" >&5
90282 sed 's/^/| /' conftest.$ac_ext >&5
90283
90284 glibcxx_cv_func_qfpclass_use=no
90285 fi
90286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90287       ac_ext=c
90288 ac_cpp='$CPP $CPPFLAGS'
90289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90292
90293
90294 fi
90295
90296   fi
90297   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
90298 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
90299
90300   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
90301
90302 for ac_func in qfpclass
90303 do
90304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90305 echo "$as_me:$LINENO: checking for $ac_func" >&5
90306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90307 if eval "test \"\${$as_ac_var+set}\" = set"; then
90308   echo $ECHO_N "(cached) $ECHO_C" >&6
90309 else
90310   if test x$gcc_no_link = xyes; then
90311   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90313    { (exit 1); exit 1; }; }
90314 fi
90315 cat >conftest.$ac_ext <<_ACEOF
90316 /* confdefs.h.  */
90317 _ACEOF
90318 cat confdefs.h >>conftest.$ac_ext
90319 cat >>conftest.$ac_ext <<_ACEOF
90320 /* end confdefs.h.  */
90321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90322    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90323 #define $ac_func innocuous_$ac_func
90324
90325 /* System header to define __stub macros and hopefully few prototypes,
90326     which can conflict with char $ac_func (); below.
90327     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90328     <limits.h> exists even on freestanding compilers.  */
90329
90330 #ifdef __STDC__
90331 # include <limits.h>
90332 #else
90333 # include <assert.h>
90334 #endif
90335
90336 #undef $ac_func
90337
90338 /* Override any gcc2 internal prototype to avoid an error.  */
90339 #ifdef __cplusplus
90340 extern "C"
90341 {
90342 #endif
90343 /* We use char because int might match the return type of a gcc2
90344    builtin and then its argument prototype would still apply.  */
90345 char $ac_func ();
90346 /* The GNU C library defines this for functions which it implements
90347     to always fail with ENOSYS.  Some functions are actually named
90348     something starting with __ and the normal name is an alias.  */
90349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90350 choke me
90351 #else
90352 char (*f) () = $ac_func;
90353 #endif
90354 #ifdef __cplusplus
90355 }
90356 #endif
90357
90358 int
90359 main ()
90360 {
90361 return f != $ac_func;
90362   ;
90363   return 0;
90364 }
90365 _ACEOF
90366 rm -f conftest.$ac_objext conftest$ac_exeext
90367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90368   (eval $ac_link) 2>conftest.er1
90369   ac_status=$?
90370   grep -v '^ *+' conftest.er1 >conftest.err
90371   rm -f conftest.er1
90372   cat conftest.err >&5
90373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90374   (exit $ac_status); } &&
90375          { ac_try='test -z "$ac_c_werror_flag"
90376                          || test ! -s conftest.err'
90377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90378   (eval $ac_try) 2>&5
90379   ac_status=$?
90380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90381   (exit $ac_status); }; } &&
90382          { ac_try='test -s conftest$ac_exeext'
90383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90384   (eval $ac_try) 2>&5
90385   ac_status=$?
90386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90387   (exit $ac_status); }; }; then
90388   eval "$as_ac_var=yes"
90389 else
90390   echo "$as_me: failed program was:" >&5
90391 sed 's/^/| /' conftest.$ac_ext >&5
90392
90393 eval "$as_ac_var=no"
90394 fi
90395 rm -f conftest.err conftest.$ac_objext \
90396       conftest$ac_exeext conftest.$ac_ext
90397 fi
90398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90400 if test `eval echo '${'$as_ac_var'}'` = yes; then
90401   cat >>confdefs.h <<_ACEOF
90402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90403 _ACEOF
90404
90405 fi
90406 done
90407
90408   else
90409
90410   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
90411 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
90412   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
90413     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
90414   echo $ECHO_N "(cached) $ECHO_C" >&6
90415 else
90416
90417
90418
90419       ac_ext=cc
90420 ac_cpp='$CXXCPP $CPPFLAGS'
90421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90424
90425       cat >conftest.$ac_ext <<_ACEOF
90426 /* confdefs.h.  */
90427 _ACEOF
90428 cat confdefs.h >>conftest.$ac_ext
90429 cat >>conftest.$ac_ext <<_ACEOF
90430 /* end confdefs.h.  */
90431 #include <math.h>
90432                       #ifdef HAVE_IEEEFP_H
90433                       #include <ieeefp.h>
90434                       #endif
90435
90436 int
90437 main ()
90438 {
90439  _qfpclass(0);
90440   ;
90441   return 0;
90442 }
90443 _ACEOF
90444 rm -f conftest.$ac_objext
90445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90446   (eval $ac_compile) 2>conftest.er1
90447   ac_status=$?
90448   grep -v '^ *+' conftest.er1 >conftest.err
90449   rm -f conftest.er1
90450   cat conftest.err >&5
90451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90452   (exit $ac_status); } &&
90453          { ac_try='test -z "$ac_cxx_werror_flag"
90454                          || test ! -s conftest.err'
90455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90456   (eval $ac_try) 2>&5
90457   ac_status=$?
90458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90459   (exit $ac_status); }; } &&
90460          { ac_try='test -s conftest.$ac_objext'
90461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90462   (eval $ac_try) 2>&5
90463   ac_status=$?
90464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90465   (exit $ac_status); }; }; then
90466   glibcxx_cv_func__qfpclass_use=yes
90467 else
90468   echo "$as_me: failed program was:" >&5
90469 sed 's/^/| /' conftest.$ac_ext >&5
90470
90471 glibcxx_cv_func__qfpclass_use=no
90472 fi
90473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90474       ac_ext=c
90475 ac_cpp='$CPP $CPPFLAGS'
90476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90479
90480
90481 fi
90482
90483   fi
90484   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
90485 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
90486
90487     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
90488
90489 for ac_func in _qfpclass
90490 do
90491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90492 echo "$as_me:$LINENO: checking for $ac_func" >&5
90493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90494 if eval "test \"\${$as_ac_var+set}\" = set"; then
90495   echo $ECHO_N "(cached) $ECHO_C" >&6
90496 else
90497   if test x$gcc_no_link = xyes; then
90498   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90500    { (exit 1); exit 1; }; }
90501 fi
90502 cat >conftest.$ac_ext <<_ACEOF
90503 /* confdefs.h.  */
90504 _ACEOF
90505 cat confdefs.h >>conftest.$ac_ext
90506 cat >>conftest.$ac_ext <<_ACEOF
90507 /* end confdefs.h.  */
90508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90509    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90510 #define $ac_func innocuous_$ac_func
90511
90512 /* System header to define __stub macros and hopefully few prototypes,
90513     which can conflict with char $ac_func (); below.
90514     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90515     <limits.h> exists even on freestanding compilers.  */
90516
90517 #ifdef __STDC__
90518 # include <limits.h>
90519 #else
90520 # include <assert.h>
90521 #endif
90522
90523 #undef $ac_func
90524
90525 /* Override any gcc2 internal prototype to avoid an error.  */
90526 #ifdef __cplusplus
90527 extern "C"
90528 {
90529 #endif
90530 /* We use char because int might match the return type of a gcc2
90531    builtin and then its argument prototype would still apply.  */
90532 char $ac_func ();
90533 /* The GNU C library defines this for functions which it implements
90534     to always fail with ENOSYS.  Some functions are actually named
90535     something starting with __ and the normal name is an alias.  */
90536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90537 choke me
90538 #else
90539 char (*f) () = $ac_func;
90540 #endif
90541 #ifdef __cplusplus
90542 }
90543 #endif
90544
90545 int
90546 main ()
90547 {
90548 return f != $ac_func;
90549   ;
90550   return 0;
90551 }
90552 _ACEOF
90553 rm -f conftest.$ac_objext conftest$ac_exeext
90554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90555   (eval $ac_link) 2>conftest.er1
90556   ac_status=$?
90557   grep -v '^ *+' conftest.er1 >conftest.err
90558   rm -f conftest.er1
90559   cat conftest.err >&5
90560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90561   (exit $ac_status); } &&
90562          { ac_try='test -z "$ac_c_werror_flag"
90563                          || test ! -s conftest.err'
90564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90565   (eval $ac_try) 2>&5
90566   ac_status=$?
90567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90568   (exit $ac_status); }; } &&
90569          { ac_try='test -s conftest$ac_exeext'
90570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90571   (eval $ac_try) 2>&5
90572   ac_status=$?
90573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90574   (exit $ac_status); }; }; then
90575   eval "$as_ac_var=yes"
90576 else
90577   echo "$as_me: failed program was:" >&5
90578 sed 's/^/| /' conftest.$ac_ext >&5
90579
90580 eval "$as_ac_var=no"
90581 fi
90582 rm -f conftest.err conftest.$ac_objext \
90583       conftest$ac_exeext conftest.$ac_ext
90584 fi
90585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90587 if test `eval echo '${'$as_ac_var'}'` = yes; then
90588   cat >>confdefs.h <<_ACEOF
90589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90590 _ACEOF
90591
90592 fi
90593 done
90594
90595     fi
90596   fi
90597
90598
90599
90600
90601
90602
90603   echo "$as_me:$LINENO: checking for hypot declaration" >&5
90604 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
90605   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
90606     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
90607   echo $ECHO_N "(cached) $ECHO_C" >&6
90608 else
90609
90610
90611
90612       ac_ext=cc
90613 ac_cpp='$CXXCPP $CPPFLAGS'
90614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90617
90618       cat >conftest.$ac_ext <<_ACEOF
90619 /* confdefs.h.  */
90620 _ACEOF
90621 cat confdefs.h >>conftest.$ac_ext
90622 cat >>conftest.$ac_ext <<_ACEOF
90623 /* end confdefs.h.  */
90624 #include <math.h>
90625 int
90626 main ()
90627 {
90628  hypot(0, 0);
90629   ;
90630   return 0;
90631 }
90632 _ACEOF
90633 rm -f conftest.$ac_objext
90634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90635   (eval $ac_compile) 2>conftest.er1
90636   ac_status=$?
90637   grep -v '^ *+' conftest.er1 >conftest.err
90638   rm -f conftest.er1
90639   cat conftest.err >&5
90640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90641   (exit $ac_status); } &&
90642          { ac_try='test -z "$ac_cxx_werror_flag"
90643                          || test ! -s conftest.err'
90644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90645   (eval $ac_try) 2>&5
90646   ac_status=$?
90647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90648   (exit $ac_status); }; } &&
90649          { ac_try='test -s conftest.$ac_objext'
90650   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90651   (eval $ac_try) 2>&5
90652   ac_status=$?
90653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90654   (exit $ac_status); }; }; then
90655   glibcxx_cv_func_hypot_use=yes
90656 else
90657   echo "$as_me: failed program was:" >&5
90658 sed 's/^/| /' conftest.$ac_ext >&5
90659
90660 glibcxx_cv_func_hypot_use=no
90661 fi
90662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90663       ac_ext=c
90664 ac_cpp='$CPP $CPPFLAGS'
90665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90668
90669
90670 fi
90671
90672   fi
90673   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
90674 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
90675
90676   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
90677
90678 for ac_func in hypot
90679 do
90680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90681 echo "$as_me:$LINENO: checking for $ac_func" >&5
90682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90683 if eval "test \"\${$as_ac_var+set}\" = set"; then
90684   echo $ECHO_N "(cached) $ECHO_C" >&6
90685 else
90686   if test x$gcc_no_link = xyes; then
90687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90689    { (exit 1); exit 1; }; }
90690 fi
90691 cat >conftest.$ac_ext <<_ACEOF
90692 /* confdefs.h.  */
90693 _ACEOF
90694 cat confdefs.h >>conftest.$ac_ext
90695 cat >>conftest.$ac_ext <<_ACEOF
90696 /* end confdefs.h.  */
90697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90698    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90699 #define $ac_func innocuous_$ac_func
90700
90701 /* System header to define __stub macros and hopefully few prototypes,
90702     which can conflict with char $ac_func (); below.
90703     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90704     <limits.h> exists even on freestanding compilers.  */
90705
90706 #ifdef __STDC__
90707 # include <limits.h>
90708 #else
90709 # include <assert.h>
90710 #endif
90711
90712 #undef $ac_func
90713
90714 /* Override any gcc2 internal prototype to avoid an error.  */
90715 #ifdef __cplusplus
90716 extern "C"
90717 {
90718 #endif
90719 /* We use char because int might match the return type of a gcc2
90720    builtin and then its argument prototype would still apply.  */
90721 char $ac_func ();
90722 /* The GNU C library defines this for functions which it implements
90723     to always fail with ENOSYS.  Some functions are actually named
90724     something starting with __ and the normal name is an alias.  */
90725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90726 choke me
90727 #else
90728 char (*f) () = $ac_func;
90729 #endif
90730 #ifdef __cplusplus
90731 }
90732 #endif
90733
90734 int
90735 main ()
90736 {
90737 return f != $ac_func;
90738   ;
90739   return 0;
90740 }
90741 _ACEOF
90742 rm -f conftest.$ac_objext conftest$ac_exeext
90743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90744   (eval $ac_link) 2>conftest.er1
90745   ac_status=$?
90746   grep -v '^ *+' conftest.er1 >conftest.err
90747   rm -f conftest.er1
90748   cat conftest.err >&5
90749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90750   (exit $ac_status); } &&
90751          { ac_try='test -z "$ac_c_werror_flag"
90752                          || test ! -s conftest.err'
90753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90754   (eval $ac_try) 2>&5
90755   ac_status=$?
90756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90757   (exit $ac_status); }; } &&
90758          { ac_try='test -s conftest$ac_exeext'
90759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90760   (eval $ac_try) 2>&5
90761   ac_status=$?
90762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90763   (exit $ac_status); }; }; then
90764   eval "$as_ac_var=yes"
90765 else
90766   echo "$as_me: failed program was:" >&5
90767 sed 's/^/| /' conftest.$ac_ext >&5
90768
90769 eval "$as_ac_var=no"
90770 fi
90771 rm -f conftest.err conftest.$ac_objext \
90772       conftest$ac_exeext conftest.$ac_ext
90773 fi
90774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90776 if test `eval echo '${'$as_ac_var'}'` = yes; then
90777   cat >>confdefs.h <<_ACEOF
90778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90779 _ACEOF
90780
90781 fi
90782 done
90783
90784   else
90785
90786   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
90787 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
90788   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
90789     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
90790   echo $ECHO_N "(cached) $ECHO_C" >&6
90791 else
90792
90793
90794
90795       ac_ext=cc
90796 ac_cpp='$CXXCPP $CPPFLAGS'
90797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90800
90801       cat >conftest.$ac_ext <<_ACEOF
90802 /* confdefs.h.  */
90803 _ACEOF
90804 cat confdefs.h >>conftest.$ac_ext
90805 cat >>conftest.$ac_ext <<_ACEOF
90806 /* end confdefs.h.  */
90807 #include <math.h>
90808 int
90809 main ()
90810 {
90811  _hypot(0, 0);
90812   ;
90813   return 0;
90814 }
90815 _ACEOF
90816 rm -f conftest.$ac_objext
90817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90818   (eval $ac_compile) 2>conftest.er1
90819   ac_status=$?
90820   grep -v '^ *+' conftest.er1 >conftest.err
90821   rm -f conftest.er1
90822   cat conftest.err >&5
90823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90824   (exit $ac_status); } &&
90825          { ac_try='test -z "$ac_cxx_werror_flag"
90826                          || test ! -s conftest.err'
90827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90828   (eval $ac_try) 2>&5
90829   ac_status=$?
90830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90831   (exit $ac_status); }; } &&
90832          { ac_try='test -s conftest.$ac_objext'
90833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90834   (eval $ac_try) 2>&5
90835   ac_status=$?
90836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90837   (exit $ac_status); }; }; then
90838   glibcxx_cv_func__hypot_use=yes
90839 else
90840   echo "$as_me: failed program was:" >&5
90841 sed 's/^/| /' conftest.$ac_ext >&5
90842
90843 glibcxx_cv_func__hypot_use=no
90844 fi
90845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90846       ac_ext=c
90847 ac_cpp='$CPP $CPPFLAGS'
90848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90851
90852
90853 fi
90854
90855   fi
90856   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
90857 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
90858
90859     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
90860
90861 for ac_func in _hypot
90862 do
90863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90864 echo "$as_me:$LINENO: checking for $ac_func" >&5
90865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90866 if eval "test \"\${$as_ac_var+set}\" = set"; then
90867   echo $ECHO_N "(cached) $ECHO_C" >&6
90868 else
90869   if test x$gcc_no_link = xyes; then
90870   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90872    { (exit 1); exit 1; }; }
90873 fi
90874 cat >conftest.$ac_ext <<_ACEOF
90875 /* confdefs.h.  */
90876 _ACEOF
90877 cat confdefs.h >>conftest.$ac_ext
90878 cat >>conftest.$ac_ext <<_ACEOF
90879 /* end confdefs.h.  */
90880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90881    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90882 #define $ac_func innocuous_$ac_func
90883
90884 /* System header to define __stub macros and hopefully few prototypes,
90885     which can conflict with char $ac_func (); below.
90886     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90887     <limits.h> exists even on freestanding compilers.  */
90888
90889 #ifdef __STDC__
90890 # include <limits.h>
90891 #else
90892 # include <assert.h>
90893 #endif
90894
90895 #undef $ac_func
90896
90897 /* Override any gcc2 internal prototype to avoid an error.  */
90898 #ifdef __cplusplus
90899 extern "C"
90900 {
90901 #endif
90902 /* We use char because int might match the return type of a gcc2
90903    builtin and then its argument prototype would still apply.  */
90904 char $ac_func ();
90905 /* The GNU C library defines this for functions which it implements
90906     to always fail with ENOSYS.  Some functions are actually named
90907     something starting with __ and the normal name is an alias.  */
90908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90909 choke me
90910 #else
90911 char (*f) () = $ac_func;
90912 #endif
90913 #ifdef __cplusplus
90914 }
90915 #endif
90916
90917 int
90918 main ()
90919 {
90920 return f != $ac_func;
90921   ;
90922   return 0;
90923 }
90924 _ACEOF
90925 rm -f conftest.$ac_objext conftest$ac_exeext
90926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90927   (eval $ac_link) 2>conftest.er1
90928   ac_status=$?
90929   grep -v '^ *+' conftest.er1 >conftest.err
90930   rm -f conftest.er1
90931   cat conftest.err >&5
90932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90933   (exit $ac_status); } &&
90934          { ac_try='test -z "$ac_c_werror_flag"
90935                          || test ! -s conftest.err'
90936   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90937   (eval $ac_try) 2>&5
90938   ac_status=$?
90939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90940   (exit $ac_status); }; } &&
90941          { ac_try='test -s conftest$ac_exeext'
90942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90943   (eval $ac_try) 2>&5
90944   ac_status=$?
90945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90946   (exit $ac_status); }; }; then
90947   eval "$as_ac_var=yes"
90948 else
90949   echo "$as_me: failed program was:" >&5
90950 sed 's/^/| /' conftest.$ac_ext >&5
90951
90952 eval "$as_ac_var=no"
90953 fi
90954 rm -f conftest.err conftest.$ac_objext \
90955       conftest$ac_exeext conftest.$ac_ext
90956 fi
90957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90959 if test `eval echo '${'$as_ac_var'}'` = yes; then
90960   cat >>confdefs.h <<_ACEOF
90961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90962 _ACEOF
90963
90964 fi
90965 done
90966
90967     fi
90968   fi
90969
90970
90971
90972
90973
90974
90975     echo "$as_me:$LINENO: checking for float trig functions" >&5
90976 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
90977   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
90978   echo $ECHO_N "(cached) $ECHO_C" >&6
90979 else
90980
90981
90982
90983     ac_ext=cc
90984 ac_cpp='$CXXCPP $CPPFLAGS'
90985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90988
90989     cat >conftest.$ac_ext <<_ACEOF
90990 /* confdefs.h.  */
90991 _ACEOF
90992 cat confdefs.h >>conftest.$ac_ext
90993 cat >>conftest.$ac_ext <<_ACEOF
90994 /* end confdefs.h.  */
90995 #include <math.h>
90996 int
90997 main ()
90998 {
90999 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
91000   ;
91001   return 0;
91002 }
91003 _ACEOF
91004 rm -f conftest.$ac_objext
91005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91006   (eval $ac_compile) 2>conftest.er1
91007   ac_status=$?
91008   grep -v '^ *+' conftest.er1 >conftest.err
91009   rm -f conftest.er1
91010   cat conftest.err >&5
91011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91012   (exit $ac_status); } &&
91013          { ac_try='test -z "$ac_cxx_werror_flag"
91014                          || test ! -s conftest.err'
91015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91016   (eval $ac_try) 2>&5
91017   ac_status=$?
91018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91019   (exit $ac_status); }; } &&
91020          { ac_try='test -s conftest.$ac_objext'
91021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91022   (eval $ac_try) 2>&5
91023   ac_status=$?
91024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91025   (exit $ac_status); }; }; then
91026   glibcxx_cv_func_float_trig_use=yes
91027 else
91028   echo "$as_me: failed program was:" >&5
91029 sed 's/^/| /' conftest.$ac_ext >&5
91030
91031 glibcxx_cv_func_float_trig_use=no
91032 fi
91033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91034     ac_ext=c
91035 ac_cpp='$CPP $CPPFLAGS'
91036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91039
91040 fi
91041
91042   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
91043 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
91044   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
91045
91046
91047
91048
91049
91050
91051
91052
91053
91054 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
91055 do
91056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91057 echo "$as_me:$LINENO: checking for $ac_func" >&5
91058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91059 if eval "test \"\${$as_ac_var+set}\" = set"; then
91060   echo $ECHO_N "(cached) $ECHO_C" >&6
91061 else
91062   if test x$gcc_no_link = xyes; then
91063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91065    { (exit 1); exit 1; }; }
91066 fi
91067 cat >conftest.$ac_ext <<_ACEOF
91068 /* confdefs.h.  */
91069 _ACEOF
91070 cat confdefs.h >>conftest.$ac_ext
91071 cat >>conftest.$ac_ext <<_ACEOF
91072 /* end confdefs.h.  */
91073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91074    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91075 #define $ac_func innocuous_$ac_func
91076
91077 /* System header to define __stub macros and hopefully few prototypes,
91078     which can conflict with char $ac_func (); below.
91079     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91080     <limits.h> exists even on freestanding compilers.  */
91081
91082 #ifdef __STDC__
91083 # include <limits.h>
91084 #else
91085 # include <assert.h>
91086 #endif
91087
91088 #undef $ac_func
91089
91090 /* Override any gcc2 internal prototype to avoid an error.  */
91091 #ifdef __cplusplus
91092 extern "C"
91093 {
91094 #endif
91095 /* We use char because int might match the return type of a gcc2
91096    builtin and then its argument prototype would still apply.  */
91097 char $ac_func ();
91098 /* The GNU C library defines this for functions which it implements
91099     to always fail with ENOSYS.  Some functions are actually named
91100     something starting with __ and the normal name is an alias.  */
91101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91102 choke me
91103 #else
91104 char (*f) () = $ac_func;
91105 #endif
91106 #ifdef __cplusplus
91107 }
91108 #endif
91109
91110 int
91111 main ()
91112 {
91113 return f != $ac_func;
91114   ;
91115   return 0;
91116 }
91117 _ACEOF
91118 rm -f conftest.$ac_objext conftest$ac_exeext
91119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91120   (eval $ac_link) 2>conftest.er1
91121   ac_status=$?
91122   grep -v '^ *+' conftest.er1 >conftest.err
91123   rm -f conftest.er1
91124   cat conftest.err >&5
91125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91126   (exit $ac_status); } &&
91127          { ac_try='test -z "$ac_c_werror_flag"
91128                          || test ! -s conftest.err'
91129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91130   (eval $ac_try) 2>&5
91131   ac_status=$?
91132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91133   (exit $ac_status); }; } &&
91134          { ac_try='test -s conftest$ac_exeext'
91135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91136   (eval $ac_try) 2>&5
91137   ac_status=$?
91138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91139   (exit $ac_status); }; }; then
91140   eval "$as_ac_var=yes"
91141 else
91142   echo "$as_me: failed program was:" >&5
91143 sed 's/^/| /' conftest.$ac_ext >&5
91144
91145 eval "$as_ac_var=no"
91146 fi
91147 rm -f conftest.err conftest.$ac_objext \
91148       conftest$ac_exeext conftest.$ac_ext
91149 fi
91150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91152 if test `eval echo '${'$as_ac_var'}'` = yes; then
91153   cat >>confdefs.h <<_ACEOF
91154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91155 _ACEOF
91156
91157 fi
91158 done
91159
91160   else
91161     echo "$as_me:$LINENO: checking for _float trig functions" >&5
91162 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
91163     if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
91164   echo $ECHO_N "(cached) $ECHO_C" >&6
91165 else
91166
91167
91168
91169       ac_ext=cc
91170 ac_cpp='$CXXCPP $CPPFLAGS'
91171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91174
91175       cat >conftest.$ac_ext <<_ACEOF
91176 /* confdefs.h.  */
91177 _ACEOF
91178 cat confdefs.h >>conftest.$ac_ext
91179 cat >>conftest.$ac_ext <<_ACEOF
91180 /* end confdefs.h.  */
91181 #include <math.h>
91182 int
91183 main ()
91184 {
91185 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
91186   ;
91187   return 0;
91188 }
91189 _ACEOF
91190 rm -f conftest.$ac_objext
91191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91192   (eval $ac_compile) 2>conftest.er1
91193   ac_status=$?
91194   grep -v '^ *+' conftest.er1 >conftest.err
91195   rm -f conftest.er1
91196   cat conftest.err >&5
91197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91198   (exit $ac_status); } &&
91199          { ac_try='test -z "$ac_cxx_werror_flag"
91200                          || test ! -s conftest.err'
91201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91202   (eval $ac_try) 2>&5
91203   ac_status=$?
91204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91205   (exit $ac_status); }; } &&
91206          { ac_try='test -s conftest.$ac_objext'
91207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91208   (eval $ac_try) 2>&5
91209   ac_status=$?
91210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91211   (exit $ac_status); }; }; then
91212   glibcxx_cv_func__float_trig_use=yes
91213 else
91214   echo "$as_me: failed program was:" >&5
91215 sed 's/^/| /' conftest.$ac_ext >&5
91216
91217 glibcxx_cv_func__float_trig_use=no
91218 fi
91219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91220       ac_ext=c
91221 ac_cpp='$CPP $CPPFLAGS'
91222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91225
91226 fi
91227
91228     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
91229 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
91230     if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
91231
91232
91233
91234
91235
91236
91237
91238
91239
91240 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
91241 do
91242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91243 echo "$as_me:$LINENO: checking for $ac_func" >&5
91244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91245 if eval "test \"\${$as_ac_var+set}\" = set"; then
91246   echo $ECHO_N "(cached) $ECHO_C" >&6
91247 else
91248   if test x$gcc_no_link = xyes; then
91249   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91251    { (exit 1); exit 1; }; }
91252 fi
91253 cat >conftest.$ac_ext <<_ACEOF
91254 /* confdefs.h.  */
91255 _ACEOF
91256 cat confdefs.h >>conftest.$ac_ext
91257 cat >>conftest.$ac_ext <<_ACEOF
91258 /* end confdefs.h.  */
91259 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91260    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91261 #define $ac_func innocuous_$ac_func
91262
91263 /* System header to define __stub macros and hopefully few prototypes,
91264     which can conflict with char $ac_func (); below.
91265     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91266     <limits.h> exists even on freestanding compilers.  */
91267
91268 #ifdef __STDC__
91269 # include <limits.h>
91270 #else
91271 # include <assert.h>
91272 #endif
91273
91274 #undef $ac_func
91275
91276 /* Override any gcc2 internal prototype to avoid an error.  */
91277 #ifdef __cplusplus
91278 extern "C"
91279 {
91280 #endif
91281 /* We use char because int might match the return type of a gcc2
91282    builtin and then its argument prototype would still apply.  */
91283 char $ac_func ();
91284 /* The GNU C library defines this for functions which it implements
91285     to always fail with ENOSYS.  Some functions are actually named
91286     something starting with __ and the normal name is an alias.  */
91287 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91288 choke me
91289 #else
91290 char (*f) () = $ac_func;
91291 #endif
91292 #ifdef __cplusplus
91293 }
91294 #endif
91295
91296 int
91297 main ()
91298 {
91299 return f != $ac_func;
91300   ;
91301   return 0;
91302 }
91303 _ACEOF
91304 rm -f conftest.$ac_objext conftest$ac_exeext
91305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91306   (eval $ac_link) 2>conftest.er1
91307   ac_status=$?
91308   grep -v '^ *+' conftest.er1 >conftest.err
91309   rm -f conftest.er1
91310   cat conftest.err >&5
91311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91312   (exit $ac_status); } &&
91313          { ac_try='test -z "$ac_c_werror_flag"
91314                          || test ! -s conftest.err'
91315   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91316   (eval $ac_try) 2>&5
91317   ac_status=$?
91318   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91319   (exit $ac_status); }; } &&
91320          { ac_try='test -s conftest$ac_exeext'
91321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91322   (eval $ac_try) 2>&5
91323   ac_status=$?
91324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91325   (exit $ac_status); }; }; then
91326   eval "$as_ac_var=yes"
91327 else
91328   echo "$as_me: failed program was:" >&5
91329 sed 's/^/| /' conftest.$ac_ext >&5
91330
91331 eval "$as_ac_var=no"
91332 fi
91333 rm -f conftest.err conftest.$ac_objext \
91334       conftest$ac_exeext conftest.$ac_ext
91335 fi
91336 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91337 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91338 if test `eval echo '${'$as_ac_var'}'` = yes; then
91339   cat >>confdefs.h <<_ACEOF
91340 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91341 _ACEOF
91342
91343 fi
91344 done
91345
91346     fi
91347   fi
91348
91349
91350
91351
91352
91353
91354
91355
91356
91357
91358
91359
91360
91361
91362     echo "$as_me:$LINENO: checking for float round functions" >&5
91363 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
91364   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
91365   echo $ECHO_N "(cached) $ECHO_C" >&6
91366 else
91367
91368
91369
91370     ac_ext=cc
91371 ac_cpp='$CXXCPP $CPPFLAGS'
91372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91375
91376     cat >conftest.$ac_ext <<_ACEOF
91377 /* confdefs.h.  */
91378 _ACEOF
91379 cat confdefs.h >>conftest.$ac_ext
91380 cat >>conftest.$ac_ext <<_ACEOF
91381 /* end confdefs.h.  */
91382 #include <math.h>
91383 int
91384 main ()
91385 {
91386 ceilf (0); floorf (0);
91387   ;
91388   return 0;
91389 }
91390 _ACEOF
91391 rm -f conftest.$ac_objext
91392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91393   (eval $ac_compile) 2>conftest.er1
91394   ac_status=$?
91395   grep -v '^ *+' conftest.er1 >conftest.err
91396   rm -f conftest.er1
91397   cat conftest.err >&5
91398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91399   (exit $ac_status); } &&
91400          { ac_try='test -z "$ac_cxx_werror_flag"
91401                          || test ! -s conftest.err'
91402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91403   (eval $ac_try) 2>&5
91404   ac_status=$?
91405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91406   (exit $ac_status); }; } &&
91407          { ac_try='test -s conftest.$ac_objext'
91408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91409   (eval $ac_try) 2>&5
91410   ac_status=$?
91411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91412   (exit $ac_status); }; }; then
91413   glibcxx_cv_func_float_round_use=yes
91414 else
91415   echo "$as_me: failed program was:" >&5
91416 sed 's/^/| /' conftest.$ac_ext >&5
91417
91418 glibcxx_cv_func_float_round_use=no
91419 fi
91420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91421     ac_ext=c
91422 ac_cpp='$CPP $CPPFLAGS'
91423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91426
91427 fi
91428
91429   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
91430 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
91431   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
91432
91433
91434 for ac_func in ceilf floorf
91435 do
91436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91437 echo "$as_me:$LINENO: checking for $ac_func" >&5
91438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91439 if eval "test \"\${$as_ac_var+set}\" = set"; then
91440   echo $ECHO_N "(cached) $ECHO_C" >&6
91441 else
91442   if test x$gcc_no_link = xyes; then
91443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91445    { (exit 1); exit 1; }; }
91446 fi
91447 cat >conftest.$ac_ext <<_ACEOF
91448 /* confdefs.h.  */
91449 _ACEOF
91450 cat confdefs.h >>conftest.$ac_ext
91451 cat >>conftest.$ac_ext <<_ACEOF
91452 /* end confdefs.h.  */
91453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91454    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91455 #define $ac_func innocuous_$ac_func
91456
91457 /* System header to define __stub macros and hopefully few prototypes,
91458     which can conflict with char $ac_func (); below.
91459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91460     <limits.h> exists even on freestanding compilers.  */
91461
91462 #ifdef __STDC__
91463 # include <limits.h>
91464 #else
91465 # include <assert.h>
91466 #endif
91467
91468 #undef $ac_func
91469
91470 /* Override any gcc2 internal prototype to avoid an error.  */
91471 #ifdef __cplusplus
91472 extern "C"
91473 {
91474 #endif
91475 /* We use char because int might match the return type of a gcc2
91476    builtin and then its argument prototype would still apply.  */
91477 char $ac_func ();
91478 /* The GNU C library defines this for functions which it implements
91479     to always fail with ENOSYS.  Some functions are actually named
91480     something starting with __ and the normal name is an alias.  */
91481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91482 choke me
91483 #else
91484 char (*f) () = $ac_func;
91485 #endif
91486 #ifdef __cplusplus
91487 }
91488 #endif
91489
91490 int
91491 main ()
91492 {
91493 return f != $ac_func;
91494   ;
91495   return 0;
91496 }
91497 _ACEOF
91498 rm -f conftest.$ac_objext conftest$ac_exeext
91499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91500   (eval $ac_link) 2>conftest.er1
91501   ac_status=$?
91502   grep -v '^ *+' conftest.er1 >conftest.err
91503   rm -f conftest.er1
91504   cat conftest.err >&5
91505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91506   (exit $ac_status); } &&
91507          { ac_try='test -z "$ac_c_werror_flag"
91508                          || test ! -s conftest.err'
91509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91510   (eval $ac_try) 2>&5
91511   ac_status=$?
91512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91513   (exit $ac_status); }; } &&
91514          { ac_try='test -s conftest$ac_exeext'
91515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91516   (eval $ac_try) 2>&5
91517   ac_status=$?
91518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91519   (exit $ac_status); }; }; then
91520   eval "$as_ac_var=yes"
91521 else
91522   echo "$as_me: failed program was:" >&5
91523 sed 's/^/| /' conftest.$ac_ext >&5
91524
91525 eval "$as_ac_var=no"
91526 fi
91527 rm -f conftest.err conftest.$ac_objext \
91528       conftest$ac_exeext conftest.$ac_ext
91529 fi
91530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91532 if test `eval echo '${'$as_ac_var'}'` = yes; then
91533   cat >>confdefs.h <<_ACEOF
91534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91535 _ACEOF
91536
91537 fi
91538 done
91539
91540   else
91541     echo "$as_me:$LINENO: checking for _float round functions" >&5
91542 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
91543     if test "${glibcxx_cv_func__float_round_use+set}" = set; then
91544   echo $ECHO_N "(cached) $ECHO_C" >&6
91545 else
91546
91547
91548
91549       ac_ext=cc
91550 ac_cpp='$CXXCPP $CPPFLAGS'
91551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91554
91555       cat >conftest.$ac_ext <<_ACEOF
91556 /* confdefs.h.  */
91557 _ACEOF
91558 cat confdefs.h >>conftest.$ac_ext
91559 cat >>conftest.$ac_ext <<_ACEOF
91560 /* end confdefs.h.  */
91561 #include <math.h>
91562 int
91563 main ()
91564 {
91565 _ceilf (0); _floorf (0);
91566   ;
91567   return 0;
91568 }
91569 _ACEOF
91570 rm -f conftest.$ac_objext
91571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91572   (eval $ac_compile) 2>conftest.er1
91573   ac_status=$?
91574   grep -v '^ *+' conftest.er1 >conftest.err
91575   rm -f conftest.er1
91576   cat conftest.err >&5
91577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91578   (exit $ac_status); } &&
91579          { ac_try='test -z "$ac_cxx_werror_flag"
91580                          || test ! -s conftest.err'
91581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91582   (eval $ac_try) 2>&5
91583   ac_status=$?
91584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91585   (exit $ac_status); }; } &&
91586          { ac_try='test -s conftest.$ac_objext'
91587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91588   (eval $ac_try) 2>&5
91589   ac_status=$?
91590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91591   (exit $ac_status); }; }; then
91592   glibcxx_cv_func__float_round_use=yes
91593 else
91594   echo "$as_me: failed program was:" >&5
91595 sed 's/^/| /' conftest.$ac_ext >&5
91596
91597 glibcxx_cv_func__float_round_use=no
91598 fi
91599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91600       ac_ext=c
91601 ac_cpp='$CPP $CPPFLAGS'
91602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91605
91606 fi
91607
91608     echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
91609 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
91610     if test x$glibcxx_cv_func__float_round_use = x"yes"; then
91611
91612
91613 for ac_func in _ceilf _floorf
91614 do
91615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91616 echo "$as_me:$LINENO: checking for $ac_func" >&5
91617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91618 if eval "test \"\${$as_ac_var+set}\" = set"; then
91619   echo $ECHO_N "(cached) $ECHO_C" >&6
91620 else
91621   if test x$gcc_no_link = xyes; then
91622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91624    { (exit 1); exit 1; }; }
91625 fi
91626 cat >conftest.$ac_ext <<_ACEOF
91627 /* confdefs.h.  */
91628 _ACEOF
91629 cat confdefs.h >>conftest.$ac_ext
91630 cat >>conftest.$ac_ext <<_ACEOF
91631 /* end confdefs.h.  */
91632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91633    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91634 #define $ac_func innocuous_$ac_func
91635
91636 /* System header to define __stub macros and hopefully few prototypes,
91637     which can conflict with char $ac_func (); below.
91638     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91639     <limits.h> exists even on freestanding compilers.  */
91640
91641 #ifdef __STDC__
91642 # include <limits.h>
91643 #else
91644 # include <assert.h>
91645 #endif
91646
91647 #undef $ac_func
91648
91649 /* Override any gcc2 internal prototype to avoid an error.  */
91650 #ifdef __cplusplus
91651 extern "C"
91652 {
91653 #endif
91654 /* We use char because int might match the return type of a gcc2
91655    builtin and then its argument prototype would still apply.  */
91656 char $ac_func ();
91657 /* The GNU C library defines this for functions which it implements
91658     to always fail with ENOSYS.  Some functions are actually named
91659     something starting with __ and the normal name is an alias.  */
91660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91661 choke me
91662 #else
91663 char (*f) () = $ac_func;
91664 #endif
91665 #ifdef __cplusplus
91666 }
91667 #endif
91668
91669 int
91670 main ()
91671 {
91672 return f != $ac_func;
91673   ;
91674   return 0;
91675 }
91676 _ACEOF
91677 rm -f conftest.$ac_objext conftest$ac_exeext
91678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91679   (eval $ac_link) 2>conftest.er1
91680   ac_status=$?
91681   grep -v '^ *+' conftest.er1 >conftest.err
91682   rm -f conftest.er1
91683   cat conftest.err >&5
91684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91685   (exit $ac_status); } &&
91686          { ac_try='test -z "$ac_c_werror_flag"
91687                          || test ! -s conftest.err'
91688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91689   (eval $ac_try) 2>&5
91690   ac_status=$?
91691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91692   (exit $ac_status); }; } &&
91693          { ac_try='test -s conftest$ac_exeext'
91694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91695   (eval $ac_try) 2>&5
91696   ac_status=$?
91697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91698   (exit $ac_status); }; }; then
91699   eval "$as_ac_var=yes"
91700 else
91701   echo "$as_me: failed program was:" >&5
91702 sed 's/^/| /' conftest.$ac_ext >&5
91703
91704 eval "$as_ac_var=no"
91705 fi
91706 rm -f conftest.err conftest.$ac_objext \
91707       conftest$ac_exeext conftest.$ac_ext
91708 fi
91709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91711 if test `eval echo '${'$as_ac_var'}'` = yes; then
91712   cat >>confdefs.h <<_ACEOF
91713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91714 _ACEOF
91715
91716 fi
91717 done
91718
91719     fi
91720   fi
91721
91722
91723
91724
91725
91726
91727
91728
91729   echo "$as_me:$LINENO: checking for expf declaration" >&5
91730 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
91731   if test x${glibcxx_cv_func_expf_use+set} != xset; then
91732     if test "${glibcxx_cv_func_expf_use+set}" = set; then
91733   echo $ECHO_N "(cached) $ECHO_C" >&6
91734 else
91735
91736
91737
91738       ac_ext=cc
91739 ac_cpp='$CXXCPP $CPPFLAGS'
91740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91743
91744       cat >conftest.$ac_ext <<_ACEOF
91745 /* confdefs.h.  */
91746 _ACEOF
91747 cat confdefs.h >>conftest.$ac_ext
91748 cat >>conftest.$ac_ext <<_ACEOF
91749 /* end confdefs.h.  */
91750 #include <math.h>
91751                       #ifdef HAVE_IEEEFP_H
91752                       #include <ieeefp.h>
91753                       #endif
91754
91755 int
91756 main ()
91757 {
91758  expf(0);
91759   ;
91760   return 0;
91761 }
91762 _ACEOF
91763 rm -f conftest.$ac_objext
91764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91765   (eval $ac_compile) 2>conftest.er1
91766   ac_status=$?
91767   grep -v '^ *+' conftest.er1 >conftest.err
91768   rm -f conftest.er1
91769   cat conftest.err >&5
91770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91771   (exit $ac_status); } &&
91772          { ac_try='test -z "$ac_cxx_werror_flag"
91773                          || test ! -s conftest.err'
91774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91775   (eval $ac_try) 2>&5
91776   ac_status=$?
91777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91778   (exit $ac_status); }; } &&
91779          { ac_try='test -s conftest.$ac_objext'
91780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91781   (eval $ac_try) 2>&5
91782   ac_status=$?
91783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91784   (exit $ac_status); }; }; then
91785   glibcxx_cv_func_expf_use=yes
91786 else
91787   echo "$as_me: failed program was:" >&5
91788 sed 's/^/| /' conftest.$ac_ext >&5
91789
91790 glibcxx_cv_func_expf_use=no
91791 fi
91792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91793       ac_ext=c
91794 ac_cpp='$CPP $CPPFLAGS'
91795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91798
91799
91800 fi
91801
91802   fi
91803   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
91804 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
91805
91806   if test x$glibcxx_cv_func_expf_use = x"yes"; then
91807
91808 for ac_func in expf
91809 do
91810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91811 echo "$as_me:$LINENO: checking for $ac_func" >&5
91812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91813 if eval "test \"\${$as_ac_var+set}\" = set"; then
91814   echo $ECHO_N "(cached) $ECHO_C" >&6
91815 else
91816   if test x$gcc_no_link = xyes; then
91817   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91819    { (exit 1); exit 1; }; }
91820 fi
91821 cat >conftest.$ac_ext <<_ACEOF
91822 /* confdefs.h.  */
91823 _ACEOF
91824 cat confdefs.h >>conftest.$ac_ext
91825 cat >>conftest.$ac_ext <<_ACEOF
91826 /* end confdefs.h.  */
91827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91828    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91829 #define $ac_func innocuous_$ac_func
91830
91831 /* System header to define __stub macros and hopefully few prototypes,
91832     which can conflict with char $ac_func (); below.
91833     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91834     <limits.h> exists even on freestanding compilers.  */
91835
91836 #ifdef __STDC__
91837 # include <limits.h>
91838 #else
91839 # include <assert.h>
91840 #endif
91841
91842 #undef $ac_func
91843
91844 /* Override any gcc2 internal prototype to avoid an error.  */
91845 #ifdef __cplusplus
91846 extern "C"
91847 {
91848 #endif
91849 /* We use char because int might match the return type of a gcc2
91850    builtin and then its argument prototype would still apply.  */
91851 char $ac_func ();
91852 /* The GNU C library defines this for functions which it implements
91853     to always fail with ENOSYS.  Some functions are actually named
91854     something starting with __ and the normal name is an alias.  */
91855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91856 choke me
91857 #else
91858 char (*f) () = $ac_func;
91859 #endif
91860 #ifdef __cplusplus
91861 }
91862 #endif
91863
91864 int
91865 main ()
91866 {
91867 return f != $ac_func;
91868   ;
91869   return 0;
91870 }
91871 _ACEOF
91872 rm -f conftest.$ac_objext conftest$ac_exeext
91873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91874   (eval $ac_link) 2>conftest.er1
91875   ac_status=$?
91876   grep -v '^ *+' conftest.er1 >conftest.err
91877   rm -f conftest.er1
91878   cat conftest.err >&5
91879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91880   (exit $ac_status); } &&
91881          { ac_try='test -z "$ac_c_werror_flag"
91882                          || test ! -s conftest.err'
91883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91884   (eval $ac_try) 2>&5
91885   ac_status=$?
91886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91887   (exit $ac_status); }; } &&
91888          { ac_try='test -s conftest$ac_exeext'
91889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91890   (eval $ac_try) 2>&5
91891   ac_status=$?
91892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91893   (exit $ac_status); }; }; then
91894   eval "$as_ac_var=yes"
91895 else
91896   echo "$as_me: failed program was:" >&5
91897 sed 's/^/| /' conftest.$ac_ext >&5
91898
91899 eval "$as_ac_var=no"
91900 fi
91901 rm -f conftest.err conftest.$ac_objext \
91902       conftest$ac_exeext conftest.$ac_ext
91903 fi
91904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91906 if test `eval echo '${'$as_ac_var'}'` = yes; then
91907   cat >>confdefs.h <<_ACEOF
91908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91909 _ACEOF
91910
91911 fi
91912 done
91913
91914   else
91915
91916   echo "$as_me:$LINENO: checking for _expf declaration" >&5
91917 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
91918   if test x${glibcxx_cv_func__expf_use+set} != xset; then
91919     if test "${glibcxx_cv_func__expf_use+set}" = set; then
91920   echo $ECHO_N "(cached) $ECHO_C" >&6
91921 else
91922
91923
91924
91925       ac_ext=cc
91926 ac_cpp='$CXXCPP $CPPFLAGS'
91927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91930
91931       cat >conftest.$ac_ext <<_ACEOF
91932 /* confdefs.h.  */
91933 _ACEOF
91934 cat confdefs.h >>conftest.$ac_ext
91935 cat >>conftest.$ac_ext <<_ACEOF
91936 /* end confdefs.h.  */
91937 #include <math.h>
91938                       #ifdef HAVE_IEEEFP_H
91939                       #include <ieeefp.h>
91940                       #endif
91941
91942 int
91943 main ()
91944 {
91945  _expf(0);
91946   ;
91947   return 0;
91948 }
91949 _ACEOF
91950 rm -f conftest.$ac_objext
91951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91952   (eval $ac_compile) 2>conftest.er1
91953   ac_status=$?
91954   grep -v '^ *+' conftest.er1 >conftest.err
91955   rm -f conftest.er1
91956   cat conftest.err >&5
91957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91958   (exit $ac_status); } &&
91959          { ac_try='test -z "$ac_cxx_werror_flag"
91960                          || test ! -s conftest.err'
91961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91962   (eval $ac_try) 2>&5
91963   ac_status=$?
91964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91965   (exit $ac_status); }; } &&
91966          { ac_try='test -s conftest.$ac_objext'
91967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91968   (eval $ac_try) 2>&5
91969   ac_status=$?
91970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91971   (exit $ac_status); }; }; then
91972   glibcxx_cv_func__expf_use=yes
91973 else
91974   echo "$as_me: failed program was:" >&5
91975 sed 's/^/| /' conftest.$ac_ext >&5
91976
91977 glibcxx_cv_func__expf_use=no
91978 fi
91979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91980       ac_ext=c
91981 ac_cpp='$CPP $CPPFLAGS'
91982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91985
91986
91987 fi
91988
91989   fi
91990   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
91991 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
91992
91993     if test x$glibcxx_cv_func__expf_use = x"yes"; then
91994
91995 for ac_func in _expf
91996 do
91997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91998 echo "$as_me:$LINENO: checking for $ac_func" >&5
91999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92000 if eval "test \"\${$as_ac_var+set}\" = set"; then
92001   echo $ECHO_N "(cached) $ECHO_C" >&6
92002 else
92003   if test x$gcc_no_link = xyes; then
92004   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92006    { (exit 1); exit 1; }; }
92007 fi
92008 cat >conftest.$ac_ext <<_ACEOF
92009 /* confdefs.h.  */
92010 _ACEOF
92011 cat confdefs.h >>conftest.$ac_ext
92012 cat >>conftest.$ac_ext <<_ACEOF
92013 /* end confdefs.h.  */
92014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92015    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92016 #define $ac_func innocuous_$ac_func
92017
92018 /* System header to define __stub macros and hopefully few prototypes,
92019     which can conflict with char $ac_func (); below.
92020     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92021     <limits.h> exists even on freestanding compilers.  */
92022
92023 #ifdef __STDC__
92024 # include <limits.h>
92025 #else
92026 # include <assert.h>
92027 #endif
92028
92029 #undef $ac_func
92030
92031 /* Override any gcc2 internal prototype to avoid an error.  */
92032 #ifdef __cplusplus
92033 extern "C"
92034 {
92035 #endif
92036 /* We use char because int might match the return type of a gcc2
92037    builtin and then its argument prototype would still apply.  */
92038 char $ac_func ();
92039 /* The GNU C library defines this for functions which it implements
92040     to always fail with ENOSYS.  Some functions are actually named
92041     something starting with __ and the normal name is an alias.  */
92042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92043 choke me
92044 #else
92045 char (*f) () = $ac_func;
92046 #endif
92047 #ifdef __cplusplus
92048 }
92049 #endif
92050
92051 int
92052 main ()
92053 {
92054 return f != $ac_func;
92055   ;
92056   return 0;
92057 }
92058 _ACEOF
92059 rm -f conftest.$ac_objext conftest$ac_exeext
92060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92061   (eval $ac_link) 2>conftest.er1
92062   ac_status=$?
92063   grep -v '^ *+' conftest.er1 >conftest.err
92064   rm -f conftest.er1
92065   cat conftest.err >&5
92066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92067   (exit $ac_status); } &&
92068          { ac_try='test -z "$ac_c_werror_flag"
92069                          || test ! -s conftest.err'
92070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92071   (eval $ac_try) 2>&5
92072   ac_status=$?
92073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92074   (exit $ac_status); }; } &&
92075          { ac_try='test -s conftest$ac_exeext'
92076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92077   (eval $ac_try) 2>&5
92078   ac_status=$?
92079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92080   (exit $ac_status); }; }; then
92081   eval "$as_ac_var=yes"
92082 else
92083   echo "$as_me: failed program was:" >&5
92084 sed 's/^/| /' conftest.$ac_ext >&5
92085
92086 eval "$as_ac_var=no"
92087 fi
92088 rm -f conftest.err conftest.$ac_objext \
92089       conftest$ac_exeext conftest.$ac_ext
92090 fi
92091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92093 if test `eval echo '${'$as_ac_var'}'` = yes; then
92094   cat >>confdefs.h <<_ACEOF
92095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92096 _ACEOF
92097
92098 fi
92099 done
92100
92101     fi
92102   fi
92103
92104
92105
92106
92107
92108
92109   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
92110 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
92111   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
92112     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
92113   echo $ECHO_N "(cached) $ECHO_C" >&6
92114 else
92115
92116
92117
92118       ac_ext=cc
92119 ac_cpp='$CXXCPP $CPPFLAGS'
92120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92123
92124       cat >conftest.$ac_ext <<_ACEOF
92125 /* confdefs.h.  */
92126 _ACEOF
92127 cat confdefs.h >>conftest.$ac_ext
92128 cat >>conftest.$ac_ext <<_ACEOF
92129 /* end confdefs.h.  */
92130 #include <math.h>
92131                       #ifdef HAVE_IEEEFP_H
92132                       #include <ieeefp.h>
92133                       #endif
92134
92135 int
92136 main ()
92137 {
92138  isnanf(0);
92139   ;
92140   return 0;
92141 }
92142 _ACEOF
92143 rm -f conftest.$ac_objext
92144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92145   (eval $ac_compile) 2>conftest.er1
92146   ac_status=$?
92147   grep -v '^ *+' conftest.er1 >conftest.err
92148   rm -f conftest.er1
92149   cat conftest.err >&5
92150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92151   (exit $ac_status); } &&
92152          { ac_try='test -z "$ac_cxx_werror_flag"
92153                          || test ! -s conftest.err'
92154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92155   (eval $ac_try) 2>&5
92156   ac_status=$?
92157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92158   (exit $ac_status); }; } &&
92159          { ac_try='test -s conftest.$ac_objext'
92160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92161   (eval $ac_try) 2>&5
92162   ac_status=$?
92163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92164   (exit $ac_status); }; }; then
92165   glibcxx_cv_func_isnanf_use=yes
92166 else
92167   echo "$as_me: failed program was:" >&5
92168 sed 's/^/| /' conftest.$ac_ext >&5
92169
92170 glibcxx_cv_func_isnanf_use=no
92171 fi
92172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92173       ac_ext=c
92174 ac_cpp='$CPP $CPPFLAGS'
92175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92178
92179
92180 fi
92181
92182   fi
92183   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
92184 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
92185
92186   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
92187
92188 for ac_func in isnanf
92189 do
92190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92191 echo "$as_me:$LINENO: checking for $ac_func" >&5
92192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92193 if eval "test \"\${$as_ac_var+set}\" = set"; then
92194   echo $ECHO_N "(cached) $ECHO_C" >&6
92195 else
92196   if test x$gcc_no_link = xyes; then
92197   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92199    { (exit 1); exit 1; }; }
92200 fi
92201 cat >conftest.$ac_ext <<_ACEOF
92202 /* confdefs.h.  */
92203 _ACEOF
92204 cat confdefs.h >>conftest.$ac_ext
92205 cat >>conftest.$ac_ext <<_ACEOF
92206 /* end confdefs.h.  */
92207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92208    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92209 #define $ac_func innocuous_$ac_func
92210
92211 /* System header to define __stub macros and hopefully few prototypes,
92212     which can conflict with char $ac_func (); below.
92213     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92214     <limits.h> exists even on freestanding compilers.  */
92215
92216 #ifdef __STDC__
92217 # include <limits.h>
92218 #else
92219 # include <assert.h>
92220 #endif
92221
92222 #undef $ac_func
92223
92224 /* Override any gcc2 internal prototype to avoid an error.  */
92225 #ifdef __cplusplus
92226 extern "C"
92227 {
92228 #endif
92229 /* We use char because int might match the return type of a gcc2
92230    builtin and then its argument prototype would still apply.  */
92231 char $ac_func ();
92232 /* The GNU C library defines this for functions which it implements
92233     to always fail with ENOSYS.  Some functions are actually named
92234     something starting with __ and the normal name is an alias.  */
92235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92236 choke me
92237 #else
92238 char (*f) () = $ac_func;
92239 #endif
92240 #ifdef __cplusplus
92241 }
92242 #endif
92243
92244 int
92245 main ()
92246 {
92247 return f != $ac_func;
92248   ;
92249   return 0;
92250 }
92251 _ACEOF
92252 rm -f conftest.$ac_objext conftest$ac_exeext
92253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92254   (eval $ac_link) 2>conftest.er1
92255   ac_status=$?
92256   grep -v '^ *+' conftest.er1 >conftest.err
92257   rm -f conftest.er1
92258   cat conftest.err >&5
92259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92260   (exit $ac_status); } &&
92261          { ac_try='test -z "$ac_c_werror_flag"
92262                          || test ! -s conftest.err'
92263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92264   (eval $ac_try) 2>&5
92265   ac_status=$?
92266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92267   (exit $ac_status); }; } &&
92268          { ac_try='test -s conftest$ac_exeext'
92269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92270   (eval $ac_try) 2>&5
92271   ac_status=$?
92272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92273   (exit $ac_status); }; }; then
92274   eval "$as_ac_var=yes"
92275 else
92276   echo "$as_me: failed program was:" >&5
92277 sed 's/^/| /' conftest.$ac_ext >&5
92278
92279 eval "$as_ac_var=no"
92280 fi
92281 rm -f conftest.err conftest.$ac_objext \
92282       conftest$ac_exeext conftest.$ac_ext
92283 fi
92284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92286 if test `eval echo '${'$as_ac_var'}'` = yes; then
92287   cat >>confdefs.h <<_ACEOF
92288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92289 _ACEOF
92290
92291 fi
92292 done
92293
92294   else
92295
92296   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
92297 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
92298   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
92299     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
92300   echo $ECHO_N "(cached) $ECHO_C" >&6
92301 else
92302
92303
92304
92305       ac_ext=cc
92306 ac_cpp='$CXXCPP $CPPFLAGS'
92307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92310
92311       cat >conftest.$ac_ext <<_ACEOF
92312 /* confdefs.h.  */
92313 _ACEOF
92314 cat confdefs.h >>conftest.$ac_ext
92315 cat >>conftest.$ac_ext <<_ACEOF
92316 /* end confdefs.h.  */
92317 #include <math.h>
92318                       #ifdef HAVE_IEEEFP_H
92319                       #include <ieeefp.h>
92320                       #endif
92321
92322 int
92323 main ()
92324 {
92325  _isnanf(0);
92326   ;
92327   return 0;
92328 }
92329 _ACEOF
92330 rm -f conftest.$ac_objext
92331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92332   (eval $ac_compile) 2>conftest.er1
92333   ac_status=$?
92334   grep -v '^ *+' conftest.er1 >conftest.err
92335   rm -f conftest.er1
92336   cat conftest.err >&5
92337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92338   (exit $ac_status); } &&
92339          { ac_try='test -z "$ac_cxx_werror_flag"
92340                          || test ! -s conftest.err'
92341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92342   (eval $ac_try) 2>&5
92343   ac_status=$?
92344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92345   (exit $ac_status); }; } &&
92346          { ac_try='test -s conftest.$ac_objext'
92347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92348   (eval $ac_try) 2>&5
92349   ac_status=$?
92350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92351   (exit $ac_status); }; }; then
92352   glibcxx_cv_func__isnanf_use=yes
92353 else
92354   echo "$as_me: failed program was:" >&5
92355 sed 's/^/| /' conftest.$ac_ext >&5
92356
92357 glibcxx_cv_func__isnanf_use=no
92358 fi
92359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92360       ac_ext=c
92361 ac_cpp='$CPP $CPPFLAGS'
92362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92365
92366
92367 fi
92368
92369   fi
92370   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
92371 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
92372
92373     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
92374
92375 for ac_func in _isnanf
92376 do
92377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92378 echo "$as_me:$LINENO: checking for $ac_func" >&5
92379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92380 if eval "test \"\${$as_ac_var+set}\" = set"; then
92381   echo $ECHO_N "(cached) $ECHO_C" >&6
92382 else
92383   if test x$gcc_no_link = xyes; then
92384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92386    { (exit 1); exit 1; }; }
92387 fi
92388 cat >conftest.$ac_ext <<_ACEOF
92389 /* confdefs.h.  */
92390 _ACEOF
92391 cat confdefs.h >>conftest.$ac_ext
92392 cat >>conftest.$ac_ext <<_ACEOF
92393 /* end confdefs.h.  */
92394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92395    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92396 #define $ac_func innocuous_$ac_func
92397
92398 /* System header to define __stub macros and hopefully few prototypes,
92399     which can conflict with char $ac_func (); below.
92400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92401     <limits.h> exists even on freestanding compilers.  */
92402
92403 #ifdef __STDC__
92404 # include <limits.h>
92405 #else
92406 # include <assert.h>
92407 #endif
92408
92409 #undef $ac_func
92410
92411 /* Override any gcc2 internal prototype to avoid an error.  */
92412 #ifdef __cplusplus
92413 extern "C"
92414 {
92415 #endif
92416 /* We use char because int might match the return type of a gcc2
92417    builtin and then its argument prototype would still apply.  */
92418 char $ac_func ();
92419 /* The GNU C library defines this for functions which it implements
92420     to always fail with ENOSYS.  Some functions are actually named
92421     something starting with __ and the normal name is an alias.  */
92422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92423 choke me
92424 #else
92425 char (*f) () = $ac_func;
92426 #endif
92427 #ifdef __cplusplus
92428 }
92429 #endif
92430
92431 int
92432 main ()
92433 {
92434 return f != $ac_func;
92435   ;
92436   return 0;
92437 }
92438 _ACEOF
92439 rm -f conftest.$ac_objext conftest$ac_exeext
92440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92441   (eval $ac_link) 2>conftest.er1
92442   ac_status=$?
92443   grep -v '^ *+' conftest.er1 >conftest.err
92444   rm -f conftest.er1
92445   cat conftest.err >&5
92446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92447   (exit $ac_status); } &&
92448          { ac_try='test -z "$ac_c_werror_flag"
92449                          || test ! -s conftest.err'
92450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92451   (eval $ac_try) 2>&5
92452   ac_status=$?
92453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92454   (exit $ac_status); }; } &&
92455          { ac_try='test -s conftest$ac_exeext'
92456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92457   (eval $ac_try) 2>&5
92458   ac_status=$?
92459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92460   (exit $ac_status); }; }; then
92461   eval "$as_ac_var=yes"
92462 else
92463   echo "$as_me: failed program was:" >&5
92464 sed 's/^/| /' conftest.$ac_ext >&5
92465
92466 eval "$as_ac_var=no"
92467 fi
92468 rm -f conftest.err conftest.$ac_objext \
92469       conftest$ac_exeext conftest.$ac_ext
92470 fi
92471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92473 if test `eval echo '${'$as_ac_var'}'` = yes; then
92474   cat >>confdefs.h <<_ACEOF
92475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92476 _ACEOF
92477
92478 fi
92479 done
92480
92481     fi
92482   fi
92483
92484
92485
92486
92487
92488
92489   echo "$as_me:$LINENO: checking for isinff declaration" >&5
92490 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
92491   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
92492     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
92493   echo $ECHO_N "(cached) $ECHO_C" >&6
92494 else
92495
92496
92497
92498       ac_ext=cc
92499 ac_cpp='$CXXCPP $CPPFLAGS'
92500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92503
92504       cat >conftest.$ac_ext <<_ACEOF
92505 /* confdefs.h.  */
92506 _ACEOF
92507 cat confdefs.h >>conftest.$ac_ext
92508 cat >>conftest.$ac_ext <<_ACEOF
92509 /* end confdefs.h.  */
92510 #include <math.h>
92511                       #ifdef HAVE_IEEEFP_H
92512                       #include <ieeefp.h>
92513                       #endif
92514
92515 int
92516 main ()
92517 {
92518  isinff(0);
92519   ;
92520   return 0;
92521 }
92522 _ACEOF
92523 rm -f conftest.$ac_objext
92524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92525   (eval $ac_compile) 2>conftest.er1
92526   ac_status=$?
92527   grep -v '^ *+' conftest.er1 >conftest.err
92528   rm -f conftest.er1
92529   cat conftest.err >&5
92530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92531   (exit $ac_status); } &&
92532          { ac_try='test -z "$ac_cxx_werror_flag"
92533                          || test ! -s conftest.err'
92534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92535   (eval $ac_try) 2>&5
92536   ac_status=$?
92537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92538   (exit $ac_status); }; } &&
92539          { ac_try='test -s conftest.$ac_objext'
92540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92541   (eval $ac_try) 2>&5
92542   ac_status=$?
92543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92544   (exit $ac_status); }; }; then
92545   glibcxx_cv_func_isinff_use=yes
92546 else
92547   echo "$as_me: failed program was:" >&5
92548 sed 's/^/| /' conftest.$ac_ext >&5
92549
92550 glibcxx_cv_func_isinff_use=no
92551 fi
92552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92553       ac_ext=c
92554 ac_cpp='$CPP $CPPFLAGS'
92555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92558
92559
92560 fi
92561
92562   fi
92563   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
92564 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
92565
92566   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
92567
92568 for ac_func in isinff
92569 do
92570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92571 echo "$as_me:$LINENO: checking for $ac_func" >&5
92572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92573 if eval "test \"\${$as_ac_var+set}\" = set"; then
92574   echo $ECHO_N "(cached) $ECHO_C" >&6
92575 else
92576   if test x$gcc_no_link = xyes; then
92577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92579    { (exit 1); exit 1; }; }
92580 fi
92581 cat >conftest.$ac_ext <<_ACEOF
92582 /* confdefs.h.  */
92583 _ACEOF
92584 cat confdefs.h >>conftest.$ac_ext
92585 cat >>conftest.$ac_ext <<_ACEOF
92586 /* end confdefs.h.  */
92587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92588    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92589 #define $ac_func innocuous_$ac_func
92590
92591 /* System header to define __stub macros and hopefully few prototypes,
92592     which can conflict with char $ac_func (); below.
92593     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92594     <limits.h> exists even on freestanding compilers.  */
92595
92596 #ifdef __STDC__
92597 # include <limits.h>
92598 #else
92599 # include <assert.h>
92600 #endif
92601
92602 #undef $ac_func
92603
92604 /* Override any gcc2 internal prototype to avoid an error.  */
92605 #ifdef __cplusplus
92606 extern "C"
92607 {
92608 #endif
92609 /* We use char because int might match the return type of a gcc2
92610    builtin and then its argument prototype would still apply.  */
92611 char $ac_func ();
92612 /* The GNU C library defines this for functions which it implements
92613     to always fail with ENOSYS.  Some functions are actually named
92614     something starting with __ and the normal name is an alias.  */
92615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92616 choke me
92617 #else
92618 char (*f) () = $ac_func;
92619 #endif
92620 #ifdef __cplusplus
92621 }
92622 #endif
92623
92624 int
92625 main ()
92626 {
92627 return f != $ac_func;
92628   ;
92629   return 0;
92630 }
92631 _ACEOF
92632 rm -f conftest.$ac_objext conftest$ac_exeext
92633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92634   (eval $ac_link) 2>conftest.er1
92635   ac_status=$?
92636   grep -v '^ *+' conftest.er1 >conftest.err
92637   rm -f conftest.er1
92638   cat conftest.err >&5
92639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92640   (exit $ac_status); } &&
92641          { ac_try='test -z "$ac_c_werror_flag"
92642                          || test ! -s conftest.err'
92643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92644   (eval $ac_try) 2>&5
92645   ac_status=$?
92646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92647   (exit $ac_status); }; } &&
92648          { ac_try='test -s conftest$ac_exeext'
92649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92650   (eval $ac_try) 2>&5
92651   ac_status=$?
92652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92653   (exit $ac_status); }; }; then
92654   eval "$as_ac_var=yes"
92655 else
92656   echo "$as_me: failed program was:" >&5
92657 sed 's/^/| /' conftest.$ac_ext >&5
92658
92659 eval "$as_ac_var=no"
92660 fi
92661 rm -f conftest.err conftest.$ac_objext \
92662       conftest$ac_exeext conftest.$ac_ext
92663 fi
92664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92666 if test `eval echo '${'$as_ac_var'}'` = yes; then
92667   cat >>confdefs.h <<_ACEOF
92668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92669 _ACEOF
92670
92671 fi
92672 done
92673
92674   else
92675
92676   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
92677 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
92678   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
92679     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
92680   echo $ECHO_N "(cached) $ECHO_C" >&6
92681 else
92682
92683
92684
92685       ac_ext=cc
92686 ac_cpp='$CXXCPP $CPPFLAGS'
92687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92690
92691       cat >conftest.$ac_ext <<_ACEOF
92692 /* confdefs.h.  */
92693 _ACEOF
92694 cat confdefs.h >>conftest.$ac_ext
92695 cat >>conftest.$ac_ext <<_ACEOF
92696 /* end confdefs.h.  */
92697 #include <math.h>
92698                       #ifdef HAVE_IEEEFP_H
92699                       #include <ieeefp.h>
92700                       #endif
92701
92702 int
92703 main ()
92704 {
92705  _isinff(0);
92706   ;
92707   return 0;
92708 }
92709 _ACEOF
92710 rm -f conftest.$ac_objext
92711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92712   (eval $ac_compile) 2>conftest.er1
92713   ac_status=$?
92714   grep -v '^ *+' conftest.er1 >conftest.err
92715   rm -f conftest.er1
92716   cat conftest.err >&5
92717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92718   (exit $ac_status); } &&
92719          { ac_try='test -z "$ac_cxx_werror_flag"
92720                          || test ! -s conftest.err'
92721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92722   (eval $ac_try) 2>&5
92723   ac_status=$?
92724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92725   (exit $ac_status); }; } &&
92726          { ac_try='test -s conftest.$ac_objext'
92727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92728   (eval $ac_try) 2>&5
92729   ac_status=$?
92730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92731   (exit $ac_status); }; }; then
92732   glibcxx_cv_func__isinff_use=yes
92733 else
92734   echo "$as_me: failed program was:" >&5
92735 sed 's/^/| /' conftest.$ac_ext >&5
92736
92737 glibcxx_cv_func__isinff_use=no
92738 fi
92739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92740       ac_ext=c
92741 ac_cpp='$CPP $CPPFLAGS'
92742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92745
92746
92747 fi
92748
92749   fi
92750   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
92751 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
92752
92753     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
92754
92755 for ac_func in _isinff
92756 do
92757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92758 echo "$as_me:$LINENO: checking for $ac_func" >&5
92759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92760 if eval "test \"\${$as_ac_var+set}\" = set"; then
92761   echo $ECHO_N "(cached) $ECHO_C" >&6
92762 else
92763   if test x$gcc_no_link = xyes; then
92764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92766    { (exit 1); exit 1; }; }
92767 fi
92768 cat >conftest.$ac_ext <<_ACEOF
92769 /* confdefs.h.  */
92770 _ACEOF
92771 cat confdefs.h >>conftest.$ac_ext
92772 cat >>conftest.$ac_ext <<_ACEOF
92773 /* end confdefs.h.  */
92774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92776 #define $ac_func innocuous_$ac_func
92777
92778 /* System header to define __stub macros and hopefully few prototypes,
92779     which can conflict with char $ac_func (); below.
92780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92781     <limits.h> exists even on freestanding compilers.  */
92782
92783 #ifdef __STDC__
92784 # include <limits.h>
92785 #else
92786 # include <assert.h>
92787 #endif
92788
92789 #undef $ac_func
92790
92791 /* Override any gcc2 internal prototype to avoid an error.  */
92792 #ifdef __cplusplus
92793 extern "C"
92794 {
92795 #endif
92796 /* We use char because int might match the return type of a gcc2
92797    builtin and then its argument prototype would still apply.  */
92798 char $ac_func ();
92799 /* The GNU C library defines this for functions which it implements
92800     to always fail with ENOSYS.  Some functions are actually named
92801     something starting with __ and the normal name is an alias.  */
92802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92803 choke me
92804 #else
92805 char (*f) () = $ac_func;
92806 #endif
92807 #ifdef __cplusplus
92808 }
92809 #endif
92810
92811 int
92812 main ()
92813 {
92814 return f != $ac_func;
92815   ;
92816   return 0;
92817 }
92818 _ACEOF
92819 rm -f conftest.$ac_objext conftest$ac_exeext
92820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92821   (eval $ac_link) 2>conftest.er1
92822   ac_status=$?
92823   grep -v '^ *+' conftest.er1 >conftest.err
92824   rm -f conftest.er1
92825   cat conftest.err >&5
92826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92827   (exit $ac_status); } &&
92828          { ac_try='test -z "$ac_c_werror_flag"
92829                          || test ! -s conftest.err'
92830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92831   (eval $ac_try) 2>&5
92832   ac_status=$?
92833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92834   (exit $ac_status); }; } &&
92835          { ac_try='test -s conftest$ac_exeext'
92836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92837   (eval $ac_try) 2>&5
92838   ac_status=$?
92839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92840   (exit $ac_status); }; }; then
92841   eval "$as_ac_var=yes"
92842 else
92843   echo "$as_me: failed program was:" >&5
92844 sed 's/^/| /' conftest.$ac_ext >&5
92845
92846 eval "$as_ac_var=no"
92847 fi
92848 rm -f conftest.err conftest.$ac_objext \
92849       conftest$ac_exeext conftest.$ac_ext
92850 fi
92851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92853 if test `eval echo '${'$as_ac_var'}'` = yes; then
92854   cat >>confdefs.h <<_ACEOF
92855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92856 _ACEOF
92857
92858 fi
92859 done
92860
92861     fi
92862   fi
92863
92864
92865
92866
92867
92868
92869   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
92870 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
92871   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
92872     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
92873   echo $ECHO_N "(cached) $ECHO_C" >&6
92874 else
92875
92876
92877
92878       ac_ext=cc
92879 ac_cpp='$CXXCPP $CPPFLAGS'
92880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92883
92884       cat >conftest.$ac_ext <<_ACEOF
92885 /* confdefs.h.  */
92886 _ACEOF
92887 cat confdefs.h >>conftest.$ac_ext
92888 cat >>conftest.$ac_ext <<_ACEOF
92889 /* end confdefs.h.  */
92890 #include <math.h>
92891 int
92892 main ()
92893 {
92894  atan2f(0, 0);
92895   ;
92896   return 0;
92897 }
92898 _ACEOF
92899 rm -f conftest.$ac_objext
92900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92901   (eval $ac_compile) 2>conftest.er1
92902   ac_status=$?
92903   grep -v '^ *+' conftest.er1 >conftest.err
92904   rm -f conftest.er1
92905   cat conftest.err >&5
92906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92907   (exit $ac_status); } &&
92908          { ac_try='test -z "$ac_cxx_werror_flag"
92909                          || test ! -s conftest.err'
92910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92911   (eval $ac_try) 2>&5
92912   ac_status=$?
92913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92914   (exit $ac_status); }; } &&
92915          { ac_try='test -s conftest.$ac_objext'
92916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92917   (eval $ac_try) 2>&5
92918   ac_status=$?
92919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92920   (exit $ac_status); }; }; then
92921   glibcxx_cv_func_atan2f_use=yes
92922 else
92923   echo "$as_me: failed program was:" >&5
92924 sed 's/^/| /' conftest.$ac_ext >&5
92925
92926 glibcxx_cv_func_atan2f_use=no
92927 fi
92928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92929       ac_ext=c
92930 ac_cpp='$CPP $CPPFLAGS'
92931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92934
92935
92936 fi
92937
92938   fi
92939   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
92940 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
92941
92942   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
92943
92944 for ac_func in atan2f
92945 do
92946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92947 echo "$as_me:$LINENO: checking for $ac_func" >&5
92948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92949 if eval "test \"\${$as_ac_var+set}\" = set"; then
92950   echo $ECHO_N "(cached) $ECHO_C" >&6
92951 else
92952   if test x$gcc_no_link = xyes; then
92953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92955    { (exit 1); exit 1; }; }
92956 fi
92957 cat >conftest.$ac_ext <<_ACEOF
92958 /* confdefs.h.  */
92959 _ACEOF
92960 cat confdefs.h >>conftest.$ac_ext
92961 cat >>conftest.$ac_ext <<_ACEOF
92962 /* end confdefs.h.  */
92963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92965 #define $ac_func innocuous_$ac_func
92966
92967 /* System header to define __stub macros and hopefully few prototypes,
92968     which can conflict with char $ac_func (); below.
92969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92970     <limits.h> exists even on freestanding compilers.  */
92971
92972 #ifdef __STDC__
92973 # include <limits.h>
92974 #else
92975 # include <assert.h>
92976 #endif
92977
92978 #undef $ac_func
92979
92980 /* Override any gcc2 internal prototype to avoid an error.  */
92981 #ifdef __cplusplus
92982 extern "C"
92983 {
92984 #endif
92985 /* We use char because int might match the return type of a gcc2
92986    builtin and then its argument prototype would still apply.  */
92987 char $ac_func ();
92988 /* The GNU C library defines this for functions which it implements
92989     to always fail with ENOSYS.  Some functions are actually named
92990     something starting with __ and the normal name is an alias.  */
92991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92992 choke me
92993 #else
92994 char (*f) () = $ac_func;
92995 #endif
92996 #ifdef __cplusplus
92997 }
92998 #endif
92999
93000 int
93001 main ()
93002 {
93003 return f != $ac_func;
93004   ;
93005   return 0;
93006 }
93007 _ACEOF
93008 rm -f conftest.$ac_objext conftest$ac_exeext
93009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93010   (eval $ac_link) 2>conftest.er1
93011   ac_status=$?
93012   grep -v '^ *+' conftest.er1 >conftest.err
93013   rm -f conftest.er1
93014   cat conftest.err >&5
93015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93016   (exit $ac_status); } &&
93017          { ac_try='test -z "$ac_c_werror_flag"
93018                          || test ! -s conftest.err'
93019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93020   (eval $ac_try) 2>&5
93021   ac_status=$?
93022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93023   (exit $ac_status); }; } &&
93024          { ac_try='test -s conftest$ac_exeext'
93025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93026   (eval $ac_try) 2>&5
93027   ac_status=$?
93028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93029   (exit $ac_status); }; }; then
93030   eval "$as_ac_var=yes"
93031 else
93032   echo "$as_me: failed program was:" >&5
93033 sed 's/^/| /' conftest.$ac_ext >&5
93034
93035 eval "$as_ac_var=no"
93036 fi
93037 rm -f conftest.err conftest.$ac_objext \
93038       conftest$ac_exeext conftest.$ac_ext
93039 fi
93040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93042 if test `eval echo '${'$as_ac_var'}'` = yes; then
93043   cat >>confdefs.h <<_ACEOF
93044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93045 _ACEOF
93046
93047 fi
93048 done
93049
93050   else
93051
93052   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
93053 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
93054   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
93055     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
93056   echo $ECHO_N "(cached) $ECHO_C" >&6
93057 else
93058
93059
93060
93061       ac_ext=cc
93062 ac_cpp='$CXXCPP $CPPFLAGS'
93063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93066
93067       cat >conftest.$ac_ext <<_ACEOF
93068 /* confdefs.h.  */
93069 _ACEOF
93070 cat confdefs.h >>conftest.$ac_ext
93071 cat >>conftest.$ac_ext <<_ACEOF
93072 /* end confdefs.h.  */
93073 #include <math.h>
93074 int
93075 main ()
93076 {
93077  _atan2f(0, 0);
93078   ;
93079   return 0;
93080 }
93081 _ACEOF
93082 rm -f conftest.$ac_objext
93083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93084   (eval $ac_compile) 2>conftest.er1
93085   ac_status=$?
93086   grep -v '^ *+' conftest.er1 >conftest.err
93087   rm -f conftest.er1
93088   cat conftest.err >&5
93089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93090   (exit $ac_status); } &&
93091          { ac_try='test -z "$ac_cxx_werror_flag"
93092                          || test ! -s conftest.err'
93093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93094   (eval $ac_try) 2>&5
93095   ac_status=$?
93096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93097   (exit $ac_status); }; } &&
93098          { ac_try='test -s conftest.$ac_objext'
93099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93100   (eval $ac_try) 2>&5
93101   ac_status=$?
93102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93103   (exit $ac_status); }; }; then
93104   glibcxx_cv_func__atan2f_use=yes
93105 else
93106   echo "$as_me: failed program was:" >&5
93107 sed 's/^/| /' conftest.$ac_ext >&5
93108
93109 glibcxx_cv_func__atan2f_use=no
93110 fi
93111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93112       ac_ext=c
93113 ac_cpp='$CPP $CPPFLAGS'
93114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93117
93118
93119 fi
93120
93121   fi
93122   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
93123 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
93124
93125     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
93126
93127 for ac_func in _atan2f
93128 do
93129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93130 echo "$as_me:$LINENO: checking for $ac_func" >&5
93131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93132 if eval "test \"\${$as_ac_var+set}\" = set"; then
93133   echo $ECHO_N "(cached) $ECHO_C" >&6
93134 else
93135   if test x$gcc_no_link = xyes; then
93136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93138    { (exit 1); exit 1; }; }
93139 fi
93140 cat >conftest.$ac_ext <<_ACEOF
93141 /* confdefs.h.  */
93142 _ACEOF
93143 cat confdefs.h >>conftest.$ac_ext
93144 cat >>conftest.$ac_ext <<_ACEOF
93145 /* end confdefs.h.  */
93146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93148 #define $ac_func innocuous_$ac_func
93149
93150 /* System header to define __stub macros and hopefully few prototypes,
93151     which can conflict with char $ac_func (); below.
93152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93153     <limits.h> exists even on freestanding compilers.  */
93154
93155 #ifdef __STDC__
93156 # include <limits.h>
93157 #else
93158 # include <assert.h>
93159 #endif
93160
93161 #undef $ac_func
93162
93163 /* Override any gcc2 internal prototype to avoid an error.  */
93164 #ifdef __cplusplus
93165 extern "C"
93166 {
93167 #endif
93168 /* We use char because int might match the return type of a gcc2
93169    builtin and then its argument prototype would still apply.  */
93170 char $ac_func ();
93171 /* The GNU C library defines this for functions which it implements
93172     to always fail with ENOSYS.  Some functions are actually named
93173     something starting with __ and the normal name is an alias.  */
93174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93175 choke me
93176 #else
93177 char (*f) () = $ac_func;
93178 #endif
93179 #ifdef __cplusplus
93180 }
93181 #endif
93182
93183 int
93184 main ()
93185 {
93186 return f != $ac_func;
93187   ;
93188   return 0;
93189 }
93190 _ACEOF
93191 rm -f conftest.$ac_objext conftest$ac_exeext
93192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93193   (eval $ac_link) 2>conftest.er1
93194   ac_status=$?
93195   grep -v '^ *+' conftest.er1 >conftest.err
93196   rm -f conftest.er1
93197   cat conftest.err >&5
93198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93199   (exit $ac_status); } &&
93200          { ac_try='test -z "$ac_c_werror_flag"
93201                          || test ! -s conftest.err'
93202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93203   (eval $ac_try) 2>&5
93204   ac_status=$?
93205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93206   (exit $ac_status); }; } &&
93207          { ac_try='test -s conftest$ac_exeext'
93208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93209   (eval $ac_try) 2>&5
93210   ac_status=$?
93211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93212   (exit $ac_status); }; }; then
93213   eval "$as_ac_var=yes"
93214 else
93215   echo "$as_me: failed program was:" >&5
93216 sed 's/^/| /' conftest.$ac_ext >&5
93217
93218 eval "$as_ac_var=no"
93219 fi
93220 rm -f conftest.err conftest.$ac_objext \
93221       conftest$ac_exeext conftest.$ac_ext
93222 fi
93223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93225 if test `eval echo '${'$as_ac_var'}'` = yes; then
93226   cat >>confdefs.h <<_ACEOF
93227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93228 _ACEOF
93229
93230 fi
93231 done
93232
93233     fi
93234   fi
93235
93236
93237
93238
93239
93240
93241   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
93242 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
93243   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
93244     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
93245   echo $ECHO_N "(cached) $ECHO_C" >&6
93246 else
93247
93248
93249
93250       ac_ext=cc
93251 ac_cpp='$CXXCPP $CPPFLAGS'
93252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93255
93256       cat >conftest.$ac_ext <<_ACEOF
93257 /* confdefs.h.  */
93258 _ACEOF
93259 cat confdefs.h >>conftest.$ac_ext
93260 cat >>conftest.$ac_ext <<_ACEOF
93261 /* end confdefs.h.  */
93262 #include <math.h>
93263                       #ifdef HAVE_IEEEFP_H
93264                       #include <ieeefp.h>
93265                       #endif
93266
93267 int
93268 main ()
93269 {
93270  fabsf(0);
93271   ;
93272   return 0;
93273 }
93274 _ACEOF
93275 rm -f conftest.$ac_objext
93276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93277   (eval $ac_compile) 2>conftest.er1
93278   ac_status=$?
93279   grep -v '^ *+' conftest.er1 >conftest.err
93280   rm -f conftest.er1
93281   cat conftest.err >&5
93282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93283   (exit $ac_status); } &&
93284          { ac_try='test -z "$ac_cxx_werror_flag"
93285                          || test ! -s conftest.err'
93286   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93287   (eval $ac_try) 2>&5
93288   ac_status=$?
93289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93290   (exit $ac_status); }; } &&
93291          { ac_try='test -s conftest.$ac_objext'
93292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93293   (eval $ac_try) 2>&5
93294   ac_status=$?
93295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93296   (exit $ac_status); }; }; then
93297   glibcxx_cv_func_fabsf_use=yes
93298 else
93299   echo "$as_me: failed program was:" >&5
93300 sed 's/^/| /' conftest.$ac_ext >&5
93301
93302 glibcxx_cv_func_fabsf_use=no
93303 fi
93304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93305       ac_ext=c
93306 ac_cpp='$CPP $CPPFLAGS'
93307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93310
93311
93312 fi
93313
93314   fi
93315   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
93316 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
93317
93318   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
93319
93320 for ac_func in fabsf
93321 do
93322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93323 echo "$as_me:$LINENO: checking for $ac_func" >&5
93324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93325 if eval "test \"\${$as_ac_var+set}\" = set"; then
93326   echo $ECHO_N "(cached) $ECHO_C" >&6
93327 else
93328   if test x$gcc_no_link = xyes; then
93329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93331    { (exit 1); exit 1; }; }
93332 fi
93333 cat >conftest.$ac_ext <<_ACEOF
93334 /* confdefs.h.  */
93335 _ACEOF
93336 cat confdefs.h >>conftest.$ac_ext
93337 cat >>conftest.$ac_ext <<_ACEOF
93338 /* end confdefs.h.  */
93339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93340    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93341 #define $ac_func innocuous_$ac_func
93342
93343 /* System header to define __stub macros and hopefully few prototypes,
93344     which can conflict with char $ac_func (); below.
93345     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93346     <limits.h> exists even on freestanding compilers.  */
93347
93348 #ifdef __STDC__
93349 # include <limits.h>
93350 #else
93351 # include <assert.h>
93352 #endif
93353
93354 #undef $ac_func
93355
93356 /* Override any gcc2 internal prototype to avoid an error.  */
93357 #ifdef __cplusplus
93358 extern "C"
93359 {
93360 #endif
93361 /* We use char because int might match the return type of a gcc2
93362    builtin and then its argument prototype would still apply.  */
93363 char $ac_func ();
93364 /* The GNU C library defines this for functions which it implements
93365     to always fail with ENOSYS.  Some functions are actually named
93366     something starting with __ and the normal name is an alias.  */
93367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93368 choke me
93369 #else
93370 char (*f) () = $ac_func;
93371 #endif
93372 #ifdef __cplusplus
93373 }
93374 #endif
93375
93376 int
93377 main ()
93378 {
93379 return f != $ac_func;
93380   ;
93381   return 0;
93382 }
93383 _ACEOF
93384 rm -f conftest.$ac_objext conftest$ac_exeext
93385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93386   (eval $ac_link) 2>conftest.er1
93387   ac_status=$?
93388   grep -v '^ *+' conftest.er1 >conftest.err
93389   rm -f conftest.er1
93390   cat conftest.err >&5
93391   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93392   (exit $ac_status); } &&
93393          { ac_try='test -z "$ac_c_werror_flag"
93394                          || test ! -s conftest.err'
93395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93396   (eval $ac_try) 2>&5
93397   ac_status=$?
93398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93399   (exit $ac_status); }; } &&
93400          { ac_try='test -s conftest$ac_exeext'
93401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93402   (eval $ac_try) 2>&5
93403   ac_status=$?
93404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93405   (exit $ac_status); }; }; then
93406   eval "$as_ac_var=yes"
93407 else
93408   echo "$as_me: failed program was:" >&5
93409 sed 's/^/| /' conftest.$ac_ext >&5
93410
93411 eval "$as_ac_var=no"
93412 fi
93413 rm -f conftest.err conftest.$ac_objext \
93414       conftest$ac_exeext conftest.$ac_ext
93415 fi
93416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93418 if test `eval echo '${'$as_ac_var'}'` = yes; then
93419   cat >>confdefs.h <<_ACEOF
93420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93421 _ACEOF
93422
93423 fi
93424 done
93425
93426   else
93427
93428   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
93429 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
93430   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
93431     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
93432   echo $ECHO_N "(cached) $ECHO_C" >&6
93433 else
93434
93435
93436
93437       ac_ext=cc
93438 ac_cpp='$CXXCPP $CPPFLAGS'
93439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93442
93443       cat >conftest.$ac_ext <<_ACEOF
93444 /* confdefs.h.  */
93445 _ACEOF
93446 cat confdefs.h >>conftest.$ac_ext
93447 cat >>conftest.$ac_ext <<_ACEOF
93448 /* end confdefs.h.  */
93449 #include <math.h>
93450                       #ifdef HAVE_IEEEFP_H
93451                       #include <ieeefp.h>
93452                       #endif
93453
93454 int
93455 main ()
93456 {
93457  _fabsf(0);
93458   ;
93459   return 0;
93460 }
93461 _ACEOF
93462 rm -f conftest.$ac_objext
93463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93464   (eval $ac_compile) 2>conftest.er1
93465   ac_status=$?
93466   grep -v '^ *+' conftest.er1 >conftest.err
93467   rm -f conftest.er1
93468   cat conftest.err >&5
93469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93470   (exit $ac_status); } &&
93471          { ac_try='test -z "$ac_cxx_werror_flag"
93472                          || test ! -s conftest.err'
93473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93474   (eval $ac_try) 2>&5
93475   ac_status=$?
93476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93477   (exit $ac_status); }; } &&
93478          { ac_try='test -s conftest.$ac_objext'
93479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93480   (eval $ac_try) 2>&5
93481   ac_status=$?
93482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93483   (exit $ac_status); }; }; then
93484   glibcxx_cv_func__fabsf_use=yes
93485 else
93486   echo "$as_me: failed program was:" >&5
93487 sed 's/^/| /' conftest.$ac_ext >&5
93488
93489 glibcxx_cv_func__fabsf_use=no
93490 fi
93491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93492       ac_ext=c
93493 ac_cpp='$CPP $CPPFLAGS'
93494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93497
93498
93499 fi
93500
93501   fi
93502   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
93503 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
93504
93505     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
93506
93507 for ac_func in _fabsf
93508 do
93509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93510 echo "$as_me:$LINENO: checking for $ac_func" >&5
93511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93512 if eval "test \"\${$as_ac_var+set}\" = set"; then
93513   echo $ECHO_N "(cached) $ECHO_C" >&6
93514 else
93515   if test x$gcc_no_link = xyes; then
93516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93518    { (exit 1); exit 1; }; }
93519 fi
93520 cat >conftest.$ac_ext <<_ACEOF
93521 /* confdefs.h.  */
93522 _ACEOF
93523 cat confdefs.h >>conftest.$ac_ext
93524 cat >>conftest.$ac_ext <<_ACEOF
93525 /* end confdefs.h.  */
93526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93527    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93528 #define $ac_func innocuous_$ac_func
93529
93530 /* System header to define __stub macros and hopefully few prototypes,
93531     which can conflict with char $ac_func (); below.
93532     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93533     <limits.h> exists even on freestanding compilers.  */
93534
93535 #ifdef __STDC__
93536 # include <limits.h>
93537 #else
93538 # include <assert.h>
93539 #endif
93540
93541 #undef $ac_func
93542
93543 /* Override any gcc2 internal prototype to avoid an error.  */
93544 #ifdef __cplusplus
93545 extern "C"
93546 {
93547 #endif
93548 /* We use char because int might match the return type of a gcc2
93549    builtin and then its argument prototype would still apply.  */
93550 char $ac_func ();
93551 /* The GNU C library defines this for functions which it implements
93552     to always fail with ENOSYS.  Some functions are actually named
93553     something starting with __ and the normal name is an alias.  */
93554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93555 choke me
93556 #else
93557 char (*f) () = $ac_func;
93558 #endif
93559 #ifdef __cplusplus
93560 }
93561 #endif
93562
93563 int
93564 main ()
93565 {
93566 return f != $ac_func;
93567   ;
93568   return 0;
93569 }
93570 _ACEOF
93571 rm -f conftest.$ac_objext conftest$ac_exeext
93572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93573   (eval $ac_link) 2>conftest.er1
93574   ac_status=$?
93575   grep -v '^ *+' conftest.er1 >conftest.err
93576   rm -f conftest.er1
93577   cat conftest.err >&5
93578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93579   (exit $ac_status); } &&
93580          { ac_try='test -z "$ac_c_werror_flag"
93581                          || test ! -s conftest.err'
93582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93583   (eval $ac_try) 2>&5
93584   ac_status=$?
93585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93586   (exit $ac_status); }; } &&
93587          { ac_try='test -s conftest$ac_exeext'
93588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93589   (eval $ac_try) 2>&5
93590   ac_status=$?
93591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93592   (exit $ac_status); }; }; then
93593   eval "$as_ac_var=yes"
93594 else
93595   echo "$as_me: failed program was:" >&5
93596 sed 's/^/| /' conftest.$ac_ext >&5
93597
93598 eval "$as_ac_var=no"
93599 fi
93600 rm -f conftest.err conftest.$ac_objext \
93601       conftest$ac_exeext conftest.$ac_ext
93602 fi
93603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93605 if test `eval echo '${'$as_ac_var'}'` = yes; then
93606   cat >>confdefs.h <<_ACEOF
93607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93608 _ACEOF
93609
93610 fi
93611 done
93612
93613     fi
93614   fi
93615
93616
93617
93618
93619
93620
93621   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
93622 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
93623   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
93624     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
93625   echo $ECHO_N "(cached) $ECHO_C" >&6
93626 else
93627
93628
93629
93630       ac_ext=cc
93631 ac_cpp='$CXXCPP $CPPFLAGS'
93632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93635
93636       cat >conftest.$ac_ext <<_ACEOF
93637 /* confdefs.h.  */
93638 _ACEOF
93639 cat confdefs.h >>conftest.$ac_ext
93640 cat >>conftest.$ac_ext <<_ACEOF
93641 /* end confdefs.h.  */
93642 #include <math.h>
93643 int
93644 main ()
93645 {
93646  fmodf(0, 0);
93647   ;
93648   return 0;
93649 }
93650 _ACEOF
93651 rm -f conftest.$ac_objext
93652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93653   (eval $ac_compile) 2>conftest.er1
93654   ac_status=$?
93655   grep -v '^ *+' conftest.er1 >conftest.err
93656   rm -f conftest.er1
93657   cat conftest.err >&5
93658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93659   (exit $ac_status); } &&
93660          { ac_try='test -z "$ac_cxx_werror_flag"
93661                          || test ! -s conftest.err'
93662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93663   (eval $ac_try) 2>&5
93664   ac_status=$?
93665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93666   (exit $ac_status); }; } &&
93667          { ac_try='test -s conftest.$ac_objext'
93668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93669   (eval $ac_try) 2>&5
93670   ac_status=$?
93671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93672   (exit $ac_status); }; }; then
93673   glibcxx_cv_func_fmodf_use=yes
93674 else
93675   echo "$as_me: failed program was:" >&5
93676 sed 's/^/| /' conftest.$ac_ext >&5
93677
93678 glibcxx_cv_func_fmodf_use=no
93679 fi
93680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93681       ac_ext=c
93682 ac_cpp='$CPP $CPPFLAGS'
93683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93686
93687
93688 fi
93689
93690   fi
93691   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
93692 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
93693
93694   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
93695
93696 for ac_func in fmodf
93697 do
93698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93699 echo "$as_me:$LINENO: checking for $ac_func" >&5
93700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93701 if eval "test \"\${$as_ac_var+set}\" = set"; then
93702   echo $ECHO_N "(cached) $ECHO_C" >&6
93703 else
93704   if test x$gcc_no_link = xyes; then
93705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93707    { (exit 1); exit 1; }; }
93708 fi
93709 cat >conftest.$ac_ext <<_ACEOF
93710 /* confdefs.h.  */
93711 _ACEOF
93712 cat confdefs.h >>conftest.$ac_ext
93713 cat >>conftest.$ac_ext <<_ACEOF
93714 /* end confdefs.h.  */
93715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93717 #define $ac_func innocuous_$ac_func
93718
93719 /* System header to define __stub macros and hopefully few prototypes,
93720     which can conflict with char $ac_func (); below.
93721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93722     <limits.h> exists even on freestanding compilers.  */
93723
93724 #ifdef __STDC__
93725 # include <limits.h>
93726 #else
93727 # include <assert.h>
93728 #endif
93729
93730 #undef $ac_func
93731
93732 /* Override any gcc2 internal prototype to avoid an error.  */
93733 #ifdef __cplusplus
93734 extern "C"
93735 {
93736 #endif
93737 /* We use char because int might match the return type of a gcc2
93738    builtin and then its argument prototype would still apply.  */
93739 char $ac_func ();
93740 /* The GNU C library defines this for functions which it implements
93741     to always fail with ENOSYS.  Some functions are actually named
93742     something starting with __ and the normal name is an alias.  */
93743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93744 choke me
93745 #else
93746 char (*f) () = $ac_func;
93747 #endif
93748 #ifdef __cplusplus
93749 }
93750 #endif
93751
93752 int
93753 main ()
93754 {
93755 return f != $ac_func;
93756   ;
93757   return 0;
93758 }
93759 _ACEOF
93760 rm -f conftest.$ac_objext conftest$ac_exeext
93761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93762   (eval $ac_link) 2>conftest.er1
93763   ac_status=$?
93764   grep -v '^ *+' conftest.er1 >conftest.err
93765   rm -f conftest.er1
93766   cat conftest.err >&5
93767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93768   (exit $ac_status); } &&
93769          { ac_try='test -z "$ac_c_werror_flag"
93770                          || test ! -s conftest.err'
93771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93772   (eval $ac_try) 2>&5
93773   ac_status=$?
93774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93775   (exit $ac_status); }; } &&
93776          { ac_try='test -s conftest$ac_exeext'
93777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93778   (eval $ac_try) 2>&5
93779   ac_status=$?
93780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93781   (exit $ac_status); }; }; then
93782   eval "$as_ac_var=yes"
93783 else
93784   echo "$as_me: failed program was:" >&5
93785 sed 's/^/| /' conftest.$ac_ext >&5
93786
93787 eval "$as_ac_var=no"
93788 fi
93789 rm -f conftest.err conftest.$ac_objext \
93790       conftest$ac_exeext conftest.$ac_ext
93791 fi
93792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93794 if test `eval echo '${'$as_ac_var'}'` = yes; then
93795   cat >>confdefs.h <<_ACEOF
93796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93797 _ACEOF
93798
93799 fi
93800 done
93801
93802   else
93803
93804   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
93805 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
93806   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
93807     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
93808   echo $ECHO_N "(cached) $ECHO_C" >&6
93809 else
93810
93811
93812
93813       ac_ext=cc
93814 ac_cpp='$CXXCPP $CPPFLAGS'
93815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93818
93819       cat >conftest.$ac_ext <<_ACEOF
93820 /* confdefs.h.  */
93821 _ACEOF
93822 cat confdefs.h >>conftest.$ac_ext
93823 cat >>conftest.$ac_ext <<_ACEOF
93824 /* end confdefs.h.  */
93825 #include <math.h>
93826 int
93827 main ()
93828 {
93829  _fmodf(0, 0);
93830   ;
93831   return 0;
93832 }
93833 _ACEOF
93834 rm -f conftest.$ac_objext
93835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93836   (eval $ac_compile) 2>conftest.er1
93837   ac_status=$?
93838   grep -v '^ *+' conftest.er1 >conftest.err
93839   rm -f conftest.er1
93840   cat conftest.err >&5
93841   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93842   (exit $ac_status); } &&
93843          { ac_try='test -z "$ac_cxx_werror_flag"
93844                          || test ! -s conftest.err'
93845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93846   (eval $ac_try) 2>&5
93847   ac_status=$?
93848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93849   (exit $ac_status); }; } &&
93850          { ac_try='test -s conftest.$ac_objext'
93851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93852   (eval $ac_try) 2>&5
93853   ac_status=$?
93854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93855   (exit $ac_status); }; }; then
93856   glibcxx_cv_func__fmodf_use=yes
93857 else
93858   echo "$as_me: failed program was:" >&5
93859 sed 's/^/| /' conftest.$ac_ext >&5
93860
93861 glibcxx_cv_func__fmodf_use=no
93862 fi
93863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93864       ac_ext=c
93865 ac_cpp='$CPP $CPPFLAGS'
93866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93869
93870
93871 fi
93872
93873   fi
93874   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
93875 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
93876
93877     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
93878
93879 for ac_func in _fmodf
93880 do
93881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93882 echo "$as_me:$LINENO: checking for $ac_func" >&5
93883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93884 if eval "test \"\${$as_ac_var+set}\" = set"; then
93885   echo $ECHO_N "(cached) $ECHO_C" >&6
93886 else
93887   if test x$gcc_no_link = xyes; then
93888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93890    { (exit 1); exit 1; }; }
93891 fi
93892 cat >conftest.$ac_ext <<_ACEOF
93893 /* confdefs.h.  */
93894 _ACEOF
93895 cat confdefs.h >>conftest.$ac_ext
93896 cat >>conftest.$ac_ext <<_ACEOF
93897 /* end confdefs.h.  */
93898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93899    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93900 #define $ac_func innocuous_$ac_func
93901
93902 /* System header to define __stub macros and hopefully few prototypes,
93903     which can conflict with char $ac_func (); below.
93904     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93905     <limits.h> exists even on freestanding compilers.  */
93906
93907 #ifdef __STDC__
93908 # include <limits.h>
93909 #else
93910 # include <assert.h>
93911 #endif
93912
93913 #undef $ac_func
93914
93915 /* Override any gcc2 internal prototype to avoid an error.  */
93916 #ifdef __cplusplus
93917 extern "C"
93918 {
93919 #endif
93920 /* We use char because int might match the return type of a gcc2
93921    builtin and then its argument prototype would still apply.  */
93922 char $ac_func ();
93923 /* The GNU C library defines this for functions which it implements
93924     to always fail with ENOSYS.  Some functions are actually named
93925     something starting with __ and the normal name is an alias.  */
93926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93927 choke me
93928 #else
93929 char (*f) () = $ac_func;
93930 #endif
93931 #ifdef __cplusplus
93932 }
93933 #endif
93934
93935 int
93936 main ()
93937 {
93938 return f != $ac_func;
93939   ;
93940   return 0;
93941 }
93942 _ACEOF
93943 rm -f conftest.$ac_objext conftest$ac_exeext
93944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93945   (eval $ac_link) 2>conftest.er1
93946   ac_status=$?
93947   grep -v '^ *+' conftest.er1 >conftest.err
93948   rm -f conftest.er1
93949   cat conftest.err >&5
93950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93951   (exit $ac_status); } &&
93952          { ac_try='test -z "$ac_c_werror_flag"
93953                          || test ! -s conftest.err'
93954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93955   (eval $ac_try) 2>&5
93956   ac_status=$?
93957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93958   (exit $ac_status); }; } &&
93959          { ac_try='test -s conftest$ac_exeext'
93960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93961   (eval $ac_try) 2>&5
93962   ac_status=$?
93963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93964   (exit $ac_status); }; }; then
93965   eval "$as_ac_var=yes"
93966 else
93967   echo "$as_me: failed program was:" >&5
93968 sed 's/^/| /' conftest.$ac_ext >&5
93969
93970 eval "$as_ac_var=no"
93971 fi
93972 rm -f conftest.err conftest.$ac_objext \
93973       conftest$ac_exeext conftest.$ac_ext
93974 fi
93975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93977 if test `eval echo '${'$as_ac_var'}'` = yes; then
93978   cat >>confdefs.h <<_ACEOF
93979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93980 _ACEOF
93981
93982 fi
93983 done
93984
93985     fi
93986   fi
93987
93988
93989
93990
93991
93992
93993   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
93994 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
93995   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
93996     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
93997   echo $ECHO_N "(cached) $ECHO_C" >&6
93998 else
93999
94000
94001
94002       ac_ext=cc
94003 ac_cpp='$CXXCPP $CPPFLAGS'
94004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94007
94008       cat >conftest.$ac_ext <<_ACEOF
94009 /* confdefs.h.  */
94010 _ACEOF
94011 cat confdefs.h >>conftest.$ac_ext
94012 cat >>conftest.$ac_ext <<_ACEOF
94013 /* end confdefs.h.  */
94014 #include <math.h>
94015 int
94016 main ()
94017 {
94018  frexpf(0, 0);
94019   ;
94020   return 0;
94021 }
94022 _ACEOF
94023 rm -f conftest.$ac_objext
94024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94025   (eval $ac_compile) 2>conftest.er1
94026   ac_status=$?
94027   grep -v '^ *+' conftest.er1 >conftest.err
94028   rm -f conftest.er1
94029   cat conftest.err >&5
94030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94031   (exit $ac_status); } &&
94032          { ac_try='test -z "$ac_cxx_werror_flag"
94033                          || test ! -s conftest.err'
94034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94035   (eval $ac_try) 2>&5
94036   ac_status=$?
94037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94038   (exit $ac_status); }; } &&
94039          { ac_try='test -s conftest.$ac_objext'
94040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94041   (eval $ac_try) 2>&5
94042   ac_status=$?
94043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94044   (exit $ac_status); }; }; then
94045   glibcxx_cv_func_frexpf_use=yes
94046 else
94047   echo "$as_me: failed program was:" >&5
94048 sed 's/^/| /' conftest.$ac_ext >&5
94049
94050 glibcxx_cv_func_frexpf_use=no
94051 fi
94052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94053       ac_ext=c
94054 ac_cpp='$CPP $CPPFLAGS'
94055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94058
94059
94060 fi
94061
94062   fi
94063   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
94064 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
94065
94066   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
94067
94068 for ac_func in frexpf
94069 do
94070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94071 echo "$as_me:$LINENO: checking for $ac_func" >&5
94072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94073 if eval "test \"\${$as_ac_var+set}\" = set"; then
94074   echo $ECHO_N "(cached) $ECHO_C" >&6
94075 else
94076   if test x$gcc_no_link = xyes; then
94077   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94079    { (exit 1); exit 1; }; }
94080 fi
94081 cat >conftest.$ac_ext <<_ACEOF
94082 /* confdefs.h.  */
94083 _ACEOF
94084 cat confdefs.h >>conftest.$ac_ext
94085 cat >>conftest.$ac_ext <<_ACEOF
94086 /* end confdefs.h.  */
94087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94088    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94089 #define $ac_func innocuous_$ac_func
94090
94091 /* System header to define __stub macros and hopefully few prototypes,
94092     which can conflict with char $ac_func (); below.
94093     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94094     <limits.h> exists even on freestanding compilers.  */
94095
94096 #ifdef __STDC__
94097 # include <limits.h>
94098 #else
94099 # include <assert.h>
94100 #endif
94101
94102 #undef $ac_func
94103
94104 /* Override any gcc2 internal prototype to avoid an error.  */
94105 #ifdef __cplusplus
94106 extern "C"
94107 {
94108 #endif
94109 /* We use char because int might match the return type of a gcc2
94110    builtin and then its argument prototype would still apply.  */
94111 char $ac_func ();
94112 /* The GNU C library defines this for functions which it implements
94113     to always fail with ENOSYS.  Some functions are actually named
94114     something starting with __ and the normal name is an alias.  */
94115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94116 choke me
94117 #else
94118 char (*f) () = $ac_func;
94119 #endif
94120 #ifdef __cplusplus
94121 }
94122 #endif
94123
94124 int
94125 main ()
94126 {
94127 return f != $ac_func;
94128   ;
94129   return 0;
94130 }
94131 _ACEOF
94132 rm -f conftest.$ac_objext conftest$ac_exeext
94133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94134   (eval $ac_link) 2>conftest.er1
94135   ac_status=$?
94136   grep -v '^ *+' conftest.er1 >conftest.err
94137   rm -f conftest.er1
94138   cat conftest.err >&5
94139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94140   (exit $ac_status); } &&
94141          { ac_try='test -z "$ac_c_werror_flag"
94142                          || test ! -s conftest.err'
94143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94144   (eval $ac_try) 2>&5
94145   ac_status=$?
94146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94147   (exit $ac_status); }; } &&
94148          { ac_try='test -s conftest$ac_exeext'
94149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94150   (eval $ac_try) 2>&5
94151   ac_status=$?
94152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94153   (exit $ac_status); }; }; then
94154   eval "$as_ac_var=yes"
94155 else
94156   echo "$as_me: failed program was:" >&5
94157 sed 's/^/| /' conftest.$ac_ext >&5
94158
94159 eval "$as_ac_var=no"
94160 fi
94161 rm -f conftest.err conftest.$ac_objext \
94162       conftest$ac_exeext conftest.$ac_ext
94163 fi
94164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94166 if test `eval echo '${'$as_ac_var'}'` = yes; then
94167   cat >>confdefs.h <<_ACEOF
94168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94169 _ACEOF
94170
94171 fi
94172 done
94173
94174   else
94175
94176   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
94177 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
94178   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
94179     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
94180   echo $ECHO_N "(cached) $ECHO_C" >&6
94181 else
94182
94183
94184
94185       ac_ext=cc
94186 ac_cpp='$CXXCPP $CPPFLAGS'
94187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94190
94191       cat >conftest.$ac_ext <<_ACEOF
94192 /* confdefs.h.  */
94193 _ACEOF
94194 cat confdefs.h >>conftest.$ac_ext
94195 cat >>conftest.$ac_ext <<_ACEOF
94196 /* end confdefs.h.  */
94197 #include <math.h>
94198 int
94199 main ()
94200 {
94201  _frexpf(0, 0);
94202   ;
94203   return 0;
94204 }
94205 _ACEOF
94206 rm -f conftest.$ac_objext
94207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94208   (eval $ac_compile) 2>conftest.er1
94209   ac_status=$?
94210   grep -v '^ *+' conftest.er1 >conftest.err
94211   rm -f conftest.er1
94212   cat conftest.err >&5
94213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94214   (exit $ac_status); } &&
94215          { ac_try='test -z "$ac_cxx_werror_flag"
94216                          || test ! -s conftest.err'
94217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94218   (eval $ac_try) 2>&5
94219   ac_status=$?
94220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94221   (exit $ac_status); }; } &&
94222          { ac_try='test -s conftest.$ac_objext'
94223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94224   (eval $ac_try) 2>&5
94225   ac_status=$?
94226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94227   (exit $ac_status); }; }; then
94228   glibcxx_cv_func__frexpf_use=yes
94229 else
94230   echo "$as_me: failed program was:" >&5
94231 sed 's/^/| /' conftest.$ac_ext >&5
94232
94233 glibcxx_cv_func__frexpf_use=no
94234 fi
94235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94236       ac_ext=c
94237 ac_cpp='$CPP $CPPFLAGS'
94238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94241
94242
94243 fi
94244
94245   fi
94246   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
94247 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
94248
94249     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
94250
94251 for ac_func in _frexpf
94252 do
94253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94254 echo "$as_me:$LINENO: checking for $ac_func" >&5
94255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94256 if eval "test \"\${$as_ac_var+set}\" = set"; then
94257   echo $ECHO_N "(cached) $ECHO_C" >&6
94258 else
94259   if test x$gcc_no_link = xyes; then
94260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94262    { (exit 1); exit 1; }; }
94263 fi
94264 cat >conftest.$ac_ext <<_ACEOF
94265 /* confdefs.h.  */
94266 _ACEOF
94267 cat confdefs.h >>conftest.$ac_ext
94268 cat >>conftest.$ac_ext <<_ACEOF
94269 /* end confdefs.h.  */
94270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94272 #define $ac_func innocuous_$ac_func
94273
94274 /* System header to define __stub macros and hopefully few prototypes,
94275     which can conflict with char $ac_func (); below.
94276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94277     <limits.h> exists even on freestanding compilers.  */
94278
94279 #ifdef __STDC__
94280 # include <limits.h>
94281 #else
94282 # include <assert.h>
94283 #endif
94284
94285 #undef $ac_func
94286
94287 /* Override any gcc2 internal prototype to avoid an error.  */
94288 #ifdef __cplusplus
94289 extern "C"
94290 {
94291 #endif
94292 /* We use char because int might match the return type of a gcc2
94293    builtin and then its argument prototype would still apply.  */
94294 char $ac_func ();
94295 /* The GNU C library defines this for functions which it implements
94296     to always fail with ENOSYS.  Some functions are actually named
94297     something starting with __ and the normal name is an alias.  */
94298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94299 choke me
94300 #else
94301 char (*f) () = $ac_func;
94302 #endif
94303 #ifdef __cplusplus
94304 }
94305 #endif
94306
94307 int
94308 main ()
94309 {
94310 return f != $ac_func;
94311   ;
94312   return 0;
94313 }
94314 _ACEOF
94315 rm -f conftest.$ac_objext conftest$ac_exeext
94316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94317   (eval $ac_link) 2>conftest.er1
94318   ac_status=$?
94319   grep -v '^ *+' conftest.er1 >conftest.err
94320   rm -f conftest.er1
94321   cat conftest.err >&5
94322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94323   (exit $ac_status); } &&
94324          { ac_try='test -z "$ac_c_werror_flag"
94325                          || test ! -s conftest.err'
94326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94327   (eval $ac_try) 2>&5
94328   ac_status=$?
94329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94330   (exit $ac_status); }; } &&
94331          { ac_try='test -s conftest$ac_exeext'
94332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94333   (eval $ac_try) 2>&5
94334   ac_status=$?
94335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94336   (exit $ac_status); }; }; then
94337   eval "$as_ac_var=yes"
94338 else
94339   echo "$as_me: failed program was:" >&5
94340 sed 's/^/| /' conftest.$ac_ext >&5
94341
94342 eval "$as_ac_var=no"
94343 fi
94344 rm -f conftest.err conftest.$ac_objext \
94345       conftest$ac_exeext conftest.$ac_ext
94346 fi
94347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94349 if test `eval echo '${'$as_ac_var'}'` = yes; then
94350   cat >>confdefs.h <<_ACEOF
94351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94352 _ACEOF
94353
94354 fi
94355 done
94356
94357     fi
94358   fi
94359
94360
94361
94362
94363
94364
94365   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
94366 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
94367   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
94368     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
94369   echo $ECHO_N "(cached) $ECHO_C" >&6
94370 else
94371
94372
94373
94374       ac_ext=cc
94375 ac_cpp='$CXXCPP $CPPFLAGS'
94376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94379
94380       cat >conftest.$ac_ext <<_ACEOF
94381 /* confdefs.h.  */
94382 _ACEOF
94383 cat confdefs.h >>conftest.$ac_ext
94384 cat >>conftest.$ac_ext <<_ACEOF
94385 /* end confdefs.h.  */
94386 #include <math.h>
94387 int
94388 main ()
94389 {
94390  hypotf(0, 0);
94391   ;
94392   return 0;
94393 }
94394 _ACEOF
94395 rm -f conftest.$ac_objext
94396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94397   (eval $ac_compile) 2>conftest.er1
94398   ac_status=$?
94399   grep -v '^ *+' conftest.er1 >conftest.err
94400   rm -f conftest.er1
94401   cat conftest.err >&5
94402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94403   (exit $ac_status); } &&
94404          { ac_try='test -z "$ac_cxx_werror_flag"
94405                          || test ! -s conftest.err'
94406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94407   (eval $ac_try) 2>&5
94408   ac_status=$?
94409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94410   (exit $ac_status); }; } &&
94411          { ac_try='test -s conftest.$ac_objext'
94412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94413   (eval $ac_try) 2>&5
94414   ac_status=$?
94415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94416   (exit $ac_status); }; }; then
94417   glibcxx_cv_func_hypotf_use=yes
94418 else
94419   echo "$as_me: failed program was:" >&5
94420 sed 's/^/| /' conftest.$ac_ext >&5
94421
94422 glibcxx_cv_func_hypotf_use=no
94423 fi
94424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94425       ac_ext=c
94426 ac_cpp='$CPP $CPPFLAGS'
94427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94430
94431
94432 fi
94433
94434   fi
94435   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
94436 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
94437
94438   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
94439
94440 for ac_func in hypotf
94441 do
94442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94443 echo "$as_me:$LINENO: checking for $ac_func" >&5
94444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94445 if eval "test \"\${$as_ac_var+set}\" = set"; then
94446   echo $ECHO_N "(cached) $ECHO_C" >&6
94447 else
94448   if test x$gcc_no_link = xyes; then
94449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94451    { (exit 1); exit 1; }; }
94452 fi
94453 cat >conftest.$ac_ext <<_ACEOF
94454 /* confdefs.h.  */
94455 _ACEOF
94456 cat confdefs.h >>conftest.$ac_ext
94457 cat >>conftest.$ac_ext <<_ACEOF
94458 /* end confdefs.h.  */
94459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94460    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94461 #define $ac_func innocuous_$ac_func
94462
94463 /* System header to define __stub macros and hopefully few prototypes,
94464     which can conflict with char $ac_func (); below.
94465     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94466     <limits.h> exists even on freestanding compilers.  */
94467
94468 #ifdef __STDC__
94469 # include <limits.h>
94470 #else
94471 # include <assert.h>
94472 #endif
94473
94474 #undef $ac_func
94475
94476 /* Override any gcc2 internal prototype to avoid an error.  */
94477 #ifdef __cplusplus
94478 extern "C"
94479 {
94480 #endif
94481 /* We use char because int might match the return type of a gcc2
94482    builtin and then its argument prototype would still apply.  */
94483 char $ac_func ();
94484 /* The GNU C library defines this for functions which it implements
94485     to always fail with ENOSYS.  Some functions are actually named
94486     something starting with __ and the normal name is an alias.  */
94487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94488 choke me
94489 #else
94490 char (*f) () = $ac_func;
94491 #endif
94492 #ifdef __cplusplus
94493 }
94494 #endif
94495
94496 int
94497 main ()
94498 {
94499 return f != $ac_func;
94500   ;
94501   return 0;
94502 }
94503 _ACEOF
94504 rm -f conftest.$ac_objext conftest$ac_exeext
94505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94506   (eval $ac_link) 2>conftest.er1
94507   ac_status=$?
94508   grep -v '^ *+' conftest.er1 >conftest.err
94509   rm -f conftest.er1
94510   cat conftest.err >&5
94511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94512   (exit $ac_status); } &&
94513          { ac_try='test -z "$ac_c_werror_flag"
94514                          || test ! -s conftest.err'
94515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94516   (eval $ac_try) 2>&5
94517   ac_status=$?
94518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94519   (exit $ac_status); }; } &&
94520          { ac_try='test -s conftest$ac_exeext'
94521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94522   (eval $ac_try) 2>&5
94523   ac_status=$?
94524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94525   (exit $ac_status); }; }; then
94526   eval "$as_ac_var=yes"
94527 else
94528   echo "$as_me: failed program was:" >&5
94529 sed 's/^/| /' conftest.$ac_ext >&5
94530
94531 eval "$as_ac_var=no"
94532 fi
94533 rm -f conftest.err conftest.$ac_objext \
94534       conftest$ac_exeext conftest.$ac_ext
94535 fi
94536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94538 if test `eval echo '${'$as_ac_var'}'` = yes; then
94539   cat >>confdefs.h <<_ACEOF
94540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94541 _ACEOF
94542
94543 fi
94544 done
94545
94546   else
94547
94548   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
94549 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
94550   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
94551     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
94552   echo $ECHO_N "(cached) $ECHO_C" >&6
94553 else
94554
94555
94556
94557       ac_ext=cc
94558 ac_cpp='$CXXCPP $CPPFLAGS'
94559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94562
94563       cat >conftest.$ac_ext <<_ACEOF
94564 /* confdefs.h.  */
94565 _ACEOF
94566 cat confdefs.h >>conftest.$ac_ext
94567 cat >>conftest.$ac_ext <<_ACEOF
94568 /* end confdefs.h.  */
94569 #include <math.h>
94570 int
94571 main ()
94572 {
94573  _hypotf(0, 0);
94574   ;
94575   return 0;
94576 }
94577 _ACEOF
94578 rm -f conftest.$ac_objext
94579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94580   (eval $ac_compile) 2>conftest.er1
94581   ac_status=$?
94582   grep -v '^ *+' conftest.er1 >conftest.err
94583   rm -f conftest.er1
94584   cat conftest.err >&5
94585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94586   (exit $ac_status); } &&
94587          { ac_try='test -z "$ac_cxx_werror_flag"
94588                          || test ! -s conftest.err'
94589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94590   (eval $ac_try) 2>&5
94591   ac_status=$?
94592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94593   (exit $ac_status); }; } &&
94594          { ac_try='test -s conftest.$ac_objext'
94595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94596   (eval $ac_try) 2>&5
94597   ac_status=$?
94598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94599   (exit $ac_status); }; }; then
94600   glibcxx_cv_func__hypotf_use=yes
94601 else
94602   echo "$as_me: failed program was:" >&5
94603 sed 's/^/| /' conftest.$ac_ext >&5
94604
94605 glibcxx_cv_func__hypotf_use=no
94606 fi
94607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94608       ac_ext=c
94609 ac_cpp='$CPP $CPPFLAGS'
94610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94613
94614
94615 fi
94616
94617   fi
94618   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
94619 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
94620
94621     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
94622
94623 for ac_func in _hypotf
94624 do
94625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94626 echo "$as_me:$LINENO: checking for $ac_func" >&5
94627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94628 if eval "test \"\${$as_ac_var+set}\" = set"; then
94629   echo $ECHO_N "(cached) $ECHO_C" >&6
94630 else
94631   if test x$gcc_no_link = xyes; then
94632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94634    { (exit 1); exit 1; }; }
94635 fi
94636 cat >conftest.$ac_ext <<_ACEOF
94637 /* confdefs.h.  */
94638 _ACEOF
94639 cat confdefs.h >>conftest.$ac_ext
94640 cat >>conftest.$ac_ext <<_ACEOF
94641 /* end confdefs.h.  */
94642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94643    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94644 #define $ac_func innocuous_$ac_func
94645
94646 /* System header to define __stub macros and hopefully few prototypes,
94647     which can conflict with char $ac_func (); below.
94648     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94649     <limits.h> exists even on freestanding compilers.  */
94650
94651 #ifdef __STDC__
94652 # include <limits.h>
94653 #else
94654 # include <assert.h>
94655 #endif
94656
94657 #undef $ac_func
94658
94659 /* Override any gcc2 internal prototype to avoid an error.  */
94660 #ifdef __cplusplus
94661 extern "C"
94662 {
94663 #endif
94664 /* We use char because int might match the return type of a gcc2
94665    builtin and then its argument prototype would still apply.  */
94666 char $ac_func ();
94667 /* The GNU C library defines this for functions which it implements
94668     to always fail with ENOSYS.  Some functions are actually named
94669     something starting with __ and the normal name is an alias.  */
94670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94671 choke me
94672 #else
94673 char (*f) () = $ac_func;
94674 #endif
94675 #ifdef __cplusplus
94676 }
94677 #endif
94678
94679 int
94680 main ()
94681 {
94682 return f != $ac_func;
94683   ;
94684   return 0;
94685 }
94686 _ACEOF
94687 rm -f conftest.$ac_objext conftest$ac_exeext
94688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94689   (eval $ac_link) 2>conftest.er1
94690   ac_status=$?
94691   grep -v '^ *+' conftest.er1 >conftest.err
94692   rm -f conftest.er1
94693   cat conftest.err >&5
94694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94695   (exit $ac_status); } &&
94696          { ac_try='test -z "$ac_c_werror_flag"
94697                          || test ! -s conftest.err'
94698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94699   (eval $ac_try) 2>&5
94700   ac_status=$?
94701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94702   (exit $ac_status); }; } &&
94703          { ac_try='test -s conftest$ac_exeext'
94704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94705   (eval $ac_try) 2>&5
94706   ac_status=$?
94707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94708   (exit $ac_status); }; }; then
94709   eval "$as_ac_var=yes"
94710 else
94711   echo "$as_me: failed program was:" >&5
94712 sed 's/^/| /' conftest.$ac_ext >&5
94713
94714 eval "$as_ac_var=no"
94715 fi
94716 rm -f conftest.err conftest.$ac_objext \
94717       conftest$ac_exeext conftest.$ac_ext
94718 fi
94719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94721 if test `eval echo '${'$as_ac_var'}'` = yes; then
94722   cat >>confdefs.h <<_ACEOF
94723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94724 _ACEOF
94725
94726 fi
94727 done
94728
94729     fi
94730   fi
94731
94732
94733
94734
94735
94736
94737   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
94738 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
94739   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
94740     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
94741   echo $ECHO_N "(cached) $ECHO_C" >&6
94742 else
94743
94744
94745
94746       ac_ext=cc
94747 ac_cpp='$CXXCPP $CPPFLAGS'
94748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94751
94752       cat >conftest.$ac_ext <<_ACEOF
94753 /* confdefs.h.  */
94754 _ACEOF
94755 cat confdefs.h >>conftest.$ac_ext
94756 cat >>conftest.$ac_ext <<_ACEOF
94757 /* end confdefs.h.  */
94758 #include <math.h>
94759 int
94760 main ()
94761 {
94762  ldexpf(0, 0);
94763   ;
94764   return 0;
94765 }
94766 _ACEOF
94767 rm -f conftest.$ac_objext
94768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94769   (eval $ac_compile) 2>conftest.er1
94770   ac_status=$?
94771   grep -v '^ *+' conftest.er1 >conftest.err
94772   rm -f conftest.er1
94773   cat conftest.err >&5
94774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94775   (exit $ac_status); } &&
94776          { ac_try='test -z "$ac_cxx_werror_flag"
94777                          || test ! -s conftest.err'
94778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94779   (eval $ac_try) 2>&5
94780   ac_status=$?
94781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94782   (exit $ac_status); }; } &&
94783          { ac_try='test -s conftest.$ac_objext'
94784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94785   (eval $ac_try) 2>&5
94786   ac_status=$?
94787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94788   (exit $ac_status); }; }; then
94789   glibcxx_cv_func_ldexpf_use=yes
94790 else
94791   echo "$as_me: failed program was:" >&5
94792 sed 's/^/| /' conftest.$ac_ext >&5
94793
94794 glibcxx_cv_func_ldexpf_use=no
94795 fi
94796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94797       ac_ext=c
94798 ac_cpp='$CPP $CPPFLAGS'
94799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94802
94803
94804 fi
94805
94806   fi
94807   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
94808 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
94809
94810   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
94811
94812 for ac_func in ldexpf
94813 do
94814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94815 echo "$as_me:$LINENO: checking for $ac_func" >&5
94816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94817 if eval "test \"\${$as_ac_var+set}\" = set"; then
94818   echo $ECHO_N "(cached) $ECHO_C" >&6
94819 else
94820   if test x$gcc_no_link = xyes; then
94821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94823    { (exit 1); exit 1; }; }
94824 fi
94825 cat >conftest.$ac_ext <<_ACEOF
94826 /* confdefs.h.  */
94827 _ACEOF
94828 cat confdefs.h >>conftest.$ac_ext
94829 cat >>conftest.$ac_ext <<_ACEOF
94830 /* end confdefs.h.  */
94831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94832    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94833 #define $ac_func innocuous_$ac_func
94834
94835 /* System header to define __stub macros and hopefully few prototypes,
94836     which can conflict with char $ac_func (); below.
94837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94838     <limits.h> exists even on freestanding compilers.  */
94839
94840 #ifdef __STDC__
94841 # include <limits.h>
94842 #else
94843 # include <assert.h>
94844 #endif
94845
94846 #undef $ac_func
94847
94848 /* Override any gcc2 internal prototype to avoid an error.  */
94849 #ifdef __cplusplus
94850 extern "C"
94851 {
94852 #endif
94853 /* We use char because int might match the return type of a gcc2
94854    builtin and then its argument prototype would still apply.  */
94855 char $ac_func ();
94856 /* The GNU C library defines this for functions which it implements
94857     to always fail with ENOSYS.  Some functions are actually named
94858     something starting with __ and the normal name is an alias.  */
94859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94860 choke me
94861 #else
94862 char (*f) () = $ac_func;
94863 #endif
94864 #ifdef __cplusplus
94865 }
94866 #endif
94867
94868 int
94869 main ()
94870 {
94871 return f != $ac_func;
94872   ;
94873   return 0;
94874 }
94875 _ACEOF
94876 rm -f conftest.$ac_objext conftest$ac_exeext
94877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94878   (eval $ac_link) 2>conftest.er1
94879   ac_status=$?
94880   grep -v '^ *+' conftest.er1 >conftest.err
94881   rm -f conftest.er1
94882   cat conftest.err >&5
94883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94884   (exit $ac_status); } &&
94885          { ac_try='test -z "$ac_c_werror_flag"
94886                          || test ! -s conftest.err'
94887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94888   (eval $ac_try) 2>&5
94889   ac_status=$?
94890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94891   (exit $ac_status); }; } &&
94892          { ac_try='test -s conftest$ac_exeext'
94893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94894   (eval $ac_try) 2>&5
94895   ac_status=$?
94896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94897   (exit $ac_status); }; }; then
94898   eval "$as_ac_var=yes"
94899 else
94900   echo "$as_me: failed program was:" >&5
94901 sed 's/^/| /' conftest.$ac_ext >&5
94902
94903 eval "$as_ac_var=no"
94904 fi
94905 rm -f conftest.err conftest.$ac_objext \
94906       conftest$ac_exeext conftest.$ac_ext
94907 fi
94908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94910 if test `eval echo '${'$as_ac_var'}'` = yes; then
94911   cat >>confdefs.h <<_ACEOF
94912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94913 _ACEOF
94914
94915 fi
94916 done
94917
94918   else
94919
94920   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
94921 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
94922   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
94923     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
94924   echo $ECHO_N "(cached) $ECHO_C" >&6
94925 else
94926
94927
94928
94929       ac_ext=cc
94930 ac_cpp='$CXXCPP $CPPFLAGS'
94931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94934
94935       cat >conftest.$ac_ext <<_ACEOF
94936 /* confdefs.h.  */
94937 _ACEOF
94938 cat confdefs.h >>conftest.$ac_ext
94939 cat >>conftest.$ac_ext <<_ACEOF
94940 /* end confdefs.h.  */
94941 #include <math.h>
94942 int
94943 main ()
94944 {
94945  _ldexpf(0, 0);
94946   ;
94947   return 0;
94948 }
94949 _ACEOF
94950 rm -f conftest.$ac_objext
94951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94952   (eval $ac_compile) 2>conftest.er1
94953   ac_status=$?
94954   grep -v '^ *+' conftest.er1 >conftest.err
94955   rm -f conftest.er1
94956   cat conftest.err >&5
94957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94958   (exit $ac_status); } &&
94959          { ac_try='test -z "$ac_cxx_werror_flag"
94960                          || test ! -s conftest.err'
94961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94962   (eval $ac_try) 2>&5
94963   ac_status=$?
94964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94965   (exit $ac_status); }; } &&
94966          { ac_try='test -s conftest.$ac_objext'
94967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94968   (eval $ac_try) 2>&5
94969   ac_status=$?
94970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94971   (exit $ac_status); }; }; then
94972   glibcxx_cv_func__ldexpf_use=yes
94973 else
94974   echo "$as_me: failed program was:" >&5
94975 sed 's/^/| /' conftest.$ac_ext >&5
94976
94977 glibcxx_cv_func__ldexpf_use=no
94978 fi
94979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94980       ac_ext=c
94981 ac_cpp='$CPP $CPPFLAGS'
94982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94985
94986
94987 fi
94988
94989   fi
94990   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
94991 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
94992
94993     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
94994
94995 for ac_func in _ldexpf
94996 do
94997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94998 echo "$as_me:$LINENO: checking for $ac_func" >&5
94999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95000 if eval "test \"\${$as_ac_var+set}\" = set"; then
95001   echo $ECHO_N "(cached) $ECHO_C" >&6
95002 else
95003   if test x$gcc_no_link = xyes; then
95004   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95006    { (exit 1); exit 1; }; }
95007 fi
95008 cat >conftest.$ac_ext <<_ACEOF
95009 /* confdefs.h.  */
95010 _ACEOF
95011 cat confdefs.h >>conftest.$ac_ext
95012 cat >>conftest.$ac_ext <<_ACEOF
95013 /* end confdefs.h.  */
95014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95015    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95016 #define $ac_func innocuous_$ac_func
95017
95018 /* System header to define __stub macros and hopefully few prototypes,
95019     which can conflict with char $ac_func (); below.
95020     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95021     <limits.h> exists even on freestanding compilers.  */
95022
95023 #ifdef __STDC__
95024 # include <limits.h>
95025 #else
95026 # include <assert.h>
95027 #endif
95028
95029 #undef $ac_func
95030
95031 /* Override any gcc2 internal prototype to avoid an error.  */
95032 #ifdef __cplusplus
95033 extern "C"
95034 {
95035 #endif
95036 /* We use char because int might match the return type of a gcc2
95037    builtin and then its argument prototype would still apply.  */
95038 char $ac_func ();
95039 /* The GNU C library defines this for functions which it implements
95040     to always fail with ENOSYS.  Some functions are actually named
95041     something starting with __ and the normal name is an alias.  */
95042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95043 choke me
95044 #else
95045 char (*f) () = $ac_func;
95046 #endif
95047 #ifdef __cplusplus
95048 }
95049 #endif
95050
95051 int
95052 main ()
95053 {
95054 return f != $ac_func;
95055   ;
95056   return 0;
95057 }
95058 _ACEOF
95059 rm -f conftest.$ac_objext conftest$ac_exeext
95060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95061   (eval $ac_link) 2>conftest.er1
95062   ac_status=$?
95063   grep -v '^ *+' conftest.er1 >conftest.err
95064   rm -f conftest.er1
95065   cat conftest.err >&5
95066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95067   (exit $ac_status); } &&
95068          { ac_try='test -z "$ac_c_werror_flag"
95069                          || test ! -s conftest.err'
95070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95071   (eval $ac_try) 2>&5
95072   ac_status=$?
95073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95074   (exit $ac_status); }; } &&
95075          { ac_try='test -s conftest$ac_exeext'
95076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95077   (eval $ac_try) 2>&5
95078   ac_status=$?
95079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95080   (exit $ac_status); }; }; then
95081   eval "$as_ac_var=yes"
95082 else
95083   echo "$as_me: failed program was:" >&5
95084 sed 's/^/| /' conftest.$ac_ext >&5
95085
95086 eval "$as_ac_var=no"
95087 fi
95088 rm -f conftest.err conftest.$ac_objext \
95089       conftest$ac_exeext conftest.$ac_ext
95090 fi
95091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95093 if test `eval echo '${'$as_ac_var'}'` = yes; then
95094   cat >>confdefs.h <<_ACEOF
95095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95096 _ACEOF
95097
95098 fi
95099 done
95100
95101     fi
95102   fi
95103
95104
95105
95106
95107
95108
95109   echo "$as_me:$LINENO: checking for logf declaration" >&5
95110 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
95111   if test x${glibcxx_cv_func_logf_use+set} != xset; then
95112     if test "${glibcxx_cv_func_logf_use+set}" = set; then
95113   echo $ECHO_N "(cached) $ECHO_C" >&6
95114 else
95115
95116
95117
95118       ac_ext=cc
95119 ac_cpp='$CXXCPP $CPPFLAGS'
95120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95123
95124       cat >conftest.$ac_ext <<_ACEOF
95125 /* confdefs.h.  */
95126 _ACEOF
95127 cat confdefs.h >>conftest.$ac_ext
95128 cat >>conftest.$ac_ext <<_ACEOF
95129 /* end confdefs.h.  */
95130 #include <math.h>
95131                       #ifdef HAVE_IEEEFP_H
95132                       #include <ieeefp.h>
95133                       #endif
95134
95135 int
95136 main ()
95137 {
95138  logf(0);
95139   ;
95140   return 0;
95141 }
95142 _ACEOF
95143 rm -f conftest.$ac_objext
95144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95145   (eval $ac_compile) 2>conftest.er1
95146   ac_status=$?
95147   grep -v '^ *+' conftest.er1 >conftest.err
95148   rm -f conftest.er1
95149   cat conftest.err >&5
95150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95151   (exit $ac_status); } &&
95152          { ac_try='test -z "$ac_cxx_werror_flag"
95153                          || test ! -s conftest.err'
95154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95155   (eval $ac_try) 2>&5
95156   ac_status=$?
95157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95158   (exit $ac_status); }; } &&
95159          { ac_try='test -s conftest.$ac_objext'
95160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95161   (eval $ac_try) 2>&5
95162   ac_status=$?
95163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95164   (exit $ac_status); }; }; then
95165   glibcxx_cv_func_logf_use=yes
95166 else
95167   echo "$as_me: failed program was:" >&5
95168 sed 's/^/| /' conftest.$ac_ext >&5
95169
95170 glibcxx_cv_func_logf_use=no
95171 fi
95172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95173       ac_ext=c
95174 ac_cpp='$CPP $CPPFLAGS'
95175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95178
95179
95180 fi
95181
95182   fi
95183   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
95184 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
95185
95186   if test x$glibcxx_cv_func_logf_use = x"yes"; then
95187
95188 for ac_func in logf
95189 do
95190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95191 echo "$as_me:$LINENO: checking for $ac_func" >&5
95192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95193 if eval "test \"\${$as_ac_var+set}\" = set"; then
95194   echo $ECHO_N "(cached) $ECHO_C" >&6
95195 else
95196   if test x$gcc_no_link = xyes; then
95197   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95199    { (exit 1); exit 1; }; }
95200 fi
95201 cat >conftest.$ac_ext <<_ACEOF
95202 /* confdefs.h.  */
95203 _ACEOF
95204 cat confdefs.h >>conftest.$ac_ext
95205 cat >>conftest.$ac_ext <<_ACEOF
95206 /* end confdefs.h.  */
95207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95208    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95209 #define $ac_func innocuous_$ac_func
95210
95211 /* System header to define __stub macros and hopefully few prototypes,
95212     which can conflict with char $ac_func (); below.
95213     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95214     <limits.h> exists even on freestanding compilers.  */
95215
95216 #ifdef __STDC__
95217 # include <limits.h>
95218 #else
95219 # include <assert.h>
95220 #endif
95221
95222 #undef $ac_func
95223
95224 /* Override any gcc2 internal prototype to avoid an error.  */
95225 #ifdef __cplusplus
95226 extern "C"
95227 {
95228 #endif
95229 /* We use char because int might match the return type of a gcc2
95230    builtin and then its argument prototype would still apply.  */
95231 char $ac_func ();
95232 /* The GNU C library defines this for functions which it implements
95233     to always fail with ENOSYS.  Some functions are actually named
95234     something starting with __ and the normal name is an alias.  */
95235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95236 choke me
95237 #else
95238 char (*f) () = $ac_func;
95239 #endif
95240 #ifdef __cplusplus
95241 }
95242 #endif
95243
95244 int
95245 main ()
95246 {
95247 return f != $ac_func;
95248   ;
95249   return 0;
95250 }
95251 _ACEOF
95252 rm -f conftest.$ac_objext conftest$ac_exeext
95253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95254   (eval $ac_link) 2>conftest.er1
95255   ac_status=$?
95256   grep -v '^ *+' conftest.er1 >conftest.err
95257   rm -f conftest.er1
95258   cat conftest.err >&5
95259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95260   (exit $ac_status); } &&
95261          { ac_try='test -z "$ac_c_werror_flag"
95262                          || test ! -s conftest.err'
95263   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95264   (eval $ac_try) 2>&5
95265   ac_status=$?
95266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95267   (exit $ac_status); }; } &&
95268          { ac_try='test -s conftest$ac_exeext'
95269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95270   (eval $ac_try) 2>&5
95271   ac_status=$?
95272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95273   (exit $ac_status); }; }; then
95274   eval "$as_ac_var=yes"
95275 else
95276   echo "$as_me: failed program was:" >&5
95277 sed 's/^/| /' conftest.$ac_ext >&5
95278
95279 eval "$as_ac_var=no"
95280 fi
95281 rm -f conftest.err conftest.$ac_objext \
95282       conftest$ac_exeext conftest.$ac_ext
95283 fi
95284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95286 if test `eval echo '${'$as_ac_var'}'` = yes; then
95287   cat >>confdefs.h <<_ACEOF
95288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95289 _ACEOF
95290
95291 fi
95292 done
95293
95294   else
95295
95296   echo "$as_me:$LINENO: checking for _logf declaration" >&5
95297 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
95298   if test x${glibcxx_cv_func__logf_use+set} != xset; then
95299     if test "${glibcxx_cv_func__logf_use+set}" = set; then
95300   echo $ECHO_N "(cached) $ECHO_C" >&6
95301 else
95302
95303
95304
95305       ac_ext=cc
95306 ac_cpp='$CXXCPP $CPPFLAGS'
95307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95310
95311       cat >conftest.$ac_ext <<_ACEOF
95312 /* confdefs.h.  */
95313 _ACEOF
95314 cat confdefs.h >>conftest.$ac_ext
95315 cat >>conftest.$ac_ext <<_ACEOF
95316 /* end confdefs.h.  */
95317 #include <math.h>
95318                       #ifdef HAVE_IEEEFP_H
95319                       #include <ieeefp.h>
95320                       #endif
95321
95322 int
95323 main ()
95324 {
95325  _logf(0);
95326   ;
95327   return 0;
95328 }
95329 _ACEOF
95330 rm -f conftest.$ac_objext
95331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95332   (eval $ac_compile) 2>conftest.er1
95333   ac_status=$?
95334   grep -v '^ *+' conftest.er1 >conftest.err
95335   rm -f conftest.er1
95336   cat conftest.err >&5
95337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95338   (exit $ac_status); } &&
95339          { ac_try='test -z "$ac_cxx_werror_flag"
95340                          || test ! -s conftest.err'
95341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95342   (eval $ac_try) 2>&5
95343   ac_status=$?
95344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95345   (exit $ac_status); }; } &&
95346          { ac_try='test -s conftest.$ac_objext'
95347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95348   (eval $ac_try) 2>&5
95349   ac_status=$?
95350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95351   (exit $ac_status); }; }; then
95352   glibcxx_cv_func__logf_use=yes
95353 else
95354   echo "$as_me: failed program was:" >&5
95355 sed 's/^/| /' conftest.$ac_ext >&5
95356
95357 glibcxx_cv_func__logf_use=no
95358 fi
95359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95360       ac_ext=c
95361 ac_cpp='$CPP $CPPFLAGS'
95362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95365
95366
95367 fi
95368
95369   fi
95370   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
95371 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
95372
95373     if test x$glibcxx_cv_func__logf_use = x"yes"; then
95374
95375 for ac_func in _logf
95376 do
95377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95378 echo "$as_me:$LINENO: checking for $ac_func" >&5
95379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95380 if eval "test \"\${$as_ac_var+set}\" = set"; then
95381   echo $ECHO_N "(cached) $ECHO_C" >&6
95382 else
95383   if test x$gcc_no_link = xyes; then
95384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95386    { (exit 1); exit 1; }; }
95387 fi
95388 cat >conftest.$ac_ext <<_ACEOF
95389 /* confdefs.h.  */
95390 _ACEOF
95391 cat confdefs.h >>conftest.$ac_ext
95392 cat >>conftest.$ac_ext <<_ACEOF
95393 /* end confdefs.h.  */
95394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95395    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95396 #define $ac_func innocuous_$ac_func
95397
95398 /* System header to define __stub macros and hopefully few prototypes,
95399     which can conflict with char $ac_func (); below.
95400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95401     <limits.h> exists even on freestanding compilers.  */
95402
95403 #ifdef __STDC__
95404 # include <limits.h>
95405 #else
95406 # include <assert.h>
95407 #endif
95408
95409 #undef $ac_func
95410
95411 /* Override any gcc2 internal prototype to avoid an error.  */
95412 #ifdef __cplusplus
95413 extern "C"
95414 {
95415 #endif
95416 /* We use char because int might match the return type of a gcc2
95417    builtin and then its argument prototype would still apply.  */
95418 char $ac_func ();
95419 /* The GNU C library defines this for functions which it implements
95420     to always fail with ENOSYS.  Some functions are actually named
95421     something starting with __ and the normal name is an alias.  */
95422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95423 choke me
95424 #else
95425 char (*f) () = $ac_func;
95426 #endif
95427 #ifdef __cplusplus
95428 }
95429 #endif
95430
95431 int
95432 main ()
95433 {
95434 return f != $ac_func;
95435   ;
95436   return 0;
95437 }
95438 _ACEOF
95439 rm -f conftest.$ac_objext conftest$ac_exeext
95440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95441   (eval $ac_link) 2>conftest.er1
95442   ac_status=$?
95443   grep -v '^ *+' conftest.er1 >conftest.err
95444   rm -f conftest.er1
95445   cat conftest.err >&5
95446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95447   (exit $ac_status); } &&
95448          { ac_try='test -z "$ac_c_werror_flag"
95449                          || test ! -s conftest.err'
95450   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95451   (eval $ac_try) 2>&5
95452   ac_status=$?
95453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95454   (exit $ac_status); }; } &&
95455          { ac_try='test -s conftest$ac_exeext'
95456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95457   (eval $ac_try) 2>&5
95458   ac_status=$?
95459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95460   (exit $ac_status); }; }; then
95461   eval "$as_ac_var=yes"
95462 else
95463   echo "$as_me: failed program was:" >&5
95464 sed 's/^/| /' conftest.$ac_ext >&5
95465
95466 eval "$as_ac_var=no"
95467 fi
95468 rm -f conftest.err conftest.$ac_objext \
95469       conftest$ac_exeext conftest.$ac_ext
95470 fi
95471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95473 if test `eval echo '${'$as_ac_var'}'` = yes; then
95474   cat >>confdefs.h <<_ACEOF
95475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95476 _ACEOF
95477
95478 fi
95479 done
95480
95481     fi
95482   fi
95483
95484
95485
95486
95487
95488
95489   echo "$as_me:$LINENO: checking for log10f declaration" >&5
95490 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
95491   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
95492     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
95493   echo $ECHO_N "(cached) $ECHO_C" >&6
95494 else
95495
95496
95497
95498       ac_ext=cc
95499 ac_cpp='$CXXCPP $CPPFLAGS'
95500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95503
95504       cat >conftest.$ac_ext <<_ACEOF
95505 /* confdefs.h.  */
95506 _ACEOF
95507 cat confdefs.h >>conftest.$ac_ext
95508 cat >>conftest.$ac_ext <<_ACEOF
95509 /* end confdefs.h.  */
95510 #include <math.h>
95511                       #ifdef HAVE_IEEEFP_H
95512                       #include <ieeefp.h>
95513                       #endif
95514
95515 int
95516 main ()
95517 {
95518  log10f(0);
95519   ;
95520   return 0;
95521 }
95522 _ACEOF
95523 rm -f conftest.$ac_objext
95524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95525   (eval $ac_compile) 2>conftest.er1
95526   ac_status=$?
95527   grep -v '^ *+' conftest.er1 >conftest.err
95528   rm -f conftest.er1
95529   cat conftest.err >&5
95530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95531   (exit $ac_status); } &&
95532          { ac_try='test -z "$ac_cxx_werror_flag"
95533                          || test ! -s conftest.err'
95534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95535   (eval $ac_try) 2>&5
95536   ac_status=$?
95537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95538   (exit $ac_status); }; } &&
95539          { ac_try='test -s conftest.$ac_objext'
95540   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95541   (eval $ac_try) 2>&5
95542   ac_status=$?
95543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95544   (exit $ac_status); }; }; then
95545   glibcxx_cv_func_log10f_use=yes
95546 else
95547   echo "$as_me: failed program was:" >&5
95548 sed 's/^/| /' conftest.$ac_ext >&5
95549
95550 glibcxx_cv_func_log10f_use=no
95551 fi
95552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95553       ac_ext=c
95554 ac_cpp='$CPP $CPPFLAGS'
95555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95558
95559
95560 fi
95561
95562   fi
95563   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
95564 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
95565
95566   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
95567
95568 for ac_func in log10f
95569 do
95570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95571 echo "$as_me:$LINENO: checking for $ac_func" >&5
95572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95573 if eval "test \"\${$as_ac_var+set}\" = set"; then
95574   echo $ECHO_N "(cached) $ECHO_C" >&6
95575 else
95576   if test x$gcc_no_link = xyes; then
95577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95579    { (exit 1); exit 1; }; }
95580 fi
95581 cat >conftest.$ac_ext <<_ACEOF
95582 /* confdefs.h.  */
95583 _ACEOF
95584 cat confdefs.h >>conftest.$ac_ext
95585 cat >>conftest.$ac_ext <<_ACEOF
95586 /* end confdefs.h.  */
95587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95588    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95589 #define $ac_func innocuous_$ac_func
95590
95591 /* System header to define __stub macros and hopefully few prototypes,
95592     which can conflict with char $ac_func (); below.
95593     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95594     <limits.h> exists even on freestanding compilers.  */
95595
95596 #ifdef __STDC__
95597 # include <limits.h>
95598 #else
95599 # include <assert.h>
95600 #endif
95601
95602 #undef $ac_func
95603
95604 /* Override any gcc2 internal prototype to avoid an error.  */
95605 #ifdef __cplusplus
95606 extern "C"
95607 {
95608 #endif
95609 /* We use char because int might match the return type of a gcc2
95610    builtin and then its argument prototype would still apply.  */
95611 char $ac_func ();
95612 /* The GNU C library defines this for functions which it implements
95613     to always fail with ENOSYS.  Some functions are actually named
95614     something starting with __ and the normal name is an alias.  */
95615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95616 choke me
95617 #else
95618 char (*f) () = $ac_func;
95619 #endif
95620 #ifdef __cplusplus
95621 }
95622 #endif
95623
95624 int
95625 main ()
95626 {
95627 return f != $ac_func;
95628   ;
95629   return 0;
95630 }
95631 _ACEOF
95632 rm -f conftest.$ac_objext conftest$ac_exeext
95633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95634   (eval $ac_link) 2>conftest.er1
95635   ac_status=$?
95636   grep -v '^ *+' conftest.er1 >conftest.err
95637   rm -f conftest.er1
95638   cat conftest.err >&5
95639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95640   (exit $ac_status); } &&
95641          { ac_try='test -z "$ac_c_werror_flag"
95642                          || test ! -s conftest.err'
95643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95644   (eval $ac_try) 2>&5
95645   ac_status=$?
95646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95647   (exit $ac_status); }; } &&
95648          { ac_try='test -s conftest$ac_exeext'
95649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95650   (eval $ac_try) 2>&5
95651   ac_status=$?
95652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95653   (exit $ac_status); }; }; then
95654   eval "$as_ac_var=yes"
95655 else
95656   echo "$as_me: failed program was:" >&5
95657 sed 's/^/| /' conftest.$ac_ext >&5
95658
95659 eval "$as_ac_var=no"
95660 fi
95661 rm -f conftest.err conftest.$ac_objext \
95662       conftest$ac_exeext conftest.$ac_ext
95663 fi
95664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95666 if test `eval echo '${'$as_ac_var'}'` = yes; then
95667   cat >>confdefs.h <<_ACEOF
95668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95669 _ACEOF
95670
95671 fi
95672 done
95673
95674   else
95675
95676   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
95677 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
95678   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
95679     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
95680   echo $ECHO_N "(cached) $ECHO_C" >&6
95681 else
95682
95683
95684
95685       ac_ext=cc
95686 ac_cpp='$CXXCPP $CPPFLAGS'
95687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95690
95691       cat >conftest.$ac_ext <<_ACEOF
95692 /* confdefs.h.  */
95693 _ACEOF
95694 cat confdefs.h >>conftest.$ac_ext
95695 cat >>conftest.$ac_ext <<_ACEOF
95696 /* end confdefs.h.  */
95697 #include <math.h>
95698                       #ifdef HAVE_IEEEFP_H
95699                       #include <ieeefp.h>
95700                       #endif
95701
95702 int
95703 main ()
95704 {
95705  _log10f(0);
95706   ;
95707   return 0;
95708 }
95709 _ACEOF
95710 rm -f conftest.$ac_objext
95711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95712   (eval $ac_compile) 2>conftest.er1
95713   ac_status=$?
95714   grep -v '^ *+' conftest.er1 >conftest.err
95715   rm -f conftest.er1
95716   cat conftest.err >&5
95717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95718   (exit $ac_status); } &&
95719          { ac_try='test -z "$ac_cxx_werror_flag"
95720                          || test ! -s conftest.err'
95721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95722   (eval $ac_try) 2>&5
95723   ac_status=$?
95724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95725   (exit $ac_status); }; } &&
95726          { ac_try='test -s conftest.$ac_objext'
95727   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95728   (eval $ac_try) 2>&5
95729   ac_status=$?
95730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95731   (exit $ac_status); }; }; then
95732   glibcxx_cv_func__log10f_use=yes
95733 else
95734   echo "$as_me: failed program was:" >&5
95735 sed 's/^/| /' conftest.$ac_ext >&5
95736
95737 glibcxx_cv_func__log10f_use=no
95738 fi
95739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95740       ac_ext=c
95741 ac_cpp='$CPP $CPPFLAGS'
95742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95745
95746
95747 fi
95748
95749   fi
95750   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
95751 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
95752
95753     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
95754
95755 for ac_func in _log10f
95756 do
95757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95758 echo "$as_me:$LINENO: checking for $ac_func" >&5
95759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95760 if eval "test \"\${$as_ac_var+set}\" = set"; then
95761   echo $ECHO_N "(cached) $ECHO_C" >&6
95762 else
95763   if test x$gcc_no_link = xyes; then
95764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95766    { (exit 1); exit 1; }; }
95767 fi
95768 cat >conftest.$ac_ext <<_ACEOF
95769 /* confdefs.h.  */
95770 _ACEOF
95771 cat confdefs.h >>conftest.$ac_ext
95772 cat >>conftest.$ac_ext <<_ACEOF
95773 /* end confdefs.h.  */
95774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95776 #define $ac_func innocuous_$ac_func
95777
95778 /* System header to define __stub macros and hopefully few prototypes,
95779     which can conflict with char $ac_func (); below.
95780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95781     <limits.h> exists even on freestanding compilers.  */
95782
95783 #ifdef __STDC__
95784 # include <limits.h>
95785 #else
95786 # include <assert.h>
95787 #endif
95788
95789 #undef $ac_func
95790
95791 /* Override any gcc2 internal prototype to avoid an error.  */
95792 #ifdef __cplusplus
95793 extern "C"
95794 {
95795 #endif
95796 /* We use char because int might match the return type of a gcc2
95797    builtin and then its argument prototype would still apply.  */
95798 char $ac_func ();
95799 /* The GNU C library defines this for functions which it implements
95800     to always fail with ENOSYS.  Some functions are actually named
95801     something starting with __ and the normal name is an alias.  */
95802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95803 choke me
95804 #else
95805 char (*f) () = $ac_func;
95806 #endif
95807 #ifdef __cplusplus
95808 }
95809 #endif
95810
95811 int
95812 main ()
95813 {
95814 return f != $ac_func;
95815   ;
95816   return 0;
95817 }
95818 _ACEOF
95819 rm -f conftest.$ac_objext conftest$ac_exeext
95820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95821   (eval $ac_link) 2>conftest.er1
95822   ac_status=$?
95823   grep -v '^ *+' conftest.er1 >conftest.err
95824   rm -f conftest.er1
95825   cat conftest.err >&5
95826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95827   (exit $ac_status); } &&
95828          { ac_try='test -z "$ac_c_werror_flag"
95829                          || test ! -s conftest.err'
95830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95831   (eval $ac_try) 2>&5
95832   ac_status=$?
95833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95834   (exit $ac_status); }; } &&
95835          { ac_try='test -s conftest$ac_exeext'
95836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95837   (eval $ac_try) 2>&5
95838   ac_status=$?
95839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95840   (exit $ac_status); }; }; then
95841   eval "$as_ac_var=yes"
95842 else
95843   echo "$as_me: failed program was:" >&5
95844 sed 's/^/| /' conftest.$ac_ext >&5
95845
95846 eval "$as_ac_var=no"
95847 fi
95848 rm -f conftest.err conftest.$ac_objext \
95849       conftest$ac_exeext conftest.$ac_ext
95850 fi
95851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95853 if test `eval echo '${'$as_ac_var'}'` = yes; then
95854   cat >>confdefs.h <<_ACEOF
95855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95856 _ACEOF
95857
95858 fi
95859 done
95860
95861     fi
95862   fi
95863
95864
95865
95866
95867
95868
95869   echo "$as_me:$LINENO: checking for modff declaration" >&5
95870 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
95871   if test x${glibcxx_cv_func_modff_use+set} != xset; then
95872     if test "${glibcxx_cv_func_modff_use+set}" = set; then
95873   echo $ECHO_N "(cached) $ECHO_C" >&6
95874 else
95875
95876
95877
95878       ac_ext=cc
95879 ac_cpp='$CXXCPP $CPPFLAGS'
95880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95883
95884       cat >conftest.$ac_ext <<_ACEOF
95885 /* confdefs.h.  */
95886 _ACEOF
95887 cat confdefs.h >>conftest.$ac_ext
95888 cat >>conftest.$ac_ext <<_ACEOF
95889 /* end confdefs.h.  */
95890 #include <math.h>
95891 int
95892 main ()
95893 {
95894  modff(0, 0);
95895   ;
95896   return 0;
95897 }
95898 _ACEOF
95899 rm -f conftest.$ac_objext
95900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95901   (eval $ac_compile) 2>conftest.er1
95902   ac_status=$?
95903   grep -v '^ *+' conftest.er1 >conftest.err
95904   rm -f conftest.er1
95905   cat conftest.err >&5
95906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95907   (exit $ac_status); } &&
95908          { ac_try='test -z "$ac_cxx_werror_flag"
95909                          || test ! -s conftest.err'
95910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95911   (eval $ac_try) 2>&5
95912   ac_status=$?
95913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95914   (exit $ac_status); }; } &&
95915          { ac_try='test -s conftest.$ac_objext'
95916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95917   (eval $ac_try) 2>&5
95918   ac_status=$?
95919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95920   (exit $ac_status); }; }; then
95921   glibcxx_cv_func_modff_use=yes
95922 else
95923   echo "$as_me: failed program was:" >&5
95924 sed 's/^/| /' conftest.$ac_ext >&5
95925
95926 glibcxx_cv_func_modff_use=no
95927 fi
95928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95929       ac_ext=c
95930 ac_cpp='$CPP $CPPFLAGS'
95931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95934
95935
95936 fi
95937
95938   fi
95939   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
95940 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
95941
95942   if test x$glibcxx_cv_func_modff_use = x"yes"; then
95943
95944 for ac_func in modff
95945 do
95946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95947 echo "$as_me:$LINENO: checking for $ac_func" >&5
95948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95949 if eval "test \"\${$as_ac_var+set}\" = set"; then
95950   echo $ECHO_N "(cached) $ECHO_C" >&6
95951 else
95952   if test x$gcc_no_link = xyes; then
95953   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95955    { (exit 1); exit 1; }; }
95956 fi
95957 cat >conftest.$ac_ext <<_ACEOF
95958 /* confdefs.h.  */
95959 _ACEOF
95960 cat confdefs.h >>conftest.$ac_ext
95961 cat >>conftest.$ac_ext <<_ACEOF
95962 /* end confdefs.h.  */
95963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95964    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95965 #define $ac_func innocuous_$ac_func
95966
95967 /* System header to define __stub macros and hopefully few prototypes,
95968     which can conflict with char $ac_func (); below.
95969     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95970     <limits.h> exists even on freestanding compilers.  */
95971
95972 #ifdef __STDC__
95973 # include <limits.h>
95974 #else
95975 # include <assert.h>
95976 #endif
95977
95978 #undef $ac_func
95979
95980 /* Override any gcc2 internal prototype to avoid an error.  */
95981 #ifdef __cplusplus
95982 extern "C"
95983 {
95984 #endif
95985 /* We use char because int might match the return type of a gcc2
95986    builtin and then its argument prototype would still apply.  */
95987 char $ac_func ();
95988 /* The GNU C library defines this for functions which it implements
95989     to always fail with ENOSYS.  Some functions are actually named
95990     something starting with __ and the normal name is an alias.  */
95991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95992 choke me
95993 #else
95994 char (*f) () = $ac_func;
95995 #endif
95996 #ifdef __cplusplus
95997 }
95998 #endif
95999
96000 int
96001 main ()
96002 {
96003 return f != $ac_func;
96004   ;
96005   return 0;
96006 }
96007 _ACEOF
96008 rm -f conftest.$ac_objext conftest$ac_exeext
96009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96010   (eval $ac_link) 2>conftest.er1
96011   ac_status=$?
96012   grep -v '^ *+' conftest.er1 >conftest.err
96013   rm -f conftest.er1
96014   cat conftest.err >&5
96015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96016   (exit $ac_status); } &&
96017          { ac_try='test -z "$ac_c_werror_flag"
96018                          || test ! -s conftest.err'
96019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96020   (eval $ac_try) 2>&5
96021   ac_status=$?
96022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96023   (exit $ac_status); }; } &&
96024          { ac_try='test -s conftest$ac_exeext'
96025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96026   (eval $ac_try) 2>&5
96027   ac_status=$?
96028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96029   (exit $ac_status); }; }; then
96030   eval "$as_ac_var=yes"
96031 else
96032   echo "$as_me: failed program was:" >&5
96033 sed 's/^/| /' conftest.$ac_ext >&5
96034
96035 eval "$as_ac_var=no"
96036 fi
96037 rm -f conftest.err conftest.$ac_objext \
96038       conftest$ac_exeext conftest.$ac_ext
96039 fi
96040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96042 if test `eval echo '${'$as_ac_var'}'` = yes; then
96043   cat >>confdefs.h <<_ACEOF
96044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96045 _ACEOF
96046
96047 fi
96048 done
96049
96050   else
96051
96052   echo "$as_me:$LINENO: checking for _modff declaration" >&5
96053 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
96054   if test x${glibcxx_cv_func__modff_use+set} != xset; then
96055     if test "${glibcxx_cv_func__modff_use+set}" = set; then
96056   echo $ECHO_N "(cached) $ECHO_C" >&6
96057 else
96058
96059
96060
96061       ac_ext=cc
96062 ac_cpp='$CXXCPP $CPPFLAGS'
96063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96066
96067       cat >conftest.$ac_ext <<_ACEOF
96068 /* confdefs.h.  */
96069 _ACEOF
96070 cat confdefs.h >>conftest.$ac_ext
96071 cat >>conftest.$ac_ext <<_ACEOF
96072 /* end confdefs.h.  */
96073 #include <math.h>
96074 int
96075 main ()
96076 {
96077  _modff(0, 0);
96078   ;
96079   return 0;
96080 }
96081 _ACEOF
96082 rm -f conftest.$ac_objext
96083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96084   (eval $ac_compile) 2>conftest.er1
96085   ac_status=$?
96086   grep -v '^ *+' conftest.er1 >conftest.err
96087   rm -f conftest.er1
96088   cat conftest.err >&5
96089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96090   (exit $ac_status); } &&
96091          { ac_try='test -z "$ac_cxx_werror_flag"
96092                          || test ! -s conftest.err'
96093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96094   (eval $ac_try) 2>&5
96095   ac_status=$?
96096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96097   (exit $ac_status); }; } &&
96098          { ac_try='test -s conftest.$ac_objext'
96099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96100   (eval $ac_try) 2>&5
96101   ac_status=$?
96102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96103   (exit $ac_status); }; }; then
96104   glibcxx_cv_func__modff_use=yes
96105 else
96106   echo "$as_me: failed program was:" >&5
96107 sed 's/^/| /' conftest.$ac_ext >&5
96108
96109 glibcxx_cv_func__modff_use=no
96110 fi
96111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96112       ac_ext=c
96113 ac_cpp='$CPP $CPPFLAGS'
96114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96117
96118
96119 fi
96120
96121   fi
96122   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
96123 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
96124
96125     if test x$glibcxx_cv_func__modff_use = x"yes"; then
96126
96127 for ac_func in _modff
96128 do
96129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96130 echo "$as_me:$LINENO: checking for $ac_func" >&5
96131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96132 if eval "test \"\${$as_ac_var+set}\" = set"; then
96133   echo $ECHO_N "(cached) $ECHO_C" >&6
96134 else
96135   if test x$gcc_no_link = xyes; then
96136   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96138    { (exit 1); exit 1; }; }
96139 fi
96140 cat >conftest.$ac_ext <<_ACEOF
96141 /* confdefs.h.  */
96142 _ACEOF
96143 cat confdefs.h >>conftest.$ac_ext
96144 cat >>conftest.$ac_ext <<_ACEOF
96145 /* end confdefs.h.  */
96146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96147    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96148 #define $ac_func innocuous_$ac_func
96149
96150 /* System header to define __stub macros and hopefully few prototypes,
96151     which can conflict with char $ac_func (); below.
96152     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96153     <limits.h> exists even on freestanding compilers.  */
96154
96155 #ifdef __STDC__
96156 # include <limits.h>
96157 #else
96158 # include <assert.h>
96159 #endif
96160
96161 #undef $ac_func
96162
96163 /* Override any gcc2 internal prototype to avoid an error.  */
96164 #ifdef __cplusplus
96165 extern "C"
96166 {
96167 #endif
96168 /* We use char because int might match the return type of a gcc2
96169    builtin and then its argument prototype would still apply.  */
96170 char $ac_func ();
96171 /* The GNU C library defines this for functions which it implements
96172     to always fail with ENOSYS.  Some functions are actually named
96173     something starting with __ and the normal name is an alias.  */
96174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96175 choke me
96176 #else
96177 char (*f) () = $ac_func;
96178 #endif
96179 #ifdef __cplusplus
96180 }
96181 #endif
96182
96183 int
96184 main ()
96185 {
96186 return f != $ac_func;
96187   ;
96188   return 0;
96189 }
96190 _ACEOF
96191 rm -f conftest.$ac_objext conftest$ac_exeext
96192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96193   (eval $ac_link) 2>conftest.er1
96194   ac_status=$?
96195   grep -v '^ *+' conftest.er1 >conftest.err
96196   rm -f conftest.er1
96197   cat conftest.err >&5
96198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96199   (exit $ac_status); } &&
96200          { ac_try='test -z "$ac_c_werror_flag"
96201                          || test ! -s conftest.err'
96202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96203   (eval $ac_try) 2>&5
96204   ac_status=$?
96205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96206   (exit $ac_status); }; } &&
96207          { ac_try='test -s conftest$ac_exeext'
96208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96209   (eval $ac_try) 2>&5
96210   ac_status=$?
96211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96212   (exit $ac_status); }; }; then
96213   eval "$as_ac_var=yes"
96214 else
96215   echo "$as_me: failed program was:" >&5
96216 sed 's/^/| /' conftest.$ac_ext >&5
96217
96218 eval "$as_ac_var=no"
96219 fi
96220 rm -f conftest.err conftest.$ac_objext \
96221       conftest$ac_exeext conftest.$ac_ext
96222 fi
96223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96225 if test `eval echo '${'$as_ac_var'}'` = yes; then
96226   cat >>confdefs.h <<_ACEOF
96227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96228 _ACEOF
96229
96230 fi
96231 done
96232
96233     fi
96234   fi
96235
96236
96237
96238
96239
96240
96241   echo "$as_me:$LINENO: checking for modf declaration" >&5
96242 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
96243   if test x${glibcxx_cv_func_modf_use+set} != xset; then
96244     if test "${glibcxx_cv_func_modf_use+set}" = set; then
96245   echo $ECHO_N "(cached) $ECHO_C" >&6
96246 else
96247
96248
96249
96250       ac_ext=cc
96251 ac_cpp='$CXXCPP $CPPFLAGS'
96252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96255
96256       cat >conftest.$ac_ext <<_ACEOF
96257 /* confdefs.h.  */
96258 _ACEOF
96259 cat confdefs.h >>conftest.$ac_ext
96260 cat >>conftest.$ac_ext <<_ACEOF
96261 /* end confdefs.h.  */
96262 #include <math.h>
96263 int
96264 main ()
96265 {
96266  modf(0, 0);
96267   ;
96268   return 0;
96269 }
96270 _ACEOF
96271 rm -f conftest.$ac_objext
96272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96273   (eval $ac_compile) 2>conftest.er1
96274   ac_status=$?
96275   grep -v '^ *+' conftest.er1 >conftest.err
96276   rm -f conftest.er1
96277   cat conftest.err >&5
96278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96279   (exit $ac_status); } &&
96280          { ac_try='test -z "$ac_cxx_werror_flag"
96281                          || test ! -s conftest.err'
96282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96283   (eval $ac_try) 2>&5
96284   ac_status=$?
96285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96286   (exit $ac_status); }; } &&
96287          { ac_try='test -s conftest.$ac_objext'
96288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96289   (eval $ac_try) 2>&5
96290   ac_status=$?
96291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96292   (exit $ac_status); }; }; then
96293   glibcxx_cv_func_modf_use=yes
96294 else
96295   echo "$as_me: failed program was:" >&5
96296 sed 's/^/| /' conftest.$ac_ext >&5
96297
96298 glibcxx_cv_func_modf_use=no
96299 fi
96300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96301       ac_ext=c
96302 ac_cpp='$CPP $CPPFLAGS'
96303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96306
96307
96308 fi
96309
96310   fi
96311   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
96312 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
96313
96314   if test x$glibcxx_cv_func_modf_use = x"yes"; then
96315
96316 for ac_func in modf
96317 do
96318 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96319 echo "$as_me:$LINENO: checking for $ac_func" >&5
96320 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96321 if eval "test \"\${$as_ac_var+set}\" = set"; then
96322   echo $ECHO_N "(cached) $ECHO_C" >&6
96323 else
96324   if test x$gcc_no_link = xyes; then
96325   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96327    { (exit 1); exit 1; }; }
96328 fi
96329 cat >conftest.$ac_ext <<_ACEOF
96330 /* confdefs.h.  */
96331 _ACEOF
96332 cat confdefs.h >>conftest.$ac_ext
96333 cat >>conftest.$ac_ext <<_ACEOF
96334 /* end confdefs.h.  */
96335 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96336    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96337 #define $ac_func innocuous_$ac_func
96338
96339 /* System header to define __stub macros and hopefully few prototypes,
96340     which can conflict with char $ac_func (); below.
96341     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96342     <limits.h> exists even on freestanding compilers.  */
96343
96344 #ifdef __STDC__
96345 # include <limits.h>
96346 #else
96347 # include <assert.h>
96348 #endif
96349
96350 #undef $ac_func
96351
96352 /* Override any gcc2 internal prototype to avoid an error.  */
96353 #ifdef __cplusplus
96354 extern "C"
96355 {
96356 #endif
96357 /* We use char because int might match the return type of a gcc2
96358    builtin and then its argument prototype would still apply.  */
96359 char $ac_func ();
96360 /* The GNU C library defines this for functions which it implements
96361     to always fail with ENOSYS.  Some functions are actually named
96362     something starting with __ and the normal name is an alias.  */
96363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96364 choke me
96365 #else
96366 char (*f) () = $ac_func;
96367 #endif
96368 #ifdef __cplusplus
96369 }
96370 #endif
96371
96372 int
96373 main ()
96374 {
96375 return f != $ac_func;
96376   ;
96377   return 0;
96378 }
96379 _ACEOF
96380 rm -f conftest.$ac_objext conftest$ac_exeext
96381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96382   (eval $ac_link) 2>conftest.er1
96383   ac_status=$?
96384   grep -v '^ *+' conftest.er1 >conftest.err
96385   rm -f conftest.er1
96386   cat conftest.err >&5
96387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96388   (exit $ac_status); } &&
96389          { ac_try='test -z "$ac_c_werror_flag"
96390                          || test ! -s conftest.err'
96391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96392   (eval $ac_try) 2>&5
96393   ac_status=$?
96394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96395   (exit $ac_status); }; } &&
96396          { ac_try='test -s conftest$ac_exeext'
96397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96398   (eval $ac_try) 2>&5
96399   ac_status=$?
96400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96401   (exit $ac_status); }; }; then
96402   eval "$as_ac_var=yes"
96403 else
96404   echo "$as_me: failed program was:" >&5
96405 sed 's/^/| /' conftest.$ac_ext >&5
96406
96407 eval "$as_ac_var=no"
96408 fi
96409 rm -f conftest.err conftest.$ac_objext \
96410       conftest$ac_exeext conftest.$ac_ext
96411 fi
96412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96413 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96414 if test `eval echo '${'$as_ac_var'}'` = yes; then
96415   cat >>confdefs.h <<_ACEOF
96416 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96417 _ACEOF
96418
96419 fi
96420 done
96421
96422   else
96423
96424   echo "$as_me:$LINENO: checking for _modf declaration" >&5
96425 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
96426   if test x${glibcxx_cv_func__modf_use+set} != xset; then
96427     if test "${glibcxx_cv_func__modf_use+set}" = set; then
96428   echo $ECHO_N "(cached) $ECHO_C" >&6
96429 else
96430
96431
96432
96433       ac_ext=cc
96434 ac_cpp='$CXXCPP $CPPFLAGS'
96435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96438
96439       cat >conftest.$ac_ext <<_ACEOF
96440 /* confdefs.h.  */
96441 _ACEOF
96442 cat confdefs.h >>conftest.$ac_ext
96443 cat >>conftest.$ac_ext <<_ACEOF
96444 /* end confdefs.h.  */
96445 #include <math.h>
96446 int
96447 main ()
96448 {
96449  _modf(0, 0);
96450   ;
96451   return 0;
96452 }
96453 _ACEOF
96454 rm -f conftest.$ac_objext
96455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96456   (eval $ac_compile) 2>conftest.er1
96457   ac_status=$?
96458   grep -v '^ *+' conftest.er1 >conftest.err
96459   rm -f conftest.er1
96460   cat conftest.err >&5
96461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96462   (exit $ac_status); } &&
96463          { ac_try='test -z "$ac_cxx_werror_flag"
96464                          || test ! -s conftest.err'
96465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96466   (eval $ac_try) 2>&5
96467   ac_status=$?
96468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96469   (exit $ac_status); }; } &&
96470          { ac_try='test -s conftest.$ac_objext'
96471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96472   (eval $ac_try) 2>&5
96473   ac_status=$?
96474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96475   (exit $ac_status); }; }; then
96476   glibcxx_cv_func__modf_use=yes
96477 else
96478   echo "$as_me: failed program was:" >&5
96479 sed 's/^/| /' conftest.$ac_ext >&5
96480
96481 glibcxx_cv_func__modf_use=no
96482 fi
96483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96484       ac_ext=c
96485 ac_cpp='$CPP $CPPFLAGS'
96486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96489
96490
96491 fi
96492
96493   fi
96494   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
96495 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
96496
96497     if test x$glibcxx_cv_func__modf_use = x"yes"; then
96498
96499 for ac_func in _modf
96500 do
96501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96502 echo "$as_me:$LINENO: checking for $ac_func" >&5
96503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96504 if eval "test \"\${$as_ac_var+set}\" = set"; then
96505   echo $ECHO_N "(cached) $ECHO_C" >&6
96506 else
96507   if test x$gcc_no_link = xyes; then
96508   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96510    { (exit 1); exit 1; }; }
96511 fi
96512 cat >conftest.$ac_ext <<_ACEOF
96513 /* confdefs.h.  */
96514 _ACEOF
96515 cat confdefs.h >>conftest.$ac_ext
96516 cat >>conftest.$ac_ext <<_ACEOF
96517 /* end confdefs.h.  */
96518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96519    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96520 #define $ac_func innocuous_$ac_func
96521
96522 /* System header to define __stub macros and hopefully few prototypes,
96523     which can conflict with char $ac_func (); below.
96524     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96525     <limits.h> exists even on freestanding compilers.  */
96526
96527 #ifdef __STDC__
96528 # include <limits.h>
96529 #else
96530 # include <assert.h>
96531 #endif
96532
96533 #undef $ac_func
96534
96535 /* Override any gcc2 internal prototype to avoid an error.  */
96536 #ifdef __cplusplus
96537 extern "C"
96538 {
96539 #endif
96540 /* We use char because int might match the return type of a gcc2
96541    builtin and then its argument prototype would still apply.  */
96542 char $ac_func ();
96543 /* The GNU C library defines this for functions which it implements
96544     to always fail with ENOSYS.  Some functions are actually named
96545     something starting with __ and the normal name is an alias.  */
96546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96547 choke me
96548 #else
96549 char (*f) () = $ac_func;
96550 #endif
96551 #ifdef __cplusplus
96552 }
96553 #endif
96554
96555 int
96556 main ()
96557 {
96558 return f != $ac_func;
96559   ;
96560   return 0;
96561 }
96562 _ACEOF
96563 rm -f conftest.$ac_objext conftest$ac_exeext
96564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96565   (eval $ac_link) 2>conftest.er1
96566   ac_status=$?
96567   grep -v '^ *+' conftest.er1 >conftest.err
96568   rm -f conftest.er1
96569   cat conftest.err >&5
96570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96571   (exit $ac_status); } &&
96572          { ac_try='test -z "$ac_c_werror_flag"
96573                          || test ! -s conftest.err'
96574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96575   (eval $ac_try) 2>&5
96576   ac_status=$?
96577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96578   (exit $ac_status); }; } &&
96579          { ac_try='test -s conftest$ac_exeext'
96580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96581   (eval $ac_try) 2>&5
96582   ac_status=$?
96583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96584   (exit $ac_status); }; }; then
96585   eval "$as_ac_var=yes"
96586 else
96587   echo "$as_me: failed program was:" >&5
96588 sed 's/^/| /' conftest.$ac_ext >&5
96589
96590 eval "$as_ac_var=no"
96591 fi
96592 rm -f conftest.err conftest.$ac_objext \
96593       conftest$ac_exeext conftest.$ac_ext
96594 fi
96595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96597 if test `eval echo '${'$as_ac_var'}'` = yes; then
96598   cat >>confdefs.h <<_ACEOF
96599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96600 _ACEOF
96601
96602 fi
96603 done
96604
96605     fi
96606   fi
96607
96608
96609
96610
96611
96612
96613   echo "$as_me:$LINENO: checking for powf declaration" >&5
96614 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
96615   if test x${glibcxx_cv_func_powf_use+set} != xset; then
96616     if test "${glibcxx_cv_func_powf_use+set}" = set; then
96617   echo $ECHO_N "(cached) $ECHO_C" >&6
96618 else
96619
96620
96621
96622       ac_ext=cc
96623 ac_cpp='$CXXCPP $CPPFLAGS'
96624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96627
96628       cat >conftest.$ac_ext <<_ACEOF
96629 /* confdefs.h.  */
96630 _ACEOF
96631 cat confdefs.h >>conftest.$ac_ext
96632 cat >>conftest.$ac_ext <<_ACEOF
96633 /* end confdefs.h.  */
96634 #include <math.h>
96635 int
96636 main ()
96637 {
96638  powf(0, 0);
96639   ;
96640   return 0;
96641 }
96642 _ACEOF
96643 rm -f conftest.$ac_objext
96644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96645   (eval $ac_compile) 2>conftest.er1
96646   ac_status=$?
96647   grep -v '^ *+' conftest.er1 >conftest.err
96648   rm -f conftest.er1
96649   cat conftest.err >&5
96650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96651   (exit $ac_status); } &&
96652          { ac_try='test -z "$ac_cxx_werror_flag"
96653                          || test ! -s conftest.err'
96654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96655   (eval $ac_try) 2>&5
96656   ac_status=$?
96657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96658   (exit $ac_status); }; } &&
96659          { ac_try='test -s conftest.$ac_objext'
96660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96661   (eval $ac_try) 2>&5
96662   ac_status=$?
96663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96664   (exit $ac_status); }; }; then
96665   glibcxx_cv_func_powf_use=yes
96666 else
96667   echo "$as_me: failed program was:" >&5
96668 sed 's/^/| /' conftest.$ac_ext >&5
96669
96670 glibcxx_cv_func_powf_use=no
96671 fi
96672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96673       ac_ext=c
96674 ac_cpp='$CPP $CPPFLAGS'
96675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96678
96679
96680 fi
96681
96682   fi
96683   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
96684 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
96685
96686   if test x$glibcxx_cv_func_powf_use = x"yes"; then
96687
96688 for ac_func in powf
96689 do
96690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96691 echo "$as_me:$LINENO: checking for $ac_func" >&5
96692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96693 if eval "test \"\${$as_ac_var+set}\" = set"; then
96694   echo $ECHO_N "(cached) $ECHO_C" >&6
96695 else
96696   if test x$gcc_no_link = xyes; then
96697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96699    { (exit 1); exit 1; }; }
96700 fi
96701 cat >conftest.$ac_ext <<_ACEOF
96702 /* confdefs.h.  */
96703 _ACEOF
96704 cat confdefs.h >>conftest.$ac_ext
96705 cat >>conftest.$ac_ext <<_ACEOF
96706 /* end confdefs.h.  */
96707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96708    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96709 #define $ac_func innocuous_$ac_func
96710
96711 /* System header to define __stub macros and hopefully few prototypes,
96712     which can conflict with char $ac_func (); below.
96713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96714     <limits.h> exists even on freestanding compilers.  */
96715
96716 #ifdef __STDC__
96717 # include <limits.h>
96718 #else
96719 # include <assert.h>
96720 #endif
96721
96722 #undef $ac_func
96723
96724 /* Override any gcc2 internal prototype to avoid an error.  */
96725 #ifdef __cplusplus
96726 extern "C"
96727 {
96728 #endif
96729 /* We use char because int might match the return type of a gcc2
96730    builtin and then its argument prototype would still apply.  */
96731 char $ac_func ();
96732 /* The GNU C library defines this for functions which it implements
96733     to always fail with ENOSYS.  Some functions are actually named
96734     something starting with __ and the normal name is an alias.  */
96735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96736 choke me
96737 #else
96738 char (*f) () = $ac_func;
96739 #endif
96740 #ifdef __cplusplus
96741 }
96742 #endif
96743
96744 int
96745 main ()
96746 {
96747 return f != $ac_func;
96748   ;
96749   return 0;
96750 }
96751 _ACEOF
96752 rm -f conftest.$ac_objext conftest$ac_exeext
96753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96754   (eval $ac_link) 2>conftest.er1
96755   ac_status=$?
96756   grep -v '^ *+' conftest.er1 >conftest.err
96757   rm -f conftest.er1
96758   cat conftest.err >&5
96759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96760   (exit $ac_status); } &&
96761          { ac_try='test -z "$ac_c_werror_flag"
96762                          || test ! -s conftest.err'
96763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96764   (eval $ac_try) 2>&5
96765   ac_status=$?
96766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96767   (exit $ac_status); }; } &&
96768          { ac_try='test -s conftest$ac_exeext'
96769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96770   (eval $ac_try) 2>&5
96771   ac_status=$?
96772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96773   (exit $ac_status); }; }; then
96774   eval "$as_ac_var=yes"
96775 else
96776   echo "$as_me: failed program was:" >&5
96777 sed 's/^/| /' conftest.$ac_ext >&5
96778
96779 eval "$as_ac_var=no"
96780 fi
96781 rm -f conftest.err conftest.$ac_objext \
96782       conftest$ac_exeext conftest.$ac_ext
96783 fi
96784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96786 if test `eval echo '${'$as_ac_var'}'` = yes; then
96787   cat >>confdefs.h <<_ACEOF
96788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96789 _ACEOF
96790
96791 fi
96792 done
96793
96794   else
96795
96796   echo "$as_me:$LINENO: checking for _powf declaration" >&5
96797 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
96798   if test x${glibcxx_cv_func__powf_use+set} != xset; then
96799     if test "${glibcxx_cv_func__powf_use+set}" = set; then
96800   echo $ECHO_N "(cached) $ECHO_C" >&6
96801 else
96802
96803
96804
96805       ac_ext=cc
96806 ac_cpp='$CXXCPP $CPPFLAGS'
96807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96810
96811       cat >conftest.$ac_ext <<_ACEOF
96812 /* confdefs.h.  */
96813 _ACEOF
96814 cat confdefs.h >>conftest.$ac_ext
96815 cat >>conftest.$ac_ext <<_ACEOF
96816 /* end confdefs.h.  */
96817 #include <math.h>
96818 int
96819 main ()
96820 {
96821  _powf(0, 0);
96822   ;
96823   return 0;
96824 }
96825 _ACEOF
96826 rm -f conftest.$ac_objext
96827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96828   (eval $ac_compile) 2>conftest.er1
96829   ac_status=$?
96830   grep -v '^ *+' conftest.er1 >conftest.err
96831   rm -f conftest.er1
96832   cat conftest.err >&5
96833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96834   (exit $ac_status); } &&
96835          { ac_try='test -z "$ac_cxx_werror_flag"
96836                          || test ! -s conftest.err'
96837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96838   (eval $ac_try) 2>&5
96839   ac_status=$?
96840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96841   (exit $ac_status); }; } &&
96842          { ac_try='test -s conftest.$ac_objext'
96843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96844   (eval $ac_try) 2>&5
96845   ac_status=$?
96846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96847   (exit $ac_status); }; }; then
96848   glibcxx_cv_func__powf_use=yes
96849 else
96850   echo "$as_me: failed program was:" >&5
96851 sed 's/^/| /' conftest.$ac_ext >&5
96852
96853 glibcxx_cv_func__powf_use=no
96854 fi
96855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96856       ac_ext=c
96857 ac_cpp='$CPP $CPPFLAGS'
96858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96861
96862
96863 fi
96864
96865   fi
96866   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
96867 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
96868
96869     if test x$glibcxx_cv_func__powf_use = x"yes"; then
96870
96871 for ac_func in _powf
96872 do
96873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96874 echo "$as_me:$LINENO: checking for $ac_func" >&5
96875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96876 if eval "test \"\${$as_ac_var+set}\" = set"; then
96877   echo $ECHO_N "(cached) $ECHO_C" >&6
96878 else
96879   if test x$gcc_no_link = xyes; then
96880   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96882    { (exit 1); exit 1; }; }
96883 fi
96884 cat >conftest.$ac_ext <<_ACEOF
96885 /* confdefs.h.  */
96886 _ACEOF
96887 cat confdefs.h >>conftest.$ac_ext
96888 cat >>conftest.$ac_ext <<_ACEOF
96889 /* end confdefs.h.  */
96890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96891    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96892 #define $ac_func innocuous_$ac_func
96893
96894 /* System header to define __stub macros and hopefully few prototypes,
96895     which can conflict with char $ac_func (); below.
96896     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96897     <limits.h> exists even on freestanding compilers.  */
96898
96899 #ifdef __STDC__
96900 # include <limits.h>
96901 #else
96902 # include <assert.h>
96903 #endif
96904
96905 #undef $ac_func
96906
96907 /* Override any gcc2 internal prototype to avoid an error.  */
96908 #ifdef __cplusplus
96909 extern "C"
96910 {
96911 #endif
96912 /* We use char because int might match the return type of a gcc2
96913    builtin and then its argument prototype would still apply.  */
96914 char $ac_func ();
96915 /* The GNU C library defines this for functions which it implements
96916     to always fail with ENOSYS.  Some functions are actually named
96917     something starting with __ and the normal name is an alias.  */
96918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96919 choke me
96920 #else
96921 char (*f) () = $ac_func;
96922 #endif
96923 #ifdef __cplusplus
96924 }
96925 #endif
96926
96927 int
96928 main ()
96929 {
96930 return f != $ac_func;
96931   ;
96932   return 0;
96933 }
96934 _ACEOF
96935 rm -f conftest.$ac_objext conftest$ac_exeext
96936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96937   (eval $ac_link) 2>conftest.er1
96938   ac_status=$?
96939   grep -v '^ *+' conftest.er1 >conftest.err
96940   rm -f conftest.er1
96941   cat conftest.err >&5
96942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96943   (exit $ac_status); } &&
96944          { ac_try='test -z "$ac_c_werror_flag"
96945                          || test ! -s conftest.err'
96946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96947   (eval $ac_try) 2>&5
96948   ac_status=$?
96949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96950   (exit $ac_status); }; } &&
96951          { ac_try='test -s conftest$ac_exeext'
96952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96953   (eval $ac_try) 2>&5
96954   ac_status=$?
96955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96956   (exit $ac_status); }; }; then
96957   eval "$as_ac_var=yes"
96958 else
96959   echo "$as_me: failed program was:" >&5
96960 sed 's/^/| /' conftest.$ac_ext >&5
96961
96962 eval "$as_ac_var=no"
96963 fi
96964 rm -f conftest.err conftest.$ac_objext \
96965       conftest$ac_exeext conftest.$ac_ext
96966 fi
96967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96969 if test `eval echo '${'$as_ac_var'}'` = yes; then
96970   cat >>confdefs.h <<_ACEOF
96971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96972 _ACEOF
96973
96974 fi
96975 done
96976
96977     fi
96978   fi
96979
96980
96981
96982
96983
96984
96985   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
96986 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
96987   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
96988     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
96989   echo $ECHO_N "(cached) $ECHO_C" >&6
96990 else
96991
96992
96993
96994       ac_ext=cc
96995 ac_cpp='$CXXCPP $CPPFLAGS'
96996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96999
97000       cat >conftest.$ac_ext <<_ACEOF
97001 /* confdefs.h.  */
97002 _ACEOF
97003 cat confdefs.h >>conftest.$ac_ext
97004 cat >>conftest.$ac_ext <<_ACEOF
97005 /* end confdefs.h.  */
97006 #include <math.h>
97007                       #ifdef HAVE_IEEEFP_H
97008                       #include <ieeefp.h>
97009                       #endif
97010
97011 int
97012 main ()
97013 {
97014  sqrtf(0);
97015   ;
97016   return 0;
97017 }
97018 _ACEOF
97019 rm -f conftest.$ac_objext
97020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97021   (eval $ac_compile) 2>conftest.er1
97022   ac_status=$?
97023   grep -v '^ *+' conftest.er1 >conftest.err
97024   rm -f conftest.er1
97025   cat conftest.err >&5
97026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97027   (exit $ac_status); } &&
97028          { ac_try='test -z "$ac_cxx_werror_flag"
97029                          || test ! -s conftest.err'
97030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97031   (eval $ac_try) 2>&5
97032   ac_status=$?
97033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97034   (exit $ac_status); }; } &&
97035          { ac_try='test -s conftest.$ac_objext'
97036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97037   (eval $ac_try) 2>&5
97038   ac_status=$?
97039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97040   (exit $ac_status); }; }; then
97041   glibcxx_cv_func_sqrtf_use=yes
97042 else
97043   echo "$as_me: failed program was:" >&5
97044 sed 's/^/| /' conftest.$ac_ext >&5
97045
97046 glibcxx_cv_func_sqrtf_use=no
97047 fi
97048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97049       ac_ext=c
97050 ac_cpp='$CPP $CPPFLAGS'
97051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97054
97055
97056 fi
97057
97058   fi
97059   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
97060 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
97061
97062   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
97063
97064 for ac_func in sqrtf
97065 do
97066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97067 echo "$as_me:$LINENO: checking for $ac_func" >&5
97068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97069 if eval "test \"\${$as_ac_var+set}\" = set"; then
97070   echo $ECHO_N "(cached) $ECHO_C" >&6
97071 else
97072   if test x$gcc_no_link = xyes; then
97073   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97075    { (exit 1); exit 1; }; }
97076 fi
97077 cat >conftest.$ac_ext <<_ACEOF
97078 /* confdefs.h.  */
97079 _ACEOF
97080 cat confdefs.h >>conftest.$ac_ext
97081 cat >>conftest.$ac_ext <<_ACEOF
97082 /* end confdefs.h.  */
97083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97084    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97085 #define $ac_func innocuous_$ac_func
97086
97087 /* System header to define __stub macros and hopefully few prototypes,
97088     which can conflict with char $ac_func (); below.
97089     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97090     <limits.h> exists even on freestanding compilers.  */
97091
97092 #ifdef __STDC__
97093 # include <limits.h>
97094 #else
97095 # include <assert.h>
97096 #endif
97097
97098 #undef $ac_func
97099
97100 /* Override any gcc2 internal prototype to avoid an error.  */
97101 #ifdef __cplusplus
97102 extern "C"
97103 {
97104 #endif
97105 /* We use char because int might match the return type of a gcc2
97106    builtin and then its argument prototype would still apply.  */
97107 char $ac_func ();
97108 /* The GNU C library defines this for functions which it implements
97109     to always fail with ENOSYS.  Some functions are actually named
97110     something starting with __ and the normal name is an alias.  */
97111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97112 choke me
97113 #else
97114 char (*f) () = $ac_func;
97115 #endif
97116 #ifdef __cplusplus
97117 }
97118 #endif
97119
97120 int
97121 main ()
97122 {
97123 return f != $ac_func;
97124   ;
97125   return 0;
97126 }
97127 _ACEOF
97128 rm -f conftest.$ac_objext conftest$ac_exeext
97129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97130   (eval $ac_link) 2>conftest.er1
97131   ac_status=$?
97132   grep -v '^ *+' conftest.er1 >conftest.err
97133   rm -f conftest.er1
97134   cat conftest.err >&5
97135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97136   (exit $ac_status); } &&
97137          { ac_try='test -z "$ac_c_werror_flag"
97138                          || test ! -s conftest.err'
97139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97140   (eval $ac_try) 2>&5
97141   ac_status=$?
97142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97143   (exit $ac_status); }; } &&
97144          { ac_try='test -s conftest$ac_exeext'
97145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97146   (eval $ac_try) 2>&5
97147   ac_status=$?
97148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97149   (exit $ac_status); }; }; then
97150   eval "$as_ac_var=yes"
97151 else
97152   echo "$as_me: failed program was:" >&5
97153 sed 's/^/| /' conftest.$ac_ext >&5
97154
97155 eval "$as_ac_var=no"
97156 fi
97157 rm -f conftest.err conftest.$ac_objext \
97158       conftest$ac_exeext conftest.$ac_ext
97159 fi
97160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97162 if test `eval echo '${'$as_ac_var'}'` = yes; then
97163   cat >>confdefs.h <<_ACEOF
97164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97165 _ACEOF
97166
97167 fi
97168 done
97169
97170   else
97171
97172   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
97173 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
97174   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
97175     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
97176   echo $ECHO_N "(cached) $ECHO_C" >&6
97177 else
97178
97179
97180
97181       ac_ext=cc
97182 ac_cpp='$CXXCPP $CPPFLAGS'
97183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97186
97187       cat >conftest.$ac_ext <<_ACEOF
97188 /* confdefs.h.  */
97189 _ACEOF
97190 cat confdefs.h >>conftest.$ac_ext
97191 cat >>conftest.$ac_ext <<_ACEOF
97192 /* end confdefs.h.  */
97193 #include <math.h>
97194                       #ifdef HAVE_IEEEFP_H
97195                       #include <ieeefp.h>
97196                       #endif
97197
97198 int
97199 main ()
97200 {
97201  _sqrtf(0);
97202   ;
97203   return 0;
97204 }
97205 _ACEOF
97206 rm -f conftest.$ac_objext
97207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97208   (eval $ac_compile) 2>conftest.er1
97209   ac_status=$?
97210   grep -v '^ *+' conftest.er1 >conftest.err
97211   rm -f conftest.er1
97212   cat conftest.err >&5
97213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97214   (exit $ac_status); } &&
97215          { ac_try='test -z "$ac_cxx_werror_flag"
97216                          || test ! -s conftest.err'
97217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97218   (eval $ac_try) 2>&5
97219   ac_status=$?
97220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97221   (exit $ac_status); }; } &&
97222          { ac_try='test -s conftest.$ac_objext'
97223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97224   (eval $ac_try) 2>&5
97225   ac_status=$?
97226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97227   (exit $ac_status); }; }; then
97228   glibcxx_cv_func__sqrtf_use=yes
97229 else
97230   echo "$as_me: failed program was:" >&5
97231 sed 's/^/| /' conftest.$ac_ext >&5
97232
97233 glibcxx_cv_func__sqrtf_use=no
97234 fi
97235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97236       ac_ext=c
97237 ac_cpp='$CPP $CPPFLAGS'
97238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97241
97242
97243 fi
97244
97245   fi
97246   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
97247 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
97248
97249     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
97250
97251 for ac_func in _sqrtf
97252 do
97253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97254 echo "$as_me:$LINENO: checking for $ac_func" >&5
97255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97256 if eval "test \"\${$as_ac_var+set}\" = set"; then
97257   echo $ECHO_N "(cached) $ECHO_C" >&6
97258 else
97259   if test x$gcc_no_link = xyes; then
97260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97262    { (exit 1); exit 1; }; }
97263 fi
97264 cat >conftest.$ac_ext <<_ACEOF
97265 /* confdefs.h.  */
97266 _ACEOF
97267 cat confdefs.h >>conftest.$ac_ext
97268 cat >>conftest.$ac_ext <<_ACEOF
97269 /* end confdefs.h.  */
97270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97272 #define $ac_func innocuous_$ac_func
97273
97274 /* System header to define __stub macros and hopefully few prototypes,
97275     which can conflict with char $ac_func (); below.
97276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97277     <limits.h> exists even on freestanding compilers.  */
97278
97279 #ifdef __STDC__
97280 # include <limits.h>
97281 #else
97282 # include <assert.h>
97283 #endif
97284
97285 #undef $ac_func
97286
97287 /* Override any gcc2 internal prototype to avoid an error.  */
97288 #ifdef __cplusplus
97289 extern "C"
97290 {
97291 #endif
97292 /* We use char because int might match the return type of a gcc2
97293    builtin and then its argument prototype would still apply.  */
97294 char $ac_func ();
97295 /* The GNU C library defines this for functions which it implements
97296     to always fail with ENOSYS.  Some functions are actually named
97297     something starting with __ and the normal name is an alias.  */
97298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97299 choke me
97300 #else
97301 char (*f) () = $ac_func;
97302 #endif
97303 #ifdef __cplusplus
97304 }
97305 #endif
97306
97307 int
97308 main ()
97309 {
97310 return f != $ac_func;
97311   ;
97312   return 0;
97313 }
97314 _ACEOF
97315 rm -f conftest.$ac_objext conftest$ac_exeext
97316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97317   (eval $ac_link) 2>conftest.er1
97318   ac_status=$?
97319   grep -v '^ *+' conftest.er1 >conftest.err
97320   rm -f conftest.er1
97321   cat conftest.err >&5
97322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97323   (exit $ac_status); } &&
97324          { ac_try='test -z "$ac_c_werror_flag"
97325                          || test ! -s conftest.err'
97326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97327   (eval $ac_try) 2>&5
97328   ac_status=$?
97329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97330   (exit $ac_status); }; } &&
97331          { ac_try='test -s conftest$ac_exeext'
97332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97333   (eval $ac_try) 2>&5
97334   ac_status=$?
97335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97336   (exit $ac_status); }; }; then
97337   eval "$as_ac_var=yes"
97338 else
97339   echo "$as_me: failed program was:" >&5
97340 sed 's/^/| /' conftest.$ac_ext >&5
97341
97342 eval "$as_ac_var=no"
97343 fi
97344 rm -f conftest.err conftest.$ac_objext \
97345       conftest$ac_exeext conftest.$ac_ext
97346 fi
97347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97349 if test `eval echo '${'$as_ac_var'}'` = yes; then
97350   cat >>confdefs.h <<_ACEOF
97351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97352 _ACEOF
97353
97354 fi
97355 done
97356
97357     fi
97358   fi
97359
97360
97361
97362
97363
97364
97365   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
97366 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
97367   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
97368     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
97369   echo $ECHO_N "(cached) $ECHO_C" >&6
97370 else
97371
97372
97373
97374       ac_ext=cc
97375 ac_cpp='$CXXCPP $CPPFLAGS'
97376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97379
97380       cat >conftest.$ac_ext <<_ACEOF
97381 /* confdefs.h.  */
97382 _ACEOF
97383 cat confdefs.h >>conftest.$ac_ext
97384 cat >>conftest.$ac_ext <<_ACEOF
97385 /* end confdefs.h.  */
97386 #include <math.h>
97387 int
97388 main ()
97389 {
97390  sincosf(0, 0, 0);
97391   ;
97392   return 0;
97393 }
97394 _ACEOF
97395 rm -f conftest.$ac_objext
97396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97397   (eval $ac_compile) 2>conftest.er1
97398   ac_status=$?
97399   grep -v '^ *+' conftest.er1 >conftest.err
97400   rm -f conftest.er1
97401   cat conftest.err >&5
97402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97403   (exit $ac_status); } &&
97404          { ac_try='test -z "$ac_cxx_werror_flag"
97405                          || test ! -s conftest.err'
97406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97407   (eval $ac_try) 2>&5
97408   ac_status=$?
97409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97410   (exit $ac_status); }; } &&
97411          { ac_try='test -s conftest.$ac_objext'
97412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97413   (eval $ac_try) 2>&5
97414   ac_status=$?
97415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97416   (exit $ac_status); }; }; then
97417   glibcxx_cv_func_sincosf_use=yes
97418 else
97419   echo "$as_me: failed program was:" >&5
97420 sed 's/^/| /' conftest.$ac_ext >&5
97421
97422 glibcxx_cv_func_sincosf_use=no
97423 fi
97424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97425       ac_ext=c
97426 ac_cpp='$CPP $CPPFLAGS'
97427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97430
97431
97432 fi
97433
97434   fi
97435   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
97436 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
97437
97438   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
97439
97440 for ac_func in sincosf
97441 do
97442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97443 echo "$as_me:$LINENO: checking for $ac_func" >&5
97444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97445 if eval "test \"\${$as_ac_var+set}\" = set"; then
97446   echo $ECHO_N "(cached) $ECHO_C" >&6
97447 else
97448   if test x$gcc_no_link = xyes; then
97449   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97451    { (exit 1); exit 1; }; }
97452 fi
97453 cat >conftest.$ac_ext <<_ACEOF
97454 /* confdefs.h.  */
97455 _ACEOF
97456 cat confdefs.h >>conftest.$ac_ext
97457 cat >>conftest.$ac_ext <<_ACEOF
97458 /* end confdefs.h.  */
97459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97460    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97461 #define $ac_func innocuous_$ac_func
97462
97463 /* System header to define __stub macros and hopefully few prototypes,
97464     which can conflict with char $ac_func (); below.
97465     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97466     <limits.h> exists even on freestanding compilers.  */
97467
97468 #ifdef __STDC__
97469 # include <limits.h>
97470 #else
97471 # include <assert.h>
97472 #endif
97473
97474 #undef $ac_func
97475
97476 /* Override any gcc2 internal prototype to avoid an error.  */
97477 #ifdef __cplusplus
97478 extern "C"
97479 {
97480 #endif
97481 /* We use char because int might match the return type of a gcc2
97482    builtin and then its argument prototype would still apply.  */
97483 char $ac_func ();
97484 /* The GNU C library defines this for functions which it implements
97485     to always fail with ENOSYS.  Some functions are actually named
97486     something starting with __ and the normal name is an alias.  */
97487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97488 choke me
97489 #else
97490 char (*f) () = $ac_func;
97491 #endif
97492 #ifdef __cplusplus
97493 }
97494 #endif
97495
97496 int
97497 main ()
97498 {
97499 return f != $ac_func;
97500   ;
97501   return 0;
97502 }
97503 _ACEOF
97504 rm -f conftest.$ac_objext conftest$ac_exeext
97505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97506   (eval $ac_link) 2>conftest.er1
97507   ac_status=$?
97508   grep -v '^ *+' conftest.er1 >conftest.err
97509   rm -f conftest.er1
97510   cat conftest.err >&5
97511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97512   (exit $ac_status); } &&
97513          { ac_try='test -z "$ac_c_werror_flag"
97514                          || test ! -s conftest.err'
97515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97516   (eval $ac_try) 2>&5
97517   ac_status=$?
97518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97519   (exit $ac_status); }; } &&
97520          { ac_try='test -s conftest$ac_exeext'
97521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97522   (eval $ac_try) 2>&5
97523   ac_status=$?
97524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97525   (exit $ac_status); }; }; then
97526   eval "$as_ac_var=yes"
97527 else
97528   echo "$as_me: failed program was:" >&5
97529 sed 's/^/| /' conftest.$ac_ext >&5
97530
97531 eval "$as_ac_var=no"
97532 fi
97533 rm -f conftest.err conftest.$ac_objext \
97534       conftest$ac_exeext conftest.$ac_ext
97535 fi
97536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97538 if test `eval echo '${'$as_ac_var'}'` = yes; then
97539   cat >>confdefs.h <<_ACEOF
97540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97541 _ACEOF
97542
97543 fi
97544 done
97545
97546   else
97547
97548   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
97549 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
97550   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
97551     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
97552   echo $ECHO_N "(cached) $ECHO_C" >&6
97553 else
97554
97555
97556
97557       ac_ext=cc
97558 ac_cpp='$CXXCPP $CPPFLAGS'
97559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97562
97563       cat >conftest.$ac_ext <<_ACEOF
97564 /* confdefs.h.  */
97565 _ACEOF
97566 cat confdefs.h >>conftest.$ac_ext
97567 cat >>conftest.$ac_ext <<_ACEOF
97568 /* end confdefs.h.  */
97569 #include <math.h>
97570 int
97571 main ()
97572 {
97573  _sincosf(0, 0, 0);
97574   ;
97575   return 0;
97576 }
97577 _ACEOF
97578 rm -f conftest.$ac_objext
97579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97580   (eval $ac_compile) 2>conftest.er1
97581   ac_status=$?
97582   grep -v '^ *+' conftest.er1 >conftest.err
97583   rm -f conftest.er1
97584   cat conftest.err >&5
97585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97586   (exit $ac_status); } &&
97587          { ac_try='test -z "$ac_cxx_werror_flag"
97588                          || test ! -s conftest.err'
97589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97590   (eval $ac_try) 2>&5
97591   ac_status=$?
97592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97593   (exit $ac_status); }; } &&
97594          { ac_try='test -s conftest.$ac_objext'
97595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97596   (eval $ac_try) 2>&5
97597   ac_status=$?
97598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97599   (exit $ac_status); }; }; then
97600   glibcxx_cv_func__sincosf_use=yes
97601 else
97602   echo "$as_me: failed program was:" >&5
97603 sed 's/^/| /' conftest.$ac_ext >&5
97604
97605 glibcxx_cv_func__sincosf_use=no
97606 fi
97607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97608       ac_ext=c
97609 ac_cpp='$CPP $CPPFLAGS'
97610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97613
97614
97615 fi
97616
97617   fi
97618   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
97619 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
97620
97621     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
97622
97623 for ac_func in _sincosf
97624 do
97625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97626 echo "$as_me:$LINENO: checking for $ac_func" >&5
97627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97628 if eval "test \"\${$as_ac_var+set}\" = set"; then
97629   echo $ECHO_N "(cached) $ECHO_C" >&6
97630 else
97631   if test x$gcc_no_link = xyes; then
97632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97634    { (exit 1); exit 1; }; }
97635 fi
97636 cat >conftest.$ac_ext <<_ACEOF
97637 /* confdefs.h.  */
97638 _ACEOF
97639 cat confdefs.h >>conftest.$ac_ext
97640 cat >>conftest.$ac_ext <<_ACEOF
97641 /* end confdefs.h.  */
97642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97643    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97644 #define $ac_func innocuous_$ac_func
97645
97646 /* System header to define __stub macros and hopefully few prototypes,
97647     which can conflict with char $ac_func (); below.
97648     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97649     <limits.h> exists even on freestanding compilers.  */
97650
97651 #ifdef __STDC__
97652 # include <limits.h>
97653 #else
97654 # include <assert.h>
97655 #endif
97656
97657 #undef $ac_func
97658
97659 /* Override any gcc2 internal prototype to avoid an error.  */
97660 #ifdef __cplusplus
97661 extern "C"
97662 {
97663 #endif
97664 /* We use char because int might match the return type of a gcc2
97665    builtin and then its argument prototype would still apply.  */
97666 char $ac_func ();
97667 /* The GNU C library defines this for functions which it implements
97668     to always fail with ENOSYS.  Some functions are actually named
97669     something starting with __ and the normal name is an alias.  */
97670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97671 choke me
97672 #else
97673 char (*f) () = $ac_func;
97674 #endif
97675 #ifdef __cplusplus
97676 }
97677 #endif
97678
97679 int
97680 main ()
97681 {
97682 return f != $ac_func;
97683   ;
97684   return 0;
97685 }
97686 _ACEOF
97687 rm -f conftest.$ac_objext conftest$ac_exeext
97688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97689   (eval $ac_link) 2>conftest.er1
97690   ac_status=$?
97691   grep -v '^ *+' conftest.er1 >conftest.err
97692   rm -f conftest.er1
97693   cat conftest.err >&5
97694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97695   (exit $ac_status); } &&
97696          { ac_try='test -z "$ac_c_werror_flag"
97697                          || test ! -s conftest.err'
97698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97699   (eval $ac_try) 2>&5
97700   ac_status=$?
97701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97702   (exit $ac_status); }; } &&
97703          { ac_try='test -s conftest$ac_exeext'
97704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97705   (eval $ac_try) 2>&5
97706   ac_status=$?
97707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97708   (exit $ac_status); }; }; then
97709   eval "$as_ac_var=yes"
97710 else
97711   echo "$as_me: failed program was:" >&5
97712 sed 's/^/| /' conftest.$ac_ext >&5
97713
97714 eval "$as_ac_var=no"
97715 fi
97716 rm -f conftest.err conftest.$ac_objext \
97717       conftest$ac_exeext conftest.$ac_ext
97718 fi
97719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97721 if test `eval echo '${'$as_ac_var'}'` = yes; then
97722   cat >>confdefs.h <<_ACEOF
97723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97724 _ACEOF
97725
97726 fi
97727 done
97728
97729     fi
97730   fi
97731
97732
97733
97734
97735
97736
97737   echo "$as_me:$LINENO: checking for finitef declaration" >&5
97738 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
97739   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
97740     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
97741   echo $ECHO_N "(cached) $ECHO_C" >&6
97742 else
97743
97744
97745
97746       ac_ext=cc
97747 ac_cpp='$CXXCPP $CPPFLAGS'
97748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97751
97752       cat >conftest.$ac_ext <<_ACEOF
97753 /* confdefs.h.  */
97754 _ACEOF
97755 cat confdefs.h >>conftest.$ac_ext
97756 cat >>conftest.$ac_ext <<_ACEOF
97757 /* end confdefs.h.  */
97758 #include <math.h>
97759                       #ifdef HAVE_IEEEFP_H
97760                       #include <ieeefp.h>
97761                       #endif
97762
97763 int
97764 main ()
97765 {
97766  finitef(0);
97767   ;
97768   return 0;
97769 }
97770 _ACEOF
97771 rm -f conftest.$ac_objext
97772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97773   (eval $ac_compile) 2>conftest.er1
97774   ac_status=$?
97775   grep -v '^ *+' conftest.er1 >conftest.err
97776   rm -f conftest.er1
97777   cat conftest.err >&5
97778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97779   (exit $ac_status); } &&
97780          { ac_try='test -z "$ac_cxx_werror_flag"
97781                          || test ! -s conftest.err'
97782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97783   (eval $ac_try) 2>&5
97784   ac_status=$?
97785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97786   (exit $ac_status); }; } &&
97787          { ac_try='test -s conftest.$ac_objext'
97788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97789   (eval $ac_try) 2>&5
97790   ac_status=$?
97791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97792   (exit $ac_status); }; }; then
97793   glibcxx_cv_func_finitef_use=yes
97794 else
97795   echo "$as_me: failed program was:" >&5
97796 sed 's/^/| /' conftest.$ac_ext >&5
97797
97798 glibcxx_cv_func_finitef_use=no
97799 fi
97800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97801       ac_ext=c
97802 ac_cpp='$CPP $CPPFLAGS'
97803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97806
97807
97808 fi
97809
97810   fi
97811   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
97812 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
97813
97814   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
97815
97816 for ac_func in finitef
97817 do
97818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97819 echo "$as_me:$LINENO: checking for $ac_func" >&5
97820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97821 if eval "test \"\${$as_ac_var+set}\" = set"; then
97822   echo $ECHO_N "(cached) $ECHO_C" >&6
97823 else
97824   if test x$gcc_no_link = xyes; then
97825   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97827    { (exit 1); exit 1; }; }
97828 fi
97829 cat >conftest.$ac_ext <<_ACEOF
97830 /* confdefs.h.  */
97831 _ACEOF
97832 cat confdefs.h >>conftest.$ac_ext
97833 cat >>conftest.$ac_ext <<_ACEOF
97834 /* end confdefs.h.  */
97835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97836    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97837 #define $ac_func innocuous_$ac_func
97838
97839 /* System header to define __stub macros and hopefully few prototypes,
97840     which can conflict with char $ac_func (); below.
97841     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97842     <limits.h> exists even on freestanding compilers.  */
97843
97844 #ifdef __STDC__
97845 # include <limits.h>
97846 #else
97847 # include <assert.h>
97848 #endif
97849
97850 #undef $ac_func
97851
97852 /* Override any gcc2 internal prototype to avoid an error.  */
97853 #ifdef __cplusplus
97854 extern "C"
97855 {
97856 #endif
97857 /* We use char because int might match the return type of a gcc2
97858    builtin and then its argument prototype would still apply.  */
97859 char $ac_func ();
97860 /* The GNU C library defines this for functions which it implements
97861     to always fail with ENOSYS.  Some functions are actually named
97862     something starting with __ and the normal name is an alias.  */
97863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97864 choke me
97865 #else
97866 char (*f) () = $ac_func;
97867 #endif
97868 #ifdef __cplusplus
97869 }
97870 #endif
97871
97872 int
97873 main ()
97874 {
97875 return f != $ac_func;
97876   ;
97877   return 0;
97878 }
97879 _ACEOF
97880 rm -f conftest.$ac_objext conftest$ac_exeext
97881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97882   (eval $ac_link) 2>conftest.er1
97883   ac_status=$?
97884   grep -v '^ *+' conftest.er1 >conftest.err
97885   rm -f conftest.er1
97886   cat conftest.err >&5
97887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97888   (exit $ac_status); } &&
97889          { ac_try='test -z "$ac_c_werror_flag"
97890                          || test ! -s conftest.err'
97891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97892   (eval $ac_try) 2>&5
97893   ac_status=$?
97894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97895   (exit $ac_status); }; } &&
97896          { ac_try='test -s conftest$ac_exeext'
97897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97898   (eval $ac_try) 2>&5
97899   ac_status=$?
97900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97901   (exit $ac_status); }; }; then
97902   eval "$as_ac_var=yes"
97903 else
97904   echo "$as_me: failed program was:" >&5
97905 sed 's/^/| /' conftest.$ac_ext >&5
97906
97907 eval "$as_ac_var=no"
97908 fi
97909 rm -f conftest.err conftest.$ac_objext \
97910       conftest$ac_exeext conftest.$ac_ext
97911 fi
97912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97914 if test `eval echo '${'$as_ac_var'}'` = yes; then
97915   cat >>confdefs.h <<_ACEOF
97916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97917 _ACEOF
97918
97919 fi
97920 done
97921
97922   else
97923
97924   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
97925 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
97926   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
97927     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
97928   echo $ECHO_N "(cached) $ECHO_C" >&6
97929 else
97930
97931
97932
97933       ac_ext=cc
97934 ac_cpp='$CXXCPP $CPPFLAGS'
97935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97938
97939       cat >conftest.$ac_ext <<_ACEOF
97940 /* confdefs.h.  */
97941 _ACEOF
97942 cat confdefs.h >>conftest.$ac_ext
97943 cat >>conftest.$ac_ext <<_ACEOF
97944 /* end confdefs.h.  */
97945 #include <math.h>
97946                       #ifdef HAVE_IEEEFP_H
97947                       #include <ieeefp.h>
97948                       #endif
97949
97950 int
97951 main ()
97952 {
97953  _finitef(0);
97954   ;
97955   return 0;
97956 }
97957 _ACEOF
97958 rm -f conftest.$ac_objext
97959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97960   (eval $ac_compile) 2>conftest.er1
97961   ac_status=$?
97962   grep -v '^ *+' conftest.er1 >conftest.err
97963   rm -f conftest.er1
97964   cat conftest.err >&5
97965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97966   (exit $ac_status); } &&
97967          { ac_try='test -z "$ac_cxx_werror_flag"
97968                          || test ! -s conftest.err'
97969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97970   (eval $ac_try) 2>&5
97971   ac_status=$?
97972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97973   (exit $ac_status); }; } &&
97974          { ac_try='test -s conftest.$ac_objext'
97975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97976   (eval $ac_try) 2>&5
97977   ac_status=$?
97978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97979   (exit $ac_status); }; }; then
97980   glibcxx_cv_func__finitef_use=yes
97981 else
97982   echo "$as_me: failed program was:" >&5
97983 sed 's/^/| /' conftest.$ac_ext >&5
97984
97985 glibcxx_cv_func__finitef_use=no
97986 fi
97987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97988       ac_ext=c
97989 ac_cpp='$CPP $CPPFLAGS'
97990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97993
97994
97995 fi
97996
97997   fi
97998   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
97999 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
98000
98001     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
98002
98003 for ac_func in _finitef
98004 do
98005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98006 echo "$as_me:$LINENO: checking for $ac_func" >&5
98007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98008 if eval "test \"\${$as_ac_var+set}\" = set"; then
98009   echo $ECHO_N "(cached) $ECHO_C" >&6
98010 else
98011   if test x$gcc_no_link = xyes; then
98012   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98014    { (exit 1); exit 1; }; }
98015 fi
98016 cat >conftest.$ac_ext <<_ACEOF
98017 /* confdefs.h.  */
98018 _ACEOF
98019 cat confdefs.h >>conftest.$ac_ext
98020 cat >>conftest.$ac_ext <<_ACEOF
98021 /* end confdefs.h.  */
98022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98024 #define $ac_func innocuous_$ac_func
98025
98026 /* System header to define __stub macros and hopefully few prototypes,
98027     which can conflict with char $ac_func (); below.
98028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98029     <limits.h> exists even on freestanding compilers.  */
98030
98031 #ifdef __STDC__
98032 # include <limits.h>
98033 #else
98034 # include <assert.h>
98035 #endif
98036
98037 #undef $ac_func
98038
98039 /* Override any gcc2 internal prototype to avoid an error.  */
98040 #ifdef __cplusplus
98041 extern "C"
98042 {
98043 #endif
98044 /* We use char because int might match the return type of a gcc2
98045    builtin and then its argument prototype would still apply.  */
98046 char $ac_func ();
98047 /* The GNU C library defines this for functions which it implements
98048     to always fail with ENOSYS.  Some functions are actually named
98049     something starting with __ and the normal name is an alias.  */
98050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98051 choke me
98052 #else
98053 char (*f) () = $ac_func;
98054 #endif
98055 #ifdef __cplusplus
98056 }
98057 #endif
98058
98059 int
98060 main ()
98061 {
98062 return f != $ac_func;
98063   ;
98064   return 0;
98065 }
98066 _ACEOF
98067 rm -f conftest.$ac_objext conftest$ac_exeext
98068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98069   (eval $ac_link) 2>conftest.er1
98070   ac_status=$?
98071   grep -v '^ *+' conftest.er1 >conftest.err
98072   rm -f conftest.er1
98073   cat conftest.err >&5
98074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98075   (exit $ac_status); } &&
98076          { ac_try='test -z "$ac_c_werror_flag"
98077                          || test ! -s conftest.err'
98078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98079   (eval $ac_try) 2>&5
98080   ac_status=$?
98081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98082   (exit $ac_status); }; } &&
98083          { ac_try='test -s conftest$ac_exeext'
98084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98085   (eval $ac_try) 2>&5
98086   ac_status=$?
98087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98088   (exit $ac_status); }; }; then
98089   eval "$as_ac_var=yes"
98090 else
98091   echo "$as_me: failed program was:" >&5
98092 sed 's/^/| /' conftest.$ac_ext >&5
98093
98094 eval "$as_ac_var=no"
98095 fi
98096 rm -f conftest.err conftest.$ac_objext \
98097       conftest$ac_exeext conftest.$ac_ext
98098 fi
98099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98101 if test `eval echo '${'$as_ac_var'}'` = yes; then
98102   cat >>confdefs.h <<_ACEOF
98103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98104 _ACEOF
98105
98106 fi
98107 done
98108
98109     fi
98110   fi
98111
98112
98113
98114
98115
98116
98117     echo "$as_me:$LINENO: checking for long double trig functions" >&5
98118 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
98119   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
98120   echo $ECHO_N "(cached) $ECHO_C" >&6
98121 else
98122
98123
98124
98125     ac_ext=cc
98126 ac_cpp='$CXXCPP $CPPFLAGS'
98127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98130
98131     cat >conftest.$ac_ext <<_ACEOF
98132 /* confdefs.h.  */
98133 _ACEOF
98134 cat confdefs.h >>conftest.$ac_ext
98135 cat >>conftest.$ac_ext <<_ACEOF
98136 /* end confdefs.h.  */
98137 #include <math.h>
98138 int
98139 main ()
98140 {
98141 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
98142   ;
98143   return 0;
98144 }
98145 _ACEOF
98146 rm -f conftest.$ac_objext
98147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98148   (eval $ac_compile) 2>conftest.er1
98149   ac_status=$?
98150   grep -v '^ *+' conftest.er1 >conftest.err
98151   rm -f conftest.er1
98152   cat conftest.err >&5
98153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98154   (exit $ac_status); } &&
98155          { ac_try='test -z "$ac_cxx_werror_flag"
98156                          || test ! -s conftest.err'
98157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98158   (eval $ac_try) 2>&5
98159   ac_status=$?
98160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98161   (exit $ac_status); }; } &&
98162          { ac_try='test -s conftest.$ac_objext'
98163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98164   (eval $ac_try) 2>&5
98165   ac_status=$?
98166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98167   (exit $ac_status); }; }; then
98168   glibcxx_cv_func_long_double_trig_use=yes
98169 else
98170   echo "$as_me: failed program was:" >&5
98171 sed 's/^/| /' conftest.$ac_ext >&5
98172
98173 glibcxx_cv_func_long_double_trig_use=no
98174 fi
98175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98176     ac_ext=c
98177 ac_cpp='$CPP $CPPFLAGS'
98178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98181
98182 fi
98183
98184   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
98185 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
98186   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
98187
98188
98189
98190
98191
98192
98193
98194
98195
98196 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
98197 do
98198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98199 echo "$as_me:$LINENO: checking for $ac_func" >&5
98200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98201 if eval "test \"\${$as_ac_var+set}\" = set"; then
98202   echo $ECHO_N "(cached) $ECHO_C" >&6
98203 else
98204   if test x$gcc_no_link = xyes; then
98205   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98207    { (exit 1); exit 1; }; }
98208 fi
98209 cat >conftest.$ac_ext <<_ACEOF
98210 /* confdefs.h.  */
98211 _ACEOF
98212 cat confdefs.h >>conftest.$ac_ext
98213 cat >>conftest.$ac_ext <<_ACEOF
98214 /* end confdefs.h.  */
98215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98216    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98217 #define $ac_func innocuous_$ac_func
98218
98219 /* System header to define __stub macros and hopefully few prototypes,
98220     which can conflict with char $ac_func (); below.
98221     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98222     <limits.h> exists even on freestanding compilers.  */
98223
98224 #ifdef __STDC__
98225 # include <limits.h>
98226 #else
98227 # include <assert.h>
98228 #endif
98229
98230 #undef $ac_func
98231
98232 /* Override any gcc2 internal prototype to avoid an error.  */
98233 #ifdef __cplusplus
98234 extern "C"
98235 {
98236 #endif
98237 /* We use char because int might match the return type of a gcc2
98238    builtin and then its argument prototype would still apply.  */
98239 char $ac_func ();
98240 /* The GNU C library defines this for functions which it implements
98241     to always fail with ENOSYS.  Some functions are actually named
98242     something starting with __ and the normal name is an alias.  */
98243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98244 choke me
98245 #else
98246 char (*f) () = $ac_func;
98247 #endif
98248 #ifdef __cplusplus
98249 }
98250 #endif
98251
98252 int
98253 main ()
98254 {
98255 return f != $ac_func;
98256   ;
98257   return 0;
98258 }
98259 _ACEOF
98260 rm -f conftest.$ac_objext conftest$ac_exeext
98261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98262   (eval $ac_link) 2>conftest.er1
98263   ac_status=$?
98264   grep -v '^ *+' conftest.er1 >conftest.err
98265   rm -f conftest.er1
98266   cat conftest.err >&5
98267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98268   (exit $ac_status); } &&
98269          { ac_try='test -z "$ac_c_werror_flag"
98270                          || test ! -s conftest.err'
98271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98272   (eval $ac_try) 2>&5
98273   ac_status=$?
98274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98275   (exit $ac_status); }; } &&
98276          { ac_try='test -s conftest$ac_exeext'
98277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98278   (eval $ac_try) 2>&5
98279   ac_status=$?
98280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98281   (exit $ac_status); }; }; then
98282   eval "$as_ac_var=yes"
98283 else
98284   echo "$as_me: failed program was:" >&5
98285 sed 's/^/| /' conftest.$ac_ext >&5
98286
98287 eval "$as_ac_var=no"
98288 fi
98289 rm -f conftest.err conftest.$ac_objext \
98290       conftest$ac_exeext conftest.$ac_ext
98291 fi
98292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98294 if test `eval echo '${'$as_ac_var'}'` = yes; then
98295   cat >>confdefs.h <<_ACEOF
98296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98297 _ACEOF
98298
98299 fi
98300 done
98301
98302   else
98303     echo "$as_me:$LINENO: checking for _long double trig functions" >&5
98304 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
98305     if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
98306   echo $ECHO_N "(cached) $ECHO_C" >&6
98307 else
98308
98309
98310
98311       ac_ext=cc
98312 ac_cpp='$CXXCPP $CPPFLAGS'
98313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98316
98317       cat >conftest.$ac_ext <<_ACEOF
98318 /* confdefs.h.  */
98319 _ACEOF
98320 cat confdefs.h >>conftest.$ac_ext
98321 cat >>conftest.$ac_ext <<_ACEOF
98322 /* end confdefs.h.  */
98323 #include <math.h>
98324 int
98325 main ()
98326 {
98327 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
98328   ;
98329   return 0;
98330 }
98331 _ACEOF
98332 rm -f conftest.$ac_objext
98333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98334   (eval $ac_compile) 2>conftest.er1
98335   ac_status=$?
98336   grep -v '^ *+' conftest.er1 >conftest.err
98337   rm -f conftest.er1
98338   cat conftest.err >&5
98339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98340   (exit $ac_status); } &&
98341          { ac_try='test -z "$ac_cxx_werror_flag"
98342                          || test ! -s conftest.err'
98343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98344   (eval $ac_try) 2>&5
98345   ac_status=$?
98346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98347   (exit $ac_status); }; } &&
98348          { ac_try='test -s conftest.$ac_objext'
98349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98350   (eval $ac_try) 2>&5
98351   ac_status=$?
98352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98353   (exit $ac_status); }; }; then
98354   glibcxx_cv_func__long_double_trig_use=yes
98355 else
98356   echo "$as_me: failed program was:" >&5
98357 sed 's/^/| /' conftest.$ac_ext >&5
98358
98359 glibcxx_cv_func__long_double_trig_use=no
98360 fi
98361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98362       ac_ext=c
98363 ac_cpp='$CPP $CPPFLAGS'
98364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98367
98368 fi
98369
98370     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
98371 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
98372     if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
98373
98374
98375
98376
98377
98378
98379
98380
98381
98382 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
98383 do
98384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98385 echo "$as_me:$LINENO: checking for $ac_func" >&5
98386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98387 if eval "test \"\${$as_ac_var+set}\" = set"; then
98388   echo $ECHO_N "(cached) $ECHO_C" >&6
98389 else
98390   if test x$gcc_no_link = xyes; then
98391   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98393    { (exit 1); exit 1; }; }
98394 fi
98395 cat >conftest.$ac_ext <<_ACEOF
98396 /* confdefs.h.  */
98397 _ACEOF
98398 cat confdefs.h >>conftest.$ac_ext
98399 cat >>conftest.$ac_ext <<_ACEOF
98400 /* end confdefs.h.  */
98401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98402    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98403 #define $ac_func innocuous_$ac_func
98404
98405 /* System header to define __stub macros and hopefully few prototypes,
98406     which can conflict with char $ac_func (); below.
98407     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98408     <limits.h> exists even on freestanding compilers.  */
98409
98410 #ifdef __STDC__
98411 # include <limits.h>
98412 #else
98413 # include <assert.h>
98414 #endif
98415
98416 #undef $ac_func
98417
98418 /* Override any gcc2 internal prototype to avoid an error.  */
98419 #ifdef __cplusplus
98420 extern "C"
98421 {
98422 #endif
98423 /* We use char because int might match the return type of a gcc2
98424    builtin and then its argument prototype would still apply.  */
98425 char $ac_func ();
98426 /* The GNU C library defines this for functions which it implements
98427     to always fail with ENOSYS.  Some functions are actually named
98428     something starting with __ and the normal name is an alias.  */
98429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98430 choke me
98431 #else
98432 char (*f) () = $ac_func;
98433 #endif
98434 #ifdef __cplusplus
98435 }
98436 #endif
98437
98438 int
98439 main ()
98440 {
98441 return f != $ac_func;
98442   ;
98443   return 0;
98444 }
98445 _ACEOF
98446 rm -f conftest.$ac_objext conftest$ac_exeext
98447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98448   (eval $ac_link) 2>conftest.er1
98449   ac_status=$?
98450   grep -v '^ *+' conftest.er1 >conftest.err
98451   rm -f conftest.er1
98452   cat conftest.err >&5
98453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98454   (exit $ac_status); } &&
98455          { ac_try='test -z "$ac_c_werror_flag"
98456                          || test ! -s conftest.err'
98457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98458   (eval $ac_try) 2>&5
98459   ac_status=$?
98460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98461   (exit $ac_status); }; } &&
98462          { ac_try='test -s conftest$ac_exeext'
98463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98464   (eval $ac_try) 2>&5
98465   ac_status=$?
98466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98467   (exit $ac_status); }; }; then
98468   eval "$as_ac_var=yes"
98469 else
98470   echo "$as_me: failed program was:" >&5
98471 sed 's/^/| /' conftest.$ac_ext >&5
98472
98473 eval "$as_ac_var=no"
98474 fi
98475 rm -f conftest.err conftest.$ac_objext \
98476       conftest$ac_exeext conftest.$ac_ext
98477 fi
98478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98480 if test `eval echo '${'$as_ac_var'}'` = yes; then
98481   cat >>confdefs.h <<_ACEOF
98482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98483 _ACEOF
98484
98485 fi
98486 done
98487
98488     fi
98489   fi
98490
98491
98492
98493
98494
98495
98496
98497
98498
98499
98500
98501
98502
98503
98504     echo "$as_me:$LINENO: checking for long double round functions" >&5
98505 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
98506   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
98507   echo $ECHO_N "(cached) $ECHO_C" >&6
98508 else
98509
98510
98511
98512     ac_ext=cc
98513 ac_cpp='$CXXCPP $CPPFLAGS'
98514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98517
98518     cat >conftest.$ac_ext <<_ACEOF
98519 /* confdefs.h.  */
98520 _ACEOF
98521 cat confdefs.h >>conftest.$ac_ext
98522 cat >>conftest.$ac_ext <<_ACEOF
98523 /* end confdefs.h.  */
98524 #include <math.h>
98525 int
98526 main ()
98527 {
98528 ceill (0); floorl (0);
98529   ;
98530   return 0;
98531 }
98532 _ACEOF
98533 rm -f conftest.$ac_objext
98534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98535   (eval $ac_compile) 2>conftest.er1
98536   ac_status=$?
98537   grep -v '^ *+' conftest.er1 >conftest.err
98538   rm -f conftest.er1
98539   cat conftest.err >&5
98540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98541   (exit $ac_status); } &&
98542          { ac_try='test -z "$ac_cxx_werror_flag"
98543                          || test ! -s conftest.err'
98544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98545   (eval $ac_try) 2>&5
98546   ac_status=$?
98547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98548   (exit $ac_status); }; } &&
98549          { ac_try='test -s conftest.$ac_objext'
98550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98551   (eval $ac_try) 2>&5
98552   ac_status=$?
98553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98554   (exit $ac_status); }; }; then
98555   glibcxx_cv_func_long_double_round_use=yes
98556 else
98557   echo "$as_me: failed program was:" >&5
98558 sed 's/^/| /' conftest.$ac_ext >&5
98559
98560 glibcxx_cv_func_long_double_round_use=no
98561 fi
98562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98563     ac_ext=c
98564 ac_cpp='$CPP $CPPFLAGS'
98565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98568
98569 fi
98570
98571   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
98572 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
98573   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
98574
98575
98576 for ac_func in ceill floorl
98577 do
98578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98579 echo "$as_me:$LINENO: checking for $ac_func" >&5
98580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98581 if eval "test \"\${$as_ac_var+set}\" = set"; then
98582   echo $ECHO_N "(cached) $ECHO_C" >&6
98583 else
98584   if test x$gcc_no_link = xyes; then
98585   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98587    { (exit 1); exit 1; }; }
98588 fi
98589 cat >conftest.$ac_ext <<_ACEOF
98590 /* confdefs.h.  */
98591 _ACEOF
98592 cat confdefs.h >>conftest.$ac_ext
98593 cat >>conftest.$ac_ext <<_ACEOF
98594 /* end confdefs.h.  */
98595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98596    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98597 #define $ac_func innocuous_$ac_func
98598
98599 /* System header to define __stub macros and hopefully few prototypes,
98600     which can conflict with char $ac_func (); below.
98601     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98602     <limits.h> exists even on freestanding compilers.  */
98603
98604 #ifdef __STDC__
98605 # include <limits.h>
98606 #else
98607 # include <assert.h>
98608 #endif
98609
98610 #undef $ac_func
98611
98612 /* Override any gcc2 internal prototype to avoid an error.  */
98613 #ifdef __cplusplus
98614 extern "C"
98615 {
98616 #endif
98617 /* We use char because int might match the return type of a gcc2
98618    builtin and then its argument prototype would still apply.  */
98619 char $ac_func ();
98620 /* The GNU C library defines this for functions which it implements
98621     to always fail with ENOSYS.  Some functions are actually named
98622     something starting with __ and the normal name is an alias.  */
98623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98624 choke me
98625 #else
98626 char (*f) () = $ac_func;
98627 #endif
98628 #ifdef __cplusplus
98629 }
98630 #endif
98631
98632 int
98633 main ()
98634 {
98635 return f != $ac_func;
98636   ;
98637   return 0;
98638 }
98639 _ACEOF
98640 rm -f conftest.$ac_objext conftest$ac_exeext
98641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98642   (eval $ac_link) 2>conftest.er1
98643   ac_status=$?
98644   grep -v '^ *+' conftest.er1 >conftest.err
98645   rm -f conftest.er1
98646   cat conftest.err >&5
98647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98648   (exit $ac_status); } &&
98649          { ac_try='test -z "$ac_c_werror_flag"
98650                          || test ! -s conftest.err'
98651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98652   (eval $ac_try) 2>&5
98653   ac_status=$?
98654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98655   (exit $ac_status); }; } &&
98656          { ac_try='test -s conftest$ac_exeext'
98657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98658   (eval $ac_try) 2>&5
98659   ac_status=$?
98660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98661   (exit $ac_status); }; }; then
98662   eval "$as_ac_var=yes"
98663 else
98664   echo "$as_me: failed program was:" >&5
98665 sed 's/^/| /' conftest.$ac_ext >&5
98666
98667 eval "$as_ac_var=no"
98668 fi
98669 rm -f conftest.err conftest.$ac_objext \
98670       conftest$ac_exeext conftest.$ac_ext
98671 fi
98672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98674 if test `eval echo '${'$as_ac_var'}'` = yes; then
98675   cat >>confdefs.h <<_ACEOF
98676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98677 _ACEOF
98678
98679 fi
98680 done
98681
98682   else
98683     echo "$as_me:$LINENO: checking for _long double round functions" >&5
98684 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
98685     if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
98686   echo $ECHO_N "(cached) $ECHO_C" >&6
98687 else
98688
98689
98690
98691       ac_ext=cc
98692 ac_cpp='$CXXCPP $CPPFLAGS'
98693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98696
98697       cat >conftest.$ac_ext <<_ACEOF
98698 /* confdefs.h.  */
98699 _ACEOF
98700 cat confdefs.h >>conftest.$ac_ext
98701 cat >>conftest.$ac_ext <<_ACEOF
98702 /* end confdefs.h.  */
98703 #include <math.h>
98704 int
98705 main ()
98706 {
98707 _ceill (0); _floorl (0);
98708   ;
98709   return 0;
98710 }
98711 _ACEOF
98712 rm -f conftest.$ac_objext
98713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98714   (eval $ac_compile) 2>conftest.er1
98715   ac_status=$?
98716   grep -v '^ *+' conftest.er1 >conftest.err
98717   rm -f conftest.er1
98718   cat conftest.err >&5
98719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98720   (exit $ac_status); } &&
98721          { ac_try='test -z "$ac_cxx_werror_flag"
98722                          || test ! -s conftest.err'
98723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98724   (eval $ac_try) 2>&5
98725   ac_status=$?
98726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98727   (exit $ac_status); }; } &&
98728          { ac_try='test -s conftest.$ac_objext'
98729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98730   (eval $ac_try) 2>&5
98731   ac_status=$?
98732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98733   (exit $ac_status); }; }; then
98734   glibcxx_cv_func__long_double_round_use=yes
98735 else
98736   echo "$as_me: failed program was:" >&5
98737 sed 's/^/| /' conftest.$ac_ext >&5
98738
98739 glibcxx_cv_func__long_double_round_use=no
98740 fi
98741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98742       ac_ext=c
98743 ac_cpp='$CPP $CPPFLAGS'
98744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98747
98748 fi
98749
98750     echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
98751 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
98752     if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
98753
98754
98755 for ac_func in _ceill _floorl
98756 do
98757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98758 echo "$as_me:$LINENO: checking for $ac_func" >&5
98759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98760 if eval "test \"\${$as_ac_var+set}\" = set"; then
98761   echo $ECHO_N "(cached) $ECHO_C" >&6
98762 else
98763   if test x$gcc_no_link = xyes; then
98764   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98766    { (exit 1); exit 1; }; }
98767 fi
98768 cat >conftest.$ac_ext <<_ACEOF
98769 /* confdefs.h.  */
98770 _ACEOF
98771 cat confdefs.h >>conftest.$ac_ext
98772 cat >>conftest.$ac_ext <<_ACEOF
98773 /* end confdefs.h.  */
98774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98776 #define $ac_func innocuous_$ac_func
98777
98778 /* System header to define __stub macros and hopefully few prototypes,
98779     which can conflict with char $ac_func (); below.
98780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98781     <limits.h> exists even on freestanding compilers.  */
98782
98783 #ifdef __STDC__
98784 # include <limits.h>
98785 #else
98786 # include <assert.h>
98787 #endif
98788
98789 #undef $ac_func
98790
98791 /* Override any gcc2 internal prototype to avoid an error.  */
98792 #ifdef __cplusplus
98793 extern "C"
98794 {
98795 #endif
98796 /* We use char because int might match the return type of a gcc2
98797    builtin and then its argument prototype would still apply.  */
98798 char $ac_func ();
98799 /* The GNU C library defines this for functions which it implements
98800     to always fail with ENOSYS.  Some functions are actually named
98801     something starting with __ and the normal name is an alias.  */
98802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98803 choke me
98804 #else
98805 char (*f) () = $ac_func;
98806 #endif
98807 #ifdef __cplusplus
98808 }
98809 #endif
98810
98811 int
98812 main ()
98813 {
98814 return f != $ac_func;
98815   ;
98816   return 0;
98817 }
98818 _ACEOF
98819 rm -f conftest.$ac_objext conftest$ac_exeext
98820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98821   (eval $ac_link) 2>conftest.er1
98822   ac_status=$?
98823   grep -v '^ *+' conftest.er1 >conftest.err
98824   rm -f conftest.er1
98825   cat conftest.err >&5
98826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98827   (exit $ac_status); } &&
98828          { ac_try='test -z "$ac_c_werror_flag"
98829                          || test ! -s conftest.err'
98830   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98831   (eval $ac_try) 2>&5
98832   ac_status=$?
98833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98834   (exit $ac_status); }; } &&
98835          { ac_try='test -s conftest$ac_exeext'
98836   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98837   (eval $ac_try) 2>&5
98838   ac_status=$?
98839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98840   (exit $ac_status); }; }; then
98841   eval "$as_ac_var=yes"
98842 else
98843   echo "$as_me: failed program was:" >&5
98844 sed 's/^/| /' conftest.$ac_ext >&5
98845
98846 eval "$as_ac_var=no"
98847 fi
98848 rm -f conftest.err conftest.$ac_objext \
98849       conftest$ac_exeext conftest.$ac_ext
98850 fi
98851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98853 if test `eval echo '${'$as_ac_var'}'` = yes; then
98854   cat >>confdefs.h <<_ACEOF
98855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98856 _ACEOF
98857
98858 fi
98859 done
98860
98861     fi
98862   fi
98863
98864
98865
98866
98867
98868
98869
98870
98871   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
98872 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
98873   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
98874     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
98875   echo $ECHO_N "(cached) $ECHO_C" >&6
98876 else
98877
98878
98879
98880       ac_ext=cc
98881 ac_cpp='$CXXCPP $CPPFLAGS'
98882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98885
98886       cat >conftest.$ac_ext <<_ACEOF
98887 /* confdefs.h.  */
98888 _ACEOF
98889 cat confdefs.h >>conftest.$ac_ext
98890 cat >>conftest.$ac_ext <<_ACEOF
98891 /* end confdefs.h.  */
98892 #include <math.h>
98893                       #ifdef HAVE_IEEEFP_H
98894                       #include <ieeefp.h>
98895                       #endif
98896
98897 int
98898 main ()
98899 {
98900  isnanl(0);
98901   ;
98902   return 0;
98903 }
98904 _ACEOF
98905 rm -f conftest.$ac_objext
98906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98907   (eval $ac_compile) 2>conftest.er1
98908   ac_status=$?
98909   grep -v '^ *+' conftest.er1 >conftest.err
98910   rm -f conftest.er1
98911   cat conftest.err >&5
98912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98913   (exit $ac_status); } &&
98914          { ac_try='test -z "$ac_cxx_werror_flag"
98915                          || test ! -s conftest.err'
98916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98917   (eval $ac_try) 2>&5
98918   ac_status=$?
98919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98920   (exit $ac_status); }; } &&
98921          { ac_try='test -s conftest.$ac_objext'
98922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98923   (eval $ac_try) 2>&5
98924   ac_status=$?
98925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98926   (exit $ac_status); }; }; then
98927   glibcxx_cv_func_isnanl_use=yes
98928 else
98929   echo "$as_me: failed program was:" >&5
98930 sed 's/^/| /' conftest.$ac_ext >&5
98931
98932 glibcxx_cv_func_isnanl_use=no
98933 fi
98934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98935       ac_ext=c
98936 ac_cpp='$CPP $CPPFLAGS'
98937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98940
98941
98942 fi
98943
98944   fi
98945   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
98946 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
98947
98948   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
98949
98950 for ac_func in isnanl
98951 do
98952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98953 echo "$as_me:$LINENO: checking for $ac_func" >&5
98954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98955 if eval "test \"\${$as_ac_var+set}\" = set"; then
98956   echo $ECHO_N "(cached) $ECHO_C" >&6
98957 else
98958   if test x$gcc_no_link = xyes; then
98959   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98961    { (exit 1); exit 1; }; }
98962 fi
98963 cat >conftest.$ac_ext <<_ACEOF
98964 /* confdefs.h.  */
98965 _ACEOF
98966 cat confdefs.h >>conftest.$ac_ext
98967 cat >>conftest.$ac_ext <<_ACEOF
98968 /* end confdefs.h.  */
98969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98970    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98971 #define $ac_func innocuous_$ac_func
98972
98973 /* System header to define __stub macros and hopefully few prototypes,
98974     which can conflict with char $ac_func (); below.
98975     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98976     <limits.h> exists even on freestanding compilers.  */
98977
98978 #ifdef __STDC__
98979 # include <limits.h>
98980 #else
98981 # include <assert.h>
98982 #endif
98983
98984 #undef $ac_func
98985
98986 /* Override any gcc2 internal prototype to avoid an error.  */
98987 #ifdef __cplusplus
98988 extern "C"
98989 {
98990 #endif
98991 /* We use char because int might match the return type of a gcc2
98992    builtin and then its argument prototype would still apply.  */
98993 char $ac_func ();
98994 /* The GNU C library defines this for functions which it implements
98995     to always fail with ENOSYS.  Some functions are actually named
98996     something starting with __ and the normal name is an alias.  */
98997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98998 choke me
98999 #else
99000 char (*f) () = $ac_func;
99001 #endif
99002 #ifdef __cplusplus
99003 }
99004 #endif
99005
99006 int
99007 main ()
99008 {
99009 return f != $ac_func;
99010   ;
99011   return 0;
99012 }
99013 _ACEOF
99014 rm -f conftest.$ac_objext conftest$ac_exeext
99015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99016   (eval $ac_link) 2>conftest.er1
99017   ac_status=$?
99018   grep -v '^ *+' conftest.er1 >conftest.err
99019   rm -f conftest.er1
99020   cat conftest.err >&5
99021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99022   (exit $ac_status); } &&
99023          { ac_try='test -z "$ac_c_werror_flag"
99024                          || test ! -s conftest.err'
99025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99026   (eval $ac_try) 2>&5
99027   ac_status=$?
99028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99029   (exit $ac_status); }; } &&
99030          { ac_try='test -s conftest$ac_exeext'
99031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99032   (eval $ac_try) 2>&5
99033   ac_status=$?
99034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99035   (exit $ac_status); }; }; then
99036   eval "$as_ac_var=yes"
99037 else
99038   echo "$as_me: failed program was:" >&5
99039 sed 's/^/| /' conftest.$ac_ext >&5
99040
99041 eval "$as_ac_var=no"
99042 fi
99043 rm -f conftest.err conftest.$ac_objext \
99044       conftest$ac_exeext conftest.$ac_ext
99045 fi
99046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99048 if test `eval echo '${'$as_ac_var'}'` = yes; then
99049   cat >>confdefs.h <<_ACEOF
99050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99051 _ACEOF
99052
99053 fi
99054 done
99055
99056   else
99057
99058   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
99059 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
99060   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
99061     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
99062   echo $ECHO_N "(cached) $ECHO_C" >&6
99063 else
99064
99065
99066
99067       ac_ext=cc
99068 ac_cpp='$CXXCPP $CPPFLAGS'
99069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99072
99073       cat >conftest.$ac_ext <<_ACEOF
99074 /* confdefs.h.  */
99075 _ACEOF
99076 cat confdefs.h >>conftest.$ac_ext
99077 cat >>conftest.$ac_ext <<_ACEOF
99078 /* end confdefs.h.  */
99079 #include <math.h>
99080                       #ifdef HAVE_IEEEFP_H
99081                       #include <ieeefp.h>
99082                       #endif
99083
99084 int
99085 main ()
99086 {
99087  _isnanl(0);
99088   ;
99089   return 0;
99090 }
99091 _ACEOF
99092 rm -f conftest.$ac_objext
99093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99094   (eval $ac_compile) 2>conftest.er1
99095   ac_status=$?
99096   grep -v '^ *+' conftest.er1 >conftest.err
99097   rm -f conftest.er1
99098   cat conftest.err >&5
99099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99100   (exit $ac_status); } &&
99101          { ac_try='test -z "$ac_cxx_werror_flag"
99102                          || test ! -s conftest.err'
99103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99104   (eval $ac_try) 2>&5
99105   ac_status=$?
99106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99107   (exit $ac_status); }; } &&
99108          { ac_try='test -s conftest.$ac_objext'
99109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99110   (eval $ac_try) 2>&5
99111   ac_status=$?
99112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99113   (exit $ac_status); }; }; then
99114   glibcxx_cv_func__isnanl_use=yes
99115 else
99116   echo "$as_me: failed program was:" >&5
99117 sed 's/^/| /' conftest.$ac_ext >&5
99118
99119 glibcxx_cv_func__isnanl_use=no
99120 fi
99121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99122       ac_ext=c
99123 ac_cpp='$CPP $CPPFLAGS'
99124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99127
99128
99129 fi
99130
99131   fi
99132   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
99133 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
99134
99135     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
99136
99137 for ac_func in _isnanl
99138 do
99139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99140 echo "$as_me:$LINENO: checking for $ac_func" >&5
99141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99142 if eval "test \"\${$as_ac_var+set}\" = set"; then
99143   echo $ECHO_N "(cached) $ECHO_C" >&6
99144 else
99145   if test x$gcc_no_link = xyes; then
99146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99148    { (exit 1); exit 1; }; }
99149 fi
99150 cat >conftest.$ac_ext <<_ACEOF
99151 /* confdefs.h.  */
99152 _ACEOF
99153 cat confdefs.h >>conftest.$ac_ext
99154 cat >>conftest.$ac_ext <<_ACEOF
99155 /* end confdefs.h.  */
99156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99157    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99158 #define $ac_func innocuous_$ac_func
99159
99160 /* System header to define __stub macros and hopefully few prototypes,
99161     which can conflict with char $ac_func (); below.
99162     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99163     <limits.h> exists even on freestanding compilers.  */
99164
99165 #ifdef __STDC__
99166 # include <limits.h>
99167 #else
99168 # include <assert.h>
99169 #endif
99170
99171 #undef $ac_func
99172
99173 /* Override any gcc2 internal prototype to avoid an error.  */
99174 #ifdef __cplusplus
99175 extern "C"
99176 {
99177 #endif
99178 /* We use char because int might match the return type of a gcc2
99179    builtin and then its argument prototype would still apply.  */
99180 char $ac_func ();
99181 /* The GNU C library defines this for functions which it implements
99182     to always fail with ENOSYS.  Some functions are actually named
99183     something starting with __ and the normal name is an alias.  */
99184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99185 choke me
99186 #else
99187 char (*f) () = $ac_func;
99188 #endif
99189 #ifdef __cplusplus
99190 }
99191 #endif
99192
99193 int
99194 main ()
99195 {
99196 return f != $ac_func;
99197   ;
99198   return 0;
99199 }
99200 _ACEOF
99201 rm -f conftest.$ac_objext conftest$ac_exeext
99202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99203   (eval $ac_link) 2>conftest.er1
99204   ac_status=$?
99205   grep -v '^ *+' conftest.er1 >conftest.err
99206   rm -f conftest.er1
99207   cat conftest.err >&5
99208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99209   (exit $ac_status); } &&
99210          { ac_try='test -z "$ac_c_werror_flag"
99211                          || test ! -s conftest.err'
99212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99213   (eval $ac_try) 2>&5
99214   ac_status=$?
99215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99216   (exit $ac_status); }; } &&
99217          { ac_try='test -s conftest$ac_exeext'
99218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99219   (eval $ac_try) 2>&5
99220   ac_status=$?
99221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99222   (exit $ac_status); }; }; then
99223   eval "$as_ac_var=yes"
99224 else
99225   echo "$as_me: failed program was:" >&5
99226 sed 's/^/| /' conftest.$ac_ext >&5
99227
99228 eval "$as_ac_var=no"
99229 fi
99230 rm -f conftest.err conftest.$ac_objext \
99231       conftest$ac_exeext conftest.$ac_ext
99232 fi
99233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99235 if test `eval echo '${'$as_ac_var'}'` = yes; then
99236   cat >>confdefs.h <<_ACEOF
99237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99238 _ACEOF
99239
99240 fi
99241 done
99242
99243     fi
99244   fi
99245
99246
99247
99248
99249
99250
99251   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
99252 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
99253   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
99254     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
99255   echo $ECHO_N "(cached) $ECHO_C" >&6
99256 else
99257
99258
99259
99260       ac_ext=cc
99261 ac_cpp='$CXXCPP $CPPFLAGS'
99262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99265
99266       cat >conftest.$ac_ext <<_ACEOF
99267 /* confdefs.h.  */
99268 _ACEOF
99269 cat confdefs.h >>conftest.$ac_ext
99270 cat >>conftest.$ac_ext <<_ACEOF
99271 /* end confdefs.h.  */
99272 #include <math.h>
99273                       #ifdef HAVE_IEEEFP_H
99274                       #include <ieeefp.h>
99275                       #endif
99276
99277 int
99278 main ()
99279 {
99280  isinfl(0);
99281   ;
99282   return 0;
99283 }
99284 _ACEOF
99285 rm -f conftest.$ac_objext
99286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99287   (eval $ac_compile) 2>conftest.er1
99288   ac_status=$?
99289   grep -v '^ *+' conftest.er1 >conftest.err
99290   rm -f conftest.er1
99291   cat conftest.err >&5
99292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99293   (exit $ac_status); } &&
99294          { ac_try='test -z "$ac_cxx_werror_flag"
99295                          || test ! -s conftest.err'
99296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99297   (eval $ac_try) 2>&5
99298   ac_status=$?
99299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99300   (exit $ac_status); }; } &&
99301          { ac_try='test -s conftest.$ac_objext'
99302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99303   (eval $ac_try) 2>&5
99304   ac_status=$?
99305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99306   (exit $ac_status); }; }; then
99307   glibcxx_cv_func_isinfl_use=yes
99308 else
99309   echo "$as_me: failed program was:" >&5
99310 sed 's/^/| /' conftest.$ac_ext >&5
99311
99312 glibcxx_cv_func_isinfl_use=no
99313 fi
99314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99315       ac_ext=c
99316 ac_cpp='$CPP $CPPFLAGS'
99317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99320
99321
99322 fi
99323
99324   fi
99325   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
99326 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
99327
99328   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
99329
99330 for ac_func in isinfl
99331 do
99332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99333 echo "$as_me:$LINENO: checking for $ac_func" >&5
99334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99335 if eval "test \"\${$as_ac_var+set}\" = set"; then
99336   echo $ECHO_N "(cached) $ECHO_C" >&6
99337 else
99338   if test x$gcc_no_link = xyes; then
99339   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99341    { (exit 1); exit 1; }; }
99342 fi
99343 cat >conftest.$ac_ext <<_ACEOF
99344 /* confdefs.h.  */
99345 _ACEOF
99346 cat confdefs.h >>conftest.$ac_ext
99347 cat >>conftest.$ac_ext <<_ACEOF
99348 /* end confdefs.h.  */
99349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99350    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99351 #define $ac_func innocuous_$ac_func
99352
99353 /* System header to define __stub macros and hopefully few prototypes,
99354     which can conflict with char $ac_func (); below.
99355     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99356     <limits.h> exists even on freestanding compilers.  */
99357
99358 #ifdef __STDC__
99359 # include <limits.h>
99360 #else
99361 # include <assert.h>
99362 #endif
99363
99364 #undef $ac_func
99365
99366 /* Override any gcc2 internal prototype to avoid an error.  */
99367 #ifdef __cplusplus
99368 extern "C"
99369 {
99370 #endif
99371 /* We use char because int might match the return type of a gcc2
99372    builtin and then its argument prototype would still apply.  */
99373 char $ac_func ();
99374 /* The GNU C library defines this for functions which it implements
99375     to always fail with ENOSYS.  Some functions are actually named
99376     something starting with __ and the normal name is an alias.  */
99377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99378 choke me
99379 #else
99380 char (*f) () = $ac_func;
99381 #endif
99382 #ifdef __cplusplus
99383 }
99384 #endif
99385
99386 int
99387 main ()
99388 {
99389 return f != $ac_func;
99390   ;
99391   return 0;
99392 }
99393 _ACEOF
99394 rm -f conftest.$ac_objext conftest$ac_exeext
99395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99396   (eval $ac_link) 2>conftest.er1
99397   ac_status=$?
99398   grep -v '^ *+' conftest.er1 >conftest.err
99399   rm -f conftest.er1
99400   cat conftest.err >&5
99401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99402   (exit $ac_status); } &&
99403          { ac_try='test -z "$ac_c_werror_flag"
99404                          || test ! -s conftest.err'
99405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99406   (eval $ac_try) 2>&5
99407   ac_status=$?
99408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99409   (exit $ac_status); }; } &&
99410          { ac_try='test -s conftest$ac_exeext'
99411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99412   (eval $ac_try) 2>&5
99413   ac_status=$?
99414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99415   (exit $ac_status); }; }; then
99416   eval "$as_ac_var=yes"
99417 else
99418   echo "$as_me: failed program was:" >&5
99419 sed 's/^/| /' conftest.$ac_ext >&5
99420
99421 eval "$as_ac_var=no"
99422 fi
99423 rm -f conftest.err conftest.$ac_objext \
99424       conftest$ac_exeext conftest.$ac_ext
99425 fi
99426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99428 if test `eval echo '${'$as_ac_var'}'` = yes; then
99429   cat >>confdefs.h <<_ACEOF
99430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99431 _ACEOF
99432
99433 fi
99434 done
99435
99436   else
99437
99438   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
99439 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
99440   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
99441     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
99442   echo $ECHO_N "(cached) $ECHO_C" >&6
99443 else
99444
99445
99446
99447       ac_ext=cc
99448 ac_cpp='$CXXCPP $CPPFLAGS'
99449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99452
99453       cat >conftest.$ac_ext <<_ACEOF
99454 /* confdefs.h.  */
99455 _ACEOF
99456 cat confdefs.h >>conftest.$ac_ext
99457 cat >>conftest.$ac_ext <<_ACEOF
99458 /* end confdefs.h.  */
99459 #include <math.h>
99460                       #ifdef HAVE_IEEEFP_H
99461                       #include <ieeefp.h>
99462                       #endif
99463
99464 int
99465 main ()
99466 {
99467  _isinfl(0);
99468   ;
99469   return 0;
99470 }
99471 _ACEOF
99472 rm -f conftest.$ac_objext
99473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99474   (eval $ac_compile) 2>conftest.er1
99475   ac_status=$?
99476   grep -v '^ *+' conftest.er1 >conftest.err
99477   rm -f conftest.er1
99478   cat conftest.err >&5
99479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99480   (exit $ac_status); } &&
99481          { ac_try='test -z "$ac_cxx_werror_flag"
99482                          || test ! -s conftest.err'
99483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99484   (eval $ac_try) 2>&5
99485   ac_status=$?
99486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99487   (exit $ac_status); }; } &&
99488          { ac_try='test -s conftest.$ac_objext'
99489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99490   (eval $ac_try) 2>&5
99491   ac_status=$?
99492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99493   (exit $ac_status); }; }; then
99494   glibcxx_cv_func__isinfl_use=yes
99495 else
99496   echo "$as_me: failed program was:" >&5
99497 sed 's/^/| /' conftest.$ac_ext >&5
99498
99499 glibcxx_cv_func__isinfl_use=no
99500 fi
99501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99502       ac_ext=c
99503 ac_cpp='$CPP $CPPFLAGS'
99504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99507
99508
99509 fi
99510
99511   fi
99512   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
99513 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
99514
99515     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
99516
99517 for ac_func in _isinfl
99518 do
99519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99520 echo "$as_me:$LINENO: checking for $ac_func" >&5
99521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99522 if eval "test \"\${$as_ac_var+set}\" = set"; then
99523   echo $ECHO_N "(cached) $ECHO_C" >&6
99524 else
99525   if test x$gcc_no_link = xyes; then
99526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99528    { (exit 1); exit 1; }; }
99529 fi
99530 cat >conftest.$ac_ext <<_ACEOF
99531 /* confdefs.h.  */
99532 _ACEOF
99533 cat confdefs.h >>conftest.$ac_ext
99534 cat >>conftest.$ac_ext <<_ACEOF
99535 /* end confdefs.h.  */
99536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99537    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99538 #define $ac_func innocuous_$ac_func
99539
99540 /* System header to define __stub macros and hopefully few prototypes,
99541     which can conflict with char $ac_func (); below.
99542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99543     <limits.h> exists even on freestanding compilers.  */
99544
99545 #ifdef __STDC__
99546 # include <limits.h>
99547 #else
99548 # include <assert.h>
99549 #endif
99550
99551 #undef $ac_func
99552
99553 /* Override any gcc2 internal prototype to avoid an error.  */
99554 #ifdef __cplusplus
99555 extern "C"
99556 {
99557 #endif
99558 /* We use char because int might match the return type of a gcc2
99559    builtin and then its argument prototype would still apply.  */
99560 char $ac_func ();
99561 /* The GNU C library defines this for functions which it implements
99562     to always fail with ENOSYS.  Some functions are actually named
99563     something starting with __ and the normal name is an alias.  */
99564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99565 choke me
99566 #else
99567 char (*f) () = $ac_func;
99568 #endif
99569 #ifdef __cplusplus
99570 }
99571 #endif
99572
99573 int
99574 main ()
99575 {
99576 return f != $ac_func;
99577   ;
99578   return 0;
99579 }
99580 _ACEOF
99581 rm -f conftest.$ac_objext conftest$ac_exeext
99582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99583   (eval $ac_link) 2>conftest.er1
99584   ac_status=$?
99585   grep -v '^ *+' conftest.er1 >conftest.err
99586   rm -f conftest.er1
99587   cat conftest.err >&5
99588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99589   (exit $ac_status); } &&
99590          { ac_try='test -z "$ac_c_werror_flag"
99591                          || test ! -s conftest.err'
99592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99593   (eval $ac_try) 2>&5
99594   ac_status=$?
99595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99596   (exit $ac_status); }; } &&
99597          { ac_try='test -s conftest$ac_exeext'
99598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99599   (eval $ac_try) 2>&5
99600   ac_status=$?
99601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99602   (exit $ac_status); }; }; then
99603   eval "$as_ac_var=yes"
99604 else
99605   echo "$as_me: failed program was:" >&5
99606 sed 's/^/| /' conftest.$ac_ext >&5
99607
99608 eval "$as_ac_var=no"
99609 fi
99610 rm -f conftest.err conftest.$ac_objext \
99611       conftest$ac_exeext conftest.$ac_ext
99612 fi
99613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99615 if test `eval echo '${'$as_ac_var'}'` = yes; then
99616   cat >>confdefs.h <<_ACEOF
99617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99618 _ACEOF
99619
99620 fi
99621 done
99622
99623     fi
99624   fi
99625
99626
99627
99628
99629
99630
99631   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
99632 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
99633   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
99634     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
99635   echo $ECHO_N "(cached) $ECHO_C" >&6
99636 else
99637
99638
99639
99640       ac_ext=cc
99641 ac_cpp='$CXXCPP $CPPFLAGS'
99642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99645
99646       cat >conftest.$ac_ext <<_ACEOF
99647 /* confdefs.h.  */
99648 _ACEOF
99649 cat confdefs.h >>conftest.$ac_ext
99650 cat >>conftest.$ac_ext <<_ACEOF
99651 /* end confdefs.h.  */
99652 #include <math.h>
99653 int
99654 main ()
99655 {
99656  copysignl(0, 0);
99657   ;
99658   return 0;
99659 }
99660 _ACEOF
99661 rm -f conftest.$ac_objext
99662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99663   (eval $ac_compile) 2>conftest.er1
99664   ac_status=$?
99665   grep -v '^ *+' conftest.er1 >conftest.err
99666   rm -f conftest.er1
99667   cat conftest.err >&5
99668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99669   (exit $ac_status); } &&
99670          { ac_try='test -z "$ac_cxx_werror_flag"
99671                          || test ! -s conftest.err'
99672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99673   (eval $ac_try) 2>&5
99674   ac_status=$?
99675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99676   (exit $ac_status); }; } &&
99677          { ac_try='test -s conftest.$ac_objext'
99678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99679   (eval $ac_try) 2>&5
99680   ac_status=$?
99681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99682   (exit $ac_status); }; }; then
99683   glibcxx_cv_func_copysignl_use=yes
99684 else
99685   echo "$as_me: failed program was:" >&5
99686 sed 's/^/| /' conftest.$ac_ext >&5
99687
99688 glibcxx_cv_func_copysignl_use=no
99689 fi
99690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99691       ac_ext=c
99692 ac_cpp='$CPP $CPPFLAGS'
99693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99696
99697
99698 fi
99699
99700   fi
99701   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
99702 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
99703
99704   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
99705
99706 for ac_func in copysignl
99707 do
99708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99709 echo "$as_me:$LINENO: checking for $ac_func" >&5
99710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99711 if eval "test \"\${$as_ac_var+set}\" = set"; then
99712   echo $ECHO_N "(cached) $ECHO_C" >&6
99713 else
99714   if test x$gcc_no_link = xyes; then
99715   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99717    { (exit 1); exit 1; }; }
99718 fi
99719 cat >conftest.$ac_ext <<_ACEOF
99720 /* confdefs.h.  */
99721 _ACEOF
99722 cat confdefs.h >>conftest.$ac_ext
99723 cat >>conftest.$ac_ext <<_ACEOF
99724 /* end confdefs.h.  */
99725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99726    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99727 #define $ac_func innocuous_$ac_func
99728
99729 /* System header to define __stub macros and hopefully few prototypes,
99730     which can conflict with char $ac_func (); below.
99731     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99732     <limits.h> exists even on freestanding compilers.  */
99733
99734 #ifdef __STDC__
99735 # include <limits.h>
99736 #else
99737 # include <assert.h>
99738 #endif
99739
99740 #undef $ac_func
99741
99742 /* Override any gcc2 internal prototype to avoid an error.  */
99743 #ifdef __cplusplus
99744 extern "C"
99745 {
99746 #endif
99747 /* We use char because int might match the return type of a gcc2
99748    builtin and then its argument prototype would still apply.  */
99749 char $ac_func ();
99750 /* The GNU C library defines this for functions which it implements
99751     to always fail with ENOSYS.  Some functions are actually named
99752     something starting with __ and the normal name is an alias.  */
99753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99754 choke me
99755 #else
99756 char (*f) () = $ac_func;
99757 #endif
99758 #ifdef __cplusplus
99759 }
99760 #endif
99761
99762 int
99763 main ()
99764 {
99765 return f != $ac_func;
99766   ;
99767   return 0;
99768 }
99769 _ACEOF
99770 rm -f conftest.$ac_objext conftest$ac_exeext
99771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99772   (eval $ac_link) 2>conftest.er1
99773   ac_status=$?
99774   grep -v '^ *+' conftest.er1 >conftest.err
99775   rm -f conftest.er1
99776   cat conftest.err >&5
99777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99778   (exit $ac_status); } &&
99779          { ac_try='test -z "$ac_c_werror_flag"
99780                          || test ! -s conftest.err'
99781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99782   (eval $ac_try) 2>&5
99783   ac_status=$?
99784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99785   (exit $ac_status); }; } &&
99786          { ac_try='test -s conftest$ac_exeext'
99787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99788   (eval $ac_try) 2>&5
99789   ac_status=$?
99790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99791   (exit $ac_status); }; }; then
99792   eval "$as_ac_var=yes"
99793 else
99794   echo "$as_me: failed program was:" >&5
99795 sed 's/^/| /' conftest.$ac_ext >&5
99796
99797 eval "$as_ac_var=no"
99798 fi
99799 rm -f conftest.err conftest.$ac_objext \
99800       conftest$ac_exeext conftest.$ac_ext
99801 fi
99802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99804 if test `eval echo '${'$as_ac_var'}'` = yes; then
99805   cat >>confdefs.h <<_ACEOF
99806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99807 _ACEOF
99808
99809 fi
99810 done
99811
99812   else
99813
99814   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
99815 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
99816   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
99817     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
99818   echo $ECHO_N "(cached) $ECHO_C" >&6
99819 else
99820
99821
99822
99823       ac_ext=cc
99824 ac_cpp='$CXXCPP $CPPFLAGS'
99825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99828
99829       cat >conftest.$ac_ext <<_ACEOF
99830 /* confdefs.h.  */
99831 _ACEOF
99832 cat confdefs.h >>conftest.$ac_ext
99833 cat >>conftest.$ac_ext <<_ACEOF
99834 /* end confdefs.h.  */
99835 #include <math.h>
99836 int
99837 main ()
99838 {
99839  _copysignl(0, 0);
99840   ;
99841   return 0;
99842 }
99843 _ACEOF
99844 rm -f conftest.$ac_objext
99845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99846   (eval $ac_compile) 2>conftest.er1
99847   ac_status=$?
99848   grep -v '^ *+' conftest.er1 >conftest.err
99849   rm -f conftest.er1
99850   cat conftest.err >&5
99851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99852   (exit $ac_status); } &&
99853          { ac_try='test -z "$ac_cxx_werror_flag"
99854                          || test ! -s conftest.err'
99855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99856   (eval $ac_try) 2>&5
99857   ac_status=$?
99858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99859   (exit $ac_status); }; } &&
99860          { ac_try='test -s conftest.$ac_objext'
99861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99862   (eval $ac_try) 2>&5
99863   ac_status=$?
99864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99865   (exit $ac_status); }; }; then
99866   glibcxx_cv_func__copysignl_use=yes
99867 else
99868   echo "$as_me: failed program was:" >&5
99869 sed 's/^/| /' conftest.$ac_ext >&5
99870
99871 glibcxx_cv_func__copysignl_use=no
99872 fi
99873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99874       ac_ext=c
99875 ac_cpp='$CPP $CPPFLAGS'
99876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99879
99880
99881 fi
99882
99883   fi
99884   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
99885 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
99886
99887     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
99888
99889 for ac_func in _copysignl
99890 do
99891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99892 echo "$as_me:$LINENO: checking for $ac_func" >&5
99893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99894 if eval "test \"\${$as_ac_var+set}\" = set"; then
99895   echo $ECHO_N "(cached) $ECHO_C" >&6
99896 else
99897   if test x$gcc_no_link = xyes; then
99898   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99900    { (exit 1); exit 1; }; }
99901 fi
99902 cat >conftest.$ac_ext <<_ACEOF
99903 /* confdefs.h.  */
99904 _ACEOF
99905 cat confdefs.h >>conftest.$ac_ext
99906 cat >>conftest.$ac_ext <<_ACEOF
99907 /* end confdefs.h.  */
99908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99909    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
99910 #define $ac_func innocuous_$ac_func
99911
99912 /* System header to define __stub macros and hopefully few prototypes,
99913     which can conflict with char $ac_func (); below.
99914     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99915     <limits.h> exists even on freestanding compilers.  */
99916
99917 #ifdef __STDC__
99918 # include <limits.h>
99919 #else
99920 # include <assert.h>
99921 #endif
99922
99923 #undef $ac_func
99924
99925 /* Override any gcc2 internal prototype to avoid an error.  */
99926 #ifdef __cplusplus
99927 extern "C"
99928 {
99929 #endif
99930 /* We use char because int might match the return type of a gcc2
99931    builtin and then its argument prototype would still apply.  */
99932 char $ac_func ();
99933 /* The GNU C library defines this for functions which it implements
99934     to always fail with ENOSYS.  Some functions are actually named
99935     something starting with __ and the normal name is an alias.  */
99936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99937 choke me
99938 #else
99939 char (*f) () = $ac_func;
99940 #endif
99941 #ifdef __cplusplus
99942 }
99943 #endif
99944
99945 int
99946 main ()
99947 {
99948 return f != $ac_func;
99949   ;
99950   return 0;
99951 }
99952 _ACEOF
99953 rm -f conftest.$ac_objext conftest$ac_exeext
99954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99955   (eval $ac_link) 2>conftest.er1
99956   ac_status=$?
99957   grep -v '^ *+' conftest.er1 >conftest.err
99958   rm -f conftest.er1
99959   cat conftest.err >&5
99960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99961   (exit $ac_status); } &&
99962          { ac_try='test -z "$ac_c_werror_flag"
99963                          || test ! -s conftest.err'
99964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99965   (eval $ac_try) 2>&5
99966   ac_status=$?
99967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99968   (exit $ac_status); }; } &&
99969          { ac_try='test -s conftest$ac_exeext'
99970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99971   (eval $ac_try) 2>&5
99972   ac_status=$?
99973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99974   (exit $ac_status); }; }; then
99975   eval "$as_ac_var=yes"
99976 else
99977   echo "$as_me: failed program was:" >&5
99978 sed 's/^/| /' conftest.$ac_ext >&5
99979
99980 eval "$as_ac_var=no"
99981 fi
99982 rm -f conftest.err conftest.$ac_objext \
99983       conftest$ac_exeext conftest.$ac_ext
99984 fi
99985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99987 if test `eval echo '${'$as_ac_var'}'` = yes; then
99988   cat >>confdefs.h <<_ACEOF
99989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99990 _ACEOF
99991
99992 fi
99993 done
99994
99995     fi
99996   fi
99997
99998
99999
100000
100001
100002
100003   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
100004 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
100005   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
100006     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
100007   echo $ECHO_N "(cached) $ECHO_C" >&6
100008 else
100009
100010
100011
100012       ac_ext=cc
100013 ac_cpp='$CXXCPP $CPPFLAGS'
100014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100017
100018       cat >conftest.$ac_ext <<_ACEOF
100019 /* confdefs.h.  */
100020 _ACEOF
100021 cat confdefs.h >>conftest.$ac_ext
100022 cat >>conftest.$ac_ext <<_ACEOF
100023 /* end confdefs.h.  */
100024 #include <math.h>
100025 int
100026 main ()
100027 {
100028  atan2l(0, 0);
100029   ;
100030   return 0;
100031 }
100032 _ACEOF
100033 rm -f conftest.$ac_objext
100034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100035   (eval $ac_compile) 2>conftest.er1
100036   ac_status=$?
100037   grep -v '^ *+' conftest.er1 >conftest.err
100038   rm -f conftest.er1
100039   cat conftest.err >&5
100040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100041   (exit $ac_status); } &&
100042          { ac_try='test -z "$ac_cxx_werror_flag"
100043                          || test ! -s conftest.err'
100044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100045   (eval $ac_try) 2>&5
100046   ac_status=$?
100047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100048   (exit $ac_status); }; } &&
100049          { ac_try='test -s conftest.$ac_objext'
100050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100051   (eval $ac_try) 2>&5
100052   ac_status=$?
100053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100054   (exit $ac_status); }; }; then
100055   glibcxx_cv_func_atan2l_use=yes
100056 else
100057   echo "$as_me: failed program was:" >&5
100058 sed 's/^/| /' conftest.$ac_ext >&5
100059
100060 glibcxx_cv_func_atan2l_use=no
100061 fi
100062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100063       ac_ext=c
100064 ac_cpp='$CPP $CPPFLAGS'
100065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100068
100069
100070 fi
100071
100072   fi
100073   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
100074 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
100075
100076   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
100077
100078 for ac_func in atan2l
100079 do
100080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100081 echo "$as_me:$LINENO: checking for $ac_func" >&5
100082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100083 if eval "test \"\${$as_ac_var+set}\" = set"; then
100084   echo $ECHO_N "(cached) $ECHO_C" >&6
100085 else
100086   if test x$gcc_no_link = xyes; then
100087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100089    { (exit 1); exit 1; }; }
100090 fi
100091 cat >conftest.$ac_ext <<_ACEOF
100092 /* confdefs.h.  */
100093 _ACEOF
100094 cat confdefs.h >>conftest.$ac_ext
100095 cat >>conftest.$ac_ext <<_ACEOF
100096 /* end confdefs.h.  */
100097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100098    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100099 #define $ac_func innocuous_$ac_func
100100
100101 /* System header to define __stub macros and hopefully few prototypes,
100102     which can conflict with char $ac_func (); below.
100103     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100104     <limits.h> exists even on freestanding compilers.  */
100105
100106 #ifdef __STDC__
100107 # include <limits.h>
100108 #else
100109 # include <assert.h>
100110 #endif
100111
100112 #undef $ac_func
100113
100114 /* Override any gcc2 internal prototype to avoid an error.  */
100115 #ifdef __cplusplus
100116 extern "C"
100117 {
100118 #endif
100119 /* We use char because int might match the return type of a gcc2
100120    builtin and then its argument prototype would still apply.  */
100121 char $ac_func ();
100122 /* The GNU C library defines this for functions which it implements
100123     to always fail with ENOSYS.  Some functions are actually named
100124     something starting with __ and the normal name is an alias.  */
100125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100126 choke me
100127 #else
100128 char (*f) () = $ac_func;
100129 #endif
100130 #ifdef __cplusplus
100131 }
100132 #endif
100133
100134 int
100135 main ()
100136 {
100137 return f != $ac_func;
100138   ;
100139   return 0;
100140 }
100141 _ACEOF
100142 rm -f conftest.$ac_objext conftest$ac_exeext
100143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100144   (eval $ac_link) 2>conftest.er1
100145   ac_status=$?
100146   grep -v '^ *+' conftest.er1 >conftest.err
100147   rm -f conftest.er1
100148   cat conftest.err >&5
100149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100150   (exit $ac_status); } &&
100151          { ac_try='test -z "$ac_c_werror_flag"
100152                          || test ! -s conftest.err'
100153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100154   (eval $ac_try) 2>&5
100155   ac_status=$?
100156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100157   (exit $ac_status); }; } &&
100158          { ac_try='test -s conftest$ac_exeext'
100159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100160   (eval $ac_try) 2>&5
100161   ac_status=$?
100162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100163   (exit $ac_status); }; }; then
100164   eval "$as_ac_var=yes"
100165 else
100166   echo "$as_me: failed program was:" >&5
100167 sed 's/^/| /' conftest.$ac_ext >&5
100168
100169 eval "$as_ac_var=no"
100170 fi
100171 rm -f conftest.err conftest.$ac_objext \
100172       conftest$ac_exeext conftest.$ac_ext
100173 fi
100174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100176 if test `eval echo '${'$as_ac_var'}'` = yes; then
100177   cat >>confdefs.h <<_ACEOF
100178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100179 _ACEOF
100180
100181 fi
100182 done
100183
100184   else
100185
100186   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
100187 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
100188   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
100189     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
100190   echo $ECHO_N "(cached) $ECHO_C" >&6
100191 else
100192
100193
100194
100195       ac_ext=cc
100196 ac_cpp='$CXXCPP $CPPFLAGS'
100197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100200
100201       cat >conftest.$ac_ext <<_ACEOF
100202 /* confdefs.h.  */
100203 _ACEOF
100204 cat confdefs.h >>conftest.$ac_ext
100205 cat >>conftest.$ac_ext <<_ACEOF
100206 /* end confdefs.h.  */
100207 #include <math.h>
100208 int
100209 main ()
100210 {
100211  _atan2l(0, 0);
100212   ;
100213   return 0;
100214 }
100215 _ACEOF
100216 rm -f conftest.$ac_objext
100217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100218   (eval $ac_compile) 2>conftest.er1
100219   ac_status=$?
100220   grep -v '^ *+' conftest.er1 >conftest.err
100221   rm -f conftest.er1
100222   cat conftest.err >&5
100223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100224   (exit $ac_status); } &&
100225          { ac_try='test -z "$ac_cxx_werror_flag"
100226                          || test ! -s conftest.err'
100227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100228   (eval $ac_try) 2>&5
100229   ac_status=$?
100230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100231   (exit $ac_status); }; } &&
100232          { ac_try='test -s conftest.$ac_objext'
100233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100234   (eval $ac_try) 2>&5
100235   ac_status=$?
100236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100237   (exit $ac_status); }; }; then
100238   glibcxx_cv_func__atan2l_use=yes
100239 else
100240   echo "$as_me: failed program was:" >&5
100241 sed 's/^/| /' conftest.$ac_ext >&5
100242
100243 glibcxx_cv_func__atan2l_use=no
100244 fi
100245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100246       ac_ext=c
100247 ac_cpp='$CPP $CPPFLAGS'
100248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100251
100252
100253 fi
100254
100255   fi
100256   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
100257 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
100258
100259     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
100260
100261 for ac_func in _atan2l
100262 do
100263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100264 echo "$as_me:$LINENO: checking for $ac_func" >&5
100265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100266 if eval "test \"\${$as_ac_var+set}\" = set"; then
100267   echo $ECHO_N "(cached) $ECHO_C" >&6
100268 else
100269   if test x$gcc_no_link = xyes; then
100270   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100272    { (exit 1); exit 1; }; }
100273 fi
100274 cat >conftest.$ac_ext <<_ACEOF
100275 /* confdefs.h.  */
100276 _ACEOF
100277 cat confdefs.h >>conftest.$ac_ext
100278 cat >>conftest.$ac_ext <<_ACEOF
100279 /* end confdefs.h.  */
100280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100281    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100282 #define $ac_func innocuous_$ac_func
100283
100284 /* System header to define __stub macros and hopefully few prototypes,
100285     which can conflict with char $ac_func (); below.
100286     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100287     <limits.h> exists even on freestanding compilers.  */
100288
100289 #ifdef __STDC__
100290 # include <limits.h>
100291 #else
100292 # include <assert.h>
100293 #endif
100294
100295 #undef $ac_func
100296
100297 /* Override any gcc2 internal prototype to avoid an error.  */
100298 #ifdef __cplusplus
100299 extern "C"
100300 {
100301 #endif
100302 /* We use char because int might match the return type of a gcc2
100303    builtin and then its argument prototype would still apply.  */
100304 char $ac_func ();
100305 /* The GNU C library defines this for functions which it implements
100306     to always fail with ENOSYS.  Some functions are actually named
100307     something starting with __ and the normal name is an alias.  */
100308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100309 choke me
100310 #else
100311 char (*f) () = $ac_func;
100312 #endif
100313 #ifdef __cplusplus
100314 }
100315 #endif
100316
100317 int
100318 main ()
100319 {
100320 return f != $ac_func;
100321   ;
100322   return 0;
100323 }
100324 _ACEOF
100325 rm -f conftest.$ac_objext conftest$ac_exeext
100326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100327   (eval $ac_link) 2>conftest.er1
100328   ac_status=$?
100329   grep -v '^ *+' conftest.er1 >conftest.err
100330   rm -f conftest.er1
100331   cat conftest.err >&5
100332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100333   (exit $ac_status); } &&
100334          { ac_try='test -z "$ac_c_werror_flag"
100335                          || test ! -s conftest.err'
100336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100337   (eval $ac_try) 2>&5
100338   ac_status=$?
100339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100340   (exit $ac_status); }; } &&
100341          { ac_try='test -s conftest$ac_exeext'
100342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100343   (eval $ac_try) 2>&5
100344   ac_status=$?
100345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100346   (exit $ac_status); }; }; then
100347   eval "$as_ac_var=yes"
100348 else
100349   echo "$as_me: failed program was:" >&5
100350 sed 's/^/| /' conftest.$ac_ext >&5
100351
100352 eval "$as_ac_var=no"
100353 fi
100354 rm -f conftest.err conftest.$ac_objext \
100355       conftest$ac_exeext conftest.$ac_ext
100356 fi
100357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100359 if test `eval echo '${'$as_ac_var'}'` = yes; then
100360   cat >>confdefs.h <<_ACEOF
100361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100362 _ACEOF
100363
100364 fi
100365 done
100366
100367     fi
100368   fi
100369
100370
100371
100372
100373
100374
100375   echo "$as_me:$LINENO: checking for expl declaration" >&5
100376 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
100377   if test x${glibcxx_cv_func_expl_use+set} != xset; then
100378     if test "${glibcxx_cv_func_expl_use+set}" = set; then
100379   echo $ECHO_N "(cached) $ECHO_C" >&6
100380 else
100381
100382
100383
100384       ac_ext=cc
100385 ac_cpp='$CXXCPP $CPPFLAGS'
100386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100389
100390       cat >conftest.$ac_ext <<_ACEOF
100391 /* confdefs.h.  */
100392 _ACEOF
100393 cat confdefs.h >>conftest.$ac_ext
100394 cat >>conftest.$ac_ext <<_ACEOF
100395 /* end confdefs.h.  */
100396 #include <math.h>
100397                       #ifdef HAVE_IEEEFP_H
100398                       #include <ieeefp.h>
100399                       #endif
100400
100401 int
100402 main ()
100403 {
100404  expl(0);
100405   ;
100406   return 0;
100407 }
100408 _ACEOF
100409 rm -f conftest.$ac_objext
100410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100411   (eval $ac_compile) 2>conftest.er1
100412   ac_status=$?
100413   grep -v '^ *+' conftest.er1 >conftest.err
100414   rm -f conftest.er1
100415   cat conftest.err >&5
100416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100417   (exit $ac_status); } &&
100418          { ac_try='test -z "$ac_cxx_werror_flag"
100419                          || test ! -s conftest.err'
100420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100421   (eval $ac_try) 2>&5
100422   ac_status=$?
100423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100424   (exit $ac_status); }; } &&
100425          { ac_try='test -s conftest.$ac_objext'
100426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100427   (eval $ac_try) 2>&5
100428   ac_status=$?
100429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100430   (exit $ac_status); }; }; then
100431   glibcxx_cv_func_expl_use=yes
100432 else
100433   echo "$as_me: failed program was:" >&5
100434 sed 's/^/| /' conftest.$ac_ext >&5
100435
100436 glibcxx_cv_func_expl_use=no
100437 fi
100438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100439       ac_ext=c
100440 ac_cpp='$CPP $CPPFLAGS'
100441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100444
100445
100446 fi
100447
100448   fi
100449   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
100450 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
100451
100452   if test x$glibcxx_cv_func_expl_use = x"yes"; then
100453
100454 for ac_func in expl
100455 do
100456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100457 echo "$as_me:$LINENO: checking for $ac_func" >&5
100458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100459 if eval "test \"\${$as_ac_var+set}\" = set"; then
100460   echo $ECHO_N "(cached) $ECHO_C" >&6
100461 else
100462   if test x$gcc_no_link = xyes; then
100463   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100465    { (exit 1); exit 1; }; }
100466 fi
100467 cat >conftest.$ac_ext <<_ACEOF
100468 /* confdefs.h.  */
100469 _ACEOF
100470 cat confdefs.h >>conftest.$ac_ext
100471 cat >>conftest.$ac_ext <<_ACEOF
100472 /* end confdefs.h.  */
100473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100474    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100475 #define $ac_func innocuous_$ac_func
100476
100477 /* System header to define __stub macros and hopefully few prototypes,
100478     which can conflict with char $ac_func (); below.
100479     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100480     <limits.h> exists even on freestanding compilers.  */
100481
100482 #ifdef __STDC__
100483 # include <limits.h>
100484 #else
100485 # include <assert.h>
100486 #endif
100487
100488 #undef $ac_func
100489
100490 /* Override any gcc2 internal prototype to avoid an error.  */
100491 #ifdef __cplusplus
100492 extern "C"
100493 {
100494 #endif
100495 /* We use char because int might match the return type of a gcc2
100496    builtin and then its argument prototype would still apply.  */
100497 char $ac_func ();
100498 /* The GNU C library defines this for functions which it implements
100499     to always fail with ENOSYS.  Some functions are actually named
100500     something starting with __ and the normal name is an alias.  */
100501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100502 choke me
100503 #else
100504 char (*f) () = $ac_func;
100505 #endif
100506 #ifdef __cplusplus
100507 }
100508 #endif
100509
100510 int
100511 main ()
100512 {
100513 return f != $ac_func;
100514   ;
100515   return 0;
100516 }
100517 _ACEOF
100518 rm -f conftest.$ac_objext conftest$ac_exeext
100519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100520   (eval $ac_link) 2>conftest.er1
100521   ac_status=$?
100522   grep -v '^ *+' conftest.er1 >conftest.err
100523   rm -f conftest.er1
100524   cat conftest.err >&5
100525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100526   (exit $ac_status); } &&
100527          { ac_try='test -z "$ac_c_werror_flag"
100528                          || test ! -s conftest.err'
100529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100530   (eval $ac_try) 2>&5
100531   ac_status=$?
100532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100533   (exit $ac_status); }; } &&
100534          { ac_try='test -s conftest$ac_exeext'
100535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100536   (eval $ac_try) 2>&5
100537   ac_status=$?
100538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100539   (exit $ac_status); }; }; then
100540   eval "$as_ac_var=yes"
100541 else
100542   echo "$as_me: failed program was:" >&5
100543 sed 's/^/| /' conftest.$ac_ext >&5
100544
100545 eval "$as_ac_var=no"
100546 fi
100547 rm -f conftest.err conftest.$ac_objext \
100548       conftest$ac_exeext conftest.$ac_ext
100549 fi
100550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100552 if test `eval echo '${'$as_ac_var'}'` = yes; then
100553   cat >>confdefs.h <<_ACEOF
100554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100555 _ACEOF
100556
100557 fi
100558 done
100559
100560   else
100561
100562   echo "$as_me:$LINENO: checking for _expl declaration" >&5
100563 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
100564   if test x${glibcxx_cv_func__expl_use+set} != xset; then
100565     if test "${glibcxx_cv_func__expl_use+set}" = set; then
100566   echo $ECHO_N "(cached) $ECHO_C" >&6
100567 else
100568
100569
100570
100571       ac_ext=cc
100572 ac_cpp='$CXXCPP $CPPFLAGS'
100573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100576
100577       cat >conftest.$ac_ext <<_ACEOF
100578 /* confdefs.h.  */
100579 _ACEOF
100580 cat confdefs.h >>conftest.$ac_ext
100581 cat >>conftest.$ac_ext <<_ACEOF
100582 /* end confdefs.h.  */
100583 #include <math.h>
100584                       #ifdef HAVE_IEEEFP_H
100585                       #include <ieeefp.h>
100586                       #endif
100587
100588 int
100589 main ()
100590 {
100591  _expl(0);
100592   ;
100593   return 0;
100594 }
100595 _ACEOF
100596 rm -f conftest.$ac_objext
100597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100598   (eval $ac_compile) 2>conftest.er1
100599   ac_status=$?
100600   grep -v '^ *+' conftest.er1 >conftest.err
100601   rm -f conftest.er1
100602   cat conftest.err >&5
100603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100604   (exit $ac_status); } &&
100605          { ac_try='test -z "$ac_cxx_werror_flag"
100606                          || test ! -s conftest.err'
100607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100608   (eval $ac_try) 2>&5
100609   ac_status=$?
100610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100611   (exit $ac_status); }; } &&
100612          { ac_try='test -s conftest.$ac_objext'
100613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100614   (eval $ac_try) 2>&5
100615   ac_status=$?
100616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100617   (exit $ac_status); }; }; then
100618   glibcxx_cv_func__expl_use=yes
100619 else
100620   echo "$as_me: failed program was:" >&5
100621 sed 's/^/| /' conftest.$ac_ext >&5
100622
100623 glibcxx_cv_func__expl_use=no
100624 fi
100625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100626       ac_ext=c
100627 ac_cpp='$CPP $CPPFLAGS'
100628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100631
100632
100633 fi
100634
100635   fi
100636   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
100637 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
100638
100639     if test x$glibcxx_cv_func__expl_use = x"yes"; then
100640
100641 for ac_func in _expl
100642 do
100643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100644 echo "$as_me:$LINENO: checking for $ac_func" >&5
100645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100646 if eval "test \"\${$as_ac_var+set}\" = set"; then
100647   echo $ECHO_N "(cached) $ECHO_C" >&6
100648 else
100649   if test x$gcc_no_link = xyes; then
100650   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100652    { (exit 1); exit 1; }; }
100653 fi
100654 cat >conftest.$ac_ext <<_ACEOF
100655 /* confdefs.h.  */
100656 _ACEOF
100657 cat confdefs.h >>conftest.$ac_ext
100658 cat >>conftest.$ac_ext <<_ACEOF
100659 /* end confdefs.h.  */
100660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100661    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100662 #define $ac_func innocuous_$ac_func
100663
100664 /* System header to define __stub macros and hopefully few prototypes,
100665     which can conflict with char $ac_func (); below.
100666     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100667     <limits.h> exists even on freestanding compilers.  */
100668
100669 #ifdef __STDC__
100670 # include <limits.h>
100671 #else
100672 # include <assert.h>
100673 #endif
100674
100675 #undef $ac_func
100676
100677 /* Override any gcc2 internal prototype to avoid an error.  */
100678 #ifdef __cplusplus
100679 extern "C"
100680 {
100681 #endif
100682 /* We use char because int might match the return type of a gcc2
100683    builtin and then its argument prototype would still apply.  */
100684 char $ac_func ();
100685 /* The GNU C library defines this for functions which it implements
100686     to always fail with ENOSYS.  Some functions are actually named
100687     something starting with __ and the normal name is an alias.  */
100688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100689 choke me
100690 #else
100691 char (*f) () = $ac_func;
100692 #endif
100693 #ifdef __cplusplus
100694 }
100695 #endif
100696
100697 int
100698 main ()
100699 {
100700 return f != $ac_func;
100701   ;
100702   return 0;
100703 }
100704 _ACEOF
100705 rm -f conftest.$ac_objext conftest$ac_exeext
100706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100707   (eval $ac_link) 2>conftest.er1
100708   ac_status=$?
100709   grep -v '^ *+' conftest.er1 >conftest.err
100710   rm -f conftest.er1
100711   cat conftest.err >&5
100712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100713   (exit $ac_status); } &&
100714          { ac_try='test -z "$ac_c_werror_flag"
100715                          || test ! -s conftest.err'
100716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100717   (eval $ac_try) 2>&5
100718   ac_status=$?
100719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100720   (exit $ac_status); }; } &&
100721          { ac_try='test -s conftest$ac_exeext'
100722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100723   (eval $ac_try) 2>&5
100724   ac_status=$?
100725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100726   (exit $ac_status); }; }; then
100727   eval "$as_ac_var=yes"
100728 else
100729   echo "$as_me: failed program was:" >&5
100730 sed 's/^/| /' conftest.$ac_ext >&5
100731
100732 eval "$as_ac_var=no"
100733 fi
100734 rm -f conftest.err conftest.$ac_objext \
100735       conftest$ac_exeext conftest.$ac_ext
100736 fi
100737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100739 if test `eval echo '${'$as_ac_var'}'` = yes; then
100740   cat >>confdefs.h <<_ACEOF
100741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100742 _ACEOF
100743
100744 fi
100745 done
100746
100747     fi
100748   fi
100749
100750
100751
100752
100753
100754
100755   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
100756 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
100757   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
100758     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
100759   echo $ECHO_N "(cached) $ECHO_C" >&6
100760 else
100761
100762
100763
100764       ac_ext=cc
100765 ac_cpp='$CXXCPP $CPPFLAGS'
100766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100769
100770       cat >conftest.$ac_ext <<_ACEOF
100771 /* confdefs.h.  */
100772 _ACEOF
100773 cat confdefs.h >>conftest.$ac_ext
100774 cat >>conftest.$ac_ext <<_ACEOF
100775 /* end confdefs.h.  */
100776 #include <math.h>
100777                       #ifdef HAVE_IEEEFP_H
100778                       #include <ieeefp.h>
100779                       #endif
100780
100781 int
100782 main ()
100783 {
100784  fabsl(0);
100785   ;
100786   return 0;
100787 }
100788 _ACEOF
100789 rm -f conftest.$ac_objext
100790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100791   (eval $ac_compile) 2>conftest.er1
100792   ac_status=$?
100793   grep -v '^ *+' conftest.er1 >conftest.err
100794   rm -f conftest.er1
100795   cat conftest.err >&5
100796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100797   (exit $ac_status); } &&
100798          { ac_try='test -z "$ac_cxx_werror_flag"
100799                          || test ! -s conftest.err'
100800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100801   (eval $ac_try) 2>&5
100802   ac_status=$?
100803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100804   (exit $ac_status); }; } &&
100805          { ac_try='test -s conftest.$ac_objext'
100806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100807   (eval $ac_try) 2>&5
100808   ac_status=$?
100809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100810   (exit $ac_status); }; }; then
100811   glibcxx_cv_func_fabsl_use=yes
100812 else
100813   echo "$as_me: failed program was:" >&5
100814 sed 's/^/| /' conftest.$ac_ext >&5
100815
100816 glibcxx_cv_func_fabsl_use=no
100817 fi
100818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100819       ac_ext=c
100820 ac_cpp='$CPP $CPPFLAGS'
100821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100824
100825
100826 fi
100827
100828   fi
100829   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
100830 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
100831
100832   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
100833
100834 for ac_func in fabsl
100835 do
100836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100837 echo "$as_me:$LINENO: checking for $ac_func" >&5
100838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100839 if eval "test \"\${$as_ac_var+set}\" = set"; then
100840   echo $ECHO_N "(cached) $ECHO_C" >&6
100841 else
100842   if test x$gcc_no_link = xyes; then
100843   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100845    { (exit 1); exit 1; }; }
100846 fi
100847 cat >conftest.$ac_ext <<_ACEOF
100848 /* confdefs.h.  */
100849 _ACEOF
100850 cat confdefs.h >>conftest.$ac_ext
100851 cat >>conftest.$ac_ext <<_ACEOF
100852 /* end confdefs.h.  */
100853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100854    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
100855 #define $ac_func innocuous_$ac_func
100856
100857 /* System header to define __stub macros and hopefully few prototypes,
100858     which can conflict with char $ac_func (); below.
100859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100860     <limits.h> exists even on freestanding compilers.  */
100861
100862 #ifdef __STDC__
100863 # include <limits.h>
100864 #else
100865 # include <assert.h>
100866 #endif
100867
100868 #undef $ac_func
100869
100870 /* Override any gcc2 internal prototype to avoid an error.  */
100871 #ifdef __cplusplus
100872 extern "C"
100873 {
100874 #endif
100875 /* We use char because int might match the return type of a gcc2
100876    builtin and then its argument prototype would still apply.  */
100877 char $ac_func ();
100878 /* The GNU C library defines this for functions which it implements
100879     to always fail with ENOSYS.  Some functions are actually named
100880     something starting with __ and the normal name is an alias.  */
100881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100882 choke me
100883 #else
100884 char (*f) () = $ac_func;
100885 #endif
100886 #ifdef __cplusplus
100887 }
100888 #endif
100889
100890 int
100891 main ()
100892 {
100893 return f != $ac_func;
100894   ;
100895   return 0;
100896 }
100897 _ACEOF
100898 rm -f conftest.$ac_objext conftest$ac_exeext
100899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100900   (eval $ac_link) 2>conftest.er1
100901   ac_status=$?
100902   grep -v '^ *+' conftest.er1 >conftest.err
100903   rm -f conftest.er1
100904   cat conftest.err >&5
100905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100906   (exit $ac_status); } &&
100907          { ac_try='test -z "$ac_c_werror_flag"
100908                          || test ! -s conftest.err'
100909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100910   (eval $ac_try) 2>&5
100911   ac_status=$?
100912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100913   (exit $ac_status); }; } &&
100914          { ac_try='test -s conftest$ac_exeext'
100915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100916   (eval $ac_try) 2>&5
100917   ac_status=$?
100918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100919   (exit $ac_status); }; }; then
100920   eval "$as_ac_var=yes"
100921 else
100922   echo "$as_me: failed program was:" >&5
100923 sed 's/^/| /' conftest.$ac_ext >&5
100924
100925 eval "$as_ac_var=no"
100926 fi
100927 rm -f conftest.err conftest.$ac_objext \
100928       conftest$ac_exeext conftest.$ac_ext
100929 fi
100930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100932 if test `eval echo '${'$as_ac_var'}'` = yes; then
100933   cat >>confdefs.h <<_ACEOF
100934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100935 _ACEOF
100936
100937 fi
100938 done
100939
100940   else
100941
100942   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
100943 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
100944   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
100945     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
100946   echo $ECHO_N "(cached) $ECHO_C" >&6
100947 else
100948
100949
100950
100951       ac_ext=cc
100952 ac_cpp='$CXXCPP $CPPFLAGS'
100953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100956
100957       cat >conftest.$ac_ext <<_ACEOF
100958 /* confdefs.h.  */
100959 _ACEOF
100960 cat confdefs.h >>conftest.$ac_ext
100961 cat >>conftest.$ac_ext <<_ACEOF
100962 /* end confdefs.h.  */
100963 #include <math.h>
100964                       #ifdef HAVE_IEEEFP_H
100965                       #include <ieeefp.h>
100966                       #endif
100967
100968 int
100969 main ()
100970 {
100971  _fabsl(0);
100972   ;
100973   return 0;
100974 }
100975 _ACEOF
100976 rm -f conftest.$ac_objext
100977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100978   (eval $ac_compile) 2>conftest.er1
100979   ac_status=$?
100980   grep -v '^ *+' conftest.er1 >conftest.err
100981   rm -f conftest.er1
100982   cat conftest.err >&5
100983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100984   (exit $ac_status); } &&
100985          { ac_try='test -z "$ac_cxx_werror_flag"
100986                          || test ! -s conftest.err'
100987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100988   (eval $ac_try) 2>&5
100989   ac_status=$?
100990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100991   (exit $ac_status); }; } &&
100992          { ac_try='test -s conftest.$ac_objext'
100993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100994   (eval $ac_try) 2>&5
100995   ac_status=$?
100996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
100997   (exit $ac_status); }; }; then
100998   glibcxx_cv_func__fabsl_use=yes
100999 else
101000   echo "$as_me: failed program was:" >&5
101001 sed 's/^/| /' conftest.$ac_ext >&5
101002
101003 glibcxx_cv_func__fabsl_use=no
101004 fi
101005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101006       ac_ext=c
101007 ac_cpp='$CPP $CPPFLAGS'
101008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101011
101012
101013 fi
101014
101015   fi
101016   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
101017 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
101018
101019     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
101020
101021 for ac_func in _fabsl
101022 do
101023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101024 echo "$as_me:$LINENO: checking for $ac_func" >&5
101025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101026 if eval "test \"\${$as_ac_var+set}\" = set"; then
101027   echo $ECHO_N "(cached) $ECHO_C" >&6
101028 else
101029   if test x$gcc_no_link = xyes; then
101030   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101032    { (exit 1); exit 1; }; }
101033 fi
101034 cat >conftest.$ac_ext <<_ACEOF
101035 /* confdefs.h.  */
101036 _ACEOF
101037 cat confdefs.h >>conftest.$ac_ext
101038 cat >>conftest.$ac_ext <<_ACEOF
101039 /* end confdefs.h.  */
101040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101041    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101042 #define $ac_func innocuous_$ac_func
101043
101044 /* System header to define __stub macros and hopefully few prototypes,
101045     which can conflict with char $ac_func (); below.
101046     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101047     <limits.h> exists even on freestanding compilers.  */
101048
101049 #ifdef __STDC__
101050 # include <limits.h>
101051 #else
101052 # include <assert.h>
101053 #endif
101054
101055 #undef $ac_func
101056
101057 /* Override any gcc2 internal prototype to avoid an error.  */
101058 #ifdef __cplusplus
101059 extern "C"
101060 {
101061 #endif
101062 /* We use char because int might match the return type of a gcc2
101063    builtin and then its argument prototype would still apply.  */
101064 char $ac_func ();
101065 /* The GNU C library defines this for functions which it implements
101066     to always fail with ENOSYS.  Some functions are actually named
101067     something starting with __ and the normal name is an alias.  */
101068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101069 choke me
101070 #else
101071 char (*f) () = $ac_func;
101072 #endif
101073 #ifdef __cplusplus
101074 }
101075 #endif
101076
101077 int
101078 main ()
101079 {
101080 return f != $ac_func;
101081   ;
101082   return 0;
101083 }
101084 _ACEOF
101085 rm -f conftest.$ac_objext conftest$ac_exeext
101086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101087   (eval $ac_link) 2>conftest.er1
101088   ac_status=$?
101089   grep -v '^ *+' conftest.er1 >conftest.err
101090   rm -f conftest.er1
101091   cat conftest.err >&5
101092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101093   (exit $ac_status); } &&
101094          { ac_try='test -z "$ac_c_werror_flag"
101095                          || test ! -s conftest.err'
101096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101097   (eval $ac_try) 2>&5
101098   ac_status=$?
101099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101100   (exit $ac_status); }; } &&
101101          { ac_try='test -s conftest$ac_exeext'
101102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101103   (eval $ac_try) 2>&5
101104   ac_status=$?
101105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101106   (exit $ac_status); }; }; then
101107   eval "$as_ac_var=yes"
101108 else
101109   echo "$as_me: failed program was:" >&5
101110 sed 's/^/| /' conftest.$ac_ext >&5
101111
101112 eval "$as_ac_var=no"
101113 fi
101114 rm -f conftest.err conftest.$ac_objext \
101115       conftest$ac_exeext conftest.$ac_ext
101116 fi
101117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101119 if test `eval echo '${'$as_ac_var'}'` = yes; then
101120   cat >>confdefs.h <<_ACEOF
101121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101122 _ACEOF
101123
101124 fi
101125 done
101126
101127     fi
101128   fi
101129
101130
101131
101132
101133
101134
101135   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
101136 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
101137   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
101138     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
101139   echo $ECHO_N "(cached) $ECHO_C" >&6
101140 else
101141
101142
101143
101144       ac_ext=cc
101145 ac_cpp='$CXXCPP $CPPFLAGS'
101146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101149
101150       cat >conftest.$ac_ext <<_ACEOF
101151 /* confdefs.h.  */
101152 _ACEOF
101153 cat confdefs.h >>conftest.$ac_ext
101154 cat >>conftest.$ac_ext <<_ACEOF
101155 /* end confdefs.h.  */
101156 #include <math.h>
101157 int
101158 main ()
101159 {
101160  fmodl(0, 0);
101161   ;
101162   return 0;
101163 }
101164 _ACEOF
101165 rm -f conftest.$ac_objext
101166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101167   (eval $ac_compile) 2>conftest.er1
101168   ac_status=$?
101169   grep -v '^ *+' conftest.er1 >conftest.err
101170   rm -f conftest.er1
101171   cat conftest.err >&5
101172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101173   (exit $ac_status); } &&
101174          { ac_try='test -z "$ac_cxx_werror_flag"
101175                          || test ! -s conftest.err'
101176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101177   (eval $ac_try) 2>&5
101178   ac_status=$?
101179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101180   (exit $ac_status); }; } &&
101181          { ac_try='test -s conftest.$ac_objext'
101182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101183   (eval $ac_try) 2>&5
101184   ac_status=$?
101185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101186   (exit $ac_status); }; }; then
101187   glibcxx_cv_func_fmodl_use=yes
101188 else
101189   echo "$as_me: failed program was:" >&5
101190 sed 's/^/| /' conftest.$ac_ext >&5
101191
101192 glibcxx_cv_func_fmodl_use=no
101193 fi
101194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101195       ac_ext=c
101196 ac_cpp='$CPP $CPPFLAGS'
101197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101200
101201
101202 fi
101203
101204   fi
101205   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
101206 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
101207
101208   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
101209
101210 for ac_func in fmodl
101211 do
101212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101213 echo "$as_me:$LINENO: checking for $ac_func" >&5
101214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101215 if eval "test \"\${$as_ac_var+set}\" = set"; then
101216   echo $ECHO_N "(cached) $ECHO_C" >&6
101217 else
101218   if test x$gcc_no_link = xyes; then
101219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101221    { (exit 1); exit 1; }; }
101222 fi
101223 cat >conftest.$ac_ext <<_ACEOF
101224 /* confdefs.h.  */
101225 _ACEOF
101226 cat confdefs.h >>conftest.$ac_ext
101227 cat >>conftest.$ac_ext <<_ACEOF
101228 /* end confdefs.h.  */
101229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101231 #define $ac_func innocuous_$ac_func
101232
101233 /* System header to define __stub macros and hopefully few prototypes,
101234     which can conflict with char $ac_func (); below.
101235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101236     <limits.h> exists even on freestanding compilers.  */
101237
101238 #ifdef __STDC__
101239 # include <limits.h>
101240 #else
101241 # include <assert.h>
101242 #endif
101243
101244 #undef $ac_func
101245
101246 /* Override any gcc2 internal prototype to avoid an error.  */
101247 #ifdef __cplusplus
101248 extern "C"
101249 {
101250 #endif
101251 /* We use char because int might match the return type of a gcc2
101252    builtin and then its argument prototype would still apply.  */
101253 char $ac_func ();
101254 /* The GNU C library defines this for functions which it implements
101255     to always fail with ENOSYS.  Some functions are actually named
101256     something starting with __ and the normal name is an alias.  */
101257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101258 choke me
101259 #else
101260 char (*f) () = $ac_func;
101261 #endif
101262 #ifdef __cplusplus
101263 }
101264 #endif
101265
101266 int
101267 main ()
101268 {
101269 return f != $ac_func;
101270   ;
101271   return 0;
101272 }
101273 _ACEOF
101274 rm -f conftest.$ac_objext conftest$ac_exeext
101275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101276   (eval $ac_link) 2>conftest.er1
101277   ac_status=$?
101278   grep -v '^ *+' conftest.er1 >conftest.err
101279   rm -f conftest.er1
101280   cat conftest.err >&5
101281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101282   (exit $ac_status); } &&
101283          { ac_try='test -z "$ac_c_werror_flag"
101284                          || test ! -s conftest.err'
101285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101286   (eval $ac_try) 2>&5
101287   ac_status=$?
101288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101289   (exit $ac_status); }; } &&
101290          { ac_try='test -s conftest$ac_exeext'
101291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101292   (eval $ac_try) 2>&5
101293   ac_status=$?
101294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101295   (exit $ac_status); }; }; then
101296   eval "$as_ac_var=yes"
101297 else
101298   echo "$as_me: failed program was:" >&5
101299 sed 's/^/| /' conftest.$ac_ext >&5
101300
101301 eval "$as_ac_var=no"
101302 fi
101303 rm -f conftest.err conftest.$ac_objext \
101304       conftest$ac_exeext conftest.$ac_ext
101305 fi
101306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101308 if test `eval echo '${'$as_ac_var'}'` = yes; then
101309   cat >>confdefs.h <<_ACEOF
101310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101311 _ACEOF
101312
101313 fi
101314 done
101315
101316   else
101317
101318   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
101319 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
101320   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
101321     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
101322   echo $ECHO_N "(cached) $ECHO_C" >&6
101323 else
101324
101325
101326
101327       ac_ext=cc
101328 ac_cpp='$CXXCPP $CPPFLAGS'
101329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101332
101333       cat >conftest.$ac_ext <<_ACEOF
101334 /* confdefs.h.  */
101335 _ACEOF
101336 cat confdefs.h >>conftest.$ac_ext
101337 cat >>conftest.$ac_ext <<_ACEOF
101338 /* end confdefs.h.  */
101339 #include <math.h>
101340 int
101341 main ()
101342 {
101343  _fmodl(0, 0);
101344   ;
101345   return 0;
101346 }
101347 _ACEOF
101348 rm -f conftest.$ac_objext
101349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101350   (eval $ac_compile) 2>conftest.er1
101351   ac_status=$?
101352   grep -v '^ *+' conftest.er1 >conftest.err
101353   rm -f conftest.er1
101354   cat conftest.err >&5
101355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101356   (exit $ac_status); } &&
101357          { ac_try='test -z "$ac_cxx_werror_flag"
101358                          || test ! -s conftest.err'
101359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101360   (eval $ac_try) 2>&5
101361   ac_status=$?
101362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101363   (exit $ac_status); }; } &&
101364          { ac_try='test -s conftest.$ac_objext'
101365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101366   (eval $ac_try) 2>&5
101367   ac_status=$?
101368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101369   (exit $ac_status); }; }; then
101370   glibcxx_cv_func__fmodl_use=yes
101371 else
101372   echo "$as_me: failed program was:" >&5
101373 sed 's/^/| /' conftest.$ac_ext >&5
101374
101375 glibcxx_cv_func__fmodl_use=no
101376 fi
101377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101378       ac_ext=c
101379 ac_cpp='$CPP $CPPFLAGS'
101380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101383
101384
101385 fi
101386
101387   fi
101388   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
101389 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
101390
101391     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
101392
101393 for ac_func in _fmodl
101394 do
101395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101396 echo "$as_me:$LINENO: checking for $ac_func" >&5
101397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101398 if eval "test \"\${$as_ac_var+set}\" = set"; then
101399   echo $ECHO_N "(cached) $ECHO_C" >&6
101400 else
101401   if test x$gcc_no_link = xyes; then
101402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101404    { (exit 1); exit 1; }; }
101405 fi
101406 cat >conftest.$ac_ext <<_ACEOF
101407 /* confdefs.h.  */
101408 _ACEOF
101409 cat confdefs.h >>conftest.$ac_ext
101410 cat >>conftest.$ac_ext <<_ACEOF
101411 /* end confdefs.h.  */
101412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101413    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101414 #define $ac_func innocuous_$ac_func
101415
101416 /* System header to define __stub macros and hopefully few prototypes,
101417     which can conflict with char $ac_func (); below.
101418     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101419     <limits.h> exists even on freestanding compilers.  */
101420
101421 #ifdef __STDC__
101422 # include <limits.h>
101423 #else
101424 # include <assert.h>
101425 #endif
101426
101427 #undef $ac_func
101428
101429 /* Override any gcc2 internal prototype to avoid an error.  */
101430 #ifdef __cplusplus
101431 extern "C"
101432 {
101433 #endif
101434 /* We use char because int might match the return type of a gcc2
101435    builtin and then its argument prototype would still apply.  */
101436 char $ac_func ();
101437 /* The GNU C library defines this for functions which it implements
101438     to always fail with ENOSYS.  Some functions are actually named
101439     something starting with __ and the normal name is an alias.  */
101440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101441 choke me
101442 #else
101443 char (*f) () = $ac_func;
101444 #endif
101445 #ifdef __cplusplus
101446 }
101447 #endif
101448
101449 int
101450 main ()
101451 {
101452 return f != $ac_func;
101453   ;
101454   return 0;
101455 }
101456 _ACEOF
101457 rm -f conftest.$ac_objext conftest$ac_exeext
101458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101459   (eval $ac_link) 2>conftest.er1
101460   ac_status=$?
101461   grep -v '^ *+' conftest.er1 >conftest.err
101462   rm -f conftest.er1
101463   cat conftest.err >&5
101464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101465   (exit $ac_status); } &&
101466          { ac_try='test -z "$ac_c_werror_flag"
101467                          || test ! -s conftest.err'
101468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101469   (eval $ac_try) 2>&5
101470   ac_status=$?
101471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101472   (exit $ac_status); }; } &&
101473          { ac_try='test -s conftest$ac_exeext'
101474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101475   (eval $ac_try) 2>&5
101476   ac_status=$?
101477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101478   (exit $ac_status); }; }; then
101479   eval "$as_ac_var=yes"
101480 else
101481   echo "$as_me: failed program was:" >&5
101482 sed 's/^/| /' conftest.$ac_ext >&5
101483
101484 eval "$as_ac_var=no"
101485 fi
101486 rm -f conftest.err conftest.$ac_objext \
101487       conftest$ac_exeext conftest.$ac_ext
101488 fi
101489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101491 if test `eval echo '${'$as_ac_var'}'` = yes; then
101492   cat >>confdefs.h <<_ACEOF
101493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101494 _ACEOF
101495
101496 fi
101497 done
101498
101499     fi
101500   fi
101501
101502
101503
101504
101505
101506
101507   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
101508 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
101509   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
101510     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
101511   echo $ECHO_N "(cached) $ECHO_C" >&6
101512 else
101513
101514
101515
101516       ac_ext=cc
101517 ac_cpp='$CXXCPP $CPPFLAGS'
101518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101521
101522       cat >conftest.$ac_ext <<_ACEOF
101523 /* confdefs.h.  */
101524 _ACEOF
101525 cat confdefs.h >>conftest.$ac_ext
101526 cat >>conftest.$ac_ext <<_ACEOF
101527 /* end confdefs.h.  */
101528 #include <math.h>
101529 int
101530 main ()
101531 {
101532  frexpl(0, 0);
101533   ;
101534   return 0;
101535 }
101536 _ACEOF
101537 rm -f conftest.$ac_objext
101538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101539   (eval $ac_compile) 2>conftest.er1
101540   ac_status=$?
101541   grep -v '^ *+' conftest.er1 >conftest.err
101542   rm -f conftest.er1
101543   cat conftest.err >&5
101544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101545   (exit $ac_status); } &&
101546          { ac_try='test -z "$ac_cxx_werror_flag"
101547                          || test ! -s conftest.err'
101548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101549   (eval $ac_try) 2>&5
101550   ac_status=$?
101551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101552   (exit $ac_status); }; } &&
101553          { ac_try='test -s conftest.$ac_objext'
101554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101555   (eval $ac_try) 2>&5
101556   ac_status=$?
101557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101558   (exit $ac_status); }; }; then
101559   glibcxx_cv_func_frexpl_use=yes
101560 else
101561   echo "$as_me: failed program was:" >&5
101562 sed 's/^/| /' conftest.$ac_ext >&5
101563
101564 glibcxx_cv_func_frexpl_use=no
101565 fi
101566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101567       ac_ext=c
101568 ac_cpp='$CPP $CPPFLAGS'
101569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101572
101573
101574 fi
101575
101576   fi
101577   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
101578 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
101579
101580   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
101581
101582 for ac_func in frexpl
101583 do
101584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101585 echo "$as_me:$LINENO: checking for $ac_func" >&5
101586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101587 if eval "test \"\${$as_ac_var+set}\" = set"; then
101588   echo $ECHO_N "(cached) $ECHO_C" >&6
101589 else
101590   if test x$gcc_no_link = xyes; then
101591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101593    { (exit 1); exit 1; }; }
101594 fi
101595 cat >conftest.$ac_ext <<_ACEOF
101596 /* confdefs.h.  */
101597 _ACEOF
101598 cat confdefs.h >>conftest.$ac_ext
101599 cat >>conftest.$ac_ext <<_ACEOF
101600 /* end confdefs.h.  */
101601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101603 #define $ac_func innocuous_$ac_func
101604
101605 /* System header to define __stub macros and hopefully few prototypes,
101606     which can conflict with char $ac_func (); below.
101607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101608     <limits.h> exists even on freestanding compilers.  */
101609
101610 #ifdef __STDC__
101611 # include <limits.h>
101612 #else
101613 # include <assert.h>
101614 #endif
101615
101616 #undef $ac_func
101617
101618 /* Override any gcc2 internal prototype to avoid an error.  */
101619 #ifdef __cplusplus
101620 extern "C"
101621 {
101622 #endif
101623 /* We use char because int might match the return type of a gcc2
101624    builtin and then its argument prototype would still apply.  */
101625 char $ac_func ();
101626 /* The GNU C library defines this for functions which it implements
101627     to always fail with ENOSYS.  Some functions are actually named
101628     something starting with __ and the normal name is an alias.  */
101629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101630 choke me
101631 #else
101632 char (*f) () = $ac_func;
101633 #endif
101634 #ifdef __cplusplus
101635 }
101636 #endif
101637
101638 int
101639 main ()
101640 {
101641 return f != $ac_func;
101642   ;
101643   return 0;
101644 }
101645 _ACEOF
101646 rm -f conftest.$ac_objext conftest$ac_exeext
101647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101648   (eval $ac_link) 2>conftest.er1
101649   ac_status=$?
101650   grep -v '^ *+' conftest.er1 >conftest.err
101651   rm -f conftest.er1
101652   cat conftest.err >&5
101653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101654   (exit $ac_status); } &&
101655          { ac_try='test -z "$ac_c_werror_flag"
101656                          || test ! -s conftest.err'
101657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101658   (eval $ac_try) 2>&5
101659   ac_status=$?
101660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101661   (exit $ac_status); }; } &&
101662          { ac_try='test -s conftest$ac_exeext'
101663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101664   (eval $ac_try) 2>&5
101665   ac_status=$?
101666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101667   (exit $ac_status); }; }; then
101668   eval "$as_ac_var=yes"
101669 else
101670   echo "$as_me: failed program was:" >&5
101671 sed 's/^/| /' conftest.$ac_ext >&5
101672
101673 eval "$as_ac_var=no"
101674 fi
101675 rm -f conftest.err conftest.$ac_objext \
101676       conftest$ac_exeext conftest.$ac_ext
101677 fi
101678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101680 if test `eval echo '${'$as_ac_var'}'` = yes; then
101681   cat >>confdefs.h <<_ACEOF
101682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101683 _ACEOF
101684
101685 fi
101686 done
101687
101688   else
101689
101690   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
101691 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
101692   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
101693     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
101694   echo $ECHO_N "(cached) $ECHO_C" >&6
101695 else
101696
101697
101698
101699       ac_ext=cc
101700 ac_cpp='$CXXCPP $CPPFLAGS'
101701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101704
101705       cat >conftest.$ac_ext <<_ACEOF
101706 /* confdefs.h.  */
101707 _ACEOF
101708 cat confdefs.h >>conftest.$ac_ext
101709 cat >>conftest.$ac_ext <<_ACEOF
101710 /* end confdefs.h.  */
101711 #include <math.h>
101712 int
101713 main ()
101714 {
101715  _frexpl(0, 0);
101716   ;
101717   return 0;
101718 }
101719 _ACEOF
101720 rm -f conftest.$ac_objext
101721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101722   (eval $ac_compile) 2>conftest.er1
101723   ac_status=$?
101724   grep -v '^ *+' conftest.er1 >conftest.err
101725   rm -f conftest.er1
101726   cat conftest.err >&5
101727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101728   (exit $ac_status); } &&
101729          { ac_try='test -z "$ac_cxx_werror_flag"
101730                          || test ! -s conftest.err'
101731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101732   (eval $ac_try) 2>&5
101733   ac_status=$?
101734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101735   (exit $ac_status); }; } &&
101736          { ac_try='test -s conftest.$ac_objext'
101737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101738   (eval $ac_try) 2>&5
101739   ac_status=$?
101740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101741   (exit $ac_status); }; }; then
101742   glibcxx_cv_func__frexpl_use=yes
101743 else
101744   echo "$as_me: failed program was:" >&5
101745 sed 's/^/| /' conftest.$ac_ext >&5
101746
101747 glibcxx_cv_func__frexpl_use=no
101748 fi
101749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101750       ac_ext=c
101751 ac_cpp='$CPP $CPPFLAGS'
101752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101755
101756
101757 fi
101758
101759   fi
101760   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
101761 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
101762
101763     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
101764
101765 for ac_func in _frexpl
101766 do
101767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101768 echo "$as_me:$LINENO: checking for $ac_func" >&5
101769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101770 if eval "test \"\${$as_ac_var+set}\" = set"; then
101771   echo $ECHO_N "(cached) $ECHO_C" >&6
101772 else
101773   if test x$gcc_no_link = xyes; then
101774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101776    { (exit 1); exit 1; }; }
101777 fi
101778 cat >conftest.$ac_ext <<_ACEOF
101779 /* confdefs.h.  */
101780 _ACEOF
101781 cat confdefs.h >>conftest.$ac_ext
101782 cat >>conftest.$ac_ext <<_ACEOF
101783 /* end confdefs.h.  */
101784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101785    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101786 #define $ac_func innocuous_$ac_func
101787
101788 /* System header to define __stub macros and hopefully few prototypes,
101789     which can conflict with char $ac_func (); below.
101790     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101791     <limits.h> exists even on freestanding compilers.  */
101792
101793 #ifdef __STDC__
101794 # include <limits.h>
101795 #else
101796 # include <assert.h>
101797 #endif
101798
101799 #undef $ac_func
101800
101801 /* Override any gcc2 internal prototype to avoid an error.  */
101802 #ifdef __cplusplus
101803 extern "C"
101804 {
101805 #endif
101806 /* We use char because int might match the return type of a gcc2
101807    builtin and then its argument prototype would still apply.  */
101808 char $ac_func ();
101809 /* The GNU C library defines this for functions which it implements
101810     to always fail with ENOSYS.  Some functions are actually named
101811     something starting with __ and the normal name is an alias.  */
101812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101813 choke me
101814 #else
101815 char (*f) () = $ac_func;
101816 #endif
101817 #ifdef __cplusplus
101818 }
101819 #endif
101820
101821 int
101822 main ()
101823 {
101824 return f != $ac_func;
101825   ;
101826   return 0;
101827 }
101828 _ACEOF
101829 rm -f conftest.$ac_objext conftest$ac_exeext
101830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101831   (eval $ac_link) 2>conftest.er1
101832   ac_status=$?
101833   grep -v '^ *+' conftest.er1 >conftest.err
101834   rm -f conftest.er1
101835   cat conftest.err >&5
101836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101837   (exit $ac_status); } &&
101838          { ac_try='test -z "$ac_c_werror_flag"
101839                          || test ! -s conftest.err'
101840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101841   (eval $ac_try) 2>&5
101842   ac_status=$?
101843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101844   (exit $ac_status); }; } &&
101845          { ac_try='test -s conftest$ac_exeext'
101846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101847   (eval $ac_try) 2>&5
101848   ac_status=$?
101849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101850   (exit $ac_status); }; }; then
101851   eval "$as_ac_var=yes"
101852 else
101853   echo "$as_me: failed program was:" >&5
101854 sed 's/^/| /' conftest.$ac_ext >&5
101855
101856 eval "$as_ac_var=no"
101857 fi
101858 rm -f conftest.err conftest.$ac_objext \
101859       conftest$ac_exeext conftest.$ac_ext
101860 fi
101861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101863 if test `eval echo '${'$as_ac_var'}'` = yes; then
101864   cat >>confdefs.h <<_ACEOF
101865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101866 _ACEOF
101867
101868 fi
101869 done
101870
101871     fi
101872   fi
101873
101874
101875
101876
101877
101878
101879   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
101880 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
101881   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
101882     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
101883   echo $ECHO_N "(cached) $ECHO_C" >&6
101884 else
101885
101886
101887
101888       ac_ext=cc
101889 ac_cpp='$CXXCPP $CPPFLAGS'
101890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101893
101894       cat >conftest.$ac_ext <<_ACEOF
101895 /* confdefs.h.  */
101896 _ACEOF
101897 cat confdefs.h >>conftest.$ac_ext
101898 cat >>conftest.$ac_ext <<_ACEOF
101899 /* end confdefs.h.  */
101900 #include <math.h>
101901 int
101902 main ()
101903 {
101904  hypotl(0, 0);
101905   ;
101906   return 0;
101907 }
101908 _ACEOF
101909 rm -f conftest.$ac_objext
101910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101911   (eval $ac_compile) 2>conftest.er1
101912   ac_status=$?
101913   grep -v '^ *+' conftest.er1 >conftest.err
101914   rm -f conftest.er1
101915   cat conftest.err >&5
101916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101917   (exit $ac_status); } &&
101918          { ac_try='test -z "$ac_cxx_werror_flag"
101919                          || test ! -s conftest.err'
101920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101921   (eval $ac_try) 2>&5
101922   ac_status=$?
101923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101924   (exit $ac_status); }; } &&
101925          { ac_try='test -s conftest.$ac_objext'
101926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101927   (eval $ac_try) 2>&5
101928   ac_status=$?
101929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
101930   (exit $ac_status); }; }; then
101931   glibcxx_cv_func_hypotl_use=yes
101932 else
101933   echo "$as_me: failed program was:" >&5
101934 sed 's/^/| /' conftest.$ac_ext >&5
101935
101936 glibcxx_cv_func_hypotl_use=no
101937 fi
101938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101939       ac_ext=c
101940 ac_cpp='$CPP $CPPFLAGS'
101941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101944
101945
101946 fi
101947
101948   fi
101949   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
101950 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
101951
101952   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
101953
101954 for ac_func in hypotl
101955 do
101956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101957 echo "$as_me:$LINENO: checking for $ac_func" >&5
101958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101959 if eval "test \"\${$as_ac_var+set}\" = set"; then
101960   echo $ECHO_N "(cached) $ECHO_C" >&6
101961 else
101962   if test x$gcc_no_link = xyes; then
101963   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101965    { (exit 1); exit 1; }; }
101966 fi
101967 cat >conftest.$ac_ext <<_ACEOF
101968 /* confdefs.h.  */
101969 _ACEOF
101970 cat confdefs.h >>conftest.$ac_ext
101971 cat >>conftest.$ac_ext <<_ACEOF
101972 /* end confdefs.h.  */
101973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101974    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
101975 #define $ac_func innocuous_$ac_func
101976
101977 /* System header to define __stub macros and hopefully few prototypes,
101978     which can conflict with char $ac_func (); below.
101979     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101980     <limits.h> exists even on freestanding compilers.  */
101981
101982 #ifdef __STDC__
101983 # include <limits.h>
101984 #else
101985 # include <assert.h>
101986 #endif
101987
101988 #undef $ac_func
101989
101990 /* Override any gcc2 internal prototype to avoid an error.  */
101991 #ifdef __cplusplus
101992 extern "C"
101993 {
101994 #endif
101995 /* We use char because int might match the return type of a gcc2
101996    builtin and then its argument prototype would still apply.  */
101997 char $ac_func ();
101998 /* The GNU C library defines this for functions which it implements
101999     to always fail with ENOSYS.  Some functions are actually named
102000     something starting with __ and the normal name is an alias.  */
102001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102002 choke me
102003 #else
102004 char (*f) () = $ac_func;
102005 #endif
102006 #ifdef __cplusplus
102007 }
102008 #endif
102009
102010 int
102011 main ()
102012 {
102013 return f != $ac_func;
102014   ;
102015   return 0;
102016 }
102017 _ACEOF
102018 rm -f conftest.$ac_objext conftest$ac_exeext
102019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102020   (eval $ac_link) 2>conftest.er1
102021   ac_status=$?
102022   grep -v '^ *+' conftest.er1 >conftest.err
102023   rm -f conftest.er1
102024   cat conftest.err >&5
102025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102026   (exit $ac_status); } &&
102027          { ac_try='test -z "$ac_c_werror_flag"
102028                          || test ! -s conftest.err'
102029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102030   (eval $ac_try) 2>&5
102031   ac_status=$?
102032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102033   (exit $ac_status); }; } &&
102034          { ac_try='test -s conftest$ac_exeext'
102035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102036   (eval $ac_try) 2>&5
102037   ac_status=$?
102038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102039   (exit $ac_status); }; }; then
102040   eval "$as_ac_var=yes"
102041 else
102042   echo "$as_me: failed program was:" >&5
102043 sed 's/^/| /' conftest.$ac_ext >&5
102044
102045 eval "$as_ac_var=no"
102046 fi
102047 rm -f conftest.err conftest.$ac_objext \
102048       conftest$ac_exeext conftest.$ac_ext
102049 fi
102050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102052 if test `eval echo '${'$as_ac_var'}'` = yes; then
102053   cat >>confdefs.h <<_ACEOF
102054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102055 _ACEOF
102056
102057 fi
102058 done
102059
102060   else
102061
102062   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
102063 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
102064   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
102065     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
102066   echo $ECHO_N "(cached) $ECHO_C" >&6
102067 else
102068
102069
102070
102071       ac_ext=cc
102072 ac_cpp='$CXXCPP $CPPFLAGS'
102073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102076
102077       cat >conftest.$ac_ext <<_ACEOF
102078 /* confdefs.h.  */
102079 _ACEOF
102080 cat confdefs.h >>conftest.$ac_ext
102081 cat >>conftest.$ac_ext <<_ACEOF
102082 /* end confdefs.h.  */
102083 #include <math.h>
102084 int
102085 main ()
102086 {
102087  _hypotl(0, 0);
102088   ;
102089   return 0;
102090 }
102091 _ACEOF
102092 rm -f conftest.$ac_objext
102093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102094   (eval $ac_compile) 2>conftest.er1
102095   ac_status=$?
102096   grep -v '^ *+' conftest.er1 >conftest.err
102097   rm -f conftest.er1
102098   cat conftest.err >&5
102099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102100   (exit $ac_status); } &&
102101          { ac_try='test -z "$ac_cxx_werror_flag"
102102                          || test ! -s conftest.err'
102103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102104   (eval $ac_try) 2>&5
102105   ac_status=$?
102106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102107   (exit $ac_status); }; } &&
102108          { ac_try='test -s conftest.$ac_objext'
102109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102110   (eval $ac_try) 2>&5
102111   ac_status=$?
102112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102113   (exit $ac_status); }; }; then
102114   glibcxx_cv_func__hypotl_use=yes
102115 else
102116   echo "$as_me: failed program was:" >&5
102117 sed 's/^/| /' conftest.$ac_ext >&5
102118
102119 glibcxx_cv_func__hypotl_use=no
102120 fi
102121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102122       ac_ext=c
102123 ac_cpp='$CPP $CPPFLAGS'
102124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102127
102128
102129 fi
102130
102131   fi
102132   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
102133 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
102134
102135     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
102136
102137 for ac_func in _hypotl
102138 do
102139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102140 echo "$as_me:$LINENO: checking for $ac_func" >&5
102141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102142 if eval "test \"\${$as_ac_var+set}\" = set"; then
102143   echo $ECHO_N "(cached) $ECHO_C" >&6
102144 else
102145   if test x$gcc_no_link = xyes; then
102146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102148    { (exit 1); exit 1; }; }
102149 fi
102150 cat >conftest.$ac_ext <<_ACEOF
102151 /* confdefs.h.  */
102152 _ACEOF
102153 cat confdefs.h >>conftest.$ac_ext
102154 cat >>conftest.$ac_ext <<_ACEOF
102155 /* end confdefs.h.  */
102156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102157    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102158 #define $ac_func innocuous_$ac_func
102159
102160 /* System header to define __stub macros and hopefully few prototypes,
102161     which can conflict with char $ac_func (); below.
102162     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102163     <limits.h> exists even on freestanding compilers.  */
102164
102165 #ifdef __STDC__
102166 # include <limits.h>
102167 #else
102168 # include <assert.h>
102169 #endif
102170
102171 #undef $ac_func
102172
102173 /* Override any gcc2 internal prototype to avoid an error.  */
102174 #ifdef __cplusplus
102175 extern "C"
102176 {
102177 #endif
102178 /* We use char because int might match the return type of a gcc2
102179    builtin and then its argument prototype would still apply.  */
102180 char $ac_func ();
102181 /* The GNU C library defines this for functions which it implements
102182     to always fail with ENOSYS.  Some functions are actually named
102183     something starting with __ and the normal name is an alias.  */
102184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102185 choke me
102186 #else
102187 char (*f) () = $ac_func;
102188 #endif
102189 #ifdef __cplusplus
102190 }
102191 #endif
102192
102193 int
102194 main ()
102195 {
102196 return f != $ac_func;
102197   ;
102198   return 0;
102199 }
102200 _ACEOF
102201 rm -f conftest.$ac_objext conftest$ac_exeext
102202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102203   (eval $ac_link) 2>conftest.er1
102204   ac_status=$?
102205   grep -v '^ *+' conftest.er1 >conftest.err
102206   rm -f conftest.er1
102207   cat conftest.err >&5
102208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102209   (exit $ac_status); } &&
102210          { ac_try='test -z "$ac_c_werror_flag"
102211                          || test ! -s conftest.err'
102212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102213   (eval $ac_try) 2>&5
102214   ac_status=$?
102215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102216   (exit $ac_status); }; } &&
102217          { ac_try='test -s conftest$ac_exeext'
102218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102219   (eval $ac_try) 2>&5
102220   ac_status=$?
102221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102222   (exit $ac_status); }; }; then
102223   eval "$as_ac_var=yes"
102224 else
102225   echo "$as_me: failed program was:" >&5
102226 sed 's/^/| /' conftest.$ac_ext >&5
102227
102228 eval "$as_ac_var=no"
102229 fi
102230 rm -f conftest.err conftest.$ac_objext \
102231       conftest$ac_exeext conftest.$ac_ext
102232 fi
102233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102235 if test `eval echo '${'$as_ac_var'}'` = yes; then
102236   cat >>confdefs.h <<_ACEOF
102237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102238 _ACEOF
102239
102240 fi
102241 done
102242
102243     fi
102244   fi
102245
102246
102247
102248
102249
102250
102251   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
102252 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
102253   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
102254     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
102255   echo $ECHO_N "(cached) $ECHO_C" >&6
102256 else
102257
102258
102259
102260       ac_ext=cc
102261 ac_cpp='$CXXCPP $CPPFLAGS'
102262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102265
102266       cat >conftest.$ac_ext <<_ACEOF
102267 /* confdefs.h.  */
102268 _ACEOF
102269 cat confdefs.h >>conftest.$ac_ext
102270 cat >>conftest.$ac_ext <<_ACEOF
102271 /* end confdefs.h.  */
102272 #include <math.h>
102273 int
102274 main ()
102275 {
102276  ldexpl(0, 0);
102277   ;
102278   return 0;
102279 }
102280 _ACEOF
102281 rm -f conftest.$ac_objext
102282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102283   (eval $ac_compile) 2>conftest.er1
102284   ac_status=$?
102285   grep -v '^ *+' conftest.er1 >conftest.err
102286   rm -f conftest.er1
102287   cat conftest.err >&5
102288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102289   (exit $ac_status); } &&
102290          { ac_try='test -z "$ac_cxx_werror_flag"
102291                          || test ! -s conftest.err'
102292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102293   (eval $ac_try) 2>&5
102294   ac_status=$?
102295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102296   (exit $ac_status); }; } &&
102297          { ac_try='test -s conftest.$ac_objext'
102298   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102299   (eval $ac_try) 2>&5
102300   ac_status=$?
102301   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102302   (exit $ac_status); }; }; then
102303   glibcxx_cv_func_ldexpl_use=yes
102304 else
102305   echo "$as_me: failed program was:" >&5
102306 sed 's/^/| /' conftest.$ac_ext >&5
102307
102308 glibcxx_cv_func_ldexpl_use=no
102309 fi
102310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102311       ac_ext=c
102312 ac_cpp='$CPP $CPPFLAGS'
102313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102316
102317
102318 fi
102319
102320   fi
102321   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
102322 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
102323
102324   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
102325
102326 for ac_func in ldexpl
102327 do
102328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102329 echo "$as_me:$LINENO: checking for $ac_func" >&5
102330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102331 if eval "test \"\${$as_ac_var+set}\" = set"; then
102332   echo $ECHO_N "(cached) $ECHO_C" >&6
102333 else
102334   if test x$gcc_no_link = xyes; then
102335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102337    { (exit 1); exit 1; }; }
102338 fi
102339 cat >conftest.$ac_ext <<_ACEOF
102340 /* confdefs.h.  */
102341 _ACEOF
102342 cat confdefs.h >>conftest.$ac_ext
102343 cat >>conftest.$ac_ext <<_ACEOF
102344 /* end confdefs.h.  */
102345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102346    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102347 #define $ac_func innocuous_$ac_func
102348
102349 /* System header to define __stub macros and hopefully few prototypes,
102350     which can conflict with char $ac_func (); below.
102351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102352     <limits.h> exists even on freestanding compilers.  */
102353
102354 #ifdef __STDC__
102355 # include <limits.h>
102356 #else
102357 # include <assert.h>
102358 #endif
102359
102360 #undef $ac_func
102361
102362 /* Override any gcc2 internal prototype to avoid an error.  */
102363 #ifdef __cplusplus
102364 extern "C"
102365 {
102366 #endif
102367 /* We use char because int might match the return type of a gcc2
102368    builtin and then its argument prototype would still apply.  */
102369 char $ac_func ();
102370 /* The GNU C library defines this for functions which it implements
102371     to always fail with ENOSYS.  Some functions are actually named
102372     something starting with __ and the normal name is an alias.  */
102373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102374 choke me
102375 #else
102376 char (*f) () = $ac_func;
102377 #endif
102378 #ifdef __cplusplus
102379 }
102380 #endif
102381
102382 int
102383 main ()
102384 {
102385 return f != $ac_func;
102386   ;
102387   return 0;
102388 }
102389 _ACEOF
102390 rm -f conftest.$ac_objext conftest$ac_exeext
102391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102392   (eval $ac_link) 2>conftest.er1
102393   ac_status=$?
102394   grep -v '^ *+' conftest.er1 >conftest.err
102395   rm -f conftest.er1
102396   cat conftest.err >&5
102397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102398   (exit $ac_status); } &&
102399          { ac_try='test -z "$ac_c_werror_flag"
102400                          || test ! -s conftest.err'
102401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102402   (eval $ac_try) 2>&5
102403   ac_status=$?
102404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102405   (exit $ac_status); }; } &&
102406          { ac_try='test -s conftest$ac_exeext'
102407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102408   (eval $ac_try) 2>&5
102409   ac_status=$?
102410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102411   (exit $ac_status); }; }; then
102412   eval "$as_ac_var=yes"
102413 else
102414   echo "$as_me: failed program was:" >&5
102415 sed 's/^/| /' conftest.$ac_ext >&5
102416
102417 eval "$as_ac_var=no"
102418 fi
102419 rm -f conftest.err conftest.$ac_objext \
102420       conftest$ac_exeext conftest.$ac_ext
102421 fi
102422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102424 if test `eval echo '${'$as_ac_var'}'` = yes; then
102425   cat >>confdefs.h <<_ACEOF
102426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102427 _ACEOF
102428
102429 fi
102430 done
102431
102432   else
102433
102434   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
102435 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
102436   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
102437     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
102438   echo $ECHO_N "(cached) $ECHO_C" >&6
102439 else
102440
102441
102442
102443       ac_ext=cc
102444 ac_cpp='$CXXCPP $CPPFLAGS'
102445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102448
102449       cat >conftest.$ac_ext <<_ACEOF
102450 /* confdefs.h.  */
102451 _ACEOF
102452 cat confdefs.h >>conftest.$ac_ext
102453 cat >>conftest.$ac_ext <<_ACEOF
102454 /* end confdefs.h.  */
102455 #include <math.h>
102456 int
102457 main ()
102458 {
102459  _ldexpl(0, 0);
102460   ;
102461   return 0;
102462 }
102463 _ACEOF
102464 rm -f conftest.$ac_objext
102465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102466   (eval $ac_compile) 2>conftest.er1
102467   ac_status=$?
102468   grep -v '^ *+' conftest.er1 >conftest.err
102469   rm -f conftest.er1
102470   cat conftest.err >&5
102471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102472   (exit $ac_status); } &&
102473          { ac_try='test -z "$ac_cxx_werror_flag"
102474                          || test ! -s conftest.err'
102475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102476   (eval $ac_try) 2>&5
102477   ac_status=$?
102478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102479   (exit $ac_status); }; } &&
102480          { ac_try='test -s conftest.$ac_objext'
102481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102482   (eval $ac_try) 2>&5
102483   ac_status=$?
102484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102485   (exit $ac_status); }; }; then
102486   glibcxx_cv_func__ldexpl_use=yes
102487 else
102488   echo "$as_me: failed program was:" >&5
102489 sed 's/^/| /' conftest.$ac_ext >&5
102490
102491 glibcxx_cv_func__ldexpl_use=no
102492 fi
102493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102494       ac_ext=c
102495 ac_cpp='$CPP $CPPFLAGS'
102496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102499
102500
102501 fi
102502
102503   fi
102504   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
102505 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
102506
102507     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
102508
102509 for ac_func in _ldexpl
102510 do
102511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102512 echo "$as_me:$LINENO: checking for $ac_func" >&5
102513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102514 if eval "test \"\${$as_ac_var+set}\" = set"; then
102515   echo $ECHO_N "(cached) $ECHO_C" >&6
102516 else
102517   if test x$gcc_no_link = xyes; then
102518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102520    { (exit 1); exit 1; }; }
102521 fi
102522 cat >conftest.$ac_ext <<_ACEOF
102523 /* confdefs.h.  */
102524 _ACEOF
102525 cat confdefs.h >>conftest.$ac_ext
102526 cat >>conftest.$ac_ext <<_ACEOF
102527 /* end confdefs.h.  */
102528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102530 #define $ac_func innocuous_$ac_func
102531
102532 /* System header to define __stub macros and hopefully few prototypes,
102533     which can conflict with char $ac_func (); below.
102534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102535     <limits.h> exists even on freestanding compilers.  */
102536
102537 #ifdef __STDC__
102538 # include <limits.h>
102539 #else
102540 # include <assert.h>
102541 #endif
102542
102543 #undef $ac_func
102544
102545 /* Override any gcc2 internal prototype to avoid an error.  */
102546 #ifdef __cplusplus
102547 extern "C"
102548 {
102549 #endif
102550 /* We use char because int might match the return type of a gcc2
102551    builtin and then its argument prototype would still apply.  */
102552 char $ac_func ();
102553 /* The GNU C library defines this for functions which it implements
102554     to always fail with ENOSYS.  Some functions are actually named
102555     something starting with __ and the normal name is an alias.  */
102556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102557 choke me
102558 #else
102559 char (*f) () = $ac_func;
102560 #endif
102561 #ifdef __cplusplus
102562 }
102563 #endif
102564
102565 int
102566 main ()
102567 {
102568 return f != $ac_func;
102569   ;
102570   return 0;
102571 }
102572 _ACEOF
102573 rm -f conftest.$ac_objext conftest$ac_exeext
102574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102575   (eval $ac_link) 2>conftest.er1
102576   ac_status=$?
102577   grep -v '^ *+' conftest.er1 >conftest.err
102578   rm -f conftest.er1
102579   cat conftest.err >&5
102580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102581   (exit $ac_status); } &&
102582          { ac_try='test -z "$ac_c_werror_flag"
102583                          || test ! -s conftest.err'
102584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102585   (eval $ac_try) 2>&5
102586   ac_status=$?
102587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102588   (exit $ac_status); }; } &&
102589          { ac_try='test -s conftest$ac_exeext'
102590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102591   (eval $ac_try) 2>&5
102592   ac_status=$?
102593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102594   (exit $ac_status); }; }; then
102595   eval "$as_ac_var=yes"
102596 else
102597   echo "$as_me: failed program was:" >&5
102598 sed 's/^/| /' conftest.$ac_ext >&5
102599
102600 eval "$as_ac_var=no"
102601 fi
102602 rm -f conftest.err conftest.$ac_objext \
102603       conftest$ac_exeext conftest.$ac_ext
102604 fi
102605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102607 if test `eval echo '${'$as_ac_var'}'` = yes; then
102608   cat >>confdefs.h <<_ACEOF
102609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102610 _ACEOF
102611
102612 fi
102613 done
102614
102615     fi
102616   fi
102617
102618
102619
102620
102621
102622
102623   echo "$as_me:$LINENO: checking for logl declaration" >&5
102624 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
102625   if test x${glibcxx_cv_func_logl_use+set} != xset; then
102626     if test "${glibcxx_cv_func_logl_use+set}" = set; then
102627   echo $ECHO_N "(cached) $ECHO_C" >&6
102628 else
102629
102630
102631
102632       ac_ext=cc
102633 ac_cpp='$CXXCPP $CPPFLAGS'
102634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102637
102638       cat >conftest.$ac_ext <<_ACEOF
102639 /* confdefs.h.  */
102640 _ACEOF
102641 cat confdefs.h >>conftest.$ac_ext
102642 cat >>conftest.$ac_ext <<_ACEOF
102643 /* end confdefs.h.  */
102644 #include <math.h>
102645                       #ifdef HAVE_IEEEFP_H
102646                       #include <ieeefp.h>
102647                       #endif
102648
102649 int
102650 main ()
102651 {
102652  logl(0);
102653   ;
102654   return 0;
102655 }
102656 _ACEOF
102657 rm -f conftest.$ac_objext
102658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102659   (eval $ac_compile) 2>conftest.er1
102660   ac_status=$?
102661   grep -v '^ *+' conftest.er1 >conftest.err
102662   rm -f conftest.er1
102663   cat conftest.err >&5
102664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102665   (exit $ac_status); } &&
102666          { ac_try='test -z "$ac_cxx_werror_flag"
102667                          || test ! -s conftest.err'
102668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102669   (eval $ac_try) 2>&5
102670   ac_status=$?
102671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102672   (exit $ac_status); }; } &&
102673          { ac_try='test -s conftest.$ac_objext'
102674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102675   (eval $ac_try) 2>&5
102676   ac_status=$?
102677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102678   (exit $ac_status); }; }; then
102679   glibcxx_cv_func_logl_use=yes
102680 else
102681   echo "$as_me: failed program was:" >&5
102682 sed 's/^/| /' conftest.$ac_ext >&5
102683
102684 glibcxx_cv_func_logl_use=no
102685 fi
102686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102687       ac_ext=c
102688 ac_cpp='$CPP $CPPFLAGS'
102689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102692
102693
102694 fi
102695
102696   fi
102697   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
102698 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
102699
102700   if test x$glibcxx_cv_func_logl_use = x"yes"; then
102701
102702 for ac_func in logl
102703 do
102704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102705 echo "$as_me:$LINENO: checking for $ac_func" >&5
102706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102707 if eval "test \"\${$as_ac_var+set}\" = set"; then
102708   echo $ECHO_N "(cached) $ECHO_C" >&6
102709 else
102710   if test x$gcc_no_link = xyes; then
102711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102713    { (exit 1); exit 1; }; }
102714 fi
102715 cat >conftest.$ac_ext <<_ACEOF
102716 /* confdefs.h.  */
102717 _ACEOF
102718 cat confdefs.h >>conftest.$ac_ext
102719 cat >>conftest.$ac_ext <<_ACEOF
102720 /* end confdefs.h.  */
102721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102723 #define $ac_func innocuous_$ac_func
102724
102725 /* System header to define __stub macros and hopefully few prototypes,
102726     which can conflict with char $ac_func (); below.
102727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102728     <limits.h> exists even on freestanding compilers.  */
102729
102730 #ifdef __STDC__
102731 # include <limits.h>
102732 #else
102733 # include <assert.h>
102734 #endif
102735
102736 #undef $ac_func
102737
102738 /* Override any gcc2 internal prototype to avoid an error.  */
102739 #ifdef __cplusplus
102740 extern "C"
102741 {
102742 #endif
102743 /* We use char because int might match the return type of a gcc2
102744    builtin and then its argument prototype would still apply.  */
102745 char $ac_func ();
102746 /* The GNU C library defines this for functions which it implements
102747     to always fail with ENOSYS.  Some functions are actually named
102748     something starting with __ and the normal name is an alias.  */
102749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102750 choke me
102751 #else
102752 char (*f) () = $ac_func;
102753 #endif
102754 #ifdef __cplusplus
102755 }
102756 #endif
102757
102758 int
102759 main ()
102760 {
102761 return f != $ac_func;
102762   ;
102763   return 0;
102764 }
102765 _ACEOF
102766 rm -f conftest.$ac_objext conftest$ac_exeext
102767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102768   (eval $ac_link) 2>conftest.er1
102769   ac_status=$?
102770   grep -v '^ *+' conftest.er1 >conftest.err
102771   rm -f conftest.er1
102772   cat conftest.err >&5
102773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102774   (exit $ac_status); } &&
102775          { ac_try='test -z "$ac_c_werror_flag"
102776                          || test ! -s conftest.err'
102777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102778   (eval $ac_try) 2>&5
102779   ac_status=$?
102780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102781   (exit $ac_status); }; } &&
102782          { ac_try='test -s conftest$ac_exeext'
102783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102784   (eval $ac_try) 2>&5
102785   ac_status=$?
102786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102787   (exit $ac_status); }; }; then
102788   eval "$as_ac_var=yes"
102789 else
102790   echo "$as_me: failed program was:" >&5
102791 sed 's/^/| /' conftest.$ac_ext >&5
102792
102793 eval "$as_ac_var=no"
102794 fi
102795 rm -f conftest.err conftest.$ac_objext \
102796       conftest$ac_exeext conftest.$ac_ext
102797 fi
102798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102800 if test `eval echo '${'$as_ac_var'}'` = yes; then
102801   cat >>confdefs.h <<_ACEOF
102802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102803 _ACEOF
102804
102805 fi
102806 done
102807
102808   else
102809
102810   echo "$as_me:$LINENO: checking for _logl declaration" >&5
102811 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
102812   if test x${glibcxx_cv_func__logl_use+set} != xset; then
102813     if test "${glibcxx_cv_func__logl_use+set}" = set; then
102814   echo $ECHO_N "(cached) $ECHO_C" >&6
102815 else
102816
102817
102818
102819       ac_ext=cc
102820 ac_cpp='$CXXCPP $CPPFLAGS'
102821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102824
102825       cat >conftest.$ac_ext <<_ACEOF
102826 /* confdefs.h.  */
102827 _ACEOF
102828 cat confdefs.h >>conftest.$ac_ext
102829 cat >>conftest.$ac_ext <<_ACEOF
102830 /* end confdefs.h.  */
102831 #include <math.h>
102832                       #ifdef HAVE_IEEEFP_H
102833                       #include <ieeefp.h>
102834                       #endif
102835
102836 int
102837 main ()
102838 {
102839  _logl(0);
102840   ;
102841   return 0;
102842 }
102843 _ACEOF
102844 rm -f conftest.$ac_objext
102845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102846   (eval $ac_compile) 2>conftest.er1
102847   ac_status=$?
102848   grep -v '^ *+' conftest.er1 >conftest.err
102849   rm -f conftest.er1
102850   cat conftest.err >&5
102851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102852   (exit $ac_status); } &&
102853          { ac_try='test -z "$ac_cxx_werror_flag"
102854                          || test ! -s conftest.err'
102855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102856   (eval $ac_try) 2>&5
102857   ac_status=$?
102858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102859   (exit $ac_status); }; } &&
102860          { ac_try='test -s conftest.$ac_objext'
102861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102862   (eval $ac_try) 2>&5
102863   ac_status=$?
102864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102865   (exit $ac_status); }; }; then
102866   glibcxx_cv_func__logl_use=yes
102867 else
102868   echo "$as_me: failed program was:" >&5
102869 sed 's/^/| /' conftest.$ac_ext >&5
102870
102871 glibcxx_cv_func__logl_use=no
102872 fi
102873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102874       ac_ext=c
102875 ac_cpp='$CPP $CPPFLAGS'
102876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102879
102880
102881 fi
102882
102883   fi
102884   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
102885 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
102886
102887     if test x$glibcxx_cv_func__logl_use = x"yes"; then
102888
102889 for ac_func in _logl
102890 do
102891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102892 echo "$as_me:$LINENO: checking for $ac_func" >&5
102893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102894 if eval "test \"\${$as_ac_var+set}\" = set"; then
102895   echo $ECHO_N "(cached) $ECHO_C" >&6
102896 else
102897   if test x$gcc_no_link = xyes; then
102898   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102900    { (exit 1); exit 1; }; }
102901 fi
102902 cat >conftest.$ac_ext <<_ACEOF
102903 /* confdefs.h.  */
102904 _ACEOF
102905 cat confdefs.h >>conftest.$ac_ext
102906 cat >>conftest.$ac_ext <<_ACEOF
102907 /* end confdefs.h.  */
102908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102909    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
102910 #define $ac_func innocuous_$ac_func
102911
102912 /* System header to define __stub macros and hopefully few prototypes,
102913     which can conflict with char $ac_func (); below.
102914     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102915     <limits.h> exists even on freestanding compilers.  */
102916
102917 #ifdef __STDC__
102918 # include <limits.h>
102919 #else
102920 # include <assert.h>
102921 #endif
102922
102923 #undef $ac_func
102924
102925 /* Override any gcc2 internal prototype to avoid an error.  */
102926 #ifdef __cplusplus
102927 extern "C"
102928 {
102929 #endif
102930 /* We use char because int might match the return type of a gcc2
102931    builtin and then its argument prototype would still apply.  */
102932 char $ac_func ();
102933 /* The GNU C library defines this for functions which it implements
102934     to always fail with ENOSYS.  Some functions are actually named
102935     something starting with __ and the normal name is an alias.  */
102936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102937 choke me
102938 #else
102939 char (*f) () = $ac_func;
102940 #endif
102941 #ifdef __cplusplus
102942 }
102943 #endif
102944
102945 int
102946 main ()
102947 {
102948 return f != $ac_func;
102949   ;
102950   return 0;
102951 }
102952 _ACEOF
102953 rm -f conftest.$ac_objext conftest$ac_exeext
102954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102955   (eval $ac_link) 2>conftest.er1
102956   ac_status=$?
102957   grep -v '^ *+' conftest.er1 >conftest.err
102958   rm -f conftest.er1
102959   cat conftest.err >&5
102960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102961   (exit $ac_status); } &&
102962          { ac_try='test -z "$ac_c_werror_flag"
102963                          || test ! -s conftest.err'
102964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102965   (eval $ac_try) 2>&5
102966   ac_status=$?
102967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102968   (exit $ac_status); }; } &&
102969          { ac_try='test -s conftest$ac_exeext'
102970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102971   (eval $ac_try) 2>&5
102972   ac_status=$?
102973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
102974   (exit $ac_status); }; }; then
102975   eval "$as_ac_var=yes"
102976 else
102977   echo "$as_me: failed program was:" >&5
102978 sed 's/^/| /' conftest.$ac_ext >&5
102979
102980 eval "$as_ac_var=no"
102981 fi
102982 rm -f conftest.err conftest.$ac_objext \
102983       conftest$ac_exeext conftest.$ac_ext
102984 fi
102985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102987 if test `eval echo '${'$as_ac_var'}'` = yes; then
102988   cat >>confdefs.h <<_ACEOF
102989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102990 _ACEOF
102991
102992 fi
102993 done
102994
102995     fi
102996   fi
102997
102998
102999
103000
103001
103002
103003   echo "$as_me:$LINENO: checking for log10l declaration" >&5
103004 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
103005   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
103006     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
103007   echo $ECHO_N "(cached) $ECHO_C" >&6
103008 else
103009
103010
103011
103012       ac_ext=cc
103013 ac_cpp='$CXXCPP $CPPFLAGS'
103014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103017
103018       cat >conftest.$ac_ext <<_ACEOF
103019 /* confdefs.h.  */
103020 _ACEOF
103021 cat confdefs.h >>conftest.$ac_ext
103022 cat >>conftest.$ac_ext <<_ACEOF
103023 /* end confdefs.h.  */
103024 #include <math.h>
103025                       #ifdef HAVE_IEEEFP_H
103026                       #include <ieeefp.h>
103027                       #endif
103028
103029 int
103030 main ()
103031 {
103032  log10l(0);
103033   ;
103034   return 0;
103035 }
103036 _ACEOF
103037 rm -f conftest.$ac_objext
103038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103039   (eval $ac_compile) 2>conftest.er1
103040   ac_status=$?
103041   grep -v '^ *+' conftest.er1 >conftest.err
103042   rm -f conftest.er1
103043   cat conftest.err >&5
103044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103045   (exit $ac_status); } &&
103046          { ac_try='test -z "$ac_cxx_werror_flag"
103047                          || test ! -s conftest.err'
103048   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103049   (eval $ac_try) 2>&5
103050   ac_status=$?
103051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103052   (exit $ac_status); }; } &&
103053          { ac_try='test -s conftest.$ac_objext'
103054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103055   (eval $ac_try) 2>&5
103056   ac_status=$?
103057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103058   (exit $ac_status); }; }; then
103059   glibcxx_cv_func_log10l_use=yes
103060 else
103061   echo "$as_me: failed program was:" >&5
103062 sed 's/^/| /' conftest.$ac_ext >&5
103063
103064 glibcxx_cv_func_log10l_use=no
103065 fi
103066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103067       ac_ext=c
103068 ac_cpp='$CPP $CPPFLAGS'
103069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103072
103073
103074 fi
103075
103076   fi
103077   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
103078 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
103079
103080   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
103081
103082 for ac_func in log10l
103083 do
103084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103085 echo "$as_me:$LINENO: checking for $ac_func" >&5
103086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103087 if eval "test \"\${$as_ac_var+set}\" = set"; then
103088   echo $ECHO_N "(cached) $ECHO_C" >&6
103089 else
103090   if test x$gcc_no_link = xyes; then
103091   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103093    { (exit 1); exit 1; }; }
103094 fi
103095 cat >conftest.$ac_ext <<_ACEOF
103096 /* confdefs.h.  */
103097 _ACEOF
103098 cat confdefs.h >>conftest.$ac_ext
103099 cat >>conftest.$ac_ext <<_ACEOF
103100 /* end confdefs.h.  */
103101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103102    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103103 #define $ac_func innocuous_$ac_func
103104
103105 /* System header to define __stub macros and hopefully few prototypes,
103106     which can conflict with char $ac_func (); below.
103107     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103108     <limits.h> exists even on freestanding compilers.  */
103109
103110 #ifdef __STDC__
103111 # include <limits.h>
103112 #else
103113 # include <assert.h>
103114 #endif
103115
103116 #undef $ac_func
103117
103118 /* Override any gcc2 internal prototype to avoid an error.  */
103119 #ifdef __cplusplus
103120 extern "C"
103121 {
103122 #endif
103123 /* We use char because int might match the return type of a gcc2
103124    builtin and then its argument prototype would still apply.  */
103125 char $ac_func ();
103126 /* The GNU C library defines this for functions which it implements
103127     to always fail with ENOSYS.  Some functions are actually named
103128     something starting with __ and the normal name is an alias.  */
103129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103130 choke me
103131 #else
103132 char (*f) () = $ac_func;
103133 #endif
103134 #ifdef __cplusplus
103135 }
103136 #endif
103137
103138 int
103139 main ()
103140 {
103141 return f != $ac_func;
103142   ;
103143   return 0;
103144 }
103145 _ACEOF
103146 rm -f conftest.$ac_objext conftest$ac_exeext
103147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103148   (eval $ac_link) 2>conftest.er1
103149   ac_status=$?
103150   grep -v '^ *+' conftest.er1 >conftest.err
103151   rm -f conftest.er1
103152   cat conftest.err >&5
103153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103154   (exit $ac_status); } &&
103155          { ac_try='test -z "$ac_c_werror_flag"
103156                          || test ! -s conftest.err'
103157   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103158   (eval $ac_try) 2>&5
103159   ac_status=$?
103160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103161   (exit $ac_status); }; } &&
103162          { ac_try='test -s conftest$ac_exeext'
103163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103164   (eval $ac_try) 2>&5
103165   ac_status=$?
103166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103167   (exit $ac_status); }; }; then
103168   eval "$as_ac_var=yes"
103169 else
103170   echo "$as_me: failed program was:" >&5
103171 sed 's/^/| /' conftest.$ac_ext >&5
103172
103173 eval "$as_ac_var=no"
103174 fi
103175 rm -f conftest.err conftest.$ac_objext \
103176       conftest$ac_exeext conftest.$ac_ext
103177 fi
103178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103180 if test `eval echo '${'$as_ac_var'}'` = yes; then
103181   cat >>confdefs.h <<_ACEOF
103182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103183 _ACEOF
103184
103185 fi
103186 done
103187
103188   else
103189
103190   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
103191 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
103192   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
103193     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
103194   echo $ECHO_N "(cached) $ECHO_C" >&6
103195 else
103196
103197
103198
103199       ac_ext=cc
103200 ac_cpp='$CXXCPP $CPPFLAGS'
103201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103204
103205       cat >conftest.$ac_ext <<_ACEOF
103206 /* confdefs.h.  */
103207 _ACEOF
103208 cat confdefs.h >>conftest.$ac_ext
103209 cat >>conftest.$ac_ext <<_ACEOF
103210 /* end confdefs.h.  */
103211 #include <math.h>
103212                       #ifdef HAVE_IEEEFP_H
103213                       #include <ieeefp.h>
103214                       #endif
103215
103216 int
103217 main ()
103218 {
103219  _log10l(0);
103220   ;
103221   return 0;
103222 }
103223 _ACEOF
103224 rm -f conftest.$ac_objext
103225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103226   (eval $ac_compile) 2>conftest.er1
103227   ac_status=$?
103228   grep -v '^ *+' conftest.er1 >conftest.err
103229   rm -f conftest.er1
103230   cat conftest.err >&5
103231   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103232   (exit $ac_status); } &&
103233          { ac_try='test -z "$ac_cxx_werror_flag"
103234                          || test ! -s conftest.err'
103235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103236   (eval $ac_try) 2>&5
103237   ac_status=$?
103238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103239   (exit $ac_status); }; } &&
103240          { ac_try='test -s conftest.$ac_objext'
103241   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103242   (eval $ac_try) 2>&5
103243   ac_status=$?
103244   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103245   (exit $ac_status); }; }; then
103246   glibcxx_cv_func__log10l_use=yes
103247 else
103248   echo "$as_me: failed program was:" >&5
103249 sed 's/^/| /' conftest.$ac_ext >&5
103250
103251 glibcxx_cv_func__log10l_use=no
103252 fi
103253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103254       ac_ext=c
103255 ac_cpp='$CPP $CPPFLAGS'
103256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103259
103260
103261 fi
103262
103263   fi
103264   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
103265 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
103266
103267     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
103268
103269 for ac_func in _log10l
103270 do
103271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103272 echo "$as_me:$LINENO: checking for $ac_func" >&5
103273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103274 if eval "test \"\${$as_ac_var+set}\" = set"; then
103275   echo $ECHO_N "(cached) $ECHO_C" >&6
103276 else
103277   if test x$gcc_no_link = xyes; then
103278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103280    { (exit 1); exit 1; }; }
103281 fi
103282 cat >conftest.$ac_ext <<_ACEOF
103283 /* confdefs.h.  */
103284 _ACEOF
103285 cat confdefs.h >>conftest.$ac_ext
103286 cat >>conftest.$ac_ext <<_ACEOF
103287 /* end confdefs.h.  */
103288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103289    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103290 #define $ac_func innocuous_$ac_func
103291
103292 /* System header to define __stub macros and hopefully few prototypes,
103293     which can conflict with char $ac_func (); below.
103294     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103295     <limits.h> exists even on freestanding compilers.  */
103296
103297 #ifdef __STDC__
103298 # include <limits.h>
103299 #else
103300 # include <assert.h>
103301 #endif
103302
103303 #undef $ac_func
103304
103305 /* Override any gcc2 internal prototype to avoid an error.  */
103306 #ifdef __cplusplus
103307 extern "C"
103308 {
103309 #endif
103310 /* We use char because int might match the return type of a gcc2
103311    builtin and then its argument prototype would still apply.  */
103312 char $ac_func ();
103313 /* The GNU C library defines this for functions which it implements
103314     to always fail with ENOSYS.  Some functions are actually named
103315     something starting with __ and the normal name is an alias.  */
103316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103317 choke me
103318 #else
103319 char (*f) () = $ac_func;
103320 #endif
103321 #ifdef __cplusplus
103322 }
103323 #endif
103324
103325 int
103326 main ()
103327 {
103328 return f != $ac_func;
103329   ;
103330   return 0;
103331 }
103332 _ACEOF
103333 rm -f conftest.$ac_objext conftest$ac_exeext
103334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103335   (eval $ac_link) 2>conftest.er1
103336   ac_status=$?
103337   grep -v '^ *+' conftest.er1 >conftest.err
103338   rm -f conftest.er1
103339   cat conftest.err >&5
103340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103341   (exit $ac_status); } &&
103342          { ac_try='test -z "$ac_c_werror_flag"
103343                          || test ! -s conftest.err'
103344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103345   (eval $ac_try) 2>&5
103346   ac_status=$?
103347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103348   (exit $ac_status); }; } &&
103349          { ac_try='test -s conftest$ac_exeext'
103350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103351   (eval $ac_try) 2>&5
103352   ac_status=$?
103353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103354   (exit $ac_status); }; }; then
103355   eval "$as_ac_var=yes"
103356 else
103357   echo "$as_me: failed program was:" >&5
103358 sed 's/^/| /' conftest.$ac_ext >&5
103359
103360 eval "$as_ac_var=no"
103361 fi
103362 rm -f conftest.err conftest.$ac_objext \
103363       conftest$ac_exeext conftest.$ac_ext
103364 fi
103365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103367 if test `eval echo '${'$as_ac_var'}'` = yes; then
103368   cat >>confdefs.h <<_ACEOF
103369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103370 _ACEOF
103371
103372 fi
103373 done
103374
103375     fi
103376   fi
103377
103378
103379
103380
103381
103382
103383   echo "$as_me:$LINENO: checking for modfl declaration" >&5
103384 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
103385   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
103386     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
103387   echo $ECHO_N "(cached) $ECHO_C" >&6
103388 else
103389
103390
103391
103392       ac_ext=cc
103393 ac_cpp='$CXXCPP $CPPFLAGS'
103394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103397
103398       cat >conftest.$ac_ext <<_ACEOF
103399 /* confdefs.h.  */
103400 _ACEOF
103401 cat confdefs.h >>conftest.$ac_ext
103402 cat >>conftest.$ac_ext <<_ACEOF
103403 /* end confdefs.h.  */
103404 #include <math.h>
103405 int
103406 main ()
103407 {
103408  modfl(0, 0);
103409   ;
103410   return 0;
103411 }
103412 _ACEOF
103413 rm -f conftest.$ac_objext
103414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103415   (eval $ac_compile) 2>conftest.er1
103416   ac_status=$?
103417   grep -v '^ *+' conftest.er1 >conftest.err
103418   rm -f conftest.er1
103419   cat conftest.err >&5
103420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103421   (exit $ac_status); } &&
103422          { ac_try='test -z "$ac_cxx_werror_flag"
103423                          || test ! -s conftest.err'
103424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103425   (eval $ac_try) 2>&5
103426   ac_status=$?
103427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103428   (exit $ac_status); }; } &&
103429          { ac_try='test -s conftest.$ac_objext'
103430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103431   (eval $ac_try) 2>&5
103432   ac_status=$?
103433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103434   (exit $ac_status); }; }; then
103435   glibcxx_cv_func_modfl_use=yes
103436 else
103437   echo "$as_me: failed program was:" >&5
103438 sed 's/^/| /' conftest.$ac_ext >&5
103439
103440 glibcxx_cv_func_modfl_use=no
103441 fi
103442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103443       ac_ext=c
103444 ac_cpp='$CPP $CPPFLAGS'
103445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103448
103449
103450 fi
103451
103452   fi
103453   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
103454 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
103455
103456   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
103457
103458 for ac_func in modfl
103459 do
103460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103461 echo "$as_me:$LINENO: checking for $ac_func" >&5
103462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103463 if eval "test \"\${$as_ac_var+set}\" = set"; then
103464   echo $ECHO_N "(cached) $ECHO_C" >&6
103465 else
103466   if test x$gcc_no_link = xyes; then
103467   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103469    { (exit 1); exit 1; }; }
103470 fi
103471 cat >conftest.$ac_ext <<_ACEOF
103472 /* confdefs.h.  */
103473 _ACEOF
103474 cat confdefs.h >>conftest.$ac_ext
103475 cat >>conftest.$ac_ext <<_ACEOF
103476 /* end confdefs.h.  */
103477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103478    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103479 #define $ac_func innocuous_$ac_func
103480
103481 /* System header to define __stub macros and hopefully few prototypes,
103482     which can conflict with char $ac_func (); below.
103483     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103484     <limits.h> exists even on freestanding compilers.  */
103485
103486 #ifdef __STDC__
103487 # include <limits.h>
103488 #else
103489 # include <assert.h>
103490 #endif
103491
103492 #undef $ac_func
103493
103494 /* Override any gcc2 internal prototype to avoid an error.  */
103495 #ifdef __cplusplus
103496 extern "C"
103497 {
103498 #endif
103499 /* We use char because int might match the return type of a gcc2
103500    builtin and then its argument prototype would still apply.  */
103501 char $ac_func ();
103502 /* The GNU C library defines this for functions which it implements
103503     to always fail with ENOSYS.  Some functions are actually named
103504     something starting with __ and the normal name is an alias.  */
103505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103506 choke me
103507 #else
103508 char (*f) () = $ac_func;
103509 #endif
103510 #ifdef __cplusplus
103511 }
103512 #endif
103513
103514 int
103515 main ()
103516 {
103517 return f != $ac_func;
103518   ;
103519   return 0;
103520 }
103521 _ACEOF
103522 rm -f conftest.$ac_objext conftest$ac_exeext
103523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103524   (eval $ac_link) 2>conftest.er1
103525   ac_status=$?
103526   grep -v '^ *+' conftest.er1 >conftest.err
103527   rm -f conftest.er1
103528   cat conftest.err >&5
103529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103530   (exit $ac_status); } &&
103531          { ac_try='test -z "$ac_c_werror_flag"
103532                          || test ! -s conftest.err'
103533   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103534   (eval $ac_try) 2>&5
103535   ac_status=$?
103536   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103537   (exit $ac_status); }; } &&
103538          { ac_try='test -s conftest$ac_exeext'
103539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103540   (eval $ac_try) 2>&5
103541   ac_status=$?
103542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103543   (exit $ac_status); }; }; then
103544   eval "$as_ac_var=yes"
103545 else
103546   echo "$as_me: failed program was:" >&5
103547 sed 's/^/| /' conftest.$ac_ext >&5
103548
103549 eval "$as_ac_var=no"
103550 fi
103551 rm -f conftest.err conftest.$ac_objext \
103552       conftest$ac_exeext conftest.$ac_ext
103553 fi
103554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103556 if test `eval echo '${'$as_ac_var'}'` = yes; then
103557   cat >>confdefs.h <<_ACEOF
103558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103559 _ACEOF
103560
103561 fi
103562 done
103563
103564   else
103565
103566   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
103567 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
103568   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
103569     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
103570   echo $ECHO_N "(cached) $ECHO_C" >&6
103571 else
103572
103573
103574
103575       ac_ext=cc
103576 ac_cpp='$CXXCPP $CPPFLAGS'
103577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103580
103581       cat >conftest.$ac_ext <<_ACEOF
103582 /* confdefs.h.  */
103583 _ACEOF
103584 cat confdefs.h >>conftest.$ac_ext
103585 cat >>conftest.$ac_ext <<_ACEOF
103586 /* end confdefs.h.  */
103587 #include <math.h>
103588 int
103589 main ()
103590 {
103591  _modfl(0, 0);
103592   ;
103593   return 0;
103594 }
103595 _ACEOF
103596 rm -f conftest.$ac_objext
103597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103598   (eval $ac_compile) 2>conftest.er1
103599   ac_status=$?
103600   grep -v '^ *+' conftest.er1 >conftest.err
103601   rm -f conftest.er1
103602   cat conftest.err >&5
103603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103604   (exit $ac_status); } &&
103605          { ac_try='test -z "$ac_cxx_werror_flag"
103606                          || test ! -s conftest.err'
103607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103608   (eval $ac_try) 2>&5
103609   ac_status=$?
103610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103611   (exit $ac_status); }; } &&
103612          { ac_try='test -s conftest.$ac_objext'
103613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103614   (eval $ac_try) 2>&5
103615   ac_status=$?
103616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103617   (exit $ac_status); }; }; then
103618   glibcxx_cv_func__modfl_use=yes
103619 else
103620   echo "$as_me: failed program was:" >&5
103621 sed 's/^/| /' conftest.$ac_ext >&5
103622
103623 glibcxx_cv_func__modfl_use=no
103624 fi
103625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103626       ac_ext=c
103627 ac_cpp='$CPP $CPPFLAGS'
103628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103631
103632
103633 fi
103634
103635   fi
103636   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
103637 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
103638
103639     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
103640
103641 for ac_func in _modfl
103642 do
103643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103644 echo "$as_me:$LINENO: checking for $ac_func" >&5
103645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103646 if eval "test \"\${$as_ac_var+set}\" = set"; then
103647   echo $ECHO_N "(cached) $ECHO_C" >&6
103648 else
103649   if test x$gcc_no_link = xyes; then
103650   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103652    { (exit 1); exit 1; }; }
103653 fi
103654 cat >conftest.$ac_ext <<_ACEOF
103655 /* confdefs.h.  */
103656 _ACEOF
103657 cat confdefs.h >>conftest.$ac_ext
103658 cat >>conftest.$ac_ext <<_ACEOF
103659 /* end confdefs.h.  */
103660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103661    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103662 #define $ac_func innocuous_$ac_func
103663
103664 /* System header to define __stub macros and hopefully few prototypes,
103665     which can conflict with char $ac_func (); below.
103666     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103667     <limits.h> exists even on freestanding compilers.  */
103668
103669 #ifdef __STDC__
103670 # include <limits.h>
103671 #else
103672 # include <assert.h>
103673 #endif
103674
103675 #undef $ac_func
103676
103677 /* Override any gcc2 internal prototype to avoid an error.  */
103678 #ifdef __cplusplus
103679 extern "C"
103680 {
103681 #endif
103682 /* We use char because int might match the return type of a gcc2
103683    builtin and then its argument prototype would still apply.  */
103684 char $ac_func ();
103685 /* The GNU C library defines this for functions which it implements
103686     to always fail with ENOSYS.  Some functions are actually named
103687     something starting with __ and the normal name is an alias.  */
103688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103689 choke me
103690 #else
103691 char (*f) () = $ac_func;
103692 #endif
103693 #ifdef __cplusplus
103694 }
103695 #endif
103696
103697 int
103698 main ()
103699 {
103700 return f != $ac_func;
103701   ;
103702   return 0;
103703 }
103704 _ACEOF
103705 rm -f conftest.$ac_objext conftest$ac_exeext
103706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103707   (eval $ac_link) 2>conftest.er1
103708   ac_status=$?
103709   grep -v '^ *+' conftest.er1 >conftest.err
103710   rm -f conftest.er1
103711   cat conftest.err >&5
103712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103713   (exit $ac_status); } &&
103714          { ac_try='test -z "$ac_c_werror_flag"
103715                          || test ! -s conftest.err'
103716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103717   (eval $ac_try) 2>&5
103718   ac_status=$?
103719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103720   (exit $ac_status); }; } &&
103721          { ac_try='test -s conftest$ac_exeext'
103722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103723   (eval $ac_try) 2>&5
103724   ac_status=$?
103725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103726   (exit $ac_status); }; }; then
103727   eval "$as_ac_var=yes"
103728 else
103729   echo "$as_me: failed program was:" >&5
103730 sed 's/^/| /' conftest.$ac_ext >&5
103731
103732 eval "$as_ac_var=no"
103733 fi
103734 rm -f conftest.err conftest.$ac_objext \
103735       conftest$ac_exeext conftest.$ac_ext
103736 fi
103737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103739 if test `eval echo '${'$as_ac_var'}'` = yes; then
103740   cat >>confdefs.h <<_ACEOF
103741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103742 _ACEOF
103743
103744 fi
103745 done
103746
103747     fi
103748   fi
103749
103750
103751
103752
103753
103754
103755   echo "$as_me:$LINENO: checking for powl declaration" >&5
103756 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
103757   if test x${glibcxx_cv_func_powl_use+set} != xset; then
103758     if test "${glibcxx_cv_func_powl_use+set}" = set; then
103759   echo $ECHO_N "(cached) $ECHO_C" >&6
103760 else
103761
103762
103763
103764       ac_ext=cc
103765 ac_cpp='$CXXCPP $CPPFLAGS'
103766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103769
103770       cat >conftest.$ac_ext <<_ACEOF
103771 /* confdefs.h.  */
103772 _ACEOF
103773 cat confdefs.h >>conftest.$ac_ext
103774 cat >>conftest.$ac_ext <<_ACEOF
103775 /* end confdefs.h.  */
103776 #include <math.h>
103777 int
103778 main ()
103779 {
103780  powl(0, 0);
103781   ;
103782   return 0;
103783 }
103784 _ACEOF
103785 rm -f conftest.$ac_objext
103786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103787   (eval $ac_compile) 2>conftest.er1
103788   ac_status=$?
103789   grep -v '^ *+' conftest.er1 >conftest.err
103790   rm -f conftest.er1
103791   cat conftest.err >&5
103792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103793   (exit $ac_status); } &&
103794          { ac_try='test -z "$ac_cxx_werror_flag"
103795                          || test ! -s conftest.err'
103796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103797   (eval $ac_try) 2>&5
103798   ac_status=$?
103799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103800   (exit $ac_status); }; } &&
103801          { ac_try='test -s conftest.$ac_objext'
103802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103803   (eval $ac_try) 2>&5
103804   ac_status=$?
103805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103806   (exit $ac_status); }; }; then
103807   glibcxx_cv_func_powl_use=yes
103808 else
103809   echo "$as_me: failed program was:" >&5
103810 sed 's/^/| /' conftest.$ac_ext >&5
103811
103812 glibcxx_cv_func_powl_use=no
103813 fi
103814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103815       ac_ext=c
103816 ac_cpp='$CPP $CPPFLAGS'
103817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103820
103821
103822 fi
103823
103824   fi
103825   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
103826 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
103827
103828   if test x$glibcxx_cv_func_powl_use = x"yes"; then
103829
103830 for ac_func in powl
103831 do
103832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103833 echo "$as_me:$LINENO: checking for $ac_func" >&5
103834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103835 if eval "test \"\${$as_ac_var+set}\" = set"; then
103836   echo $ECHO_N "(cached) $ECHO_C" >&6
103837 else
103838   if test x$gcc_no_link = xyes; then
103839   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103841    { (exit 1); exit 1; }; }
103842 fi
103843 cat >conftest.$ac_ext <<_ACEOF
103844 /* confdefs.h.  */
103845 _ACEOF
103846 cat confdefs.h >>conftest.$ac_ext
103847 cat >>conftest.$ac_ext <<_ACEOF
103848 /* end confdefs.h.  */
103849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103850    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
103851 #define $ac_func innocuous_$ac_func
103852
103853 /* System header to define __stub macros and hopefully few prototypes,
103854     which can conflict with char $ac_func (); below.
103855     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103856     <limits.h> exists even on freestanding compilers.  */
103857
103858 #ifdef __STDC__
103859 # include <limits.h>
103860 #else
103861 # include <assert.h>
103862 #endif
103863
103864 #undef $ac_func
103865
103866 /* Override any gcc2 internal prototype to avoid an error.  */
103867 #ifdef __cplusplus
103868 extern "C"
103869 {
103870 #endif
103871 /* We use char because int might match the return type of a gcc2
103872    builtin and then its argument prototype would still apply.  */
103873 char $ac_func ();
103874 /* The GNU C library defines this for functions which it implements
103875     to always fail with ENOSYS.  Some functions are actually named
103876     something starting with __ and the normal name is an alias.  */
103877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103878 choke me
103879 #else
103880 char (*f) () = $ac_func;
103881 #endif
103882 #ifdef __cplusplus
103883 }
103884 #endif
103885
103886 int
103887 main ()
103888 {
103889 return f != $ac_func;
103890   ;
103891   return 0;
103892 }
103893 _ACEOF
103894 rm -f conftest.$ac_objext conftest$ac_exeext
103895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103896   (eval $ac_link) 2>conftest.er1
103897   ac_status=$?
103898   grep -v '^ *+' conftest.er1 >conftest.err
103899   rm -f conftest.er1
103900   cat conftest.err >&5
103901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103902   (exit $ac_status); } &&
103903          { ac_try='test -z "$ac_c_werror_flag"
103904                          || test ! -s conftest.err'
103905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103906   (eval $ac_try) 2>&5
103907   ac_status=$?
103908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103909   (exit $ac_status); }; } &&
103910          { ac_try='test -s conftest$ac_exeext'
103911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103912   (eval $ac_try) 2>&5
103913   ac_status=$?
103914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103915   (exit $ac_status); }; }; then
103916   eval "$as_ac_var=yes"
103917 else
103918   echo "$as_me: failed program was:" >&5
103919 sed 's/^/| /' conftest.$ac_ext >&5
103920
103921 eval "$as_ac_var=no"
103922 fi
103923 rm -f conftest.err conftest.$ac_objext \
103924       conftest$ac_exeext conftest.$ac_ext
103925 fi
103926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103928 if test `eval echo '${'$as_ac_var'}'` = yes; then
103929   cat >>confdefs.h <<_ACEOF
103930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103931 _ACEOF
103932
103933 fi
103934 done
103935
103936   else
103937
103938   echo "$as_me:$LINENO: checking for _powl declaration" >&5
103939 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
103940   if test x${glibcxx_cv_func__powl_use+set} != xset; then
103941     if test "${glibcxx_cv_func__powl_use+set}" = set; then
103942   echo $ECHO_N "(cached) $ECHO_C" >&6
103943 else
103944
103945
103946
103947       ac_ext=cc
103948 ac_cpp='$CXXCPP $CPPFLAGS'
103949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103952
103953       cat >conftest.$ac_ext <<_ACEOF
103954 /* confdefs.h.  */
103955 _ACEOF
103956 cat confdefs.h >>conftest.$ac_ext
103957 cat >>conftest.$ac_ext <<_ACEOF
103958 /* end confdefs.h.  */
103959 #include <math.h>
103960 int
103961 main ()
103962 {
103963  _powl(0, 0);
103964   ;
103965   return 0;
103966 }
103967 _ACEOF
103968 rm -f conftest.$ac_objext
103969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103970   (eval $ac_compile) 2>conftest.er1
103971   ac_status=$?
103972   grep -v '^ *+' conftest.er1 >conftest.err
103973   rm -f conftest.er1
103974   cat conftest.err >&5
103975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103976   (exit $ac_status); } &&
103977          { ac_try='test -z "$ac_cxx_werror_flag"
103978                          || test ! -s conftest.err'
103979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103980   (eval $ac_try) 2>&5
103981   ac_status=$?
103982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103983   (exit $ac_status); }; } &&
103984          { ac_try='test -s conftest.$ac_objext'
103985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103986   (eval $ac_try) 2>&5
103987   ac_status=$?
103988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
103989   (exit $ac_status); }; }; then
103990   glibcxx_cv_func__powl_use=yes
103991 else
103992   echo "$as_me: failed program was:" >&5
103993 sed 's/^/| /' conftest.$ac_ext >&5
103994
103995 glibcxx_cv_func__powl_use=no
103996 fi
103997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103998       ac_ext=c
103999 ac_cpp='$CPP $CPPFLAGS'
104000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104003
104004
104005 fi
104006
104007   fi
104008   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
104009 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
104010
104011     if test x$glibcxx_cv_func__powl_use = x"yes"; then
104012
104013 for ac_func in _powl
104014 do
104015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104016 echo "$as_me:$LINENO: checking for $ac_func" >&5
104017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104018 if eval "test \"\${$as_ac_var+set}\" = set"; then
104019   echo $ECHO_N "(cached) $ECHO_C" >&6
104020 else
104021   if test x$gcc_no_link = xyes; then
104022   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104024    { (exit 1); exit 1; }; }
104025 fi
104026 cat >conftest.$ac_ext <<_ACEOF
104027 /* confdefs.h.  */
104028 _ACEOF
104029 cat confdefs.h >>conftest.$ac_ext
104030 cat >>conftest.$ac_ext <<_ACEOF
104031 /* end confdefs.h.  */
104032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104033    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104034 #define $ac_func innocuous_$ac_func
104035
104036 /* System header to define __stub macros and hopefully few prototypes,
104037     which can conflict with char $ac_func (); below.
104038     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104039     <limits.h> exists even on freestanding compilers.  */
104040
104041 #ifdef __STDC__
104042 # include <limits.h>
104043 #else
104044 # include <assert.h>
104045 #endif
104046
104047 #undef $ac_func
104048
104049 /* Override any gcc2 internal prototype to avoid an error.  */
104050 #ifdef __cplusplus
104051 extern "C"
104052 {
104053 #endif
104054 /* We use char because int might match the return type of a gcc2
104055    builtin and then its argument prototype would still apply.  */
104056 char $ac_func ();
104057 /* The GNU C library defines this for functions which it implements
104058     to always fail with ENOSYS.  Some functions are actually named
104059     something starting with __ and the normal name is an alias.  */
104060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104061 choke me
104062 #else
104063 char (*f) () = $ac_func;
104064 #endif
104065 #ifdef __cplusplus
104066 }
104067 #endif
104068
104069 int
104070 main ()
104071 {
104072 return f != $ac_func;
104073   ;
104074   return 0;
104075 }
104076 _ACEOF
104077 rm -f conftest.$ac_objext conftest$ac_exeext
104078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104079   (eval $ac_link) 2>conftest.er1
104080   ac_status=$?
104081   grep -v '^ *+' conftest.er1 >conftest.err
104082   rm -f conftest.er1
104083   cat conftest.err >&5
104084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104085   (exit $ac_status); } &&
104086          { ac_try='test -z "$ac_c_werror_flag"
104087                          || test ! -s conftest.err'
104088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104089   (eval $ac_try) 2>&5
104090   ac_status=$?
104091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104092   (exit $ac_status); }; } &&
104093          { ac_try='test -s conftest$ac_exeext'
104094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104095   (eval $ac_try) 2>&5
104096   ac_status=$?
104097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104098   (exit $ac_status); }; }; then
104099   eval "$as_ac_var=yes"
104100 else
104101   echo "$as_me: failed program was:" >&5
104102 sed 's/^/| /' conftest.$ac_ext >&5
104103
104104 eval "$as_ac_var=no"
104105 fi
104106 rm -f conftest.err conftest.$ac_objext \
104107       conftest$ac_exeext conftest.$ac_ext
104108 fi
104109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104111 if test `eval echo '${'$as_ac_var'}'` = yes; then
104112   cat >>confdefs.h <<_ACEOF
104113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104114 _ACEOF
104115
104116 fi
104117 done
104118
104119     fi
104120   fi
104121
104122
104123
104124
104125
104126
104127   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
104128 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
104129   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
104130     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
104131   echo $ECHO_N "(cached) $ECHO_C" >&6
104132 else
104133
104134
104135
104136       ac_ext=cc
104137 ac_cpp='$CXXCPP $CPPFLAGS'
104138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104141
104142       cat >conftest.$ac_ext <<_ACEOF
104143 /* confdefs.h.  */
104144 _ACEOF
104145 cat confdefs.h >>conftest.$ac_ext
104146 cat >>conftest.$ac_ext <<_ACEOF
104147 /* end confdefs.h.  */
104148 #include <math.h>
104149                       #ifdef HAVE_IEEEFP_H
104150                       #include <ieeefp.h>
104151                       #endif
104152
104153 int
104154 main ()
104155 {
104156  sqrtl(0);
104157   ;
104158   return 0;
104159 }
104160 _ACEOF
104161 rm -f conftest.$ac_objext
104162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104163   (eval $ac_compile) 2>conftest.er1
104164   ac_status=$?
104165   grep -v '^ *+' conftest.er1 >conftest.err
104166   rm -f conftest.er1
104167   cat conftest.err >&5
104168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104169   (exit $ac_status); } &&
104170          { ac_try='test -z "$ac_cxx_werror_flag"
104171                          || test ! -s conftest.err'
104172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104173   (eval $ac_try) 2>&5
104174   ac_status=$?
104175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104176   (exit $ac_status); }; } &&
104177          { ac_try='test -s conftest.$ac_objext'
104178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104179   (eval $ac_try) 2>&5
104180   ac_status=$?
104181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104182   (exit $ac_status); }; }; then
104183   glibcxx_cv_func_sqrtl_use=yes
104184 else
104185   echo "$as_me: failed program was:" >&5
104186 sed 's/^/| /' conftest.$ac_ext >&5
104187
104188 glibcxx_cv_func_sqrtl_use=no
104189 fi
104190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104191       ac_ext=c
104192 ac_cpp='$CPP $CPPFLAGS'
104193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104196
104197
104198 fi
104199
104200   fi
104201   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
104202 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
104203
104204   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
104205
104206 for ac_func in sqrtl
104207 do
104208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104209 echo "$as_me:$LINENO: checking for $ac_func" >&5
104210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104211 if eval "test \"\${$as_ac_var+set}\" = set"; then
104212   echo $ECHO_N "(cached) $ECHO_C" >&6
104213 else
104214   if test x$gcc_no_link = xyes; then
104215   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104217    { (exit 1); exit 1; }; }
104218 fi
104219 cat >conftest.$ac_ext <<_ACEOF
104220 /* confdefs.h.  */
104221 _ACEOF
104222 cat confdefs.h >>conftest.$ac_ext
104223 cat >>conftest.$ac_ext <<_ACEOF
104224 /* end confdefs.h.  */
104225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104226    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104227 #define $ac_func innocuous_$ac_func
104228
104229 /* System header to define __stub macros and hopefully few prototypes,
104230     which can conflict with char $ac_func (); below.
104231     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104232     <limits.h> exists even on freestanding compilers.  */
104233
104234 #ifdef __STDC__
104235 # include <limits.h>
104236 #else
104237 # include <assert.h>
104238 #endif
104239
104240 #undef $ac_func
104241
104242 /* Override any gcc2 internal prototype to avoid an error.  */
104243 #ifdef __cplusplus
104244 extern "C"
104245 {
104246 #endif
104247 /* We use char because int might match the return type of a gcc2
104248    builtin and then its argument prototype would still apply.  */
104249 char $ac_func ();
104250 /* The GNU C library defines this for functions which it implements
104251     to always fail with ENOSYS.  Some functions are actually named
104252     something starting with __ and the normal name is an alias.  */
104253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104254 choke me
104255 #else
104256 char (*f) () = $ac_func;
104257 #endif
104258 #ifdef __cplusplus
104259 }
104260 #endif
104261
104262 int
104263 main ()
104264 {
104265 return f != $ac_func;
104266   ;
104267   return 0;
104268 }
104269 _ACEOF
104270 rm -f conftest.$ac_objext conftest$ac_exeext
104271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104272   (eval $ac_link) 2>conftest.er1
104273   ac_status=$?
104274   grep -v '^ *+' conftest.er1 >conftest.err
104275   rm -f conftest.er1
104276   cat conftest.err >&5
104277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104278   (exit $ac_status); } &&
104279          { ac_try='test -z "$ac_c_werror_flag"
104280                          || test ! -s conftest.err'
104281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104282   (eval $ac_try) 2>&5
104283   ac_status=$?
104284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104285   (exit $ac_status); }; } &&
104286          { ac_try='test -s conftest$ac_exeext'
104287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104288   (eval $ac_try) 2>&5
104289   ac_status=$?
104290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104291   (exit $ac_status); }; }; then
104292   eval "$as_ac_var=yes"
104293 else
104294   echo "$as_me: failed program was:" >&5
104295 sed 's/^/| /' conftest.$ac_ext >&5
104296
104297 eval "$as_ac_var=no"
104298 fi
104299 rm -f conftest.err conftest.$ac_objext \
104300       conftest$ac_exeext conftest.$ac_ext
104301 fi
104302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104304 if test `eval echo '${'$as_ac_var'}'` = yes; then
104305   cat >>confdefs.h <<_ACEOF
104306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104307 _ACEOF
104308
104309 fi
104310 done
104311
104312   else
104313
104314   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
104315 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
104316   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
104317     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
104318   echo $ECHO_N "(cached) $ECHO_C" >&6
104319 else
104320
104321
104322
104323       ac_ext=cc
104324 ac_cpp='$CXXCPP $CPPFLAGS'
104325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104328
104329       cat >conftest.$ac_ext <<_ACEOF
104330 /* confdefs.h.  */
104331 _ACEOF
104332 cat confdefs.h >>conftest.$ac_ext
104333 cat >>conftest.$ac_ext <<_ACEOF
104334 /* end confdefs.h.  */
104335 #include <math.h>
104336                       #ifdef HAVE_IEEEFP_H
104337                       #include <ieeefp.h>
104338                       #endif
104339
104340 int
104341 main ()
104342 {
104343  _sqrtl(0);
104344   ;
104345   return 0;
104346 }
104347 _ACEOF
104348 rm -f conftest.$ac_objext
104349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104350   (eval $ac_compile) 2>conftest.er1
104351   ac_status=$?
104352   grep -v '^ *+' conftest.er1 >conftest.err
104353   rm -f conftest.er1
104354   cat conftest.err >&5
104355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104356   (exit $ac_status); } &&
104357          { ac_try='test -z "$ac_cxx_werror_flag"
104358                          || test ! -s conftest.err'
104359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104360   (eval $ac_try) 2>&5
104361   ac_status=$?
104362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104363   (exit $ac_status); }; } &&
104364          { ac_try='test -s conftest.$ac_objext'
104365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104366   (eval $ac_try) 2>&5
104367   ac_status=$?
104368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104369   (exit $ac_status); }; }; then
104370   glibcxx_cv_func__sqrtl_use=yes
104371 else
104372   echo "$as_me: failed program was:" >&5
104373 sed 's/^/| /' conftest.$ac_ext >&5
104374
104375 glibcxx_cv_func__sqrtl_use=no
104376 fi
104377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104378       ac_ext=c
104379 ac_cpp='$CPP $CPPFLAGS'
104380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104383
104384
104385 fi
104386
104387   fi
104388   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
104389 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
104390
104391     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
104392
104393 for ac_func in _sqrtl
104394 do
104395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104396 echo "$as_me:$LINENO: checking for $ac_func" >&5
104397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104398 if eval "test \"\${$as_ac_var+set}\" = set"; then
104399   echo $ECHO_N "(cached) $ECHO_C" >&6
104400 else
104401   if test x$gcc_no_link = xyes; then
104402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104404    { (exit 1); exit 1; }; }
104405 fi
104406 cat >conftest.$ac_ext <<_ACEOF
104407 /* confdefs.h.  */
104408 _ACEOF
104409 cat confdefs.h >>conftest.$ac_ext
104410 cat >>conftest.$ac_ext <<_ACEOF
104411 /* end confdefs.h.  */
104412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104413    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104414 #define $ac_func innocuous_$ac_func
104415
104416 /* System header to define __stub macros and hopefully few prototypes,
104417     which can conflict with char $ac_func (); below.
104418     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104419     <limits.h> exists even on freestanding compilers.  */
104420
104421 #ifdef __STDC__
104422 # include <limits.h>
104423 #else
104424 # include <assert.h>
104425 #endif
104426
104427 #undef $ac_func
104428
104429 /* Override any gcc2 internal prototype to avoid an error.  */
104430 #ifdef __cplusplus
104431 extern "C"
104432 {
104433 #endif
104434 /* We use char because int might match the return type of a gcc2
104435    builtin and then its argument prototype would still apply.  */
104436 char $ac_func ();
104437 /* The GNU C library defines this for functions which it implements
104438     to always fail with ENOSYS.  Some functions are actually named
104439     something starting with __ and the normal name is an alias.  */
104440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104441 choke me
104442 #else
104443 char (*f) () = $ac_func;
104444 #endif
104445 #ifdef __cplusplus
104446 }
104447 #endif
104448
104449 int
104450 main ()
104451 {
104452 return f != $ac_func;
104453   ;
104454   return 0;
104455 }
104456 _ACEOF
104457 rm -f conftest.$ac_objext conftest$ac_exeext
104458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104459   (eval $ac_link) 2>conftest.er1
104460   ac_status=$?
104461   grep -v '^ *+' conftest.er1 >conftest.err
104462   rm -f conftest.er1
104463   cat conftest.err >&5
104464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104465   (exit $ac_status); } &&
104466          { ac_try='test -z "$ac_c_werror_flag"
104467                          || test ! -s conftest.err'
104468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104469   (eval $ac_try) 2>&5
104470   ac_status=$?
104471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104472   (exit $ac_status); }; } &&
104473          { ac_try='test -s conftest$ac_exeext'
104474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104475   (eval $ac_try) 2>&5
104476   ac_status=$?
104477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104478   (exit $ac_status); }; }; then
104479   eval "$as_ac_var=yes"
104480 else
104481   echo "$as_me: failed program was:" >&5
104482 sed 's/^/| /' conftest.$ac_ext >&5
104483
104484 eval "$as_ac_var=no"
104485 fi
104486 rm -f conftest.err conftest.$ac_objext \
104487       conftest$ac_exeext conftest.$ac_ext
104488 fi
104489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104491 if test `eval echo '${'$as_ac_var'}'` = yes; then
104492   cat >>confdefs.h <<_ACEOF
104493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104494 _ACEOF
104495
104496 fi
104497 done
104498
104499     fi
104500   fi
104501
104502
104503
104504
104505
104506
104507   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
104508 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
104509   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
104510     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
104511   echo $ECHO_N "(cached) $ECHO_C" >&6
104512 else
104513
104514
104515
104516       ac_ext=cc
104517 ac_cpp='$CXXCPP $CPPFLAGS'
104518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104521
104522       cat >conftest.$ac_ext <<_ACEOF
104523 /* confdefs.h.  */
104524 _ACEOF
104525 cat confdefs.h >>conftest.$ac_ext
104526 cat >>conftest.$ac_ext <<_ACEOF
104527 /* end confdefs.h.  */
104528 #include <math.h>
104529 int
104530 main ()
104531 {
104532  sincosl(0, 0, 0);
104533   ;
104534   return 0;
104535 }
104536 _ACEOF
104537 rm -f conftest.$ac_objext
104538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104539   (eval $ac_compile) 2>conftest.er1
104540   ac_status=$?
104541   grep -v '^ *+' conftest.er1 >conftest.err
104542   rm -f conftest.er1
104543   cat conftest.err >&5
104544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104545   (exit $ac_status); } &&
104546          { ac_try='test -z "$ac_cxx_werror_flag"
104547                          || test ! -s conftest.err'
104548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104549   (eval $ac_try) 2>&5
104550   ac_status=$?
104551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104552   (exit $ac_status); }; } &&
104553          { ac_try='test -s conftest.$ac_objext'
104554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104555   (eval $ac_try) 2>&5
104556   ac_status=$?
104557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104558   (exit $ac_status); }; }; then
104559   glibcxx_cv_func_sincosl_use=yes
104560 else
104561   echo "$as_me: failed program was:" >&5
104562 sed 's/^/| /' conftest.$ac_ext >&5
104563
104564 glibcxx_cv_func_sincosl_use=no
104565 fi
104566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104567       ac_ext=c
104568 ac_cpp='$CPP $CPPFLAGS'
104569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104572
104573
104574 fi
104575
104576   fi
104577   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
104578 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
104579
104580   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
104581
104582 for ac_func in sincosl
104583 do
104584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104585 echo "$as_me:$LINENO: checking for $ac_func" >&5
104586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104587 if eval "test \"\${$as_ac_var+set}\" = set"; then
104588   echo $ECHO_N "(cached) $ECHO_C" >&6
104589 else
104590   if test x$gcc_no_link = xyes; then
104591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104593    { (exit 1); exit 1; }; }
104594 fi
104595 cat >conftest.$ac_ext <<_ACEOF
104596 /* confdefs.h.  */
104597 _ACEOF
104598 cat confdefs.h >>conftest.$ac_ext
104599 cat >>conftest.$ac_ext <<_ACEOF
104600 /* end confdefs.h.  */
104601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104603 #define $ac_func innocuous_$ac_func
104604
104605 /* System header to define __stub macros and hopefully few prototypes,
104606     which can conflict with char $ac_func (); below.
104607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104608     <limits.h> exists even on freestanding compilers.  */
104609
104610 #ifdef __STDC__
104611 # include <limits.h>
104612 #else
104613 # include <assert.h>
104614 #endif
104615
104616 #undef $ac_func
104617
104618 /* Override any gcc2 internal prototype to avoid an error.  */
104619 #ifdef __cplusplus
104620 extern "C"
104621 {
104622 #endif
104623 /* We use char because int might match the return type of a gcc2
104624    builtin and then its argument prototype would still apply.  */
104625 char $ac_func ();
104626 /* The GNU C library defines this for functions which it implements
104627     to always fail with ENOSYS.  Some functions are actually named
104628     something starting with __ and the normal name is an alias.  */
104629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104630 choke me
104631 #else
104632 char (*f) () = $ac_func;
104633 #endif
104634 #ifdef __cplusplus
104635 }
104636 #endif
104637
104638 int
104639 main ()
104640 {
104641 return f != $ac_func;
104642   ;
104643   return 0;
104644 }
104645 _ACEOF
104646 rm -f conftest.$ac_objext conftest$ac_exeext
104647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104648   (eval $ac_link) 2>conftest.er1
104649   ac_status=$?
104650   grep -v '^ *+' conftest.er1 >conftest.err
104651   rm -f conftest.er1
104652   cat conftest.err >&5
104653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104654   (exit $ac_status); } &&
104655          { ac_try='test -z "$ac_c_werror_flag"
104656                          || test ! -s conftest.err'
104657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104658   (eval $ac_try) 2>&5
104659   ac_status=$?
104660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104661   (exit $ac_status); }; } &&
104662          { ac_try='test -s conftest$ac_exeext'
104663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104664   (eval $ac_try) 2>&5
104665   ac_status=$?
104666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104667   (exit $ac_status); }; }; then
104668   eval "$as_ac_var=yes"
104669 else
104670   echo "$as_me: failed program was:" >&5
104671 sed 's/^/| /' conftest.$ac_ext >&5
104672
104673 eval "$as_ac_var=no"
104674 fi
104675 rm -f conftest.err conftest.$ac_objext \
104676       conftest$ac_exeext conftest.$ac_ext
104677 fi
104678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104680 if test `eval echo '${'$as_ac_var'}'` = yes; then
104681   cat >>confdefs.h <<_ACEOF
104682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104683 _ACEOF
104684
104685 fi
104686 done
104687
104688   else
104689
104690   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
104691 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
104692   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
104693     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
104694   echo $ECHO_N "(cached) $ECHO_C" >&6
104695 else
104696
104697
104698
104699       ac_ext=cc
104700 ac_cpp='$CXXCPP $CPPFLAGS'
104701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104704
104705       cat >conftest.$ac_ext <<_ACEOF
104706 /* confdefs.h.  */
104707 _ACEOF
104708 cat confdefs.h >>conftest.$ac_ext
104709 cat >>conftest.$ac_ext <<_ACEOF
104710 /* end confdefs.h.  */
104711 #include <math.h>
104712 int
104713 main ()
104714 {
104715  _sincosl(0, 0, 0);
104716   ;
104717   return 0;
104718 }
104719 _ACEOF
104720 rm -f conftest.$ac_objext
104721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104722   (eval $ac_compile) 2>conftest.er1
104723   ac_status=$?
104724   grep -v '^ *+' conftest.er1 >conftest.err
104725   rm -f conftest.er1
104726   cat conftest.err >&5
104727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104728   (exit $ac_status); } &&
104729          { ac_try='test -z "$ac_cxx_werror_flag"
104730                          || test ! -s conftest.err'
104731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104732   (eval $ac_try) 2>&5
104733   ac_status=$?
104734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104735   (exit $ac_status); }; } &&
104736          { ac_try='test -s conftest.$ac_objext'
104737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104738   (eval $ac_try) 2>&5
104739   ac_status=$?
104740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104741   (exit $ac_status); }; }; then
104742   glibcxx_cv_func__sincosl_use=yes
104743 else
104744   echo "$as_me: failed program was:" >&5
104745 sed 's/^/| /' conftest.$ac_ext >&5
104746
104747 glibcxx_cv_func__sincosl_use=no
104748 fi
104749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104750       ac_ext=c
104751 ac_cpp='$CPP $CPPFLAGS'
104752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104755
104756
104757 fi
104758
104759   fi
104760   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
104761 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
104762
104763     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
104764
104765 for ac_func in _sincosl
104766 do
104767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104768 echo "$as_me:$LINENO: checking for $ac_func" >&5
104769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104770 if eval "test \"\${$as_ac_var+set}\" = set"; then
104771   echo $ECHO_N "(cached) $ECHO_C" >&6
104772 else
104773   if test x$gcc_no_link = xyes; then
104774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104776    { (exit 1); exit 1; }; }
104777 fi
104778 cat >conftest.$ac_ext <<_ACEOF
104779 /* confdefs.h.  */
104780 _ACEOF
104781 cat confdefs.h >>conftest.$ac_ext
104782 cat >>conftest.$ac_ext <<_ACEOF
104783 /* end confdefs.h.  */
104784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104785    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104786 #define $ac_func innocuous_$ac_func
104787
104788 /* System header to define __stub macros and hopefully few prototypes,
104789     which can conflict with char $ac_func (); below.
104790     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104791     <limits.h> exists even on freestanding compilers.  */
104792
104793 #ifdef __STDC__
104794 # include <limits.h>
104795 #else
104796 # include <assert.h>
104797 #endif
104798
104799 #undef $ac_func
104800
104801 /* Override any gcc2 internal prototype to avoid an error.  */
104802 #ifdef __cplusplus
104803 extern "C"
104804 {
104805 #endif
104806 /* We use char because int might match the return type of a gcc2
104807    builtin and then its argument prototype would still apply.  */
104808 char $ac_func ();
104809 /* The GNU C library defines this for functions which it implements
104810     to always fail with ENOSYS.  Some functions are actually named
104811     something starting with __ and the normal name is an alias.  */
104812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104813 choke me
104814 #else
104815 char (*f) () = $ac_func;
104816 #endif
104817 #ifdef __cplusplus
104818 }
104819 #endif
104820
104821 int
104822 main ()
104823 {
104824 return f != $ac_func;
104825   ;
104826   return 0;
104827 }
104828 _ACEOF
104829 rm -f conftest.$ac_objext conftest$ac_exeext
104830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104831   (eval $ac_link) 2>conftest.er1
104832   ac_status=$?
104833   grep -v '^ *+' conftest.er1 >conftest.err
104834   rm -f conftest.er1
104835   cat conftest.err >&5
104836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104837   (exit $ac_status); } &&
104838          { ac_try='test -z "$ac_c_werror_flag"
104839                          || test ! -s conftest.err'
104840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104841   (eval $ac_try) 2>&5
104842   ac_status=$?
104843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104844   (exit $ac_status); }; } &&
104845          { ac_try='test -s conftest$ac_exeext'
104846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104847   (eval $ac_try) 2>&5
104848   ac_status=$?
104849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104850   (exit $ac_status); }; }; then
104851   eval "$as_ac_var=yes"
104852 else
104853   echo "$as_me: failed program was:" >&5
104854 sed 's/^/| /' conftest.$ac_ext >&5
104855
104856 eval "$as_ac_var=no"
104857 fi
104858 rm -f conftest.err conftest.$ac_objext \
104859       conftest$ac_exeext conftest.$ac_ext
104860 fi
104861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104863 if test `eval echo '${'$as_ac_var'}'` = yes; then
104864   cat >>confdefs.h <<_ACEOF
104865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104866 _ACEOF
104867
104868 fi
104869 done
104870
104871     fi
104872   fi
104873
104874
104875
104876
104877
104878
104879   echo "$as_me:$LINENO: checking for finitel declaration" >&5
104880 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
104881   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
104882     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
104883   echo $ECHO_N "(cached) $ECHO_C" >&6
104884 else
104885
104886
104887
104888       ac_ext=cc
104889 ac_cpp='$CXXCPP $CPPFLAGS'
104890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104893
104894       cat >conftest.$ac_ext <<_ACEOF
104895 /* confdefs.h.  */
104896 _ACEOF
104897 cat confdefs.h >>conftest.$ac_ext
104898 cat >>conftest.$ac_ext <<_ACEOF
104899 /* end confdefs.h.  */
104900 #include <math.h>
104901                       #ifdef HAVE_IEEEFP_H
104902                       #include <ieeefp.h>
104903                       #endif
104904
104905 int
104906 main ()
104907 {
104908  finitel(0);
104909   ;
104910   return 0;
104911 }
104912 _ACEOF
104913 rm -f conftest.$ac_objext
104914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104915   (eval $ac_compile) 2>conftest.er1
104916   ac_status=$?
104917   grep -v '^ *+' conftest.er1 >conftest.err
104918   rm -f conftest.er1
104919   cat conftest.err >&5
104920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104921   (exit $ac_status); } &&
104922          { ac_try='test -z "$ac_cxx_werror_flag"
104923                          || test ! -s conftest.err'
104924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104925   (eval $ac_try) 2>&5
104926   ac_status=$?
104927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104928   (exit $ac_status); }; } &&
104929          { ac_try='test -s conftest.$ac_objext'
104930   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104931   (eval $ac_try) 2>&5
104932   ac_status=$?
104933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
104934   (exit $ac_status); }; }; then
104935   glibcxx_cv_func_finitel_use=yes
104936 else
104937   echo "$as_me: failed program was:" >&5
104938 sed 's/^/| /' conftest.$ac_ext >&5
104939
104940 glibcxx_cv_func_finitel_use=no
104941 fi
104942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104943       ac_ext=c
104944 ac_cpp='$CPP $CPPFLAGS'
104945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104948
104949
104950 fi
104951
104952   fi
104953   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
104954 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
104955
104956   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
104957
104958 for ac_func in finitel
104959 do
104960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104961 echo "$as_me:$LINENO: checking for $ac_func" >&5
104962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104963 if eval "test \"\${$as_ac_var+set}\" = set"; then
104964   echo $ECHO_N "(cached) $ECHO_C" >&6
104965 else
104966   if test x$gcc_no_link = xyes; then
104967   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104969    { (exit 1); exit 1; }; }
104970 fi
104971 cat >conftest.$ac_ext <<_ACEOF
104972 /* confdefs.h.  */
104973 _ACEOF
104974 cat confdefs.h >>conftest.$ac_ext
104975 cat >>conftest.$ac_ext <<_ACEOF
104976 /* end confdefs.h.  */
104977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104978    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
104979 #define $ac_func innocuous_$ac_func
104980
104981 /* System header to define __stub macros and hopefully few prototypes,
104982     which can conflict with char $ac_func (); below.
104983     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104984     <limits.h> exists even on freestanding compilers.  */
104985
104986 #ifdef __STDC__
104987 # include <limits.h>
104988 #else
104989 # include <assert.h>
104990 #endif
104991
104992 #undef $ac_func
104993
104994 /* Override any gcc2 internal prototype to avoid an error.  */
104995 #ifdef __cplusplus
104996 extern "C"
104997 {
104998 #endif
104999 /* We use char because int might match the return type of a gcc2
105000    builtin and then its argument prototype would still apply.  */
105001 char $ac_func ();
105002 /* The GNU C library defines this for functions which it implements
105003     to always fail with ENOSYS.  Some functions are actually named
105004     something starting with __ and the normal name is an alias.  */
105005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105006 choke me
105007 #else
105008 char (*f) () = $ac_func;
105009 #endif
105010 #ifdef __cplusplus
105011 }
105012 #endif
105013
105014 int
105015 main ()
105016 {
105017 return f != $ac_func;
105018   ;
105019   return 0;
105020 }
105021 _ACEOF
105022 rm -f conftest.$ac_objext conftest$ac_exeext
105023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105024   (eval $ac_link) 2>conftest.er1
105025   ac_status=$?
105026   grep -v '^ *+' conftest.er1 >conftest.err
105027   rm -f conftest.er1
105028   cat conftest.err >&5
105029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105030   (exit $ac_status); } &&
105031          { ac_try='test -z "$ac_c_werror_flag"
105032                          || test ! -s conftest.err'
105033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105034   (eval $ac_try) 2>&5
105035   ac_status=$?
105036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105037   (exit $ac_status); }; } &&
105038          { ac_try='test -s conftest$ac_exeext'
105039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105040   (eval $ac_try) 2>&5
105041   ac_status=$?
105042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105043   (exit $ac_status); }; }; then
105044   eval "$as_ac_var=yes"
105045 else
105046   echo "$as_me: failed program was:" >&5
105047 sed 's/^/| /' conftest.$ac_ext >&5
105048
105049 eval "$as_ac_var=no"
105050 fi
105051 rm -f conftest.err conftest.$ac_objext \
105052       conftest$ac_exeext conftest.$ac_ext
105053 fi
105054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105056 if test `eval echo '${'$as_ac_var'}'` = yes; then
105057   cat >>confdefs.h <<_ACEOF
105058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105059 _ACEOF
105060
105061 fi
105062 done
105063
105064   else
105065
105066   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
105067 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
105068   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
105069     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
105070   echo $ECHO_N "(cached) $ECHO_C" >&6
105071 else
105072
105073
105074
105075       ac_ext=cc
105076 ac_cpp='$CXXCPP $CPPFLAGS'
105077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105080
105081       cat >conftest.$ac_ext <<_ACEOF
105082 /* confdefs.h.  */
105083 _ACEOF
105084 cat confdefs.h >>conftest.$ac_ext
105085 cat >>conftest.$ac_ext <<_ACEOF
105086 /* end confdefs.h.  */
105087 #include <math.h>
105088                       #ifdef HAVE_IEEEFP_H
105089                       #include <ieeefp.h>
105090                       #endif
105091
105092 int
105093 main ()
105094 {
105095  _finitel(0);
105096   ;
105097   return 0;
105098 }
105099 _ACEOF
105100 rm -f conftest.$ac_objext
105101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105102   (eval $ac_compile) 2>conftest.er1
105103   ac_status=$?
105104   grep -v '^ *+' conftest.er1 >conftest.err
105105   rm -f conftest.er1
105106   cat conftest.err >&5
105107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105108   (exit $ac_status); } &&
105109          { ac_try='test -z "$ac_cxx_werror_flag"
105110                          || test ! -s conftest.err'
105111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105112   (eval $ac_try) 2>&5
105113   ac_status=$?
105114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105115   (exit $ac_status); }; } &&
105116          { ac_try='test -s conftest.$ac_objext'
105117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105118   (eval $ac_try) 2>&5
105119   ac_status=$?
105120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105121   (exit $ac_status); }; }; then
105122   glibcxx_cv_func__finitel_use=yes
105123 else
105124   echo "$as_me: failed program was:" >&5
105125 sed 's/^/| /' conftest.$ac_ext >&5
105126
105127 glibcxx_cv_func__finitel_use=no
105128 fi
105129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105130       ac_ext=c
105131 ac_cpp='$CPP $CPPFLAGS'
105132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105135
105136
105137 fi
105138
105139   fi
105140   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
105141 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
105142
105143     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
105144
105145 for ac_func in _finitel
105146 do
105147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105148 echo "$as_me:$LINENO: checking for $ac_func" >&5
105149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105150 if eval "test \"\${$as_ac_var+set}\" = set"; then
105151   echo $ECHO_N "(cached) $ECHO_C" >&6
105152 else
105153   if test x$gcc_no_link = xyes; then
105154   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105156    { (exit 1); exit 1; }; }
105157 fi
105158 cat >conftest.$ac_ext <<_ACEOF
105159 /* confdefs.h.  */
105160 _ACEOF
105161 cat confdefs.h >>conftest.$ac_ext
105162 cat >>conftest.$ac_ext <<_ACEOF
105163 /* end confdefs.h.  */
105164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105165    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
105166 #define $ac_func innocuous_$ac_func
105167
105168 /* System header to define __stub macros and hopefully few prototypes,
105169     which can conflict with char $ac_func (); below.
105170     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105171     <limits.h> exists even on freestanding compilers.  */
105172
105173 #ifdef __STDC__
105174 # include <limits.h>
105175 #else
105176 # include <assert.h>
105177 #endif
105178
105179 #undef $ac_func
105180
105181 /* Override any gcc2 internal prototype to avoid an error.  */
105182 #ifdef __cplusplus
105183 extern "C"
105184 {
105185 #endif
105186 /* We use char because int might match the return type of a gcc2
105187    builtin and then its argument prototype would still apply.  */
105188 char $ac_func ();
105189 /* The GNU C library defines this for functions which it implements
105190     to always fail with ENOSYS.  Some functions are actually named
105191     something starting with __ and the normal name is an alias.  */
105192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105193 choke me
105194 #else
105195 char (*f) () = $ac_func;
105196 #endif
105197 #ifdef __cplusplus
105198 }
105199 #endif
105200
105201 int
105202 main ()
105203 {
105204 return f != $ac_func;
105205   ;
105206   return 0;
105207 }
105208 _ACEOF
105209 rm -f conftest.$ac_objext conftest$ac_exeext
105210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105211   (eval $ac_link) 2>conftest.er1
105212   ac_status=$?
105213   grep -v '^ *+' conftest.er1 >conftest.err
105214   rm -f conftest.er1
105215   cat conftest.err >&5
105216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105217   (exit $ac_status); } &&
105218          { ac_try='test -z "$ac_c_werror_flag"
105219                          || test ! -s conftest.err'
105220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105221   (eval $ac_try) 2>&5
105222   ac_status=$?
105223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105224   (exit $ac_status); }; } &&
105225          { ac_try='test -s conftest$ac_exeext'
105226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105227   (eval $ac_try) 2>&5
105228   ac_status=$?
105229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105230   (exit $ac_status); }; }; then
105231   eval "$as_ac_var=yes"
105232 else
105233   echo "$as_me: failed program was:" >&5
105234 sed 's/^/| /' conftest.$ac_ext >&5
105235
105236 eval "$as_ac_var=no"
105237 fi
105238 rm -f conftest.err conftest.$ac_objext \
105239       conftest$ac_exeext conftest.$ac_ext
105240 fi
105241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105243 if test `eval echo '${'$as_ac_var'}'` = yes; then
105244   cat >>confdefs.h <<_ACEOF
105245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105246 _ACEOF
105247
105248 fi
105249 done
105250
105251     fi
105252   fi
105253
105254
105255
105256
105257
105258   LIBS="$ac_save_LIBS"
105259   CXXFLAGS="$ac_save_CXXFLAGS"
105260
105261
105262
105263   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
105264 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
105265   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
105266     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
105267   echo $ECHO_N "(cached) $ECHO_C" >&6
105268 else
105269
105270
105271
105272       ac_ext=cc
105273 ac_cpp='$CXXCPP $CPPFLAGS'
105274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105277
105278       cat >conftest.$ac_ext <<_ACEOF
105279 /* confdefs.h.  */
105280 _ACEOF
105281 cat confdefs.h >>conftest.$ac_ext
105282 cat >>conftest.$ac_ext <<_ACEOF
105283 /* end confdefs.h.  */
105284 #include <math.h>
105285 int
105286 main ()
105287 {
105288  __builtin_abs(0);
105289   ;
105290   return 0;
105291 }
105292 _ACEOF
105293 rm -f conftest.$ac_objext
105294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105295   (eval $ac_compile) 2>conftest.er1
105296   ac_status=$?
105297   grep -v '^ *+' conftest.er1 >conftest.err
105298   rm -f conftest.er1
105299   cat conftest.err >&5
105300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105301   (exit $ac_status); } &&
105302          { ac_try='test -z "$ac_cxx_werror_flag"
105303                          || test ! -s conftest.err'
105304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105305   (eval $ac_try) 2>&5
105306   ac_status=$?
105307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105308   (exit $ac_status); }; } &&
105309          { ac_try='test -s conftest.$ac_objext'
105310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105311   (eval $ac_try) 2>&5
105312   ac_status=$?
105313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105314   (exit $ac_status); }; }; then
105315   glibcxx_cv_func___builtin_abs_use=yes
105316 else
105317   echo "$as_me: failed program was:" >&5
105318 sed 's/^/| /' conftest.$ac_ext >&5
105319
105320 glibcxx_cv_func___builtin_abs_use=no
105321 fi
105322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105323       ac_ext=c
105324 ac_cpp='$CPP $CPPFLAGS'
105325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105328
105329
105330 fi
105331
105332   fi
105333   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
105334 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
105335   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
105336     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
105337 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
105338     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
105339       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
105340   echo $ECHO_N "(cached) $ECHO_C" >&6
105341 else
105342
105343         if test x$gcc_no_link = xyes; then
105344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105346    { (exit 1); exit 1; }; }
105347 fi
105348 cat >conftest.$ac_ext <<_ACEOF
105349 /* confdefs.h.  */
105350 _ACEOF
105351 cat confdefs.h >>conftest.$ac_ext
105352 cat >>conftest.$ac_ext <<_ACEOF
105353 /* end confdefs.h.  */
105354 #include <math.h>
105355 int
105356 main ()
105357 {
105358  __builtin_abs(0);
105359   ;
105360   return 0;
105361 }
105362 _ACEOF
105363 rm -f conftest.$ac_objext conftest$ac_exeext
105364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105365   (eval $ac_link) 2>conftest.er1
105366   ac_status=$?
105367   grep -v '^ *+' conftest.er1 >conftest.err
105368   rm -f conftest.er1
105369   cat conftest.err >&5
105370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105371   (exit $ac_status); } &&
105372          { ac_try='test -z "$ac_c_werror_flag"
105373                          || test ! -s conftest.err'
105374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105375   (eval $ac_try) 2>&5
105376   ac_status=$?
105377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105378   (exit $ac_status); }; } &&
105379          { ac_try='test -s conftest$ac_exeext'
105380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105381   (eval $ac_try) 2>&5
105382   ac_status=$?
105383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105384   (exit $ac_status); }; }; then
105385   glibcxx_cv_func___builtin_abs_link=yes
105386 else
105387   echo "$as_me: failed program was:" >&5
105388 sed 's/^/| /' conftest.$ac_ext >&5
105389
105390 glibcxx_cv_func___builtin_abs_link=no
105391 fi
105392 rm -f conftest.err conftest.$ac_objext \
105393       conftest$ac_exeext conftest.$ac_ext
105394
105395 fi
105396
105397     fi
105398     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
105399 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
105400
105401     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
105402
105403 cat >>confdefs.h <<\_ACEOF
105404 #define HAVE___BUILTIN_ABS 1
105405 _ACEOF
105406
105407     fi
105408
105409   fi
105410
105411
105412   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
105413 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
105414   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
105415     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
105416   echo $ECHO_N "(cached) $ECHO_C" >&6
105417 else
105418
105419
105420
105421       ac_ext=cc
105422 ac_cpp='$CXXCPP $CPPFLAGS'
105423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105426
105427       cat >conftest.$ac_ext <<_ACEOF
105428 /* confdefs.h.  */
105429 _ACEOF
105430 cat confdefs.h >>conftest.$ac_ext
105431 cat >>conftest.$ac_ext <<_ACEOF
105432 /* end confdefs.h.  */
105433 #include <math.h>
105434 int
105435 main ()
105436 {
105437  __builtin_fabsf(0);
105438   ;
105439   return 0;
105440 }
105441 _ACEOF
105442 rm -f conftest.$ac_objext
105443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105444   (eval $ac_compile) 2>conftest.er1
105445   ac_status=$?
105446   grep -v '^ *+' conftest.er1 >conftest.err
105447   rm -f conftest.er1
105448   cat conftest.err >&5
105449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105450   (exit $ac_status); } &&
105451          { ac_try='test -z "$ac_cxx_werror_flag"
105452                          || test ! -s conftest.err'
105453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105454   (eval $ac_try) 2>&5
105455   ac_status=$?
105456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105457   (exit $ac_status); }; } &&
105458          { ac_try='test -s conftest.$ac_objext'
105459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105460   (eval $ac_try) 2>&5
105461   ac_status=$?
105462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105463   (exit $ac_status); }; }; then
105464   glibcxx_cv_func___builtin_fabsf_use=yes
105465 else
105466   echo "$as_me: failed program was:" >&5
105467 sed 's/^/| /' conftest.$ac_ext >&5
105468
105469 glibcxx_cv_func___builtin_fabsf_use=no
105470 fi
105471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105472       ac_ext=c
105473 ac_cpp='$CPP $CPPFLAGS'
105474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105477
105478
105479 fi
105480
105481   fi
105482   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
105483 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
105484   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
105485     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
105486 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
105487     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
105488       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
105489   echo $ECHO_N "(cached) $ECHO_C" >&6
105490 else
105491
105492         if test x$gcc_no_link = xyes; then
105493   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105495    { (exit 1); exit 1; }; }
105496 fi
105497 cat >conftest.$ac_ext <<_ACEOF
105498 /* confdefs.h.  */
105499 _ACEOF
105500 cat confdefs.h >>conftest.$ac_ext
105501 cat >>conftest.$ac_ext <<_ACEOF
105502 /* end confdefs.h.  */
105503 #include <math.h>
105504 int
105505 main ()
105506 {
105507  __builtin_fabsf(0);
105508   ;
105509   return 0;
105510 }
105511 _ACEOF
105512 rm -f conftest.$ac_objext conftest$ac_exeext
105513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105514   (eval $ac_link) 2>conftest.er1
105515   ac_status=$?
105516   grep -v '^ *+' conftest.er1 >conftest.err
105517   rm -f conftest.er1
105518   cat conftest.err >&5
105519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105520   (exit $ac_status); } &&
105521          { ac_try='test -z "$ac_c_werror_flag"
105522                          || test ! -s conftest.err'
105523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105524   (eval $ac_try) 2>&5
105525   ac_status=$?
105526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105527   (exit $ac_status); }; } &&
105528          { ac_try='test -s conftest$ac_exeext'
105529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105530   (eval $ac_try) 2>&5
105531   ac_status=$?
105532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105533   (exit $ac_status); }; }; then
105534   glibcxx_cv_func___builtin_fabsf_link=yes
105535 else
105536   echo "$as_me: failed program was:" >&5
105537 sed 's/^/| /' conftest.$ac_ext >&5
105538
105539 glibcxx_cv_func___builtin_fabsf_link=no
105540 fi
105541 rm -f conftest.err conftest.$ac_objext \
105542       conftest$ac_exeext conftest.$ac_ext
105543
105544 fi
105545
105546     fi
105547     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
105548 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
105549
105550     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
105551
105552 cat >>confdefs.h <<\_ACEOF
105553 #define HAVE___BUILTIN_FABSF 1
105554 _ACEOF
105555
105556     fi
105557
105558   fi
105559
105560
105561   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
105562 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
105563   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
105564     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
105565   echo $ECHO_N "(cached) $ECHO_C" >&6
105566 else
105567
105568
105569
105570       ac_ext=cc
105571 ac_cpp='$CXXCPP $CPPFLAGS'
105572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105575
105576       cat >conftest.$ac_ext <<_ACEOF
105577 /* confdefs.h.  */
105578 _ACEOF
105579 cat confdefs.h >>conftest.$ac_ext
105580 cat >>conftest.$ac_ext <<_ACEOF
105581 /* end confdefs.h.  */
105582 #include <math.h>
105583 int
105584 main ()
105585 {
105586  __builtin_fabs(0);
105587   ;
105588   return 0;
105589 }
105590 _ACEOF
105591 rm -f conftest.$ac_objext
105592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105593   (eval $ac_compile) 2>conftest.er1
105594   ac_status=$?
105595   grep -v '^ *+' conftest.er1 >conftest.err
105596   rm -f conftest.er1
105597   cat conftest.err >&5
105598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105599   (exit $ac_status); } &&
105600          { ac_try='test -z "$ac_cxx_werror_flag"
105601                          || test ! -s conftest.err'
105602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105603   (eval $ac_try) 2>&5
105604   ac_status=$?
105605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105606   (exit $ac_status); }; } &&
105607          { ac_try='test -s conftest.$ac_objext'
105608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105609   (eval $ac_try) 2>&5
105610   ac_status=$?
105611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105612   (exit $ac_status); }; }; then
105613   glibcxx_cv_func___builtin_fabs_use=yes
105614 else
105615   echo "$as_me: failed program was:" >&5
105616 sed 's/^/| /' conftest.$ac_ext >&5
105617
105618 glibcxx_cv_func___builtin_fabs_use=no
105619 fi
105620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105621       ac_ext=c
105622 ac_cpp='$CPP $CPPFLAGS'
105623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105626
105627
105628 fi
105629
105630   fi
105631   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
105632 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
105633   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
105634     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
105635 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
105636     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
105637       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
105638   echo $ECHO_N "(cached) $ECHO_C" >&6
105639 else
105640
105641         if test x$gcc_no_link = xyes; then
105642   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105644    { (exit 1); exit 1; }; }
105645 fi
105646 cat >conftest.$ac_ext <<_ACEOF
105647 /* confdefs.h.  */
105648 _ACEOF
105649 cat confdefs.h >>conftest.$ac_ext
105650 cat >>conftest.$ac_ext <<_ACEOF
105651 /* end confdefs.h.  */
105652 #include <math.h>
105653 int
105654 main ()
105655 {
105656  __builtin_fabs(0);
105657   ;
105658   return 0;
105659 }
105660 _ACEOF
105661 rm -f conftest.$ac_objext conftest$ac_exeext
105662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105663   (eval $ac_link) 2>conftest.er1
105664   ac_status=$?
105665   grep -v '^ *+' conftest.er1 >conftest.err
105666   rm -f conftest.er1
105667   cat conftest.err >&5
105668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105669   (exit $ac_status); } &&
105670          { ac_try='test -z "$ac_c_werror_flag"
105671                          || test ! -s conftest.err'
105672   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105673   (eval $ac_try) 2>&5
105674   ac_status=$?
105675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105676   (exit $ac_status); }; } &&
105677          { ac_try='test -s conftest$ac_exeext'
105678   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105679   (eval $ac_try) 2>&5
105680   ac_status=$?
105681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105682   (exit $ac_status); }; }; then
105683   glibcxx_cv_func___builtin_fabs_link=yes
105684 else
105685   echo "$as_me: failed program was:" >&5
105686 sed 's/^/| /' conftest.$ac_ext >&5
105687
105688 glibcxx_cv_func___builtin_fabs_link=no
105689 fi
105690 rm -f conftest.err conftest.$ac_objext \
105691       conftest$ac_exeext conftest.$ac_ext
105692
105693 fi
105694
105695     fi
105696     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
105697 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
105698
105699     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
105700
105701 cat >>confdefs.h <<\_ACEOF
105702 #define HAVE___BUILTIN_FABS 1
105703 _ACEOF
105704
105705     fi
105706
105707   fi
105708
105709
105710   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
105711 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
105712   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
105713     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
105714   echo $ECHO_N "(cached) $ECHO_C" >&6
105715 else
105716
105717
105718
105719       ac_ext=cc
105720 ac_cpp='$CXXCPP $CPPFLAGS'
105721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105724
105725       cat >conftest.$ac_ext <<_ACEOF
105726 /* confdefs.h.  */
105727 _ACEOF
105728 cat confdefs.h >>conftest.$ac_ext
105729 cat >>conftest.$ac_ext <<_ACEOF
105730 /* end confdefs.h.  */
105731 #include <math.h>
105732 int
105733 main ()
105734 {
105735  __builtin_fabsl(0);
105736   ;
105737   return 0;
105738 }
105739 _ACEOF
105740 rm -f conftest.$ac_objext
105741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105742   (eval $ac_compile) 2>conftest.er1
105743   ac_status=$?
105744   grep -v '^ *+' conftest.er1 >conftest.err
105745   rm -f conftest.er1
105746   cat conftest.err >&5
105747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105748   (exit $ac_status); } &&
105749          { ac_try='test -z "$ac_cxx_werror_flag"
105750                          || test ! -s conftest.err'
105751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105752   (eval $ac_try) 2>&5
105753   ac_status=$?
105754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105755   (exit $ac_status); }; } &&
105756          { ac_try='test -s conftest.$ac_objext'
105757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105758   (eval $ac_try) 2>&5
105759   ac_status=$?
105760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105761   (exit $ac_status); }; }; then
105762   glibcxx_cv_func___builtin_fabsl_use=yes
105763 else
105764   echo "$as_me: failed program was:" >&5
105765 sed 's/^/| /' conftest.$ac_ext >&5
105766
105767 glibcxx_cv_func___builtin_fabsl_use=no
105768 fi
105769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105770       ac_ext=c
105771 ac_cpp='$CPP $CPPFLAGS'
105772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105775
105776
105777 fi
105778
105779   fi
105780   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
105781 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
105782   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
105783     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
105784 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
105785     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
105786       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
105787   echo $ECHO_N "(cached) $ECHO_C" >&6
105788 else
105789
105790         if test x$gcc_no_link = xyes; then
105791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105793    { (exit 1); exit 1; }; }
105794 fi
105795 cat >conftest.$ac_ext <<_ACEOF
105796 /* confdefs.h.  */
105797 _ACEOF
105798 cat confdefs.h >>conftest.$ac_ext
105799 cat >>conftest.$ac_ext <<_ACEOF
105800 /* end confdefs.h.  */
105801 #include <math.h>
105802 int
105803 main ()
105804 {
105805  __builtin_fabsl(0);
105806   ;
105807   return 0;
105808 }
105809 _ACEOF
105810 rm -f conftest.$ac_objext conftest$ac_exeext
105811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105812   (eval $ac_link) 2>conftest.er1
105813   ac_status=$?
105814   grep -v '^ *+' conftest.er1 >conftest.err
105815   rm -f conftest.er1
105816   cat conftest.err >&5
105817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105818   (exit $ac_status); } &&
105819          { ac_try='test -z "$ac_c_werror_flag"
105820                          || test ! -s conftest.err'
105821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105822   (eval $ac_try) 2>&5
105823   ac_status=$?
105824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105825   (exit $ac_status); }; } &&
105826          { ac_try='test -s conftest$ac_exeext'
105827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105828   (eval $ac_try) 2>&5
105829   ac_status=$?
105830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105831   (exit $ac_status); }; }; then
105832   glibcxx_cv_func___builtin_fabsl_link=yes
105833 else
105834   echo "$as_me: failed program was:" >&5
105835 sed 's/^/| /' conftest.$ac_ext >&5
105836
105837 glibcxx_cv_func___builtin_fabsl_link=no
105838 fi
105839 rm -f conftest.err conftest.$ac_objext \
105840       conftest$ac_exeext conftest.$ac_ext
105841
105842 fi
105843
105844     fi
105845     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
105846 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
105847
105848     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
105849
105850 cat >>confdefs.h <<\_ACEOF
105851 #define HAVE___BUILTIN_FABSL 1
105852 _ACEOF
105853
105854     fi
105855
105856   fi
105857
105858
105859   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
105860 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
105861   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
105862     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
105863   echo $ECHO_N "(cached) $ECHO_C" >&6
105864 else
105865
105866
105867
105868       ac_ext=cc
105869 ac_cpp='$CXXCPP $CPPFLAGS'
105870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105873
105874       cat >conftest.$ac_ext <<_ACEOF
105875 /* confdefs.h.  */
105876 _ACEOF
105877 cat confdefs.h >>conftest.$ac_ext
105878 cat >>conftest.$ac_ext <<_ACEOF
105879 /* end confdefs.h.  */
105880 #include <math.h>
105881 int
105882 main ()
105883 {
105884  __builtin_labs(0);
105885   ;
105886   return 0;
105887 }
105888 _ACEOF
105889 rm -f conftest.$ac_objext
105890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105891   (eval $ac_compile) 2>conftest.er1
105892   ac_status=$?
105893   grep -v '^ *+' conftest.er1 >conftest.err
105894   rm -f conftest.er1
105895   cat conftest.err >&5
105896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105897   (exit $ac_status); } &&
105898          { ac_try='test -z "$ac_cxx_werror_flag"
105899                          || test ! -s conftest.err'
105900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105901   (eval $ac_try) 2>&5
105902   ac_status=$?
105903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105904   (exit $ac_status); }; } &&
105905          { ac_try='test -s conftest.$ac_objext'
105906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105907   (eval $ac_try) 2>&5
105908   ac_status=$?
105909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105910   (exit $ac_status); }; }; then
105911   glibcxx_cv_func___builtin_labs_use=yes
105912 else
105913   echo "$as_me: failed program was:" >&5
105914 sed 's/^/| /' conftest.$ac_ext >&5
105915
105916 glibcxx_cv_func___builtin_labs_use=no
105917 fi
105918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105919       ac_ext=c
105920 ac_cpp='$CPP $CPPFLAGS'
105921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105924
105925
105926 fi
105927
105928   fi
105929   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
105930 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
105931   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
105932     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
105933 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
105934     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
105935       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
105936   echo $ECHO_N "(cached) $ECHO_C" >&6
105937 else
105938
105939         if test x$gcc_no_link = xyes; then
105940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105942    { (exit 1); exit 1; }; }
105943 fi
105944 cat >conftest.$ac_ext <<_ACEOF
105945 /* confdefs.h.  */
105946 _ACEOF
105947 cat confdefs.h >>conftest.$ac_ext
105948 cat >>conftest.$ac_ext <<_ACEOF
105949 /* end confdefs.h.  */
105950 #include <math.h>
105951 int
105952 main ()
105953 {
105954  __builtin_labs(0);
105955   ;
105956   return 0;
105957 }
105958 _ACEOF
105959 rm -f conftest.$ac_objext conftest$ac_exeext
105960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105961   (eval $ac_link) 2>conftest.er1
105962   ac_status=$?
105963   grep -v '^ *+' conftest.er1 >conftest.err
105964   rm -f conftest.er1
105965   cat conftest.err >&5
105966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105967   (exit $ac_status); } &&
105968          { ac_try='test -z "$ac_c_werror_flag"
105969                          || test ! -s conftest.err'
105970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105971   (eval $ac_try) 2>&5
105972   ac_status=$?
105973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105974   (exit $ac_status); }; } &&
105975          { ac_try='test -s conftest$ac_exeext'
105976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105977   (eval $ac_try) 2>&5
105978   ac_status=$?
105979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
105980   (exit $ac_status); }; }; then
105981   glibcxx_cv_func___builtin_labs_link=yes
105982 else
105983   echo "$as_me: failed program was:" >&5
105984 sed 's/^/| /' conftest.$ac_ext >&5
105985
105986 glibcxx_cv_func___builtin_labs_link=no
105987 fi
105988 rm -f conftest.err conftest.$ac_objext \
105989       conftest$ac_exeext conftest.$ac_ext
105990
105991 fi
105992
105993     fi
105994     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
105995 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
105996
105997     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
105998
105999 cat >>confdefs.h <<\_ACEOF
106000 #define HAVE___BUILTIN_LABS 1
106001 _ACEOF
106002
106003     fi
106004
106005   fi
106006
106007
106008
106009   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
106010 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
106011   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
106012     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
106013   echo $ECHO_N "(cached) $ECHO_C" >&6
106014 else
106015
106016
106017
106018       ac_ext=cc
106019 ac_cpp='$CXXCPP $CPPFLAGS'
106020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106023
106024       cat >conftest.$ac_ext <<_ACEOF
106025 /* confdefs.h.  */
106026 _ACEOF
106027 cat confdefs.h >>conftest.$ac_ext
106028 cat >>conftest.$ac_ext <<_ACEOF
106029 /* end confdefs.h.  */
106030 #include <math.h>
106031 int
106032 main ()
106033 {
106034  __builtin_sqrtf(0);
106035   ;
106036   return 0;
106037 }
106038 _ACEOF
106039 rm -f conftest.$ac_objext
106040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106041   (eval $ac_compile) 2>conftest.er1
106042   ac_status=$?
106043   grep -v '^ *+' conftest.er1 >conftest.err
106044   rm -f conftest.er1
106045   cat conftest.err >&5
106046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106047   (exit $ac_status); } &&
106048          { ac_try='test -z "$ac_cxx_werror_flag"
106049                          || test ! -s conftest.err'
106050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106051   (eval $ac_try) 2>&5
106052   ac_status=$?
106053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106054   (exit $ac_status); }; } &&
106055          { ac_try='test -s conftest.$ac_objext'
106056   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106057   (eval $ac_try) 2>&5
106058   ac_status=$?
106059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106060   (exit $ac_status); }; }; then
106061   glibcxx_cv_func___builtin_sqrtf_use=yes
106062 else
106063   echo "$as_me: failed program was:" >&5
106064 sed 's/^/| /' conftest.$ac_ext >&5
106065
106066 glibcxx_cv_func___builtin_sqrtf_use=no
106067 fi
106068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106069       ac_ext=c
106070 ac_cpp='$CPP $CPPFLAGS'
106071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106074
106075
106076 fi
106077
106078   fi
106079   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
106080 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
106081   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
106082     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
106083 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
106084     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
106085       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
106086   echo $ECHO_N "(cached) $ECHO_C" >&6
106087 else
106088
106089         if test x$gcc_no_link = xyes; then
106090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106092    { (exit 1); exit 1; }; }
106093 fi
106094 cat >conftest.$ac_ext <<_ACEOF
106095 /* confdefs.h.  */
106096 _ACEOF
106097 cat confdefs.h >>conftest.$ac_ext
106098 cat >>conftest.$ac_ext <<_ACEOF
106099 /* end confdefs.h.  */
106100 #include <math.h>
106101 int
106102 main ()
106103 {
106104  __builtin_sqrtf(0);
106105   ;
106106   return 0;
106107 }
106108 _ACEOF
106109 rm -f conftest.$ac_objext conftest$ac_exeext
106110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106111   (eval $ac_link) 2>conftest.er1
106112   ac_status=$?
106113   grep -v '^ *+' conftest.er1 >conftest.err
106114   rm -f conftest.er1
106115   cat conftest.err >&5
106116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106117   (exit $ac_status); } &&
106118          { ac_try='test -z "$ac_c_werror_flag"
106119                          || test ! -s conftest.err'
106120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106121   (eval $ac_try) 2>&5
106122   ac_status=$?
106123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106124   (exit $ac_status); }; } &&
106125          { ac_try='test -s conftest$ac_exeext'
106126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106127   (eval $ac_try) 2>&5
106128   ac_status=$?
106129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106130   (exit $ac_status); }; }; then
106131   glibcxx_cv_func___builtin_sqrtf_link=yes
106132 else
106133   echo "$as_me: failed program was:" >&5
106134 sed 's/^/| /' conftest.$ac_ext >&5
106135
106136 glibcxx_cv_func___builtin_sqrtf_link=no
106137 fi
106138 rm -f conftest.err conftest.$ac_objext \
106139       conftest$ac_exeext conftest.$ac_ext
106140
106141 fi
106142
106143     fi
106144     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
106145 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
106146
106147     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
106148
106149 cat >>confdefs.h <<\_ACEOF
106150 #define HAVE___BUILTIN_SQRTF 1
106151 _ACEOF
106152
106153     fi
106154
106155   fi
106156
106157
106158   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
106159 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
106160   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
106161     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
106162   echo $ECHO_N "(cached) $ECHO_C" >&6
106163 else
106164
106165
106166
106167       ac_ext=cc
106168 ac_cpp='$CXXCPP $CPPFLAGS'
106169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106172
106173       cat >conftest.$ac_ext <<_ACEOF
106174 /* confdefs.h.  */
106175 _ACEOF
106176 cat confdefs.h >>conftest.$ac_ext
106177 cat >>conftest.$ac_ext <<_ACEOF
106178 /* end confdefs.h.  */
106179 #include <math.h>
106180 int
106181 main ()
106182 {
106183  __builtin_sqrt(0);
106184   ;
106185   return 0;
106186 }
106187 _ACEOF
106188 rm -f conftest.$ac_objext
106189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106190   (eval $ac_compile) 2>conftest.er1
106191   ac_status=$?
106192   grep -v '^ *+' conftest.er1 >conftest.err
106193   rm -f conftest.er1
106194   cat conftest.err >&5
106195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106196   (exit $ac_status); } &&
106197          { ac_try='test -z "$ac_cxx_werror_flag"
106198                          || test ! -s conftest.err'
106199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106200   (eval $ac_try) 2>&5
106201   ac_status=$?
106202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106203   (exit $ac_status); }; } &&
106204          { ac_try='test -s conftest.$ac_objext'
106205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106206   (eval $ac_try) 2>&5
106207   ac_status=$?
106208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106209   (exit $ac_status); }; }; then
106210   glibcxx_cv_func___builtin_sqrt_use=yes
106211 else
106212   echo "$as_me: failed program was:" >&5
106213 sed 's/^/| /' conftest.$ac_ext >&5
106214
106215 glibcxx_cv_func___builtin_sqrt_use=no
106216 fi
106217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106218       ac_ext=c
106219 ac_cpp='$CPP $CPPFLAGS'
106220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106223
106224
106225 fi
106226
106227   fi
106228   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
106229 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
106230   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
106231     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
106232 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
106233     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
106234       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
106235   echo $ECHO_N "(cached) $ECHO_C" >&6
106236 else
106237
106238         if test x$gcc_no_link = xyes; then
106239   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106241    { (exit 1); exit 1; }; }
106242 fi
106243 cat >conftest.$ac_ext <<_ACEOF
106244 /* confdefs.h.  */
106245 _ACEOF
106246 cat confdefs.h >>conftest.$ac_ext
106247 cat >>conftest.$ac_ext <<_ACEOF
106248 /* end confdefs.h.  */
106249 #include <math.h>
106250 int
106251 main ()
106252 {
106253  __builtin_sqrt(0);
106254   ;
106255   return 0;
106256 }
106257 _ACEOF
106258 rm -f conftest.$ac_objext conftest$ac_exeext
106259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106260   (eval $ac_link) 2>conftest.er1
106261   ac_status=$?
106262   grep -v '^ *+' conftest.er1 >conftest.err
106263   rm -f conftest.er1
106264   cat conftest.err >&5
106265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106266   (exit $ac_status); } &&
106267          { ac_try='test -z "$ac_c_werror_flag"
106268                          || test ! -s conftest.err'
106269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106270   (eval $ac_try) 2>&5
106271   ac_status=$?
106272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106273   (exit $ac_status); }; } &&
106274          { ac_try='test -s conftest$ac_exeext'
106275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106276   (eval $ac_try) 2>&5
106277   ac_status=$?
106278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106279   (exit $ac_status); }; }; then
106280   glibcxx_cv_func___builtin_sqrt_link=yes
106281 else
106282   echo "$as_me: failed program was:" >&5
106283 sed 's/^/| /' conftest.$ac_ext >&5
106284
106285 glibcxx_cv_func___builtin_sqrt_link=no
106286 fi
106287 rm -f conftest.err conftest.$ac_objext \
106288       conftest$ac_exeext conftest.$ac_ext
106289
106290 fi
106291
106292     fi
106293     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
106294 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
106295
106296     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
106297
106298 cat >>confdefs.h <<\_ACEOF
106299 #define HAVE___BUILTIN_SQRT 1
106300 _ACEOF
106301
106302     fi
106303
106304   fi
106305
106306
106307   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
106308 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
106309   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
106310     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
106311   echo $ECHO_N "(cached) $ECHO_C" >&6
106312 else
106313
106314
106315
106316       ac_ext=cc
106317 ac_cpp='$CXXCPP $CPPFLAGS'
106318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106321
106322       cat >conftest.$ac_ext <<_ACEOF
106323 /* confdefs.h.  */
106324 _ACEOF
106325 cat confdefs.h >>conftest.$ac_ext
106326 cat >>conftest.$ac_ext <<_ACEOF
106327 /* end confdefs.h.  */
106328 #include <math.h>
106329 int
106330 main ()
106331 {
106332  __builtin_sqrtl(0);
106333   ;
106334   return 0;
106335 }
106336 _ACEOF
106337 rm -f conftest.$ac_objext
106338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106339   (eval $ac_compile) 2>conftest.er1
106340   ac_status=$?
106341   grep -v '^ *+' conftest.er1 >conftest.err
106342   rm -f conftest.er1
106343   cat conftest.err >&5
106344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106345   (exit $ac_status); } &&
106346          { ac_try='test -z "$ac_cxx_werror_flag"
106347                          || test ! -s conftest.err'
106348   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106349   (eval $ac_try) 2>&5
106350   ac_status=$?
106351   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106352   (exit $ac_status); }; } &&
106353          { ac_try='test -s conftest.$ac_objext'
106354   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106355   (eval $ac_try) 2>&5
106356   ac_status=$?
106357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106358   (exit $ac_status); }; }; then
106359   glibcxx_cv_func___builtin_sqrtl_use=yes
106360 else
106361   echo "$as_me: failed program was:" >&5
106362 sed 's/^/| /' conftest.$ac_ext >&5
106363
106364 glibcxx_cv_func___builtin_sqrtl_use=no
106365 fi
106366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106367       ac_ext=c
106368 ac_cpp='$CPP $CPPFLAGS'
106369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106372
106373
106374 fi
106375
106376   fi
106377   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
106378 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
106379   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
106380     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
106381 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
106382     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
106383       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
106384   echo $ECHO_N "(cached) $ECHO_C" >&6
106385 else
106386
106387         if test x$gcc_no_link = xyes; then
106388   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106390    { (exit 1); exit 1; }; }
106391 fi
106392 cat >conftest.$ac_ext <<_ACEOF
106393 /* confdefs.h.  */
106394 _ACEOF
106395 cat confdefs.h >>conftest.$ac_ext
106396 cat >>conftest.$ac_ext <<_ACEOF
106397 /* end confdefs.h.  */
106398 #include <math.h>
106399 int
106400 main ()
106401 {
106402  __builtin_sqrtl(0);
106403   ;
106404   return 0;
106405 }
106406 _ACEOF
106407 rm -f conftest.$ac_objext conftest$ac_exeext
106408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106409   (eval $ac_link) 2>conftest.er1
106410   ac_status=$?
106411   grep -v '^ *+' conftest.er1 >conftest.err
106412   rm -f conftest.er1
106413   cat conftest.err >&5
106414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106415   (exit $ac_status); } &&
106416          { ac_try='test -z "$ac_c_werror_flag"
106417                          || test ! -s conftest.err'
106418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106419   (eval $ac_try) 2>&5
106420   ac_status=$?
106421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106422   (exit $ac_status); }; } &&
106423          { ac_try='test -s conftest$ac_exeext'
106424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106425   (eval $ac_try) 2>&5
106426   ac_status=$?
106427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106428   (exit $ac_status); }; }; then
106429   glibcxx_cv_func___builtin_sqrtl_link=yes
106430 else
106431   echo "$as_me: failed program was:" >&5
106432 sed 's/^/| /' conftest.$ac_ext >&5
106433
106434 glibcxx_cv_func___builtin_sqrtl_link=no
106435 fi
106436 rm -f conftest.err conftest.$ac_objext \
106437       conftest$ac_exeext conftest.$ac_ext
106438
106439 fi
106440
106441     fi
106442     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
106443 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
106444
106445     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
106446
106447 cat >>confdefs.h <<\_ACEOF
106448 #define HAVE___BUILTIN_SQRTL 1
106449 _ACEOF
106450
106451     fi
106452
106453   fi
106454
106455
106456
106457   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
106458 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
106459   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
106460     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
106461   echo $ECHO_N "(cached) $ECHO_C" >&6
106462 else
106463
106464
106465
106466       ac_ext=cc
106467 ac_cpp='$CXXCPP $CPPFLAGS'
106468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106471
106472       cat >conftest.$ac_ext <<_ACEOF
106473 /* confdefs.h.  */
106474 _ACEOF
106475 cat confdefs.h >>conftest.$ac_ext
106476 cat >>conftest.$ac_ext <<_ACEOF
106477 /* end confdefs.h.  */
106478 #include <math.h>
106479 int
106480 main ()
106481 {
106482  __builtin_sinf(0);
106483   ;
106484   return 0;
106485 }
106486 _ACEOF
106487 rm -f conftest.$ac_objext
106488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106489   (eval $ac_compile) 2>conftest.er1
106490   ac_status=$?
106491   grep -v '^ *+' conftest.er1 >conftest.err
106492   rm -f conftest.er1
106493   cat conftest.err >&5
106494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106495   (exit $ac_status); } &&
106496          { ac_try='test -z "$ac_cxx_werror_flag"
106497                          || test ! -s conftest.err'
106498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106499   (eval $ac_try) 2>&5
106500   ac_status=$?
106501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106502   (exit $ac_status); }; } &&
106503          { ac_try='test -s conftest.$ac_objext'
106504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106505   (eval $ac_try) 2>&5
106506   ac_status=$?
106507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106508   (exit $ac_status); }; }; then
106509   glibcxx_cv_func___builtin_sinf_use=yes
106510 else
106511   echo "$as_me: failed program was:" >&5
106512 sed 's/^/| /' conftest.$ac_ext >&5
106513
106514 glibcxx_cv_func___builtin_sinf_use=no
106515 fi
106516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106517       ac_ext=c
106518 ac_cpp='$CPP $CPPFLAGS'
106519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106522
106523
106524 fi
106525
106526   fi
106527   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
106528 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
106529   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
106530     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
106531 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
106532     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
106533       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
106534   echo $ECHO_N "(cached) $ECHO_C" >&6
106535 else
106536
106537         if test x$gcc_no_link = xyes; then
106538   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106540    { (exit 1); exit 1; }; }
106541 fi
106542 cat >conftest.$ac_ext <<_ACEOF
106543 /* confdefs.h.  */
106544 _ACEOF
106545 cat confdefs.h >>conftest.$ac_ext
106546 cat >>conftest.$ac_ext <<_ACEOF
106547 /* end confdefs.h.  */
106548 #include <math.h>
106549 int
106550 main ()
106551 {
106552  __builtin_sinf(0);
106553   ;
106554   return 0;
106555 }
106556 _ACEOF
106557 rm -f conftest.$ac_objext conftest$ac_exeext
106558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106559   (eval $ac_link) 2>conftest.er1
106560   ac_status=$?
106561   grep -v '^ *+' conftest.er1 >conftest.err
106562   rm -f conftest.er1
106563   cat conftest.err >&5
106564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106565   (exit $ac_status); } &&
106566          { ac_try='test -z "$ac_c_werror_flag"
106567                          || test ! -s conftest.err'
106568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106569   (eval $ac_try) 2>&5
106570   ac_status=$?
106571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106572   (exit $ac_status); }; } &&
106573          { ac_try='test -s conftest$ac_exeext'
106574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106575   (eval $ac_try) 2>&5
106576   ac_status=$?
106577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106578   (exit $ac_status); }; }; then
106579   glibcxx_cv_func___builtin_sinf_link=yes
106580 else
106581   echo "$as_me: failed program was:" >&5
106582 sed 's/^/| /' conftest.$ac_ext >&5
106583
106584 glibcxx_cv_func___builtin_sinf_link=no
106585 fi
106586 rm -f conftest.err conftest.$ac_objext \
106587       conftest$ac_exeext conftest.$ac_ext
106588
106589 fi
106590
106591     fi
106592     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
106593 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
106594
106595     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
106596
106597 cat >>confdefs.h <<\_ACEOF
106598 #define HAVE___BUILTIN_SINF 1
106599 _ACEOF
106600
106601     fi
106602
106603   fi
106604
106605
106606   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
106607 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
106608   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
106609     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
106610   echo $ECHO_N "(cached) $ECHO_C" >&6
106611 else
106612
106613
106614
106615       ac_ext=cc
106616 ac_cpp='$CXXCPP $CPPFLAGS'
106617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106620
106621       cat >conftest.$ac_ext <<_ACEOF
106622 /* confdefs.h.  */
106623 _ACEOF
106624 cat confdefs.h >>conftest.$ac_ext
106625 cat >>conftest.$ac_ext <<_ACEOF
106626 /* end confdefs.h.  */
106627 #include <math.h>
106628 int
106629 main ()
106630 {
106631  __builtin_sin(0);
106632   ;
106633   return 0;
106634 }
106635 _ACEOF
106636 rm -f conftest.$ac_objext
106637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106638   (eval $ac_compile) 2>conftest.er1
106639   ac_status=$?
106640   grep -v '^ *+' conftest.er1 >conftest.err
106641   rm -f conftest.er1
106642   cat conftest.err >&5
106643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106644   (exit $ac_status); } &&
106645          { ac_try='test -z "$ac_cxx_werror_flag"
106646                          || test ! -s conftest.err'
106647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106648   (eval $ac_try) 2>&5
106649   ac_status=$?
106650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106651   (exit $ac_status); }; } &&
106652          { ac_try='test -s conftest.$ac_objext'
106653   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106654   (eval $ac_try) 2>&5
106655   ac_status=$?
106656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106657   (exit $ac_status); }; }; then
106658   glibcxx_cv_func___builtin_sin_use=yes
106659 else
106660   echo "$as_me: failed program was:" >&5
106661 sed 's/^/| /' conftest.$ac_ext >&5
106662
106663 glibcxx_cv_func___builtin_sin_use=no
106664 fi
106665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106666       ac_ext=c
106667 ac_cpp='$CPP $CPPFLAGS'
106668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106671
106672
106673 fi
106674
106675   fi
106676   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
106677 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
106678   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
106679     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
106680 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
106681     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
106682       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
106683   echo $ECHO_N "(cached) $ECHO_C" >&6
106684 else
106685
106686         if test x$gcc_no_link = xyes; then
106687   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106689    { (exit 1); exit 1; }; }
106690 fi
106691 cat >conftest.$ac_ext <<_ACEOF
106692 /* confdefs.h.  */
106693 _ACEOF
106694 cat confdefs.h >>conftest.$ac_ext
106695 cat >>conftest.$ac_ext <<_ACEOF
106696 /* end confdefs.h.  */
106697 #include <math.h>
106698 int
106699 main ()
106700 {
106701  __builtin_sin(0);
106702   ;
106703   return 0;
106704 }
106705 _ACEOF
106706 rm -f conftest.$ac_objext conftest$ac_exeext
106707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106708   (eval $ac_link) 2>conftest.er1
106709   ac_status=$?
106710   grep -v '^ *+' conftest.er1 >conftest.err
106711   rm -f conftest.er1
106712   cat conftest.err >&5
106713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106714   (exit $ac_status); } &&
106715          { ac_try='test -z "$ac_c_werror_flag"
106716                          || test ! -s conftest.err'
106717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106718   (eval $ac_try) 2>&5
106719   ac_status=$?
106720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106721   (exit $ac_status); }; } &&
106722          { ac_try='test -s conftest$ac_exeext'
106723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106724   (eval $ac_try) 2>&5
106725   ac_status=$?
106726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106727   (exit $ac_status); }; }; then
106728   glibcxx_cv_func___builtin_sin_link=yes
106729 else
106730   echo "$as_me: failed program was:" >&5
106731 sed 's/^/| /' conftest.$ac_ext >&5
106732
106733 glibcxx_cv_func___builtin_sin_link=no
106734 fi
106735 rm -f conftest.err conftest.$ac_objext \
106736       conftest$ac_exeext conftest.$ac_ext
106737
106738 fi
106739
106740     fi
106741     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
106742 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
106743
106744     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
106745
106746 cat >>confdefs.h <<\_ACEOF
106747 #define HAVE___BUILTIN_SIN 1
106748 _ACEOF
106749
106750     fi
106751
106752   fi
106753
106754
106755   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
106756 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
106757   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
106758     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
106759   echo $ECHO_N "(cached) $ECHO_C" >&6
106760 else
106761
106762
106763
106764       ac_ext=cc
106765 ac_cpp='$CXXCPP $CPPFLAGS'
106766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106769
106770       cat >conftest.$ac_ext <<_ACEOF
106771 /* confdefs.h.  */
106772 _ACEOF
106773 cat confdefs.h >>conftest.$ac_ext
106774 cat >>conftest.$ac_ext <<_ACEOF
106775 /* end confdefs.h.  */
106776 #include <math.h>
106777 int
106778 main ()
106779 {
106780  __builtin_sinl(0);
106781   ;
106782   return 0;
106783 }
106784 _ACEOF
106785 rm -f conftest.$ac_objext
106786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106787   (eval $ac_compile) 2>conftest.er1
106788   ac_status=$?
106789   grep -v '^ *+' conftest.er1 >conftest.err
106790   rm -f conftest.er1
106791   cat conftest.err >&5
106792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106793   (exit $ac_status); } &&
106794          { ac_try='test -z "$ac_cxx_werror_flag"
106795                          || test ! -s conftest.err'
106796   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106797   (eval $ac_try) 2>&5
106798   ac_status=$?
106799   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106800   (exit $ac_status); }; } &&
106801          { ac_try='test -s conftest.$ac_objext'
106802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106803   (eval $ac_try) 2>&5
106804   ac_status=$?
106805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106806   (exit $ac_status); }; }; then
106807   glibcxx_cv_func___builtin_sinl_use=yes
106808 else
106809   echo "$as_me: failed program was:" >&5
106810 sed 's/^/| /' conftest.$ac_ext >&5
106811
106812 glibcxx_cv_func___builtin_sinl_use=no
106813 fi
106814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106815       ac_ext=c
106816 ac_cpp='$CPP $CPPFLAGS'
106817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106820
106821
106822 fi
106823
106824   fi
106825   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
106826 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
106827   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
106828     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
106829 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
106830     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
106831       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
106832   echo $ECHO_N "(cached) $ECHO_C" >&6
106833 else
106834
106835         if test x$gcc_no_link = xyes; then
106836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106838    { (exit 1); exit 1; }; }
106839 fi
106840 cat >conftest.$ac_ext <<_ACEOF
106841 /* confdefs.h.  */
106842 _ACEOF
106843 cat confdefs.h >>conftest.$ac_ext
106844 cat >>conftest.$ac_ext <<_ACEOF
106845 /* end confdefs.h.  */
106846 #include <math.h>
106847 int
106848 main ()
106849 {
106850  __builtin_sinl(0);
106851   ;
106852   return 0;
106853 }
106854 _ACEOF
106855 rm -f conftest.$ac_objext conftest$ac_exeext
106856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106857   (eval $ac_link) 2>conftest.er1
106858   ac_status=$?
106859   grep -v '^ *+' conftest.er1 >conftest.err
106860   rm -f conftest.er1
106861   cat conftest.err >&5
106862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106863   (exit $ac_status); } &&
106864          { ac_try='test -z "$ac_c_werror_flag"
106865                          || test ! -s conftest.err'
106866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106867   (eval $ac_try) 2>&5
106868   ac_status=$?
106869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106870   (exit $ac_status); }; } &&
106871          { ac_try='test -s conftest$ac_exeext'
106872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106873   (eval $ac_try) 2>&5
106874   ac_status=$?
106875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106876   (exit $ac_status); }; }; then
106877   glibcxx_cv_func___builtin_sinl_link=yes
106878 else
106879   echo "$as_me: failed program was:" >&5
106880 sed 's/^/| /' conftest.$ac_ext >&5
106881
106882 glibcxx_cv_func___builtin_sinl_link=no
106883 fi
106884 rm -f conftest.err conftest.$ac_objext \
106885       conftest$ac_exeext conftest.$ac_ext
106886
106887 fi
106888
106889     fi
106890     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
106891 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
106892
106893     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
106894
106895 cat >>confdefs.h <<\_ACEOF
106896 #define HAVE___BUILTIN_SINL 1
106897 _ACEOF
106898
106899     fi
106900
106901   fi
106902
106903
106904
106905   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
106906 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
106907   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
106908     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
106909   echo $ECHO_N "(cached) $ECHO_C" >&6
106910 else
106911
106912
106913
106914       ac_ext=cc
106915 ac_cpp='$CXXCPP $CPPFLAGS'
106916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106919
106920       cat >conftest.$ac_ext <<_ACEOF
106921 /* confdefs.h.  */
106922 _ACEOF
106923 cat confdefs.h >>conftest.$ac_ext
106924 cat >>conftest.$ac_ext <<_ACEOF
106925 /* end confdefs.h.  */
106926 #include <math.h>
106927 int
106928 main ()
106929 {
106930  __builtin_cosf(0);
106931   ;
106932   return 0;
106933 }
106934 _ACEOF
106935 rm -f conftest.$ac_objext
106936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106937   (eval $ac_compile) 2>conftest.er1
106938   ac_status=$?
106939   grep -v '^ *+' conftest.er1 >conftest.err
106940   rm -f conftest.er1
106941   cat conftest.err >&5
106942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106943   (exit $ac_status); } &&
106944          { ac_try='test -z "$ac_cxx_werror_flag"
106945                          || test ! -s conftest.err'
106946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106947   (eval $ac_try) 2>&5
106948   ac_status=$?
106949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106950   (exit $ac_status); }; } &&
106951          { ac_try='test -s conftest.$ac_objext'
106952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106953   (eval $ac_try) 2>&5
106954   ac_status=$?
106955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
106956   (exit $ac_status); }; }; then
106957   glibcxx_cv_func___builtin_cosf_use=yes
106958 else
106959   echo "$as_me: failed program was:" >&5
106960 sed 's/^/| /' conftest.$ac_ext >&5
106961
106962 glibcxx_cv_func___builtin_cosf_use=no
106963 fi
106964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106965       ac_ext=c
106966 ac_cpp='$CPP $CPPFLAGS'
106967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106970
106971
106972 fi
106973
106974   fi
106975   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
106976 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
106977   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
106978     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
106979 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
106980     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
106981       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
106982   echo $ECHO_N "(cached) $ECHO_C" >&6
106983 else
106984
106985         if test x$gcc_no_link = xyes; then
106986   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106988    { (exit 1); exit 1; }; }
106989 fi
106990 cat >conftest.$ac_ext <<_ACEOF
106991 /* confdefs.h.  */
106992 _ACEOF
106993 cat confdefs.h >>conftest.$ac_ext
106994 cat >>conftest.$ac_ext <<_ACEOF
106995 /* end confdefs.h.  */
106996 #include <math.h>
106997 int
106998 main ()
106999 {
107000  __builtin_cosf(0);
107001   ;
107002   return 0;
107003 }
107004 _ACEOF
107005 rm -f conftest.$ac_objext conftest$ac_exeext
107006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107007   (eval $ac_link) 2>conftest.er1
107008   ac_status=$?
107009   grep -v '^ *+' conftest.er1 >conftest.err
107010   rm -f conftest.er1
107011   cat conftest.err >&5
107012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107013   (exit $ac_status); } &&
107014          { ac_try='test -z "$ac_c_werror_flag"
107015                          || test ! -s conftest.err'
107016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107017   (eval $ac_try) 2>&5
107018   ac_status=$?
107019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107020   (exit $ac_status); }; } &&
107021          { ac_try='test -s conftest$ac_exeext'
107022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107023   (eval $ac_try) 2>&5
107024   ac_status=$?
107025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107026   (exit $ac_status); }; }; then
107027   glibcxx_cv_func___builtin_cosf_link=yes
107028 else
107029   echo "$as_me: failed program was:" >&5
107030 sed 's/^/| /' conftest.$ac_ext >&5
107031
107032 glibcxx_cv_func___builtin_cosf_link=no
107033 fi
107034 rm -f conftest.err conftest.$ac_objext \
107035       conftest$ac_exeext conftest.$ac_ext
107036
107037 fi
107038
107039     fi
107040     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
107041 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
107042
107043     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
107044
107045 cat >>confdefs.h <<\_ACEOF
107046 #define HAVE___BUILTIN_COSF 1
107047 _ACEOF
107048
107049     fi
107050
107051   fi
107052
107053
107054   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
107055 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
107056   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
107057     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
107058   echo $ECHO_N "(cached) $ECHO_C" >&6
107059 else
107060
107061
107062
107063       ac_ext=cc
107064 ac_cpp='$CXXCPP $CPPFLAGS'
107065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107068
107069       cat >conftest.$ac_ext <<_ACEOF
107070 /* confdefs.h.  */
107071 _ACEOF
107072 cat confdefs.h >>conftest.$ac_ext
107073 cat >>conftest.$ac_ext <<_ACEOF
107074 /* end confdefs.h.  */
107075 #include <math.h>
107076 int
107077 main ()
107078 {
107079  __builtin_cos(0);
107080   ;
107081   return 0;
107082 }
107083 _ACEOF
107084 rm -f conftest.$ac_objext
107085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107086   (eval $ac_compile) 2>conftest.er1
107087   ac_status=$?
107088   grep -v '^ *+' conftest.er1 >conftest.err
107089   rm -f conftest.er1
107090   cat conftest.err >&5
107091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107092   (exit $ac_status); } &&
107093          { ac_try='test -z "$ac_cxx_werror_flag"
107094                          || test ! -s conftest.err'
107095   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107096   (eval $ac_try) 2>&5
107097   ac_status=$?
107098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107099   (exit $ac_status); }; } &&
107100          { ac_try='test -s conftest.$ac_objext'
107101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107102   (eval $ac_try) 2>&5
107103   ac_status=$?
107104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107105   (exit $ac_status); }; }; then
107106   glibcxx_cv_func___builtin_cos_use=yes
107107 else
107108   echo "$as_me: failed program was:" >&5
107109 sed 's/^/| /' conftest.$ac_ext >&5
107110
107111 glibcxx_cv_func___builtin_cos_use=no
107112 fi
107113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107114       ac_ext=c
107115 ac_cpp='$CPP $CPPFLAGS'
107116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107119
107120
107121 fi
107122
107123   fi
107124   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
107125 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
107126   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
107127     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
107128 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
107129     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
107130       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
107131   echo $ECHO_N "(cached) $ECHO_C" >&6
107132 else
107133
107134         if test x$gcc_no_link = xyes; then
107135   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107137    { (exit 1); exit 1; }; }
107138 fi
107139 cat >conftest.$ac_ext <<_ACEOF
107140 /* confdefs.h.  */
107141 _ACEOF
107142 cat confdefs.h >>conftest.$ac_ext
107143 cat >>conftest.$ac_ext <<_ACEOF
107144 /* end confdefs.h.  */
107145 #include <math.h>
107146 int
107147 main ()
107148 {
107149  __builtin_cos(0);
107150   ;
107151   return 0;
107152 }
107153 _ACEOF
107154 rm -f conftest.$ac_objext conftest$ac_exeext
107155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107156   (eval $ac_link) 2>conftest.er1
107157   ac_status=$?
107158   grep -v '^ *+' conftest.er1 >conftest.err
107159   rm -f conftest.er1
107160   cat conftest.err >&5
107161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107162   (exit $ac_status); } &&
107163          { ac_try='test -z "$ac_c_werror_flag"
107164                          || test ! -s conftest.err'
107165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107166   (eval $ac_try) 2>&5
107167   ac_status=$?
107168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107169   (exit $ac_status); }; } &&
107170          { ac_try='test -s conftest$ac_exeext'
107171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107172   (eval $ac_try) 2>&5
107173   ac_status=$?
107174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107175   (exit $ac_status); }; }; then
107176   glibcxx_cv_func___builtin_cos_link=yes
107177 else
107178   echo "$as_me: failed program was:" >&5
107179 sed 's/^/| /' conftest.$ac_ext >&5
107180
107181 glibcxx_cv_func___builtin_cos_link=no
107182 fi
107183 rm -f conftest.err conftest.$ac_objext \
107184       conftest$ac_exeext conftest.$ac_ext
107185
107186 fi
107187
107188     fi
107189     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
107190 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
107191
107192     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
107193
107194 cat >>confdefs.h <<\_ACEOF
107195 #define HAVE___BUILTIN_COS 1
107196 _ACEOF
107197
107198     fi
107199
107200   fi
107201
107202
107203   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
107204 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
107205   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
107206     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
107207   echo $ECHO_N "(cached) $ECHO_C" >&6
107208 else
107209
107210
107211
107212       ac_ext=cc
107213 ac_cpp='$CXXCPP $CPPFLAGS'
107214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107217
107218       cat >conftest.$ac_ext <<_ACEOF
107219 /* confdefs.h.  */
107220 _ACEOF
107221 cat confdefs.h >>conftest.$ac_ext
107222 cat >>conftest.$ac_ext <<_ACEOF
107223 /* end confdefs.h.  */
107224 #include <math.h>
107225 int
107226 main ()
107227 {
107228  __builtin_cosl(0);
107229   ;
107230   return 0;
107231 }
107232 _ACEOF
107233 rm -f conftest.$ac_objext
107234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107235   (eval $ac_compile) 2>conftest.er1
107236   ac_status=$?
107237   grep -v '^ *+' conftest.er1 >conftest.err
107238   rm -f conftest.er1
107239   cat conftest.err >&5
107240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107241   (exit $ac_status); } &&
107242          { ac_try='test -z "$ac_cxx_werror_flag"
107243                          || test ! -s conftest.err'
107244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107245   (eval $ac_try) 2>&5
107246   ac_status=$?
107247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107248   (exit $ac_status); }; } &&
107249          { ac_try='test -s conftest.$ac_objext'
107250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107251   (eval $ac_try) 2>&5
107252   ac_status=$?
107253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107254   (exit $ac_status); }; }; then
107255   glibcxx_cv_func___builtin_cosl_use=yes
107256 else
107257   echo "$as_me: failed program was:" >&5
107258 sed 's/^/| /' conftest.$ac_ext >&5
107259
107260 glibcxx_cv_func___builtin_cosl_use=no
107261 fi
107262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107263       ac_ext=c
107264 ac_cpp='$CPP $CPPFLAGS'
107265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107268
107269
107270 fi
107271
107272   fi
107273   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
107274 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
107275   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
107276     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
107277 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
107278     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
107279       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
107280   echo $ECHO_N "(cached) $ECHO_C" >&6
107281 else
107282
107283         if test x$gcc_no_link = xyes; then
107284   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107286    { (exit 1); exit 1; }; }
107287 fi
107288 cat >conftest.$ac_ext <<_ACEOF
107289 /* confdefs.h.  */
107290 _ACEOF
107291 cat confdefs.h >>conftest.$ac_ext
107292 cat >>conftest.$ac_ext <<_ACEOF
107293 /* end confdefs.h.  */
107294 #include <math.h>
107295 int
107296 main ()
107297 {
107298  __builtin_cosl(0);
107299   ;
107300   return 0;
107301 }
107302 _ACEOF
107303 rm -f conftest.$ac_objext conftest$ac_exeext
107304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107305   (eval $ac_link) 2>conftest.er1
107306   ac_status=$?
107307   grep -v '^ *+' conftest.er1 >conftest.err
107308   rm -f conftest.er1
107309   cat conftest.err >&5
107310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107311   (exit $ac_status); } &&
107312          { ac_try='test -z "$ac_c_werror_flag"
107313                          || test ! -s conftest.err'
107314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107315   (eval $ac_try) 2>&5
107316   ac_status=$?
107317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107318   (exit $ac_status); }; } &&
107319          { ac_try='test -s conftest$ac_exeext'
107320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107321   (eval $ac_try) 2>&5
107322   ac_status=$?
107323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107324   (exit $ac_status); }; }; then
107325   glibcxx_cv_func___builtin_cosl_link=yes
107326 else
107327   echo "$as_me: failed program was:" >&5
107328 sed 's/^/| /' conftest.$ac_ext >&5
107329
107330 glibcxx_cv_func___builtin_cosl_link=no
107331 fi
107332 rm -f conftest.err conftest.$ac_objext \
107333       conftest$ac_exeext conftest.$ac_ext
107334
107335 fi
107336
107337     fi
107338     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
107339 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
107340
107341     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
107342
107343 cat >>confdefs.h <<\_ACEOF
107344 #define HAVE___BUILTIN_COSL 1
107345 _ACEOF
107346
107347     fi
107348
107349   fi
107350
107351
107352
107353
107354 echo "$as_me:$LINENO: checking for main in -lm" >&5
107355 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
107356 if test "${ac_cv_lib_m_main+set}" = set; then
107357   echo $ECHO_N "(cached) $ECHO_C" >&6
107358 else
107359   ac_check_lib_save_LIBS=$LIBS
107360 LIBS="-lm  $LIBS"
107361 if test x$gcc_no_link = xyes; then
107362   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107364    { (exit 1); exit 1; }; }
107365 fi
107366 cat >conftest.$ac_ext <<_ACEOF
107367 /* confdefs.h.  */
107368 _ACEOF
107369 cat confdefs.h >>conftest.$ac_ext
107370 cat >>conftest.$ac_ext <<_ACEOF
107371 /* end confdefs.h.  */
107372
107373
107374 int
107375 main ()
107376 {
107377 main ();
107378   ;
107379   return 0;
107380 }
107381 _ACEOF
107382 rm -f conftest.$ac_objext conftest$ac_exeext
107383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107384   (eval $ac_link) 2>conftest.er1
107385   ac_status=$?
107386   grep -v '^ *+' conftest.er1 >conftest.err
107387   rm -f conftest.er1
107388   cat conftest.err >&5
107389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107390   (exit $ac_status); } &&
107391          { ac_try='test -z "$ac_c_werror_flag"
107392                          || test ! -s conftest.err'
107393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107394   (eval $ac_try) 2>&5
107395   ac_status=$?
107396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107397   (exit $ac_status); }; } &&
107398          { ac_try='test -s conftest$ac_exeext'
107399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107400   (eval $ac_try) 2>&5
107401   ac_status=$?
107402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107403   (exit $ac_status); }; }; then
107404   ac_cv_lib_m_main=yes
107405 else
107406   echo "$as_me: failed program was:" >&5
107407 sed 's/^/| /' conftest.$ac_ext >&5
107408
107409 ac_cv_lib_m_main=no
107410 fi
107411 rm -f conftest.err conftest.$ac_objext \
107412       conftest$ac_exeext conftest.$ac_ext
107413 LIBS=$ac_check_lib_save_LIBS
107414 fi
107415 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
107416 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
107417 if test $ac_cv_lib_m_main = yes; then
107418   cat >>confdefs.h <<_ACEOF
107419 #define HAVE_LIBM 1
107420 _ACEOF
107421
107422   LIBS="-lm $LIBS"
107423
107424 fi
107425
107426
107427 for ac_func in copysignf
107428 do
107429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107430 echo "$as_me:$LINENO: checking for $ac_func" >&5
107431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107432 if eval "test \"\${$as_ac_var+set}\" = set"; then
107433   echo $ECHO_N "(cached) $ECHO_C" >&6
107434 else
107435   if test x$gcc_no_link = xyes; then
107436   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107438    { (exit 1); exit 1; }; }
107439 fi
107440 cat >conftest.$ac_ext <<_ACEOF
107441 /* confdefs.h.  */
107442 _ACEOF
107443 cat confdefs.h >>conftest.$ac_ext
107444 cat >>conftest.$ac_ext <<_ACEOF
107445 /* end confdefs.h.  */
107446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107447    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107448 #define $ac_func innocuous_$ac_func
107449
107450 /* System header to define __stub macros and hopefully few prototypes,
107451     which can conflict with char $ac_func (); below.
107452     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107453     <limits.h> exists even on freestanding compilers.  */
107454
107455 #ifdef __STDC__
107456 # include <limits.h>
107457 #else
107458 # include <assert.h>
107459 #endif
107460
107461 #undef $ac_func
107462
107463 /* Override any gcc2 internal prototype to avoid an error.  */
107464 #ifdef __cplusplus
107465 extern "C"
107466 {
107467 #endif
107468 /* We use char because int might match the return type of a gcc2
107469    builtin and then its argument prototype would still apply.  */
107470 char $ac_func ();
107471 /* The GNU C library defines this for functions which it implements
107472     to always fail with ENOSYS.  Some functions are actually named
107473     something starting with __ and the normal name is an alias.  */
107474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107475 choke me
107476 #else
107477 char (*f) () = $ac_func;
107478 #endif
107479 #ifdef __cplusplus
107480 }
107481 #endif
107482
107483 int
107484 main ()
107485 {
107486 return f != $ac_func;
107487   ;
107488   return 0;
107489 }
107490 _ACEOF
107491 rm -f conftest.$ac_objext conftest$ac_exeext
107492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107493   (eval $ac_link) 2>conftest.er1
107494   ac_status=$?
107495   grep -v '^ *+' conftest.er1 >conftest.err
107496   rm -f conftest.er1
107497   cat conftest.err >&5
107498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107499   (exit $ac_status); } &&
107500          { ac_try='test -z "$ac_c_werror_flag"
107501                          || test ! -s conftest.err'
107502   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107503   (eval $ac_try) 2>&5
107504   ac_status=$?
107505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107506   (exit $ac_status); }; } &&
107507          { ac_try='test -s conftest$ac_exeext'
107508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107509   (eval $ac_try) 2>&5
107510   ac_status=$?
107511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107512   (exit $ac_status); }; }; then
107513   eval "$as_ac_var=yes"
107514 else
107515   echo "$as_me: failed program was:" >&5
107516 sed 's/^/| /' conftest.$ac_ext >&5
107517
107518 eval "$as_ac_var=no"
107519 fi
107520 rm -f conftest.err conftest.$ac_objext \
107521       conftest$ac_exeext conftest.$ac_ext
107522 fi
107523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107525 if test `eval echo '${'$as_ac_var'}'` = yes; then
107526   cat >>confdefs.h <<_ACEOF
107527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107528 _ACEOF
107529
107530 else
107531   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
107532 fi
107533 done
107534
107535
107536
107537 for ac_func in __signbit
107538 do
107539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107540 echo "$as_me:$LINENO: checking for $ac_func" >&5
107541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107542 if eval "test \"\${$as_ac_var+set}\" = set"; then
107543   echo $ECHO_N "(cached) $ECHO_C" >&6
107544 else
107545   if test x$gcc_no_link = xyes; then
107546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107548    { (exit 1); exit 1; }; }
107549 fi
107550 cat >conftest.$ac_ext <<_ACEOF
107551 /* confdefs.h.  */
107552 _ACEOF
107553 cat confdefs.h >>conftest.$ac_ext
107554 cat >>conftest.$ac_ext <<_ACEOF
107555 /* end confdefs.h.  */
107556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107557    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107558 #define $ac_func innocuous_$ac_func
107559
107560 /* System header to define __stub macros and hopefully few prototypes,
107561     which can conflict with char $ac_func (); below.
107562     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107563     <limits.h> exists even on freestanding compilers.  */
107564
107565 #ifdef __STDC__
107566 # include <limits.h>
107567 #else
107568 # include <assert.h>
107569 #endif
107570
107571 #undef $ac_func
107572
107573 /* Override any gcc2 internal prototype to avoid an error.  */
107574 #ifdef __cplusplus
107575 extern "C"
107576 {
107577 #endif
107578 /* We use char because int might match the return type of a gcc2
107579    builtin and then its argument prototype would still apply.  */
107580 char $ac_func ();
107581 /* The GNU C library defines this for functions which it implements
107582     to always fail with ENOSYS.  Some functions are actually named
107583     something starting with __ and the normal name is an alias.  */
107584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107585 choke me
107586 #else
107587 char (*f) () = $ac_func;
107588 #endif
107589 #ifdef __cplusplus
107590 }
107591 #endif
107592
107593 int
107594 main ()
107595 {
107596 return f != $ac_func;
107597   ;
107598   return 0;
107599 }
107600 _ACEOF
107601 rm -f conftest.$ac_objext conftest$ac_exeext
107602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107603   (eval $ac_link) 2>conftest.er1
107604   ac_status=$?
107605   grep -v '^ *+' conftest.er1 >conftest.err
107606   rm -f conftest.er1
107607   cat conftest.err >&5
107608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107609   (exit $ac_status); } &&
107610          { ac_try='test -z "$ac_c_werror_flag"
107611                          || test ! -s conftest.err'
107612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107613   (eval $ac_try) 2>&5
107614   ac_status=$?
107615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107616   (exit $ac_status); }; } &&
107617          { ac_try='test -s conftest$ac_exeext'
107618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107619   (eval $ac_try) 2>&5
107620   ac_status=$?
107621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107622   (exit $ac_status); }; }; then
107623   eval "$as_ac_var=yes"
107624 else
107625   echo "$as_me: failed program was:" >&5
107626 sed 's/^/| /' conftest.$ac_ext >&5
107627
107628 eval "$as_ac_var=no"
107629 fi
107630 rm -f conftest.err conftest.$ac_objext \
107631       conftest$ac_exeext conftest.$ac_ext
107632 fi
107633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107635 if test `eval echo '${'$as_ac_var'}'` = yes; then
107636   cat >>confdefs.h <<_ACEOF
107637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107638 _ACEOF
107639
107640 else
107641   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
107642 fi
107643 done
107644
107645
107646
107647 for ac_func in __signbitf
107648 do
107649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107650 echo "$as_me:$LINENO: checking for $ac_func" >&5
107651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107652 if eval "test \"\${$as_ac_var+set}\" = set"; then
107653   echo $ECHO_N "(cached) $ECHO_C" >&6
107654 else
107655   if test x$gcc_no_link = xyes; then
107656   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107658    { (exit 1); exit 1; }; }
107659 fi
107660 cat >conftest.$ac_ext <<_ACEOF
107661 /* confdefs.h.  */
107662 _ACEOF
107663 cat confdefs.h >>conftest.$ac_ext
107664 cat >>conftest.$ac_ext <<_ACEOF
107665 /* end confdefs.h.  */
107666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107667    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107668 #define $ac_func innocuous_$ac_func
107669
107670 /* System header to define __stub macros and hopefully few prototypes,
107671     which can conflict with char $ac_func (); below.
107672     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107673     <limits.h> exists even on freestanding compilers.  */
107674
107675 #ifdef __STDC__
107676 # include <limits.h>
107677 #else
107678 # include <assert.h>
107679 #endif
107680
107681 #undef $ac_func
107682
107683 /* Override any gcc2 internal prototype to avoid an error.  */
107684 #ifdef __cplusplus
107685 extern "C"
107686 {
107687 #endif
107688 /* We use char because int might match the return type of a gcc2
107689    builtin and then its argument prototype would still apply.  */
107690 char $ac_func ();
107691 /* The GNU C library defines this for functions which it implements
107692     to always fail with ENOSYS.  Some functions are actually named
107693     something starting with __ and the normal name is an alias.  */
107694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107695 choke me
107696 #else
107697 char (*f) () = $ac_func;
107698 #endif
107699 #ifdef __cplusplus
107700 }
107701 #endif
107702
107703 int
107704 main ()
107705 {
107706 return f != $ac_func;
107707   ;
107708   return 0;
107709 }
107710 _ACEOF
107711 rm -f conftest.$ac_objext conftest$ac_exeext
107712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107713   (eval $ac_link) 2>conftest.er1
107714   ac_status=$?
107715   grep -v '^ *+' conftest.er1 >conftest.err
107716   rm -f conftest.er1
107717   cat conftest.err >&5
107718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107719   (exit $ac_status); } &&
107720          { ac_try='test -z "$ac_c_werror_flag"
107721                          || test ! -s conftest.err'
107722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107723   (eval $ac_try) 2>&5
107724   ac_status=$?
107725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107726   (exit $ac_status); }; } &&
107727          { ac_try='test -s conftest$ac_exeext'
107728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107729   (eval $ac_try) 2>&5
107730   ac_status=$?
107731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107732   (exit $ac_status); }; }; then
107733   eval "$as_ac_var=yes"
107734 else
107735   echo "$as_me: failed program was:" >&5
107736 sed 's/^/| /' conftest.$ac_ext >&5
107737
107738 eval "$as_ac_var=no"
107739 fi
107740 rm -f conftest.err conftest.$ac_objext \
107741       conftest$ac_exeext conftest.$ac_ext
107742 fi
107743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107745 if test `eval echo '${'$as_ac_var'}'` = yes; then
107746   cat >>confdefs.h <<_ACEOF
107747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107748 _ACEOF
107749
107750 else
107751   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
107752 fi
107753 done
107754
107755
107756           if test x$ac_cv_func_copysignl = x"yes"; then
107757
107758 for ac_func in __signbitl
107759 do
107760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107761 echo "$as_me:$LINENO: checking for $ac_func" >&5
107762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107763 if eval "test \"\${$as_ac_var+set}\" = set"; then
107764   echo $ECHO_N "(cached) $ECHO_C" >&6
107765 else
107766   if test x$gcc_no_link = xyes; then
107767   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107769    { (exit 1); exit 1; }; }
107770 fi
107771 cat >conftest.$ac_ext <<_ACEOF
107772 /* confdefs.h.  */
107773 _ACEOF
107774 cat confdefs.h >>conftest.$ac_ext
107775 cat >>conftest.$ac_ext <<_ACEOF
107776 /* end confdefs.h.  */
107777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107778    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107779 #define $ac_func innocuous_$ac_func
107780
107781 /* System header to define __stub macros and hopefully few prototypes,
107782     which can conflict with char $ac_func (); below.
107783     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107784     <limits.h> exists even on freestanding compilers.  */
107785
107786 #ifdef __STDC__
107787 # include <limits.h>
107788 #else
107789 # include <assert.h>
107790 #endif
107791
107792 #undef $ac_func
107793
107794 /* Override any gcc2 internal prototype to avoid an error.  */
107795 #ifdef __cplusplus
107796 extern "C"
107797 {
107798 #endif
107799 /* We use char because int might match the return type of a gcc2
107800    builtin and then its argument prototype would still apply.  */
107801 char $ac_func ();
107802 /* The GNU C library defines this for functions which it implements
107803     to always fail with ENOSYS.  Some functions are actually named
107804     something starting with __ and the normal name is an alias.  */
107805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107806 choke me
107807 #else
107808 char (*f) () = $ac_func;
107809 #endif
107810 #ifdef __cplusplus
107811 }
107812 #endif
107813
107814 int
107815 main ()
107816 {
107817 return f != $ac_func;
107818   ;
107819   return 0;
107820 }
107821 _ACEOF
107822 rm -f conftest.$ac_objext conftest$ac_exeext
107823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107824   (eval $ac_link) 2>conftest.er1
107825   ac_status=$?
107826   grep -v '^ *+' conftest.er1 >conftest.err
107827   rm -f conftest.er1
107828   cat conftest.err >&5
107829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107830   (exit $ac_status); } &&
107831          { ac_try='test -z "$ac_c_werror_flag"
107832                          || test ! -s conftest.err'
107833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107834   (eval $ac_try) 2>&5
107835   ac_status=$?
107836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107837   (exit $ac_status); }; } &&
107838          { ac_try='test -s conftest$ac_exeext'
107839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107840   (eval $ac_try) 2>&5
107841   ac_status=$?
107842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107843   (exit $ac_status); }; }; then
107844   eval "$as_ac_var=yes"
107845 else
107846   echo "$as_me: failed program was:" >&5
107847 sed 's/^/| /' conftest.$ac_ext >&5
107848
107849 eval "$as_ac_var=no"
107850 fi
107851 rm -f conftest.err conftest.$ac_objext \
107852       conftest$ac_exeext conftest.$ac_ext
107853 fi
107854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107856 if test `eval echo '${'$as_ac_var'}'` = yes; then
107857   cat >>confdefs.h <<_ACEOF
107858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107859 _ACEOF
107860
107861 else
107862   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
107863 fi
107864 done
107865
107866   fi
107867
107868   # Used in libmath/Makefile.am.
107869   if test -n "$LIBMATHOBJS"; then
107870     need_libmath=yes
107871   fi
107872
107873
107874
107875   ac_test_CXXFLAGS="${CXXFLAGS+set}"
107876   ac_save_CXXFLAGS="$CXXFLAGS"
107877   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
107878
107879
107880   echo "$as_me:$LINENO: checking for strtold declaration" >&5
107881 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
107882   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
107883     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
107884   echo $ECHO_N "(cached) $ECHO_C" >&6
107885 else
107886
107887
107888
107889       ac_ext=cc
107890 ac_cpp='$CXXCPP $CPPFLAGS'
107891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107894
107895       cat >conftest.$ac_ext <<_ACEOF
107896 /* confdefs.h.  */
107897 _ACEOF
107898 cat confdefs.h >>conftest.$ac_ext
107899 cat >>conftest.$ac_ext <<_ACEOF
107900 /* end confdefs.h.  */
107901 #include <stdlib.h>
107902 int
107903 main ()
107904 {
107905  strtold(0, 0);
107906   ;
107907   return 0;
107908 }
107909 _ACEOF
107910 rm -f conftest.$ac_objext
107911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107912   (eval $ac_compile) 2>conftest.er1
107913   ac_status=$?
107914   grep -v '^ *+' conftest.er1 >conftest.err
107915   rm -f conftest.er1
107916   cat conftest.err >&5
107917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107918   (exit $ac_status); } &&
107919          { ac_try='test -z "$ac_cxx_werror_flag"
107920                          || test ! -s conftest.err'
107921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107922   (eval $ac_try) 2>&5
107923   ac_status=$?
107924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107925   (exit $ac_status); }; } &&
107926          { ac_try='test -s conftest.$ac_objext'
107927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107928   (eval $ac_try) 2>&5
107929   ac_status=$?
107930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
107931   (exit $ac_status); }; }; then
107932   glibcxx_cv_func_strtold_use=yes
107933 else
107934   echo "$as_me: failed program was:" >&5
107935 sed 's/^/| /' conftest.$ac_ext >&5
107936
107937 glibcxx_cv_func_strtold_use=no
107938 fi
107939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107940       ac_ext=c
107941 ac_cpp='$CPP $CPPFLAGS'
107942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107945
107946
107947 fi
107948
107949   fi
107950   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
107951 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
107952   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
107953
107954 for ac_func in strtold
107955 do
107956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107957 echo "$as_me:$LINENO: checking for $ac_func" >&5
107958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107959 if eval "test \"\${$as_ac_var+set}\" = set"; then
107960   echo $ECHO_N "(cached) $ECHO_C" >&6
107961 else
107962   if test x$gcc_no_link = xyes; then
107963   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107965    { (exit 1); exit 1; }; }
107966 fi
107967 cat >conftest.$ac_ext <<_ACEOF
107968 /* confdefs.h.  */
107969 _ACEOF
107970 cat confdefs.h >>conftest.$ac_ext
107971 cat >>conftest.$ac_ext <<_ACEOF
107972 /* end confdefs.h.  */
107973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107974    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
107975 #define $ac_func innocuous_$ac_func
107976
107977 /* System header to define __stub macros and hopefully few prototypes,
107978     which can conflict with char $ac_func (); below.
107979     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107980     <limits.h> exists even on freestanding compilers.  */
107981
107982 #ifdef __STDC__
107983 # include <limits.h>
107984 #else
107985 # include <assert.h>
107986 #endif
107987
107988 #undef $ac_func
107989
107990 /* Override any gcc2 internal prototype to avoid an error.  */
107991 #ifdef __cplusplus
107992 extern "C"
107993 {
107994 #endif
107995 /* We use char because int might match the return type of a gcc2
107996    builtin and then its argument prototype would still apply.  */
107997 char $ac_func ();
107998 /* The GNU C library defines this for functions which it implements
107999     to always fail with ENOSYS.  Some functions are actually named
108000     something starting with __ and the normal name is an alias.  */
108001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108002 choke me
108003 #else
108004 char (*f) () = $ac_func;
108005 #endif
108006 #ifdef __cplusplus
108007 }
108008 #endif
108009
108010 int
108011 main ()
108012 {
108013 return f != $ac_func;
108014   ;
108015   return 0;
108016 }
108017 _ACEOF
108018 rm -f conftest.$ac_objext conftest$ac_exeext
108019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108020   (eval $ac_link) 2>conftest.er1
108021   ac_status=$?
108022   grep -v '^ *+' conftest.er1 >conftest.err
108023   rm -f conftest.er1
108024   cat conftest.err >&5
108025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108026   (exit $ac_status); } &&
108027          { ac_try='test -z "$ac_c_werror_flag"
108028                          || test ! -s conftest.err'
108029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108030   (eval $ac_try) 2>&5
108031   ac_status=$?
108032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108033   (exit $ac_status); }; } &&
108034          { ac_try='test -s conftest$ac_exeext'
108035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108036   (eval $ac_try) 2>&5
108037   ac_status=$?
108038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108039   (exit $ac_status); }; }; then
108040   eval "$as_ac_var=yes"
108041 else
108042   echo "$as_me: failed program was:" >&5
108043 sed 's/^/| /' conftest.$ac_ext >&5
108044
108045 eval "$as_ac_var=no"
108046 fi
108047 rm -f conftest.err conftest.$ac_objext \
108048       conftest$ac_exeext conftest.$ac_ext
108049 fi
108050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108052 if test `eval echo '${'$as_ac_var'}'` = yes; then
108053   cat >>confdefs.h <<_ACEOF
108054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108055 _ACEOF
108056
108057 fi
108058 done
108059
108060   fi
108061
108062
108063
108064
108065
108066   echo "$as_me:$LINENO: checking for strtof declaration" >&5
108067 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
108068   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
108069     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
108070   echo $ECHO_N "(cached) $ECHO_C" >&6
108071 else
108072
108073
108074
108075       ac_ext=cc
108076 ac_cpp='$CXXCPP $CPPFLAGS'
108077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108080
108081       cat >conftest.$ac_ext <<_ACEOF
108082 /* confdefs.h.  */
108083 _ACEOF
108084 cat confdefs.h >>conftest.$ac_ext
108085 cat >>conftest.$ac_ext <<_ACEOF
108086 /* end confdefs.h.  */
108087 #include <stdlib.h>
108088 int
108089 main ()
108090 {
108091  strtof(0, 0);
108092   ;
108093   return 0;
108094 }
108095 _ACEOF
108096 rm -f conftest.$ac_objext
108097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108098   (eval $ac_compile) 2>conftest.er1
108099   ac_status=$?
108100   grep -v '^ *+' conftest.er1 >conftest.err
108101   rm -f conftest.er1
108102   cat conftest.err >&5
108103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108104   (exit $ac_status); } &&
108105          { ac_try='test -z "$ac_cxx_werror_flag"
108106                          || test ! -s conftest.err'
108107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108108   (eval $ac_try) 2>&5
108109   ac_status=$?
108110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108111   (exit $ac_status); }; } &&
108112          { ac_try='test -s conftest.$ac_objext'
108113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108114   (eval $ac_try) 2>&5
108115   ac_status=$?
108116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108117   (exit $ac_status); }; }; then
108118   glibcxx_cv_func_strtof_use=yes
108119 else
108120   echo "$as_me: failed program was:" >&5
108121 sed 's/^/| /' conftest.$ac_ext >&5
108122
108123 glibcxx_cv_func_strtof_use=no
108124 fi
108125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108126       ac_ext=c
108127 ac_cpp='$CPP $CPPFLAGS'
108128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108131
108132
108133 fi
108134
108135   fi
108136   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
108137 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
108138   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
108139
108140 for ac_func in strtof
108141 do
108142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108143 echo "$as_me:$LINENO: checking for $ac_func" >&5
108144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108145 if eval "test \"\${$as_ac_var+set}\" = set"; then
108146   echo $ECHO_N "(cached) $ECHO_C" >&6
108147 else
108148   if test x$gcc_no_link = xyes; then
108149   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108151    { (exit 1); exit 1; }; }
108152 fi
108153 cat >conftest.$ac_ext <<_ACEOF
108154 /* confdefs.h.  */
108155 _ACEOF
108156 cat confdefs.h >>conftest.$ac_ext
108157 cat >>conftest.$ac_ext <<_ACEOF
108158 /* end confdefs.h.  */
108159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108160    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
108161 #define $ac_func innocuous_$ac_func
108162
108163 /* System header to define __stub macros and hopefully few prototypes,
108164     which can conflict with char $ac_func (); below.
108165     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108166     <limits.h> exists even on freestanding compilers.  */
108167
108168 #ifdef __STDC__
108169 # include <limits.h>
108170 #else
108171 # include <assert.h>
108172 #endif
108173
108174 #undef $ac_func
108175
108176 /* Override any gcc2 internal prototype to avoid an error.  */
108177 #ifdef __cplusplus
108178 extern "C"
108179 {
108180 #endif
108181 /* We use char because int might match the return type of a gcc2
108182    builtin and then its argument prototype would still apply.  */
108183 char $ac_func ();
108184 /* The GNU C library defines this for functions which it implements
108185     to always fail with ENOSYS.  Some functions are actually named
108186     something starting with __ and the normal name is an alias.  */
108187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108188 choke me
108189 #else
108190 char (*f) () = $ac_func;
108191 #endif
108192 #ifdef __cplusplus
108193 }
108194 #endif
108195
108196 int
108197 main ()
108198 {
108199 return f != $ac_func;
108200   ;
108201   return 0;
108202 }
108203 _ACEOF
108204 rm -f conftest.$ac_objext conftest$ac_exeext
108205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108206   (eval $ac_link) 2>conftest.er1
108207   ac_status=$?
108208   grep -v '^ *+' conftest.er1 >conftest.err
108209   rm -f conftest.er1
108210   cat conftest.err >&5
108211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108212   (exit $ac_status); } &&
108213          { ac_try='test -z "$ac_c_werror_flag"
108214                          || test ! -s conftest.err'
108215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108216   (eval $ac_try) 2>&5
108217   ac_status=$?
108218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108219   (exit $ac_status); }; } &&
108220          { ac_try='test -s conftest$ac_exeext'
108221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108222   (eval $ac_try) 2>&5
108223   ac_status=$?
108224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108225   (exit $ac_status); }; }; then
108226   eval "$as_ac_var=yes"
108227 else
108228   echo "$as_me: failed program was:" >&5
108229 sed 's/^/| /' conftest.$ac_ext >&5
108230
108231 eval "$as_ac_var=no"
108232 fi
108233 rm -f conftest.err conftest.$ac_objext \
108234       conftest$ac_exeext conftest.$ac_ext
108235 fi
108236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108238 if test `eval echo '${'$as_ac_var'}'` = yes; then
108239   cat >>confdefs.h <<_ACEOF
108240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108241 _ACEOF
108242
108243 fi
108244 done
108245
108246   fi
108247
108248
108249
108250
108251
108252   CXXFLAGS="$ac_save_CXXFLAGS"
108253
108254
108255     # For LFS.
108256     cat >>confdefs.h <<\_ACEOF
108257 #define HAVE_INT64_T 1
108258 _ACEOF
108259
108260
108261
108262
108263   ac_ext=cc
108264 ac_cpp='$CXXCPP $CPPFLAGS'
108265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108268
108269   ac_save_CXXFLAGS="$CXXFLAGS"
108270   CXXFLAGS="$CXXFLAGS -fno-exceptions"
108271   echo "$as_me:$LINENO: checking for LFS support" >&5
108272 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
108273   if test "${glibcxx_cv_LFS+set}" = set; then
108274   echo $ECHO_N "(cached) $ECHO_C" >&6
108275 else
108276
108277     if test x$gcc_no_link = xyes; then
108278   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108280    { (exit 1); exit 1; }; }
108281 fi
108282 cat >conftest.$ac_ext <<_ACEOF
108283 /* confdefs.h.  */
108284 _ACEOF
108285 cat confdefs.h >>conftest.$ac_ext
108286 cat >>conftest.$ac_ext <<_ACEOF
108287 /* end confdefs.h.  */
108288 #include <unistd.h>
108289        #include <stdio.h>
108290        #include <sys/stat.h>
108291
108292 int
108293 main ()
108294 {
108295 FILE* fp;
108296        fopen64("t", "w");
108297        fseeko64(fp, 0, SEEK_CUR);
108298        ftello64(fp);
108299        lseek64(1, 0, SEEK_CUR);
108300        struct stat64 buf;
108301        fstat64(1, &buf);
108302   ;
108303   return 0;
108304 }
108305 _ACEOF
108306 rm -f conftest.$ac_objext conftest$ac_exeext
108307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108308   (eval $ac_link) 2>conftest.er1
108309   ac_status=$?
108310   grep -v '^ *+' conftest.er1 >conftest.err
108311   rm -f conftest.er1
108312   cat conftest.err >&5
108313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108314   (exit $ac_status); } &&
108315          { ac_try='test -z "$ac_cxx_werror_flag"
108316                          || test ! -s conftest.err'
108317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108318   (eval $ac_try) 2>&5
108319   ac_status=$?
108320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108321   (exit $ac_status); }; } &&
108322          { ac_try='test -s conftest$ac_exeext'
108323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108324   (eval $ac_try) 2>&5
108325   ac_status=$?
108326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108327   (exit $ac_status); }; }; then
108328   glibcxx_cv_LFS=yes
108329 else
108330   echo "$as_me: failed program was:" >&5
108331 sed 's/^/| /' conftest.$ac_ext >&5
108332
108333 glibcxx_cv_LFS=no
108334 fi
108335 rm -f conftest.err conftest.$ac_objext \
108336       conftest$ac_exeext conftest.$ac_ext
108337
108338 fi
108339
108340   if test $glibcxx_cv_LFS = yes; then
108341
108342 cat >>confdefs.h <<\_ACEOF
108343 #define _GLIBCXX_USE_LFS 1
108344 _ACEOF
108345
108346   fi
108347   echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
108348 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
108349   CXXFLAGS="$ac_save_CXXFLAGS"
108350   ac_ext=c
108351 ac_cpp='$CPP $CPPFLAGS'
108352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108355
108356
108357
108358     # For showmanyc_helper().
108359
108360
108361 for ac_header in sys/ioctl.h sys/filio.h
108362 do
108363 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108365   echo "$as_me:$LINENO: checking for $ac_header" >&5
108366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108368   echo $ECHO_N "(cached) $ECHO_C" >&6
108369 fi
108370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108372 else
108373   # Is the header compilable?
108374 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108375 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108376 cat >conftest.$ac_ext <<_ACEOF
108377 /* confdefs.h.  */
108378 _ACEOF
108379 cat confdefs.h >>conftest.$ac_ext
108380 cat >>conftest.$ac_ext <<_ACEOF
108381 /* end confdefs.h.  */
108382 $ac_includes_default
108383 #include <$ac_header>
108384 _ACEOF
108385 rm -f conftest.$ac_objext
108386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108387   (eval $ac_compile) 2>conftest.er1
108388   ac_status=$?
108389   grep -v '^ *+' conftest.er1 >conftest.err
108390   rm -f conftest.er1
108391   cat conftest.err >&5
108392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108393   (exit $ac_status); } &&
108394          { ac_try='test -z "$ac_c_werror_flag"
108395                          || test ! -s conftest.err'
108396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108397   (eval $ac_try) 2>&5
108398   ac_status=$?
108399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108400   (exit $ac_status); }; } &&
108401          { ac_try='test -s conftest.$ac_objext'
108402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108403   (eval $ac_try) 2>&5
108404   ac_status=$?
108405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108406   (exit $ac_status); }; }; then
108407   ac_header_compiler=yes
108408 else
108409   echo "$as_me: failed program was:" >&5
108410 sed 's/^/| /' conftest.$ac_ext >&5
108411
108412 ac_header_compiler=no
108413 fi
108414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108415 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108416 echo "${ECHO_T}$ac_header_compiler" >&6
108417
108418 # Is the header present?
108419 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108420 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108421 cat >conftest.$ac_ext <<_ACEOF
108422 /* confdefs.h.  */
108423 _ACEOF
108424 cat confdefs.h >>conftest.$ac_ext
108425 cat >>conftest.$ac_ext <<_ACEOF
108426 /* end confdefs.h.  */
108427 #include <$ac_header>
108428 _ACEOF
108429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108430   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108431   ac_status=$?
108432   grep -v '^ *+' conftest.er1 >conftest.err
108433   rm -f conftest.er1
108434   cat conftest.err >&5
108435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108436   (exit $ac_status); } >/dev/null; then
108437   if test -s conftest.err; then
108438     ac_cpp_err=$ac_c_preproc_warn_flag
108439     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108440   else
108441     ac_cpp_err=
108442   fi
108443 else
108444   ac_cpp_err=yes
108445 fi
108446 if test -z "$ac_cpp_err"; then
108447   ac_header_preproc=yes
108448 else
108449   echo "$as_me: failed program was:" >&5
108450 sed 's/^/| /' conftest.$ac_ext >&5
108451
108452   ac_header_preproc=no
108453 fi
108454 rm -f conftest.err conftest.$ac_ext
108455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108456 echo "${ECHO_T}$ac_header_preproc" >&6
108457
108458 # So?  What about this header?
108459 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108460   yes:no: )
108461     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108462 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108463     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108464 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108465     ac_header_preproc=yes
108466     ;;
108467   no:yes:* )
108468     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108469 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108470     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
108471 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
108472     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108473 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108474     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
108475 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
108476     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108478     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108479 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108480     (
108481       cat <<\_ASBOX
108482 ## ----------------------------------------- ##
108483 ## Report this to the package-unused lists.  ##
108484 ## ----------------------------------------- ##
108485 _ASBOX
108486     ) |
108487       sed "s/^/$as_me: WARNING:     /" >&2
108488     ;;
108489 esac
108490 echo "$as_me:$LINENO: checking for $ac_header" >&5
108491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108493   echo $ECHO_N "(cached) $ECHO_C" >&6
108494 else
108495   eval "$as_ac_Header=\$ac_header_preproc"
108496 fi
108497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108499
108500 fi
108501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108502   cat >>confdefs.h <<_ACEOF
108503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108504 _ACEOF
108505
108506 fi
108507
108508 done
108509
108510
108511   echo "$as_me:$LINENO: checking for poll" >&5
108512 echo $ECHO_N "checking for poll... $ECHO_C" >&6
108513   if test "${glibcxx_cv_POLL+set}" = set; then
108514   echo $ECHO_N "(cached) $ECHO_C" >&6
108515 else
108516
108517     if test x$gcc_no_link = xyes; then
108518   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108520    { (exit 1); exit 1; }; }
108521 fi
108522 cat >conftest.$ac_ext <<_ACEOF
108523 /* confdefs.h.  */
108524 _ACEOF
108525 cat confdefs.h >>conftest.$ac_ext
108526 cat >>conftest.$ac_ext <<_ACEOF
108527 /* end confdefs.h.  */
108528 #include <poll.h>
108529 int
108530 main ()
108531 {
108532 struct pollfd pfd[1];
108533        pfd[0].events = POLLIN;
108534        poll(pfd, 1, 0);
108535   ;
108536   return 0;
108537 }
108538 _ACEOF
108539 rm -f conftest.$ac_objext conftest$ac_exeext
108540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108541   (eval $ac_link) 2>conftest.er1
108542   ac_status=$?
108543   grep -v '^ *+' conftest.er1 >conftest.err
108544   rm -f conftest.er1
108545   cat conftest.err >&5
108546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108547   (exit $ac_status); } &&
108548          { ac_try='test -z "$ac_c_werror_flag"
108549                          || test ! -s conftest.err'
108550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108551   (eval $ac_try) 2>&5
108552   ac_status=$?
108553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108554   (exit $ac_status); }; } &&
108555          { ac_try='test -s conftest$ac_exeext'
108556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108557   (eval $ac_try) 2>&5
108558   ac_status=$?
108559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108560   (exit $ac_status); }; }; then
108561   glibcxx_cv_POLL=yes
108562 else
108563   echo "$as_me: failed program was:" >&5
108564 sed 's/^/| /' conftest.$ac_ext >&5
108565
108566 glibcxx_cv_POLL=no
108567 fi
108568 rm -f conftest.err conftest.$ac_objext \
108569       conftest$ac_exeext conftest.$ac_ext
108570
108571 fi
108572
108573   if test $glibcxx_cv_POLL = yes; then
108574
108575 cat >>confdefs.h <<\_ACEOF
108576 #define HAVE_POLL 1
108577 _ACEOF
108578
108579   fi
108580   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
108581 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
108582
108583
108584   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
108585 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
108586   if test "${glibcxx_cv_S_ISREG+set}" = set; then
108587   echo $ECHO_N "(cached) $ECHO_C" >&6
108588 else
108589
108590     if test x$gcc_no_link = xyes; then
108591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108593    { (exit 1); exit 1; }; }
108594 fi
108595 cat >conftest.$ac_ext <<_ACEOF
108596 /* confdefs.h.  */
108597 _ACEOF
108598 cat confdefs.h >>conftest.$ac_ext
108599 cat >>conftest.$ac_ext <<_ACEOF
108600 /* end confdefs.h.  */
108601 #include <sys/stat.h>
108602 int
108603 main ()
108604 {
108605 struct stat buffer;
108606        fstat(0, &buffer);
108607        S_ISREG(buffer.st_mode);
108608   ;
108609   return 0;
108610 }
108611 _ACEOF
108612 rm -f conftest.$ac_objext conftest$ac_exeext
108613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108614   (eval $ac_link) 2>conftest.er1
108615   ac_status=$?
108616   grep -v '^ *+' conftest.er1 >conftest.err
108617   rm -f conftest.er1
108618   cat conftest.err >&5
108619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108620   (exit $ac_status); } &&
108621          { ac_try='test -z "$ac_c_werror_flag"
108622                          || test ! -s conftest.err'
108623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108624   (eval $ac_try) 2>&5
108625   ac_status=$?
108626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108627   (exit $ac_status); }; } &&
108628          { ac_try='test -s conftest$ac_exeext'
108629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108630   (eval $ac_try) 2>&5
108631   ac_status=$?
108632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108633   (exit $ac_status); }; }; then
108634   glibcxx_cv_S_ISREG=yes
108635 else
108636   echo "$as_me: failed program was:" >&5
108637 sed 's/^/| /' conftest.$ac_ext >&5
108638
108639 glibcxx_cv_S_ISREG=no
108640 fi
108641 rm -f conftest.err conftest.$ac_objext \
108642       conftest$ac_exeext conftest.$ac_ext
108643
108644 fi
108645
108646   if test "${glibcxx_cv_S_IFREG+set}" = set; then
108647   echo $ECHO_N "(cached) $ECHO_C" >&6
108648 else
108649
108650     if test x$gcc_no_link = xyes; then
108651   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108653    { (exit 1); exit 1; }; }
108654 fi
108655 cat >conftest.$ac_ext <<_ACEOF
108656 /* confdefs.h.  */
108657 _ACEOF
108658 cat confdefs.h >>conftest.$ac_ext
108659 cat >>conftest.$ac_ext <<_ACEOF
108660 /* end confdefs.h.  */
108661 #include <sys/stat.h>
108662 int
108663 main ()
108664 {
108665 struct stat buffer;
108666        fstat(0, &buffer);
108667        S_IFREG & buffer.st_mode;
108668   ;
108669   return 0;
108670 }
108671 _ACEOF
108672 rm -f conftest.$ac_objext conftest$ac_exeext
108673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108674   (eval $ac_link) 2>conftest.er1
108675   ac_status=$?
108676   grep -v '^ *+' conftest.er1 >conftest.err
108677   rm -f conftest.er1
108678   cat conftest.err >&5
108679   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108680   (exit $ac_status); } &&
108681          { ac_try='test -z "$ac_c_werror_flag"
108682                          || test ! -s conftest.err'
108683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108684   (eval $ac_try) 2>&5
108685   ac_status=$?
108686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108687   (exit $ac_status); }; } &&
108688          { ac_try='test -s conftest$ac_exeext'
108689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108690   (eval $ac_try) 2>&5
108691   ac_status=$?
108692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108693   (exit $ac_status); }; }; then
108694   glibcxx_cv_S_IFREG=yes
108695 else
108696   echo "$as_me: failed program was:" >&5
108697 sed 's/^/| /' conftest.$ac_ext >&5
108698
108699 glibcxx_cv_S_IFREG=no
108700 fi
108701 rm -f conftest.err conftest.$ac_objext \
108702       conftest$ac_exeext conftest.$ac_ext
108703
108704 fi
108705
108706   res=no
108707   if test $glibcxx_cv_S_ISREG = yes; then
108708
108709 cat >>confdefs.h <<\_ACEOF
108710 #define HAVE_S_ISREG 1
108711 _ACEOF
108712
108713     res=S_ISREG
108714   elif test $glibcxx_cv_S_IFREG = yes; then
108715
108716 cat >>confdefs.h <<\_ACEOF
108717 #define HAVE_S_IFREG 1
108718 _ACEOF
108719
108720     res=S_IFREG
108721   fi
108722   echo "$as_me:$LINENO: result: $res" >&5
108723 echo "${ECHO_T}$res" >&6
108724
108725
108726     # For xsputn_2().
108727
108728 for ac_header in sys/uio.h
108729 do
108730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108732   echo "$as_me:$LINENO: checking for $ac_header" >&5
108733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108735   echo $ECHO_N "(cached) $ECHO_C" >&6
108736 fi
108737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108739 else
108740   # Is the header compilable?
108741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108743 cat >conftest.$ac_ext <<_ACEOF
108744 /* confdefs.h.  */
108745 _ACEOF
108746 cat confdefs.h >>conftest.$ac_ext
108747 cat >>conftest.$ac_ext <<_ACEOF
108748 /* end confdefs.h.  */
108749 $ac_includes_default
108750 #include <$ac_header>
108751 _ACEOF
108752 rm -f conftest.$ac_objext
108753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108754   (eval $ac_compile) 2>conftest.er1
108755   ac_status=$?
108756   grep -v '^ *+' conftest.er1 >conftest.err
108757   rm -f conftest.er1
108758   cat conftest.err >&5
108759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108760   (exit $ac_status); } &&
108761          { ac_try='test -z "$ac_c_werror_flag"
108762                          || test ! -s conftest.err'
108763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108764   (eval $ac_try) 2>&5
108765   ac_status=$?
108766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108767   (exit $ac_status); }; } &&
108768          { ac_try='test -s conftest.$ac_objext'
108769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108770   (eval $ac_try) 2>&5
108771   ac_status=$?
108772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108773   (exit $ac_status); }; }; then
108774   ac_header_compiler=yes
108775 else
108776   echo "$as_me: failed program was:" >&5
108777 sed 's/^/| /' conftest.$ac_ext >&5
108778
108779 ac_header_compiler=no
108780 fi
108781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108783 echo "${ECHO_T}$ac_header_compiler" >&6
108784
108785 # Is the header present?
108786 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108788 cat >conftest.$ac_ext <<_ACEOF
108789 /* confdefs.h.  */
108790 _ACEOF
108791 cat confdefs.h >>conftest.$ac_ext
108792 cat >>conftest.$ac_ext <<_ACEOF
108793 /* end confdefs.h.  */
108794 #include <$ac_header>
108795 _ACEOF
108796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108797   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108798   ac_status=$?
108799   grep -v '^ *+' conftest.er1 >conftest.err
108800   rm -f conftest.er1
108801   cat conftest.err >&5
108802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108803   (exit $ac_status); } >/dev/null; then
108804   if test -s conftest.err; then
108805     ac_cpp_err=$ac_c_preproc_warn_flag
108806     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108807   else
108808     ac_cpp_err=
108809   fi
108810 else
108811   ac_cpp_err=yes
108812 fi
108813 if test -z "$ac_cpp_err"; then
108814   ac_header_preproc=yes
108815 else
108816   echo "$as_me: failed program was:" >&5
108817 sed 's/^/| /' conftest.$ac_ext >&5
108818
108819   ac_header_preproc=no
108820 fi
108821 rm -f conftest.err conftest.$ac_ext
108822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108823 echo "${ECHO_T}$ac_header_preproc" >&6
108824
108825 # So?  What about this header?
108826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
108827   yes:no: )
108828     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108829 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108830     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108831 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108832     ac_header_preproc=yes
108833     ;;
108834   no:yes:* )
108835     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108837     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
108838 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
108839     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108840 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108841     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
108842 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
108843     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108845     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108846 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108847     (
108848       cat <<\_ASBOX
108849 ## ----------------------------------------- ##
108850 ## Report this to the package-unused lists.  ##
108851 ## ----------------------------------------- ##
108852 _ASBOX
108853     ) |
108854       sed "s/^/$as_me: WARNING:     /" >&2
108855     ;;
108856 esac
108857 echo "$as_me:$LINENO: checking for $ac_header" >&5
108858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108860   echo $ECHO_N "(cached) $ECHO_C" >&6
108861 else
108862   eval "$as_ac_Header=\$ac_header_preproc"
108863 fi
108864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108866
108867 fi
108868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108869   cat >>confdefs.h <<_ACEOF
108870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108871 _ACEOF
108872
108873 fi
108874
108875 done
108876
108877
108878   echo "$as_me:$LINENO: checking for writev" >&5
108879 echo $ECHO_N "checking for writev... $ECHO_C" >&6
108880   if test "${glibcxx_cv_WRITEV+set}" = set; then
108881   echo $ECHO_N "(cached) $ECHO_C" >&6
108882 else
108883
108884     if test x$gcc_no_link = xyes; then
108885   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108887    { (exit 1); exit 1; }; }
108888 fi
108889 cat >conftest.$ac_ext <<_ACEOF
108890 /* confdefs.h.  */
108891 _ACEOF
108892 cat confdefs.h >>conftest.$ac_ext
108893 cat >>conftest.$ac_ext <<_ACEOF
108894 /* end confdefs.h.  */
108895 #include <sys/uio.h>
108896 int
108897 main ()
108898 {
108899 struct iovec iov[2];
108900        writev(0, iov, 0);
108901   ;
108902   return 0;
108903 }
108904 _ACEOF
108905 rm -f conftest.$ac_objext conftest$ac_exeext
108906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108907   (eval $ac_link) 2>conftest.er1
108908   ac_status=$?
108909   grep -v '^ *+' conftest.er1 >conftest.err
108910   rm -f conftest.er1
108911   cat conftest.err >&5
108912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108913   (exit $ac_status); } &&
108914          { ac_try='test -z "$ac_c_werror_flag"
108915                          || test ! -s conftest.err'
108916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108917   (eval $ac_try) 2>&5
108918   ac_status=$?
108919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108920   (exit $ac_status); }; } &&
108921          { ac_try='test -s conftest$ac_exeext'
108922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108923   (eval $ac_try) 2>&5
108924   ac_status=$?
108925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
108926   (exit $ac_status); }; }; then
108927   glibcxx_cv_WRITEV=yes
108928 else
108929   echo "$as_me: failed program was:" >&5
108930 sed 's/^/| /' conftest.$ac_ext >&5
108931
108932 glibcxx_cv_WRITEV=no
108933 fi
108934 rm -f conftest.err conftest.$ac_objext \
108935       conftest$ac_exeext conftest.$ac_ext
108936
108937 fi
108938
108939   if test $glibcxx_cv_WRITEV = yes; then
108940
108941 cat >>confdefs.h <<\_ACEOF
108942 #define HAVE_WRITEV 1
108943 _ACEOF
108944
108945   fi
108946   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
108947 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
108948
108949
108950     # For C99 support to TR1.
108951
108952
108953
108954
108955   ac_ext=cc
108956 ac_cpp='$CXXCPP $CPPFLAGS'
108957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108960
108961
108962   # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
108963   # undefined and fake C99 facilities may be spuriously enabled.
108964   ac_save_CXXFLAGS="$CXXFLAGS"
108965   CXXFLAGS="$CXXFLAGS -std=c++98"
108966
108967   # Check for the existence of <complex.h> complex math functions used
108968   # by tr1/complex.
108969
108970 for ac_header in complex.h
108971 do
108972 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108974   echo "$as_me:$LINENO: checking for $ac_header" >&5
108975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108977   echo $ECHO_N "(cached) $ECHO_C" >&6
108978 fi
108979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108981 else
108982   # Is the header compilable?
108983 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108984 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108985 cat >conftest.$ac_ext <<_ACEOF
108986 /* confdefs.h.  */
108987 _ACEOF
108988 cat confdefs.h >>conftest.$ac_ext
108989 cat >>conftest.$ac_ext <<_ACEOF
108990 /* end confdefs.h.  */
108991 $ac_includes_default
108992 #include <$ac_header>
108993 _ACEOF
108994 rm -f conftest.$ac_objext
108995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108996   (eval $ac_compile) 2>conftest.er1
108997   ac_status=$?
108998   grep -v '^ *+' conftest.er1 >conftest.err
108999   rm -f conftest.er1
109000   cat conftest.err >&5
109001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109002   (exit $ac_status); } &&
109003          { ac_try='test -z "$ac_cxx_werror_flag"
109004                          || test ! -s conftest.err'
109005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109006   (eval $ac_try) 2>&5
109007   ac_status=$?
109008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109009   (exit $ac_status); }; } &&
109010          { ac_try='test -s conftest.$ac_objext'
109011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109012   (eval $ac_try) 2>&5
109013   ac_status=$?
109014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109015   (exit $ac_status); }; }; then
109016   ac_header_compiler=yes
109017 else
109018   echo "$as_me: failed program was:" >&5
109019 sed 's/^/| /' conftest.$ac_ext >&5
109020
109021 ac_header_compiler=no
109022 fi
109023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109024 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109025 echo "${ECHO_T}$ac_header_compiler" >&6
109026
109027 # Is the header present?
109028 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109029 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109030 cat >conftest.$ac_ext <<_ACEOF
109031 /* confdefs.h.  */
109032 _ACEOF
109033 cat confdefs.h >>conftest.$ac_ext
109034 cat >>conftest.$ac_ext <<_ACEOF
109035 /* end confdefs.h.  */
109036 #include <$ac_header>
109037 _ACEOF
109038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109039   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109040   ac_status=$?
109041   grep -v '^ *+' conftest.er1 >conftest.err
109042   rm -f conftest.er1
109043   cat conftest.err >&5
109044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109045   (exit $ac_status); } >/dev/null; then
109046   if test -s conftest.err; then
109047     ac_cpp_err=$ac_cxx_preproc_warn_flag
109048     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109049   else
109050     ac_cpp_err=
109051   fi
109052 else
109053   ac_cpp_err=yes
109054 fi
109055 if test -z "$ac_cpp_err"; then
109056   ac_header_preproc=yes
109057 else
109058   echo "$as_me: failed program was:" >&5
109059 sed 's/^/| /' conftest.$ac_ext >&5
109060
109061   ac_header_preproc=no
109062 fi
109063 rm -f conftest.err conftest.$ac_ext
109064 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109065 echo "${ECHO_T}$ac_header_preproc" >&6
109066
109067 # So?  What about this header?
109068 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109069   yes:no: )
109070     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109071 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109072     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109073 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109074     ac_header_preproc=yes
109075     ;;
109076   no:yes:* )
109077     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109078 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109079     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109080 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109081     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109082 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109083     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109084 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109085     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109086 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109087     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109088 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109089     (
109090       cat <<\_ASBOX
109091 ## ----------------------------------------- ##
109092 ## Report this to the package-unused lists.  ##
109093 ## ----------------------------------------- ##
109094 _ASBOX
109095     ) |
109096       sed "s/^/$as_me: WARNING:     /" >&2
109097     ;;
109098 esac
109099 echo "$as_me:$LINENO: checking for $ac_header" >&5
109100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109102   echo $ECHO_N "(cached) $ECHO_C" >&6
109103 else
109104   eval "$as_ac_Header=\$ac_header_preproc"
109105 fi
109106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109108
109109 fi
109110 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109111   cat >>confdefs.h <<_ACEOF
109112 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109113 _ACEOF
109114  ac_has_complex_h=yes
109115 else
109116   ac_has_complex_h=no
109117 fi
109118
109119 done
109120
109121   ac_c99_complex_tr1=no;
109122   if test x"$ac_has_complex_h" = x"yes"; then
109123     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
109124 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
109125     cat >conftest.$ac_ext <<_ACEOF
109126 /* confdefs.h.  */
109127 _ACEOF
109128 cat confdefs.h >>conftest.$ac_ext
109129 cat >>conftest.$ac_ext <<_ACEOF
109130 /* end confdefs.h.  */
109131 #include <complex.h>
109132 int
109133 main ()
109134 {
109135 typedef __complex__ float float_type; float_type tmpf;
109136                     cacosf(tmpf);
109137                     casinf(tmpf);
109138                     catanf(tmpf);
109139                     cacoshf(tmpf);
109140                     casinhf(tmpf);
109141                     catanhf(tmpf);
109142                     typedef __complex__ double double_type; double_type tmpd;
109143                     cacos(tmpd);
109144                     casin(tmpd);
109145                     catan(tmpd);
109146                     cacosh(tmpd);
109147                     casinh(tmpd);
109148                     catanh(tmpd);
109149                     typedef __complex__ long double ld_type; ld_type tmpld;
109150                     cacosl(tmpld);
109151                     casinl(tmpld);
109152                     catanl(tmpld);
109153                     cacoshl(tmpld);
109154                     casinhl(tmpld);
109155                     catanhl(tmpld);
109156
109157   ;
109158   return 0;
109159 }
109160 _ACEOF
109161 rm -f conftest.$ac_objext
109162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109163   (eval $ac_compile) 2>conftest.er1
109164   ac_status=$?
109165   grep -v '^ *+' conftest.er1 >conftest.err
109166   rm -f conftest.er1
109167   cat conftest.err >&5
109168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109169   (exit $ac_status); } &&
109170          { ac_try='test -z "$ac_cxx_werror_flag"
109171                          || test ! -s conftest.err'
109172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109173   (eval $ac_try) 2>&5
109174   ac_status=$?
109175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109176   (exit $ac_status); }; } &&
109177          { ac_try='test -s conftest.$ac_objext'
109178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109179   (eval $ac_try) 2>&5
109180   ac_status=$?
109181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109182   (exit $ac_status); }; }; then
109183   ac_c99_complex_tr1=yes
109184 else
109185   echo "$as_me: failed program was:" >&5
109186 sed 's/^/| /' conftest.$ac_ext >&5
109187
109188 ac_c99_complex_tr1=no
109189 fi
109190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109191   fi
109192   echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
109193 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
109194   if test x"$ac_c99_complex_tr1" = x"yes"; then
109195
109196 cat >>confdefs.h <<\_ACEOF
109197 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
109198 _ACEOF
109199
109200   fi
109201
109202   # Check for the existence of <ctype.h> functions.
109203   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
109204 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
109205   if test "${ac_c99_ctype_tr1+set}" = set; then
109206   echo $ECHO_N "(cached) $ECHO_C" >&6
109207 else
109208
109209   cat >conftest.$ac_ext <<_ACEOF
109210 /* confdefs.h.  */
109211 _ACEOF
109212 cat confdefs.h >>conftest.$ac_ext
109213 cat >>conftest.$ac_ext <<_ACEOF
109214 /* end confdefs.h.  */
109215 #include <ctype.h>
109216 int
109217 main ()
109218 {
109219 int ch;
109220                   int ret;
109221                   ret = isblank(ch);
109222
109223   ;
109224   return 0;
109225 }
109226 _ACEOF
109227 rm -f conftest.$ac_objext
109228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109229   (eval $ac_compile) 2>conftest.er1
109230   ac_status=$?
109231   grep -v '^ *+' conftest.er1 >conftest.err
109232   rm -f conftest.er1
109233   cat conftest.err >&5
109234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109235   (exit $ac_status); } &&
109236          { ac_try='test -z "$ac_cxx_werror_flag"
109237                          || test ! -s conftest.err'
109238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109239   (eval $ac_try) 2>&5
109240   ac_status=$?
109241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109242   (exit $ac_status); }; } &&
109243          { ac_try='test -s conftest.$ac_objext'
109244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109245   (eval $ac_try) 2>&5
109246   ac_status=$?
109247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109248   (exit $ac_status); }; }; then
109249   ac_c99_ctype_tr1=yes
109250 else
109251   echo "$as_me: failed program was:" >&5
109252 sed 's/^/| /' conftest.$ac_ext >&5
109253
109254 ac_c99_ctype_tr1=no
109255 fi
109256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109257
109258 fi
109259
109260   echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
109261 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
109262   if test x"$ac_c99_ctype_tr1" = x"yes"; then
109263
109264 cat >>confdefs.h <<\_ACEOF
109265 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
109266 _ACEOF
109267
109268   fi
109269
109270   # Check for the existence of <fenv.h> functions.
109271
109272 for ac_header in fenv.h
109273 do
109274 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109276   echo "$as_me:$LINENO: checking for $ac_header" >&5
109277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109278 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109279   echo $ECHO_N "(cached) $ECHO_C" >&6
109280 fi
109281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109282 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109283 else
109284   # Is the header compilable?
109285 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109286 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109287 cat >conftest.$ac_ext <<_ACEOF
109288 /* confdefs.h.  */
109289 _ACEOF
109290 cat confdefs.h >>conftest.$ac_ext
109291 cat >>conftest.$ac_ext <<_ACEOF
109292 /* end confdefs.h.  */
109293 $ac_includes_default
109294 #include <$ac_header>
109295 _ACEOF
109296 rm -f conftest.$ac_objext
109297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109298   (eval $ac_compile) 2>conftest.er1
109299   ac_status=$?
109300   grep -v '^ *+' conftest.er1 >conftest.err
109301   rm -f conftest.er1
109302   cat conftest.err >&5
109303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109304   (exit $ac_status); } &&
109305          { ac_try='test -z "$ac_cxx_werror_flag"
109306                          || test ! -s conftest.err'
109307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109308   (eval $ac_try) 2>&5
109309   ac_status=$?
109310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109311   (exit $ac_status); }; } &&
109312          { ac_try='test -s conftest.$ac_objext'
109313   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109314   (eval $ac_try) 2>&5
109315   ac_status=$?
109316   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109317   (exit $ac_status); }; }; then
109318   ac_header_compiler=yes
109319 else
109320   echo "$as_me: failed program was:" >&5
109321 sed 's/^/| /' conftest.$ac_ext >&5
109322
109323 ac_header_compiler=no
109324 fi
109325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109326 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109327 echo "${ECHO_T}$ac_header_compiler" >&6
109328
109329 # Is the header present?
109330 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109331 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109332 cat >conftest.$ac_ext <<_ACEOF
109333 /* confdefs.h.  */
109334 _ACEOF
109335 cat confdefs.h >>conftest.$ac_ext
109336 cat >>conftest.$ac_ext <<_ACEOF
109337 /* end confdefs.h.  */
109338 #include <$ac_header>
109339 _ACEOF
109340 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109341   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109342   ac_status=$?
109343   grep -v '^ *+' conftest.er1 >conftest.err
109344   rm -f conftest.er1
109345   cat conftest.err >&5
109346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109347   (exit $ac_status); } >/dev/null; then
109348   if test -s conftest.err; then
109349     ac_cpp_err=$ac_cxx_preproc_warn_flag
109350     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109351   else
109352     ac_cpp_err=
109353   fi
109354 else
109355   ac_cpp_err=yes
109356 fi
109357 if test -z "$ac_cpp_err"; then
109358   ac_header_preproc=yes
109359 else
109360   echo "$as_me: failed program was:" >&5
109361 sed 's/^/| /' conftest.$ac_ext >&5
109362
109363   ac_header_preproc=no
109364 fi
109365 rm -f conftest.err conftest.$ac_ext
109366 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109367 echo "${ECHO_T}$ac_header_preproc" >&6
109368
109369 # So?  What about this header?
109370 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109371   yes:no: )
109372     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109373 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109374     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109375 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109376     ac_header_preproc=yes
109377     ;;
109378   no:yes:* )
109379     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109380 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109381     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109382 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109383     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109384 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109385     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109386 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109387     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109388 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109389     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109390 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109391     (
109392       cat <<\_ASBOX
109393 ## ----------------------------------------- ##
109394 ## Report this to the package-unused lists.  ##
109395 ## ----------------------------------------- ##
109396 _ASBOX
109397     ) |
109398       sed "s/^/$as_me: WARNING:     /" >&2
109399     ;;
109400 esac
109401 echo "$as_me:$LINENO: checking for $ac_header" >&5
109402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109404   echo $ECHO_N "(cached) $ECHO_C" >&6
109405 else
109406   eval "$as_ac_Header=\$ac_header_preproc"
109407 fi
109408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109409 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109410
109411 fi
109412 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109413   cat >>confdefs.h <<_ACEOF
109414 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109415 _ACEOF
109416  ac_has_fenv_h=yes
109417 else
109418   ac_has_fenv_h=no
109419 fi
109420
109421 done
109422
109423   ac_c99_fenv_tr1=no;
109424   if test x"$ac_has_fenv_h" = x"yes"; then
109425     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
109426 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
109427     cat >conftest.$ac_ext <<_ACEOF
109428 /* confdefs.h.  */
109429 _ACEOF
109430 cat confdefs.h >>conftest.$ac_ext
109431 cat >>conftest.$ac_ext <<_ACEOF
109432 /* end confdefs.h.  */
109433 #include <fenv.h>
109434 int
109435 main ()
109436 {
109437 int except, mode;
109438                     fexcept_t* pflag;
109439                     fenv_t* penv;
109440                     int ret;
109441                     ret = feclearexcept(except);
109442                     ret = fegetexceptflag(pflag, except);
109443                     ret = feraiseexcept(except);
109444                     ret = fesetexceptflag(pflag, except);
109445                     ret = fetestexcept(except);
109446                     ret = fegetround();
109447                     ret = fesetround(mode);
109448                     ret = fegetenv(penv);
109449                     ret = feholdexcept(penv);
109450                     ret = fesetenv(penv);
109451                     ret = feupdateenv(penv);
109452
109453   ;
109454   return 0;
109455 }
109456 _ACEOF
109457 rm -f conftest.$ac_objext
109458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109459   (eval $ac_compile) 2>conftest.er1
109460   ac_status=$?
109461   grep -v '^ *+' conftest.er1 >conftest.err
109462   rm -f conftest.er1
109463   cat conftest.err >&5
109464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109465   (exit $ac_status); } &&
109466          { ac_try='test -z "$ac_cxx_werror_flag"
109467                          || test ! -s conftest.err'
109468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109469   (eval $ac_try) 2>&5
109470   ac_status=$?
109471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109472   (exit $ac_status); }; } &&
109473          { ac_try='test -s conftest.$ac_objext'
109474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109475   (eval $ac_try) 2>&5
109476   ac_status=$?
109477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109478   (exit $ac_status); }; }; then
109479   ac_c99_fenv_tr1=yes
109480 else
109481   echo "$as_me: failed program was:" >&5
109482 sed 's/^/| /' conftest.$ac_ext >&5
109483
109484 ac_c99_fenv_tr1=no
109485 fi
109486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109487   fi
109488   echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
109489 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
109490   if test x"$ac_c99_fenv_tr1" = x"yes"; then
109491
109492 cat >>confdefs.h <<\_ACEOF
109493 #define _GLIBCXX_USE_C99_FENV_TR1 1
109494 _ACEOF
109495
109496   fi
109497
109498   # Check for the existence of <stdint.h> types.
109499   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
109500 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
109501   if test "${ac_c99_stdint_tr1+set}" = set; then
109502   echo $ECHO_N "(cached) $ECHO_C" >&6
109503 else
109504
109505   cat >conftest.$ac_ext <<_ACEOF
109506 /* confdefs.h.  */
109507 _ACEOF
109508 cat confdefs.h >>conftest.$ac_ext
109509 cat >>conftest.$ac_ext <<_ACEOF
109510 /* end confdefs.h.  */
109511 #include <stdint.h>
109512 int
109513 main ()
109514 {
109515 typedef int8_t          my_int8_t;
109516                   typedef int16_t         my_int16_t;
109517                   typedef int32_t         my_int32_t;
109518                   typedef int64_t         my_int64_t;
109519                   typedef int_fast8_t     my_int_fast8_t;
109520                   typedef int_fast16_t    my_int_fast16_t;
109521                   typedef int_fast32_t    my_int_fast32_t;
109522                   typedef int_fast64_t    my_int_fast64_t;
109523                   typedef int_least8_t    my_int_least8_t;
109524                   typedef int_least16_t   my_int_least16_t;
109525                   typedef int_least32_t   my_int_least32_t;
109526                   typedef int_least64_t   my_int_least64_t;
109527                   typedef intmax_t        my_intmax_t;
109528                   typedef intptr_t        my_intptr_t;
109529                   typedef uint8_t         my_uint8_t;
109530                   typedef uint16_t        my_uint16_t;
109531                   typedef uint32_t        my_uint32_t;
109532                   typedef uint64_t        my_uint64_t;
109533                   typedef uint_fast8_t    my_uint_fast8_t;
109534                   typedef uint_fast16_t   my_uint_fast16_t;
109535                   typedef uint_fast32_t   my_uint_fast32_t;
109536                   typedef uint_fast64_t   my_uint_fast64_t;
109537                   typedef uint_least8_t   my_uint_least8_t;
109538                   typedef uint_least16_t  my_uint_least16_t;
109539                   typedef uint_least32_t  my_uint_least32_t;
109540                   typedef uint_least64_t  my_uint_least64_t;
109541                   typedef uintmax_t       my_uintmax_t;
109542                   typedef uintptr_t       my_uintptr_t;
109543
109544   ;
109545   return 0;
109546 }
109547 _ACEOF
109548 rm -f conftest.$ac_objext
109549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109550   (eval $ac_compile) 2>conftest.er1
109551   ac_status=$?
109552   grep -v '^ *+' conftest.er1 >conftest.err
109553   rm -f conftest.er1
109554   cat conftest.err >&5
109555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109556   (exit $ac_status); } &&
109557          { ac_try='test -z "$ac_cxx_werror_flag"
109558                          || test ! -s conftest.err'
109559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109560   (eval $ac_try) 2>&5
109561   ac_status=$?
109562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109563   (exit $ac_status); }; } &&
109564          { ac_try='test -s conftest.$ac_objext'
109565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109566   (eval $ac_try) 2>&5
109567   ac_status=$?
109568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109569   (exit $ac_status); }; }; then
109570   ac_c99_stdint_tr1=yes
109571 else
109572   echo "$as_me: failed program was:" >&5
109573 sed 's/^/| /' conftest.$ac_ext >&5
109574
109575 ac_c99_stdint_tr1=no
109576 fi
109577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109578
109579 fi
109580
109581   echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
109582 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
109583   if test x"$ac_c99_stdint_tr1" = x"yes"; then
109584
109585 cat >>confdefs.h <<\_ACEOF
109586 #define _GLIBCXX_USE_C99_STDINT_TR1 1
109587 _ACEOF
109588
109589   fi
109590
109591   # Check for the existence of <math.h> functions.
109592   echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
109593 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
109594   if test "${ac_c99_math_tr1+set}" = set; then
109595   echo $ECHO_N "(cached) $ECHO_C" >&6
109596 else
109597
109598   cat >conftest.$ac_ext <<_ACEOF
109599 /* confdefs.h.  */
109600 _ACEOF
109601 cat confdefs.h >>conftest.$ac_ext
109602 cat >>conftest.$ac_ext <<_ACEOF
109603 /* end confdefs.h.  */
109604 #include <math.h>
109605 int
109606 main ()
109607 {
109608 typedef double_t  my_double_t;
109609                   typedef float_t   my_float_t;
109610                   acosh(0.0);
109611                   acoshf(0.0f);
109612                   acoshl(0.0l);
109613                   asinh(0.0);
109614                   asinhf(0.0f);
109615                   asinhl(0.0l);
109616                   atanh(0.0);
109617                   atanhf(0.0f);
109618                   atanhl(0.0l);
109619                   cbrt(0.0);
109620                   cbrtf(0.0f);
109621                   cbrtl(0.0l);
109622                   copysign(0.0, 0.0);
109623                   copysignf(0.0f, 0.0f);
109624                   copysignl(0.0l, 0.0l);
109625                   erf(0.0);
109626                   erff(0.0f);
109627                   erfl(0.0l);
109628                   erfc(0.0);
109629                   erfcf(0.0f);
109630                   erfcl(0.0l);
109631                   exp2(0.0);
109632                   exp2f(0.0f);
109633                   exp2l(0.0l);
109634                   expm1(0.0);
109635                   expm1f(0.0f);
109636                   expm1l(0.0l);
109637                   fdim(0.0, 0.0);
109638                   fdimf(0.0f, 0.0f);
109639                   fdiml(0.0l, 0.0l);
109640                   fma(0.0, 0.0, 0.0);
109641                   fmaf(0.0f, 0.0f, 0.0f);
109642                   fmal(0.0l, 0.0l, 0.0l);
109643                   fmax(0.0, 0.0);
109644                   fmaxf(0.0f, 0.0f);
109645                   fmaxl(0.0l, 0.0l);
109646                   fmin(0.0, 0.0);
109647                   fminf(0.0f, 0.0f);
109648                   fminl(0.0l, 0.0l);
109649                   hypot(0.0, 0.0);
109650                   hypotf(0.0f, 0.0f);
109651                   hypotl(0.0l, 0.0l);
109652                   ilogb(0.0);
109653                   ilogbf(0.0f);
109654                   ilogbl(0.0l);
109655                   lgamma(0.0);
109656                   lgammaf(0.0f);
109657                   lgammal(0.0l);
109658                   llrint(0.0);
109659                   llrintf(0.0f);
109660                   llrintl(0.0l);
109661                   llround(0.0);
109662                   llroundf(0.0f);
109663                   llroundl(0.0l);
109664                   log1p(0.0);
109665                   log1pf(0.0f);
109666                   log1pl(0.0l);
109667                   log2(0.0);
109668                   log2f(0.0f);
109669                   log2l(0.0l);
109670                   logb(0.0);
109671                   logbf(0.0f);
109672                   logbl(0.0l);
109673                   lrint(0.0);
109674                   lrintf(0.0f);
109675                   lrintl(0.0l);
109676                   lround(0.0);
109677                   lroundf(0.0f);
109678                   lroundl(0.0l);
109679                   nan(0);
109680                   nanf(0);
109681                   nanl(0);
109682                   nearbyint(0.0);
109683                   nearbyintf(0.0f);
109684                   nearbyintl(0.0l);
109685                   nextafter(0.0, 0.0);
109686                   nextafterf(0.0f, 0.0f);
109687                   nextafterl(0.0l, 0.0l);
109688                   nexttoward(0.0, 0.0);
109689                   nexttowardf(0.0f, 0.0f);
109690                   nexttowardl(0.0l, 0.0l);
109691                   remainder(0.0, 0.0);
109692                   remainderf(0.0f, 0.0f);
109693                   remainderl(0.0l, 0.0l);
109694                   remquo(0.0, 0.0, 0);
109695                   remquo(0.0f, 0.0f, 0);
109696                   remquo(0.0l, 0.0l, 0);
109697                   rint(0.0);
109698                   rintf(0.0f);
109699                   rintl(0.0l);
109700                   round(0.0);
109701                   roundf(0.0f);
109702                   roundl(0.0l);
109703                   scalbln(0.0, 0l);
109704                   scalblnf(0.0f, 0l);
109705                   scalblnl(0.0l, 0l);
109706                   scalbn(0.0, 0);
109707                   scalbnf(0.0f, 0);
109708                   scalbnl(0.0l, 0);
109709                   tgamma(0.0);
109710                   tgammaf(0.0f);
109711                   tgammal(0.0l);
109712                   trunc(0.0);
109713                   truncf(0.0f);
109714                   truncl(0.0l);
109715
109716   ;
109717   return 0;
109718 }
109719 _ACEOF
109720 rm -f conftest.$ac_objext
109721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109722   (eval $ac_compile) 2>conftest.er1
109723   ac_status=$?
109724   grep -v '^ *+' conftest.er1 >conftest.err
109725   rm -f conftest.er1
109726   cat conftest.err >&5
109727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109728   (exit $ac_status); } &&
109729          { ac_try='test -z "$ac_cxx_werror_flag"
109730                          || test ! -s conftest.err'
109731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109732   (eval $ac_try) 2>&5
109733   ac_status=$?
109734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109735   (exit $ac_status); }; } &&
109736          { ac_try='test -s conftest.$ac_objext'
109737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109738   (eval $ac_try) 2>&5
109739   ac_status=$?
109740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109741   (exit $ac_status); }; }; then
109742   ac_c99_math_tr1=yes
109743 else
109744   echo "$as_me: failed program was:" >&5
109745 sed 's/^/| /' conftest.$ac_ext >&5
109746
109747 ac_c99_math_tr1=no
109748 fi
109749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109750
109751 fi
109752
109753   echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
109754 echo "${ECHO_T}$ac_c99_math_tr1" >&6
109755   if test x"$ac_c99_math_tr1" = x"yes"; then
109756
109757 cat >>confdefs.h <<\_ACEOF
109758 #define _GLIBCXX_USE_C99_MATH_TR1 1
109759 _ACEOF
109760
109761   fi
109762
109763   # Check for the existence of <inttypes.h> functions (NB: doesn't make
109764   # sense if the previous check fails, per C99, 7.8/1).
109765   ac_c99_inttypes_tr1=no;
109766   if test x"$ac_c99_stdint_tr1" = x"yes"; then
109767     echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
109768 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
109769     cat >conftest.$ac_ext <<_ACEOF
109770 /* confdefs.h.  */
109771 _ACEOF
109772 cat confdefs.h >>conftest.$ac_ext
109773 cat >>conftest.$ac_ext <<_ACEOF
109774 /* end confdefs.h.  */
109775 #include <inttypes.h>
109776 int
109777 main ()
109778 {
109779 intmax_t i, numer, denom, base;
109780                     const char* s;
109781                     char** endptr;
109782                     intmax_t ret = imaxabs(i);
109783                     imaxdiv_t dret = imaxdiv(numer, denom);
109784                     ret = strtoimax(s, endptr, base);
109785                     uintmax_t uret = strtoumax(s, endptr, base);
109786
109787   ;
109788   return 0;
109789 }
109790 _ACEOF
109791 rm -f conftest.$ac_objext
109792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109793   (eval $ac_compile) 2>conftest.er1
109794   ac_status=$?
109795   grep -v '^ *+' conftest.er1 >conftest.err
109796   rm -f conftest.er1
109797   cat conftest.err >&5
109798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109799   (exit $ac_status); } &&
109800          { ac_try='test -z "$ac_cxx_werror_flag"
109801                          || test ! -s conftest.err'
109802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109803   (eval $ac_try) 2>&5
109804   ac_status=$?
109805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109806   (exit $ac_status); }; } &&
109807          { ac_try='test -s conftest.$ac_objext'
109808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109809   (eval $ac_try) 2>&5
109810   ac_status=$?
109811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109812   (exit $ac_status); }; }; then
109813   ac_c99_inttypes_tr1=yes
109814 else
109815   echo "$as_me: failed program was:" >&5
109816 sed 's/^/| /' conftest.$ac_ext >&5
109817
109818 ac_c99_inttypes_tr1=no
109819 fi
109820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109821   fi
109822   echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
109823 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
109824   if test x"$ac_c99_inttypes_tr1" = x"yes"; then
109825
109826 cat >>confdefs.h <<\_ACEOF
109827 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
109828 _ACEOF
109829
109830   fi
109831
109832   # Check for the existence of the <stdbool.h> header.
109833
109834 for ac_header in stdbool.h
109835 do
109836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109838   echo "$as_me:$LINENO: checking for $ac_header" >&5
109839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109841   echo $ECHO_N "(cached) $ECHO_C" >&6
109842 fi
109843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109845 else
109846   # Is the header compilable?
109847 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109849 cat >conftest.$ac_ext <<_ACEOF
109850 /* confdefs.h.  */
109851 _ACEOF
109852 cat confdefs.h >>conftest.$ac_ext
109853 cat >>conftest.$ac_ext <<_ACEOF
109854 /* end confdefs.h.  */
109855 $ac_includes_default
109856 #include <$ac_header>
109857 _ACEOF
109858 rm -f conftest.$ac_objext
109859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109860   (eval $ac_compile) 2>conftest.er1
109861   ac_status=$?
109862   grep -v '^ *+' conftest.er1 >conftest.err
109863   rm -f conftest.er1
109864   cat conftest.err >&5
109865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109866   (exit $ac_status); } &&
109867          { ac_try='test -z "$ac_cxx_werror_flag"
109868                          || test ! -s conftest.err'
109869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109870   (eval $ac_try) 2>&5
109871   ac_status=$?
109872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109873   (exit $ac_status); }; } &&
109874          { ac_try='test -s conftest.$ac_objext'
109875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109876   (eval $ac_try) 2>&5
109877   ac_status=$?
109878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109879   (exit $ac_status); }; }; then
109880   ac_header_compiler=yes
109881 else
109882   echo "$as_me: failed program was:" >&5
109883 sed 's/^/| /' conftest.$ac_ext >&5
109884
109885 ac_header_compiler=no
109886 fi
109887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109889 echo "${ECHO_T}$ac_header_compiler" >&6
109890
109891 # Is the header present?
109892 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109893 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109894 cat >conftest.$ac_ext <<_ACEOF
109895 /* confdefs.h.  */
109896 _ACEOF
109897 cat confdefs.h >>conftest.$ac_ext
109898 cat >>conftest.$ac_ext <<_ACEOF
109899 /* end confdefs.h.  */
109900 #include <$ac_header>
109901 _ACEOF
109902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109903   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109904   ac_status=$?
109905   grep -v '^ *+' conftest.er1 >conftest.err
109906   rm -f conftest.er1
109907   cat conftest.err >&5
109908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
109909   (exit $ac_status); } >/dev/null; then
109910   if test -s conftest.err; then
109911     ac_cpp_err=$ac_cxx_preproc_warn_flag
109912     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109913   else
109914     ac_cpp_err=
109915   fi
109916 else
109917   ac_cpp_err=yes
109918 fi
109919 if test -z "$ac_cpp_err"; then
109920   ac_header_preproc=yes
109921 else
109922   echo "$as_me: failed program was:" >&5
109923 sed 's/^/| /' conftest.$ac_ext >&5
109924
109925   ac_header_preproc=no
109926 fi
109927 rm -f conftest.err conftest.$ac_ext
109928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109929 echo "${ECHO_T}$ac_header_preproc" >&6
109930
109931 # So?  What about this header?
109932 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109933   yes:no: )
109934     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109935 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109936     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109937 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109938     ac_header_preproc=yes
109939     ;;
109940   no:yes:* )
109941     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109942 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109943     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
109944 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
109945     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109946 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109947     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
109948 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
109949     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109950 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109951     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109952 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109953     (
109954       cat <<\_ASBOX
109955 ## ----------------------------------------- ##
109956 ## Report this to the package-unused lists.  ##
109957 ## ----------------------------------------- ##
109958 _ASBOX
109959     ) |
109960       sed "s/^/$as_me: WARNING:     /" >&2
109961     ;;
109962 esac
109963 echo "$as_me:$LINENO: checking for $ac_header" >&5
109964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109966   echo $ECHO_N "(cached) $ECHO_C" >&6
109967 else
109968   eval "$as_ac_Header=\$ac_header_preproc"
109969 fi
109970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109972
109973 fi
109974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109975   cat >>confdefs.h <<_ACEOF
109976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109977 _ACEOF
109978
109979 fi
109980
109981 done
109982
109983
109984   CXXFLAGS="$ac_save_CXXFLAGS"
109985   ac_ext=c
109986 ac_cpp='$CPP $CPPFLAGS'
109987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109990
109991
109992
109993     # Check for sigsetjmp
109994     cat >conftest.$ac_ext <<_ACEOF
109995 /* confdefs.h.  */
109996 _ACEOF
109997 cat confdefs.h >>conftest.$ac_ext
109998 cat >>conftest.$ac_ext <<_ACEOF
109999 /* end confdefs.h.  */
110000 #include <setjmp.h>
110001 int
110002 main ()
110003 {
110004 sigjmp_buf env;
110005        while (! sigsetjmp (env, 1))
110006          siglongjmp (env, 1);
110007
110008   ;
110009   return 0;
110010 }
110011 _ACEOF
110012 rm -f conftest.$ac_objext
110013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110014   (eval $ac_compile) 2>conftest.er1
110015   ac_status=$?
110016   grep -v '^ *+' conftest.er1 >conftest.err
110017   rm -f conftest.er1
110018   cat conftest.err >&5
110019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110020   (exit $ac_status); } &&
110021          { ac_try='test -z "$ac_c_werror_flag"
110022                          || test ! -s conftest.err'
110023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110024   (eval $ac_try) 2>&5
110025   ac_status=$?
110026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110027   (exit $ac_status); }; } &&
110028          { ac_try='test -s conftest.$ac_objext'
110029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110030   (eval $ac_try) 2>&5
110031   ac_status=$?
110032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110033   (exit $ac_status); }; }; then
110034
110035 cat >>confdefs.h <<\_ACEOF
110036 #define HAVE_SIGSETJMP 1
110037 _ACEOF
110038
110039 else
110040   echo "$as_me: failed program was:" >&5
110041 sed 's/^/| /' conftest.$ac_ext >&5
110042
110043 fi
110044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110045     ;;
110046   *-mingw32*)
110047
110048
110049
110050 for ac_header in sys/types.h locale.h float.h
110051 do
110052 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110054   echo "$as_me:$LINENO: checking for $ac_header" >&5
110055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110057   echo $ECHO_N "(cached) $ECHO_C" >&6
110058 fi
110059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110061 else
110062   # Is the header compilable?
110063 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110064 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110065 cat >conftest.$ac_ext <<_ACEOF
110066 /* confdefs.h.  */
110067 _ACEOF
110068 cat confdefs.h >>conftest.$ac_ext
110069 cat >>conftest.$ac_ext <<_ACEOF
110070 /* end confdefs.h.  */
110071 $ac_includes_default
110072 #include <$ac_header>
110073 _ACEOF
110074 rm -f conftest.$ac_objext
110075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110076   (eval $ac_compile) 2>conftest.er1
110077   ac_status=$?
110078   grep -v '^ *+' conftest.er1 >conftest.err
110079   rm -f conftest.er1
110080   cat conftest.err >&5
110081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110082   (exit $ac_status); } &&
110083          { ac_try='test -z "$ac_c_werror_flag"
110084                          || test ! -s conftest.err'
110085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110086   (eval $ac_try) 2>&5
110087   ac_status=$?
110088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110089   (exit $ac_status); }; } &&
110090          { ac_try='test -s conftest.$ac_objext'
110091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110092   (eval $ac_try) 2>&5
110093   ac_status=$?
110094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110095   (exit $ac_status); }; }; then
110096   ac_header_compiler=yes
110097 else
110098   echo "$as_me: failed program was:" >&5
110099 sed 's/^/| /' conftest.$ac_ext >&5
110100
110101 ac_header_compiler=no
110102 fi
110103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110105 echo "${ECHO_T}$ac_header_compiler" >&6
110106
110107 # Is the header present?
110108 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110109 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110110 cat >conftest.$ac_ext <<_ACEOF
110111 /* confdefs.h.  */
110112 _ACEOF
110113 cat confdefs.h >>conftest.$ac_ext
110114 cat >>conftest.$ac_ext <<_ACEOF
110115 /* end confdefs.h.  */
110116 #include <$ac_header>
110117 _ACEOF
110118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110119   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110120   ac_status=$?
110121   grep -v '^ *+' conftest.er1 >conftest.err
110122   rm -f conftest.er1
110123   cat conftest.err >&5
110124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110125   (exit $ac_status); } >/dev/null; then
110126   if test -s conftest.err; then
110127     ac_cpp_err=$ac_c_preproc_warn_flag
110128     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110129   else
110130     ac_cpp_err=
110131   fi
110132 else
110133   ac_cpp_err=yes
110134 fi
110135 if test -z "$ac_cpp_err"; then
110136   ac_header_preproc=yes
110137 else
110138   echo "$as_me: failed program was:" >&5
110139 sed 's/^/| /' conftest.$ac_ext >&5
110140
110141   ac_header_preproc=no
110142 fi
110143 rm -f conftest.err conftest.$ac_ext
110144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110145 echo "${ECHO_T}$ac_header_preproc" >&6
110146
110147 # So?  What about this header?
110148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110149   yes:no: )
110150     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110151 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110152     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110153 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110154     ac_header_preproc=yes
110155     ;;
110156   no:yes:* )
110157     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110158 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110159     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
110160 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
110161     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110162 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110163     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
110164 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
110165     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110166 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110167     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110168 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110169     (
110170       cat <<\_ASBOX
110171 ## ----------------------------------------- ##
110172 ## Report this to the package-unused lists.  ##
110173 ## ----------------------------------------- ##
110174 _ASBOX
110175     ) |
110176       sed "s/^/$as_me: WARNING:     /" >&2
110177     ;;
110178 esac
110179 echo "$as_me:$LINENO: checking for $ac_header" >&5
110180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110182   echo $ECHO_N "(cached) $ECHO_C" >&6
110183 else
110184   eval "$as_ac_Header=\$ac_header_preproc"
110185 fi
110186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110188
110189 fi
110190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110191   cat >>confdefs.h <<_ACEOF
110192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110193 _ACEOF
110194
110195 fi
110196
110197 done
110198
110199     cat >>confdefs.h <<\_ACEOF
110200 #define HAVE_STRTOF 1
110201 _ACEOF
110202
110203     cat >>confdefs.h <<\_ACEOF
110204 #define HAVE_STRTOLD 1
110205 _ACEOF
110206
110207
110208   # If we're not using GNU ld, then there's no point in even trying these
110209   # tests.  Check for that first.  We should have already tested for gld
110210   # by now (in libtool), but require it now just to be safe...
110211   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110212   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110213
110214
110215
110216   # The name set by libtool depends on the version of libtool.  Shame on us
110217   # for depending on an impl detail, but c'est la vie.  Older versions used
110218   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110219   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110220   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
110221   # set (hence we're using an older libtool), then set it.
110222   if test x${with_gnu_ld+set} != xset; then
110223     if test x${ac_cv_prog_gnu_ld+set} != xset; then
110224       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
110225       with_gnu_ld=no
110226     else
110227       with_gnu_ld=$ac_cv_prog_gnu_ld
110228     fi
110229   fi
110230
110231   # Start by getting the version number.  I think the libtool test already
110232   # does some of this, but throws away the result.
110233   glibcxx_ld_is_gold=no
110234   if test x"$with_gnu_ld" = x"yes"; then
110235     echo "$as_me:$LINENO: checking for ld version" >&5
110236 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110237
110238     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
110239       glibcxx_ld_is_gold=yes
110240     fi
110241     ldver=`$LD --version 2>/dev/null | head -1 | \
110242            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
110243
110244     glibcxx_gnu_ld_version=`echo $ldver | \
110245            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110246     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110247 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110248   fi
110249
110250   # Set --gc-sections.
110251   glibcxx_have_gc_sections=no
110252   if test "$glibcxx_ld_is_gold" = "yes"; then
110253     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
110254       glibcxx_have_gc_sections=yes
110255     fi
110256   else
110257     glibcxx_gcsections_min_ld=21602
110258     if test x"$with_gnu_ld" = x"yes" &&
110259         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110260       glibcxx_have_gc_sections=yes
110261     fi
110262   fi
110263   if test "$glibcxx_have_gc_sections" = "yes"; then
110264     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
110265     # NB: This flag only works reliably after 2.16.1. Configure tests
110266     # for this are difficult, so hard wire a value that should work.
110267
110268     ac_test_CFLAGS="${CFLAGS+set}"
110269     ac_save_CFLAGS="$CFLAGS"
110270     CFLAGS='-Wl,--gc-sections'
110271
110272     # Check for -Wl,--gc-sections
110273     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110274 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110275     if test x$gcc_no_link = xyes; then
110276   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110278    { (exit 1); exit 1; }; }
110279 fi
110280 cat >conftest.$ac_ext <<_ACEOF
110281 /* confdefs.h.  */
110282 _ACEOF
110283 cat confdefs.h >>conftest.$ac_ext
110284 cat >>conftest.$ac_ext <<_ACEOF
110285 /* end confdefs.h.  */
110286  int one(void) { return 1; }
110287      int two(void) { return 2; }
110288
110289 int
110290 main ()
110291 {
110292  two();
110293   ;
110294   return 0;
110295 }
110296 _ACEOF
110297 rm -f conftest.$ac_objext conftest$ac_exeext
110298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110299   (eval $ac_link) 2>conftest.er1
110300   ac_status=$?
110301   grep -v '^ *+' conftest.er1 >conftest.err
110302   rm -f conftest.er1
110303   cat conftest.err >&5
110304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110305   (exit $ac_status); } &&
110306          { ac_try='test -z "$ac_c_werror_flag"
110307                          || test ! -s conftest.err'
110308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110309   (eval $ac_try) 2>&5
110310   ac_status=$?
110311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110312   (exit $ac_status); }; } &&
110313          { ac_try='test -s conftest$ac_exeext'
110314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110315   (eval $ac_try) 2>&5
110316   ac_status=$?
110317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110318   (exit $ac_status); }; }; then
110319   ac_gcsections=yes
110320 else
110321   echo "$as_me: failed program was:" >&5
110322 sed 's/^/| /' conftest.$ac_ext >&5
110323
110324 ac_gcsections=no
110325 fi
110326 rm -f conftest.err conftest.$ac_objext \
110327       conftest$ac_exeext conftest.$ac_ext
110328     if test "$ac_gcsections" = "yes"; then
110329       rm -f conftest.c
110330       touch conftest.c
110331       if $CC -c conftest.c; then
110332         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110333            grep "Warning: gc-sections option ignored" > /dev/null; then
110334           ac_gcsections=no
110335         fi
110336       fi
110337       rm -f conftest.c conftest.o conftest
110338     fi
110339     if test "$ac_gcsections" = "yes"; then
110340       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110341     fi
110342     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110343 echo "${ECHO_T}$ac_gcsections" >&6
110344
110345     if test "$ac_test_CFLAGS" = set; then
110346       CFLAGS="$ac_save_CFLAGS"
110347     else
110348       # this is the suspicious part
110349       CFLAGS=''
110350     fi
110351   fi
110352
110353   # Set -z,relro.
110354   # Note this is only for shared objects.
110355   ac_ld_relro=no
110356   if test x"$with_gnu_ld" = x"yes"; then
110357     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110358 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110359     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110360     if test -n "$cxx_z_relo"; then
110361       OPT_LDFLAGS="-Wl,-z,relro"
110362       ac_ld_relro=yes
110363     fi
110364     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110365 echo "${ECHO_T}$ac_ld_relro" >&6
110366   fi
110367
110368   # Set linker optimization flags.
110369   if test x"$with_gnu_ld" = x"yes"; then
110370     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110371   fi
110372
110373
110374
110375
110376
110377
110378 echo "$as_me:$LINENO: checking for main in -lm" >&5
110379 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110380 if test "${ac_cv_lib_m_main+set}" = set; then
110381   echo $ECHO_N "(cached) $ECHO_C" >&6
110382 else
110383   ac_check_lib_save_LIBS=$LIBS
110384 LIBS="-lm  $LIBS"
110385 if test x$gcc_no_link = xyes; then
110386   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110388    { (exit 1); exit 1; }; }
110389 fi
110390 cat >conftest.$ac_ext <<_ACEOF
110391 /* confdefs.h.  */
110392 _ACEOF
110393 cat confdefs.h >>conftest.$ac_ext
110394 cat >>conftest.$ac_ext <<_ACEOF
110395 /* end confdefs.h.  */
110396
110397
110398 int
110399 main ()
110400 {
110401 main ();
110402   ;
110403   return 0;
110404 }
110405 _ACEOF
110406 rm -f conftest.$ac_objext conftest$ac_exeext
110407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110408   (eval $ac_link) 2>conftest.er1
110409   ac_status=$?
110410   grep -v '^ *+' conftest.er1 >conftest.err
110411   rm -f conftest.er1
110412   cat conftest.err >&5
110413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110414   (exit $ac_status); } &&
110415          { ac_try='test -z "$ac_c_werror_flag"
110416                          || test ! -s conftest.err'
110417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110418   (eval $ac_try) 2>&5
110419   ac_status=$?
110420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110421   (exit $ac_status); }; } &&
110422          { ac_try='test -s conftest$ac_exeext'
110423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110424   (eval $ac_try) 2>&5
110425   ac_status=$?
110426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110427   (exit $ac_status); }; }; then
110428   ac_cv_lib_m_main=yes
110429 else
110430   echo "$as_me: failed program was:" >&5
110431 sed 's/^/| /' conftest.$ac_ext >&5
110432
110433 ac_cv_lib_m_main=no
110434 fi
110435 rm -f conftest.err conftest.$ac_objext \
110436       conftest$ac_exeext conftest.$ac_ext
110437 LIBS=$ac_check_lib_save_LIBS
110438 fi
110439 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110440 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110441 if test $ac_cv_lib_m_main = yes; then
110442   cat >>confdefs.h <<_ACEOF
110443 #define HAVE_LIBM 1
110444 _ACEOF
110445
110446   LIBS="-lm $LIBS"
110447
110448 fi
110449
110450
110451 for ac_func in copysignf
110452 do
110453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110454 echo "$as_me:$LINENO: checking for $ac_func" >&5
110455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110456 if eval "test \"\${$as_ac_var+set}\" = set"; then
110457   echo $ECHO_N "(cached) $ECHO_C" >&6
110458 else
110459   if test x$gcc_no_link = xyes; then
110460   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110462    { (exit 1); exit 1; }; }
110463 fi
110464 cat >conftest.$ac_ext <<_ACEOF
110465 /* confdefs.h.  */
110466 _ACEOF
110467 cat confdefs.h >>conftest.$ac_ext
110468 cat >>conftest.$ac_ext <<_ACEOF
110469 /* end confdefs.h.  */
110470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110471    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110472 #define $ac_func innocuous_$ac_func
110473
110474 /* System header to define __stub macros and hopefully few prototypes,
110475     which can conflict with char $ac_func (); below.
110476     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110477     <limits.h> exists even on freestanding compilers.  */
110478
110479 #ifdef __STDC__
110480 # include <limits.h>
110481 #else
110482 # include <assert.h>
110483 #endif
110484
110485 #undef $ac_func
110486
110487 /* Override any gcc2 internal prototype to avoid an error.  */
110488 #ifdef __cplusplus
110489 extern "C"
110490 {
110491 #endif
110492 /* We use char because int might match the return type of a gcc2
110493    builtin and then its argument prototype would still apply.  */
110494 char $ac_func ();
110495 /* The GNU C library defines this for functions which it implements
110496     to always fail with ENOSYS.  Some functions are actually named
110497     something starting with __ and the normal name is an alias.  */
110498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110499 choke me
110500 #else
110501 char (*f) () = $ac_func;
110502 #endif
110503 #ifdef __cplusplus
110504 }
110505 #endif
110506
110507 int
110508 main ()
110509 {
110510 return f != $ac_func;
110511   ;
110512   return 0;
110513 }
110514 _ACEOF
110515 rm -f conftest.$ac_objext conftest$ac_exeext
110516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110517   (eval $ac_link) 2>conftest.er1
110518   ac_status=$?
110519   grep -v '^ *+' conftest.er1 >conftest.err
110520   rm -f conftest.er1
110521   cat conftest.err >&5
110522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110523   (exit $ac_status); } &&
110524          { ac_try='test -z "$ac_c_werror_flag"
110525                          || test ! -s conftest.err'
110526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110527   (eval $ac_try) 2>&5
110528   ac_status=$?
110529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110530   (exit $ac_status); }; } &&
110531          { ac_try='test -s conftest$ac_exeext'
110532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110533   (eval $ac_try) 2>&5
110534   ac_status=$?
110535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110536   (exit $ac_status); }; }; then
110537   eval "$as_ac_var=yes"
110538 else
110539   echo "$as_me: failed program was:" >&5
110540 sed 's/^/| /' conftest.$ac_ext >&5
110541
110542 eval "$as_ac_var=no"
110543 fi
110544 rm -f conftest.err conftest.$ac_objext \
110545       conftest$ac_exeext conftest.$ac_ext
110546 fi
110547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110549 if test `eval echo '${'$as_ac_var'}'` = yes; then
110550   cat >>confdefs.h <<_ACEOF
110551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110552 _ACEOF
110553
110554 else
110555   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
110556 fi
110557 done
110558
110559
110560
110561 for ac_func in __signbit
110562 do
110563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110564 echo "$as_me:$LINENO: checking for $ac_func" >&5
110565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110566 if eval "test \"\${$as_ac_var+set}\" = set"; then
110567   echo $ECHO_N "(cached) $ECHO_C" >&6
110568 else
110569   if test x$gcc_no_link = xyes; then
110570   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110572    { (exit 1); exit 1; }; }
110573 fi
110574 cat >conftest.$ac_ext <<_ACEOF
110575 /* confdefs.h.  */
110576 _ACEOF
110577 cat confdefs.h >>conftest.$ac_ext
110578 cat >>conftest.$ac_ext <<_ACEOF
110579 /* end confdefs.h.  */
110580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110581    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110582 #define $ac_func innocuous_$ac_func
110583
110584 /* System header to define __stub macros and hopefully few prototypes,
110585     which can conflict with char $ac_func (); below.
110586     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110587     <limits.h> exists even on freestanding compilers.  */
110588
110589 #ifdef __STDC__
110590 # include <limits.h>
110591 #else
110592 # include <assert.h>
110593 #endif
110594
110595 #undef $ac_func
110596
110597 /* Override any gcc2 internal prototype to avoid an error.  */
110598 #ifdef __cplusplus
110599 extern "C"
110600 {
110601 #endif
110602 /* We use char because int might match the return type of a gcc2
110603    builtin and then its argument prototype would still apply.  */
110604 char $ac_func ();
110605 /* The GNU C library defines this for functions which it implements
110606     to always fail with ENOSYS.  Some functions are actually named
110607     something starting with __ and the normal name is an alias.  */
110608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110609 choke me
110610 #else
110611 char (*f) () = $ac_func;
110612 #endif
110613 #ifdef __cplusplus
110614 }
110615 #endif
110616
110617 int
110618 main ()
110619 {
110620 return f != $ac_func;
110621   ;
110622   return 0;
110623 }
110624 _ACEOF
110625 rm -f conftest.$ac_objext conftest$ac_exeext
110626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110627   (eval $ac_link) 2>conftest.er1
110628   ac_status=$?
110629   grep -v '^ *+' conftest.er1 >conftest.err
110630   rm -f conftest.er1
110631   cat conftest.err >&5
110632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110633   (exit $ac_status); } &&
110634          { ac_try='test -z "$ac_c_werror_flag"
110635                          || test ! -s conftest.err'
110636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110637   (eval $ac_try) 2>&5
110638   ac_status=$?
110639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110640   (exit $ac_status); }; } &&
110641          { ac_try='test -s conftest$ac_exeext'
110642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110643   (eval $ac_try) 2>&5
110644   ac_status=$?
110645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110646   (exit $ac_status); }; }; then
110647   eval "$as_ac_var=yes"
110648 else
110649   echo "$as_me: failed program was:" >&5
110650 sed 's/^/| /' conftest.$ac_ext >&5
110651
110652 eval "$as_ac_var=no"
110653 fi
110654 rm -f conftest.err conftest.$ac_objext \
110655       conftest$ac_exeext conftest.$ac_ext
110656 fi
110657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110659 if test `eval echo '${'$as_ac_var'}'` = yes; then
110660   cat >>confdefs.h <<_ACEOF
110661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110662 _ACEOF
110663
110664 else
110665   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110666 fi
110667 done
110668
110669
110670
110671 for ac_func in __signbitf
110672 do
110673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110674 echo "$as_me:$LINENO: checking for $ac_func" >&5
110675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110676 if eval "test \"\${$as_ac_var+set}\" = set"; then
110677   echo $ECHO_N "(cached) $ECHO_C" >&6
110678 else
110679   if test x$gcc_no_link = xyes; then
110680   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110682    { (exit 1); exit 1; }; }
110683 fi
110684 cat >conftest.$ac_ext <<_ACEOF
110685 /* confdefs.h.  */
110686 _ACEOF
110687 cat confdefs.h >>conftest.$ac_ext
110688 cat >>conftest.$ac_ext <<_ACEOF
110689 /* end confdefs.h.  */
110690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110691    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110692 #define $ac_func innocuous_$ac_func
110693
110694 /* System header to define __stub macros and hopefully few prototypes,
110695     which can conflict with char $ac_func (); below.
110696     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110697     <limits.h> exists even on freestanding compilers.  */
110698
110699 #ifdef __STDC__
110700 # include <limits.h>
110701 #else
110702 # include <assert.h>
110703 #endif
110704
110705 #undef $ac_func
110706
110707 /* Override any gcc2 internal prototype to avoid an error.  */
110708 #ifdef __cplusplus
110709 extern "C"
110710 {
110711 #endif
110712 /* We use char because int might match the return type of a gcc2
110713    builtin and then its argument prototype would still apply.  */
110714 char $ac_func ();
110715 /* The GNU C library defines this for functions which it implements
110716     to always fail with ENOSYS.  Some functions are actually named
110717     something starting with __ and the normal name is an alias.  */
110718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110719 choke me
110720 #else
110721 char (*f) () = $ac_func;
110722 #endif
110723 #ifdef __cplusplus
110724 }
110725 #endif
110726
110727 int
110728 main ()
110729 {
110730 return f != $ac_func;
110731   ;
110732   return 0;
110733 }
110734 _ACEOF
110735 rm -f conftest.$ac_objext conftest$ac_exeext
110736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110737   (eval $ac_link) 2>conftest.er1
110738   ac_status=$?
110739   grep -v '^ *+' conftest.er1 >conftest.err
110740   rm -f conftest.er1
110741   cat conftest.err >&5
110742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110743   (exit $ac_status); } &&
110744          { ac_try='test -z "$ac_c_werror_flag"
110745                          || test ! -s conftest.err'
110746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110747   (eval $ac_try) 2>&5
110748   ac_status=$?
110749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110750   (exit $ac_status); }; } &&
110751          { ac_try='test -s conftest$ac_exeext'
110752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110753   (eval $ac_try) 2>&5
110754   ac_status=$?
110755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110756   (exit $ac_status); }; }; then
110757   eval "$as_ac_var=yes"
110758 else
110759   echo "$as_me: failed program was:" >&5
110760 sed 's/^/| /' conftest.$ac_ext >&5
110761
110762 eval "$as_ac_var=no"
110763 fi
110764 rm -f conftest.err conftest.$ac_objext \
110765       conftest$ac_exeext conftest.$ac_ext
110766 fi
110767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110769 if test `eval echo '${'$as_ac_var'}'` = yes; then
110770   cat >>confdefs.h <<_ACEOF
110771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110772 _ACEOF
110773
110774 else
110775   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
110776 fi
110777 done
110778
110779
110780           if test x$ac_cv_func_copysignl = x"yes"; then
110781
110782 for ac_func in __signbitl
110783 do
110784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110785 echo "$as_me:$LINENO: checking for $ac_func" >&5
110786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110787 if eval "test \"\${$as_ac_var+set}\" = set"; then
110788   echo $ECHO_N "(cached) $ECHO_C" >&6
110789 else
110790   if test x$gcc_no_link = xyes; then
110791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110793    { (exit 1); exit 1; }; }
110794 fi
110795 cat >conftest.$ac_ext <<_ACEOF
110796 /* confdefs.h.  */
110797 _ACEOF
110798 cat confdefs.h >>conftest.$ac_ext
110799 cat >>conftest.$ac_ext <<_ACEOF
110800 /* end confdefs.h.  */
110801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
110803 #define $ac_func innocuous_$ac_func
110804
110805 /* System header to define __stub macros and hopefully few prototypes,
110806     which can conflict with char $ac_func (); below.
110807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110808     <limits.h> exists even on freestanding compilers.  */
110809
110810 #ifdef __STDC__
110811 # include <limits.h>
110812 #else
110813 # include <assert.h>
110814 #endif
110815
110816 #undef $ac_func
110817
110818 /* Override any gcc2 internal prototype to avoid an error.  */
110819 #ifdef __cplusplus
110820 extern "C"
110821 {
110822 #endif
110823 /* We use char because int might match the return type of a gcc2
110824    builtin and then its argument prototype would still apply.  */
110825 char $ac_func ();
110826 /* The GNU C library defines this for functions which it implements
110827     to always fail with ENOSYS.  Some functions are actually named
110828     something starting with __ and the normal name is an alias.  */
110829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110830 choke me
110831 #else
110832 char (*f) () = $ac_func;
110833 #endif
110834 #ifdef __cplusplus
110835 }
110836 #endif
110837
110838 int
110839 main ()
110840 {
110841 return f != $ac_func;
110842   ;
110843   return 0;
110844 }
110845 _ACEOF
110846 rm -f conftest.$ac_objext conftest$ac_exeext
110847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110848   (eval $ac_link) 2>conftest.er1
110849   ac_status=$?
110850   grep -v '^ *+' conftest.er1 >conftest.err
110851   rm -f conftest.er1
110852   cat conftest.err >&5
110853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110854   (exit $ac_status); } &&
110855          { ac_try='test -z "$ac_c_werror_flag"
110856                          || test ! -s conftest.err'
110857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110858   (eval $ac_try) 2>&5
110859   ac_status=$?
110860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110861   (exit $ac_status); }; } &&
110862          { ac_try='test -s conftest$ac_exeext'
110863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110864   (eval $ac_try) 2>&5
110865   ac_status=$?
110866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110867   (exit $ac_status); }; }; then
110868   eval "$as_ac_var=yes"
110869 else
110870   echo "$as_me: failed program was:" >&5
110871 sed 's/^/| /' conftest.$ac_ext >&5
110872
110873 eval "$as_ac_var=no"
110874 fi
110875 rm -f conftest.err conftest.$ac_objext \
110876       conftest$ac_exeext conftest.$ac_ext
110877 fi
110878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110880 if test `eval echo '${'$as_ac_var'}'` = yes; then
110881   cat >>confdefs.h <<_ACEOF
110882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110883 _ACEOF
110884
110885 else
110886   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
110887 fi
110888 done
110889
110890   fi
110891
110892   # Used in libmath/Makefile.am.
110893   if test -n "$LIBMATHOBJS"; then
110894     need_libmath=yes
110895   fi
110896
110897
110898     ;;
110899   *-netbsd*)
110900
110901
110902
110903
110904
110905
110906
110907
110908
110909
110910
110911
110912 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
110913       machine/endian.h machine/param.h sys/machine.h sys/types.h \
110914       fp.h locale.h float.h inttypes.h
110915 do
110916 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110918   echo "$as_me:$LINENO: checking for $ac_header" >&5
110919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110921   echo $ECHO_N "(cached) $ECHO_C" >&6
110922 fi
110923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110925 else
110926   # Is the header compilable?
110927 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110928 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110929 cat >conftest.$ac_ext <<_ACEOF
110930 /* confdefs.h.  */
110931 _ACEOF
110932 cat confdefs.h >>conftest.$ac_ext
110933 cat >>conftest.$ac_ext <<_ACEOF
110934 /* end confdefs.h.  */
110935 $ac_includes_default
110936 #include <$ac_header>
110937 _ACEOF
110938 rm -f conftest.$ac_objext
110939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110940   (eval $ac_compile) 2>conftest.er1
110941   ac_status=$?
110942   grep -v '^ *+' conftest.er1 >conftest.err
110943   rm -f conftest.er1
110944   cat conftest.err >&5
110945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110946   (exit $ac_status); } &&
110947          { ac_try='test -z "$ac_c_werror_flag"
110948                          || test ! -s conftest.err'
110949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110950   (eval $ac_try) 2>&5
110951   ac_status=$?
110952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110953   (exit $ac_status); }; } &&
110954          { ac_try='test -s conftest.$ac_objext'
110955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110956   (eval $ac_try) 2>&5
110957   ac_status=$?
110958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110959   (exit $ac_status); }; }; then
110960   ac_header_compiler=yes
110961 else
110962   echo "$as_me: failed program was:" >&5
110963 sed 's/^/| /' conftest.$ac_ext >&5
110964
110965 ac_header_compiler=no
110966 fi
110967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110968 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110969 echo "${ECHO_T}$ac_header_compiler" >&6
110970
110971 # Is the header present?
110972 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110973 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110974 cat >conftest.$ac_ext <<_ACEOF
110975 /* confdefs.h.  */
110976 _ACEOF
110977 cat confdefs.h >>conftest.$ac_ext
110978 cat >>conftest.$ac_ext <<_ACEOF
110979 /* end confdefs.h.  */
110980 #include <$ac_header>
110981 _ACEOF
110982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110983   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110984   ac_status=$?
110985   grep -v '^ *+' conftest.er1 >conftest.err
110986   rm -f conftest.er1
110987   cat conftest.err >&5
110988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
110989   (exit $ac_status); } >/dev/null; then
110990   if test -s conftest.err; then
110991     ac_cpp_err=$ac_c_preproc_warn_flag
110992     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110993   else
110994     ac_cpp_err=
110995   fi
110996 else
110997   ac_cpp_err=yes
110998 fi
110999 if test -z "$ac_cpp_err"; then
111000   ac_header_preproc=yes
111001 else
111002   echo "$as_me: failed program was:" >&5
111003 sed 's/^/| /' conftest.$ac_ext >&5
111004
111005   ac_header_preproc=no
111006 fi
111007 rm -f conftest.err conftest.$ac_ext
111008 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111009 echo "${ECHO_T}$ac_header_preproc" >&6
111010
111011 # So?  What about this header?
111012 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111013   yes:no: )
111014     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111015 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111016     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111017 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111018     ac_header_preproc=yes
111019     ;;
111020   no:yes:* )
111021     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111022 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111023     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
111024 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
111025     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111026 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111027     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
111028 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
111029     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111031     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111032 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111033     (
111034       cat <<\_ASBOX
111035 ## ----------------------------------------- ##
111036 ## Report this to the package-unused lists.  ##
111037 ## ----------------------------------------- ##
111038 _ASBOX
111039     ) |
111040       sed "s/^/$as_me: WARNING:     /" >&2
111041     ;;
111042 esac
111043 echo "$as_me:$LINENO: checking for $ac_header" >&5
111044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111046   echo $ECHO_N "(cached) $ECHO_C" >&6
111047 else
111048   eval "$as_ac_Header=\$ac_header_preproc"
111049 fi
111050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111052
111053 fi
111054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111055   cat >>confdefs.h <<_ACEOF
111056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111057 _ACEOF
111058
111059 fi
111060
111061 done
111062
111063     SECTION_FLAGS='-ffunction-sections -fdata-sections'
111064
111065
111066   # If we're not using GNU ld, then there's no point in even trying these
111067   # tests.  Check for that first.  We should have already tested for gld
111068   # by now (in libtool), but require it now just to be safe...
111069   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111070   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111071
111072
111073
111074   # The name set by libtool depends on the version of libtool.  Shame on us
111075   # for depending on an impl detail, but c'est la vie.  Older versions used
111076   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111077   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111078   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
111079   # set (hence we're using an older libtool), then set it.
111080   if test x${with_gnu_ld+set} != xset; then
111081     if test x${ac_cv_prog_gnu_ld+set} != xset; then
111082       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
111083       with_gnu_ld=no
111084     else
111085       with_gnu_ld=$ac_cv_prog_gnu_ld
111086     fi
111087   fi
111088
111089   # Start by getting the version number.  I think the libtool test already
111090   # does some of this, but throws away the result.
111091   glibcxx_ld_is_gold=no
111092   if test x"$with_gnu_ld" = x"yes"; then
111093     echo "$as_me:$LINENO: checking for ld version" >&5
111094 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111095
111096     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
111097       glibcxx_ld_is_gold=yes
111098     fi
111099     ldver=`$LD --version 2>/dev/null | head -1 | \
111100            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
111101
111102     glibcxx_gnu_ld_version=`echo $ldver | \
111103            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111104     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111105 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111106   fi
111107
111108   # Set --gc-sections.
111109   glibcxx_have_gc_sections=no
111110   if test "$glibcxx_ld_is_gold" = "yes"; then
111111     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
111112       glibcxx_have_gc_sections=yes
111113     fi
111114   else
111115     glibcxx_gcsections_min_ld=21602
111116     if test x"$with_gnu_ld" = x"yes" &&
111117         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111118       glibcxx_have_gc_sections=yes
111119     fi
111120   fi
111121   if test "$glibcxx_have_gc_sections" = "yes"; then
111122     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
111123     # NB: This flag only works reliably after 2.16.1. Configure tests
111124     # for this are difficult, so hard wire a value that should work.
111125
111126     ac_test_CFLAGS="${CFLAGS+set}"
111127     ac_save_CFLAGS="$CFLAGS"
111128     CFLAGS='-Wl,--gc-sections'
111129
111130     # Check for -Wl,--gc-sections
111131     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111132 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111133     if test x$gcc_no_link = xyes; then
111134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111136    { (exit 1); exit 1; }; }
111137 fi
111138 cat >conftest.$ac_ext <<_ACEOF
111139 /* confdefs.h.  */
111140 _ACEOF
111141 cat confdefs.h >>conftest.$ac_ext
111142 cat >>conftest.$ac_ext <<_ACEOF
111143 /* end confdefs.h.  */
111144  int one(void) { return 1; }
111145      int two(void) { return 2; }
111146
111147 int
111148 main ()
111149 {
111150  two();
111151   ;
111152   return 0;
111153 }
111154 _ACEOF
111155 rm -f conftest.$ac_objext conftest$ac_exeext
111156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111157   (eval $ac_link) 2>conftest.er1
111158   ac_status=$?
111159   grep -v '^ *+' conftest.er1 >conftest.err
111160   rm -f conftest.er1
111161   cat conftest.err >&5
111162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111163   (exit $ac_status); } &&
111164          { ac_try='test -z "$ac_c_werror_flag"
111165                          || test ! -s conftest.err'
111166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111167   (eval $ac_try) 2>&5
111168   ac_status=$?
111169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111170   (exit $ac_status); }; } &&
111171          { ac_try='test -s conftest$ac_exeext'
111172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111173   (eval $ac_try) 2>&5
111174   ac_status=$?
111175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111176   (exit $ac_status); }; }; then
111177   ac_gcsections=yes
111178 else
111179   echo "$as_me: failed program was:" >&5
111180 sed 's/^/| /' conftest.$ac_ext >&5
111181
111182 ac_gcsections=no
111183 fi
111184 rm -f conftest.err conftest.$ac_objext \
111185       conftest$ac_exeext conftest.$ac_ext
111186     if test "$ac_gcsections" = "yes"; then
111187       rm -f conftest.c
111188       touch conftest.c
111189       if $CC -c conftest.c; then
111190         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111191            grep "Warning: gc-sections option ignored" > /dev/null; then
111192           ac_gcsections=no
111193         fi
111194       fi
111195       rm -f conftest.c conftest.o conftest
111196     fi
111197     if test "$ac_gcsections" = "yes"; then
111198       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111199     fi
111200     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111201 echo "${ECHO_T}$ac_gcsections" >&6
111202
111203     if test "$ac_test_CFLAGS" = set; then
111204       CFLAGS="$ac_save_CFLAGS"
111205     else
111206       # this is the suspicious part
111207       CFLAGS=''
111208     fi
111209   fi
111210
111211   # Set -z,relro.
111212   # Note this is only for shared objects.
111213   ac_ld_relro=no
111214   if test x"$with_gnu_ld" = x"yes"; then
111215     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111216 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111217     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111218     if test -n "$cxx_z_relo"; then
111219       OPT_LDFLAGS="-Wl,-z,relro"
111220       ac_ld_relro=yes
111221     fi
111222     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111223 echo "${ECHO_T}$ac_ld_relro" >&6
111224   fi
111225
111226   # Set linker optimization flags.
111227   if test x"$with_gnu_ld" = x"yes"; then
111228     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111229   fi
111230
111231
111232
111233
111234
111235
111236 echo "$as_me:$LINENO: checking for main in -lm" >&5
111237 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111238 if test "${ac_cv_lib_m_main+set}" = set; then
111239   echo $ECHO_N "(cached) $ECHO_C" >&6
111240 else
111241   ac_check_lib_save_LIBS=$LIBS
111242 LIBS="-lm  $LIBS"
111243 if test x$gcc_no_link = xyes; then
111244   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111246    { (exit 1); exit 1; }; }
111247 fi
111248 cat >conftest.$ac_ext <<_ACEOF
111249 /* confdefs.h.  */
111250 _ACEOF
111251 cat confdefs.h >>conftest.$ac_ext
111252 cat >>conftest.$ac_ext <<_ACEOF
111253 /* end confdefs.h.  */
111254
111255
111256 int
111257 main ()
111258 {
111259 main ();
111260   ;
111261   return 0;
111262 }
111263 _ACEOF
111264 rm -f conftest.$ac_objext conftest$ac_exeext
111265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111266   (eval $ac_link) 2>conftest.er1
111267   ac_status=$?
111268   grep -v '^ *+' conftest.er1 >conftest.err
111269   rm -f conftest.er1
111270   cat conftest.err >&5
111271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111272   (exit $ac_status); } &&
111273          { ac_try='test -z "$ac_c_werror_flag"
111274                          || test ! -s conftest.err'
111275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111276   (eval $ac_try) 2>&5
111277   ac_status=$?
111278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111279   (exit $ac_status); }; } &&
111280          { ac_try='test -s conftest$ac_exeext'
111281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111282   (eval $ac_try) 2>&5
111283   ac_status=$?
111284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111285   (exit $ac_status); }; }; then
111286   ac_cv_lib_m_main=yes
111287 else
111288   echo "$as_me: failed program was:" >&5
111289 sed 's/^/| /' conftest.$ac_ext >&5
111290
111291 ac_cv_lib_m_main=no
111292 fi
111293 rm -f conftest.err conftest.$ac_objext \
111294       conftest$ac_exeext conftest.$ac_ext
111295 LIBS=$ac_check_lib_save_LIBS
111296 fi
111297 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111298 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111299 if test $ac_cv_lib_m_main = yes; then
111300   cat >>confdefs.h <<_ACEOF
111301 #define HAVE_LIBM 1
111302 _ACEOF
111303
111304   LIBS="-lm $LIBS"
111305
111306 fi
111307
111308
111309 for ac_func in copysignf
111310 do
111311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111312 echo "$as_me:$LINENO: checking for $ac_func" >&5
111313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111314 if eval "test \"\${$as_ac_var+set}\" = set"; then
111315   echo $ECHO_N "(cached) $ECHO_C" >&6
111316 else
111317   if test x$gcc_no_link = xyes; then
111318   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111320    { (exit 1); exit 1; }; }
111321 fi
111322 cat >conftest.$ac_ext <<_ACEOF
111323 /* confdefs.h.  */
111324 _ACEOF
111325 cat confdefs.h >>conftest.$ac_ext
111326 cat >>conftest.$ac_ext <<_ACEOF
111327 /* end confdefs.h.  */
111328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111329    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111330 #define $ac_func innocuous_$ac_func
111331
111332 /* System header to define __stub macros and hopefully few prototypes,
111333     which can conflict with char $ac_func (); below.
111334     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111335     <limits.h> exists even on freestanding compilers.  */
111336
111337 #ifdef __STDC__
111338 # include <limits.h>
111339 #else
111340 # include <assert.h>
111341 #endif
111342
111343 #undef $ac_func
111344
111345 /* Override any gcc2 internal prototype to avoid an error.  */
111346 #ifdef __cplusplus
111347 extern "C"
111348 {
111349 #endif
111350 /* We use char because int might match the return type of a gcc2
111351    builtin and then its argument prototype would still apply.  */
111352 char $ac_func ();
111353 /* The GNU C library defines this for functions which it implements
111354     to always fail with ENOSYS.  Some functions are actually named
111355     something starting with __ and the normal name is an alias.  */
111356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111357 choke me
111358 #else
111359 char (*f) () = $ac_func;
111360 #endif
111361 #ifdef __cplusplus
111362 }
111363 #endif
111364
111365 int
111366 main ()
111367 {
111368 return f != $ac_func;
111369   ;
111370   return 0;
111371 }
111372 _ACEOF
111373 rm -f conftest.$ac_objext conftest$ac_exeext
111374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111375   (eval $ac_link) 2>conftest.er1
111376   ac_status=$?
111377   grep -v '^ *+' conftest.er1 >conftest.err
111378   rm -f conftest.er1
111379   cat conftest.err >&5
111380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111381   (exit $ac_status); } &&
111382          { ac_try='test -z "$ac_c_werror_flag"
111383                          || test ! -s conftest.err'
111384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111385   (eval $ac_try) 2>&5
111386   ac_status=$?
111387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111388   (exit $ac_status); }; } &&
111389          { ac_try='test -s conftest$ac_exeext'
111390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111391   (eval $ac_try) 2>&5
111392   ac_status=$?
111393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111394   (exit $ac_status); }; }; then
111395   eval "$as_ac_var=yes"
111396 else
111397   echo "$as_me: failed program was:" >&5
111398 sed 's/^/| /' conftest.$ac_ext >&5
111399
111400 eval "$as_ac_var=no"
111401 fi
111402 rm -f conftest.err conftest.$ac_objext \
111403       conftest$ac_exeext conftest.$ac_ext
111404 fi
111405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111407 if test `eval echo '${'$as_ac_var'}'` = yes; then
111408   cat >>confdefs.h <<_ACEOF
111409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111410 _ACEOF
111411
111412 else
111413   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111414 fi
111415 done
111416
111417
111418
111419 for ac_func in __signbit
111420 do
111421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111422 echo "$as_me:$LINENO: checking for $ac_func" >&5
111423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111424 if eval "test \"\${$as_ac_var+set}\" = set"; then
111425   echo $ECHO_N "(cached) $ECHO_C" >&6
111426 else
111427   if test x$gcc_no_link = xyes; then
111428   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111430    { (exit 1); exit 1; }; }
111431 fi
111432 cat >conftest.$ac_ext <<_ACEOF
111433 /* confdefs.h.  */
111434 _ACEOF
111435 cat confdefs.h >>conftest.$ac_ext
111436 cat >>conftest.$ac_ext <<_ACEOF
111437 /* end confdefs.h.  */
111438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111439    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111440 #define $ac_func innocuous_$ac_func
111441
111442 /* System header to define __stub macros and hopefully few prototypes,
111443     which can conflict with char $ac_func (); below.
111444     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111445     <limits.h> exists even on freestanding compilers.  */
111446
111447 #ifdef __STDC__
111448 # include <limits.h>
111449 #else
111450 # include <assert.h>
111451 #endif
111452
111453 #undef $ac_func
111454
111455 /* Override any gcc2 internal prototype to avoid an error.  */
111456 #ifdef __cplusplus
111457 extern "C"
111458 {
111459 #endif
111460 /* We use char because int might match the return type of a gcc2
111461    builtin and then its argument prototype would still apply.  */
111462 char $ac_func ();
111463 /* The GNU C library defines this for functions which it implements
111464     to always fail with ENOSYS.  Some functions are actually named
111465     something starting with __ and the normal name is an alias.  */
111466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111467 choke me
111468 #else
111469 char (*f) () = $ac_func;
111470 #endif
111471 #ifdef __cplusplus
111472 }
111473 #endif
111474
111475 int
111476 main ()
111477 {
111478 return f != $ac_func;
111479   ;
111480   return 0;
111481 }
111482 _ACEOF
111483 rm -f conftest.$ac_objext conftest$ac_exeext
111484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111485   (eval $ac_link) 2>conftest.er1
111486   ac_status=$?
111487   grep -v '^ *+' conftest.er1 >conftest.err
111488   rm -f conftest.er1
111489   cat conftest.err >&5
111490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111491   (exit $ac_status); } &&
111492          { ac_try='test -z "$ac_c_werror_flag"
111493                          || test ! -s conftest.err'
111494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111495   (eval $ac_try) 2>&5
111496   ac_status=$?
111497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111498   (exit $ac_status); }; } &&
111499          { ac_try='test -s conftest$ac_exeext'
111500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111501   (eval $ac_try) 2>&5
111502   ac_status=$?
111503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111504   (exit $ac_status); }; }; then
111505   eval "$as_ac_var=yes"
111506 else
111507   echo "$as_me: failed program was:" >&5
111508 sed 's/^/| /' conftest.$ac_ext >&5
111509
111510 eval "$as_ac_var=no"
111511 fi
111512 rm -f conftest.err conftest.$ac_objext \
111513       conftest$ac_exeext conftest.$ac_ext
111514 fi
111515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111517 if test `eval echo '${'$as_ac_var'}'` = yes; then
111518   cat >>confdefs.h <<_ACEOF
111519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111520 _ACEOF
111521
111522 else
111523   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111524 fi
111525 done
111526
111527
111528
111529 for ac_func in __signbitf
111530 do
111531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111532 echo "$as_me:$LINENO: checking for $ac_func" >&5
111533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111534 if eval "test \"\${$as_ac_var+set}\" = set"; then
111535   echo $ECHO_N "(cached) $ECHO_C" >&6
111536 else
111537   if test x$gcc_no_link = xyes; then
111538   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111540    { (exit 1); exit 1; }; }
111541 fi
111542 cat >conftest.$ac_ext <<_ACEOF
111543 /* confdefs.h.  */
111544 _ACEOF
111545 cat confdefs.h >>conftest.$ac_ext
111546 cat >>conftest.$ac_ext <<_ACEOF
111547 /* end confdefs.h.  */
111548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111549    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111550 #define $ac_func innocuous_$ac_func
111551
111552 /* System header to define __stub macros and hopefully few prototypes,
111553     which can conflict with char $ac_func (); below.
111554     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111555     <limits.h> exists even on freestanding compilers.  */
111556
111557 #ifdef __STDC__
111558 # include <limits.h>
111559 #else
111560 # include <assert.h>
111561 #endif
111562
111563 #undef $ac_func
111564
111565 /* Override any gcc2 internal prototype to avoid an error.  */
111566 #ifdef __cplusplus
111567 extern "C"
111568 {
111569 #endif
111570 /* We use char because int might match the return type of a gcc2
111571    builtin and then its argument prototype would still apply.  */
111572 char $ac_func ();
111573 /* The GNU C library defines this for functions which it implements
111574     to always fail with ENOSYS.  Some functions are actually named
111575     something starting with __ and the normal name is an alias.  */
111576 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111577 choke me
111578 #else
111579 char (*f) () = $ac_func;
111580 #endif
111581 #ifdef __cplusplus
111582 }
111583 #endif
111584
111585 int
111586 main ()
111587 {
111588 return f != $ac_func;
111589   ;
111590   return 0;
111591 }
111592 _ACEOF
111593 rm -f conftest.$ac_objext conftest$ac_exeext
111594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111595   (eval $ac_link) 2>conftest.er1
111596   ac_status=$?
111597   grep -v '^ *+' conftest.er1 >conftest.err
111598   rm -f conftest.er1
111599   cat conftest.err >&5
111600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111601   (exit $ac_status); } &&
111602          { ac_try='test -z "$ac_c_werror_flag"
111603                          || test ! -s conftest.err'
111604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111605   (eval $ac_try) 2>&5
111606   ac_status=$?
111607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111608   (exit $ac_status); }; } &&
111609          { ac_try='test -s conftest$ac_exeext'
111610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111611   (eval $ac_try) 2>&5
111612   ac_status=$?
111613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111614   (exit $ac_status); }; }; then
111615   eval "$as_ac_var=yes"
111616 else
111617   echo "$as_me: failed program was:" >&5
111618 sed 's/^/| /' conftest.$ac_ext >&5
111619
111620 eval "$as_ac_var=no"
111621 fi
111622 rm -f conftest.err conftest.$ac_objext \
111623       conftest$ac_exeext conftest.$ac_ext
111624 fi
111625 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111626 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111627 if test `eval echo '${'$as_ac_var'}'` = yes; then
111628   cat >>confdefs.h <<_ACEOF
111629 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111630 _ACEOF
111631
111632 else
111633   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111634 fi
111635 done
111636
111637
111638           if test x$ac_cv_func_copysignl = x"yes"; then
111639
111640 for ac_func in __signbitl
111641 do
111642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111643 echo "$as_me:$LINENO: checking for $ac_func" >&5
111644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111645 if eval "test \"\${$as_ac_var+set}\" = set"; then
111646   echo $ECHO_N "(cached) $ECHO_C" >&6
111647 else
111648   if test x$gcc_no_link = xyes; then
111649   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111651    { (exit 1); exit 1; }; }
111652 fi
111653 cat >conftest.$ac_ext <<_ACEOF
111654 /* confdefs.h.  */
111655 _ACEOF
111656 cat confdefs.h >>conftest.$ac_ext
111657 cat >>conftest.$ac_ext <<_ACEOF
111658 /* end confdefs.h.  */
111659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111660    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
111661 #define $ac_func innocuous_$ac_func
111662
111663 /* System header to define __stub macros and hopefully few prototypes,
111664     which can conflict with char $ac_func (); below.
111665     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111666     <limits.h> exists even on freestanding compilers.  */
111667
111668 #ifdef __STDC__
111669 # include <limits.h>
111670 #else
111671 # include <assert.h>
111672 #endif
111673
111674 #undef $ac_func
111675
111676 /* Override any gcc2 internal prototype to avoid an error.  */
111677 #ifdef __cplusplus
111678 extern "C"
111679 {
111680 #endif
111681 /* We use char because int might match the return type of a gcc2
111682    builtin and then its argument prototype would still apply.  */
111683 char $ac_func ();
111684 /* The GNU C library defines this for functions which it implements
111685     to always fail with ENOSYS.  Some functions are actually named
111686     something starting with __ and the normal name is an alias.  */
111687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111688 choke me
111689 #else
111690 char (*f) () = $ac_func;
111691 #endif
111692 #ifdef __cplusplus
111693 }
111694 #endif
111695
111696 int
111697 main ()
111698 {
111699 return f != $ac_func;
111700   ;
111701   return 0;
111702 }
111703 _ACEOF
111704 rm -f conftest.$ac_objext conftest$ac_exeext
111705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111706   (eval $ac_link) 2>conftest.er1
111707   ac_status=$?
111708   grep -v '^ *+' conftest.er1 >conftest.err
111709   rm -f conftest.er1
111710   cat conftest.err >&5
111711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111712   (exit $ac_status); } &&
111713          { ac_try='test -z "$ac_c_werror_flag"
111714                          || test ! -s conftest.err'
111715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111716   (eval $ac_try) 2>&5
111717   ac_status=$?
111718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111719   (exit $ac_status); }; } &&
111720          { ac_try='test -s conftest$ac_exeext'
111721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111722   (eval $ac_try) 2>&5
111723   ac_status=$?
111724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111725   (exit $ac_status); }; }; then
111726   eval "$as_ac_var=yes"
111727 else
111728   echo "$as_me: failed program was:" >&5
111729 sed 's/^/| /' conftest.$ac_ext >&5
111730
111731 eval "$as_ac_var=no"
111732 fi
111733 rm -f conftest.err conftest.$ac_objext \
111734       conftest$ac_exeext conftest.$ac_ext
111735 fi
111736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111738 if test `eval echo '${'$as_ac_var'}'` = yes; then
111739   cat >>confdefs.h <<_ACEOF
111740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111741 _ACEOF
111742
111743 else
111744   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111745 fi
111746 done
111747
111748   fi
111749
111750   # Used in libmath/Makefile.am.
111751   if test -n "$LIBMATHOBJS"; then
111752     need_libmath=yes
111753   fi
111754
111755
111756     cat >>confdefs.h <<\_ACEOF
111757 #define HAVE_COPYSIGN 1
111758 _ACEOF
111759
111760     cat >>confdefs.h <<\_ACEOF
111761 #define HAVE_COPYSIGNF 1
111762 _ACEOF
111763
111764     cat >>confdefs.h <<\_ACEOF
111765 #define HAVE_FINITEF 1
111766 _ACEOF
111767
111768     cat >>confdefs.h <<\_ACEOF
111769 #define HAVE_FINITE 1
111770 _ACEOF
111771
111772     cat >>confdefs.h <<\_ACEOF
111773 #define HAVE_FREXPF 1
111774 _ACEOF
111775
111776     cat >>confdefs.h <<\_ACEOF
111777 #define HAVE_HYPOTF 1
111778 _ACEOF
111779
111780     cat >>confdefs.h <<\_ACEOF
111781 #define HAVE_ISINF 1
111782 _ACEOF
111783
111784     cat >>confdefs.h <<\_ACEOF
111785 #define HAVE_ISINFF 1
111786 _ACEOF
111787
111788     cat >>confdefs.h <<\_ACEOF
111789 #define HAVE_ISNAN 1
111790 _ACEOF
111791
111792     cat >>confdefs.h <<\_ACEOF
111793 #define HAVE_ISNANF 1
111794 _ACEOF
111795
111796     if test x"long_double_math_on_this_cpu" = x"yes"; then
111797       cat >>confdefs.h <<\_ACEOF
111798 #define HAVE_FINITEL 1
111799 _ACEOF
111800
111801       cat >>confdefs.h <<\_ACEOF
111802 #define HAVE_ISINFL 1
111803 _ACEOF
111804
111805       cat >>confdefs.h <<\_ACEOF
111806 #define HAVE_ISNANL 1
111807 _ACEOF
111808
111809     fi
111810     ;;
111811   *-netware)
111812
111813
111814
111815
111816
111817
111818
111819
111820 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
111821       sys/types.h locale.h float.h inttypes.h
111822 do
111823 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111824 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111825   echo "$as_me:$LINENO: checking for $ac_header" >&5
111826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111828   echo $ECHO_N "(cached) $ECHO_C" >&6
111829 fi
111830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111832 else
111833   # Is the header compilable?
111834 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111835 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111836 cat >conftest.$ac_ext <<_ACEOF
111837 /* confdefs.h.  */
111838 _ACEOF
111839 cat confdefs.h >>conftest.$ac_ext
111840 cat >>conftest.$ac_ext <<_ACEOF
111841 /* end confdefs.h.  */
111842 $ac_includes_default
111843 #include <$ac_header>
111844 _ACEOF
111845 rm -f conftest.$ac_objext
111846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111847   (eval $ac_compile) 2>conftest.er1
111848   ac_status=$?
111849   grep -v '^ *+' conftest.er1 >conftest.err
111850   rm -f conftest.er1
111851   cat conftest.err >&5
111852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111853   (exit $ac_status); } &&
111854          { ac_try='test -z "$ac_c_werror_flag"
111855                          || test ! -s conftest.err'
111856   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111857   (eval $ac_try) 2>&5
111858   ac_status=$?
111859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111860   (exit $ac_status); }; } &&
111861          { ac_try='test -s conftest.$ac_objext'
111862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111863   (eval $ac_try) 2>&5
111864   ac_status=$?
111865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111866   (exit $ac_status); }; }; then
111867   ac_header_compiler=yes
111868 else
111869   echo "$as_me: failed program was:" >&5
111870 sed 's/^/| /' conftest.$ac_ext >&5
111871
111872 ac_header_compiler=no
111873 fi
111874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111875 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111876 echo "${ECHO_T}$ac_header_compiler" >&6
111877
111878 # Is the header present?
111879 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111880 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111881 cat >conftest.$ac_ext <<_ACEOF
111882 /* confdefs.h.  */
111883 _ACEOF
111884 cat confdefs.h >>conftest.$ac_ext
111885 cat >>conftest.$ac_ext <<_ACEOF
111886 /* end confdefs.h.  */
111887 #include <$ac_header>
111888 _ACEOF
111889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111890   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111891   ac_status=$?
111892   grep -v '^ *+' conftest.er1 >conftest.err
111893   rm -f conftest.er1
111894   cat conftest.err >&5
111895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
111896   (exit $ac_status); } >/dev/null; then
111897   if test -s conftest.err; then
111898     ac_cpp_err=$ac_c_preproc_warn_flag
111899     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111900   else
111901     ac_cpp_err=
111902   fi
111903 else
111904   ac_cpp_err=yes
111905 fi
111906 if test -z "$ac_cpp_err"; then
111907   ac_header_preproc=yes
111908 else
111909   echo "$as_me: failed program was:" >&5
111910 sed 's/^/| /' conftest.$ac_ext >&5
111911
111912   ac_header_preproc=no
111913 fi
111914 rm -f conftest.err conftest.$ac_ext
111915 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111916 echo "${ECHO_T}$ac_header_preproc" >&6
111917
111918 # So?  What about this header?
111919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111920   yes:no: )
111921     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111922 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111923     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111924 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111925     ac_header_preproc=yes
111926     ;;
111927   no:yes:* )
111928     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111929 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111930     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
111931 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
111932     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111933 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111934     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
111935 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
111936     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111937 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111938     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111939 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111940     (
111941       cat <<\_ASBOX
111942 ## ----------------------------------------- ##
111943 ## Report this to the package-unused lists.  ##
111944 ## ----------------------------------------- ##
111945 _ASBOX
111946     ) |
111947       sed "s/^/$as_me: WARNING:     /" >&2
111948     ;;
111949 esac
111950 echo "$as_me:$LINENO: checking for $ac_header" >&5
111951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111953   echo $ECHO_N "(cached) $ECHO_C" >&6
111954 else
111955   eval "$as_ac_Header=\$ac_header_preproc"
111956 fi
111957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111959
111960 fi
111961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111962   cat >>confdefs.h <<_ACEOF
111963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111964 _ACEOF
111965
111966 fi
111967
111968 done
111969
111970     SECTION_FLAGS='-ffunction-sections -fdata-sections'
111971
111972
111973   # If we're not using GNU ld, then there's no point in even trying these
111974   # tests.  Check for that first.  We should have already tested for gld
111975   # by now (in libtool), but require it now just to be safe...
111976   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111977   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111978
111979
111980
111981   # The name set by libtool depends on the version of libtool.  Shame on us
111982   # for depending on an impl detail, but c'est la vie.  Older versions used
111983   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111984   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111985   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
111986   # set (hence we're using an older libtool), then set it.
111987   if test x${with_gnu_ld+set} != xset; then
111988     if test x${ac_cv_prog_gnu_ld+set} != xset; then
111989       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
111990       with_gnu_ld=no
111991     else
111992       with_gnu_ld=$ac_cv_prog_gnu_ld
111993     fi
111994   fi
111995
111996   # Start by getting the version number.  I think the libtool test already
111997   # does some of this, but throws away the result.
111998   glibcxx_ld_is_gold=no
111999   if test x"$with_gnu_ld" = x"yes"; then
112000     echo "$as_me:$LINENO: checking for ld version" >&5
112001 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112002
112003     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112004       glibcxx_ld_is_gold=yes
112005     fi
112006     ldver=`$LD --version 2>/dev/null | head -1 | \
112007            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112008
112009     glibcxx_gnu_ld_version=`echo $ldver | \
112010            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112011     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112012 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112013   fi
112014
112015   # Set --gc-sections.
112016   glibcxx_have_gc_sections=no
112017   if test "$glibcxx_ld_is_gold" = "yes"; then
112018     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112019       glibcxx_have_gc_sections=yes
112020     fi
112021   else
112022     glibcxx_gcsections_min_ld=21602
112023     if test x"$with_gnu_ld" = x"yes" &&
112024         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112025       glibcxx_have_gc_sections=yes
112026     fi
112027   fi
112028   if test "$glibcxx_have_gc_sections" = "yes"; then
112029     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
112030     # NB: This flag only works reliably after 2.16.1. Configure tests
112031     # for this are difficult, so hard wire a value that should work.
112032
112033     ac_test_CFLAGS="${CFLAGS+set}"
112034     ac_save_CFLAGS="$CFLAGS"
112035     CFLAGS='-Wl,--gc-sections'
112036
112037     # Check for -Wl,--gc-sections
112038     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112039 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112040     if test x$gcc_no_link = xyes; then
112041   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112043    { (exit 1); exit 1; }; }
112044 fi
112045 cat >conftest.$ac_ext <<_ACEOF
112046 /* confdefs.h.  */
112047 _ACEOF
112048 cat confdefs.h >>conftest.$ac_ext
112049 cat >>conftest.$ac_ext <<_ACEOF
112050 /* end confdefs.h.  */
112051  int one(void) { return 1; }
112052      int two(void) { return 2; }
112053
112054 int
112055 main ()
112056 {
112057  two();
112058   ;
112059   return 0;
112060 }
112061 _ACEOF
112062 rm -f conftest.$ac_objext conftest$ac_exeext
112063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112064   (eval $ac_link) 2>conftest.er1
112065   ac_status=$?
112066   grep -v '^ *+' conftest.er1 >conftest.err
112067   rm -f conftest.er1
112068   cat conftest.err >&5
112069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112070   (exit $ac_status); } &&
112071          { ac_try='test -z "$ac_c_werror_flag"
112072                          || test ! -s conftest.err'
112073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112074   (eval $ac_try) 2>&5
112075   ac_status=$?
112076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112077   (exit $ac_status); }; } &&
112078          { ac_try='test -s conftest$ac_exeext'
112079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112080   (eval $ac_try) 2>&5
112081   ac_status=$?
112082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112083   (exit $ac_status); }; }; then
112084   ac_gcsections=yes
112085 else
112086   echo "$as_me: failed program was:" >&5
112087 sed 's/^/| /' conftest.$ac_ext >&5
112088
112089 ac_gcsections=no
112090 fi
112091 rm -f conftest.err conftest.$ac_objext \
112092       conftest$ac_exeext conftest.$ac_ext
112093     if test "$ac_gcsections" = "yes"; then
112094       rm -f conftest.c
112095       touch conftest.c
112096       if $CC -c conftest.c; then
112097         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112098            grep "Warning: gc-sections option ignored" > /dev/null; then
112099           ac_gcsections=no
112100         fi
112101       fi
112102       rm -f conftest.c conftest.o conftest
112103     fi
112104     if test "$ac_gcsections" = "yes"; then
112105       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112106     fi
112107     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112108 echo "${ECHO_T}$ac_gcsections" >&6
112109
112110     if test "$ac_test_CFLAGS" = set; then
112111       CFLAGS="$ac_save_CFLAGS"
112112     else
112113       # this is the suspicious part
112114       CFLAGS=''
112115     fi
112116   fi
112117
112118   # Set -z,relro.
112119   # Note this is only for shared objects.
112120   ac_ld_relro=no
112121   if test x"$with_gnu_ld" = x"yes"; then
112122     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112123 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112124     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112125     if test -n "$cxx_z_relo"; then
112126       OPT_LDFLAGS="-Wl,-z,relro"
112127       ac_ld_relro=yes
112128     fi
112129     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112130 echo "${ECHO_T}$ac_ld_relro" >&6
112131   fi
112132
112133   # Set linker optimization flags.
112134   if test x"$with_gnu_ld" = x"yes"; then
112135     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112136   fi
112137
112138
112139
112140
112141
112142
112143 echo "$as_me:$LINENO: checking for main in -lm" >&5
112144 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
112145 if test "${ac_cv_lib_m_main+set}" = set; then
112146   echo $ECHO_N "(cached) $ECHO_C" >&6
112147 else
112148   ac_check_lib_save_LIBS=$LIBS
112149 LIBS="-lm  $LIBS"
112150 if test x$gcc_no_link = xyes; then
112151   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112153    { (exit 1); exit 1; }; }
112154 fi
112155 cat >conftest.$ac_ext <<_ACEOF
112156 /* confdefs.h.  */
112157 _ACEOF
112158 cat confdefs.h >>conftest.$ac_ext
112159 cat >>conftest.$ac_ext <<_ACEOF
112160 /* end confdefs.h.  */
112161
112162
112163 int
112164 main ()
112165 {
112166 main ();
112167   ;
112168   return 0;
112169 }
112170 _ACEOF
112171 rm -f conftest.$ac_objext conftest$ac_exeext
112172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112173   (eval $ac_link) 2>conftest.er1
112174   ac_status=$?
112175   grep -v '^ *+' conftest.er1 >conftest.err
112176   rm -f conftest.er1
112177   cat conftest.err >&5
112178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112179   (exit $ac_status); } &&
112180          { ac_try='test -z "$ac_c_werror_flag"
112181                          || test ! -s conftest.err'
112182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112183   (eval $ac_try) 2>&5
112184   ac_status=$?
112185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112186   (exit $ac_status); }; } &&
112187          { ac_try='test -s conftest$ac_exeext'
112188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112189   (eval $ac_try) 2>&5
112190   ac_status=$?
112191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112192   (exit $ac_status); }; }; then
112193   ac_cv_lib_m_main=yes
112194 else
112195   echo "$as_me: failed program was:" >&5
112196 sed 's/^/| /' conftest.$ac_ext >&5
112197
112198 ac_cv_lib_m_main=no
112199 fi
112200 rm -f conftest.err conftest.$ac_objext \
112201       conftest$ac_exeext conftest.$ac_ext
112202 LIBS=$ac_check_lib_save_LIBS
112203 fi
112204 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
112205 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
112206 if test $ac_cv_lib_m_main = yes; then
112207   cat >>confdefs.h <<_ACEOF
112208 #define HAVE_LIBM 1
112209 _ACEOF
112210
112211   LIBS="-lm $LIBS"
112212
112213 fi
112214
112215
112216 for ac_func in copysignf
112217 do
112218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112219 echo "$as_me:$LINENO: checking for $ac_func" >&5
112220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112221 if eval "test \"\${$as_ac_var+set}\" = set"; then
112222   echo $ECHO_N "(cached) $ECHO_C" >&6
112223 else
112224   if test x$gcc_no_link = xyes; then
112225   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112227    { (exit 1); exit 1; }; }
112228 fi
112229 cat >conftest.$ac_ext <<_ACEOF
112230 /* confdefs.h.  */
112231 _ACEOF
112232 cat confdefs.h >>conftest.$ac_ext
112233 cat >>conftest.$ac_ext <<_ACEOF
112234 /* end confdefs.h.  */
112235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112236    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112237 #define $ac_func innocuous_$ac_func
112238
112239 /* System header to define __stub macros and hopefully few prototypes,
112240     which can conflict with char $ac_func (); below.
112241     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112242     <limits.h> exists even on freestanding compilers.  */
112243
112244 #ifdef __STDC__
112245 # include <limits.h>
112246 #else
112247 # include <assert.h>
112248 #endif
112249
112250 #undef $ac_func
112251
112252 /* Override any gcc2 internal prototype to avoid an error.  */
112253 #ifdef __cplusplus
112254 extern "C"
112255 {
112256 #endif
112257 /* We use char because int might match the return type of a gcc2
112258    builtin and then its argument prototype would still apply.  */
112259 char $ac_func ();
112260 /* The GNU C library defines this for functions which it implements
112261     to always fail with ENOSYS.  Some functions are actually named
112262     something starting with __ and the normal name is an alias.  */
112263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112264 choke me
112265 #else
112266 char (*f) () = $ac_func;
112267 #endif
112268 #ifdef __cplusplus
112269 }
112270 #endif
112271
112272 int
112273 main ()
112274 {
112275 return f != $ac_func;
112276   ;
112277   return 0;
112278 }
112279 _ACEOF
112280 rm -f conftest.$ac_objext conftest$ac_exeext
112281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112282   (eval $ac_link) 2>conftest.er1
112283   ac_status=$?
112284   grep -v '^ *+' conftest.er1 >conftest.err
112285   rm -f conftest.er1
112286   cat conftest.err >&5
112287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112288   (exit $ac_status); } &&
112289          { ac_try='test -z "$ac_c_werror_flag"
112290                          || test ! -s conftest.err'
112291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112292   (eval $ac_try) 2>&5
112293   ac_status=$?
112294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112295   (exit $ac_status); }; } &&
112296          { ac_try='test -s conftest$ac_exeext'
112297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112298   (eval $ac_try) 2>&5
112299   ac_status=$?
112300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112301   (exit $ac_status); }; }; then
112302   eval "$as_ac_var=yes"
112303 else
112304   echo "$as_me: failed program was:" >&5
112305 sed 's/^/| /' conftest.$ac_ext >&5
112306
112307 eval "$as_ac_var=no"
112308 fi
112309 rm -f conftest.err conftest.$ac_objext \
112310       conftest$ac_exeext conftest.$ac_ext
112311 fi
112312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112314 if test `eval echo '${'$as_ac_var'}'` = yes; then
112315   cat >>confdefs.h <<_ACEOF
112316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112317 _ACEOF
112318
112319 else
112320   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112321 fi
112322 done
112323
112324
112325
112326 for ac_func in __signbit
112327 do
112328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112329 echo "$as_me:$LINENO: checking for $ac_func" >&5
112330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112331 if eval "test \"\${$as_ac_var+set}\" = set"; then
112332   echo $ECHO_N "(cached) $ECHO_C" >&6
112333 else
112334   if test x$gcc_no_link = xyes; then
112335   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112337    { (exit 1); exit 1; }; }
112338 fi
112339 cat >conftest.$ac_ext <<_ACEOF
112340 /* confdefs.h.  */
112341 _ACEOF
112342 cat confdefs.h >>conftest.$ac_ext
112343 cat >>conftest.$ac_ext <<_ACEOF
112344 /* end confdefs.h.  */
112345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112346    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112347 #define $ac_func innocuous_$ac_func
112348
112349 /* System header to define __stub macros and hopefully few prototypes,
112350     which can conflict with char $ac_func (); below.
112351     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112352     <limits.h> exists even on freestanding compilers.  */
112353
112354 #ifdef __STDC__
112355 # include <limits.h>
112356 #else
112357 # include <assert.h>
112358 #endif
112359
112360 #undef $ac_func
112361
112362 /* Override any gcc2 internal prototype to avoid an error.  */
112363 #ifdef __cplusplus
112364 extern "C"
112365 {
112366 #endif
112367 /* We use char because int might match the return type of a gcc2
112368    builtin and then its argument prototype would still apply.  */
112369 char $ac_func ();
112370 /* The GNU C library defines this for functions which it implements
112371     to always fail with ENOSYS.  Some functions are actually named
112372     something starting with __ and the normal name is an alias.  */
112373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112374 choke me
112375 #else
112376 char (*f) () = $ac_func;
112377 #endif
112378 #ifdef __cplusplus
112379 }
112380 #endif
112381
112382 int
112383 main ()
112384 {
112385 return f != $ac_func;
112386   ;
112387   return 0;
112388 }
112389 _ACEOF
112390 rm -f conftest.$ac_objext conftest$ac_exeext
112391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112392   (eval $ac_link) 2>conftest.er1
112393   ac_status=$?
112394   grep -v '^ *+' conftest.er1 >conftest.err
112395   rm -f conftest.er1
112396   cat conftest.err >&5
112397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112398   (exit $ac_status); } &&
112399          { ac_try='test -z "$ac_c_werror_flag"
112400                          || test ! -s conftest.err'
112401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112402   (eval $ac_try) 2>&5
112403   ac_status=$?
112404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112405   (exit $ac_status); }; } &&
112406          { ac_try='test -s conftest$ac_exeext'
112407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112408   (eval $ac_try) 2>&5
112409   ac_status=$?
112410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112411   (exit $ac_status); }; }; then
112412   eval "$as_ac_var=yes"
112413 else
112414   echo "$as_me: failed program was:" >&5
112415 sed 's/^/| /' conftest.$ac_ext >&5
112416
112417 eval "$as_ac_var=no"
112418 fi
112419 rm -f conftest.err conftest.$ac_objext \
112420       conftest$ac_exeext conftest.$ac_ext
112421 fi
112422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112424 if test `eval echo '${'$as_ac_var'}'` = yes; then
112425   cat >>confdefs.h <<_ACEOF
112426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112427 _ACEOF
112428
112429 else
112430   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112431 fi
112432 done
112433
112434
112435
112436 for ac_func in __signbitf
112437 do
112438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112439 echo "$as_me:$LINENO: checking for $ac_func" >&5
112440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112441 if eval "test \"\${$as_ac_var+set}\" = set"; then
112442   echo $ECHO_N "(cached) $ECHO_C" >&6
112443 else
112444   if test x$gcc_no_link = xyes; then
112445   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112447    { (exit 1); exit 1; }; }
112448 fi
112449 cat >conftest.$ac_ext <<_ACEOF
112450 /* confdefs.h.  */
112451 _ACEOF
112452 cat confdefs.h >>conftest.$ac_ext
112453 cat >>conftest.$ac_ext <<_ACEOF
112454 /* end confdefs.h.  */
112455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112456    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112457 #define $ac_func innocuous_$ac_func
112458
112459 /* System header to define __stub macros and hopefully few prototypes,
112460     which can conflict with char $ac_func (); below.
112461     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112462     <limits.h> exists even on freestanding compilers.  */
112463
112464 #ifdef __STDC__
112465 # include <limits.h>
112466 #else
112467 # include <assert.h>
112468 #endif
112469
112470 #undef $ac_func
112471
112472 /* Override any gcc2 internal prototype to avoid an error.  */
112473 #ifdef __cplusplus
112474 extern "C"
112475 {
112476 #endif
112477 /* We use char because int might match the return type of a gcc2
112478    builtin and then its argument prototype would still apply.  */
112479 char $ac_func ();
112480 /* The GNU C library defines this for functions which it implements
112481     to always fail with ENOSYS.  Some functions are actually named
112482     something starting with __ and the normal name is an alias.  */
112483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112484 choke me
112485 #else
112486 char (*f) () = $ac_func;
112487 #endif
112488 #ifdef __cplusplus
112489 }
112490 #endif
112491
112492 int
112493 main ()
112494 {
112495 return f != $ac_func;
112496   ;
112497   return 0;
112498 }
112499 _ACEOF
112500 rm -f conftest.$ac_objext conftest$ac_exeext
112501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112502   (eval $ac_link) 2>conftest.er1
112503   ac_status=$?
112504   grep -v '^ *+' conftest.er1 >conftest.err
112505   rm -f conftest.er1
112506   cat conftest.err >&5
112507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112508   (exit $ac_status); } &&
112509          { ac_try='test -z "$ac_c_werror_flag"
112510                          || test ! -s conftest.err'
112511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112512   (eval $ac_try) 2>&5
112513   ac_status=$?
112514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112515   (exit $ac_status); }; } &&
112516          { ac_try='test -s conftest$ac_exeext'
112517   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112518   (eval $ac_try) 2>&5
112519   ac_status=$?
112520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112521   (exit $ac_status); }; }; then
112522   eval "$as_ac_var=yes"
112523 else
112524   echo "$as_me: failed program was:" >&5
112525 sed 's/^/| /' conftest.$ac_ext >&5
112526
112527 eval "$as_ac_var=no"
112528 fi
112529 rm -f conftest.err conftest.$ac_objext \
112530       conftest$ac_exeext conftest.$ac_ext
112531 fi
112532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112534 if test `eval echo '${'$as_ac_var'}'` = yes; then
112535   cat >>confdefs.h <<_ACEOF
112536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112537 _ACEOF
112538
112539 else
112540   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112541 fi
112542 done
112543
112544
112545           if test x$ac_cv_func_copysignl = x"yes"; then
112546
112547 for ac_func in __signbitl
112548 do
112549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112550 echo "$as_me:$LINENO: checking for $ac_func" >&5
112551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112552 if eval "test \"\${$as_ac_var+set}\" = set"; then
112553   echo $ECHO_N "(cached) $ECHO_C" >&6
112554 else
112555   if test x$gcc_no_link = xyes; then
112556   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112558    { (exit 1); exit 1; }; }
112559 fi
112560 cat >conftest.$ac_ext <<_ACEOF
112561 /* confdefs.h.  */
112562 _ACEOF
112563 cat confdefs.h >>conftest.$ac_ext
112564 cat >>conftest.$ac_ext <<_ACEOF
112565 /* end confdefs.h.  */
112566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112567    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
112568 #define $ac_func innocuous_$ac_func
112569
112570 /* System header to define __stub macros and hopefully few prototypes,
112571     which can conflict with char $ac_func (); below.
112572     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112573     <limits.h> exists even on freestanding compilers.  */
112574
112575 #ifdef __STDC__
112576 # include <limits.h>
112577 #else
112578 # include <assert.h>
112579 #endif
112580
112581 #undef $ac_func
112582
112583 /* Override any gcc2 internal prototype to avoid an error.  */
112584 #ifdef __cplusplus
112585 extern "C"
112586 {
112587 #endif
112588 /* We use char because int might match the return type of a gcc2
112589    builtin and then its argument prototype would still apply.  */
112590 char $ac_func ();
112591 /* The GNU C library defines this for functions which it implements
112592     to always fail with ENOSYS.  Some functions are actually named
112593     something starting with __ and the normal name is an alias.  */
112594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112595 choke me
112596 #else
112597 char (*f) () = $ac_func;
112598 #endif
112599 #ifdef __cplusplus
112600 }
112601 #endif
112602
112603 int
112604 main ()
112605 {
112606 return f != $ac_func;
112607   ;
112608   return 0;
112609 }
112610 _ACEOF
112611 rm -f conftest.$ac_objext conftest$ac_exeext
112612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112613   (eval $ac_link) 2>conftest.er1
112614   ac_status=$?
112615   grep -v '^ *+' conftest.er1 >conftest.err
112616   rm -f conftest.er1
112617   cat conftest.err >&5
112618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112619   (exit $ac_status); } &&
112620          { ac_try='test -z "$ac_c_werror_flag"
112621                          || test ! -s conftest.err'
112622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112623   (eval $ac_try) 2>&5
112624   ac_status=$?
112625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112626   (exit $ac_status); }; } &&
112627          { ac_try='test -s conftest$ac_exeext'
112628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112629   (eval $ac_try) 2>&5
112630   ac_status=$?
112631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112632   (exit $ac_status); }; }; then
112633   eval "$as_ac_var=yes"
112634 else
112635   echo "$as_me: failed program was:" >&5
112636 sed 's/^/| /' conftest.$ac_ext >&5
112637
112638 eval "$as_ac_var=no"
112639 fi
112640 rm -f conftest.err conftest.$ac_objext \
112641       conftest$ac_exeext conftest.$ac_ext
112642 fi
112643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112645 if test `eval echo '${'$as_ac_var'}'` = yes; then
112646   cat >>confdefs.h <<_ACEOF
112647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112648 _ACEOF
112649
112650 else
112651   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112652 fi
112653 done
112654
112655   fi
112656
112657   # Used in libmath/Makefile.am.
112658   if test -n "$LIBMATHOBJS"; then
112659     need_libmath=yes
112660   fi
112661
112662
112663     cat >>confdefs.h <<\_ACEOF
112664 #define HAVE_HYPOT 1
112665 _ACEOF
112666
112667     cat >>confdefs.h <<\_ACEOF
112668 #define HAVE_ISINF 1
112669 _ACEOF
112670
112671     cat >>confdefs.h <<\_ACEOF
112672 #define HAVE_ISNAN 1
112673 _ACEOF
112674
112675
112676     # For showmanyc_helper().
112677
112678
112679 for ac_header in sys/ioctl.h sys/filio.h
112680 do
112681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112683   echo "$as_me:$LINENO: checking for $ac_header" >&5
112684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112686   echo $ECHO_N "(cached) $ECHO_C" >&6
112687 fi
112688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112690 else
112691   # Is the header compilable?
112692 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112693 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112694 cat >conftest.$ac_ext <<_ACEOF
112695 /* confdefs.h.  */
112696 _ACEOF
112697 cat confdefs.h >>conftest.$ac_ext
112698 cat >>conftest.$ac_ext <<_ACEOF
112699 /* end confdefs.h.  */
112700 $ac_includes_default
112701 #include <$ac_header>
112702 _ACEOF
112703 rm -f conftest.$ac_objext
112704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112705   (eval $ac_compile) 2>conftest.er1
112706   ac_status=$?
112707   grep -v '^ *+' conftest.er1 >conftest.err
112708   rm -f conftest.er1
112709   cat conftest.err >&5
112710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112711   (exit $ac_status); } &&
112712          { ac_try='test -z "$ac_c_werror_flag"
112713                          || test ! -s conftest.err'
112714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112715   (eval $ac_try) 2>&5
112716   ac_status=$?
112717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112718   (exit $ac_status); }; } &&
112719          { ac_try='test -s conftest.$ac_objext'
112720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112721   (eval $ac_try) 2>&5
112722   ac_status=$?
112723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112724   (exit $ac_status); }; }; then
112725   ac_header_compiler=yes
112726 else
112727   echo "$as_me: failed program was:" >&5
112728 sed 's/^/| /' conftest.$ac_ext >&5
112729
112730 ac_header_compiler=no
112731 fi
112732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112733 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112734 echo "${ECHO_T}$ac_header_compiler" >&6
112735
112736 # Is the header present?
112737 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112738 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112739 cat >conftest.$ac_ext <<_ACEOF
112740 /* confdefs.h.  */
112741 _ACEOF
112742 cat confdefs.h >>conftest.$ac_ext
112743 cat >>conftest.$ac_ext <<_ACEOF
112744 /* end confdefs.h.  */
112745 #include <$ac_header>
112746 _ACEOF
112747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112748   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112749   ac_status=$?
112750   grep -v '^ *+' conftest.er1 >conftest.err
112751   rm -f conftest.er1
112752   cat conftest.err >&5
112753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112754   (exit $ac_status); } >/dev/null; then
112755   if test -s conftest.err; then
112756     ac_cpp_err=$ac_c_preproc_warn_flag
112757     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112758   else
112759     ac_cpp_err=
112760   fi
112761 else
112762   ac_cpp_err=yes
112763 fi
112764 if test -z "$ac_cpp_err"; then
112765   ac_header_preproc=yes
112766 else
112767   echo "$as_me: failed program was:" >&5
112768 sed 's/^/| /' conftest.$ac_ext >&5
112769
112770   ac_header_preproc=no
112771 fi
112772 rm -f conftest.err conftest.$ac_ext
112773 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112774 echo "${ECHO_T}$ac_header_preproc" >&6
112775
112776 # So?  What about this header?
112777 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112778   yes:no: )
112779     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112780 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112781     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112782 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112783     ac_header_preproc=yes
112784     ;;
112785   no:yes:* )
112786     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112787 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112788     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
112789 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
112790     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112791 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112792     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
112793 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
112794     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112795 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112796     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112797 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112798     (
112799       cat <<\_ASBOX
112800 ## ----------------------------------------- ##
112801 ## Report this to the package-unused lists.  ##
112802 ## ----------------------------------------- ##
112803 _ASBOX
112804     ) |
112805       sed "s/^/$as_me: WARNING:     /" >&2
112806     ;;
112807 esac
112808 echo "$as_me:$LINENO: checking for $ac_header" >&5
112809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112811   echo $ECHO_N "(cached) $ECHO_C" >&6
112812 else
112813   eval "$as_ac_Header=\$ac_header_preproc"
112814 fi
112815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112816 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112817
112818 fi
112819 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112820   cat >>confdefs.h <<_ACEOF
112821 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112822 _ACEOF
112823
112824 fi
112825
112826 done
112827
112828
112829   echo "$as_me:$LINENO: checking for poll" >&5
112830 echo $ECHO_N "checking for poll... $ECHO_C" >&6
112831   if test "${glibcxx_cv_POLL+set}" = set; then
112832   echo $ECHO_N "(cached) $ECHO_C" >&6
112833 else
112834
112835     if test x$gcc_no_link = xyes; then
112836   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112838    { (exit 1); exit 1; }; }
112839 fi
112840 cat >conftest.$ac_ext <<_ACEOF
112841 /* confdefs.h.  */
112842 _ACEOF
112843 cat confdefs.h >>conftest.$ac_ext
112844 cat >>conftest.$ac_ext <<_ACEOF
112845 /* end confdefs.h.  */
112846 #include <poll.h>
112847 int
112848 main ()
112849 {
112850 struct pollfd pfd[1];
112851        pfd[0].events = POLLIN;
112852        poll(pfd, 1, 0);
112853   ;
112854   return 0;
112855 }
112856 _ACEOF
112857 rm -f conftest.$ac_objext conftest$ac_exeext
112858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112859   (eval $ac_link) 2>conftest.er1
112860   ac_status=$?
112861   grep -v '^ *+' conftest.er1 >conftest.err
112862   rm -f conftest.er1
112863   cat conftest.err >&5
112864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112865   (exit $ac_status); } &&
112866          { ac_try='test -z "$ac_c_werror_flag"
112867                          || test ! -s conftest.err'
112868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112869   (eval $ac_try) 2>&5
112870   ac_status=$?
112871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112872   (exit $ac_status); }; } &&
112873          { ac_try='test -s conftest$ac_exeext'
112874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112875   (eval $ac_try) 2>&5
112876   ac_status=$?
112877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112878   (exit $ac_status); }; }; then
112879   glibcxx_cv_POLL=yes
112880 else
112881   echo "$as_me: failed program was:" >&5
112882 sed 's/^/| /' conftest.$ac_ext >&5
112883
112884 glibcxx_cv_POLL=no
112885 fi
112886 rm -f conftest.err conftest.$ac_objext \
112887       conftest$ac_exeext conftest.$ac_ext
112888
112889 fi
112890
112891   if test $glibcxx_cv_POLL = yes; then
112892
112893 cat >>confdefs.h <<\_ACEOF
112894 #define HAVE_POLL 1
112895 _ACEOF
112896
112897   fi
112898   echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
112899 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
112900
112901
112902   echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
112903 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
112904   if test "${glibcxx_cv_S_ISREG+set}" = set; then
112905   echo $ECHO_N "(cached) $ECHO_C" >&6
112906 else
112907
112908     if test x$gcc_no_link = xyes; then
112909   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112911    { (exit 1); exit 1; }; }
112912 fi
112913 cat >conftest.$ac_ext <<_ACEOF
112914 /* confdefs.h.  */
112915 _ACEOF
112916 cat confdefs.h >>conftest.$ac_ext
112917 cat >>conftest.$ac_ext <<_ACEOF
112918 /* end confdefs.h.  */
112919 #include <sys/stat.h>
112920 int
112921 main ()
112922 {
112923 struct stat buffer;
112924        fstat(0, &buffer);
112925        S_ISREG(buffer.st_mode);
112926   ;
112927   return 0;
112928 }
112929 _ACEOF
112930 rm -f conftest.$ac_objext conftest$ac_exeext
112931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112932   (eval $ac_link) 2>conftest.er1
112933   ac_status=$?
112934   grep -v '^ *+' conftest.er1 >conftest.err
112935   rm -f conftest.er1
112936   cat conftest.err >&5
112937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112938   (exit $ac_status); } &&
112939          { ac_try='test -z "$ac_c_werror_flag"
112940                          || test ! -s conftest.err'
112941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112942   (eval $ac_try) 2>&5
112943   ac_status=$?
112944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112945   (exit $ac_status); }; } &&
112946          { ac_try='test -s conftest$ac_exeext'
112947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112948   (eval $ac_try) 2>&5
112949   ac_status=$?
112950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112951   (exit $ac_status); }; }; then
112952   glibcxx_cv_S_ISREG=yes
112953 else
112954   echo "$as_me: failed program was:" >&5
112955 sed 's/^/| /' conftest.$ac_ext >&5
112956
112957 glibcxx_cv_S_ISREG=no
112958 fi
112959 rm -f conftest.err conftest.$ac_objext \
112960       conftest$ac_exeext conftest.$ac_ext
112961
112962 fi
112963
112964   if test "${glibcxx_cv_S_IFREG+set}" = set; then
112965   echo $ECHO_N "(cached) $ECHO_C" >&6
112966 else
112967
112968     if test x$gcc_no_link = xyes; then
112969   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112970 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112971    { (exit 1); exit 1; }; }
112972 fi
112973 cat >conftest.$ac_ext <<_ACEOF
112974 /* confdefs.h.  */
112975 _ACEOF
112976 cat confdefs.h >>conftest.$ac_ext
112977 cat >>conftest.$ac_ext <<_ACEOF
112978 /* end confdefs.h.  */
112979 #include <sys/stat.h>
112980 int
112981 main ()
112982 {
112983 struct stat buffer;
112984        fstat(0, &buffer);
112985        S_IFREG & buffer.st_mode;
112986   ;
112987   return 0;
112988 }
112989 _ACEOF
112990 rm -f conftest.$ac_objext conftest$ac_exeext
112991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112992   (eval $ac_link) 2>conftest.er1
112993   ac_status=$?
112994   grep -v '^ *+' conftest.er1 >conftest.err
112995   rm -f conftest.er1
112996   cat conftest.err >&5
112997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
112998   (exit $ac_status); } &&
112999          { ac_try='test -z "$ac_c_werror_flag"
113000                          || test ! -s conftest.err'
113001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113002   (eval $ac_try) 2>&5
113003   ac_status=$?
113004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113005   (exit $ac_status); }; } &&
113006          { ac_try='test -s conftest$ac_exeext'
113007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113008   (eval $ac_try) 2>&5
113009   ac_status=$?
113010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113011   (exit $ac_status); }; }; then
113012   glibcxx_cv_S_IFREG=yes
113013 else
113014   echo "$as_me: failed program was:" >&5
113015 sed 's/^/| /' conftest.$ac_ext >&5
113016
113017 glibcxx_cv_S_IFREG=no
113018 fi
113019 rm -f conftest.err conftest.$ac_objext \
113020       conftest$ac_exeext conftest.$ac_ext
113021
113022 fi
113023
113024   res=no
113025   if test $glibcxx_cv_S_ISREG = yes; then
113026
113027 cat >>confdefs.h <<\_ACEOF
113028 #define HAVE_S_ISREG 1
113029 _ACEOF
113030
113031     res=S_ISREG
113032   elif test $glibcxx_cv_S_IFREG = yes; then
113033
113034 cat >>confdefs.h <<\_ACEOF
113035 #define HAVE_S_IFREG 1
113036 _ACEOF
113037
113038     res=S_IFREG
113039   fi
113040   echo "$as_me:$LINENO: result: $res" >&5
113041 echo "${ECHO_T}$res" >&6
113042
113043
113044     # For xsputn_2().
113045
113046 for ac_header in sys/uio.h
113047 do
113048 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113050   echo "$as_me:$LINENO: checking for $ac_header" >&5
113051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113053   echo $ECHO_N "(cached) $ECHO_C" >&6
113054 fi
113055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113057 else
113058   # Is the header compilable?
113059 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113060 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
113061 cat >conftest.$ac_ext <<_ACEOF
113062 /* confdefs.h.  */
113063 _ACEOF
113064 cat confdefs.h >>conftest.$ac_ext
113065 cat >>conftest.$ac_ext <<_ACEOF
113066 /* end confdefs.h.  */
113067 $ac_includes_default
113068 #include <$ac_header>
113069 _ACEOF
113070 rm -f conftest.$ac_objext
113071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113072   (eval $ac_compile) 2>conftest.er1
113073   ac_status=$?
113074   grep -v '^ *+' conftest.er1 >conftest.err
113075   rm -f conftest.er1
113076   cat conftest.err >&5
113077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113078   (exit $ac_status); } &&
113079          { ac_try='test -z "$ac_c_werror_flag"
113080                          || test ! -s conftest.err'
113081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113082   (eval $ac_try) 2>&5
113083   ac_status=$?
113084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113085   (exit $ac_status); }; } &&
113086          { ac_try='test -s conftest.$ac_objext'
113087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113088   (eval $ac_try) 2>&5
113089   ac_status=$?
113090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113091   (exit $ac_status); }; }; then
113092   ac_header_compiler=yes
113093 else
113094   echo "$as_me: failed program was:" >&5
113095 sed 's/^/| /' conftest.$ac_ext >&5
113096
113097 ac_header_compiler=no
113098 fi
113099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113100 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113101 echo "${ECHO_T}$ac_header_compiler" >&6
113102
113103 # Is the header present?
113104 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113105 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113106 cat >conftest.$ac_ext <<_ACEOF
113107 /* confdefs.h.  */
113108 _ACEOF
113109 cat confdefs.h >>conftest.$ac_ext
113110 cat >>conftest.$ac_ext <<_ACEOF
113111 /* end confdefs.h.  */
113112 #include <$ac_header>
113113 _ACEOF
113114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113115   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113116   ac_status=$?
113117   grep -v '^ *+' conftest.er1 >conftest.err
113118   rm -f conftest.er1
113119   cat conftest.err >&5
113120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113121   (exit $ac_status); } >/dev/null; then
113122   if test -s conftest.err; then
113123     ac_cpp_err=$ac_c_preproc_warn_flag
113124     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113125   else
113126     ac_cpp_err=
113127   fi
113128 else
113129   ac_cpp_err=yes
113130 fi
113131 if test -z "$ac_cpp_err"; then
113132   ac_header_preproc=yes
113133 else
113134   echo "$as_me: failed program was:" >&5
113135 sed 's/^/| /' conftest.$ac_ext >&5
113136
113137   ac_header_preproc=no
113138 fi
113139 rm -f conftest.err conftest.$ac_ext
113140 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113141 echo "${ECHO_T}$ac_header_preproc" >&6
113142
113143 # So?  What about this header?
113144 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113145   yes:no: )
113146     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113147 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113148     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113149 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113150     ac_header_preproc=yes
113151     ;;
113152   no:yes:* )
113153     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113154 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113155     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
113156 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
113157     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113158 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113159     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
113160 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
113161     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113162 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113163     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113164 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113165     (
113166       cat <<\_ASBOX
113167 ## ----------------------------------------- ##
113168 ## Report this to the package-unused lists.  ##
113169 ## ----------------------------------------- ##
113170 _ASBOX
113171     ) |
113172       sed "s/^/$as_me: WARNING:     /" >&2
113173     ;;
113174 esac
113175 echo "$as_me:$LINENO: checking for $ac_header" >&5
113176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113178   echo $ECHO_N "(cached) $ECHO_C" >&6
113179 else
113180   eval "$as_ac_Header=\$ac_header_preproc"
113181 fi
113182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113184
113185 fi
113186 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113187   cat >>confdefs.h <<_ACEOF
113188 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113189 _ACEOF
113190
113191 fi
113192
113193 done
113194
113195
113196   echo "$as_me:$LINENO: checking for writev" >&5
113197 echo $ECHO_N "checking for writev... $ECHO_C" >&6
113198   if test "${glibcxx_cv_WRITEV+set}" = set; then
113199   echo $ECHO_N "(cached) $ECHO_C" >&6
113200 else
113201
113202     if test x$gcc_no_link = xyes; then
113203   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113205    { (exit 1); exit 1; }; }
113206 fi
113207 cat >conftest.$ac_ext <<_ACEOF
113208 /* confdefs.h.  */
113209 _ACEOF
113210 cat confdefs.h >>conftest.$ac_ext
113211 cat >>conftest.$ac_ext <<_ACEOF
113212 /* end confdefs.h.  */
113213 #include <sys/uio.h>
113214 int
113215 main ()
113216 {
113217 struct iovec iov[2];
113218        writev(0, iov, 0);
113219   ;
113220   return 0;
113221 }
113222 _ACEOF
113223 rm -f conftest.$ac_objext conftest$ac_exeext
113224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113225   (eval $ac_link) 2>conftest.er1
113226   ac_status=$?
113227   grep -v '^ *+' conftest.er1 >conftest.err
113228   rm -f conftest.er1
113229   cat conftest.err >&5
113230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113231   (exit $ac_status); } &&
113232          { ac_try='test -z "$ac_c_werror_flag"
113233                          || test ! -s conftest.err'
113234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113235   (eval $ac_try) 2>&5
113236   ac_status=$?
113237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113238   (exit $ac_status); }; } &&
113239          { ac_try='test -s conftest$ac_exeext'
113240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113241   (eval $ac_try) 2>&5
113242   ac_status=$?
113243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113244   (exit $ac_status); }; }; then
113245   glibcxx_cv_WRITEV=yes
113246 else
113247   echo "$as_me: failed program was:" >&5
113248 sed 's/^/| /' conftest.$ac_ext >&5
113249
113250 glibcxx_cv_WRITEV=no
113251 fi
113252 rm -f conftest.err conftest.$ac_objext \
113253       conftest$ac_exeext conftest.$ac_ext
113254
113255 fi
113256
113257   if test $glibcxx_cv_WRITEV = yes; then
113258
113259 cat >>confdefs.h <<\_ACEOF
113260 #define HAVE_WRITEV 1
113261 _ACEOF
113262
113263   fi
113264   echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
113265 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
113266
113267     ;;
113268   *-qnx6.1* | *-qnx6.2*)
113269     SECTION_FLAGS='-ffunction-sections -fdata-sections'
113270
113271
113272   # If we're not using GNU ld, then there's no point in even trying these
113273   # tests.  Check for that first.  We should have already tested for gld
113274   # by now (in libtool), but require it now just to be safe...
113275   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113276   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113277
113278
113279
113280   # The name set by libtool depends on the version of libtool.  Shame on us
113281   # for depending on an impl detail, but c'est la vie.  Older versions used
113282   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113283   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113284   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
113285   # set (hence we're using an older libtool), then set it.
113286   if test x${with_gnu_ld+set} != xset; then
113287     if test x${ac_cv_prog_gnu_ld+set} != xset; then
113288       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
113289       with_gnu_ld=no
113290     else
113291       with_gnu_ld=$ac_cv_prog_gnu_ld
113292     fi
113293   fi
113294
113295   # Start by getting the version number.  I think the libtool test already
113296   # does some of this, but throws away the result.
113297   glibcxx_ld_is_gold=no
113298   if test x"$with_gnu_ld" = x"yes"; then
113299     echo "$as_me:$LINENO: checking for ld version" >&5
113300 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113301
113302     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113303       glibcxx_ld_is_gold=yes
113304     fi
113305     ldver=`$LD --version 2>/dev/null | head -1 | \
113306            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113307
113308     glibcxx_gnu_ld_version=`echo $ldver | \
113309            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113310     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113311 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113312   fi
113313
113314   # Set --gc-sections.
113315   glibcxx_have_gc_sections=no
113316   if test "$glibcxx_ld_is_gold" = "yes"; then
113317     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113318       glibcxx_have_gc_sections=yes
113319     fi
113320   else
113321     glibcxx_gcsections_min_ld=21602
113322     if test x"$with_gnu_ld" = x"yes" &&
113323         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113324       glibcxx_have_gc_sections=yes
113325     fi
113326   fi
113327   if test "$glibcxx_have_gc_sections" = "yes"; then
113328     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
113329     # NB: This flag only works reliably after 2.16.1. Configure tests
113330     # for this are difficult, so hard wire a value that should work.
113331
113332     ac_test_CFLAGS="${CFLAGS+set}"
113333     ac_save_CFLAGS="$CFLAGS"
113334     CFLAGS='-Wl,--gc-sections'
113335
113336     # Check for -Wl,--gc-sections
113337     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113338 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113339     if test x$gcc_no_link = xyes; then
113340   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113342    { (exit 1); exit 1; }; }
113343 fi
113344 cat >conftest.$ac_ext <<_ACEOF
113345 /* confdefs.h.  */
113346 _ACEOF
113347 cat confdefs.h >>conftest.$ac_ext
113348 cat >>conftest.$ac_ext <<_ACEOF
113349 /* end confdefs.h.  */
113350  int one(void) { return 1; }
113351      int two(void) { return 2; }
113352
113353 int
113354 main ()
113355 {
113356  two();
113357   ;
113358   return 0;
113359 }
113360 _ACEOF
113361 rm -f conftest.$ac_objext conftest$ac_exeext
113362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113363   (eval $ac_link) 2>conftest.er1
113364   ac_status=$?
113365   grep -v '^ *+' conftest.er1 >conftest.err
113366   rm -f conftest.er1
113367   cat conftest.err >&5
113368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113369   (exit $ac_status); } &&
113370          { ac_try='test -z "$ac_c_werror_flag"
113371                          || test ! -s conftest.err'
113372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113373   (eval $ac_try) 2>&5
113374   ac_status=$?
113375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113376   (exit $ac_status); }; } &&
113377          { ac_try='test -s conftest$ac_exeext'
113378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113379   (eval $ac_try) 2>&5
113380   ac_status=$?
113381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113382   (exit $ac_status); }; }; then
113383   ac_gcsections=yes
113384 else
113385   echo "$as_me: failed program was:" >&5
113386 sed 's/^/| /' conftest.$ac_ext >&5
113387
113388 ac_gcsections=no
113389 fi
113390 rm -f conftest.err conftest.$ac_objext \
113391       conftest$ac_exeext conftest.$ac_ext
113392     if test "$ac_gcsections" = "yes"; then
113393       rm -f conftest.c
113394       touch conftest.c
113395       if $CC -c conftest.c; then
113396         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113397            grep "Warning: gc-sections option ignored" > /dev/null; then
113398           ac_gcsections=no
113399         fi
113400       fi
113401       rm -f conftest.c conftest.o conftest
113402     fi
113403     if test "$ac_gcsections" = "yes"; then
113404       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113405     fi
113406     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113407 echo "${ECHO_T}$ac_gcsections" >&6
113408
113409     if test "$ac_test_CFLAGS" = set; then
113410       CFLAGS="$ac_save_CFLAGS"
113411     else
113412       # this is the suspicious part
113413       CFLAGS=''
113414     fi
113415   fi
113416
113417   # Set -z,relro.
113418   # Note this is only for shared objects.
113419   ac_ld_relro=no
113420   if test x"$with_gnu_ld" = x"yes"; then
113421     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113422 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113423     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113424     if test -n "$cxx_z_relo"; then
113425       OPT_LDFLAGS="-Wl,-z,relro"
113426       ac_ld_relro=yes
113427     fi
113428     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113429 echo "${ECHO_T}$ac_ld_relro" >&6
113430   fi
113431
113432   # Set linker optimization flags.
113433   if test x"$with_gnu_ld" = x"yes"; then
113434     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113435   fi
113436
113437
113438
113439
113440
113441
113442 echo "$as_me:$LINENO: checking for main in -lm" >&5
113443 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113444 if test "${ac_cv_lib_m_main+set}" = set; then
113445   echo $ECHO_N "(cached) $ECHO_C" >&6
113446 else
113447   ac_check_lib_save_LIBS=$LIBS
113448 LIBS="-lm  $LIBS"
113449 if test x$gcc_no_link = xyes; then
113450   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113452    { (exit 1); exit 1; }; }
113453 fi
113454 cat >conftest.$ac_ext <<_ACEOF
113455 /* confdefs.h.  */
113456 _ACEOF
113457 cat confdefs.h >>conftest.$ac_ext
113458 cat >>conftest.$ac_ext <<_ACEOF
113459 /* end confdefs.h.  */
113460
113461
113462 int
113463 main ()
113464 {
113465 main ();
113466   ;
113467   return 0;
113468 }
113469 _ACEOF
113470 rm -f conftest.$ac_objext conftest$ac_exeext
113471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113472   (eval $ac_link) 2>conftest.er1
113473   ac_status=$?
113474   grep -v '^ *+' conftest.er1 >conftest.err
113475   rm -f conftest.er1
113476   cat conftest.err >&5
113477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113478   (exit $ac_status); } &&
113479          { ac_try='test -z "$ac_c_werror_flag"
113480                          || test ! -s conftest.err'
113481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113482   (eval $ac_try) 2>&5
113483   ac_status=$?
113484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113485   (exit $ac_status); }; } &&
113486          { ac_try='test -s conftest$ac_exeext'
113487   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113488   (eval $ac_try) 2>&5
113489   ac_status=$?
113490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113491   (exit $ac_status); }; }; then
113492   ac_cv_lib_m_main=yes
113493 else
113494   echo "$as_me: failed program was:" >&5
113495 sed 's/^/| /' conftest.$ac_ext >&5
113496
113497 ac_cv_lib_m_main=no
113498 fi
113499 rm -f conftest.err conftest.$ac_objext \
113500       conftest$ac_exeext conftest.$ac_ext
113501 LIBS=$ac_check_lib_save_LIBS
113502 fi
113503 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113504 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113505 if test $ac_cv_lib_m_main = yes; then
113506   cat >>confdefs.h <<_ACEOF
113507 #define HAVE_LIBM 1
113508 _ACEOF
113509
113510   LIBS="-lm $LIBS"
113511
113512 fi
113513
113514
113515 for ac_func in copysignf
113516 do
113517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113518 echo "$as_me:$LINENO: checking for $ac_func" >&5
113519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113520 if eval "test \"\${$as_ac_var+set}\" = set"; then
113521   echo $ECHO_N "(cached) $ECHO_C" >&6
113522 else
113523   if test x$gcc_no_link = xyes; then
113524   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113526    { (exit 1); exit 1; }; }
113527 fi
113528 cat >conftest.$ac_ext <<_ACEOF
113529 /* confdefs.h.  */
113530 _ACEOF
113531 cat confdefs.h >>conftest.$ac_ext
113532 cat >>conftest.$ac_ext <<_ACEOF
113533 /* end confdefs.h.  */
113534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113535    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113536 #define $ac_func innocuous_$ac_func
113537
113538 /* System header to define __stub macros and hopefully few prototypes,
113539     which can conflict with char $ac_func (); below.
113540     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113541     <limits.h> exists even on freestanding compilers.  */
113542
113543 #ifdef __STDC__
113544 # include <limits.h>
113545 #else
113546 # include <assert.h>
113547 #endif
113548
113549 #undef $ac_func
113550
113551 /* Override any gcc2 internal prototype to avoid an error.  */
113552 #ifdef __cplusplus
113553 extern "C"
113554 {
113555 #endif
113556 /* We use char because int might match the return type of a gcc2
113557    builtin and then its argument prototype would still apply.  */
113558 char $ac_func ();
113559 /* The GNU C library defines this for functions which it implements
113560     to always fail with ENOSYS.  Some functions are actually named
113561     something starting with __ and the normal name is an alias.  */
113562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113563 choke me
113564 #else
113565 char (*f) () = $ac_func;
113566 #endif
113567 #ifdef __cplusplus
113568 }
113569 #endif
113570
113571 int
113572 main ()
113573 {
113574 return f != $ac_func;
113575   ;
113576   return 0;
113577 }
113578 _ACEOF
113579 rm -f conftest.$ac_objext conftest$ac_exeext
113580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113581   (eval $ac_link) 2>conftest.er1
113582   ac_status=$?
113583   grep -v '^ *+' conftest.er1 >conftest.err
113584   rm -f conftest.er1
113585   cat conftest.err >&5
113586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113587   (exit $ac_status); } &&
113588          { ac_try='test -z "$ac_c_werror_flag"
113589                          || test ! -s conftest.err'
113590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113591   (eval $ac_try) 2>&5
113592   ac_status=$?
113593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113594   (exit $ac_status); }; } &&
113595          { ac_try='test -s conftest$ac_exeext'
113596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113597   (eval $ac_try) 2>&5
113598   ac_status=$?
113599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113600   (exit $ac_status); }; }; then
113601   eval "$as_ac_var=yes"
113602 else
113603   echo "$as_me: failed program was:" >&5
113604 sed 's/^/| /' conftest.$ac_ext >&5
113605
113606 eval "$as_ac_var=no"
113607 fi
113608 rm -f conftest.err conftest.$ac_objext \
113609       conftest$ac_exeext conftest.$ac_ext
113610 fi
113611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113613 if test `eval echo '${'$as_ac_var'}'` = yes; then
113614   cat >>confdefs.h <<_ACEOF
113615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113616 _ACEOF
113617
113618 else
113619   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113620 fi
113621 done
113622
113623
113624
113625 for ac_func in __signbit
113626 do
113627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113628 echo "$as_me:$LINENO: checking for $ac_func" >&5
113629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113630 if eval "test \"\${$as_ac_var+set}\" = set"; then
113631   echo $ECHO_N "(cached) $ECHO_C" >&6
113632 else
113633   if test x$gcc_no_link = xyes; then
113634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113636    { (exit 1); exit 1; }; }
113637 fi
113638 cat >conftest.$ac_ext <<_ACEOF
113639 /* confdefs.h.  */
113640 _ACEOF
113641 cat confdefs.h >>conftest.$ac_ext
113642 cat >>conftest.$ac_ext <<_ACEOF
113643 /* end confdefs.h.  */
113644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113645    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113646 #define $ac_func innocuous_$ac_func
113647
113648 /* System header to define __stub macros and hopefully few prototypes,
113649     which can conflict with char $ac_func (); below.
113650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113651     <limits.h> exists even on freestanding compilers.  */
113652
113653 #ifdef __STDC__
113654 # include <limits.h>
113655 #else
113656 # include <assert.h>
113657 #endif
113658
113659 #undef $ac_func
113660
113661 /* Override any gcc2 internal prototype to avoid an error.  */
113662 #ifdef __cplusplus
113663 extern "C"
113664 {
113665 #endif
113666 /* We use char because int might match the return type of a gcc2
113667    builtin and then its argument prototype would still apply.  */
113668 char $ac_func ();
113669 /* The GNU C library defines this for functions which it implements
113670     to always fail with ENOSYS.  Some functions are actually named
113671     something starting with __ and the normal name is an alias.  */
113672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113673 choke me
113674 #else
113675 char (*f) () = $ac_func;
113676 #endif
113677 #ifdef __cplusplus
113678 }
113679 #endif
113680
113681 int
113682 main ()
113683 {
113684 return f != $ac_func;
113685   ;
113686   return 0;
113687 }
113688 _ACEOF
113689 rm -f conftest.$ac_objext conftest$ac_exeext
113690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113691   (eval $ac_link) 2>conftest.er1
113692   ac_status=$?
113693   grep -v '^ *+' conftest.er1 >conftest.err
113694   rm -f conftest.er1
113695   cat conftest.err >&5
113696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113697   (exit $ac_status); } &&
113698          { ac_try='test -z "$ac_c_werror_flag"
113699                          || test ! -s conftest.err'
113700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113701   (eval $ac_try) 2>&5
113702   ac_status=$?
113703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113704   (exit $ac_status); }; } &&
113705          { ac_try='test -s conftest$ac_exeext'
113706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113707   (eval $ac_try) 2>&5
113708   ac_status=$?
113709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113710   (exit $ac_status); }; }; then
113711   eval "$as_ac_var=yes"
113712 else
113713   echo "$as_me: failed program was:" >&5
113714 sed 's/^/| /' conftest.$ac_ext >&5
113715
113716 eval "$as_ac_var=no"
113717 fi
113718 rm -f conftest.err conftest.$ac_objext \
113719       conftest$ac_exeext conftest.$ac_ext
113720 fi
113721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113723 if test `eval echo '${'$as_ac_var'}'` = yes; then
113724   cat >>confdefs.h <<_ACEOF
113725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113726 _ACEOF
113727
113728 else
113729   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113730 fi
113731 done
113732
113733
113734
113735 for ac_func in __signbitf
113736 do
113737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113738 echo "$as_me:$LINENO: checking for $ac_func" >&5
113739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113740 if eval "test \"\${$as_ac_var+set}\" = set"; then
113741   echo $ECHO_N "(cached) $ECHO_C" >&6
113742 else
113743   if test x$gcc_no_link = xyes; then
113744   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113746    { (exit 1); exit 1; }; }
113747 fi
113748 cat >conftest.$ac_ext <<_ACEOF
113749 /* confdefs.h.  */
113750 _ACEOF
113751 cat confdefs.h >>conftest.$ac_ext
113752 cat >>conftest.$ac_ext <<_ACEOF
113753 /* end confdefs.h.  */
113754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113755    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113756 #define $ac_func innocuous_$ac_func
113757
113758 /* System header to define __stub macros and hopefully few prototypes,
113759     which can conflict with char $ac_func (); below.
113760     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113761     <limits.h> exists even on freestanding compilers.  */
113762
113763 #ifdef __STDC__
113764 # include <limits.h>
113765 #else
113766 # include <assert.h>
113767 #endif
113768
113769 #undef $ac_func
113770
113771 /* Override any gcc2 internal prototype to avoid an error.  */
113772 #ifdef __cplusplus
113773 extern "C"
113774 {
113775 #endif
113776 /* We use char because int might match the return type of a gcc2
113777    builtin and then its argument prototype would still apply.  */
113778 char $ac_func ();
113779 /* The GNU C library defines this for functions which it implements
113780     to always fail with ENOSYS.  Some functions are actually named
113781     something starting with __ and the normal name is an alias.  */
113782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113783 choke me
113784 #else
113785 char (*f) () = $ac_func;
113786 #endif
113787 #ifdef __cplusplus
113788 }
113789 #endif
113790
113791 int
113792 main ()
113793 {
113794 return f != $ac_func;
113795   ;
113796   return 0;
113797 }
113798 _ACEOF
113799 rm -f conftest.$ac_objext conftest$ac_exeext
113800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113801   (eval $ac_link) 2>conftest.er1
113802   ac_status=$?
113803   grep -v '^ *+' conftest.er1 >conftest.err
113804   rm -f conftest.er1
113805   cat conftest.err >&5
113806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113807   (exit $ac_status); } &&
113808          { ac_try='test -z "$ac_c_werror_flag"
113809                          || test ! -s conftest.err'
113810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113811   (eval $ac_try) 2>&5
113812   ac_status=$?
113813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113814   (exit $ac_status); }; } &&
113815          { ac_try='test -s conftest$ac_exeext'
113816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113817   (eval $ac_try) 2>&5
113818   ac_status=$?
113819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113820   (exit $ac_status); }; }; then
113821   eval "$as_ac_var=yes"
113822 else
113823   echo "$as_me: failed program was:" >&5
113824 sed 's/^/| /' conftest.$ac_ext >&5
113825
113826 eval "$as_ac_var=no"
113827 fi
113828 rm -f conftest.err conftest.$ac_objext \
113829       conftest$ac_exeext conftest.$ac_ext
113830 fi
113831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113833 if test `eval echo '${'$as_ac_var'}'` = yes; then
113834   cat >>confdefs.h <<_ACEOF
113835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113836 _ACEOF
113837
113838 else
113839   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113840 fi
113841 done
113842
113843
113844           if test x$ac_cv_func_copysignl = x"yes"; then
113845
113846 for ac_func in __signbitl
113847 do
113848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113849 echo "$as_me:$LINENO: checking for $ac_func" >&5
113850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113851 if eval "test \"\${$as_ac_var+set}\" = set"; then
113852   echo $ECHO_N "(cached) $ECHO_C" >&6
113853 else
113854   if test x$gcc_no_link = xyes; then
113855   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113857    { (exit 1); exit 1; }; }
113858 fi
113859 cat >conftest.$ac_ext <<_ACEOF
113860 /* confdefs.h.  */
113861 _ACEOF
113862 cat confdefs.h >>conftest.$ac_ext
113863 cat >>conftest.$ac_ext <<_ACEOF
113864 /* end confdefs.h.  */
113865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
113867 #define $ac_func innocuous_$ac_func
113868
113869 /* System header to define __stub macros and hopefully few prototypes,
113870     which can conflict with char $ac_func (); below.
113871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113872     <limits.h> exists even on freestanding compilers.  */
113873
113874 #ifdef __STDC__
113875 # include <limits.h>
113876 #else
113877 # include <assert.h>
113878 #endif
113879
113880 #undef $ac_func
113881
113882 /* Override any gcc2 internal prototype to avoid an error.  */
113883 #ifdef __cplusplus
113884 extern "C"
113885 {
113886 #endif
113887 /* We use char because int might match the return type of a gcc2
113888    builtin and then its argument prototype would still apply.  */
113889 char $ac_func ();
113890 /* The GNU C library defines this for functions which it implements
113891     to always fail with ENOSYS.  Some functions are actually named
113892     something starting with __ and the normal name is an alias.  */
113893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113894 choke me
113895 #else
113896 char (*f) () = $ac_func;
113897 #endif
113898 #ifdef __cplusplus
113899 }
113900 #endif
113901
113902 int
113903 main ()
113904 {
113905 return f != $ac_func;
113906   ;
113907   return 0;
113908 }
113909 _ACEOF
113910 rm -f conftest.$ac_objext conftest$ac_exeext
113911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113912   (eval $ac_link) 2>conftest.er1
113913   ac_status=$?
113914   grep -v '^ *+' conftest.er1 >conftest.err
113915   rm -f conftest.er1
113916   cat conftest.err >&5
113917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113918   (exit $ac_status); } &&
113919          { ac_try='test -z "$ac_c_werror_flag"
113920                          || test ! -s conftest.err'
113921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113922   (eval $ac_try) 2>&5
113923   ac_status=$?
113924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113925   (exit $ac_status); }; } &&
113926          { ac_try='test -s conftest$ac_exeext'
113927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113928   (eval $ac_try) 2>&5
113929   ac_status=$?
113930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
113931   (exit $ac_status); }; }; then
113932   eval "$as_ac_var=yes"
113933 else
113934   echo "$as_me: failed program was:" >&5
113935 sed 's/^/| /' conftest.$ac_ext >&5
113936
113937 eval "$as_ac_var=no"
113938 fi
113939 rm -f conftest.err conftest.$ac_objext \
113940       conftest$ac_exeext conftest.$ac_ext
113941 fi
113942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113944 if test `eval echo '${'$as_ac_var'}'` = yes; then
113945   cat >>confdefs.h <<_ACEOF
113946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113947 _ACEOF
113948
113949 else
113950   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113951 fi
113952 done
113953
113954   fi
113955
113956   # Used in libmath/Makefile.am.
113957   if test -n "$LIBMATHOBJS"; then
113958     need_libmath=yes
113959   fi
113960
113961
113962     cat >>confdefs.h <<\_ACEOF
113963 #define HAVE_COSF 1
113964 _ACEOF
113965
113966     cat >>confdefs.h <<\_ACEOF
113967 #define HAVE_COSL 1
113968 _ACEOF
113969
113970     cat >>confdefs.h <<\_ACEOF
113971 #define HAVE_COSHF 1
113972 _ACEOF
113973
113974     cat >>confdefs.h <<\_ACEOF
113975 #define HAVE_COSHL 1
113976 _ACEOF
113977
113978     cat >>confdefs.h <<\_ACEOF
113979 #define HAVE_LOGF 1
113980 _ACEOF
113981
113982     cat >>confdefs.h <<\_ACEOF
113983 #define HAVE_LOGL 1
113984 _ACEOF
113985
113986     cat >>confdefs.h <<\_ACEOF
113987 #define HAVE_LOG10F 1
113988 _ACEOF
113989
113990     cat >>confdefs.h <<\_ACEOF
113991 #define HAVE_LOG10L 1
113992 _ACEOF
113993
113994     cat >>confdefs.h <<\_ACEOF
113995 #define HAVE_SINF 1
113996 _ACEOF
113997
113998     cat >>confdefs.h <<\_ACEOF
113999 #define HAVE_SINL 1
114000 _ACEOF
114001
114002     cat >>confdefs.h <<\_ACEOF
114003 #define HAVE_SINHF 1
114004 _ACEOF
114005
114006     cat >>confdefs.h <<\_ACEOF
114007 #define HAVE_SINHL 1
114008 _ACEOF
114009
114010     ;;
114011   *-solaris*)
114012     case "$target" in
114013     #  *-solaris2.5)
114014     #    os_include_dir="os/solaris/solaris2.5"
114015     #    ;;
114016     #  *-solaris2.6)
114017     #    os_include_dir="os/solaris/solaris2.6"
114018     #    ;;
114019       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
114020
114021   # If we're not using GNU ld, then there's no point in even trying these
114022   # tests.  Check for that first.  We should have already tested for gld
114023   # by now (in libtool), but require it now just to be safe...
114024   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114025   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114026
114027
114028
114029   # The name set by libtool depends on the version of libtool.  Shame on us
114030   # for depending on an impl detail, but c'est la vie.  Older versions used
114031   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114032   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114033   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
114034   # set (hence we're using an older libtool), then set it.
114035   if test x${with_gnu_ld+set} != xset; then
114036     if test x${ac_cv_prog_gnu_ld+set} != xset; then
114037       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
114038       with_gnu_ld=no
114039     else
114040       with_gnu_ld=$ac_cv_prog_gnu_ld
114041     fi
114042   fi
114043
114044   # Start by getting the version number.  I think the libtool test already
114045   # does some of this, but throws away the result.
114046   glibcxx_ld_is_gold=no
114047   if test x"$with_gnu_ld" = x"yes"; then
114048     echo "$as_me:$LINENO: checking for ld version" >&5
114049 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114050
114051     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114052       glibcxx_ld_is_gold=yes
114053     fi
114054     ldver=`$LD --version 2>/dev/null | head -1 | \
114055            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114056
114057     glibcxx_gnu_ld_version=`echo $ldver | \
114058            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114059     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114060 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114061   fi
114062
114063   # Set --gc-sections.
114064   glibcxx_have_gc_sections=no
114065   if test "$glibcxx_ld_is_gold" = "yes"; then
114066     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114067       glibcxx_have_gc_sections=yes
114068     fi
114069   else
114070     glibcxx_gcsections_min_ld=21602
114071     if test x"$with_gnu_ld" = x"yes" &&
114072         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114073       glibcxx_have_gc_sections=yes
114074     fi
114075   fi
114076   if test "$glibcxx_have_gc_sections" = "yes"; then
114077     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
114078     # NB: This flag only works reliably after 2.16.1. Configure tests
114079     # for this are difficult, so hard wire a value that should work.
114080
114081     ac_test_CFLAGS="${CFLAGS+set}"
114082     ac_save_CFLAGS="$CFLAGS"
114083     CFLAGS='-Wl,--gc-sections'
114084
114085     # Check for -Wl,--gc-sections
114086     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114087 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114088     if test x$gcc_no_link = xyes; then
114089   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114091    { (exit 1); exit 1; }; }
114092 fi
114093 cat >conftest.$ac_ext <<_ACEOF
114094 /* confdefs.h.  */
114095 _ACEOF
114096 cat confdefs.h >>conftest.$ac_ext
114097 cat >>conftest.$ac_ext <<_ACEOF
114098 /* end confdefs.h.  */
114099  int one(void) { return 1; }
114100      int two(void) { return 2; }
114101
114102 int
114103 main ()
114104 {
114105  two();
114106   ;
114107   return 0;
114108 }
114109 _ACEOF
114110 rm -f conftest.$ac_objext conftest$ac_exeext
114111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114112   (eval $ac_link) 2>conftest.er1
114113   ac_status=$?
114114   grep -v '^ *+' conftest.er1 >conftest.err
114115   rm -f conftest.er1
114116   cat conftest.err >&5
114117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114118   (exit $ac_status); } &&
114119          { ac_try='test -z "$ac_c_werror_flag"
114120                          || test ! -s conftest.err'
114121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114122   (eval $ac_try) 2>&5
114123   ac_status=$?
114124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114125   (exit $ac_status); }; } &&
114126          { ac_try='test -s conftest$ac_exeext'
114127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114128   (eval $ac_try) 2>&5
114129   ac_status=$?
114130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114131   (exit $ac_status); }; }; then
114132   ac_gcsections=yes
114133 else
114134   echo "$as_me: failed program was:" >&5
114135 sed 's/^/| /' conftest.$ac_ext >&5
114136
114137 ac_gcsections=no
114138 fi
114139 rm -f conftest.err conftest.$ac_objext \
114140       conftest$ac_exeext conftest.$ac_ext
114141     if test "$ac_gcsections" = "yes"; then
114142       rm -f conftest.c
114143       touch conftest.c
114144       if $CC -c conftest.c; then
114145         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114146            grep "Warning: gc-sections option ignored" > /dev/null; then
114147           ac_gcsections=no
114148         fi
114149       fi
114150       rm -f conftest.c conftest.o conftest
114151     fi
114152     if test "$ac_gcsections" = "yes"; then
114153       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114154     fi
114155     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114156 echo "${ECHO_T}$ac_gcsections" >&6
114157
114158     if test "$ac_test_CFLAGS" = set; then
114159       CFLAGS="$ac_save_CFLAGS"
114160     else
114161       # this is the suspicious part
114162       CFLAGS=''
114163     fi
114164   fi
114165
114166   # Set -z,relro.
114167   # Note this is only for shared objects.
114168   ac_ld_relro=no
114169   if test x"$with_gnu_ld" = x"yes"; then
114170     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114171 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114172     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114173     if test -n "$cxx_z_relo"; then
114174       OPT_LDFLAGS="-Wl,-z,relro"
114175       ac_ld_relro=yes
114176     fi
114177     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114178 echo "${ECHO_T}$ac_ld_relro" >&6
114179   fi
114180
114181   # Set linker optimization flags.
114182   if test x"$with_gnu_ld" = x"yes"; then
114183     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114184   fi
114185
114186
114187
114188
114189          cat >>confdefs.h <<\_ACEOF
114190 #define HAVE_GETPAGESIZE 1
114191 _ACEOF
114192
114193          cat >>confdefs.h <<\_ACEOF
114194 #define HAVE_SIGSETJMP 1
114195 _ACEOF
114196
114197          cat >>confdefs.h <<\_ACEOF
114198 #define HAVE_MBSTATE_T 1
114199 _ACEOF
114200
114201          cat >>confdefs.h <<\_ACEOF
114202 #define HAVE_POLL 1
114203 _ACEOF
114204
114205          cat >>confdefs.h <<\_ACEOF
114206 #define HAVE_S_ISREG 1
114207 _ACEOF
114208
114209          cat >>confdefs.h <<\_ACEOF
114210 #define HAVE_LC_MESSAGES 1
114211 _ACEOF
114212
114213          cat >>confdefs.h <<\_ACEOF
114214 #define HAVE_FINITE 1
114215 _ACEOF
114216
114217          cat >>confdefs.h <<\_ACEOF
114218 #define HAVE_FPCLASS 1
114219 _ACEOF
114220
114221          cat >>confdefs.h <<\_ACEOF
114222 #define HAVE_GETPAGESIZE 1
114223 _ACEOF
114224
114225          # All of the dependencies for wide character support are here, so
114226          # turn it on.
114227          cat >>confdefs.h <<\_ACEOF
114228 #define _GLIBCXX_USE_WCHAR_T 1
114229 _ACEOF
114230
114231          # Are these tested for even when cross?
114232          cat >>confdefs.h <<\_ACEOF
114233 #define HAVE_FLOAT_H 1
114234 _ACEOF
114235
114236          cat >>confdefs.h <<\_ACEOF
114237 #define HAVE_IEEEFP_H 1
114238 _ACEOF
114239
114240          cat >>confdefs.h <<\_ACEOF
114241 #define HAVE_INTTYPES_H 1
114242 _ACEOF
114243
114244          cat >>confdefs.h <<\_ACEOF
114245 #define HAVE_LOCALE_H 1
114246 _ACEOF
114247
114248          cat >>confdefs.h <<\_ACEOF
114249 #define HAVE_NAN_H 1
114250 _ACEOF
114251
114252          cat >>confdefs.h <<\_ACEOF
114253 #define HAVE_SYS_FILIO_H 1
114254 _ACEOF
114255
114256          cat >>confdefs.h <<\_ACEOF
114257 #define HAVE_SYS_IOCTL_H 1
114258 _ACEOF
114259
114260          cat >>confdefs.h <<\_ACEOF
114261 #define HAVE_SYS_ISA_DEFS_H 1
114262 _ACEOF
114263
114264          cat >>confdefs.h <<\_ACEOF
114265 #define HAVE_SYS_RESOURCE_H 1
114266 _ACEOF
114267
114268          cat >>confdefs.h <<\_ACEOF
114269 #define HAVE_SYS_TIME_H 1
114270 _ACEOF
114271
114272          cat >>confdefs.h <<\_ACEOF
114273 #define HAVE_SYS_TYPES_H 1
114274 _ACEOF
114275
114276          cat >>confdefs.h <<\_ACEOF
114277 #define HAVE_UNISTD_H 1
114278 _ACEOF
114279
114280          cat >>confdefs.h <<\_ACEOF
114281 #define HAVE_WCHAR_H 1
114282 _ACEOF
114283
114284          cat >>confdefs.h <<\_ACEOF
114285 #define HAVE_WCTYPE_H 1
114286 _ACEOF
114287
114288          cat >>confdefs.h <<\_ACEOF
114289 #define HAVE_LIBM 1
114290 _ACEOF
114291
114292         ;;
114293     esac
114294     case "$target" in
114295       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
114296         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
114297         cat >>confdefs.h <<\_ACEOF
114298 #define HAVE___BUILTIN_ABS 1
114299 _ACEOF
114300
114301         cat >>confdefs.h <<\_ACEOF
114302 #define HAVE___BUILTIN_LABS 1
114303 _ACEOF
114304
114305         cat >>confdefs.h <<\_ACEOF
114306 #define HAVE___BUILTIN_FABS 1
114307 _ACEOF
114308
114309         cat >>confdefs.h <<\_ACEOF
114310 #define HAVE___BUILTIN_FABSF 1
114311 _ACEOF
114312
114313         cat >>confdefs.h <<\_ACEOF
114314 #define HAVE___BUILTIN_FABSL 1
114315 _ACEOF
114316
114317         cat >>confdefs.h <<\_ACEOF
114318 #define HAVE___BUILTIN_COS 1
114319 _ACEOF
114320
114321         cat >>confdefs.h <<\_ACEOF
114322 #define HAVE___BUILTIN_COSF 1
114323 _ACEOF
114324
114325         cat >>confdefs.h <<\_ACEOF
114326 #define HAVE___BUILTIN_SIN 1
114327 _ACEOF
114328
114329         cat >>confdefs.h <<\_ACEOF
114330 #define HAVE___BUILTIN_SINF 1
114331 _ACEOF
114332
114333        ;;
114334     esac
114335     case "$target" in
114336       *-*-solaris2.10)
114337       # These two C99 functions are present only in Solaris >= 10
114338       cat >>confdefs.h <<\_ACEOF
114339 #define HAVE_STRTOF 1
114340 _ACEOF
114341
114342       cat >>confdefs.h <<\_ACEOF
114343 #define HAVE_STRTOLD 1
114344 _ACEOF
114345
114346      ;;
114347     esac
114348     cat >>confdefs.h <<\_ACEOF
114349 #define HAVE_MMAP 1
114350 _ACEOF
114351
114352     cat >>confdefs.h <<\_ACEOF
114353 #define HAVE_COPYSIGN 1
114354 _ACEOF
114355
114356     cat >>confdefs.h <<\_ACEOF
114357 #define HAVE_ISNAN 1
114358 _ACEOF
114359
114360     cat >>confdefs.h <<\_ACEOF
114361 #define HAVE_ISNANF 1
114362 _ACEOF
114363
114364     cat >>confdefs.h <<\_ACEOF
114365 #define HAVE_MODFF 1
114366 _ACEOF
114367
114368     cat >>confdefs.h <<\_ACEOF
114369 #define HAVE_HYPOT 1
114370 _ACEOF
114371
114372     ;;
114373   *-tpf)
114374
114375
114376
114377
114378
114379
114380
114381
114382 for ac_header in nan.h endian.h machine/endian.h  \
114383       sys/param.h sys/types.h locale.h float.h inttypes.h
114384 do
114385 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114387   echo "$as_me:$LINENO: checking for $ac_header" >&5
114388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114390   echo $ECHO_N "(cached) $ECHO_C" >&6
114391 fi
114392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114394 else
114395   # Is the header compilable?
114396 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114398 cat >conftest.$ac_ext <<_ACEOF
114399 /* confdefs.h.  */
114400 _ACEOF
114401 cat confdefs.h >>conftest.$ac_ext
114402 cat >>conftest.$ac_ext <<_ACEOF
114403 /* end confdefs.h.  */
114404 $ac_includes_default
114405 #include <$ac_header>
114406 _ACEOF
114407 rm -f conftest.$ac_objext
114408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114409   (eval $ac_compile) 2>conftest.er1
114410   ac_status=$?
114411   grep -v '^ *+' conftest.er1 >conftest.err
114412   rm -f conftest.er1
114413   cat conftest.err >&5
114414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114415   (exit $ac_status); } &&
114416          { ac_try='test -z "$ac_c_werror_flag"
114417                          || test ! -s conftest.err'
114418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114419   (eval $ac_try) 2>&5
114420   ac_status=$?
114421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114422   (exit $ac_status); }; } &&
114423          { ac_try='test -s conftest.$ac_objext'
114424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114425   (eval $ac_try) 2>&5
114426   ac_status=$?
114427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114428   (exit $ac_status); }; }; then
114429   ac_header_compiler=yes
114430 else
114431   echo "$as_me: failed program was:" >&5
114432 sed 's/^/| /' conftest.$ac_ext >&5
114433
114434 ac_header_compiler=no
114435 fi
114436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114437 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114438 echo "${ECHO_T}$ac_header_compiler" >&6
114439
114440 # Is the header present?
114441 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114442 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114443 cat >conftest.$ac_ext <<_ACEOF
114444 /* confdefs.h.  */
114445 _ACEOF
114446 cat confdefs.h >>conftest.$ac_ext
114447 cat >>conftest.$ac_ext <<_ACEOF
114448 /* end confdefs.h.  */
114449 #include <$ac_header>
114450 _ACEOF
114451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114452   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114453   ac_status=$?
114454   grep -v '^ *+' conftest.er1 >conftest.err
114455   rm -f conftest.er1
114456   cat conftest.err >&5
114457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114458   (exit $ac_status); } >/dev/null; then
114459   if test -s conftest.err; then
114460     ac_cpp_err=$ac_c_preproc_warn_flag
114461     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114462   else
114463     ac_cpp_err=
114464   fi
114465 else
114466   ac_cpp_err=yes
114467 fi
114468 if test -z "$ac_cpp_err"; then
114469   ac_header_preproc=yes
114470 else
114471   echo "$as_me: failed program was:" >&5
114472 sed 's/^/| /' conftest.$ac_ext >&5
114473
114474   ac_header_preproc=no
114475 fi
114476 rm -f conftest.err conftest.$ac_ext
114477 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114478 echo "${ECHO_T}$ac_header_preproc" >&6
114479
114480 # So?  What about this header?
114481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114482   yes:no: )
114483     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114484 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114485     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114486 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114487     ac_header_preproc=yes
114488     ;;
114489   no:yes:* )
114490     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114491 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114492     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
114493 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
114494     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114495 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114496     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
114497 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
114498     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114499 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114500     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114501 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114502     (
114503       cat <<\_ASBOX
114504 ## ----------------------------------------- ##
114505 ## Report this to the package-unused lists.  ##
114506 ## ----------------------------------------- ##
114507 _ASBOX
114508     ) |
114509       sed "s/^/$as_me: WARNING:     /" >&2
114510     ;;
114511 esac
114512 echo "$as_me:$LINENO: checking for $ac_header" >&5
114513 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114515   echo $ECHO_N "(cached) $ECHO_C" >&6
114516 else
114517   eval "$as_ac_Header=\$ac_header_preproc"
114518 fi
114519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114520 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114521
114522 fi
114523 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114524   cat >>confdefs.h <<_ACEOF
114525 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114526 _ACEOF
114527
114528 fi
114529
114530 done
114531
114532     SECTION_FLAGS='-ffunction-sections -fdata-sections'
114533
114534
114535   # If we're not using GNU ld, then there's no point in even trying these
114536   # tests.  Check for that first.  We should have already tested for gld
114537   # by now (in libtool), but require it now just to be safe...
114538   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114539   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114540
114541
114542
114543   # The name set by libtool depends on the version of libtool.  Shame on us
114544   # for depending on an impl detail, but c'est la vie.  Older versions used
114545   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114546   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114547   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
114548   # set (hence we're using an older libtool), then set it.
114549   if test x${with_gnu_ld+set} != xset; then
114550     if test x${ac_cv_prog_gnu_ld+set} != xset; then
114551       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
114552       with_gnu_ld=no
114553     else
114554       with_gnu_ld=$ac_cv_prog_gnu_ld
114555     fi
114556   fi
114557
114558   # Start by getting the version number.  I think the libtool test already
114559   # does some of this, but throws away the result.
114560   glibcxx_ld_is_gold=no
114561   if test x"$with_gnu_ld" = x"yes"; then
114562     echo "$as_me:$LINENO: checking for ld version" >&5
114563 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114564
114565     if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114566       glibcxx_ld_is_gold=yes
114567     fi
114568     ldver=`$LD --version 2>/dev/null | head -1 | \
114569            sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114570
114571     glibcxx_gnu_ld_version=`echo $ldver | \
114572            $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114573     echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114574 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114575   fi
114576
114577   # Set --gc-sections.
114578   glibcxx_have_gc_sections=no
114579   if test "$glibcxx_ld_is_gold" = "yes"; then
114580     if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114581       glibcxx_have_gc_sections=yes
114582     fi
114583   else
114584     glibcxx_gcsections_min_ld=21602
114585     if test x"$with_gnu_ld" = x"yes" &&
114586         test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114587       glibcxx_have_gc_sections=yes
114588     fi
114589   fi
114590   if test "$glibcxx_have_gc_sections" = "yes"; then
114591     # Sufficiently young GNU ld it is!  Joy and bunny rabbits!
114592     # NB: This flag only works reliably after 2.16.1. Configure tests
114593     # for this are difficult, so hard wire a value that should work.
114594
114595     ac_test_CFLAGS="${CFLAGS+set}"
114596     ac_save_CFLAGS="$CFLAGS"
114597     CFLAGS='-Wl,--gc-sections'
114598
114599     # Check for -Wl,--gc-sections
114600     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114601 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114602     if test x$gcc_no_link = xyes; then
114603   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114605    { (exit 1); exit 1; }; }
114606 fi
114607 cat >conftest.$ac_ext <<_ACEOF
114608 /* confdefs.h.  */
114609 _ACEOF
114610 cat confdefs.h >>conftest.$ac_ext
114611 cat >>conftest.$ac_ext <<_ACEOF
114612 /* end confdefs.h.  */
114613  int one(void) { return 1; }
114614      int two(void) { return 2; }
114615
114616 int
114617 main ()
114618 {
114619  two();
114620   ;
114621   return 0;
114622 }
114623 _ACEOF
114624 rm -f conftest.$ac_objext conftest$ac_exeext
114625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114626   (eval $ac_link) 2>conftest.er1
114627   ac_status=$?
114628   grep -v '^ *+' conftest.er1 >conftest.err
114629   rm -f conftest.er1
114630   cat conftest.err >&5
114631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114632   (exit $ac_status); } &&
114633          { ac_try='test -z "$ac_c_werror_flag"
114634                          || test ! -s conftest.err'
114635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114636   (eval $ac_try) 2>&5
114637   ac_status=$?
114638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114639   (exit $ac_status); }; } &&
114640          { ac_try='test -s conftest$ac_exeext'
114641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114642   (eval $ac_try) 2>&5
114643   ac_status=$?
114644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114645   (exit $ac_status); }; }; then
114646   ac_gcsections=yes
114647 else
114648   echo "$as_me: failed program was:" >&5
114649 sed 's/^/| /' conftest.$ac_ext >&5
114650
114651 ac_gcsections=no
114652 fi
114653 rm -f conftest.err conftest.$ac_objext \
114654       conftest$ac_exeext conftest.$ac_ext
114655     if test "$ac_gcsections" = "yes"; then
114656       rm -f conftest.c
114657       touch conftest.c
114658       if $CC -c conftest.c; then
114659         if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114660            grep "Warning: gc-sections option ignored" > /dev/null; then
114661           ac_gcsections=no
114662         fi
114663       fi
114664       rm -f conftest.c conftest.o conftest
114665     fi
114666     if test "$ac_gcsections" = "yes"; then
114667       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114668     fi
114669     echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114670 echo "${ECHO_T}$ac_gcsections" >&6
114671
114672     if test "$ac_test_CFLAGS" = set; then
114673       CFLAGS="$ac_save_CFLAGS"
114674     else
114675       # this is the suspicious part
114676       CFLAGS=''
114677     fi
114678   fi
114679
114680   # Set -z,relro.
114681   # Note this is only for shared objects.
114682   ac_ld_relro=no
114683   if test x"$with_gnu_ld" = x"yes"; then
114684     echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114685 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114686     cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114687     if test -n "$cxx_z_relo"; then
114688       OPT_LDFLAGS="-Wl,-z,relro"
114689       ac_ld_relro=yes
114690     fi
114691     echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114692 echo "${ECHO_T}$ac_ld_relro" >&6
114693   fi
114694
114695   # Set linker optimization flags.
114696   if test x"$with_gnu_ld" = x"yes"; then
114697     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114698   fi
114699
114700
114701
114702
114703
114704
114705 echo "$as_me:$LINENO: checking for main in -lm" >&5
114706 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
114707 if test "${ac_cv_lib_m_main+set}" = set; then
114708   echo $ECHO_N "(cached) $ECHO_C" >&6
114709 else
114710   ac_check_lib_save_LIBS=$LIBS
114711 LIBS="-lm  $LIBS"
114712 if test x$gcc_no_link = xyes; then
114713   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114715    { (exit 1); exit 1; }; }
114716 fi
114717 cat >conftest.$ac_ext <<_ACEOF
114718 /* confdefs.h.  */
114719 _ACEOF
114720 cat confdefs.h >>conftest.$ac_ext
114721 cat >>conftest.$ac_ext <<_ACEOF
114722 /* end confdefs.h.  */
114723
114724
114725 int
114726 main ()
114727 {
114728 main ();
114729   ;
114730   return 0;
114731 }
114732 _ACEOF
114733 rm -f conftest.$ac_objext conftest$ac_exeext
114734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114735   (eval $ac_link) 2>conftest.er1
114736   ac_status=$?
114737   grep -v '^ *+' conftest.er1 >conftest.err
114738   rm -f conftest.er1
114739   cat conftest.err >&5
114740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114741   (exit $ac_status); } &&
114742          { ac_try='test -z "$ac_c_werror_flag"
114743                          || test ! -s conftest.err'
114744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114745   (eval $ac_try) 2>&5
114746   ac_status=$?
114747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114748   (exit $ac_status); }; } &&
114749          { ac_try='test -s conftest$ac_exeext'
114750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114751   (eval $ac_try) 2>&5
114752   ac_status=$?
114753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114754   (exit $ac_status); }; }; then
114755   ac_cv_lib_m_main=yes
114756 else
114757   echo "$as_me: failed program was:" >&5
114758 sed 's/^/| /' conftest.$ac_ext >&5
114759
114760 ac_cv_lib_m_main=no
114761 fi
114762 rm -f conftest.err conftest.$ac_objext \
114763       conftest$ac_exeext conftest.$ac_ext
114764 LIBS=$ac_check_lib_save_LIBS
114765 fi
114766 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
114767 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
114768 if test $ac_cv_lib_m_main = yes; then
114769   cat >>confdefs.h <<_ACEOF
114770 #define HAVE_LIBM 1
114771 _ACEOF
114772
114773   LIBS="-lm $LIBS"
114774
114775 fi
114776
114777
114778 for ac_func in copysignf
114779 do
114780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114781 echo "$as_me:$LINENO: checking for $ac_func" >&5
114782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114783 if eval "test \"\${$as_ac_var+set}\" = set"; then
114784   echo $ECHO_N "(cached) $ECHO_C" >&6
114785 else
114786   if test x$gcc_no_link = xyes; then
114787   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114789    { (exit 1); exit 1; }; }
114790 fi
114791 cat >conftest.$ac_ext <<_ACEOF
114792 /* confdefs.h.  */
114793 _ACEOF
114794 cat confdefs.h >>conftest.$ac_ext
114795 cat >>conftest.$ac_ext <<_ACEOF
114796 /* end confdefs.h.  */
114797 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114798    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114799 #define $ac_func innocuous_$ac_func
114800
114801 /* System header to define __stub macros and hopefully few prototypes,
114802     which can conflict with char $ac_func (); below.
114803     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114804     <limits.h> exists even on freestanding compilers.  */
114805
114806 #ifdef __STDC__
114807 # include <limits.h>
114808 #else
114809 # include <assert.h>
114810 #endif
114811
114812 #undef $ac_func
114813
114814 /* Override any gcc2 internal prototype to avoid an error.  */
114815 #ifdef __cplusplus
114816 extern "C"
114817 {
114818 #endif
114819 /* We use char because int might match the return type of a gcc2
114820    builtin and then its argument prototype would still apply.  */
114821 char $ac_func ();
114822 /* The GNU C library defines this for functions which it implements
114823     to always fail with ENOSYS.  Some functions are actually named
114824     something starting with __ and the normal name is an alias.  */
114825 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114826 choke me
114827 #else
114828 char (*f) () = $ac_func;
114829 #endif
114830 #ifdef __cplusplus
114831 }
114832 #endif
114833
114834 int
114835 main ()
114836 {
114837 return f != $ac_func;
114838   ;
114839   return 0;
114840 }
114841 _ACEOF
114842 rm -f conftest.$ac_objext conftest$ac_exeext
114843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114844   (eval $ac_link) 2>conftest.er1
114845   ac_status=$?
114846   grep -v '^ *+' conftest.er1 >conftest.err
114847   rm -f conftest.er1
114848   cat conftest.err >&5
114849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114850   (exit $ac_status); } &&
114851          { ac_try='test -z "$ac_c_werror_flag"
114852                          || test ! -s conftest.err'
114853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114854   (eval $ac_try) 2>&5
114855   ac_status=$?
114856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114857   (exit $ac_status); }; } &&
114858          { ac_try='test -s conftest$ac_exeext'
114859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114860   (eval $ac_try) 2>&5
114861   ac_status=$?
114862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114863   (exit $ac_status); }; }; then
114864   eval "$as_ac_var=yes"
114865 else
114866   echo "$as_me: failed program was:" >&5
114867 sed 's/^/| /' conftest.$ac_ext >&5
114868
114869 eval "$as_ac_var=no"
114870 fi
114871 rm -f conftest.err conftest.$ac_objext \
114872       conftest$ac_exeext conftest.$ac_ext
114873 fi
114874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114876 if test `eval echo '${'$as_ac_var'}'` = yes; then
114877   cat >>confdefs.h <<_ACEOF
114878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114879 _ACEOF
114880
114881 else
114882   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
114883 fi
114884 done
114885
114886
114887
114888 for ac_func in __signbit
114889 do
114890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114891 echo "$as_me:$LINENO: checking for $ac_func" >&5
114892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114893 if eval "test \"\${$as_ac_var+set}\" = set"; then
114894   echo $ECHO_N "(cached) $ECHO_C" >&6
114895 else
114896   if test x$gcc_no_link = xyes; then
114897   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114899    { (exit 1); exit 1; }; }
114900 fi
114901 cat >conftest.$ac_ext <<_ACEOF
114902 /* confdefs.h.  */
114903 _ACEOF
114904 cat confdefs.h >>conftest.$ac_ext
114905 cat >>conftest.$ac_ext <<_ACEOF
114906 /* end confdefs.h.  */
114907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114908    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
114909 #define $ac_func innocuous_$ac_func
114910
114911 /* System header to define __stub macros and hopefully few prototypes,
114912     which can conflict with char $ac_func (); below.
114913     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114914     <limits.h> exists even on freestanding compilers.  */
114915
114916 #ifdef __STDC__
114917 # include <limits.h>
114918 #else
114919 # include <assert.h>
114920 #endif
114921
114922 #undef $ac_func
114923
114924 /* Override any gcc2 internal prototype to avoid an error.  */
114925 #ifdef __cplusplus
114926 extern "C"
114927 {
114928 #endif
114929 /* We use char because int might match the return type of a gcc2
114930    builtin and then its argument prototype would still apply.  */
114931 char $ac_func ();
114932 /* The GNU C library defines this for functions which it implements
114933     to always fail with ENOSYS.  Some functions are actually named
114934     something starting with __ and the normal name is an alias.  */
114935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114936 choke me
114937 #else
114938 char (*f) () = $ac_func;
114939 #endif
114940 #ifdef __cplusplus
114941 }
114942 #endif
114943
114944 int
114945 main ()
114946 {
114947 return f != $ac_func;
114948   ;
114949   return 0;
114950 }
114951 _ACEOF
114952 rm -f conftest.$ac_objext conftest$ac_exeext
114953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114954   (eval $ac_link) 2>conftest.er1
114955   ac_status=$?
114956   grep -v '^ *+' conftest.er1 >conftest.err
114957   rm -f conftest.er1
114958   cat conftest.err >&5
114959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114960   (exit $ac_status); } &&
114961          { ac_try='test -z "$ac_c_werror_flag"
114962                          || test ! -s conftest.err'
114963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114964   (eval $ac_try) 2>&5
114965   ac_status=$?
114966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114967   (exit $ac_status); }; } &&
114968          { ac_try='test -s conftest$ac_exeext'
114969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114970   (eval $ac_try) 2>&5
114971   ac_status=$?
114972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
114973   (exit $ac_status); }; }; then
114974   eval "$as_ac_var=yes"
114975 else
114976   echo "$as_me: failed program was:" >&5
114977 sed 's/^/| /' conftest.$ac_ext >&5
114978
114979 eval "$as_ac_var=no"
114980 fi
114981 rm -f conftest.err conftest.$ac_objext \
114982       conftest$ac_exeext conftest.$ac_ext
114983 fi
114984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114986 if test `eval echo '${'$as_ac_var'}'` = yes; then
114987   cat >>confdefs.h <<_ACEOF
114988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114989 _ACEOF
114990
114991 else
114992   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
114993 fi
114994 done
114995
114996
114997
114998 for ac_func in __signbitf
114999 do
115000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115001 echo "$as_me:$LINENO: checking for $ac_func" >&5
115002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115003 if eval "test \"\${$as_ac_var+set}\" = set"; then
115004   echo $ECHO_N "(cached) $ECHO_C" >&6
115005 else
115006   if test x$gcc_no_link = xyes; then
115007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115009    { (exit 1); exit 1; }; }
115010 fi
115011 cat >conftest.$ac_ext <<_ACEOF
115012 /* confdefs.h.  */
115013 _ACEOF
115014 cat confdefs.h >>conftest.$ac_ext
115015 cat >>conftest.$ac_ext <<_ACEOF
115016 /* end confdefs.h.  */
115017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115018    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
115019 #define $ac_func innocuous_$ac_func
115020
115021 /* System header to define __stub macros and hopefully few prototypes,
115022     which can conflict with char $ac_func (); below.
115023     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115024     <limits.h> exists even on freestanding compilers.  */
115025
115026 #ifdef __STDC__
115027 # include <limits.h>
115028 #else
115029 # include <assert.h>
115030 #endif
115031
115032 #undef $ac_func
115033
115034 /* Override any gcc2 internal prototype to avoid an error.  */
115035 #ifdef __cplusplus
115036 extern "C"
115037 {
115038 #endif
115039 /* We use char because int might match the return type of a gcc2
115040    builtin and then its argument prototype would still apply.  */
115041 char $ac_func ();
115042 /* The GNU C library defines this for functions which it implements
115043     to always fail with ENOSYS.  Some functions are actually named
115044     something starting with __ and the normal name is an alias.  */
115045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115046 choke me
115047 #else
115048 char (*f) () = $ac_func;
115049 #endif
115050 #ifdef __cplusplus
115051 }
115052 #endif
115053
115054 int
115055 main ()
115056 {
115057 return f != $ac_func;
115058   ;
115059   return 0;
115060 }
115061 _ACEOF
115062 rm -f conftest.$ac_objext conftest$ac_exeext
115063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115064   (eval $ac_link) 2>conftest.er1
115065   ac_status=$?
115066   grep -v '^ *+' conftest.er1 >conftest.err
115067   rm -f conftest.er1
115068   cat conftest.err >&5
115069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115070   (exit $ac_status); } &&
115071          { ac_try='test -z "$ac_c_werror_flag"
115072                          || test ! -s conftest.err'
115073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115074   (eval $ac_try) 2>&5
115075   ac_status=$?
115076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115077   (exit $ac_status); }; } &&
115078          { ac_try='test -s conftest$ac_exeext'
115079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115080   (eval $ac_try) 2>&5
115081   ac_status=$?
115082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115083   (exit $ac_status); }; }; then
115084   eval "$as_ac_var=yes"
115085 else
115086   echo "$as_me: failed program was:" >&5
115087 sed 's/^/| /' conftest.$ac_ext >&5
115088
115089 eval "$as_ac_var=no"
115090 fi
115091 rm -f conftest.err conftest.$ac_objext \
115092       conftest$ac_exeext conftest.$ac_ext
115093 fi
115094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115096 if test `eval echo '${'$as_ac_var'}'` = yes; then
115097   cat >>confdefs.h <<_ACEOF
115098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115099 _ACEOF
115100
115101 else
115102   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
115103 fi
115104 done
115105
115106
115107           if test x$ac_cv_func_copysignl = x"yes"; then
115108
115109 for ac_func in __signbitl
115110 do
115111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115112 echo "$as_me:$LINENO: checking for $ac_func" >&5
115113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115114 if eval "test \"\${$as_ac_var+set}\" = set"; then
115115   echo $ECHO_N "(cached) $ECHO_C" >&6
115116 else
115117   if test x$gcc_no_link = xyes; then
115118   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115120    { (exit 1); exit 1; }; }
115121 fi
115122 cat >conftest.$ac_ext <<_ACEOF
115123 /* confdefs.h.  */
115124 _ACEOF
115125 cat confdefs.h >>conftest.$ac_ext
115126 cat >>conftest.$ac_ext <<_ACEOF
115127 /* end confdefs.h.  */
115128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115129    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
115130 #define $ac_func innocuous_$ac_func
115131
115132 /* System header to define __stub macros and hopefully few prototypes,
115133     which can conflict with char $ac_func (); below.
115134     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115135     <limits.h> exists even on freestanding compilers.  */
115136
115137 #ifdef __STDC__
115138 # include <limits.h>
115139 #else
115140 # include <assert.h>
115141 #endif
115142
115143 #undef $ac_func
115144
115145 /* Override any gcc2 internal prototype to avoid an error.  */
115146 #ifdef __cplusplus
115147 extern "C"
115148 {
115149 #endif
115150 /* We use char because int might match the return type of a gcc2
115151    builtin and then its argument prototype would still apply.  */
115152 char $ac_func ();
115153 /* The GNU C library defines this for functions which it implements
115154     to always fail with ENOSYS.  Some functions are actually named
115155     something starting with __ and the normal name is an alias.  */
115156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115157 choke me
115158 #else
115159 char (*f) () = $ac_func;
115160 #endif
115161 #ifdef __cplusplus
115162 }
115163 #endif
115164
115165 int
115166 main ()
115167 {
115168 return f != $ac_func;
115169   ;
115170   return 0;
115171 }
115172 _ACEOF
115173 rm -f conftest.$ac_objext conftest$ac_exeext
115174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115175   (eval $ac_link) 2>conftest.er1
115176   ac_status=$?
115177   grep -v '^ *+' conftest.er1 >conftest.err
115178   rm -f conftest.er1
115179   cat conftest.err >&5
115180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115181   (exit $ac_status); } &&
115182          { ac_try='test -z "$ac_c_werror_flag"
115183                          || test ! -s conftest.err'
115184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115185   (eval $ac_try) 2>&5
115186   ac_status=$?
115187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115188   (exit $ac_status); }; } &&
115189          { ac_try='test -s conftest$ac_exeext'
115190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115191   (eval $ac_try) 2>&5
115192   ac_status=$?
115193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115194   (exit $ac_status); }; }; then
115195   eval "$as_ac_var=yes"
115196 else
115197   echo "$as_me: failed program was:" >&5
115198 sed 's/^/| /' conftest.$ac_ext >&5
115199
115200 eval "$as_ac_var=no"
115201 fi
115202 rm -f conftest.err conftest.$ac_objext \
115203       conftest$ac_exeext conftest.$ac_ext
115204 fi
115205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115207 if test `eval echo '${'$as_ac_var'}'` = yes; then
115208   cat >>confdefs.h <<_ACEOF
115209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115210 _ACEOF
115211
115212 else
115213   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
115214 fi
115215 done
115216
115217   fi
115218
115219   # Used in libmath/Makefile.am.
115220   if test -n "$LIBMATHOBJS"; then
115221     need_libmath=yes
115222   fi
115223
115224
115225     cat >>confdefs.h <<\_ACEOF
115226 #define HAVE_COPYSIGN 1
115227 _ACEOF
115228
115229     cat >>confdefs.h <<\_ACEOF
115230 #define HAVE_COPYSIGNF 1
115231 _ACEOF
115232
115233     cat >>confdefs.h <<\_ACEOF
115234 #define HAVE_FINITE 1
115235 _ACEOF
115236
115237     cat >>confdefs.h <<\_ACEOF
115238 #define HAVE_FINITEF 1
115239 _ACEOF
115240
115241     cat >>confdefs.h <<\_ACEOF
115242 #define HAVE_FREXPF 1
115243 _ACEOF
115244
115245     cat >>confdefs.h <<\_ACEOF
115246 #define HAVE_HYPOTF 1
115247 _ACEOF
115248
115249     cat >>confdefs.h <<\_ACEOF
115250 #define HAVE_ISINF 1
115251 _ACEOF
115252
115253     cat >>confdefs.h <<\_ACEOF
115254 #define HAVE_ISINFF 1
115255 _ACEOF
115256
115257     cat >>confdefs.h <<\_ACEOF
115258 #define HAVE_ISNAN 1
115259 _ACEOF
115260
115261     cat >>confdefs.h <<\_ACEOF
115262 #define HAVE_ISNANF 1
115263 _ACEOF
115264
115265     cat >>confdefs.h <<\_ACEOF
115266 #define HAVE_SINCOS 1
115267 _ACEOF
115268
115269     cat >>confdefs.h <<\_ACEOF
115270 #define HAVE_SINCOSF 1
115271 _ACEOF
115272
115273     if test x"long_double_math_on_this_cpu" = x"yes"; then
115274       cat >>confdefs.h <<\_ACEOF
115275 #define HAVE_FINITEL 1
115276 _ACEOF
115277
115278       cat >>confdefs.h <<\_ACEOF
115279 #define HAVE_HYPOTL 1
115280 _ACEOF
115281
115282       cat >>confdefs.h <<\_ACEOF
115283 #define HAVE_ISINFL 1
115284 _ACEOF
115285
115286       cat >>confdefs.h <<\_ACEOF
115287 #define HAVE_ISNANL 1
115288 _ACEOF
115289
115290     fi
115291     ;;
115292   *-vxworks)
115293     cat >>confdefs.h <<\_ACEOF
115294 #define HAVE_MMAP 1
115295 _ACEOF
115296
115297     cat >>confdefs.h <<\_ACEOF
115298 #define HAVE_ACOSF 1
115299 _ACEOF
115300
115301     cat >>confdefs.h <<\_ACEOF
115302 #define HAVE_ASINF 1
115303 _ACEOF
115304
115305     cat >>confdefs.h <<\_ACEOF
115306 #define HAVE_ATAN2F 1
115307 _ACEOF
115308
115309     cat >>confdefs.h <<\_ACEOF
115310 #define HAVE_ATANF 1
115311 _ACEOF
115312
115313     cat >>confdefs.h <<\_ACEOF
115314 #define HAVE_CEILF 1
115315 _ACEOF
115316
115317     cat >>confdefs.h <<\_ACEOF
115318 #define HAVE_COSF 1
115319 _ACEOF
115320
115321     cat >>confdefs.h <<\_ACEOF
115322 #define HAVE_COSHF 1
115323 _ACEOF
115324
115325     cat >>confdefs.h <<\_ACEOF
115326 #define HAVE_EXPF 1
115327 _ACEOF
115328
115329     cat >>confdefs.h <<\_ACEOF
115330 #define HAVE_FABSF 1
115331 _ACEOF
115332
115333     cat >>confdefs.h <<\_ACEOF
115334 #define HAVE_FLOORF 1
115335 _ACEOF
115336
115337     cat >>confdefs.h <<\_ACEOF
115338 #define HAVE_FMODF 1
115339 _ACEOF
115340
115341     cat >>confdefs.h <<\_ACEOF
115342 #define HAVE_HYPOT 1
115343 _ACEOF
115344
115345     cat >>confdefs.h <<\_ACEOF
115346 #define HAVE_LOG10F 1
115347 _ACEOF
115348
115349     cat >>confdefs.h <<\_ACEOF
115350 #define HAVE_LOGF 1
115351 _ACEOF
115352
115353     cat >>confdefs.h <<\_ACEOF
115354 #define HAVE_POWF 1
115355 _ACEOF
115356
115357     cat >>confdefs.h <<\_ACEOF
115358 #define HAVE_SINF 1
115359 _ACEOF
115360
115361     cat >>confdefs.h <<\_ACEOF
115362 #define HAVE_SINHF 1
115363 _ACEOF
115364
115365     cat >>confdefs.h <<\_ACEOF
115366 #define HAVE_SQRTF 1
115367 _ACEOF
115368
115369     cat >>confdefs.h <<\_ACEOF
115370 #define HAVE_TANF 1
115371 _ACEOF
115372
115373     cat >>confdefs.h <<\_ACEOF
115374 #define HAVE_TANHF 1
115375 _ACEOF
115376
115377     ;;
115378   *-windiss*)
115379     cat >>confdefs.h <<\_ACEOF
115380 #define HAVE_ACOSF 1
115381 _ACEOF
115382
115383     cat >>confdefs.h <<\_ACEOF
115384 #define HAVE_ACOSL 1
115385 _ACEOF
115386
115387     cat >>confdefs.h <<\_ACEOF
115388 #define HAVE_ASINF 1
115389 _ACEOF
115390
115391     cat >>confdefs.h <<\_ACEOF
115392 #define HAVE_ASINL 1
115393 _ACEOF
115394
115395     cat >>confdefs.h <<\_ACEOF
115396 #define HAVE_ATAN2F 1
115397 _ACEOF
115398
115399     cat >>confdefs.h <<\_ACEOF
115400 #define HAVE_ATAN2L 1
115401 _ACEOF
115402
115403     cat >>confdefs.h <<\_ACEOF
115404 #define HAVE_ATANF 1
115405 _ACEOF
115406
115407     cat >>confdefs.h <<\_ACEOF
115408 #define HAVE_ATANL 1
115409 _ACEOF
115410
115411     cat >>confdefs.h <<\_ACEOF
115412 #define HAVE_CEILF 1
115413 _ACEOF
115414
115415     cat >>confdefs.h <<\_ACEOF
115416 #define HAVE_CEILL 1
115417 _ACEOF
115418
115419     cat >>confdefs.h <<\_ACEOF
115420 #define HAVE_COPYSIGN 1
115421 _ACEOF
115422
115423     cat >>confdefs.h <<\_ACEOF
115424 #define HAVE_COPYSIGNF 1
115425 _ACEOF
115426
115427     cat >>confdefs.h <<\_ACEOF
115428 #define HAVE_COSF 1
115429 _ACEOF
115430
115431     cat >>confdefs.h <<\_ACEOF
115432 #define HAVE_COSL 1
115433 _ACEOF
115434
115435     cat >>confdefs.h <<\_ACEOF
115436 #define HAVE_COSHF 1
115437 _ACEOF
115438
115439     cat >>confdefs.h <<\_ACEOF
115440 #define HAVE_COSHL 1
115441 _ACEOF
115442
115443     cat >>confdefs.h <<\_ACEOF
115444 #define HAVE_EXPF 1
115445 _ACEOF
115446
115447     cat >>confdefs.h <<\_ACEOF
115448 #define HAVE_EXPL 1
115449 _ACEOF
115450
115451     cat >>confdefs.h <<\_ACEOF
115452 #define HAVE_FABSF 1
115453 _ACEOF
115454
115455     cat >>confdefs.h <<\_ACEOF
115456 #define HAVE_FABSL 1
115457 _ACEOF
115458
115459     cat >>confdefs.h <<\_ACEOF
115460 #define HAVE_FLOORF 1
115461 _ACEOF
115462
115463     cat >>confdefs.h <<\_ACEOF
115464 #define HAVE_FLOORL 1
115465 _ACEOF
115466
115467     cat >>confdefs.h <<\_ACEOF
115468 #define HAVE_FMODF 1
115469 _ACEOF
115470
115471     cat >>confdefs.h <<\_ACEOF
115472 #define HAVE_FMODL 1
115473 _ACEOF
115474
115475     cat >>confdefs.h <<\_ACEOF
115476 #define HAVE_FREXPF 1
115477 _ACEOF
115478
115479     cat >>confdefs.h <<\_ACEOF
115480 #define HAVE_FREXPL 1
115481 _ACEOF
115482
115483     cat >>confdefs.h <<\_ACEOF
115484 #define HAVE_LDEXPF 1
115485 _ACEOF
115486
115487     cat >>confdefs.h <<\_ACEOF
115488 #define HAVE_LDEXPL 1
115489 _ACEOF
115490
115491     cat >>confdefs.h <<\_ACEOF
115492 #define HAVE_LOG10F 1
115493 _ACEOF
115494
115495     cat >>confdefs.h <<\_ACEOF
115496 #define HAVE_LOG10L 1
115497 _ACEOF
115498
115499     cat >>confdefs.h <<\_ACEOF
115500 #define HAVE_LOGF 1
115501 _ACEOF
115502
115503     cat >>confdefs.h <<\_ACEOF
115504 #define HAVE_MODFF 1
115505 _ACEOF
115506
115507     cat >>confdefs.h <<\_ACEOF
115508 #define HAVE_MODFL 1
115509 _ACEOF
115510
115511     cat >>confdefs.h <<\_ACEOF
115512 #define HAVE_POWF 1
115513 _ACEOF
115514
115515     cat >>confdefs.h <<\_ACEOF
115516 #define HAVE_POWL 1
115517 _ACEOF
115518
115519     cat >>confdefs.h <<\_ACEOF
115520 #define HAVE_SINF 1
115521 _ACEOF
115522
115523     cat >>confdefs.h <<\_ACEOF
115524 #define HAVE_SINL 1
115525 _ACEOF
115526
115527     cat >>confdefs.h <<\_ACEOF
115528 #define HAVE_SINHF 1
115529 _ACEOF
115530
115531     cat >>confdefs.h <<\_ACEOF
115532 #define HAVE_SINHL 1
115533 _ACEOF
115534
115535     cat >>confdefs.h <<\_ACEOF
115536 #define HAVE_SQRTF 1
115537 _ACEOF
115538
115539     cat >>confdefs.h <<\_ACEOF
115540 #define HAVE_SQRTL 1
115541 _ACEOF
115542
115543     cat >>confdefs.h <<\_ACEOF
115544 #define HAVE_TANF 1
115545 _ACEOF
115546
115547     cat >>confdefs.h <<\_ACEOF
115548 #define HAVE_TANL 1
115549 _ACEOF
115550
115551     cat >>confdefs.h <<\_ACEOF
115552 #define HAVE_TANHF 1
115553 _ACEOF
115554
115555     cat >>confdefs.h <<\_ACEOF
115556 #define HAVE_TANHL 1
115557 _ACEOF
115558
115559     ;;
115560   *)
115561     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
115562 echo "$as_me: error: No support for this host/target combination." >&2;}
115563    { (exit 1); exit 1; }; }
115564    ;;
115565 esac
115566
115567   fi
115568
115569   # At some point, we should differentiate between architectures
115570   # like x86, which have long double versions, and alpha/powerpc/etc.,
115571   # which don't. For the time being, punt.
115572   if test x"long_double_math_on_this_cpu" = x"yes"; then
115573     cat >>confdefs.h <<\_ACEOF
115574 #define HAVE_ACOSL 1
115575 _ACEOF
115576
115577     cat >>confdefs.h <<\_ACEOF
115578 #define HAVE_ASINL 1
115579 _ACEOF
115580
115581     cat >>confdefs.h <<\_ACEOF
115582 #define HAVE_ATAN2L 1
115583 _ACEOF
115584
115585     cat >>confdefs.h <<\_ACEOF
115586 #define HAVE_ATANL 1
115587 _ACEOF
115588
115589     cat >>confdefs.h <<\_ACEOF
115590 #define HAVE_CEILL 1
115591 _ACEOF
115592
115593     cat >>confdefs.h <<\_ACEOF
115594 #define HAVE_COPYSIGNL 1
115595 _ACEOF
115596
115597     cat >>confdefs.h <<\_ACEOF
115598 #define HAVE_COSL 1
115599 _ACEOF
115600
115601     cat >>confdefs.h <<\_ACEOF
115602 #define HAVE_COSHL 1
115603 _ACEOF
115604
115605     cat >>confdefs.h <<\_ACEOF
115606 #define HAVE_EXPL 1
115607 _ACEOF
115608
115609     cat >>confdefs.h <<\_ACEOF
115610 #define HAVE_FABSL 1
115611 _ACEOF
115612
115613     cat >>confdefs.h <<\_ACEOF
115614 #define HAVE_FLOORL 1
115615 _ACEOF
115616
115617     cat >>confdefs.h <<\_ACEOF
115618 #define HAVE_FMODL 1
115619 _ACEOF
115620
115621     cat >>confdefs.h <<\_ACEOF
115622 #define HAVE_FREXPL 1
115623 _ACEOF
115624
115625     cat >>confdefs.h <<\_ACEOF
115626 #define HAVE_LDEXPL 1
115627 _ACEOF
115628
115629     cat >>confdefs.h <<\_ACEOF
115630 #define HAVE_LOG10L 1
115631 _ACEOF
115632
115633     cat >>confdefs.h <<\_ACEOF
115634 #define HAVE_LOGL 1
115635 _ACEOF
115636
115637     cat >>confdefs.h <<\_ACEOF
115638 #define HAVE_MODFL 1
115639 _ACEOF
115640
115641     cat >>confdefs.h <<\_ACEOF
115642 #define HAVE_POWL 1
115643 _ACEOF
115644
115645     cat >>confdefs.h <<\_ACEOF
115646 #define HAVE_SINCOSL 1
115647 _ACEOF
115648
115649     cat >>confdefs.h <<\_ACEOF
115650 #define HAVE_SINL 1
115651 _ACEOF
115652
115653     cat >>confdefs.h <<\_ACEOF
115654 #define HAVE_SINHL 1
115655 _ACEOF
115656
115657     cat >>confdefs.h <<\_ACEOF
115658 #define HAVE_SQRTL 1
115659 _ACEOF
115660
115661     cat >>confdefs.h <<\_ACEOF
115662 #define HAVE_TANL 1
115663 _ACEOF
115664
115665     cat >>confdefs.h <<\_ACEOF
115666 #define HAVE_TANHL 1
115667 _ACEOF
115668
115669   fi
115670
115671   # Assume we have _Unwind_GetIPInfo for cross-compiles.
115672   cat >>confdefs.h <<\_ACEOF
115673 #define HAVE_GETIPINFO 1
115674 _ACEOF
115675
115676 fi
115677
115678  # Check whether --enable-linux-futex or --disable-linux-futex was given.
115679 if test "${enable_linux_futex+set}" = set; then
115680   enableval="$enable_linux_futex"
115681
115682       case "$enableval" in
115683        yes|no|default) ;;
115684        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
115685 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
115686    { (exit 1); exit 1; }; } ;;
115687                           esac
115688
115689 else
115690   enable_linux_futex=default
115691 fi;
115692
115693 case "$target" in
115694   *-linux*)
115695     case "$enable_linux_futex" in
115696       default)
115697         # If headers don't have gettid/futex syscalls definition, then
115698         # default to no, otherwise there will be compile time failures.
115699         # Otherwise, default to yes.  If we don't detect we are
115700         # compiled/linked against NPTL and not cross-compiling, check
115701         # if programs are run by default against NPTL and if not, issue
115702         # a warning.
115703         enable_linux_futex=no
115704         if test x$gcc_no_link = xyes; then
115705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115707    { (exit 1); exit 1; }; }
115708 fi
115709 cat >conftest.$ac_ext <<_ACEOF
115710 /* confdefs.h.  */
115711 _ACEOF
115712 cat confdefs.h >>conftest.$ac_ext
115713 cat >>conftest.$ac_ext <<_ACEOF
115714 /* end confdefs.h.  */
115715 #include <sys/syscall.h>
115716            int lk;
115717 int
115718 main ()
115719 {
115720 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115721   ;
115722   return 0;
115723 }
115724 _ACEOF
115725 rm -f conftest.$ac_objext conftest$ac_exeext
115726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115727   (eval $ac_link) 2>conftest.er1
115728   ac_status=$?
115729   grep -v '^ *+' conftest.er1 >conftest.err
115730   rm -f conftest.er1
115731   cat conftest.err >&5
115732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115733   (exit $ac_status); } &&
115734          { ac_try='test -z "$ac_c_werror_flag"
115735                          || test ! -s conftest.err'
115736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115737   (eval $ac_try) 2>&5
115738   ac_status=$?
115739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115740   (exit $ac_status); }; } &&
115741          { ac_try='test -s conftest$ac_exeext'
115742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115743   (eval $ac_try) 2>&5
115744   ac_status=$?
115745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115746   (exit $ac_status); }; }; then
115747   save_LIBS="$LIBS"
115748            LIBS="-lpthread $LIBS"
115749            if test x$gcc_no_link = xyes; then
115750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115752    { (exit 1); exit 1; }; }
115753 fi
115754 cat >conftest.$ac_ext <<_ACEOF
115755 /* confdefs.h.  */
115756 _ACEOF
115757 cat confdefs.h >>conftest.$ac_ext
115758 cat >>conftest.$ac_ext <<_ACEOF
115759 /* end confdefs.h.  */
115760 #ifndef _GNU_SOURCE
115761              #define _GNU_SOURCE 1
115762              #endif
115763              #include <pthread.h>
115764              pthread_t th; void *status;
115765 int
115766 main ()
115767 {
115768 pthread_tryjoin_np (th, &status);
115769   ;
115770   return 0;
115771 }
115772 _ACEOF
115773 rm -f conftest.$ac_objext conftest$ac_exeext
115774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115775   (eval $ac_link) 2>conftest.er1
115776   ac_status=$?
115777   grep -v '^ *+' conftest.er1 >conftest.err
115778   rm -f conftest.er1
115779   cat conftest.err >&5
115780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115781   (exit $ac_status); } &&
115782          { ac_try='test -z "$ac_c_werror_flag"
115783                          || test ! -s conftest.err'
115784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115785   (eval $ac_try) 2>&5
115786   ac_status=$?
115787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115788   (exit $ac_status); }; } &&
115789          { ac_try='test -s conftest$ac_exeext'
115790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115791   (eval $ac_try) 2>&5
115792   ac_status=$?
115793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115794   (exit $ac_status); }; }; then
115795   enable_linux_futex=yes
115796 else
115797   echo "$as_me: failed program was:" >&5
115798 sed 's/^/| /' conftest.$ac_ext >&5
115799
115800 if test x$cross_compiling = xno; then
115801                if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
115802                   | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
115803                  { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
115804 If so, please configure with --disable-linux-futex" >&5
115805 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
115806 If so, please configure with --disable-linux-futex" >&2;}
115807                fi
115808              fi
115809              enable_linux_futex=yes
115810 fi
115811 rm -f conftest.err conftest.$ac_objext \
115812       conftest$ac_exeext conftest.$ac_ext
115813            LIBS="$save_LIBS"
115814 else
115815   echo "$as_me: failed program was:" >&5
115816 sed 's/^/| /' conftest.$ac_ext >&5
115817
115818 fi
115819 rm -f conftest.err conftest.$ac_objext \
115820       conftest$ac_exeext conftest.$ac_ext
115821         ;;
115822       yes)
115823         if test x$gcc_no_link = xyes; then
115824   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115826    { (exit 1); exit 1; }; }
115827 fi
115828 cat >conftest.$ac_ext <<_ACEOF
115829 /* confdefs.h.  */
115830 _ACEOF
115831 cat confdefs.h >>conftest.$ac_ext
115832 cat >>conftest.$ac_ext <<_ACEOF
115833 /* end confdefs.h.  */
115834 #include <sys/syscall.h>
115835            int lk;
115836 int
115837 main ()
115838 {
115839 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
115840   ;
115841   return 0;
115842 }
115843 _ACEOF
115844 rm -f conftest.$ac_objext conftest$ac_exeext
115845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115846   (eval $ac_link) 2>conftest.er1
115847   ac_status=$?
115848   grep -v '^ *+' conftest.er1 >conftest.err
115849   rm -f conftest.er1
115850   cat conftest.err >&5
115851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115852   (exit $ac_status); } &&
115853          { ac_try='test -z "$ac_c_werror_flag"
115854                          || test ! -s conftest.err'
115855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115856   (eval $ac_try) 2>&5
115857   ac_status=$?
115858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115859   (exit $ac_status); }; } &&
115860          { ac_try='test -s conftest$ac_exeext'
115861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115862   (eval $ac_try) 2>&5
115863   ac_status=$?
115864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115865   (exit $ac_status); }; }; then
115866   :
115867 else
115868   echo "$as_me: failed program was:" >&5
115869 sed 's/^/| /' conftest.$ac_ext >&5
115870
115871 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
115872 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
115873    { (exit 1); exit 1; }; }
115874 fi
115875 rm -f conftest.err conftest.$ac_objext \
115876       conftest$ac_exeext conftest.$ac_ext
115877         ;;
115878     esac
115879     ;;
115880   *)
115881     enable_linux_futex=no
115882     ;;
115883 esac
115884 if test x$enable_linux_futex = xyes; then
115885
115886 cat >>confdefs.h <<\_ACEOF
115887 #define HAVE_LINUX_FUTEX 1
115888 _ACEOF
115889
115890 fi
115891
115892
115893 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
115894
115895
115896  # Check whether --enable-symvers or --disable-symvers was given.
115897 if test "${enable_symvers+set}" = set; then
115898   enableval="$enable_symvers"
115899
115900       case "$enableval" in
115901        yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
115902        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
115903 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
115904    { (exit 1); exit 1; }; } ;;
115905                           esac
115906
115907 else
115908   enable_symvers=yes
115909 fi;
115910
115911
115912 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
115913 # don't know enough about $LD to do tricks...
115914
115915
115916 # Turn a 'yes' into a suitable default.
115917 if test x$enable_symvers = xyes ; then
115918   if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
115919     enable_symvers=no
115920   else
115921     if test $with_gnu_ld = yes ; then
115922       enable_symvers=gnu
115923     else
115924       case ${target_os} in
115925         darwin*)
115926           enable_symvers=darwin ;;
115927         *)
115928           enable_symvers=no ;;
115929       esac
115930     fi
115931   fi
115932 fi
115933
115934 # Check to see if 'darwin' or 'darwin-export' can win.
115935 if test x$enable_symvers = xdarwin-export ; then
115936     enable_symvers=darwin
115937 fi
115938
115939 # Check to see if 'gnu' can win.
115940 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
115941   # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
115942   echo "$as_me:$LINENO: checking for shared libgcc" >&5
115943 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
115944   ac_save_CFLAGS="$CFLAGS"
115945   CFLAGS=' -lgcc_s'
115946   if test x$gcc_no_link = xyes; then
115947   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115949    { (exit 1); exit 1; }; }
115950 fi
115951 cat >conftest.$ac_ext <<_ACEOF
115952 /* confdefs.h.  */
115953 _ACEOF
115954 cat confdefs.h >>conftest.$ac_ext
115955 cat >>conftest.$ac_ext <<_ACEOF
115956 /* end confdefs.h.  */
115957
115958 int
115959 main ()
115960 {
115961 return 0;
115962   ;
115963   return 0;
115964 }
115965 _ACEOF
115966 rm -f conftest.$ac_objext conftest$ac_exeext
115967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115968   (eval $ac_link) 2>conftest.er1
115969   ac_status=$?
115970   grep -v '^ *+' conftest.er1 >conftest.err
115971   rm -f conftest.er1
115972   cat conftest.err >&5
115973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115974   (exit $ac_status); } &&
115975          { ac_try='test -z "$ac_c_werror_flag"
115976                          || test ! -s conftest.err'
115977   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115978   (eval $ac_try) 2>&5
115979   ac_status=$?
115980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115981   (exit $ac_status); }; } &&
115982          { ac_try='test -s conftest$ac_exeext'
115983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115984   (eval $ac_try) 2>&5
115985   ac_status=$?
115986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
115987   (exit $ac_status); }; }; then
115988   glibcxx_shared_libgcc=yes
115989 else
115990   echo "$as_me: failed program was:" >&5
115991 sed 's/^/| /' conftest.$ac_ext >&5
115992
115993 glibcxx_shared_libgcc=no
115994 fi
115995 rm -f conftest.err conftest.$ac_objext \
115996       conftest$ac_exeext conftest.$ac_ext
115997   CFLAGS="$ac_save_CFLAGS"
115998   if test $glibcxx_shared_libgcc = no; then
115999     cat > conftest.c <<EOF
116000 int main (void) { return 0; }
116001 EOF
116002     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
116003                              -shared -shared-libgcc -o conftest.so \
116004                              conftest.c -v 2>&1 >/dev/null \
116005                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
116006     rm -f conftest.c conftest.so
116007     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
116008       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
116009       if test x$gcc_no_link = xyes; then
116010   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116012    { (exit 1); exit 1; }; }
116013 fi
116014 cat >conftest.$ac_ext <<_ACEOF
116015 /* confdefs.h.  */
116016 _ACEOF
116017 cat confdefs.h >>conftest.$ac_ext
116018 cat >>conftest.$ac_ext <<_ACEOF
116019 /* end confdefs.h.  */
116020
116021 int
116022 main ()
116023 {
116024 return 0;
116025   ;
116026   return 0;
116027 }
116028 _ACEOF
116029 rm -f conftest.$ac_objext conftest$ac_exeext
116030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116031   (eval $ac_link) 2>conftest.er1
116032   ac_status=$?
116033   grep -v '^ *+' conftest.er1 >conftest.err
116034   rm -f conftest.er1
116035   cat conftest.err >&5
116036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116037   (exit $ac_status); } &&
116038          { ac_try='test -z "$ac_c_werror_flag"
116039                          || test ! -s conftest.err'
116040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116041   (eval $ac_try) 2>&5
116042   ac_status=$?
116043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116044   (exit $ac_status); }; } &&
116045          { ac_try='test -s conftest$ac_exeext'
116046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116047   (eval $ac_try) 2>&5
116048   ac_status=$?
116049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116050   (exit $ac_status); }; }; then
116051   glibcxx_shared_libgcc=yes
116052 else
116053   echo "$as_me: failed program was:" >&5
116054 sed 's/^/| /' conftest.$ac_ext >&5
116055
116056 fi
116057 rm -f conftest.err conftest.$ac_objext \
116058       conftest$ac_exeext conftest.$ac_ext
116059       CFLAGS="$ac_save_CFLAGS"
116060     fi
116061   fi
116062   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
116063 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
116064
116065   # For GNU ld, we need at least this version.  The format is described in
116066   # GLIBCXX_CHECK_LINKER_FEATURES above.
116067   glibcxx_min_gnu_ld_version=21400
116068
116069   # If no shared libgcc, can't win.
116070   if test $glibcxx_shared_libgcc != yes; then
116071       { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
116072 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
116073       { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
116074 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
116075       { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
116076 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
116077       enable_symvers=no
116078   elif test $with_gnu_ld != yes ; then
116079     # just fail for now
116080     { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
116081 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
116082     { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
116083 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
116084     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
116085 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
116086     enable_symvers=no
116087   elif test $glibcxx_ld_is_gold = yes ; then
116088     : All versions of gold support symbol versioning.
116089   elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
116090     # The right tools, the right setup, but too old.  Fallbacks?
116091     { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
116092 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
116093     { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
116094 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
116095     { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
116096 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
116097     { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
116098 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
116099     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
116100 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
116101     enable_symvers=no
116102   fi
116103 fi
116104
116105 # Everything parsed; figure out what file to use.
116106 case $enable_symvers in
116107   no)
116108     SYMVER_FILE=config/abi/pre/none.ver
116109     ;;
116110   gnu)
116111     SYMVER_FILE=config/abi/pre/gnu.ver
116112
116113 cat >>confdefs.h <<\_ACEOF
116114 #define _GLIBCXX_SYMVER_GNU 1
116115 _ACEOF
116116
116117     ;;
116118   gnu-versioned-namespace)
116119     SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
116120
116121 cat >>confdefs.h <<\_ACEOF
116122 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
116123 _ACEOF
116124
116125     ;;
116126   darwin)
116127     SYMVER_FILE=config/abi/pre/gnu.ver
116128
116129 cat >>confdefs.h <<\_ACEOF
116130 #define _GLIBCXX_SYMVER_DARWIN 1
116131 _ACEOF
116132
116133     ;;
116134 esac
116135
116136 if test x$enable_symvers != xno ; then
116137
116138 cat >>confdefs.h <<\_ACEOF
116139 #define _GLIBCXX_SYMVER 1
116140 _ACEOF
116141
116142 fi
116143
116144
116145
116146
116147
116148
116149
116150 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
116151 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
116152
116153 # Now, set up compatibility support, if any.
116154 # In addition, need this to deal with std::size_t mangling in
116155 # src/compatibility.cc.  In a perfect world, could use
116156 # typeid(std::size_t).name()[0] to do direct substitution.
116157 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
116158 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
116159 ac_save_CFLAGS="$CFLAGS"
116160 CFLAGS="-Werror"
116161 cat >conftest.$ac_ext <<_ACEOF
116162 /* confdefs.h.  */
116163 _ACEOF
116164 cat confdefs.h >>conftest.$ac_ext
116165 cat >>conftest.$ac_ext <<_ACEOF
116166 /* end confdefs.h.  */
116167
116168 int
116169 main ()
116170 {
116171 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
116172   ;
116173   return 0;
116174 }
116175 _ACEOF
116176 rm -f conftest.$ac_objext
116177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116178   (eval $ac_compile) 2>conftest.er1
116179   ac_status=$?
116180   grep -v '^ *+' conftest.er1 >conftest.err
116181   rm -f conftest.er1
116182   cat conftest.err >&5
116183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116184   (exit $ac_status); } &&
116185          { ac_try='test -z "$ac_c_werror_flag"
116186                          || test ! -s conftest.err'
116187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116188   (eval $ac_try) 2>&5
116189   ac_status=$?
116190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116191   (exit $ac_status); }; } &&
116192          { ac_try='test -s conftest.$ac_objext'
116193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116194   (eval $ac_try) 2>&5
116195   ac_status=$?
116196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116197   (exit $ac_status); }; }; then
116198   glibcxx_size_t_is_i=yes
116199 else
116200   echo "$as_me: failed program was:" >&5
116201 sed 's/^/| /' conftest.$ac_ext >&5
116202
116203 glibcxx_size_t_is_i=no
116204 fi
116205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116206 CFLAGS=$ac_save_CFLAGS
116207 if test "$glibcxx_size_t_is_i" = yes; then
116208
116209 cat >>confdefs.h <<\_ACEOF
116210 #define _GLIBCXX_SIZE_T_IS_UINT 1
116211 _ACEOF
116212
116213 fi
116214 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
116215 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
116216
116217 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
116218 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
116219 ac_save_CFLAGS="$CFLAGS"
116220 CFLAGS="-Werror"
116221 cat >conftest.$ac_ext <<_ACEOF
116222 /* confdefs.h.  */
116223 _ACEOF
116224 cat confdefs.h >>conftest.$ac_ext
116225 cat >>conftest.$ac_ext <<_ACEOF
116226 /* end confdefs.h.  */
116227
116228 int
116229 main ()
116230 {
116231 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
116232   ;
116233   return 0;
116234 }
116235 _ACEOF
116236 rm -f conftest.$ac_objext
116237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116238   (eval $ac_compile) 2>conftest.er1
116239   ac_status=$?
116240   grep -v '^ *+' conftest.er1 >conftest.err
116241   rm -f conftest.er1
116242   cat conftest.err >&5
116243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116244   (exit $ac_status); } &&
116245          { ac_try='test -z "$ac_c_werror_flag"
116246                          || test ! -s conftest.err'
116247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116248   (eval $ac_try) 2>&5
116249   ac_status=$?
116250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116251   (exit $ac_status); }; } &&
116252          { ac_try='test -s conftest.$ac_objext'
116253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116254   (eval $ac_try) 2>&5
116255   ac_status=$?
116256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116257   (exit $ac_status); }; }; then
116258   glibcxx_ptrdiff_t_is_i=yes
116259 else
116260   echo "$as_me: failed program was:" >&5
116261 sed 's/^/| /' conftest.$ac_ext >&5
116262
116263 glibcxx_ptrdiff_t_is_i=no
116264 fi
116265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116266 CFLAGS=$ac_save_CFLAGS
116267 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
116268
116269 cat >>confdefs.h <<\_ACEOF
116270 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
116271 _ACEOF
116272
116273 fi
116274 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
116275 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
116276
116277
116278  # Check whether --enable-visibility or --disable-visibility was given.
116279 if test "${enable_visibility+set}" = set; then
116280   enableval="$enable_visibility"
116281
116282       case "$enableval" in
116283        yes|no) ;;
116284        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
116285 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
116286    { (exit 1); exit 1; }; } ;;
116287       esac
116288
116289 else
116290   enable_visibility=yes
116291 fi;
116292
116293
116294 if test x$enable_visibility = xyes ; then
116295       echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
116296 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
116297 if test "${have_attribute_visibility+set}" = set; then
116298   echo $ECHO_N "(cached) $ECHO_C" >&6
116299 else
116300
116301   save_CFLAGS="$CFLAGS"
116302   CFLAGS="$CFLAGS -Werror"
116303   cat >conftest.$ac_ext <<_ACEOF
116304 /* confdefs.h.  */
116305 _ACEOF
116306 cat confdefs.h >>conftest.$ac_ext
116307 cat >>conftest.$ac_ext <<_ACEOF
116308 /* end confdefs.h.  */
116309 void __attribute__((visibility("hidden"))) foo(void) { }
116310 int
116311 main ()
116312 {
116313
116314   ;
116315   return 0;
116316 }
116317 _ACEOF
116318 rm -f conftest.$ac_objext
116319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116320   (eval $ac_compile) 2>conftest.er1
116321   ac_status=$?
116322   grep -v '^ *+' conftest.er1 >conftest.err
116323   rm -f conftest.er1
116324   cat conftest.err >&5
116325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116326   (exit $ac_status); } &&
116327          { ac_try='test -z "$ac_c_werror_flag"
116328                          || test ! -s conftest.err'
116329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116330   (eval $ac_try) 2>&5
116331   ac_status=$?
116332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116333   (exit $ac_status); }; } &&
116334          { ac_try='test -s conftest.$ac_objext'
116335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116336   (eval $ac_try) 2>&5
116337   ac_status=$?
116338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116339   (exit $ac_status); }; }; then
116340   have_attribute_visibility=yes
116341 else
116342   echo "$as_me: failed program was:" >&5
116343 sed 's/^/| /' conftest.$ac_ext >&5
116344
116345 have_attribute_visibility=no
116346 fi
116347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116348   CFLAGS="$save_CFLAGS"
116349 fi
116350 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
116351 echo "${ECHO_T}$have_attribute_visibility" >&6
116352   if test $have_attribute_visibility = no; then
116353     enable_visibility=no
116354   fi
116355 fi
116356
116357
116358 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
116359 echo "$as_me: visibility supported: $enable_visibility" >&6;}
116360
116361
116362 ac_ldbl_compat=no
116363 case "$target" in
116364   powerpc*-*-linux* | \
116365   powerpc*-*-gnu* | \
116366   sparc*-*-linux* | \
116367   s390*-*-linux* | \
116368   alpha*-*-linux*)
116369   cat >conftest.$ac_ext <<_ACEOF
116370 /* confdefs.h.  */
116371 _ACEOF
116372 cat confdefs.h >>conftest.$ac_ext
116373 cat >>conftest.$ac_ext <<_ACEOF
116374 /* end confdefs.h.  */
116375
116376 int
116377 main ()
116378 {
116379
116380 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
116381 #error no need for long double compatibility
116382 #endif
116383
116384   ;
116385   return 0;
116386 }
116387 _ACEOF
116388 rm -f conftest.$ac_objext
116389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116390   (eval $ac_compile) 2>conftest.er1
116391   ac_status=$?
116392   grep -v '^ *+' conftest.er1 >conftest.err
116393   rm -f conftest.er1
116394   cat conftest.err >&5
116395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116396   (exit $ac_status); } &&
116397          { ac_try='test -z "$ac_c_werror_flag"
116398                          || test ! -s conftest.err'
116399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116400   (eval $ac_try) 2>&5
116401   ac_status=$?
116402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116403   (exit $ac_status); }; } &&
116404          { ac_try='test -s conftest.$ac_objext'
116405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116406   (eval $ac_try) 2>&5
116407   ac_status=$?
116408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116409   (exit $ac_status); }; }; then
116410   ac_ldbl_compat=yes
116411 else
116412   echo "$as_me: failed program was:" >&5
116413 sed 's/^/| /' conftest.$ac_ext >&5
116414
116415 ac_ldbl_compat=no
116416 fi
116417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116418   if test "$ac_ldbl_compat" = yes; then
116419
116420 cat >>confdefs.h <<\_ACEOF
116421 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
116422 _ACEOF
116423
116424     port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
116425   fi
116426 esac
116427
116428
116429 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
116430
116431   if $GLIBCXX_IS_NATIVE ; then
116432     # Do checks for resource limit functions.
116433
116434   setrlimit_have_headers=yes
116435
116436
116437
116438 for ac_header in unistd.h sys/time.h sys/resource.h
116439 do
116440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
116441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
116442   echo "$as_me:$LINENO: checking for $ac_header" >&5
116443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
116444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
116445   echo $ECHO_N "(cached) $ECHO_C" >&6
116446 fi
116447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
116448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
116449 else
116450   # Is the header compilable?
116451 echo "$as_me:$LINENO: checking $ac_header usability" >&5
116452 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
116453 cat >conftest.$ac_ext <<_ACEOF
116454 /* confdefs.h.  */
116455 _ACEOF
116456 cat confdefs.h >>conftest.$ac_ext
116457 cat >>conftest.$ac_ext <<_ACEOF
116458 /* end confdefs.h.  */
116459 $ac_includes_default
116460 #include <$ac_header>
116461 _ACEOF
116462 rm -f conftest.$ac_objext
116463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116464   (eval $ac_compile) 2>conftest.er1
116465   ac_status=$?
116466   grep -v '^ *+' conftest.er1 >conftest.err
116467   rm -f conftest.er1
116468   cat conftest.err >&5
116469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116470   (exit $ac_status); } &&
116471          { ac_try='test -z "$ac_c_werror_flag"
116472                          || test ! -s conftest.err'
116473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116474   (eval $ac_try) 2>&5
116475   ac_status=$?
116476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116477   (exit $ac_status); }; } &&
116478          { ac_try='test -s conftest.$ac_objext'
116479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116480   (eval $ac_try) 2>&5
116481   ac_status=$?
116482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116483   (exit $ac_status); }; }; then
116484   ac_header_compiler=yes
116485 else
116486   echo "$as_me: failed program was:" >&5
116487 sed 's/^/| /' conftest.$ac_ext >&5
116488
116489 ac_header_compiler=no
116490 fi
116491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
116493 echo "${ECHO_T}$ac_header_compiler" >&6
116494
116495 # Is the header present?
116496 echo "$as_me:$LINENO: checking $ac_header presence" >&5
116497 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
116498 cat >conftest.$ac_ext <<_ACEOF
116499 /* confdefs.h.  */
116500 _ACEOF
116501 cat confdefs.h >>conftest.$ac_ext
116502 cat >>conftest.$ac_ext <<_ACEOF
116503 /* end confdefs.h.  */
116504 #include <$ac_header>
116505 _ACEOF
116506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
116507   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
116508   ac_status=$?
116509   grep -v '^ *+' conftest.er1 >conftest.err
116510   rm -f conftest.er1
116511   cat conftest.err >&5
116512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116513   (exit $ac_status); } >/dev/null; then
116514   if test -s conftest.err; then
116515     ac_cpp_err=$ac_c_preproc_warn_flag
116516     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
116517   else
116518     ac_cpp_err=
116519   fi
116520 else
116521   ac_cpp_err=yes
116522 fi
116523 if test -z "$ac_cpp_err"; then
116524   ac_header_preproc=yes
116525 else
116526   echo "$as_me: failed program was:" >&5
116527 sed 's/^/| /' conftest.$ac_ext >&5
116528
116529   ac_header_preproc=no
116530 fi
116531 rm -f conftest.err conftest.$ac_ext
116532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
116533 echo "${ECHO_T}$ac_header_preproc" >&6
116534
116535 # So?  What about this header?
116536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
116537   yes:no: )
116538     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
116539 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
116540     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
116541 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
116542     ac_header_preproc=yes
116543     ;;
116544   no:yes:* )
116545     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
116546 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
116547     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
116548 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
116549     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
116550 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
116551     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
116552 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
116553     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
116554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
116555     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
116556 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
116557     (
116558       cat <<\_ASBOX
116559 ## ----------------------------------------- ##
116560 ## Report this to the package-unused lists.  ##
116561 ## ----------------------------------------- ##
116562 _ASBOX
116563     ) |
116564       sed "s/^/$as_me: WARNING:     /" >&2
116565     ;;
116566 esac
116567 echo "$as_me:$LINENO: checking for $ac_header" >&5
116568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
116569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
116570   echo $ECHO_N "(cached) $ECHO_C" >&6
116571 else
116572   eval "$as_ac_Header=\$ac_header_preproc"
116573 fi
116574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
116575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
116576
116577 fi
116578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
116579   cat >>confdefs.h <<_ACEOF
116580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
116581 _ACEOF
116582
116583 else
116584   setrlimit_have_headers=no
116585 fi
116586
116587 done
116588
116589   # If don't have the headers, then we can't run the tests now, and we
116590   # won't be seeing any of these during testsuite compilation.
116591   if test $setrlimit_have_headers = yes; then
116592     # Can't do these in a loop, else the resulting syntax is wrong.
116593
116594   echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
116595 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
116596   cat >conftest.$ac_ext <<_ACEOF
116597 /* confdefs.h.  */
116598 _ACEOF
116599 cat confdefs.h >>conftest.$ac_ext
116600 cat >>conftest.$ac_ext <<_ACEOF
116601 /* end confdefs.h.  */
116602 #include <unistd.h>
116603      #include <sys/time.h>
116604      #include <sys/resource.h>
116605
116606 int
116607 main ()
116608 {
116609  int f = RLIMIT_DATA ;
116610   ;
116611   return 0;
116612 }
116613 _ACEOF
116614 rm -f conftest.$ac_objext
116615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116616   (eval $ac_compile) 2>conftest.er1
116617   ac_status=$?
116618   grep -v '^ *+' conftest.er1 >conftest.err
116619   rm -f conftest.er1
116620   cat conftest.err >&5
116621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116622   (exit $ac_status); } &&
116623          { ac_try='test -z "$ac_c_werror_flag"
116624                          || test ! -s conftest.err'
116625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116626   (eval $ac_try) 2>&5
116627   ac_status=$?
116628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116629   (exit $ac_status); }; } &&
116630          { ac_try='test -s conftest.$ac_objext'
116631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116632   (eval $ac_try) 2>&5
116633   ac_status=$?
116634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116635   (exit $ac_status); }; }; then
116636   glibcxx_mresult=1
116637 else
116638   echo "$as_me: failed program was:" >&5
116639 sed 's/^/| /' conftest.$ac_ext >&5
116640
116641 glibcxx_mresult=0
116642 fi
116643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116644
116645 cat >>confdefs.h <<_ACEOF
116646 #define HAVE_LIMIT_DATA $glibcxx_mresult
116647 _ACEOF
116648
116649   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116650   echo "$as_me:$LINENO: result: $res" >&5
116651 echo "${ECHO_T}$res" >&6
116652
116653
116654   echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
116655 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
116656   cat >conftest.$ac_ext <<_ACEOF
116657 /* confdefs.h.  */
116658 _ACEOF
116659 cat confdefs.h >>conftest.$ac_ext
116660 cat >>conftest.$ac_ext <<_ACEOF
116661 /* end confdefs.h.  */
116662 #include <unistd.h>
116663      #include <sys/time.h>
116664      #include <sys/resource.h>
116665
116666 int
116667 main ()
116668 {
116669  int f = RLIMIT_RSS ;
116670   ;
116671   return 0;
116672 }
116673 _ACEOF
116674 rm -f conftest.$ac_objext
116675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116676   (eval $ac_compile) 2>conftest.er1
116677   ac_status=$?
116678   grep -v '^ *+' conftest.er1 >conftest.err
116679   rm -f conftest.er1
116680   cat conftest.err >&5
116681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116682   (exit $ac_status); } &&
116683          { ac_try='test -z "$ac_c_werror_flag"
116684                          || test ! -s conftest.err'
116685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116686   (eval $ac_try) 2>&5
116687   ac_status=$?
116688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116689   (exit $ac_status); }; } &&
116690          { ac_try='test -s conftest.$ac_objext'
116691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116692   (eval $ac_try) 2>&5
116693   ac_status=$?
116694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116695   (exit $ac_status); }; }; then
116696   glibcxx_mresult=1
116697 else
116698   echo "$as_me: failed program was:" >&5
116699 sed 's/^/| /' conftest.$ac_ext >&5
116700
116701 glibcxx_mresult=0
116702 fi
116703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116704
116705 cat >>confdefs.h <<_ACEOF
116706 #define HAVE_LIMIT_RSS $glibcxx_mresult
116707 _ACEOF
116708
116709   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116710   echo "$as_me:$LINENO: result: $res" >&5
116711 echo "${ECHO_T}$res" >&6
116712
116713
116714   echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
116715 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
116716   cat >conftest.$ac_ext <<_ACEOF
116717 /* confdefs.h.  */
116718 _ACEOF
116719 cat confdefs.h >>conftest.$ac_ext
116720 cat >>conftest.$ac_ext <<_ACEOF
116721 /* end confdefs.h.  */
116722 #include <unistd.h>
116723      #include <sys/time.h>
116724      #include <sys/resource.h>
116725
116726 int
116727 main ()
116728 {
116729  int f = RLIMIT_VMEM ;
116730   ;
116731   return 0;
116732 }
116733 _ACEOF
116734 rm -f conftest.$ac_objext
116735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116736   (eval $ac_compile) 2>conftest.er1
116737   ac_status=$?
116738   grep -v '^ *+' conftest.er1 >conftest.err
116739   rm -f conftest.er1
116740   cat conftest.err >&5
116741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116742   (exit $ac_status); } &&
116743          { ac_try='test -z "$ac_c_werror_flag"
116744                          || test ! -s conftest.err'
116745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116746   (eval $ac_try) 2>&5
116747   ac_status=$?
116748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116749   (exit $ac_status); }; } &&
116750          { ac_try='test -s conftest.$ac_objext'
116751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116752   (eval $ac_try) 2>&5
116753   ac_status=$?
116754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116755   (exit $ac_status); }; }; then
116756   glibcxx_mresult=1
116757 else
116758   echo "$as_me: failed program was:" >&5
116759 sed 's/^/| /' conftest.$ac_ext >&5
116760
116761 glibcxx_mresult=0
116762 fi
116763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116764
116765 cat >>confdefs.h <<_ACEOF
116766 #define HAVE_LIMIT_VMEM $glibcxx_mresult
116767 _ACEOF
116768
116769   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116770   echo "$as_me:$LINENO: result: $res" >&5
116771 echo "${ECHO_T}$res" >&6
116772
116773
116774   echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
116775 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
116776   cat >conftest.$ac_ext <<_ACEOF
116777 /* confdefs.h.  */
116778 _ACEOF
116779 cat confdefs.h >>conftest.$ac_ext
116780 cat >>conftest.$ac_ext <<_ACEOF
116781 /* end confdefs.h.  */
116782 #include <unistd.h>
116783      #include <sys/time.h>
116784      #include <sys/resource.h>
116785
116786 int
116787 main ()
116788 {
116789  int f = RLIMIT_AS ;
116790   ;
116791   return 0;
116792 }
116793 _ACEOF
116794 rm -f conftest.$ac_objext
116795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116796   (eval $ac_compile) 2>conftest.er1
116797   ac_status=$?
116798   grep -v '^ *+' conftest.er1 >conftest.err
116799   rm -f conftest.er1
116800   cat conftest.err >&5
116801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116802   (exit $ac_status); } &&
116803          { ac_try='test -z "$ac_c_werror_flag"
116804                          || test ! -s conftest.err'
116805   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116806   (eval $ac_try) 2>&5
116807   ac_status=$?
116808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116809   (exit $ac_status); }; } &&
116810          { ac_try='test -s conftest.$ac_objext'
116811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116812   (eval $ac_try) 2>&5
116813   ac_status=$?
116814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116815   (exit $ac_status); }; }; then
116816   glibcxx_mresult=1
116817 else
116818   echo "$as_me: failed program was:" >&5
116819 sed 's/^/| /' conftest.$ac_ext >&5
116820
116821 glibcxx_mresult=0
116822 fi
116823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116824
116825 cat >>confdefs.h <<_ACEOF
116826 #define HAVE_LIMIT_AS $glibcxx_mresult
116827 _ACEOF
116828
116829   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116830   echo "$as_me:$LINENO: result: $res" >&5
116831 echo "${ECHO_T}$res" >&6
116832
116833
116834   echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
116835 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
116836   cat >conftest.$ac_ext <<_ACEOF
116837 /* confdefs.h.  */
116838 _ACEOF
116839 cat confdefs.h >>conftest.$ac_ext
116840 cat >>conftest.$ac_ext <<_ACEOF
116841 /* end confdefs.h.  */
116842 #include <unistd.h>
116843      #include <sys/time.h>
116844      #include <sys/resource.h>
116845
116846 int
116847 main ()
116848 {
116849  int f = RLIMIT_FSIZE ;
116850   ;
116851   return 0;
116852 }
116853 _ACEOF
116854 rm -f conftest.$ac_objext
116855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116856   (eval $ac_compile) 2>conftest.er1
116857   ac_status=$?
116858   grep -v '^ *+' conftest.er1 >conftest.err
116859   rm -f conftest.er1
116860   cat conftest.err >&5
116861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116862   (exit $ac_status); } &&
116863          { ac_try='test -z "$ac_c_werror_flag"
116864                          || test ! -s conftest.err'
116865   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116866   (eval $ac_try) 2>&5
116867   ac_status=$?
116868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116869   (exit $ac_status); }; } &&
116870          { ac_try='test -s conftest.$ac_objext'
116871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116872   (eval $ac_try) 2>&5
116873   ac_status=$?
116874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116875   (exit $ac_status); }; }; then
116876   glibcxx_mresult=1
116877 else
116878   echo "$as_me: failed program was:" >&5
116879 sed 's/^/| /' conftest.$ac_ext >&5
116880
116881 glibcxx_mresult=0
116882 fi
116883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116884
116885 cat >>confdefs.h <<_ACEOF
116886 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
116887 _ACEOF
116888
116889   if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
116890   echo "$as_me:$LINENO: result: $res" >&5
116891 echo "${ECHO_T}$res" >&6
116892
116893
116894     # Check for rlimit, setrlimit.
116895     if test "${ac_setrlimit+set}" = set; then
116896   echo $ECHO_N "(cached) $ECHO_C" >&6
116897 else
116898
116899       cat >conftest.$ac_ext <<_ACEOF
116900 /* confdefs.h.  */
116901 _ACEOF
116902 cat confdefs.h >>conftest.$ac_ext
116903 cat >>conftest.$ac_ext <<_ACEOF
116904 /* end confdefs.h.  */
116905 #include <unistd.h>
116906          #include <sys/time.h>
116907          #include <sys/resource.h>
116908
116909 int
116910 main ()
116911 {
116912 struct rlimit r;
116913          setrlimit(0, &r);
116914   ;
116915   return 0;
116916 }
116917 _ACEOF
116918 rm -f conftest.$ac_objext
116919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116920   (eval $ac_compile) 2>conftest.er1
116921   ac_status=$?
116922   grep -v '^ *+' conftest.er1 >conftest.err
116923   rm -f conftest.er1
116924   cat conftest.err >&5
116925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116926   (exit $ac_status); } &&
116927          { ac_try='test -z "$ac_c_werror_flag"
116928                          || test ! -s conftest.err'
116929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116930   (eval $ac_try) 2>&5
116931   ac_status=$?
116932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116933   (exit $ac_status); }; } &&
116934          { ac_try='test -s conftest.$ac_objext'
116935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116936   (eval $ac_try) 2>&5
116937   ac_status=$?
116938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
116939   (exit $ac_status); }; }; then
116940   ac_setrlimit=yes
116941 else
116942   echo "$as_me: failed program was:" >&5
116943 sed 's/^/| /' conftest.$ac_ext >&5
116944
116945 ac_setrlimit=no
116946 fi
116947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116948
116949 fi
116950
116951   fi
116952
116953   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
116954 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
116955   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
116956     ac_res_limits=yes
116957
116958 cat >>confdefs.h <<\_ACEOF
116959 #define _GLIBCXX_RES_LIMITS 1
116960 _ACEOF
116961
116962   else
116963     ac_res_limits=no
116964   fi
116965   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
116966 echo "${ECHO_T}$ac_res_limits" >&6
116967
116968
116969     # Look for setenv, so that extended locale tests can be performed.
116970
116971   echo "$as_me:$LINENO: checking for setenv declaration" >&5
116972 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
116973   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
116974     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
116975   echo $ECHO_N "(cached) $ECHO_C" >&6
116976 else
116977
116978
116979
116980       ac_ext=cc
116981 ac_cpp='$CXXCPP $CPPFLAGS'
116982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
116983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
116984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
116985
116986       cat >conftest.$ac_ext <<_ACEOF
116987 /* confdefs.h.  */
116988 _ACEOF
116989 cat confdefs.h >>conftest.$ac_ext
116990 cat >>conftest.$ac_ext <<_ACEOF
116991 /* end confdefs.h.  */
116992 #include <stdlib.h>
116993 int
116994 main ()
116995 {
116996  setenv(0, 0, 0);
116997   ;
116998   return 0;
116999 }
117000 _ACEOF
117001 rm -f conftest.$ac_objext
117002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117003   (eval $ac_compile) 2>conftest.er1
117004   ac_status=$?
117005   grep -v '^ *+' conftest.er1 >conftest.err
117006   rm -f conftest.er1
117007   cat conftest.err >&5
117008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117009   (exit $ac_status); } &&
117010          { ac_try='test -z "$ac_cxx_werror_flag"
117011                          || test ! -s conftest.err'
117012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117013   (eval $ac_try) 2>&5
117014   ac_status=$?
117015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117016   (exit $ac_status); }; } &&
117017          { ac_try='test -s conftest.$ac_objext'
117018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117019   (eval $ac_try) 2>&5
117020   ac_status=$?
117021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117022   (exit $ac_status); }; }; then
117023   glibcxx_cv_func_setenv_use=yes
117024 else
117025   echo "$as_me: failed program was:" >&5
117026 sed 's/^/| /' conftest.$ac_ext >&5
117027
117028 glibcxx_cv_func_setenv_use=no
117029 fi
117030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117031       ac_ext=c
117032 ac_cpp='$CPP $CPPFLAGS'
117033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
117034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
117035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
117036
117037
117038 fi
117039
117040   fi
117041   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
117042 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
117043   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
117044
117045 for ac_func in setenv
117046 do
117047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
117048 echo "$as_me:$LINENO: checking for $ac_func" >&5
117049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
117050 if eval "test \"\${$as_ac_var+set}\" = set"; then
117051   echo $ECHO_N "(cached) $ECHO_C" >&6
117052 else
117053   if test x$gcc_no_link = xyes; then
117054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
117055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
117056    { (exit 1); exit 1; }; }
117057 fi
117058 cat >conftest.$ac_ext <<_ACEOF
117059 /* confdefs.h.  */
117060 _ACEOF
117061 cat confdefs.h >>conftest.$ac_ext
117062 cat >>conftest.$ac_ext <<_ACEOF
117063 /* end confdefs.h.  */
117064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
117065    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
117066 #define $ac_func innocuous_$ac_func
117067
117068 /* System header to define __stub macros and hopefully few prototypes,
117069     which can conflict with char $ac_func (); below.
117070     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
117071     <limits.h> exists even on freestanding compilers.  */
117072
117073 #ifdef __STDC__
117074 # include <limits.h>
117075 #else
117076 # include <assert.h>
117077 #endif
117078
117079 #undef $ac_func
117080
117081 /* Override any gcc2 internal prototype to avoid an error.  */
117082 #ifdef __cplusplus
117083 extern "C"
117084 {
117085 #endif
117086 /* We use char because int might match the return type of a gcc2
117087    builtin and then its argument prototype would still apply.  */
117088 char $ac_func ();
117089 /* The GNU C library defines this for functions which it implements
117090     to always fail with ENOSYS.  Some functions are actually named
117091     something starting with __ and the normal name is an alias.  */
117092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
117093 choke me
117094 #else
117095 char (*f) () = $ac_func;
117096 #endif
117097 #ifdef __cplusplus
117098 }
117099 #endif
117100
117101 int
117102 main ()
117103 {
117104 return f != $ac_func;
117105   ;
117106   return 0;
117107 }
117108 _ACEOF
117109 rm -f conftest.$ac_objext conftest$ac_exeext
117110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117111   (eval $ac_link) 2>conftest.er1
117112   ac_status=$?
117113   grep -v '^ *+' conftest.er1 >conftest.err
117114   rm -f conftest.er1
117115   cat conftest.err >&5
117116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117117   (exit $ac_status); } &&
117118          { ac_try='test -z "$ac_c_werror_flag"
117119                          || test ! -s conftest.err'
117120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117121   (eval $ac_try) 2>&5
117122   ac_status=$?
117123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117124   (exit $ac_status); }; } &&
117125          { ac_try='test -s conftest$ac_exeext'
117126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117127   (eval $ac_try) 2>&5
117128   ac_status=$?
117129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
117130   (exit $ac_status); }; }; then
117131   eval "$as_ac_var=yes"
117132 else
117133   echo "$as_me: failed program was:" >&5
117134 sed 's/^/| /' conftest.$ac_ext >&5
117135
117136 eval "$as_ac_var=no"
117137 fi
117138 rm -f conftest.err conftest.$ac_objext \
117139       conftest$ac_exeext conftest.$ac_ext
117140 fi
117141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
117142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
117143 if test `eval echo '${'$as_ac_var'}'` = yes; then
117144   cat >>confdefs.h <<_ACEOF
117145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
117146 _ACEOF
117147
117148 fi
117149 done
117150
117151   fi
117152
117153   fi
117154
117155   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
117156      test $enable_symvers != no; then
117157     case "$host" in
117158       *-*-cygwin*)
117159         enable_abi_check=no ;;
117160       *)
117161         enable_abi_check=yes ;;
117162     esac
117163   else
117164     # Only build this as native, since automake does not understand
117165     # CXX_FOR_BUILD.
117166     enable_abi_check=no
117167   fi
117168
117169   # Export file names for ABI checking.
117170   baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
117171
117172
117173
117174 # Propagate the target-specific source directories through the build chain.
117175 ATOMICITY_SRCDIR=config/${atomicity_dir}
117176 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
117177 ATOMIC_FLAGS=${atomic_flags}
117178 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
117179 OS_INC_SRCDIR=config/${os_include_dir}
117180 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
117181 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
117182
117183
117184
117185
117186
117187
117188
117189
117190
117191 # Determine cross-compile flags and AM_CONDITIONALs.
117192 #AC_SUBST(GLIBCXX_IS_NATIVE)
117193 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
117194 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
117195 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
117196
117197
117198 if test $is_hosted = yes; then
117199   GLIBCXX_HOSTED_TRUE=
117200   GLIBCXX_HOSTED_FALSE='#'
117201 else
117202   GLIBCXX_HOSTED_TRUE='#'
117203   GLIBCXX_HOSTED_FALSE=
117204 fi
117205
117206
117207
117208
117209 if test $enable_libstdcxx_pch = yes; then
117210   GLIBCXX_BUILD_PCH_TRUE=
117211   GLIBCXX_BUILD_PCH_FALSE='#'
117212 else
117213   GLIBCXX_BUILD_PCH_TRUE='#'
117214   GLIBCXX_BUILD_PCH_FALSE=
117215 fi
117216
117217
117218
117219
117220 if test $enable_cheaders = c; then
117221   GLIBCXX_C_HEADERS_C_TRUE=
117222   GLIBCXX_C_HEADERS_C_FALSE='#'
117223 else
117224   GLIBCXX_C_HEADERS_C_TRUE='#'
117225   GLIBCXX_C_HEADERS_C_FALSE=
117226 fi
117227
117228
117229
117230
117231 if test $enable_cheaders = c_std; then
117232   GLIBCXX_C_HEADERS_C_STD_TRUE=
117233   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
117234 else
117235   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
117236   GLIBCXX_C_HEADERS_C_STD_FALSE=
117237 fi
117238
117239
117240
117241
117242 if test $enable_cheaders = c_global; then
117243   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
117244   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
117245 else
117246   GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
117247   GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
117248 fi
117249
117250
117251
117252
117253 if test $c_compatibility = yes; then
117254   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
117255   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
117256 else
117257   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
117258   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
117259 fi
117260
117261
117262
117263
117264 if test $c_extra = yes; then
117265   GLIBCXX_C_HEADERS_EXTRA_TRUE=
117266   GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
117267 else
117268   GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
117269   GLIBCXX_C_HEADERS_EXTRA_FALSE=
117270 fi
117271
117272
117273
117274
117275 if test $enable_libstdcxx_debug = yes; then
117276   GLIBCXX_BUILD_DEBUG_TRUE=
117277   GLIBCXX_BUILD_DEBUG_FALSE='#'
117278 else
117279   GLIBCXX_BUILD_DEBUG_TRUE='#'
117280   GLIBCXX_BUILD_DEBUG_FALSE=
117281 fi
117282
117283
117284
117285
117286 if test $enable_parallel = yes; then
117287   ENABLE_PARALLEL_TRUE=
117288   ENABLE_PARALLEL_FALSE='#'
117289 else
117290   ENABLE_PARALLEL_TRUE='#'
117291   ENABLE_PARALLEL_FALSE=
117292 fi
117293
117294
117295
117296
117297 if test $enable_symvers != no; then
117298   ENABLE_SYMVERS_TRUE=
117299   ENABLE_SYMVERS_FALSE='#'
117300 else
117301   ENABLE_SYMVERS_TRUE='#'
117302   ENABLE_SYMVERS_FALSE=
117303 fi
117304
117305
117306
117307
117308 if test $enable_symvers = gnu; then
117309   ENABLE_SYMVERS_GNU_TRUE=
117310   ENABLE_SYMVERS_GNU_FALSE='#'
117311 else
117312   ENABLE_SYMVERS_GNU_TRUE='#'
117313   ENABLE_SYMVERS_GNU_FALSE=
117314 fi
117315
117316
117317
117318
117319 if test $enable_symvers = gnu-versioned-namespace; then
117320   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
117321   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
117322 else
117323   ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
117324   ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
117325 fi
117326
117327
117328
117329
117330 if test $enable_symvers = darwin; then
117331   ENABLE_SYMVERS_DARWIN_TRUE=
117332   ENABLE_SYMVERS_DARWIN_FALSE='#'
117333 else
117334   ENABLE_SYMVERS_DARWIN_TRUE='#'
117335   ENABLE_SYMVERS_DARWIN_FALSE=
117336 fi
117337
117338
117339
117340
117341 if test $enable_visibility = yes; then
117342   ENABLE_VISIBILITY_TRUE=
117343   ENABLE_VISIBILITY_FALSE='#'
117344 else
117345   ENABLE_VISIBILITY_TRUE='#'
117346   ENABLE_VISIBILITY_FALSE=
117347 fi
117348
117349
117350
117351
117352 if test $ac_ldbl_compat = yes; then
117353   GLIBCXX_LDBL_COMPAT_TRUE=
117354   GLIBCXX_LDBL_COMPAT_FALSE='#'
117355 else
117356   GLIBCXX_LDBL_COMPAT_TRUE='#'
117357   GLIBCXX_LDBL_COMPAT_FALSE=
117358 fi
117359
117360
117361
117362
117363 cat >confcache <<\_ACEOF
117364 # This file is a shell script that caches the results of configure
117365 # tests run on this system so they can be shared between configure
117366 # scripts and configure runs, see configure's option --config-cache.
117367 # It is not useful on other systems.  If it contains results you don't
117368 # want to keep, you may remove or edit it.
117369 #
117370 # config.status only pays attention to the cache file if you give it
117371 # the --recheck option to rerun configure.
117372 #
117373 # `ac_cv_env_foo' variables (set or unset) will be overridden when
117374 # loading this file, other *unset* `ac_cv_foo' will be assigned the
117375 # following values.
117376
117377 _ACEOF
117378
117379 # The following way of writing the cache mishandles newlines in values,
117380 # but we know of no workaround that is simple, portable, and efficient.
117381 # So, don't put newlines in cache variables' values.
117382 # Ultrix sh set writes to stderr and can't be redirected directly,
117383 # and sets the high bit in the cache file unless we assign to the vars.
117384 {
117385   (set) 2>&1 |
117386     case `(ac_space=' '; set | grep ac_space) 2>&1` in
117387     *ac_space=\ *)
117388       # `set' does not quote correctly, so add quotes (double-quote
117389       # substitution turns \\\\ into \\, and sed turns \\ into \).
117390       sed -n \
117391         "s/'/'\\\\''/g;
117392           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
117393       ;;
117394     *)
117395       # `set' quotes correctly as required by POSIX, so do not add quotes.
117396       sed -n \
117397         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
117398       ;;
117399     esac;
117400 } |
117401   sed '
117402      t clear
117403      : clear
117404      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
117405      t end
117406      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
117407      : end' >>confcache
117408 if diff $cache_file confcache >/dev/null 2>&1; then :; else
117409   if test -w $cache_file; then
117410     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
117411     cat confcache >$cache_file
117412   else
117413     echo "not updating unwritable cache $cache_file"
117414   fi
117415 fi
117416 rm -f confcache
117417
117418 if test ${multilib} = yes; then
117419   multilib_arg="--enable-multilib"
117420 else
117421   multilib_arg=
117422 fi
117423
117424 # Export all the install information.
117425
117426   glibcxx_toolexecdir=no
117427   glibcxx_toolexeclibdir=no
117428   glibcxx_prefixdir=$prefix
117429
117430   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
117431 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
117432
117433 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
117434 if test "${with_gxx_include_dir+set}" = set; then
117435   withval="$with_gxx_include_dir"
117436   case "$withval" in
117437       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
117438 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
117439    { (exit 1); exit 1; }; } ;;
117440       no)  gxx_include_dir=no ;;
117441       *)   gxx_include_dir=$withval ;;
117442      esac
117443 else
117444   gxx_include_dir=no
117445 fi;
117446   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
117447 echo "${ECHO_T}$gxx_include_dir" >&6
117448
117449   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
117450 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
117451   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
117452 if test "${enable_version_specific_runtime_libs+set}" = set; then
117453   enableval="$enable_version_specific_runtime_libs"
117454   case "$enableval" in
117455       yes) version_specific_libs=yes ;;
117456       no)  version_specific_libs=no ;;
117457       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
117458 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
117459    { (exit 1); exit 1; }; };;
117460      esac
117461 else
117462   version_specific_libs=no
117463 fi;
117464   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
117465 echo "${ECHO_T}$version_specific_libs" >&6
117466
117467   # Default case for install directory for include files.
117468   if test $version_specific_libs = no && test $gxx_include_dir = no; then
117469     gxx_include_dir='include/c++/${gcc_version}'
117470     if test -n "$with_cross_host" &&
117471        test x"$with_cross_host" != x"no"; then
117472       gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
117473     else
117474       gxx_include_dir='${prefix}/'"$gxx_include_dir"
117475     fi
117476   fi
117477
117478   # Version-specific runtime libs processing.
117479   if test $version_specific_libs = yes; then
117480     # Need the gcc compiler version to know where to install libraries
117481     # and header files if --enable-version-specific-runtime-libs option
117482     # is selected.  FIXME: these variables are misnamed, there are
117483     # no executables installed in _toolexecdir or _toolexeclibdir.
117484     if test x"$gxx_include_dir" = x"no"; then
117485       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
117486     fi
117487     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
117488     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
117489   fi
117490
117491   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
117492   # Install a library built with a cross compiler in tooldir, not libdir.
117493   if test x"$glibcxx_toolexecdir" = x"no"; then
117494     if test -n "$with_cross_host" &&
117495        test x"$with_cross_host" != x"no"; then
117496       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
117497       glibcxx_toolexeclibdir='${toolexecdir}/lib'
117498     else
117499       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
117500       glibcxx_toolexeclibdir='${libdir}'
117501     fi
117502     multi_os_directory=`$CXX -print-multi-os-directory`
117503     case $multi_os_directory in
117504       .) ;; # Avoid trailing /.
117505       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
117506     esac
117507   fi
117508
117509   echo "$as_me:$LINENO: checking for install location" >&5
117510 echo $ECHO_N "checking for install location... $ECHO_C" >&6
117511   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
117512 echo "${ECHO_T}$gxx_include_dir" >&6
117513
117514
117515
117516
117517
117518
117519
117520 # Export all the include and flag information to Makefiles.
117521
117522   # Used for every C++ compile we perform.
117523   GLIBCXX_INCLUDES="\
117524 -I$glibcxx_builddir/include/$host_alias \
117525 -I$glibcxx_builddir/include \
117526 -I$glibcxx_srcdir/libsupc++"
117527
117528   # For Canadian crosses, pick this up too.
117529   if test $CANADIAN = yes; then
117530     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
117531   fi
117532
117533   # Stuff in the actual top level.  Currently only used by libsupc++ to
117534   # get unwind* headers from the gcc dir.
117535   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
117536   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
117537
117538   # Now, export this to all the little Makefiles....
117539
117540
117541
117542
117543   # Optimization flags that are probably a good idea for thrill-seekers. Just
117544   # uncomment the lines below and make, everything else is ready to go...
117545   # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
117546   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
117547
117548
117549   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
117550
117551
117552
117553 if test "$enable_shared" = yes; then
117554   LIBSUPCXX_PICFLAGS="-prefer-pic"
117555 else
117556   LIBSUPCXX_PICFLAGS=
117557 fi
117558
117559
117560                                                                                 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
117561
117562           ac_config_files="$ac_config_files scripts/testsuite_flags"
117563
117564
117565           ac_config_commands="$ac_config_commands default"
117566
117567
117568 cat >confcache <<\_ACEOF
117569 # This file is a shell script that caches the results of configure
117570 # tests run on this system so they can be shared between configure
117571 # scripts and configure runs, see configure's option --config-cache.
117572 # It is not useful on other systems.  If it contains results you don't
117573 # want to keep, you may remove or edit it.
117574 #
117575 # config.status only pays attention to the cache file if you give it
117576 # the --recheck option to rerun configure.
117577 #
117578 # `ac_cv_env_foo' variables (set or unset) will be overridden when
117579 # loading this file, other *unset* `ac_cv_foo' will be assigned the
117580 # following values.
117581
117582 _ACEOF
117583
117584 # The following way of writing the cache mishandles newlines in values,
117585 # but we know of no workaround that is simple, portable, and efficient.
117586 # So, don't put newlines in cache variables' values.
117587 # Ultrix sh set writes to stderr and can't be redirected directly,
117588 # and sets the high bit in the cache file unless we assign to the vars.
117589 {
117590   (set) 2>&1 |
117591     case `(ac_space=' '; set | grep ac_space) 2>&1` in
117592     *ac_space=\ *)
117593       # `set' does not quote correctly, so add quotes (double-quote
117594       # substitution turns \\\\ into \\, and sed turns \\ into \).
117595       sed -n \
117596         "s/'/'\\\\''/g;
117597           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
117598       ;;
117599     *)
117600       # `set' quotes correctly as required by POSIX, so do not add quotes.
117601       sed -n \
117602         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
117603       ;;
117604     esac;
117605 } |
117606   sed '
117607      t clear
117608      : clear
117609      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
117610      t end
117611      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
117612      : end' >>confcache
117613 if diff $cache_file confcache >/dev/null 2>&1; then :; else
117614   if test -w $cache_file; then
117615     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
117616     cat confcache >$cache_file
117617   else
117618     echo "not updating unwritable cache $cache_file"
117619   fi
117620 fi
117621 rm -f confcache
117622
117623 test "x$prefix" = xNONE && prefix=$ac_default_prefix
117624 # Let make expand exec_prefix.
117625 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
117626
117627 # VPATH may cause trouble with some makes, so we remove $(srcdir),
117628 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
117629 # trailing colons and then remove the whole line if VPATH becomes empty
117630 # (actually we leave an empty line to preserve line numbers).
117631 if test "x$srcdir" = x.; then
117632   ac_vpsub='/^[  ]*VPATH[        ]*=/{
117633 s/:*\$(srcdir):*/:/;
117634 s/:*\${srcdir}:*/:/;
117635 s/:*@srcdir@:*/:/;
117636 s/^\([^=]*=[     ]*\):*/\1/;
117637 s/:*$//;
117638 s/^[^=]*=[       ]*$//;
117639 }'
117640 fi
117641
117642 DEFS=-DHAVE_CONFIG_H
117643
117644 ac_libobjs=
117645 ac_ltlibobjs=
117646 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
117647   # 1. Remove the extension, and $U if already installed.
117648   ac_i=`echo "$ac_i" |
117649          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
117650   # 2. Add them.
117651   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
117652   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
117653 done
117654 LIBOBJS=$ac_libobjs
117655
117656 LTLIBOBJS=$ac_ltlibobjs
117657
117658
117659 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
117660   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
117661 Usually this means the macro was only invoked conditionally." >&5
117662 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
117663 Usually this means the macro was only invoked conditionally." >&2;}
117664    { (exit 1); exit 1; }; }
117665 fi
117666 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
117667   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
117668 Usually this means the macro was only invoked conditionally." >&5
117669 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
117670 Usually this means the macro was only invoked conditionally." >&2;}
117671    { (exit 1); exit 1; }; }
117672 fi
117673 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
117674   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
117675 Usually this means the macro was only invoked conditionally." >&5
117676 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
117677 Usually this means the macro was only invoked conditionally." >&2;}
117678    { (exit 1); exit 1; }; }
117679 fi
117680 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
117681   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
117682 Usually this means the macro was only invoked conditionally." >&5
117683 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
117684 Usually this means the macro was only invoked conditionally." >&2;}
117685    { (exit 1); exit 1; }; }
117686 fi
117687 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
117688   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
117689 Usually this means the macro was only invoked conditionally." >&5
117690 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
117691 Usually this means the macro was only invoked conditionally." >&2;}
117692    { (exit 1); exit 1; }; }
117693 fi
117694 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
117695   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
117696 Usually this means the macro was only invoked conditionally." >&5
117697 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
117698 Usually this means the macro was only invoked conditionally." >&2;}
117699    { (exit 1); exit 1; }; }
117700 fi
117701 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
117702   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
117703 Usually this means the macro was only invoked conditionally." >&5
117704 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
117705 Usually this means the macro was only invoked conditionally." >&2;}
117706    { (exit 1); exit 1; }; }
117707 fi
117708 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
117709   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
117710 Usually this means the macro was only invoked conditionally." >&5
117711 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
117712 Usually this means the macro was only invoked conditionally." >&2;}
117713    { (exit 1); exit 1; }; }
117714 fi
117715 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
117716   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
117717 Usually this means the macro was only invoked conditionally." >&5
117718 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
117719 Usually this means the macro was only invoked conditionally." >&2;}
117720    { (exit 1); exit 1; }; }
117721 fi
117722 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
117723   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
117724 Usually this means the macro was only invoked conditionally." >&5
117725 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
117726 Usually this means the macro was only invoked conditionally." >&2;}
117727    { (exit 1); exit 1; }; }
117728 fi
117729 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
117730   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
117731 Usually this means the macro was only invoked conditionally." >&5
117732 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
117733 Usually this means the macro was only invoked conditionally." >&2;}
117734    { (exit 1); exit 1; }; }
117735 fi
117736 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
117737   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
117738 Usually this means the macro was only invoked conditionally." >&5
117739 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
117740 Usually this means the macro was only invoked conditionally." >&2;}
117741    { (exit 1); exit 1; }; }
117742 fi
117743 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
117744   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
117745 Usually this means the macro was only invoked conditionally." >&5
117746 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
117747 Usually this means the macro was only invoked conditionally." >&2;}
117748    { (exit 1); exit 1; }; }
117749 fi
117750 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
117751   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
117752 Usually this means the macro was only invoked conditionally." >&5
117753 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
117754 Usually this means the macro was only invoked conditionally." >&2;}
117755    { (exit 1); exit 1; }; }
117756 fi
117757 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
117758   { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
117759 Usually this means the macro was only invoked conditionally." >&5
117760 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
117761 Usually this means the macro was only invoked conditionally." >&2;}
117762    { (exit 1); exit 1; }; }
117763 fi
117764 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
117765   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
117766 Usually this means the macro was only invoked conditionally." >&5
117767 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
117768 Usually this means the macro was only invoked conditionally." >&2;}
117769    { (exit 1); exit 1; }; }
117770 fi
117771
117772 : ${CONFIG_STATUS=./config.status}
117773 ac_clean_files_save=$ac_clean_files
117774 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
117775 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
117776 echo "$as_me: creating $CONFIG_STATUS" >&6;}
117777 cat >$CONFIG_STATUS <<_ACEOF
117778 #! $SHELL
117779 # Generated by $as_me.
117780 # Run this file to recreate the current configuration.
117781 # Compiler output produced by configure, useful for debugging
117782 # configure, is in config.log if it exists.
117783
117784 debug=false
117785 ac_cs_recheck=false
117786 ac_cs_silent=false
117787 SHELL=\${CONFIG_SHELL-$SHELL}
117788 _ACEOF
117789
117790 cat >>$CONFIG_STATUS <<\_ACEOF
117791 ## --------------------- ##
117792 ## M4sh Initialization.  ##
117793 ## --------------------- ##
117794
117795 # Be Bourne compatible
117796 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
117797   emulate sh
117798   NULLCMD=:
117799   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
117800   # is contrary to our usage.  Disable this feature.
117801   alias -g '${1+"$@"}'='"$@"'
117802 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
117803   set -o posix
117804 fi
117805 DUALCASE=1; export DUALCASE # for MKS sh
117806
117807 # Support unset when possible.
117808 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
117809   as_unset=unset
117810 else
117811   as_unset=false
117812 fi
117813
117814
117815 # Work around bugs in pre-3.0 UWIN ksh.
117816 $as_unset ENV MAIL MAILPATH
117817 PS1='$ '
117818 PS2='> '
117819 PS4='+ '
117820
117821 # NLS nuisances.
117822 for as_var in \
117823   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
117824   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
117825   LC_TELEPHONE LC_TIME
117826 do
117827   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
117828     eval $as_var=C; export $as_var
117829   else
117830     $as_unset $as_var
117831   fi
117832 done
117833
117834 # Required to use basename.
117835 if expr a : '\(a\)' >/dev/null 2>&1; then
117836   as_expr=expr
117837 else
117838   as_expr=false
117839 fi
117840
117841 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
117842   as_basename=basename
117843 else
117844   as_basename=false
117845 fi
117846
117847
117848 # Name of the executable.
117849 as_me=`$as_basename "$0" ||
117850 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
117851          X"$0" : 'X\(//\)$' \| \
117852          X"$0" : 'X\(/\)$' \| \
117853          .     : '\(.\)' 2>/dev/null ||
117854 echo X/"$0" |
117855     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
117856           /^X\/\(\/\/\)$/{ s//\1/; q; }
117857           /^X\/\(\/\).*/{ s//\1/; q; }
117858           s/.*/./; q'`
117859
117860
117861 # PATH needs CR, and LINENO needs CR and PATH.
117862 # Avoid depending upon Character Ranges.
117863 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
117864 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
117865 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
117866 as_cr_digits='0123456789'
117867 as_cr_alnum=$as_cr_Letters$as_cr_digits
117868
117869 # The user is always right.
117870 if test "${PATH_SEPARATOR+set}" != set; then
117871   echo "#! /bin/sh" >conf$$.sh
117872   echo  "exit 0"   >>conf$$.sh
117873   chmod +x conf$$.sh
117874   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
117875     PATH_SEPARATOR=';'
117876   else
117877     PATH_SEPARATOR=:
117878   fi
117879   rm -f conf$$.sh
117880 fi
117881
117882
117883   as_lineno_1=$LINENO
117884   as_lineno_2=$LINENO
117885   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
117886   test "x$as_lineno_1" != "x$as_lineno_2" &&
117887   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
117888   # Find who we are.  Look in the path if we contain no path at all
117889   # relative or not.
117890   case $0 in
117891     *[\\/]* ) as_myself=$0 ;;
117892     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
117893 for as_dir in $PATH
117894 do
117895   IFS=$as_save_IFS
117896   test -z "$as_dir" && as_dir=.
117897   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117898 done
117899
117900        ;;
117901   esac
117902   # We did not find ourselves, most probably we were run as `sh COMMAND'
117903   # in which case we are not to be found in the path.
117904   if test "x$as_myself" = x; then
117905     as_myself=$0
117906   fi
117907   if test ! -f "$as_myself"; then
117908     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
117909 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
117910    { (exit 1); exit 1; }; }
117911   fi
117912   case $CONFIG_SHELL in
117913   '')
117914     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
117915 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
117916 do
117917   IFS=$as_save_IFS
117918   test -z "$as_dir" && as_dir=.
117919   for as_base in sh bash ksh sh5; do
117920          case $as_dir in
117921          /*)
117922            if ("$as_dir/$as_base" -c '
117923   as_lineno_1=$LINENO
117924   as_lineno_2=$LINENO
117925   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
117926   test "x$as_lineno_1" != "x$as_lineno_2" &&
117927   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
117928              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
117929              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
117930              CONFIG_SHELL=$as_dir/$as_base
117931              export CONFIG_SHELL
117932              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
117933            fi;;
117934          esac
117935        done
117936 done
117937 ;;
117938   esac
117939
117940   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
117941   # uniformly replaced by the line number.  The first 'sed' inserts a
117942   # line-number line before each line; the second 'sed' does the real
117943   # work.  The second script uses 'N' to pair each line-number line
117944   # with the numbered line, and appends trailing '-' during
117945   # substitution so that $LINENO is not a special case at line end.
117946   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
117947   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
117948   sed '=' <$as_myself |
117949     sed '
117950       N
117951       s,$,-,
117952       : loop
117953       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
117954       t loop
117955       s,-$,,
117956       s,^['$as_cr_digits']*\n,,
117957     ' >$as_me.lineno &&
117958   chmod +x $as_me.lineno ||
117959     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
117960 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
117961    { (exit 1); exit 1; }; }
117962
117963   # Don't try to exec as it changes $[0], causing all sort of problems
117964   # (the dirname of $[0] is not the place where we might find the
117965   # original and so on.  Autoconf is especially sensible to this).
117966   . ./$as_me.lineno
117967   # Exit status is that of the last command.
117968   exit
117969 }
117970
117971
117972 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
117973   *c*,-n*) ECHO_N= ECHO_C='
117974 ' ECHO_T='      ' ;;
117975   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
117976   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
117977 esac
117978
117979 if expr a : '\(a\)' >/dev/null 2>&1; then
117980   as_expr=expr
117981 else
117982   as_expr=false
117983 fi
117984
117985 rm -f conf$$ conf$$.exe conf$$.file
117986 echo >conf$$.file
117987 if ln -s conf$$.file conf$$ 2>/dev/null; then
117988   # We could just check for DJGPP; but this test a) works b) is more generic
117989   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
117990   if test -f conf$$.exe; then
117991     # Don't use ln at all; we don't have any links
117992     as_ln_s='cp -p'
117993   else
117994     as_ln_s='ln -s'
117995   fi
117996 elif ln conf$$.file conf$$ 2>/dev/null; then
117997   as_ln_s=ln
117998 else
117999   as_ln_s='cp -p'
118000 fi
118001 rm -f conf$$ conf$$.exe conf$$.file
118002
118003 if mkdir -p . 2>/dev/null; then
118004   as_mkdir_p=:
118005 else
118006   test -d ./-p && rmdir ./-p
118007   as_mkdir_p=false
118008 fi
118009
118010 as_executable_p="test -f"
118011
118012 # Sed expression to map a string onto a valid CPP name.
118013 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
118014
118015 # Sed expression to map a string onto a valid variable name.
118016 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
118017
118018
118019 # IFS
118020 # We need space, tab and new line, in precisely that order.
118021 as_nl='
118022 '
118023 IFS="   $as_nl"
118024
118025 # CDPATH.
118026 $as_unset CDPATH
118027
118028 exec 6>&1
118029
118030 # Open the log real soon, to keep \$[0] and so on meaningful, and to
118031 # report actual input values of CONFIG_FILES etc. instead of their
118032 # values after options handling.  Logging --version etc. is OK.
118033 exec 5>>config.log
118034 {
118035   echo
118036   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
118037 ## Running $as_me. ##
118038 _ASBOX
118039 } >&5
118040 cat >&5 <<_CSEOF
118041
118042 This file was extended by package-unused $as_me version-unused, which was
118043 generated by GNU Autoconf 2.59.  Invocation command line was
118044
118045   CONFIG_FILES    = $CONFIG_FILES
118046   CONFIG_HEADERS  = $CONFIG_HEADERS
118047   CONFIG_LINKS    = $CONFIG_LINKS
118048   CONFIG_COMMANDS = $CONFIG_COMMANDS
118049   $ $0 $@
118050
118051 _CSEOF
118052 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
118053 echo >&5
118054 _ACEOF
118055
118056 # Files that config.status was made for.
118057 if test -n "$ac_config_files"; then
118058   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
118059 fi
118060
118061 if test -n "$ac_config_headers"; then
118062   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
118063 fi
118064
118065 if test -n "$ac_config_links"; then
118066   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
118067 fi
118068
118069 if test -n "$ac_config_commands"; then
118070   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
118071 fi
118072
118073 cat >>$CONFIG_STATUS <<\_ACEOF
118074
118075 ac_cs_usage="\
118076 \`$as_me' instantiates files from templates according to the
118077 current configuration.
118078
118079 Usage: $0 [OPTIONS] [FILE]...
118080
118081   -h, --help       print this help, then exit
118082   -V, --version    print version number, then exit
118083   -q, --quiet      do not print progress messages
118084   -d, --debug      don't remove temporary files
118085       --recheck    update $as_me by reconfiguring in the same conditions
118086   --file=FILE[:TEMPLATE]
118087                    instantiate the configuration file FILE
118088   --header=FILE[:TEMPLATE]
118089                    instantiate the configuration header FILE
118090
118091 Configuration files:
118092 $config_files
118093
118094 Configuration headers:
118095 $config_headers
118096
118097 Configuration commands:
118098 $config_commands
118099
118100 Report bugs to <bug-autoconf@gnu.org>."
118101 _ACEOF
118102
118103 cat >>$CONFIG_STATUS <<_ACEOF
118104 ac_cs_version="\\
118105 package-unused config.status version-unused
118106 configured by $0, generated by GNU Autoconf 2.59,
118107   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
118108
118109 Copyright (C) 2003 Free Software Foundation, Inc.
118110 This config.status script is free software; the Free Software Foundation
118111 gives unlimited permission to copy, distribute and modify it."
118112 srcdir=$srcdir
118113 INSTALL="$INSTALL"
118114 _ACEOF
118115
118116 cat >>$CONFIG_STATUS <<\_ACEOF
118117 # If no file are specified by the user, then we need to provide default
118118 # value.  By we need to know if files were specified by the user.
118119 ac_need_defaults=:
118120 while test $# != 0
118121 do
118122   case $1 in
118123   --*=*)
118124     ac_option=`expr "x$1" : 'x\([^=]*\)='`
118125     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
118126     ac_shift=:
118127     ;;
118128   -*)
118129     ac_option=$1
118130     ac_optarg=$2
118131     ac_shift=shift
118132     ;;
118133   *) # This is not an option, so the user has probably given explicit
118134      # arguments.
118135      ac_option=$1
118136      ac_need_defaults=false;;
118137   esac
118138
118139   case $ac_option in
118140   # Handling of the options.
118141 _ACEOF
118142 cat >>$CONFIG_STATUS <<\_ACEOF
118143   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
118144     ac_cs_recheck=: ;;
118145   --version | --vers* | -V )
118146     echo "$ac_cs_version"; exit 0 ;;
118147   --he | --h)
118148     # Conflict between --help and --header
118149     { { echo "$as_me:$LINENO: error: ambiguous option: $1
118150 Try \`$0 --help' for more information." >&5
118151 echo "$as_me: error: ambiguous option: $1
118152 Try \`$0 --help' for more information." >&2;}
118153    { (exit 1); exit 1; }; };;
118154   --help | --hel | -h )
118155     echo "$ac_cs_usage"; exit 0 ;;
118156   --debug | --d* | -d )
118157     debug=: ;;
118158   --file | --fil | --fi | --f )
118159     $ac_shift
118160     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
118161     ac_need_defaults=false;;
118162   --header | --heade | --head | --hea )
118163     $ac_shift
118164     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
118165     ac_need_defaults=false;;
118166   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
118167   | -silent | --silent | --silen | --sile | --sil | --si | --s)
118168     ac_cs_silent=: ;;
118169
118170   # This is an error.
118171   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
118172 Try \`$0 --help' for more information." >&5
118173 echo "$as_me: error: unrecognized option: $1
118174 Try \`$0 --help' for more information." >&2;}
118175    { (exit 1); exit 1; }; } ;;
118176
118177   *) ac_config_targets="$ac_config_targets $1" ;;
118178
118179   esac
118180   shift
118181 done
118182
118183 ac_configure_extra_args=
118184
118185 if $ac_cs_silent; then
118186   exec 6>/dev/null
118187   ac_configure_extra_args="$ac_configure_extra_args --silent"
118188 fi
118189
118190 _ACEOF
118191 cat >>$CONFIG_STATUS <<_ACEOF
118192 if \$ac_cs_recheck; then
118193   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
118194   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
118195 fi
118196
118197 _ACEOF
118198
118199 cat >>$CONFIG_STATUS <<_ACEOF
118200 #
118201 # INIT-COMMANDS section.
118202 #
118203
118204
118205 srcdir="$srcdir"
118206 host="$host"
118207 target="$target"
118208 with_multisubdir="$with_multisubdir"
118209 with_multisrctop="$with_multisrctop"
118210 with_target_subdir="$with_target_subdir"
118211 ac_configure_args="${multilib_arg} ${ac_configure_args}"
118212 multi_basedir="$multi_basedir"
118213 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
118214 CC="$CC"
118215
118216
118217 # The HP-UX ksh and POSIX shell print the target directory to stdout
118218 # if CDPATH is set.
118219 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
118220
118221 sed_quote_subst='$sed_quote_subst'
118222 double_quote_subst='$double_quote_subst'
118223 delay_variable_subst='$delay_variable_subst'
118224 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
118225 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
118226 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
118227 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
118228 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
118229 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
118230 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
118231 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
118232 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
118233 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
118234 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
118235 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
118236 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
118237 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
118238 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
118239 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
118240 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
118241 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
118242 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
118243 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
118244 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
118245 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
118246 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
118247 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
118248 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
118249 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
118250 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
118251 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118252 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
118253 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
118254 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
118255 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
118256 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
118257 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
118258 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118259 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118260 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118261 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
118262 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
118263 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
118264 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
118265 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
118266 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
118267 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
118268 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
118269 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
118270 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
118271 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
118272 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
118273 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
118274 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
118275 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
118276 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
118277 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
118278 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
118279 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118280 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118281 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
118282 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
118283 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
118284 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
118285 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
118286 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118287 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118288 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118289 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118290 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118291 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118292 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
118293 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
118294 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
118295 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
118296 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
118297 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
118298 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
118299 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
118300 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
118301 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
118302 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
118303 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
118304 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
118305 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
118306 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
118307 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118308 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
118309 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
118310 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118311 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
118312 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
118313 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
118314 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
118315 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
118316 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
118317 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
118318 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
118319 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
118320 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
118321 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
118322 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118323 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118324 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
118325 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
118326 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
118327 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
118328 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
118329 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
118330 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
118331 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
118332 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
118333 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
118334 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
118335 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
118336 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
118337 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
118338 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
118339 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
118340 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118341 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118342 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118343 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118344 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118345 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118346 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118347 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118348 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118349 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118350 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118351 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118352 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118353 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118354 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118355 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118356 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118357 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118358 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118359 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118360 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118361 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118362 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118363 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118364 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118365 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118366 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118367 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118368 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118369 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118370 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118371 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118372 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118373 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118374 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118375 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118376 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118377 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118378 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118379 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118380 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118381 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118382 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118383 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118384 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118385 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
118386
118387 LTCC='$LTCC'
118388 LTCFLAGS='$LTCFLAGS'
118389 compiler='$compiler_DEFAULT'
118390
118391 # Quote evaled strings.
118392 for var in SED \
118393 GREP \
118394 EGREP \
118395 FGREP \
118396 LD \
118397 NM \
118398 LN_S \
118399 lt_SP2NL \
118400 lt_NL2SP \
118401 reload_flag \
118402 deplibs_check_method \
118403 file_magic_cmd \
118404 AR \
118405 AR_FLAGS \
118406 STRIP \
118407 RANLIB \
118408 CC \
118409 CFLAGS \
118410 compiler \
118411 lt_cv_sys_global_symbol_pipe \
118412 lt_cv_sys_global_symbol_to_cdecl \
118413 lt_cv_sys_global_symbol_to_c_name_address \
118414 SHELL \
118415 ECHO \
118416 lt_prog_compiler_no_builtin_flag \
118417 lt_prog_compiler_wl \
118418 lt_prog_compiler_pic \
118419 lt_prog_compiler_static \
118420 lt_cv_prog_compiler_c_o \
118421 need_locks \
118422 shrext_cmds \
118423 export_dynamic_flag_spec \
118424 whole_archive_flag_spec \
118425 compiler_needs_object \
118426 with_gnu_ld \
118427 allow_undefined_flag \
118428 no_undefined_flag \
118429 hardcode_libdir_flag_spec \
118430 hardcode_libdir_flag_spec_ld \
118431 hardcode_libdir_separator \
118432 fix_srcfile_path \
118433 exclude_expsyms \
118434 include_expsyms \
118435 file_list_spec \
118436 variables_saved_for_relink \
118437 libname_spec \
118438 library_names_spec \
118439 soname_spec \
118440 finish_eval \
118441 old_striplib \
118442 striplib \
118443 predep_objects \
118444 postdep_objects \
118445 predeps \
118446 postdeps \
118447 compiler_lib_search_path \
118448 LD_CXX \
118449 compiler_CXX \
118450 lt_prog_compiler_no_builtin_flag_CXX \
118451 lt_prog_compiler_wl_CXX \
118452 lt_prog_compiler_pic_CXX \
118453 lt_prog_compiler_static_CXX \
118454 lt_cv_prog_compiler_c_o_CXX \
118455 export_dynamic_flag_spec_CXX \
118456 whole_archive_flag_spec_CXX \
118457 compiler_needs_object_CXX \
118458 with_gnu_ld_CXX \
118459 allow_undefined_flag_CXX \
118460 no_undefined_flag_CXX \
118461 hardcode_libdir_flag_spec_CXX \
118462 hardcode_libdir_flag_spec_ld_CXX \
118463 hardcode_libdir_separator_CXX \
118464 fix_srcfile_path_CXX \
118465 exclude_expsyms_CXX \
118466 include_expsyms_CXX \
118467 file_list_spec_CXX \
118468 predep_objects_CXX \
118469 postdep_objects_CXX \
118470 predeps_CXX \
118471 postdeps_CXX \
118472 compiler_lib_search_path_CXX; do
118473     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
118474     *[\\\\\\\`\\"\\\$]*)
118475       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
118476       ;;
118477     *)
118478       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
118479       ;;
118480     esac
118481 done
118482
118483 # Double-quote double-evaled strings.
118484 for var in reload_cmds \
118485 old_postinstall_cmds \
118486 old_postuninstall_cmds \
118487 old_archive_cmds \
118488 extract_expsyms_cmds \
118489 old_archive_from_new_cmds \
118490 old_archive_from_expsyms_cmds \
118491 archive_cmds \
118492 archive_expsym_cmds \
118493 module_cmds \
118494 module_expsym_cmds \
118495 export_symbols_cmds \
118496 prelink_cmds \
118497 postinstall_cmds \
118498 postuninstall_cmds \
118499 finish_cmds \
118500 sys_lib_search_path_spec \
118501 sys_lib_dlsearch_path_spec \
118502 old_archive_cmds_CXX \
118503 old_archive_from_new_cmds_CXX \
118504 old_archive_from_expsyms_cmds_CXX \
118505 archive_cmds_CXX \
118506 archive_expsym_cmds_CXX \
118507 module_cmds_CXX \
118508 module_expsym_cmds_CXX \
118509 export_symbols_cmds_CXX \
118510 prelink_cmds_CXX; do
118511     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
118512     *[\\\\\\\`\\"\\\$]*)
118513       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
118514       ;;
118515     *)
118516       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
118517       ;;
118518     esac
118519 done
118520
118521 # Fix-up fallback echo if it was mangled by the above quoting rules.
118522 case \$lt_ECHO in
118523 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
118524   ;;
118525 esac
118526
118527 ac_aux_dir='$ac_aux_dir'
118528 xsi_shell='$xsi_shell'
118529 lt_shell_append='$lt_shell_append'
118530
118531 # See if we are running on zsh, and set the options which allow our
118532 # commands through without removal of \ escapes INIT.
118533 if test -n "\${ZSH_VERSION+set}" ; then
118534    setopt NO_GLOB_SUBST
118535 fi
118536
118537
118538     PACKAGE='$PACKAGE'
118539     VERSION='$VERSION'
118540     TIMESTAMP='$TIMESTAMP'
118541     RM='$RM'
118542     ofile='$ofile'
118543
118544
118545
118546
118547
118548
118549 # Variables needed in config.status (file generation) which aren't already
118550 # passed by autoconf.
118551 SUBDIRS="$SUBDIRS"
118552
118553
118554 _ACEOF
118555
118556
118557
118558 cat >>$CONFIG_STATUS <<\_ACEOF
118559 for ac_config_target in $ac_config_targets
118560 do
118561   case "$ac_config_target" in
118562   # Handling of arguments.
118563   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
118564   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
118565   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
118566   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
118567   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
118568   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
118569   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
118570   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
118571   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
118572   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
118573   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
118574   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
118575   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
118576   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
118577 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
118578    { (exit 1); exit 1; }; };;
118579   esac
118580 done
118581
118582 # If the user did not use the arguments to specify the items to instantiate,
118583 # then the envvar interface is used.  Set only those that are not.
118584 # We use the long form for the default assignment because of an extremely
118585 # bizarre bug on SunOS 4.1.3.
118586 if $ac_need_defaults; then
118587   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
118588   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
118589   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
118590 fi
118591
118592 # Have a temporary directory for convenience.  Make it in the build tree
118593 # simply because there is no reason to put it here, and in addition,
118594 # creating and moving files from /tmp can sometimes cause problems.
118595 # Create a temporary directory, and hook for its removal unless debugging.
118596 $debug ||
118597 {
118598   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
118599   trap '{ (exit 1); exit 1; }' 1 2 13 15
118600 }
118601
118602 # Create a (secure) tmp directory for tmp files.
118603
118604 {
118605   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
118606   test -n "$tmp" && test -d "$tmp"
118607 }  ||
118608 {
118609   tmp=./confstat$$-$RANDOM
118610   (umask 077 && mkdir $tmp)
118611 } ||
118612 {
118613    echo "$me: cannot create a temporary directory in ." >&2
118614    { (exit 1); exit 1; }
118615 }
118616
118617 _ACEOF
118618
118619 cat >>$CONFIG_STATUS <<_ACEOF
118620
118621 #
118622 # CONFIG_FILES section.
118623 #
118624
118625 # No need to generate the scripts if there are no CONFIG_FILES.
118626 # This happens for instance when ./config.status config.h
118627 if test -n "\$CONFIG_FILES"; then
118628   # Protect against being on the right side of a sed subst in config.status.
118629   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
118630    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
118631 s,@SHELL@,$SHELL,;t t
118632 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
118633 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
118634 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
118635 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
118636 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
118637 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
118638 s,@exec_prefix@,$exec_prefix,;t t
118639 s,@prefix@,$prefix,;t t
118640 s,@program_transform_name@,$program_transform_name,;t t
118641 s,@bindir@,$bindir,;t t
118642 s,@sbindir@,$sbindir,;t t
118643 s,@libexecdir@,$libexecdir,;t t
118644 s,@datadir@,$datadir,;t t
118645 s,@sysconfdir@,$sysconfdir,;t t
118646 s,@sharedstatedir@,$sharedstatedir,;t t
118647 s,@localstatedir@,$localstatedir,;t t
118648 s,@libdir@,$libdir,;t t
118649 s,@includedir@,$includedir,;t t
118650 s,@oldincludedir@,$oldincludedir,;t t
118651 s,@infodir@,$infodir,;t t
118652 s,@mandir@,$mandir,;t t
118653 s,@build_alias@,$build_alias,;t t
118654 s,@host_alias@,$host_alias,;t t
118655 s,@target_alias@,$target_alias,;t t
118656 s,@DEFS@,$DEFS,;t t
118657 s,@ECHO_C@,$ECHO_C,;t t
118658 s,@ECHO_N@,$ECHO_N,;t t
118659 s,@ECHO_T@,$ECHO_T,;t t
118660 s,@LIBS@,$LIBS,;t t
118661 s,@libtool_VERSION@,$libtool_VERSION,;t t
118662 s,@multi_basedir@,$multi_basedir,;t t
118663 s,@build@,$build,;t t
118664 s,@build_cpu@,$build_cpu,;t t
118665 s,@build_vendor@,$build_vendor,;t t
118666 s,@build_os@,$build_os,;t t
118667 s,@host@,$host,;t t
118668 s,@host_cpu@,$host_cpu,;t t
118669 s,@host_vendor@,$host_vendor,;t t
118670 s,@host_os@,$host_os,;t t
118671 s,@target@,$target,;t t
118672 s,@target_cpu@,$target_cpu,;t t
118673 s,@target_vendor@,$target_vendor,;t t
118674 s,@target_os@,$target_os,;t t
118675 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
118676 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
118677 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
118678 s,@CYGPATH_W@,$CYGPATH_W,;t t
118679 s,@PACKAGE@,$PACKAGE,;t t
118680 s,@VERSION@,$VERSION,;t t
118681 s,@ACLOCAL@,$ACLOCAL,;t t
118682 s,@AUTOCONF@,$AUTOCONF,;t t
118683 s,@AUTOMAKE@,$AUTOMAKE,;t t
118684 s,@AUTOHEADER@,$AUTOHEADER,;t t
118685 s,@MAKEINFO@,$MAKEINFO,;t t
118686 s,@install_sh@,$install_sh,;t t
118687 s,@STRIP@,$STRIP,;t t
118688 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
118689 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
118690 s,@mkdir_p@,$mkdir_p,;t t
118691 s,@AWK@,$AWK,;t t
118692 s,@SET_MAKE@,$SET_MAKE,;t t
118693 s,@am__leading_dot@,$am__leading_dot,;t t
118694 s,@AMTAR@,$AMTAR,;t t
118695 s,@am__tar@,$am__tar,;t t
118696 s,@am__untar@,$am__untar,;t t
118697 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
118698 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
118699 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
118700 s,@CC@,$CC,;t t
118701 s,@ac_ct_CC@,$ac_ct_CC,;t t
118702 s,@EXEEXT@,$EXEEXT,;t t
118703 s,@OBJEXT@,$OBJEXT,;t t
118704 s,@CXX@,$CXX,;t t
118705 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
118706 s,@CFLAGS@,$CFLAGS,;t t
118707 s,@CXXFLAGS@,$CXXFLAGS,;t t
118708 s,@LN_S@,$LN_S,;t t
118709 s,@AS@,$AS,;t t
118710 s,@ac_ct_AS@,$ac_ct_AS,;t t
118711 s,@AR@,$AR,;t t
118712 s,@ac_ct_AR@,$ac_ct_AR,;t t
118713 s,@RANLIB@,$RANLIB,;t t
118714 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
118715 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
118716 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
118717 s,@MAINT@,$MAINT,;t t
118718 s,@CPP@,$CPP,;t t
118719 s,@CPPFLAGS@,$CPPFLAGS,;t t
118720 s,@EGREP@,$EGREP,;t t
118721 s,@LIBTOOL@,$LIBTOOL,;t t
118722 s,@SED@,$SED,;t t
118723 s,@FGREP@,$FGREP,;t t
118724 s,@GREP@,$GREP,;t t
118725 s,@LD@,$LD,;t t
118726 s,@DUMPBIN@,$DUMPBIN,;t t
118727 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
118728 s,@NM@,$NM,;t t
118729 s,@lt_ECHO@,$lt_ECHO,;t t
118730 s,@LDFLAGS@,$LDFLAGS,;t t
118731 s,@CXXCPP@,$CXXCPP,;t t
118732 s,@enable_shared@,$enable_shared,;t t
118733 s,@enable_static@,$enable_static,;t t
118734 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
118735 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
118736 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
118737 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
118738 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
118739 s,@CSTDIO_H@,$CSTDIO_H,;t t
118740 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
118741 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
118742 s,@check_msgfmt@,$check_msgfmt,;t t
118743 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
118744 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
118745 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
118746 s,@USE_NLS@,$USE_NLS,;t t
118747 s,@CLOCALE_H@,$CLOCALE_H,;t t
118748 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
118749 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
118750 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
118751 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
118752 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
118753 s,@CMONEY_CC@,$CMONEY_CC,;t t
118754 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
118755 s,@CTIME_H@,$CTIME_H,;t t
118756 s,@CTIME_CC@,$CTIME_CC,;t t
118757 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
118758 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
118759 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
118760 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
118761 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
118762 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
118763 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
118764 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
118765 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
118766 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
118767 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
118768 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
118769 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
118770 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
118771 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
118772 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
118773 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
118774 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
118775 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
118776 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
118777 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
118778 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
118779 s,@WERROR@,$WERROR,;t t
118780 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
118781 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
118782 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
118783 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
118784 s,@LIBICONV@,$LIBICONV,;t t
118785 s,@LTLIBICONV@,$LTLIBICONV,;t t
118786 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
118787 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
118788 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
118789 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
118790 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
118791 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
118792 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
118793 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
118794 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
118795 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
118796 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
118797 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
118798 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
118799 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
118800 s,@baseline_dir@,$baseline_dir,;t t
118801 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
118802 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
118803 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
118804 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
118805 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
118806 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
118807 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
118808 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
118809 s,@gxx_include_dir@,$gxx_include_dir,;t t
118810 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
118811 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
118812 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
118813 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
118814 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
118815 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
118816 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
118817 s,@LIBOBJS@,$LIBOBJS,;t t
118818 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
118819 CEOF
118820
118821 _ACEOF
118822
118823   cat >>$CONFIG_STATUS <<\_ACEOF
118824   # Split the substitutions into bite-sized pieces for seds with
118825   # small command number limits, like on Digital OSF/1 and HP-UX.
118826   ac_max_sed_lines=48
118827   ac_sed_frag=1 # Number of current file.
118828   ac_beg=1 # First line for current file.
118829   ac_end=$ac_max_sed_lines # Line after last line for current file.
118830   ac_more_lines=:
118831   ac_sed_cmds=
118832   while $ac_more_lines; do
118833     if test $ac_beg -gt 1; then
118834       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
118835     else
118836       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
118837     fi
118838     if test ! -s $tmp/subs.frag; then
118839       ac_more_lines=false
118840     else
118841       # The purpose of the label and of the branching condition is to
118842       # speed up the sed processing (if there are no `@' at all, there
118843       # is no need to browse any of the substitutions).
118844       # These are the two extra sed commands mentioned above.
118845       (echo ':t
118846   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
118847       if test -z "$ac_sed_cmds"; then
118848         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
118849       else
118850         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
118851       fi
118852       ac_sed_frag=`expr $ac_sed_frag + 1`
118853       ac_beg=$ac_end
118854       ac_end=`expr $ac_end + $ac_max_sed_lines`
118855     fi
118856   done
118857   if test -z "$ac_sed_cmds"; then
118858     ac_sed_cmds=cat
118859   fi
118860 fi # test -n "$CONFIG_FILES"
118861
118862 _ACEOF
118863 cat >>$CONFIG_STATUS <<\_ACEOF
118864 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
118865   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
118866   case $ac_file in
118867   - | *:- | *:-:* ) # input from stdin
118868         cat >$tmp/stdin
118869         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118870         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118871   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
118872         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
118873   * )   ac_file_in=$ac_file.in ;;
118874   esac
118875
118876   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
118877   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
118878 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118879          X"$ac_file" : 'X\(//\)[^/]' \| \
118880          X"$ac_file" : 'X\(//\)$' \| \
118881          X"$ac_file" : 'X\(/\)' \| \
118882          .     : '\(.\)' 2>/dev/null ||
118883 echo X"$ac_file" |
118884     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118885           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118886           /^X\(\/\/\)$/{ s//\1/; q; }
118887           /^X\(\/\).*/{ s//\1/; q; }
118888           s/.*/./; q'`
118889   { if $as_mkdir_p; then
118890     mkdir -p "$ac_dir"
118891   else
118892     as_dir="$ac_dir"
118893     as_dirs=
118894     while test ! -d "$as_dir"; do
118895       as_dirs="$as_dir $as_dirs"
118896       as_dir=`(dirname "$as_dir") 2>/dev/null ||
118897 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118898          X"$as_dir" : 'X\(//\)[^/]' \| \
118899          X"$as_dir" : 'X\(//\)$' \| \
118900          X"$as_dir" : 'X\(/\)' \| \
118901          .     : '\(.\)' 2>/dev/null ||
118902 echo X"$as_dir" |
118903     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118904           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118905           /^X\(\/\/\)$/{ s//\1/; q; }
118906           /^X\(\/\).*/{ s//\1/; q; }
118907           s/.*/./; q'`
118908     done
118909     test ! -n "$as_dirs" || mkdir $as_dirs
118910   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
118911 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
118912    { (exit 1); exit 1; }; }; }
118913
118914   ac_builddir=.
118915
118916 if test "$ac_dir" != .; then
118917   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
118918   # A "../" for each directory in $ac_dir_suffix.
118919   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
118920 else
118921   ac_dir_suffix= ac_top_builddir=
118922 fi
118923
118924 case $srcdir in
118925   .)  # No --srcdir option.  We are building in place.
118926     ac_srcdir=.
118927     if test -z "$ac_top_builddir"; then
118928        ac_top_srcdir=.
118929     else
118930        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
118931     fi ;;
118932   [\\/]* | ?:[\\/]* )  # Absolute path.
118933     ac_srcdir=$srcdir$ac_dir_suffix;
118934     ac_top_srcdir=$srcdir ;;
118935   *) # Relative path.
118936     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
118937     ac_top_srcdir=$ac_top_builddir$srcdir ;;
118938 esac
118939
118940 # Do not use `cd foo && pwd` to compute absolute paths, because
118941 # the directories may not exist.
118942 case `pwd` in
118943 .) ac_abs_builddir="$ac_dir";;
118944 *)
118945   case "$ac_dir" in
118946   .) ac_abs_builddir=`pwd`;;
118947   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
118948   *) ac_abs_builddir=`pwd`/"$ac_dir";;
118949   esac;;
118950 esac
118951 case $ac_abs_builddir in
118952 .) ac_abs_top_builddir=${ac_top_builddir}.;;
118953 *)
118954   case ${ac_top_builddir}. in
118955   .) ac_abs_top_builddir=$ac_abs_builddir;;
118956   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
118957   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
118958   esac;;
118959 esac
118960 case $ac_abs_builddir in
118961 .) ac_abs_srcdir=$ac_srcdir;;
118962 *)
118963   case $ac_srcdir in
118964   .) ac_abs_srcdir=$ac_abs_builddir;;
118965   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
118966   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
118967   esac;;
118968 esac
118969 case $ac_abs_builddir in
118970 .) ac_abs_top_srcdir=$ac_top_srcdir;;
118971 *)
118972   case $ac_top_srcdir in
118973   .) ac_abs_top_srcdir=$ac_abs_builddir;;
118974   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
118975   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
118976   esac;;
118977 esac
118978
118979
118980   case $INSTALL in
118981   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
118982   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
118983   esac
118984
118985   if test x"$ac_file" != x-; then
118986     { echo "$as_me:$LINENO: creating $ac_file" >&5
118987 echo "$as_me: creating $ac_file" >&6;}
118988     rm -f "$ac_file"
118989   fi
118990   # Let's still pretend it is `configure' which instantiates (i.e., don't
118991   # use $as_me), people would be surprised to read:
118992   #    /* config.h.  Generated by config.status.  */
118993   if test x"$ac_file" = x-; then
118994     configure_input=
118995   else
118996     configure_input="$ac_file.  "
118997   fi
118998   configure_input=$configure_input"Generated from `echo $ac_file_in |
118999                                      sed 's,.*/,,'` by configure."
119000
119001   # First look for the input files in the build tree, otherwise in the
119002   # src tree.
119003   ac_file_inputs=`IFS=:
119004     for f in $ac_file_in; do
119005       case $f in
119006       -) echo $tmp/stdin ;;
119007       [\\/$]*)
119008          # Absolute (can't be DOS-style, as IFS=:)
119009          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
119010 echo "$as_me: error: cannot find input file: $f" >&2;}
119011    { (exit 1); exit 1; }; }
119012          echo "$f";;
119013       *) # Relative
119014          if test -f "$f"; then
119015            # Build tree
119016            echo "$f"
119017          elif test -f "$srcdir/$f"; then
119018            # Source tree
119019            echo "$srcdir/$f"
119020          else
119021            # /dev/null tree
119022            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
119023 echo "$as_me: error: cannot find input file: $f" >&2;}
119024    { (exit 1); exit 1; }; }
119025          fi;;
119026       esac
119027     done` || { (exit 1); exit 1; }
119028 _ACEOF
119029 cat >>$CONFIG_STATUS <<_ACEOF
119030   sed "$ac_vpsub
119031 $extrasub
119032 _ACEOF
119033 cat >>$CONFIG_STATUS <<\_ACEOF
119034 :t
119035 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
119036 s,@configure_input@,$configure_input,;t t
119037 s,@srcdir@,$ac_srcdir,;t t
119038 s,@abs_srcdir@,$ac_abs_srcdir,;t t
119039 s,@top_srcdir@,$ac_top_srcdir,;t t
119040 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
119041 s,@builddir@,$ac_builddir,;t t
119042 s,@abs_builddir@,$ac_abs_builddir,;t t
119043 s,@top_builddir@,$ac_top_builddir,;t t
119044 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
119045 s,@INSTALL@,$ac_INSTALL,;t t
119046 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
119047   rm -f $tmp/stdin
119048   if test x"$ac_file" != x-; then
119049     mv $tmp/out $ac_file
119050   else
119051     cat $tmp/out
119052     rm -f $tmp/out
119053   fi
119054
119055   # Run the commands associated with the file.
119056   case $ac_file in
119057     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
119058   esac
119059 done
119060 _ACEOF
119061 cat >>$CONFIG_STATUS <<\_ACEOF
119062
119063 #
119064 # CONFIG_HEADER section.
119065 #
119066
119067 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
119068 # NAME is the cpp macro being defined and VALUE is the value it is being given.
119069 #
119070 # ac_d sets the value in "#define NAME VALUE" lines.
119071 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
119072 ac_dB='[         ].*$,\1#\2'
119073 ac_dC=' '
119074 ac_dD=',;t'
119075 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
119076 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
119077 ac_uB='$,\1#\2define\3'
119078 ac_uC=' '
119079 ac_uD=',;t'
119080
119081 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
119082   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
119083   case $ac_file in
119084   - | *:- | *:-:* ) # input from stdin
119085         cat >$tmp/stdin
119086         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
119087         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
119088   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
119089         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
119090   * )   ac_file_in=$ac_file.in ;;
119091   esac
119092
119093   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
119094 echo "$as_me: creating $ac_file" >&6;}
119095
119096   # First look for the input files in the build tree, otherwise in the
119097   # src tree.
119098   ac_file_inputs=`IFS=:
119099     for f in $ac_file_in; do
119100       case $f in
119101       -) echo $tmp/stdin ;;
119102       [\\/$]*)
119103          # Absolute (can't be DOS-style, as IFS=:)
119104          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
119105 echo "$as_me: error: cannot find input file: $f" >&2;}
119106    { (exit 1); exit 1; }; }
119107          # Do quote $f, to prevent DOS paths from being IFS'd.
119108          echo "$f";;
119109       *) # Relative
119110          if test -f "$f"; then
119111            # Build tree
119112            echo "$f"
119113          elif test -f "$srcdir/$f"; then
119114            # Source tree
119115            echo "$srcdir/$f"
119116          else
119117            # /dev/null tree
119118            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
119119 echo "$as_me: error: cannot find input file: $f" >&2;}
119120    { (exit 1); exit 1; }; }
119121          fi;;
119122       esac
119123     done` || { (exit 1); exit 1; }
119124   # Remove the trailing spaces.
119125   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
119126
119127 _ACEOF
119128
119129 # Transform confdefs.h into two sed scripts, `conftest.defines' and
119130 # `conftest.undefs', that substitutes the proper values into
119131 # config.h.in to produce config.h.  The first handles `#define'
119132 # templates, and the second `#undef' templates.
119133 # And first: Protect against being on the right side of a sed subst in
119134 # config.status.  Protect against being in an unquoted here document
119135 # in config.status.
119136 rm -f conftest.defines conftest.undefs
119137 # Using a here document instead of a string reduces the quoting nightmare.
119138 # Putting comments in sed scripts is not portable.
119139 #
119140 # `end' is used to avoid that the second main sed command (meant for
119141 # 0-ary CPP macros) applies to n-ary macro definitions.
119142 # See the Autoconf documentation for `clear'.
119143 cat >confdef2sed.sed <<\_ACEOF
119144 s/[\\&,]/\\&/g
119145 s,[\\$`],\\&,g
119146 t clear
119147 : clear
119148 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
119149 t end
119150 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
119151 : end
119152 _ACEOF
119153 # If some macros were called several times there might be several times
119154 # the same #defines, which is useless.  Nevertheless, we may not want to
119155 # sort them, since we want the *last* AC-DEFINE to be honored.
119156 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
119157 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
119158 rm -f confdef2sed.sed
119159
119160 # This sed command replaces #undef with comments.  This is necessary, for
119161 # example, in the case of _POSIX_SOURCE, which is predefined and required
119162 # on some systems where configure will not decide to define it.
119163 cat >>conftest.undefs <<\_ACEOF
119164 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
119165 _ACEOF
119166
119167 # Break up conftest.defines because some shells have a limit on the size
119168 # of here documents, and old seds have small limits too (100 cmds).
119169 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
119170 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
119171 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
119172 echo '  :' >>$CONFIG_STATUS
119173 rm -f conftest.tail
119174 while grep . conftest.defines >/dev/null
119175 do
119176   # Write a limited-size here document to $tmp/defines.sed.
119177   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
119178   # Speed up: don't consider the non `#define' lines.
119179   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
119180   # Work around the forget-to-reset-the-flag bug.
119181   echo 't clr' >>$CONFIG_STATUS
119182   echo ': clr' >>$CONFIG_STATUS
119183   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
119184   echo 'CEOF
119185   sed -f $tmp/defines.sed $tmp/in >$tmp/out
119186   rm -f $tmp/in
119187   mv $tmp/out $tmp/in
119188 ' >>$CONFIG_STATUS
119189   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
119190   rm -f conftest.defines
119191   mv conftest.tail conftest.defines
119192 done
119193 rm -f conftest.defines
119194 echo '  fi # grep' >>$CONFIG_STATUS
119195 echo >>$CONFIG_STATUS
119196
119197 # Break up conftest.undefs because some shells have a limit on the size
119198 # of here documents, and old seds have small limits too (100 cmds).
119199 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
119200 rm -f conftest.tail
119201 while grep . conftest.undefs >/dev/null
119202 do
119203   # Write a limited-size here document to $tmp/undefs.sed.
119204   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
119205   # Speed up: don't consider the non `#undef'
119206   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
119207   # Work around the forget-to-reset-the-flag bug.
119208   echo 't clr' >>$CONFIG_STATUS
119209   echo ': clr' >>$CONFIG_STATUS
119210   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
119211   echo 'CEOF
119212   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
119213   rm -f $tmp/in
119214   mv $tmp/out $tmp/in
119215 ' >>$CONFIG_STATUS
119216   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
119217   rm -f conftest.undefs
119218   mv conftest.tail conftest.undefs
119219 done
119220 rm -f conftest.undefs
119221
119222 cat >>$CONFIG_STATUS <<\_ACEOF
119223   # Let's still pretend it is `configure' which instantiates (i.e., don't
119224   # use $as_me), people would be surprised to read:
119225   #    /* config.h.  Generated by config.status.  */
119226   if test x"$ac_file" = x-; then
119227     echo "/* Generated by configure.  */" >$tmp/config.h
119228   else
119229     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
119230   fi
119231   cat $tmp/in >>$tmp/config.h
119232   rm -f $tmp/in
119233   if test x"$ac_file" != x-; then
119234     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
119235       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
119236 echo "$as_me: $ac_file is unchanged" >&6;}
119237     else
119238       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
119239 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119240          X"$ac_file" : 'X\(//\)[^/]' \| \
119241          X"$ac_file" : 'X\(//\)$' \| \
119242          X"$ac_file" : 'X\(/\)' \| \
119243          .     : '\(.\)' 2>/dev/null ||
119244 echo X"$ac_file" |
119245     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119246           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119247           /^X\(\/\/\)$/{ s//\1/; q; }
119248           /^X\(\/\).*/{ s//\1/; q; }
119249           s/.*/./; q'`
119250       { if $as_mkdir_p; then
119251     mkdir -p "$ac_dir"
119252   else
119253     as_dir="$ac_dir"
119254     as_dirs=
119255     while test ! -d "$as_dir"; do
119256       as_dirs="$as_dir $as_dirs"
119257       as_dir=`(dirname "$as_dir") 2>/dev/null ||
119258 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119259          X"$as_dir" : 'X\(//\)[^/]' \| \
119260          X"$as_dir" : 'X\(//\)$' \| \
119261          X"$as_dir" : 'X\(/\)' \| \
119262          .     : '\(.\)' 2>/dev/null ||
119263 echo X"$as_dir" |
119264     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119265           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119266           /^X\(\/\/\)$/{ s//\1/; q; }
119267           /^X\(\/\).*/{ s//\1/; q; }
119268           s/.*/./; q'`
119269     done
119270     test ! -n "$as_dirs" || mkdir $as_dirs
119271   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
119272 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
119273    { (exit 1); exit 1; }; }; }
119274
119275       rm -f $ac_file
119276       mv $tmp/config.h $ac_file
119277     fi
119278   else
119279     cat $tmp/config.h
119280     rm -f $tmp/config.h
119281   fi
119282 # Compute $ac_file's index in $config_headers.
119283 _am_stamp_count=1
119284 for _am_header in $config_headers :; do
119285   case $_am_header in
119286     $ac_file | $ac_file:* )
119287       break ;;
119288     * )
119289       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
119290   esac
119291 done
119292 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
119293 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119294          X$ac_file : 'X\(//\)[^/]' \| \
119295          X$ac_file : 'X\(//\)$' \| \
119296          X$ac_file : 'X\(/\)' \| \
119297          .     : '\(.\)' 2>/dev/null ||
119298 echo X$ac_file |
119299     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119300           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119301           /^X\(\/\/\)$/{ s//\1/; q; }
119302           /^X\(\/\).*/{ s//\1/; q; }
119303           s/.*/./; q'`/stamp-h$_am_stamp_count
119304 done
119305 _ACEOF
119306 cat >>$CONFIG_STATUS <<\_ACEOF
119307
119308 #
119309 # CONFIG_COMMANDS section.
119310 #
119311 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
119312   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
119313   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
119314   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
119315 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119316          X"$ac_dest" : 'X\(//\)[^/]' \| \
119317          X"$ac_dest" : 'X\(//\)$' \| \
119318          X"$ac_dest" : 'X\(/\)' \| \
119319          .     : '\(.\)' 2>/dev/null ||
119320 echo X"$ac_dest" |
119321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119322           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119323           /^X\(\/\/\)$/{ s//\1/; q; }
119324           /^X\(\/\).*/{ s//\1/; q; }
119325           s/.*/./; q'`
119326   { if $as_mkdir_p; then
119327     mkdir -p "$ac_dir"
119328   else
119329     as_dir="$ac_dir"
119330     as_dirs=
119331     while test ! -d "$as_dir"; do
119332       as_dirs="$as_dir $as_dirs"
119333       as_dir=`(dirname "$as_dir") 2>/dev/null ||
119334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
119335          X"$as_dir" : 'X\(//\)[^/]' \| \
119336          X"$as_dir" : 'X\(//\)$' \| \
119337          X"$as_dir" : 'X\(/\)' \| \
119338          .     : '\(.\)' 2>/dev/null ||
119339 echo X"$as_dir" |
119340     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
119341           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
119342           /^X\(\/\/\)$/{ s//\1/; q; }
119343           /^X\(\/\).*/{ s//\1/; q; }
119344           s/.*/./; q'`
119345     done
119346     test ! -n "$as_dirs" || mkdir $as_dirs
119347   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
119348 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
119349    { (exit 1); exit 1; }; }; }
119350
119351   ac_builddir=.
119352
119353 if test "$ac_dir" != .; then
119354   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
119355   # A "../" for each directory in $ac_dir_suffix.
119356   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
119357 else
119358   ac_dir_suffix= ac_top_builddir=
119359 fi
119360
119361 case $srcdir in
119362   .)  # No --srcdir option.  We are building in place.
119363     ac_srcdir=.
119364     if test -z "$ac_top_builddir"; then
119365        ac_top_srcdir=.
119366     else
119367        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
119368     fi ;;
119369   [\\/]* | ?:[\\/]* )  # Absolute path.
119370     ac_srcdir=$srcdir$ac_dir_suffix;
119371     ac_top_srcdir=$srcdir ;;
119372   *) # Relative path.
119373     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
119374     ac_top_srcdir=$ac_top_builddir$srcdir ;;
119375 esac
119376
119377 # Do not use `cd foo && pwd` to compute absolute paths, because
119378 # the directories may not exist.
119379 case `pwd` in
119380 .) ac_abs_builddir="$ac_dir";;
119381 *)
119382   case "$ac_dir" in
119383   .) ac_abs_builddir=`pwd`;;
119384   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
119385   *) ac_abs_builddir=`pwd`/"$ac_dir";;
119386   esac;;
119387 esac
119388 case $ac_abs_builddir in
119389 .) ac_abs_top_builddir=${ac_top_builddir}.;;
119390 *)
119391   case ${ac_top_builddir}. in
119392   .) ac_abs_top_builddir=$ac_abs_builddir;;
119393   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
119394   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
119395   esac;;
119396 esac
119397 case $ac_abs_builddir in
119398 .) ac_abs_srcdir=$ac_srcdir;;
119399 *)
119400   case $ac_srcdir in
119401   .) ac_abs_srcdir=$ac_abs_builddir;;
119402   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
119403   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
119404   esac;;
119405 esac
119406 case $ac_abs_builddir in
119407 .) ac_abs_top_srcdir=$ac_top_srcdir;;
119408 *)
119409   case $ac_top_srcdir in
119410   .) ac_abs_top_srcdir=$ac_abs_builddir;;
119411   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
119412   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
119413   esac;;
119414 esac
119415
119416
119417   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
119418 echo "$as_me: executing $ac_dest commands" >&6;}
119419   case $ac_dest in
119420     default-1 )
119421 # Only add multilib support code if we just rebuilt the top-level
119422 # Makefile.
119423 case " $CONFIG_FILES " in
119424  *" Makefile "*)
119425    ac_file=Makefile . ${multi_basedir}/config-ml.in
119426    ;;
119427 esac ;;
119428     libtool )
119429
119430     # See if we are running on zsh, and set the options which allow our
119431     # commands through without removal of \ escapes.
119432     if test -n "${ZSH_VERSION+set}" ; then
119433       setopt NO_GLOB_SUBST
119434     fi
119435
119436     cfgfile="${ofile}T"
119437     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
119438     $RM "$cfgfile"
119439
119440     cat <<_LT_EOF >> "$cfgfile"
119441 #! $SHELL
119442
119443 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
119444 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
119445 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
119446 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
119447 #
119448 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
119449 # 2006, 2007 Free Software Foundation, Inc.
119450 #
119451 # This file is part of GNU Libtool:
119452 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
119453 #
119454 # This program is free software; you can redistribute it and/or modify
119455 # it under the terms of the GNU General Public License as published by
119456 # the Free Software Foundation; either version 2 of the License, or
119457 # (at your option) any later version.
119458 #
119459 # This program is distributed in the hope that it will be useful, but
119460 # WITHOUT ANY WARRANTY; without even the implied warranty of
119461 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
119462 # General Public License for more details.
119463 #
119464 # You should have received a copy of the GNU General Public License
119465 # along with this program; if not, a copy can be downloaded from
119466 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
119467 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
119468 # MA 02110-1301, USA.
119469 #
119470 # As a special exception to the GNU General Public License, if you
119471 # distribute this file as part of a program that contains a
119472 # configuration script generated by Autoconf, you may include it under
119473 # the same distribution terms that you use for the rest of that program.
119474
119475
119476 # The names of the tagged configurations supported by this script.
119477 available_tags="CXX "
119478
119479 # ### BEGIN LIBTOOL CONFIG
119480
119481 # Which release of libtool.m4 was used?
119482 macro_version=$macro_version
119483 macro_revision=$macro_revision
119484
119485 # Whether or not to build shared libraries.
119486 build_libtool_libs=$enable_shared
119487
119488 # Whether or not to build static libraries.
119489 build_old_libs=$enable_static
119490
119491 # What type of objects to build.
119492 pic_mode=$pic_mode
119493
119494 # Whether or not to optimize for fast installation.
119495 fast_install=$enable_fast_install
119496
119497 # The host system.
119498 host_alias=$host_alias
119499 host=$host
119500 host_os=$host_os
119501
119502 # The build system.
119503 build_alias=$build_alias
119504 build=$build
119505 build_os=$build_os
119506
119507 # A sed program that does not truncate output.
119508 SED=$lt_SED
119509
119510 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
119511 Xsed="\$SED -e 1s/^X//"
119512
119513 # A grep program that handles long lines.
119514 GREP=$lt_GREP
119515
119516 # An ERE matcher.
119517 EGREP=$lt_EGREP
119518
119519 # A literal string matcher.
119520 FGREP=$lt_FGREP
119521
119522 # A BSD- or MS-compatible name lister.
119523 NM=$lt_NM
119524
119525 # Whether we need soft or hard links.
119526 LN_S=$lt_LN_S
119527
119528 # What is the maximum length of a command?
119529 max_cmd_len=$max_cmd_len
119530
119531 # Object file suffix (normally "o").
119532 objext=$ac_objext
119533
119534 # Executable file suffix (normally "").
119535 exeext=$exeext
119536
119537 # whether the shell understands "unset".
119538 lt_unset=$lt_unset
119539
119540 # turn spaces into newlines.
119541 SP2NL=$lt_lt_SP2NL
119542
119543 # turn newlines into spaces.
119544 NL2SP=$lt_lt_NL2SP
119545
119546 # How to create reloadable object files.
119547 reload_flag=$lt_reload_flag
119548 reload_cmds=$lt_reload_cmds
119549
119550 # Method to check whether dependent libraries are shared objects.
119551 deplibs_check_method=$lt_deplibs_check_method
119552
119553 # Command to use when deplibs_check_method == "file_magic".
119554 file_magic_cmd=$lt_file_magic_cmd
119555
119556 # The archiver.
119557 AR=$lt_AR
119558 AR_FLAGS=$lt_AR_FLAGS
119559
119560 # A symbol stripping program.
119561 STRIP=$lt_STRIP
119562
119563 # Commands used to install an old-style archive.
119564 RANLIB=$lt_RANLIB
119565 old_postinstall_cmds=$lt_old_postinstall_cmds
119566 old_postuninstall_cmds=$lt_old_postuninstall_cmds
119567
119568 # A C compiler.
119569 LTCC=$lt_CC
119570
119571 # LTCC compiler flags.
119572 LTCFLAGS=$lt_CFLAGS
119573
119574 # Take the output of nm and produce a listing of raw symbols and C names.
119575 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
119576
119577 # Transform the output of nm in a proper C declaration.
119578 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
119579
119580 # Transform the output of nm in a C name address pair.
119581 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
119582
119583 # The name of the directory that contains temporary libtool files.
119584 objdir=$objdir
119585
119586 # Shell to use when invoking shell scripts.
119587 SHELL=$lt_SHELL
119588
119589 # An echo program that does not interpret backslashes.
119590 ECHO=$lt_ECHO
119591
119592 # Used to examine libraries when file_magic_cmd begins with "file".
119593 MAGIC_CMD=$MAGIC_CMD
119594
119595 # Must we lock files when doing compilation?
119596 need_locks=$lt_need_locks
119597
119598 # Old archive suffix (normally "a").
119599 libext=$libext
119600
119601 # Shared library suffix (normally ".so").
119602 shrext_cmds=$lt_shrext_cmds
119603
119604 # The commands to extract the exported symbol list from a shared archive.
119605 extract_expsyms_cmds=$lt_extract_expsyms_cmds
119606
119607 # Variables whose values should be saved in libtool wrapper scripts and
119608 # restored at link time.
119609 variables_saved_for_relink=$lt_variables_saved_for_relink
119610
119611 # Do we need the "lib" prefix for modules?
119612 need_lib_prefix=$need_lib_prefix
119613
119614 # Do we need a version for libraries?
119615 need_version=$need_version
119616
119617 # Library versioning type.
119618 version_type=$version_type
119619
119620 # Shared library runtime path variable.
119621 runpath_var=$runpath_var
119622
119623 # Shared library path variable.
119624 shlibpath_var=$shlibpath_var
119625
119626 # Is shlibpath searched before the hard-coded library search path?
119627 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
119628
119629 # Format of library name prefix.
119630 libname_spec=$lt_libname_spec
119631
119632 # List of archive names.  First name is the real one, the rest are links.
119633 # The last name is the one that the linker finds with -lNAME
119634 library_names_spec=$lt_library_names_spec
119635
119636 # The coded name of the library, if different from the real name.
119637 soname_spec=$lt_soname_spec
119638
119639 # Command to use after installation of a shared archive.
119640 postinstall_cmds=$lt_postinstall_cmds
119641
119642 # Command to use after uninstallation of a shared archive.
119643 postuninstall_cmds=$lt_postuninstall_cmds
119644
119645 # Commands used to finish a libtool library installation in a directory.
119646 finish_cmds=$lt_finish_cmds
119647
119648 # As "finish_cmds", except a single script fragment to be evaled but
119649 # not shown.
119650 finish_eval=$lt_finish_eval
119651
119652 # Whether we should hardcode library paths into libraries.
119653 hardcode_into_libs=$hardcode_into_libs
119654
119655 # Compile-time system search path for libraries.
119656 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
119657
119658 # Run-time system search path for libraries.
119659 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
119660
119661 # Whether dlopen is supported.
119662 dlopen_support=$enable_dlopen
119663
119664 # Whether dlopen of programs is supported.
119665 dlopen_self=$enable_dlopen_self
119666
119667 # Whether dlopen of statically linked programs is supported.
119668 dlopen_self_static=$enable_dlopen_self_static
119669
119670 # Commands to strip libraries.
119671 old_striplib=$lt_old_striplib
119672 striplib=$lt_striplib
119673
119674
119675 # The linker used to build libraries.
119676 LD=$lt_LD
119677
119678 # Commands used to build an old-style archive.
119679 old_archive_cmds=$lt_old_archive_cmds
119680
119681 # A language specific compiler.
119682 CC=$lt_compiler
119683
119684 # Is the compiler the GNU compiler?
119685 with_gcc=$GCC
119686
119687 # Compiler flag to turn off builtin functions.
119688 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
119689
119690 # How to pass a linker flag through the compiler.
119691 wl=$lt_lt_prog_compiler_wl
119692
119693 # Additional compiler flags for building library objects.
119694 pic_flag=$lt_lt_prog_compiler_pic
119695
119696 # Compiler flag to prevent dynamic linking.
119697 link_static_flag=$lt_lt_prog_compiler_static
119698
119699 # Does compiler simultaneously support -c and -o options?
119700 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
119701
119702 # Whether or not to add -lc for building shared libraries.
119703 build_libtool_need_lc=$archive_cmds_need_lc
119704
119705 # Whether or not to disallow shared libs when runtime libs are static.
119706 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
119707
119708 # Compiler flag to allow reflexive dlopens.
119709 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
119710
119711 # Compiler flag to generate shared objects directly from archives.
119712 whole_archive_flag_spec=$lt_whole_archive_flag_spec
119713
119714 # Whether the compiler copes with passing no objects directly.
119715 compiler_needs_object=$lt_compiler_needs_object
119716
119717 # Create an old-style archive from a shared archive.
119718 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
119719
119720 # Create a temporary old-style archive to link instead of a shared archive.
119721 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
119722
119723 # Commands used to build a shared archive.
119724 archive_cmds=$lt_archive_cmds
119725 archive_expsym_cmds=$lt_archive_expsym_cmds
119726
119727 # Commands used to build a loadable module if different from building
119728 # a shared archive.
119729 module_cmds=$lt_module_cmds
119730 module_expsym_cmds=$lt_module_expsym_cmds
119731
119732 # Whether we are building with GNU ld or not.
119733 with_gnu_ld=$lt_with_gnu_ld
119734
119735 # Flag that allows shared libraries with undefined symbols to be built.
119736 allow_undefined_flag=$lt_allow_undefined_flag
119737
119738 # Flag that enforces no undefined symbols.
119739 no_undefined_flag=$lt_no_undefined_flag
119740
119741 # Flag to hardcode \$libdir into a binary during linking.
119742 # This must work even if \$libdir does not exist
119743 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
119744
119745 # If ld is used when linking, flag to hardcode \$libdir into a binary
119746 # during linking.  This must work even if \$libdir does not exist.
119747 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
119748
119749 # Whether we need a single "-rpath" flag with a separated argument.
119750 hardcode_libdir_separator=$lt_hardcode_libdir_separator
119751
119752 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119753 # DIR into the resulting binary.
119754 hardcode_direct=$hardcode_direct
119755
119756 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
119757 # DIR into the resulting binary and the resulting library dependency is
119758 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
119759 # library is relocated.
119760 hardcode_direct_absolute=$hardcode_direct_absolute
119761
119762 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
119763 # into the resulting binary.
119764 hardcode_minus_L=$hardcode_minus_L
119765
119766 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
119767 # into the resulting binary.
119768 hardcode_shlibpath_var=$hardcode_shlibpath_var
119769
119770 # Set to "yes" if building a shared library automatically hardcodes DIR
119771 # into the library and all subsequent libraries and executables linked
119772 # against it.
119773 hardcode_automatic=$hardcode_automatic
119774
119775 # Set to yes if linker adds runtime paths of dependent libraries
119776 # to runtime path list.
119777 inherit_rpath=$inherit_rpath
119778
119779 # Whether libtool must link a program against all its dependency libraries.
119780 link_all_deplibs=$link_all_deplibs
119781
119782 # Fix the shell variable \$srcfile for the compiler.
119783 fix_srcfile_path=$lt_fix_srcfile_path
119784
119785 # Set to "yes" if exported symbols are required.
119786 always_export_symbols=$always_export_symbols
119787
119788 # The commands to list exported symbols.
119789 export_symbols_cmds=$lt_export_symbols_cmds
119790
119791 # Symbols that should not be listed in the preloaded symbols.
119792 exclude_expsyms=$lt_exclude_expsyms
119793
119794 # Symbols that must always be exported.
119795 include_expsyms=$lt_include_expsyms
119796
119797 # Commands necessary for linking programs (against libraries) with templates.
119798 prelink_cmds=$lt_prelink_cmds
119799
119800 # Specify filename containing input files.
119801 file_list_spec=$lt_file_list_spec
119802
119803 # How to hardcode a shared library path into an executable.
119804 hardcode_action=$hardcode_action
119805
119806 # Dependencies to place before and after the objects being linked to
119807 # create a shared library.
119808 predep_objects=$lt_predep_objects
119809 postdep_objects=$lt_postdep_objects
119810 predeps=$lt_predeps
119811 postdeps=$lt_postdeps
119812
119813 # The library search path used internally by the compiler when linking
119814 # a shared library.
119815 compiler_lib_search_path=$lt_compiler_lib_search_path
119816
119817 # ### END LIBTOOL CONFIG
119818
119819 _LT_EOF
119820
119821   case $host_os in
119822   aix3*)
119823     cat <<\_LT_EOF >> "$cfgfile"
119824 # AIX sometimes has problems with the GCC collect2 program.  For some
119825 # reason, if we set the COLLECT_NAMES environment variable, the problems
119826 # vanish in a puff of smoke.
119827 if test "X${COLLECT_NAMES+set}" != Xset; then
119828   COLLECT_NAMES=
119829   export COLLECT_NAMES
119830 fi
119831 _LT_EOF
119832     ;;
119833   esac
119834
119835
119836 ltmain="$ac_aux_dir/ltmain.sh"
119837
119838
119839   # We use sed instead of cat because bash on DJGPP gets confused if
119840   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
119841   # text mode, it properly converts lines to CR/LF.  This bash problem
119842   # is reportedly fixed, but why not run on old versions too?
119843   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
119844     || (rm -f "$cfgfile"; exit 1)
119845
119846   case $xsi_shell in
119847   yes)
119848     cat << \_LT_EOF >> "$cfgfile"
119849 # func_dirname file append nondir_replacement
119850 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
119851 # otherwise set result to NONDIR_REPLACEMENT.
119852 func_dirname ()
119853 {
119854   case ${1} in
119855     */*) func_dirname_result="${1%/*}${2}" ;;
119856     *  ) func_dirname_result="${3}" ;;
119857   esac
119858 }
119859
119860 # func_basename file
119861 func_basename ()
119862 {
119863   func_basename_result="${1##*/}"
119864 }
119865
119866 # func_stripname prefix suffix name
119867 # strip PREFIX and SUFFIX off of NAME.
119868 # PREFIX and SUFFIX must not contain globbing or regex special
119869 # characters, hashes, percent signs, but SUFFIX may contain a leading
119870 # dot (in which case that matches only a dot).
119871 func_stripname ()
119872 {
119873   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
119874   # positional parameters, so assign one to ordinary parameter first.
119875   func_stripname_result=${3}
119876   func_stripname_result=${func_stripname_result#"${1}"}
119877   func_stripname_result=${func_stripname_result%"${2}"}
119878 }
119879
119880 # func_opt_split
119881 func_opt_split ()
119882 {
119883   func_opt_split_opt=${1%%=*}
119884   func_opt_split_arg=${1#*=}
119885 }
119886
119887 # func_lo2o object
119888 func_lo2o ()
119889 {
119890   case ${1} in
119891     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
119892     *)    func_lo2o_result=${1} ;;
119893   esac
119894 }
119895 _LT_EOF
119896     ;;
119897   *) # Bourne compatible functions.
119898     cat << \_LT_EOF >> "$cfgfile"
119899 # func_dirname file append nondir_replacement
119900 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
119901 # otherwise set result to NONDIR_REPLACEMENT.
119902 func_dirname ()
119903 {
119904   # Extract subdirectory from the argument.
119905   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
119906   if test "X$func_dirname_result" = "X${1}"; then
119907     func_dirname_result="${3}"
119908   else
119909     func_dirname_result="$func_dirname_result${2}"
119910   fi
119911 }
119912
119913 # func_basename file
119914 func_basename ()
119915 {
119916   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
119917 }
119918
119919 # func_stripname prefix suffix name
119920 # strip PREFIX and SUFFIX off of NAME.
119921 # PREFIX and SUFFIX must not contain globbing or regex special
119922 # characters, hashes, percent signs, but SUFFIX may contain a leading
119923 # dot (in which case that matches only a dot).
119924 # func_strip_suffix prefix name
119925 func_stripname ()
119926 {
119927   case ${2} in
119928     .*) func_stripname_result=`$ECHO "X${3}" \
119929            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
119930     *)  func_stripname_result=`$ECHO "X${3}" \
119931            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
119932   esac
119933 }
119934
119935 # sed scripts:
119936 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
119937 my_sed_long_arg='1s/^-[^=]*=//'
119938
119939 # func_opt_split
119940 func_opt_split ()
119941 {
119942   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
119943   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
119944 }
119945
119946 # func_lo2o object
119947 func_lo2o ()
119948 {
119949   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
119950 }
119951 _LT_EOF
119952 esac
119953
119954 case $lt_shell_append in
119955   yes)
119956     cat << \_LT_EOF >> "$cfgfile"
119957
119958 # func_append var value
119959 # Append VALUE to the end of shell variable VAR.
119960 func_append ()
119961 {
119962   eval "$1+=\$2"
119963 }
119964 _LT_EOF
119965     ;;
119966   *)
119967     cat << \_LT_EOF >> "$cfgfile"
119968
119969 # func_append var value
119970 # Append VALUE to the end of shell variable VAR.
119971 func_append ()
119972 {
119973   eval "$1=\$$1\$2"
119974 }
119975 _LT_EOF
119976     ;;
119977   esac
119978
119979
119980   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
119981     || (rm -f "$cfgfile"; exit 1)
119982
119983   mv -f "$cfgfile" "$ofile" ||
119984     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
119985   chmod +x "$ofile"
119986
119987
119988     cat <<_LT_EOF >> "$ofile"
119989
119990 # ### BEGIN LIBTOOL TAG CONFIG: CXX
119991
119992 # The linker used to build libraries.
119993 LD=$lt_LD_CXX
119994
119995 # Commands used to build an old-style archive.
119996 old_archive_cmds=$lt_old_archive_cmds_CXX
119997
119998 # A language specific compiler.
119999 CC=$lt_compiler_CXX
120000
120001 # Is the compiler the GNU compiler?
120002 with_gcc=$GCC_CXX
120003
120004 # Compiler flag to turn off builtin functions.
120005 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
120006
120007 # How to pass a linker flag through the compiler.
120008 wl=$lt_lt_prog_compiler_wl_CXX
120009
120010 # Additional compiler flags for building library objects.
120011 pic_flag=$lt_lt_prog_compiler_pic_CXX
120012
120013 # Compiler flag to prevent dynamic linking.
120014 link_static_flag=$lt_lt_prog_compiler_static_CXX
120015
120016 # Does compiler simultaneously support -c and -o options?
120017 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
120018
120019 # Whether or not to add -lc for building shared libraries.
120020 build_libtool_need_lc=$archive_cmds_need_lc_CXX
120021
120022 # Whether or not to disallow shared libs when runtime libs are static.
120023 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
120024
120025 # Compiler flag to allow reflexive dlopens.
120026 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
120027
120028 # Compiler flag to generate shared objects directly from archives.
120029 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
120030
120031 # Whether the compiler copes with passing no objects directly.
120032 compiler_needs_object=$lt_compiler_needs_object_CXX
120033
120034 # Create an old-style archive from a shared archive.
120035 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
120036
120037 # Create a temporary old-style archive to link instead of a shared archive.
120038 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
120039
120040 # Commands used to build a shared archive.
120041 archive_cmds=$lt_archive_cmds_CXX
120042 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
120043
120044 # Commands used to build a loadable module if different from building
120045 # a shared archive.
120046 module_cmds=$lt_module_cmds_CXX
120047 module_expsym_cmds=$lt_module_expsym_cmds_CXX
120048
120049 # Whether we are building with GNU ld or not.
120050 with_gnu_ld=$lt_with_gnu_ld_CXX
120051
120052 # Flag that allows shared libraries with undefined symbols to be built.
120053 allow_undefined_flag=$lt_allow_undefined_flag_CXX
120054
120055 # Flag that enforces no undefined symbols.
120056 no_undefined_flag=$lt_no_undefined_flag_CXX
120057
120058 # Flag to hardcode \$libdir into a binary during linking.
120059 # This must work even if \$libdir does not exist
120060 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
120061
120062 # If ld is used when linking, flag to hardcode \$libdir into a binary
120063 # during linking.  This must work even if \$libdir does not exist.
120064 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
120065
120066 # Whether we need a single "-rpath" flag with a separated argument.
120067 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
120068
120069 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
120070 # DIR into the resulting binary.
120071 hardcode_direct=$hardcode_direct_CXX
120072
120073 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
120074 # DIR into the resulting binary and the resulting library dependency is
120075 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
120076 # library is relocated.
120077 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
120078
120079 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
120080 # into the resulting binary.
120081 hardcode_minus_L=$hardcode_minus_L_CXX
120082
120083 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
120084 # into the resulting binary.
120085 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
120086
120087 # Set to "yes" if building a shared library automatically hardcodes DIR
120088 # into the library and all subsequent libraries and executables linked
120089 # against it.
120090 hardcode_automatic=$hardcode_automatic_CXX
120091
120092 # Set to yes if linker adds runtime paths of dependent libraries
120093 # to runtime path list.
120094 inherit_rpath=$inherit_rpath_CXX
120095
120096 # Whether libtool must link a program against all its dependency libraries.
120097 link_all_deplibs=$link_all_deplibs_CXX
120098
120099 # Fix the shell variable \$srcfile for the compiler.
120100 fix_srcfile_path=$lt_fix_srcfile_path_CXX
120101
120102 # Set to "yes" if exported symbols are required.
120103 always_export_symbols=$always_export_symbols_CXX
120104
120105 # The commands to list exported symbols.
120106 export_symbols_cmds=$lt_export_symbols_cmds_CXX
120107
120108 # Symbols that should not be listed in the preloaded symbols.
120109 exclude_expsyms=$lt_exclude_expsyms_CXX
120110
120111 # Symbols that must always be exported.
120112 include_expsyms=$lt_include_expsyms_CXX
120113
120114 # Commands necessary for linking programs (against libraries) with templates.
120115 prelink_cmds=$lt_prelink_cmds_CXX
120116
120117 # Specify filename containing input files.
120118 file_list_spec=$lt_file_list_spec_CXX
120119
120120 # How to hardcode a shared library path into an executable.
120121 hardcode_action=$hardcode_action_CXX
120122
120123 # Dependencies to place before and after the objects being linked to
120124 # create a shared library.
120125 predep_objects=$lt_predep_objects_CXX
120126 postdep_objects=$lt_postdep_objects_CXX
120127 predeps=$lt_predeps_CXX
120128 postdeps=$lt_postdeps_CXX
120129
120130 # The library search path used internally by the compiler when linking
120131 # a shared library.
120132 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
120133
120134 # ### END LIBTOOL TAG CONFIG: CXX
120135 _LT_EOF
120136
120137  ;;
120138     default ) if test -n "$CONFIG_FILES"; then
120139    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
120140    # that multilib installs will end up installed in the correct place.
120141    # The testsuite needs it for multilib-aware ABI baseline files.
120142    # To work around this not being passed down from config-ml.in ->
120143    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
120144    # append it here.  Only modify Makefiles that have just been created.
120145    #
120146    # Also, get rid of this simulated-VPATH thing that automake does.
120147    cat > vpsed << \_EOF
120148 s!`test -f '$<' || echo '$(srcdir)/'`!!
120149 _EOF
120150    for i in $SUBDIRS; do
120151     case $CONFIG_FILES in
120152      *${i}/Makefile*)
120153        #echo "Adding MULTISUBDIR to $i/Makefile"
120154        sed -f vpsed $i/Makefile > tmp
120155        grep '^MULTISUBDIR =' Makefile >> tmp
120156        mv tmp $i/Makefile
120157        ;;
120158     esac
120159    done
120160    rm vpsed
120161  fi
120162  (cd include && ${MAKE-make})
120163  ;;
120164   esac
120165 done
120166 _ACEOF
120167
120168 cat >>$CONFIG_STATUS <<\_ACEOF
120169
120170 { (exit 0); exit 0; }
120171 _ACEOF
120172 chmod +x $CONFIG_STATUS
120173 ac_clean_files=$ac_clean_files_save
120174
120175
120176 # configure is writing to config.log, and then calls config.status.
120177 # config.status does its own redirection, appending to config.log.
120178 # Unfortunately, on DOS this fails, as config.log is still kept open
120179 # by configure, so config.status won't be able to write to it; its
120180 # output is simply discarded.  So we exec the FD to /dev/null,
120181 # effectively closing config.log, so it can be properly (re)opened and
120182 # appended to by config.status.  When coming back to configure, we
120183 # need to make the FD available again.
120184 if test "$no_create" != yes; then
120185   ac_cs_success=:
120186   ac_config_status_args=
120187   test "$silent" = yes &&
120188     ac_config_status_args="$ac_config_status_args --quiet"
120189   exec 5>/dev/null
120190   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
120191   exec 5>>config.log
120192   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
120193   # would make configure fail if this is the last instruction.
120194   $ac_cs_success || { (exit 1); exit 1; }
120195 fi
120196